]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
73b407350e241a47c1b6d9d4273fcfc8f613d47d
[lyx.git] / src / ChangeLog
1 2005-01-20  Angus Leeming  <leeming@lyx.org>
2
3         * SpellBase.h: rename some of the elements of the Result enum.
4
5         * aspell_local.h:
6         * ispell.h:
7         * pspell.h:
8         * aspell.C (check):
9         * ispell.C (check):
10         * pspell.C (check): ditto
11
12 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
13
14         * buffer.C: add #include <fstream>.
15
16         * lyx_main.C (init): Compile fix.
17
18         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
19
20 2005-01-20  Angus Leeming  <leeming@lyx.org>
21
22         * mover.h: change commentary to reflect the changed meaning of
23         the $$s placeholder.
24
25 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * output_linuxdoc.C (linuxdocParagraphs): silence warning
28
29         * lyxfind.C (MatchString::operator()): remove bogus semicolon
30
31 2005-01-20  Angus Leeming  <leeming@lyx.org>
32
33         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
34         printing diagnostic data by not dereferecing an iterator past the
35         end.
36
37 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
38
39         * buffer.C (readHeader): use "&&" rather than "and".
40
41         * lyxserver.h (inPipeName, outPipeName): make these const.
42
43 2005-01-19  Angus Leeming  <leeming@lyx.org>
44
45         * lyx_main.C (error_handler, init): protect SIGHUP with
46         #ifdef SIGHUP guards.
47
48 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
51
52 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         * text.C (setHeightOfRow): add a margin at the top and bottom of
55         the document (bug 1761)
56
57 2005-01-17  Angus Leeming  <leeming@lyx.org>
58
59         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
60         with "python ". Workaround for a brain-dead Windows.
61
62 2005-01-16  Angus Leeming  <leeming@lyx.org>
63
64         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
65         for MacOSX and Windows to use prependEnvPath.
66         Strip out the hard-coded block to add elements to the PATH for
67         MacOSX and replace it with a call to prependEnvPath using the
68         contents of LyXRC::path_prefix.
69         (queryUserLyXDir): strip out the code to run reconfigure, instead
70         returning a boolean indicating the necessity to do so.
71         (reconfigureUserLyXDir): contains the code to reconfigure the
72         user support directory. Is now called after the various LyXRC data
73         files have been read.
74
75         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
76
77 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
78
79         * converter.[Ch] (convert): take a new parameter try_default. Use
80         a default converter (imagemagick) if try_default is true.
81
82 2005-01-13  Angus Leeming  <leeming@lyx.org>
83
84         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
85         os::cygwin_path_fix.
86         (write): output LyXRC::cygwin_path_fix as necessary.
87
88 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
89
90         * lyxrc.h:
91         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
92
93 2005-01-12  Angus Leeming  <leeming@lyx.org>
94
95         * lyx_main.C (init): set the PATH variable to include the
96         directory containing the LyX binary when running on Mac or Windows.
97
98 2005-01-12  Angus Leeming  <leeming@lyx.org>
99
100         * lyx_main.C (init): remove cruft that purports to set the locale
101         dir. It doesn't and is not needed anyway.
102
103 2005-01-10  Angus Leeming  <leeming@lyx.org>
104
105         * Makefile.am: remove the lyx_main.C special casing.
106
107         * BufferView_pimpl.C:
108         * bufferlist.C:
109         * exporter.C:
110         * lyx_cb.C:
111         * lyx_main.C:
112         * lyxfunc.C:
113         * messages.C: use support/package.h to provide the paths to the
114         various directories used by LyX.
115
116 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
119         layout if pasting into an empty paragraph)
120
121 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
122
123         * tex-accent.C: add <string>
124
125 2005-01-06  José Matos  <jamatos@lyx.org>
126
127         * ParagraphParameters.C (write): put every parameter in its own line.
128         * paragraph.C (write): reduce number of consecutive empty lines exported.
129         * buffer.C (LYX_FORMAT): increase file format to 239.
130
131 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
132
133         * everywhere: change support/tostr.h -> support/convert.h
134
135         * tabular.C: make all write_attributes templates, tostr -> convert
136
137         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
138         (emptyTag): and -> &&, and fix type for ret from getChar
139         (getFirstWord): fix type for ret from getChar
140         (onlyText): and -> &&
141         (simpleDocBookOnePar): and not -> && !, fix type for ret from
142         getChar
143
144         * toc.C (goTo, action):
145         * text3.C (dispatch):
146         * text.C (currentState):
147         * tex-accent.C (DoAccent):
148         * sgml.C:
149         * lyxrc.C:
150         * lyxfunc.C (menuNew):
151         * lyxfinc.C (replace):
152         * counters.C (laberItem):
153         * bufferview_funcs.C (font2string):
154         * bufferparams.C (writeFile):
155         * buffer.C (readFile):
156         * Spacing.C (set):
157         * MenuBackend.C: tostr -> convert
158
159         * LaTeX.C (runMessage): fix format
160         (scanAuxFiles): tostr -> convert
161
162         * BufferView_pimpl.C (savePosition): fix format
163         (restorePosition): ditto
164         (dispatch): ditto
165
166 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
167
168         * Spacing.[Ch]: New method getValueAsString().
169
170         * Spacing.[Ch]:
171         * bufferparams.C:
172         * ParagraphParameters.C:
173         * lyxlayout.C:
174         * text.C:
175         * text3.C: store/read spacing value as string.
176
177         * rowpainter.C: change float value (spacing_val) to double.
178
179         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
180         broken custom document spacing).
181
182 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
183
184         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
185         namespace, also more use of temp references and const
186
187         * cursor.[Ch] (getStatus): move to lyxfunc.C
188
189         * bufferparams.C: reformat slightly
190
191         * bufferview_funcs.C (font2string): constify arg
192
193         * changes.C:
194         * converter.C:
195         * counters.C:
196         * bufferlist.C:
197         * buffer_funcs.C: (many funcs): constify arg on function
198         definitions, also make more local vars const, also add ASSERTS on
199         pointer args.
200
201         * buffer.C (LYX_FORMAT): put const in correct place
202         (many funcs): constify arg on function definitions, also make
203         more local vars const
204
205         * aspell_local.h: remove "struct" from typdef setup
206
207         * aspell.C (check): make word_ok const
208         (nextMiss): simplify slightly
209         (error): ditto
210
211 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
212
213         * lyxrc.[Ch]: store all float values as strings.
214         use int (not float) for lyxrc.dpi.
215
216 2005-01-04  Angus Leeming  <leeming@lyx.org>
217
218         * lyx_cb.C (Reconfigure):
219         * lyx_main.C (queryUserLyXDir):
220         to run the <system_lyxdir>/configure correctly on Windows, prefix
221         the path to the script with "sh " when generating the string that
222         is passed to system().
223
224 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
225
226         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
227
228 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * lyxlength.C (asLatexString): get rid of setprecision
231
232 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * text2.C (setLayout): remove unused variable endpit.
235         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
236
237         * paragraph.C (onlyText): remove unused variable style.
238
239         * cursor.C (bruteFind): remove unused variables beg and end.
240
241         * Makefile.am (dist_noinset_DATA): not needed anymore
242
243         * cheaders/*: remove.
244
245 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
246
247         * text3.C: fix LFUN_MATH_MODE.
248
249 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * buffer_funcs.C (countWords): new function. Counts words between
252         two iterators.
253
254         * BufferView_pimpl.C (getStatus, dispatch): handle
255         LFUN_WORDS_COUNT.
256
257         * LyXAction.C (init):
258         * lfuns.h: add LFUN_WORDS_COUNT.
259
260 2004-12-19  Angus Leeming  <leeming@lyx.org>
261
262         * buffer.C (save): s/slashify_path/internal_path/.
263
264 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
265
266         * lyxfind.C (findChange): do not search for end of pars, because
267         the change tracker cannot handle this (fixes bug 1719).
268
269 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
270
271         * paragraph.[Ch] (autoBreakRows): remove
272
273         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
274
275         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
276         avoid using the paragraph one
277
278         * text2.C (LyXText, insertStringAsLines): adjust
279
280 2004-12-16  Angus Leeming  <leeming@lyx.org>
281
282         * bufferlist.C:
283         * lyx_main.C:
284         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
285
286 2004-12-14  Angus Leeming  <leeming@lyx.org>
287
288         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
289
290         * bufferlist.C (emergencyWrite):
291         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
292         GetEnvPath("HOME").
293
294 2004-12-14  Angus Leeming  <leeming@lyx.org>
295
296         * main.C: (main): no longer pass pointers to os::init.
297
298 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
299
300         * undo.C (textUndoOrRedo): simplify logic, fix a crash
301         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
302
303 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
304
305         * lyxfunc.C:
306         * text3.C: remove selection_possible global flag
307
308 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * text2.C (getSelectionSpan): remove
311         (changeDepth, changeDepthAllowed): adjust
312
313 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
314
315         * Makefile.am (BOOST_LIBS): use boost variables
316
317 2004-12-03  José Matos  <jamatos@lyx.org>
318
319         * buffer.C: format up to 238.
320
321 2004-12-03  José Matos  <jamatos@lyx.org>
322
323         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
324
325 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
326
327         * cursor.C (goUpDown): remove call to idxUpDown2
328
329 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
330
331         * tabular.[Ch]: use size_t-like types for cell, row and column
332         indices
333
334 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * lyxfunc.C (getStatus): do not lose previous information when
337         calling BufferView::getStatus; do not set a default "Command
338         disabled" message at the beginning, but just before returning.
339
340 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
341
342         * cursor.h (getStatus): add better comment from src/cursor.C
343
344 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * text3.C (getStatus): return false when the lfun is not handled
347
348 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
349
350         * broken_headers.h: remove
351
352         * Makefile.am (lyx_SOURCES): remove broken_headers.h
353
354 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
355
356         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
357         offset_ref accessors
358
359         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
360         top_y_, merge fitcursor with update
361         (updateScrollbar, scrollDocView, fitCursor, center, update): new
362         coord scheme
363         (metrics): introduce
364         (workAreaDispatch): adapt to new coord scheme
365         (redoCurrentBuffer): remove
366
367         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
368
369         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
370         CurStatus enum.
371
372         * coordcache.[Ch]: add paragraph cache and helpers
373
374         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
375         adjust everywhere
376
377         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
378         (targetX, setTargetX): introduce
379
380         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
381         baseline -> ascent, as the rest of lyx
382
383         * lyxtext.h: remove redoParagraphs, updateParPositions,
384         fullRebreak, redoParagraphInternal. move dist to anon namespace in
385         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
386         have ascent/descent (ascent is ascent of first par)
387
388         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
389         step of BufferView
390
391         * paragraph.[Ch]: unify dimension handling with the rest of lyx
392
393         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
394
395         * pariterator.C: fix infinite loop introduced in par->pit renaming
396
397         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
398         in insets and LyXText, draw two off-screen paragraphs using
399         NullPainter, and adapt to new coord scheme
400
401         * text.C:
402         * text2.C:
403         * text3.C: adapt lfun handlers to the new coord scheme, which
404         means: there's only guaranteed coord information for onscreen pars
405         plus one above and one below. This implies that one can do search
406         from y coordinates in the range [-1,workHeight]
407
408 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
409
410         * rename a lot of InsetOld to InsetBase
411
412 2004-11-25  Angus Leeming  <leeming@lyx.org>
413
414         * BufferView_pimpl.C:
415         * lyx_cb.C:
416         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
417
418 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
421         call BufferView::getStatus if LCursor::getStatus did nothing
422         (setStatusMessage, getStatusMessage): removed.
423
424         * FuncStatus.C (message): new methods. Used to provide an error
425         message indicating why a command is disabled.
426         (clear, |=, FuncStatus): update for message.
427
428 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
429
430         * lyxfunc.C (dispatch): always call sendDispatchMessage
431
432 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
433
434         * BufferView.C:
435         * BufferView_pimpl.C:
436         * CutAndPaste.C:
437         * FontIterator.C:
438         * buffer.C:
439         * cursor.C:
440         * cursor_slice.[Ch]:
441         * dociterator.[Ch]:
442         * lyxfind.C:
443         * paragraph_funcs.C:
444         * pariterator.C:
445         * rowpainter.C:
446         * text.C:
447         * text2.C:
448         * text3.C:
449         * undo.C: par->pit renaming
450
451 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
452
453         * tabular.C (cellstruct): use initialization, store a shared_ptr
454         to insettext instead of the insettext directly, adjust to fit.
455         (operator=):  new function
456         (swap): new function
457         (rowstruct): use initialization
458         (columnstruct): use initialization
459         (ltType): use initialization
460
461
462         * lyxlength.h (swap): new function
463
464         * LColor.[Ch] (operator=): use the common semantics
465
466 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * lyxfind.C (findNextChange): update the bufferview after setting
469         the selection.
470
471 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
474         number of InsetOptArgs has already been inserted.
475
476         * output_latex.C (latexOptArgInsets): new method. This outputs all
477         the optarg insets, up to the limit defined in the layout file.
478         (optArgInset): removed
479         (TeXOnePar): call latexOptArgInsets; correctly update texrow
480
481 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * paragraph.C (isLetter): remove special spellchecker-related
484         code; return true also for digits
485         (isWord, isKomma): remove
486
487         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
488         * lyxfind.C (MatchString()): use isLetter instead of isWord
489
490 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
491
492         * pariterator.h (operatir=): comment out un-implemented member
493         function.
494
495         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
496         static cast.
497
498 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
499
500         * lyxfont.h: include LColor.h to satisfy concept checks.
501
502 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
503
504         * pariterator.h: add typdefs for value_type, difference_type,
505         pointer and reference to satisfy concept checks. Also add default
506         constructor for same reason.
507
508         * pariterator.C (operator++): add post-increment operator to
509         satisfy concept checks.
510
511         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
512         checks.
513
514         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
515
516         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
517         checks. Also rename base_type to BaseType to follow naming
518         standard better.
519
520         * FloatList.h: include Floating.h to satisfy concept checks.
521
522 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * lyxfunc.C (getStatus): when the origin of the request is menu or
525         toolbar, and the LyXView does not have focus, do as if there was
526         no buffer (bug 1720)
527
528         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
529         FuncRequest to individual entries of LFUN_SEQUENCE
530
531 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * output_latex.C (TeXOnePar): override runparams.moving_arg
534         according to the needprotect value of the current paragraph (bug
535         1739)
536
537         * paragraph.C (simpleTeXOnePar): no need to override
538         runparams.moving_args here
539
540 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
541
542         * vspace.C: fix off-by-one-error, related to fix #1682
543
544 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
545
546         * lengthcommon.C: a more general fix for bug 1682
547
548 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
549
550         * text.C (backspace): fix crash
551
552 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
553
554         * format.[Ch] (getFormatFromFile): new method
555         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
556
557 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
558
559         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
560
561 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * lyxfunc.C (dispatch): remove the verbose argument
564         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
565         instead
566
567         * kbmap.C (defkey): set the origin of func to KEYBOARD
568
569         * MenuBackend.C (MenuItem):
570         * ToolbarBackend.C (add): set the origin of func to UI
571
572         * funcrequest.[Ch]: add origin member, which indicates which part
573         of LyX requests an action
574
575 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
576
577         * converter.C (move): don't lie in the error message
578         * converter.h (isReachable, move): document
579
580 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
581
582         * buffer.C: remove unused using lyx::support::atoi
583         * paragraph_funcs.C: ditto
584
585 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
586
587         * bufferlist.C (exists): use bind and equal_to instead of
588         compare_memfun
589         (getBuffer): ditto
590         * lyxtextclasslist.C (NumberOfClass): ditto
591
592         * cursor.C (insert): use for_each instead of explicit for loop
593
594         * bufferlist.C (getFileNames): use std::transform and
595         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
596
597         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
598         for loop
599
600         * buffer.C (changeLanguage): use for_each instead of explicit for
601         loop
602         (hasParWithID): implement using getParFromID
603
604         * LaTeXFeatures.C: ws change only
605
606         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
607         to cleanup a bit.
608
609         * BufferView_pimpl.C (trackChanges): use for_each instead of
610         expilicit for loop
611
612 2004-11-04  André Pönitz  <poenitz@gmx.net>
613
614         * undo.h:
615         * undo.C (textUndoOrRedo): fix crash when creating undo information.
616
617         * dociterator.C (asDocIterator): use hard assert again.
618
619 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * lyxlength.C (asLatexString): rewrite so that it does not use
622         snprintf anymore
623
624 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
625
626         * text3.C (specialChar, dispatch): make sure cursor moves to the
627         right after inserting an inset
628
629 2004-11-02  José Matos  <jamatos@lyx.org>
630
631         * output_docbook.C (docbook):
632         * paragraph.C (getID):
633         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
634         garantee that the output is always legal.
635
636         * tabular.C (docbook):
637         * outputprams.[Ch]: remove mixed contents.
638
639 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
640
641         * text2.C (setCounter): prevent endless loop
642
643 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
644
645         * exporter.C (copyFile): use the mover instead of support::copy()
646         * exporter.C (Export): pass format and latex name to copyFile()
647         * exporter.h (addExternalFile): document
648         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
649
650 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
651
652         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
653
654 2004-10-30  José Matos  <jamatos@lyx.org>
655
656         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
657         text and no inset or font change. This allows to use CDATA
658         sections just for the whole paragraph.
659
660 2004-10-30  José Matos  <jamatos@lyx.org>
661
662         * paragraph.C (getFirstWord): remove unused variable.
663
664 2004-10-30  José Matos  <jamatos@lyx.org>
665
666         * paragraph.C (getFirstWord): the content should always be escaped
667         there.
668         (simpleDocBookOnePar):
669         * output_docbook.C (makeEnvironment): replace reference to CDATA
670         to style pass_thru.
671
672 2004-10-30  José Matos  <jamatos@lyx.org>
673
674         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
675
676 2004-10-30  José Matos  <jamatos@lyx.org>
677
678         * output_docbook.C (makeParagraphs):
679         * paragraph.[Ch] (emptyTag): for docbook and company, if the
680         standard paragraph has only a given type of content drop the wrapper.
681
682 2004-10-29  José Matos  <jamatos@lyx.org>
683
684         * output_docbook.C (makeEnvironment):
685         * sgml.C (openTag):
686         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
687
688 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
689
690         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
691         (cleanID): sanitize any id.
692
693 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
694
695         * buffer.C, lyxlex_pimpl.C:
696         * lyxlex_pimpl.C (setFile):
697         s/getExtFromContents/getFormatFromContents/
698
699 2004-10-28  José Matos  <jamatos@lyx.org>
700
701         * output_docbook.C (makeEnvironment): move id to broadest possible
702         scope.
703
704         * sgml.C (openTag): apply substitution of <> for all attributes.
705
706 2004-10-28  José Matos  <jamatos@lyx.org>
707
708         * buffer.C (makeLinuxDocFile, makeDocBookFile):
709         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
710         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
711
712         * sgml.[Ch]: new version for open and closeTag for paragraph and
713         for strings. Now they handle the ids of paragraphs.
714
715 2004-10-26  Angus Leeming  <leeming@lyx.org>
716
717         * Makefile.am: add mover.[Ch].
718
719         * converter.C (convert, move): use the new Movers to move external
720         files to the temp directory.
721
722         * lyx_main.C (init): ensure that the global system_movers data
723         is initialised.
724
725         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
726         preferences file.
727
728         * mover.[Ch]: new files, defining a Mover as a utility to move an
729         external file between directories and, if necessary, manipulate this
730         file using a helper script.
731
732 2004-10-25  José Matos  <jamatos@lyx.org>
733
734         * output_docbook.C (makeCommand): merge two if's that tested the
735         same condition.
736
737 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * sgml.C (escapeString): fix warning in a better way
740
741 2004-10-25  José Matos  <jamatos@lyx.org>
742
743         * sgml.C (escapeString): import the require boosts header file for
744         tie, and avoid a signed unsigned comparison.
745
746 2004-10-25  José Matos  <jamatos@lyx.org>
747
748         * sgml.h: add #include <string>
749
750 2004-10-25  José Matos  <jamatos@lyx.org>
751
752         * sgml.[Ch] (escapeString): new function to escape all the string.
753
754 2004-10-24  José Matos  <jamatos@lyx.org>
755
756         * paragraph.[Ch] (getFirstWord): new function to get the first
757         word. Useful for description.
758         (simpleDocBookOnePar): remove depth argument, add another that
759         says where to start the paragraph.
760
761         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
762         use the new functions to fix cleanly the support for descriptions.
763
764 2004-10-24  José Matos  <jamatos@lyx.org>
765
766         * buffer.C (makeLinuxDocFile, makeDocBookFile):
767         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
768         * output_linuxdoc.C (linuxdocParagraphs):
769         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
770         add buffer as argument.
771
772 2004-10-24  José Matos  <jamatos@lyx.org>
773
774         * output_docbook.C (makeEnvironment, searchEnvironment): place
775         CDATA inside paragraphs and fix scope for listitems.
776
777 2004-10-24  José Matos  <jamatos@lyx.org>
778
779         * output_docbook.C: remove using statement for stack.
780
781 2004-10-23  José Matos  <jamatos@lyx.org>
782
783         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
784         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
785         docbook. The new scheme is recursive and makes use of iterators, the
786         same as latex export works.
787         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
788         directly with the paragraph contents. This code was moved up to
789         output_docbook.C (docbookParagraphs).
790         * sgml.C (openTag, closeTag): removed unneeded newlines.
791         (closeEnvTags) removed.
792
793 2004-10-23  André Pönitz  <poenitz@gmx.net>
794
795         * undo.C (textUndoOrRedo):
796         * dociterator.C (asDocIterator): work around crash
797
798         * cursor.C (getStatus): replace ASSERT by more verbose error message
799           and manual correction of the problem. Should increase stability
800           while providing more sensible information.
801
802 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
805
806         * bufferlist.C (previous, next): new methods
807
808         * lfuns.h:
809         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
810
811 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
812
813         * buffer.C (makeDocBookFile): add dsssl stylesheet control
814         entities to preamble.
815
816 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
817
818         * messages.C (Pimpl): strip off translation context information
819
820 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
823         the cursor is correct (bug 1694)
824
825 2004-10-13  José Matos  <jamatos@lyx.org>
826
827         * output_docbook.C (docbookParagraphs): fix closing tags in the
828         end of the document.
829
830 2004-10-09  José Matos  <jamatos@lyx.org>
831
832         * buffer.C: format up to 237.
833         * bufferparams.C (write): use tostr to convert booleans to strings.
834
835 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
836
837         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
838
839 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
840
841         * LaTeX.C: implement use of babel language in xindy.
842
843 2004-10-05  José Matos  <jamatos@lyx.org>
844
845         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
846         Add new translators to help reading and writing the lyx file.
847
848 2004-10-05  José Matos  <jamatos@lyx.org>
849
850         * ParagraphParameters.C (read):
851         * text.C (readParToken): replace nexToken by more appropriate lex
852         methods.
853
854 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
855
856         * LaTeX.C (runMakeIndex):
857         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
858         (usually 'makeindex') configurable.
859
860         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
861         with a variable rather than with a number.
862
863 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
864
865         * output_latex.C (TeXOnePar): make sure font setting is the first
866         thing that gets output (and the last at the end). Should fix bug
867         1404.
868
869 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
870
871         * pch.h: use proper signal include
872
873         * LaTeX.h: Use preferred calling of Boost.Signal
874         * buffer.h: ditto
875
876 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
877
878         * pch.h: dont include <boost/function/function0.hpp>
879
880         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
881
882         * paragraph_pimpl.h: remove usage of ShareContainer
883
884         * paragraph_pimpl.C: remove initialization of ShareContainer.
885
886 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         Fix bug #1666
889
890         * BufferView.C (putSelectionAt): change the semantics when
891         backwards == true: now, this just swaps cursor and anchor wrt the
892         forward case
893
894         * BufferView.h (putSelectionAt): add some documentation
895
896         * lyxfind.C (findBackwards): rewrite using while(). In particular,
897         make sure backwardChar is done at least once (to avoid getting
898         stuck)
899         (findNextChange): use putSelectionAt in the forward direction
900         (operator()): use Paragraph::isWord
901
902 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
903
904         * Spacing.C (set): c_str fix
905
906 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
907
908         * lyx_cb.C (Reconfigure): quote the name of configure script in
909         case it contains spaces
910
911 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
912
913         * client: new dir
914
915         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
916         (BOOST_LIBS): use top_buildir when looking for the file
917
918 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
919
920         * pch.h: do not use include boost/format.hpp, multiple symbols
921                 will result (gcc bug)
922
923
924 2004-08-23  José Matos  <jamatos@lyx.org>
925
926         * bufferparams.C (readToken): fix reading of the author field.
927
928 2004-08-20  José Matos  <jamatos@lyx.org>
929
930         * lyxrc.C: remove support/translator.h inclusion since it is not used.
931
932 2004-08-20  José Matos  <jamatos@lyx.org>
933
934         * lyxlex.[Ch] (findToken): remove function.
935
936         * ParagraphParameters.C (findToken):
937         * bufferparams.C (findToken): replace call for previous function
938         with local copy. This local function has one more argument, the
939         read string argument.
940
941 2004-08-16  José Matos  <jamatos@lyx.org>
942
943         * ParagraphParameters.C (write):
944         * Spacing.C (writeFile):
945         * bufferparams.C (writeLaTeX):
946         * lyx_cb.C (Reconfigure):
947         * paragraph.C (write):
948         * tabular.C (write): remove unnecessary space at end of line.
949
950
951 2004-08-16  José Matos  <jamatos@lyx.org>
952
953         * text.C (readParagraph): remove debug message.
954
955 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
958         crash
959
960         * output_plaintext.C (asciiParagraph): set depth correctly
961
962         * outputparams.h: add member depth
963
964         * paragraph_funcs.C (ownerPar): remove.
965
966         * text2.C (setCounter): remove first_pit; comment out some
967         non-working code that uses ownerPar
968
969         * BufferView.C (getParentLanguage): remove. Not used anymore, and
970         uses ownerPar
971
972 2004-08-16  José Matos  <jamatos@lyx.org>
973
974         * text.C (readParToken, readParagraph, read): report all unknown tokens.
975         For the same level of importance use the same chanel to report problems.
976         (read): add code to deal with \begin_body and \end_body.
977
978
979 2004-08-15  José Matos  <jamatos@lyx.org>
980
981         * lyxlex.C (getString): fix comment, buffer::readBody is now
982         buffer:readDocument.
983
984         * tex-strings.C (string_papersize): Default -> default,
985         Custom -> custom, for consistency with other options.
986
987 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
988
989         * pch.h: new file
990
991         * Makefile.am: support pch
992
993 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * text.C (readParToken): remove the static LyXFont variable and
996         pass it as a parameter instead. This fixes a nasty bug where an
997         inset will be inserted with a bad font in some situations
998         (readParagraph): adapt
999
1000         * text2.C (setCounter): reduce number of calls to pars_[pit]
1001
1002         * text.C (singleWidth): add an assert, fix a test
1003
1004         * rowpainter.C (paintText): reduce number of calls to singleWidth
1005
1006         * paragraph.C (isHfill):
1007         (isNewline): ws only
1008
1009 2004-08-14  André Pönitz  <poenitz@gmx.net>
1010
1011         * text.C:
1012         * text2.C:
1013         * rowpainter.C:
1014         * lyxtext.h (several functions): use a Paragraph & argument
1015         instead of par_type
1016
1017 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1018
1019         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1020
1021         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1022
1023         * text.C (singleWidth): remove useless test
1024
1025 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * tabular.h: remove bogus comments
1028
1029         * tabular.C (getDescentOfRow):
1030         (isPartOfMultiColumn): add assertions
1031
1032         * lyxlength.C (inPixels): remove #warning
1033
1034 2004-08-14  André Pönitz  <poenitz@gmx.net>
1035
1036         * paragraph.h: inline getChar()
1037
1038         * BufferView.h: remove unused declarations
1039
1040 2004-08-14  José Matos  <jamatos@lyx.org>
1041
1042         * Buffer.[Ch] (readDocument): new name for old readBody.
1043         * Buffer.C: new file format, new keywords: \begin_document,
1044         \begin_header, \begin_body, \end_body.
1045
1046         * bufferparams.C (readToken): replace all calls to lex.nextToken
1047         by lex.next(). Do the same to eatLine except where really needed.
1048
1049         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1050         line when writing to the lyx file.
1051
1052         * output_plaintext.C (asciiParagraph): fix Bibliography style
1053         handling.
1054
1055         * text.C (read): fix end of file handling.
1056
1057 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * MenuBackend.C (Menu::operator[]): new method to access
1060         individual menu items
1061         (Menu::hasFunc): new method. search for an item that corresponds
1062         to a given func
1063         (MenuBackend::specialMenu): new method
1064         (MenuBackend::expand): if a special menu has been set, skip
1065         entries whose func() appears in this menu
1066
1067 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1068
1069         * text3.C: use Debug::DEBUG a bit more
1070
1071         * text.C (leftMargin): try to simplify a tiny bit change var x to
1072         l_margin. Dont output the wide margins always.
1073         (rightMargin): no margin in inner texts
1074
1075         * rowpainter.h (nestMargin): new func
1076         (changebarMargin): new func
1077         (rightMargin): new func
1078
1079         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1080         now functions.
1081         (paintLast): ditto
1082
1083         * factory.C (createInset): modify setDrawFrame
1084
1085         * cursor.C: use Debug::DEBUG a bit more
1086
1087 2004-08-14  André Pönitz  <poenitz@gmx.net>
1088
1089         * coordcache.[Ch]:
1090         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1091         cache for all insets in (at least partially) visible (top-level)
1092         paragraphs.
1093
1094         * BufferView_pimpl.C: reset external coord cache before every update.
1095         This means the coord cache only contains valid entries.
1096
1097 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1098
1099         bug 1096
1100         * BufferView_pimpl.C (getInsetByCode): move function out of class
1101         and change in to a template in anon namespace. Also fix to do what
1102         suits us better.
1103
1104 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1105
1106         bug 1305
1107         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1108         of char
1109         (breakParagraph): rename par to par_offset and use a local
1110         reference. Add code to keep the language over a rebreak.
1111         (breakParagraphConservative): rename par to par_offset, use a
1112         local reference
1113         (mergeParagraph): ditto
1114         (outerHook): ditto
1115         (isFirstInSequence): ditto
1116         (outerFont): rename pit to par_offset
1117
1118         * paragraph.C: ws change
1119         * paragraph.h: ditto
1120         * text3.C: ditto
1121         * text.C: ditto
1122
1123 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1126         treatment for ']'
1127
1128         * paragraph.C (simpleTeXOnePar): when we have a \item with
1129         optional argument, enclose the argument with curly brackets (in
1130         case it contains a closing square bracket)
1131
1132         * text2.C (editXY):
1133         * text2.C (editXY):
1134         * text3.C (checkInsetHit): constify
1135
1136 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1137
1138         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1139         documents (bug 1629)
1140
1141 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         Fix toggling of collapsable insets with the mouse (bug 1558)
1144
1145         * lyxfunc.C (dispatch): adapt to LCursor changes
1146
1147         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1148         make sure that dispatch is not invoked twice
1149
1150         * cursor.C (needsUpdate): new method
1151         (dispatch): return void
1152         (result): new method, to access the DispatchResult of the cursor.
1153
1154 2004-08-13  José Matos  <jamatos@lyx.org>
1155
1156         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1157
1158 2004-08-13  André Pönitz  <poenitz@gmx.net>
1159
1160         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1161
1162         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1163           multiple cells
1164
1165 2004-08-12  André Pönitz  <poenitz@gmx.net>
1166
1167         * text3.C: take out the 'cursor right' form insertInset and only
1168         do it in those places when it is really needed. Fixes crash on
1169         C-m...
1170
1171 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1172
1173         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1174
1175         * BufferView_pimpl.C (setBuffer): initialize the current font of
1176         the underlying LyXText
1177
1178 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1179
1180         * kbsequence.C (print): use UI native formatting for menu
1181         shortcuts
1182
1183         * text.C (insertChar): call Paragraph::insertChar with a font
1184         argument (cosmetic)
1185
1186         * paragraph.C (insertInset, insertChar): the version that takes a
1187         LyXFont argument is now a wrapper around the other one (the
1188         opposite used to be true).
1189
1190         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1191         argument. Font setting is done in Paragraph now.
1192
1193 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * outputparams.h: add new members intitle and lang.
1196
1197         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1198         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1199
1200 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1201
1202         * text3.C (dispatch): remove special handling of button 4 and 5,
1203         it is now taken care of in the frontend code.
1204
1205 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1206
1207         * Spacing.h: add <string> (STLPort compile fix)
1208
1209 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1210
1211         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1212
1213 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1214
1215         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1216         to bool.
1217
1218         * converter.C (showMessage): inherit from unary_function, make
1219         operator() const.
1220
1221         * buffer.C (writeFile): initialize retval
1222
1223         * InsetList.h: rename private variable list to list_
1224         * InsetList.[Ch]: adjust accordingly.
1225
1226 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1227
1228         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1229         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1230         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1231         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1232         * ParagraphParameters.C, LaTeXFeatures.C: replace
1233         "support/std_sstream.h" with <sstream>
1234
1235 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1236
1237         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1238         * lyxsocket.C (LyXServerSocket): ditto
1239         (serverCallback): ditto
1240
1241 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1242
1243         * LaTeXFeatures.C: check release date when loading jurabib.
1244
1245 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1246
1247         * lyxserver.C (startPipe): call register_socket_callback
1248         (endPipe): call unregister_socket_callback
1249
1250 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1251
1252         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1253         (LyXServerSocket): register the callback
1254         (LyXServerSocket): unregister the callback
1255         (fd): delete function
1256         (serverCallback): improve error checking and setup the callbacks.
1257         (dataCallback): change arg to fd.
1258         (writeln): new func (copied fro the client socket) used for server
1259         write to client.
1260         (LyXDataSocket): simplify
1261         (~LyXDataSocket): close ann unregiser callback
1262         (server): delete function
1263         (fd): delete function
1264         (readln): small changes, improve some std::string usage
1265         (writeln): constify a bit
1266
1267 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1268
1269         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1270         Qt frontend
1271
1272 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1273
1274         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1275         after it has been populated
1276
1277 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1278
1279         * text2.C (insertInset): move cursor when inserting inset.
1280
1281 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1282
1283         * kbmap.C (findbindings): a couple of new methods. returns a
1284         container of kb_sequence objects. The real work is done by the
1285         private recursive version
1286         (printbindings): uses findbindings to print out a bracketed list
1287         of bindings (renamed from findbinding).
1288
1289         * MenuBackend.C (binding): use kb_keymap::findbindings
1290
1291         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1292
1293 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1294
1295         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1296
1297 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1298
1299         * paragraph.C (isWord): return true on insets that report
1300         isLetter().
1301
1302         * text.C (getWord): use Paragraph::isWord to decide what is in a
1303         word and what is not; fix bug 1609.
1304
1305 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1306
1307         * tex-strings.C: add "none" to string_paperpackages[], fixes
1308         off-by-one-error in the paperpackage selection.
1309
1310         * lyxlex.[Ch]:
1311         * tex-strings.[Ch]: char const * string[n]
1312         -> char const * const string[]
1313
1314 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1315
1316         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1317         command, return early.
1318
1319 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1320
1321         * debug.h: add DEBUG to enum and fix size of ANY.
1322
1323         * debug.C: add support for Debug::DEBUG
1324         (showTags): cast errorTags.level to unsigned int
1325
1326         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1327         (redoCurrentBuffer): ditto
1328         (updateScrollbar): ditto
1329         * cursor.C (dispatch): ditto
1330         * text2.C (setLayout): ditto
1331         (setFont): ditto
1332         (updateCounters): ditto
1333         (editXY): ditto
1334         (deleteEmptyParagraphMechanism): ditto
1335
1336 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1337
1338         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1339         annotations to cleanup the Makefile slightly.
1340
1341 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * lyxrc.C: do not set user_email to a default value but use empty
1344         instead. The entry used to be translated, which does not work
1345         since at the point where lyxrc is constructed there is no
1346         translation service available
1347
1348         * messages.C (getLocaleDir): remove and use directly
1349         lyx_localedir() instead
1350
1351 2004-06-02  Angus Leeming  <leeming@lyx.org>
1352
1353         Fix crash caused by dereferencing null pointer 'exportdata' in
1354         OutputParams by creating a new ExportData variable on the heap,
1355         storing it in a boost::shared_ptr.
1356         The crash was triggered when generating an Instant Preview
1357         of an external inset.
1358
1359         * Makefile.am: add outputparams.C
1360
1361         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1362         (c-tor): allocate memory to it.
1363
1364         * exporter.C (c-tor): associated changes.
1365
1366 2004-06-01  Angus Leeming  <leeming@lyx.org>
1367
1368         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1369         contains data before calling isInset(0). (Bug 1513.)
1370
1371 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1372
1373         * exporter.C (checkOverwrite): new method
1374         * exporter.C (copyFile): new method
1375         * exporter.C (Export): copy referenced files to the document dir
1376         * exporter.[Ch]: new class ExportedFile
1377         * exporter.[Ch]: new class ExportData. Contains currently the
1378         names of referenced external files
1379         * outputparams.h: add exportdata member.
1380
1381 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1382
1383         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1384         version.C-tmp
1385
1386 2004-05-19  Angus Leeming  <leeming@lyx.org>
1387
1388         * LaTeXFeatures.C:
1389         * ToolbarBackend.C:
1390         * bufferparams.C:
1391         * lyxfunc.C: small changes due to the introduction of namespace
1392         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1393
1394 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * text3.C (dispatch): supress update when only moving the cursor
1397         * cursor.C (selHandle): remove commented code
1398
1399 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1400
1401         * paragraph.C (startTeXParParams): correct column count
1402         * CutAndPaste.C (pasteSelection): remove const_cast
1403         * output_docbook.C (docbookParagraphs): remove const_cast
1404         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1405         const_cast and return ParagraphList::const_iterator
1406         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1407         * output_plaintext.C (writeFileAscii): remove const_cast
1408         * paragraph.[Ch] (simpleTeXOnePar): make const
1409         * paragraph_funcs.C (outerPar): use const iterators
1410         * paragraph_pimpl.C (validate): use const iterators
1411         * text.C (setHeightOfRow): use const iterators
1412
1413 2004-05-17  Angus Leeming  <leeming@lyx.org>
1414
1415         * lfuns.h:
1416         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1417
1418         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1419         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1420         if the citation engine has changed.
1421
1422 2004-05-14  José Matos  <jamatos@lyx.org>
1423
1424         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1425         if the textclass does not provide it. Have it different for sgml and
1426         xml.
1427         support the language of document.
1428         * output_docbook.C (docbookParagraphs):
1429         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1430         first anchor as the id of the paragraph, remove special case code.
1431         * sgml.C (escapeChar): escape only < & >.
1432
1433 2004-05-14  Angus Leeming  <leeming@lyx.org>
1434
1435         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1436         dependencies on src/frontends/controllers/biblio.h. Define a
1437         CiteEngine_enum wrapper class to enable the enum to be forward
1438         declared.
1439
1440 2004-05-12  Angus Leeming  <leeming@lyx.org>
1441
1442         * buffer.C: up LYX_FORMAT to 234.
1443         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1444         use_numerical_citations with a single biblio::CiteEngine cite_engine
1445         variable.
1446         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1447
1448 2004-05-13  José Matos  <jamatos@lyx.org>
1449
1450         * converter.h:
1451         * converter.C (Converter, readFlags): add xml member.
1452         * outputparams.h: add XML flavor.
1453         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1454
1455 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1456
1457         * lyxfunc.C (dispatch):
1458         (getStatus): fix handling of LFUN_SEQUENCE
1459
1460 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1461
1462         * debug.C (showLevel): do not forget the end-of-line marker
1463
1464 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * kbmap.C (read): do not stop parsing a bind file when an error
1467         occurs (bug 1575)
1468
1469 2004-04-29  Angus Leeming  <leeming@lyx.org>
1470
1471         * cursor.C:
1472         * factory.C:
1473         * pariterator.C:
1474         * text2.C: wrap a bunch of #warning statements
1475         inside #ifdef WITH_WARNINGS blocks.
1476
1477 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1478
1479         * buffer.C: increment format to 233.
1480
1481 2004-04-28  Angus Leeming  <leeming@lyx.org>
1482
1483         * BufferView_pimpl.C:
1484         * lyxfunc.C:
1485         * text3.C:
1486         s/updateToolbar()/updateToolbars()/
1487         s/Toolbar.h/Toolbars.h/
1488
1489 2004-04-28  Angus Leeming  <leeming@lyx.org>
1490
1491         * BufferView.[Ch] (c-tor):
1492         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1493         No longer passes these data to the WorkArea generator.
1494
1495 2004-04-28  Angus Leeming  <leeming@lyx.org>
1496
1497         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1498
1499 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1500
1501         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1502
1503 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1504
1505         * output_latex.C (TeXEnvironment): make sure that there is a line
1506         break before \end{foo} for the last paragraph of a document
1507         (TeXOnePar): if the paragraph is at the end of the document (or
1508         inset) and the language has to be reset, then make sure that the
1509         line break is _before_ the language command, not after (fixes bug
1510         1225); also make sure that the language reset command is the first
1511         thing after the paragraph (to ensure proper nesting of
1512         environments and thus fix bug 1404)
1513
1514 2004-04-21  John Levon  <levon@movementarian.org>
1515
1516         * ToolbarBackend.h:
1517         * ToolbarBackend.C: make "name" be a programmatic name
1518         and a gui_name field.
1519
1520         * lyxfunc.C: display the minibuffer on M-x
1521
1522 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1525         (bug 1526)
1526
1527 2004-04-19  Angus Leeming  <leeming@lyx.org>
1528
1529         * BufferView_pimpl.C (setBuffer): changed preview interface.
1530
1531         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1532         possible values.
1533
1534 2004-04-19  John Levon  <levon@movementarian.org>
1535
1536         * BufferView_pimpl.C:
1537         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1538
1539 2004-04-05  Angus Leeming  <leeming@lyx.org>
1540
1541         * text.C (redoParagraphs): add call to updateCounters(), thereby
1542         fixing the missing "Figure #:" label from the caption of a
1543         figure float.
1544
1545 2004-04-13  Angus Leeming  <leeming@lyx.org>
1546
1547         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1548         cursor is clicked out of an inset.
1549
1550 2004-04-13  Angus Leeming  <leeming@lyx.org>
1551
1552         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1553         than an InsetOld one.
1554
1555 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1556
1557         * format.[Ch]: add editor to Format
1558         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1559         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1560
1561 2004-04-08  André Pönitz  <poenitz@gmx.net>
1562
1563         * metricsinfo.h: remove PainterInfo::width member
1564
1565 2004-04-08  Angus Leeming  <leeming@lyx.org>
1566
1567         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1568         "\providecommand" rather than "\newcommand", thereby preventing
1569         clashes with packages that define "\boldsymbol" themselves.
1570         Eg, beamer.
1571
1572 2004-04-08  Angus Leeming  <leeming@lyx.org>
1573
1574         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1575         thereby squashing an unnecessary warning.
1576
1577 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1578
1579         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1580         setBuffer()
1581
1582 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1583
1584         * BufferView.C (setCursor): call redoParagraph (some insets could
1585         have been opened)
1586         (putSelectionAt): remove the 'double update' trick
1587
1588         * BufferView_pimpl.C (fitCursor): call refreshPar
1589         (workAreaDispatch): remove an uneeded update call
1590         (dispatch): remove some manual update calls
1591
1592         * cursor.[Ch]: remove cached_y_, updatePos
1593         (selHandle): set noUpdate when appropriate
1594
1595         * lyxfunc.C (dispatch): track if we need an update
1596
1597         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1598
1599         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1600         (paintSelection): cheap optimization, do not call cursorX when not
1601         needed
1602         (paintPars): change signature
1603         (refreshPar): add
1604         (paintText): adjust
1605         (paintTextInset): adjust
1606
1607         * text.C: adjust
1608
1609 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1610
1611         * lengthcommon.C: compilation fix: remove explicit array size from
1612         unit_name[] and friends
1613
1614 2004-04-05  Angus Leeming  <leeming@lyx.org>
1615
1616         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1617
1618         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1619         present only for the preferences dialog.
1620         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1621
1622 2004-04-05  Angus Leeming  <leeming@lyx.org>
1623
1624         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1625         to enable the frontends to export changes to lyxrc correctly.
1626
1627         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1628
1629 2004-04-07  André Pönitz  <poenitz@gmx.net>
1630
1631         * cursor.[Ch] (selClear, adjust): remove math
1632
1633         * cursor_slice.C: more agressive assert
1634
1635         * lyxfunc.C:
1636         * BufferView_pimpl.C: rework mouse event dispatch
1637
1638         * dociterator.C:
1639         * paragraph.C:
1640         * text2.C:
1641         * text3.C: adjust
1642
1643 2004-04-05  André Pönitz  <poenitz@gmx.net>
1644
1645         * cursor.[Ch] (valign, halign...): remove unneeded functions
1646
1647 2004-04-05  Angus Leeming  <leeming@lyx.org>
1648
1649         * lyxlength.[Ch] (unit_name et al.): const-correct.
1650
1651 2004-04-05  Angus Leeming  <leeming@lyx.org>
1652
1653         * BufferView_pimpl.C:
1654         * buffer.C:
1655         * counters.C:
1656         * cursor.C:
1657         * lyxfunc.C
1658         * paragraph.C:
1659         * pariterator.C:
1660         * text.C:
1661         * text2.C:
1662         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1663
1664 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1665
1666         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1667
1668 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1671         * BufferView_pimpl.[Ch] (getStatus)
1672         * BufferView.[Ch] (getStatus): add
1673         * lyxfunc.C (getStatus): move lfuns handled in
1674         BufferView::dispatch to te function above
1675         * Cursor.C (setSelection): set selection() = true
1676
1677 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1678
1679         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1680
1681 2004-03-31  Angus Leeming  <leeming@lyx.org>
1682
1683         * lyxfunc.C (dispatch): Fall through to the generic
1684         Dialogs::show("preamble").
1685
1686 2004-03-31  Angus Leeming  <leeming@lyx.org>
1687
1688         * lyxfunc.C (dispatch): Fall through to the generic
1689         Dialogs::show("spellchecker").
1690
1691 2004-03-31  Angus Leeming  <leeming@lyx.org>
1692
1693         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1694         preferences dialog.
1695
1696 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1697
1698         * BufferView.C
1699         * cursor.[Ch]
1700         * dociterator.[Ch]:
1701         * insetiterator.[Ch]:
1702         * lyxfind.C:
1703         * lyxfunc.C:
1704         * pariterator.[Ch]:
1705         * text2.C:
1706         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1707
1708 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1709
1710         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1711         insets where we are putting the cursor.
1712
1713 2004-03-31  Angus Leeming  <leeming@lyx.org>
1714
1715         * lfuns.h:
1716         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1717
1718         * lyxrc.[Ch] (read, write): overloaded member functions taking
1719         a std::[io]stream arguments.
1720
1721         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1722
1723 2004-03-31  Angus Leeming  <leeming@lyx.org>
1724
1725         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1726         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1727
1728         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1729         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1730
1731 2004-03-31  Angus Leeming  <leeming@lyx.org>
1732
1733         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1734         the LFUN_ALL_INSETS_TOGGLE code.
1735
1736 2004-03-30  Angus Leeming  <leeming@lyx.org>
1737
1738         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1739         has died. Fall through to the generic Dialogs::show("document").
1740
1741 2004-03-30  Angus Leeming  <leeming@lyx.org>
1742
1743         * lfuns.h:
1744         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1745         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1746
1747         * lyxfunc.C (getStatus, dispatch): define the actions for these
1748         lfuns. Little more than a cut and pste job from ControlDocument.C
1749
1750         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1751
1752 2004-03-30  Angus Leeming  <leeming@lyx.org>
1753
1754         * lfuns.h:
1755         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1756         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1757
1758         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1759         open/closed state of ollapsable insets. Usage:
1760
1761         all-inset-toggle <state> <name>, where
1762         <state> == "open" || "closed" || "toggle" and
1763         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1764
1765         * lyxtext.h, text2.C (toggleInset): removed.
1766
1767         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1768         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1769         now passes LFUN_INSET_TOGGLE to the found inset.
1770
1771         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1772         is now invoked as "all-insets-toggle toggle branch".
1773
1774 2004-03-30  Angus Leeming  <leeming@lyx.org>
1775
1776         * dociterator.C:
1777         * insetiterator.C:
1778         * pariterator.[Ch]: added/corrected header blurb.
1779
1780 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * dociterator.[Ch]: add an inset_ member
1783         (backwardPos): implemented
1784         (backwardPos, forwardPos): use inset_ when the stack is empty.
1785         (doc_iterator_begin, doc_iterator_end): implemented
1786         * pariterator.[Ch]: adjust, add begin, end
1787         * insetiterator.[Ch]: adjust, add begin, end
1788         * cursor.C:
1789         * document.C:
1790         * BufferView.C:
1791         * BufferView_pimpl.C:
1792         * CutAndPaste.C: adjust
1793
1794 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1795
1796         * buffer.C: increment file format to 232.
1797         * LaTeXFeatures.C: add bibtopic package.
1798         * bufferparams.[Ch]: param \use_bibtopic.
1799
1800         * lyxrc.[Ch]: add lyxrc bibtex_command
1801         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1802
1803         * buffer.C: increment file format to 231.
1804
1805 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1806
1807         * dociterator.C: implement forwardPar
1808         * iterators.[Ch]: remove, replaced by
1809         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1810         * BufferView.C:
1811         * BufferView_pimpl.C:
1812         * CutAndPaste.C:
1813         * buffer.C:
1814         * bufferview_funcs.C:
1815         * cursor.C:
1816         * lyxfind.C
1817         * lyxfunc.C
1818         * paragraph_funcs.C
1819         * toc.C:
1820         * Makefile.am: adjust
1821
1822 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1823
1824         * CutAndPaste.C (pasteSelection): fix 2 crashes
1825         (eraseSelection): fix a crash
1826         * paragraph_funcs.C: remove a warning
1827
1828 2004-03-28  Angus Leeming  <leeming@lyx.org>
1829
1830         * lfuns.h:
1831         * LyXAction.C (init): new LFUN_PRINT.
1832
1833         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1834
1835 2004-03-27  Angus Leeming  <leeming@lyx.org>
1836
1837         * lfuns.h:
1838         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1839
1840         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1841
1842 2004-03-27  Angus Leeming  <leeming@lyx.org>
1843
1844         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1845         insetlist always contains non-null pointers to insets.
1846
1847 2004-03-26  Angus Leeming  <leeming@lyx.org>
1848
1849         * src/BufferView_pimpl.C:
1850         * src/CutAndPaste.C:
1851         * src/buffer.C:
1852         * src/iterators.C:
1853         * src/output_plaintext.C:
1854         * src/outputparams.h:
1855         * src/paragraph_funcs.C:
1856         * src/rowpainter.C:
1857         * src/text.C:
1858         * src/text2.C:
1859         * src/frontends/controllers/ControlErrorList.C:
1860         * src/frontends/gtk/FileDialogPrivate.C:
1861         * src/frontends/gtk/GPainter.C:
1862         * src/frontends/gtk/GToolbar.C:
1863         * src/frontends/qt2/QRef.C:
1864         * src/mathed/math_scriptinset.C: squash compiler warnings.
1865
1866 2004-03-26  Angus Leeming  <leeming@lyx.org>
1867
1868         * ispell.C (LaunchIspell::start):
1869         * lyx_cb.C (AutoSaveBuffer::start):
1870         invoke run(DontWait) rather than runNonBlocking().
1871
1872 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1873
1874         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1875
1876 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1877
1878         * kbsequence.C (print): adjust
1879
1880         * kbmap.C (printKeySym): rename and change signature
1881         (printKey): use LyXKeySym::print()
1882
1883 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1884
1885         * undo.C: add using std::advance to compile for stlport
1886
1887 2004-03-24  Angus Leeming  <leeming@lyx.org>
1888
1889         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1890         it leads to a crash when no buffer is present.
1891
1892 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1893             Martin Vermeer  <martin.vermeer@hut.fi>
1894
1895         * lyxfunc.C (dispatch):
1896         * bufferparams.C (readToken): use the new LColor::setColor
1897
1898         * LColor.[Ch] (setColor): new version that takes two strings as
1899         argument and creates a new color entry if necessary
1900
1901 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1902
1903         * buffer.C (makeLaTeXFile): if the main latex file that is
1904         processed is usually a subdocument of some master, then pretend
1905         for a while that it is actually the master
1906
1907 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1908
1909         * buffer.C (getLabelList):
1910         (getBibkeyList): use getMasterBuffer()
1911         (getMasterBuffer): new method. Returns the main document in the
1912         case where one is using included documents.
1913
1914 2004-03-25  André Pönitz  <poenitz@gmx.net>
1915
1916         * Makefile.am:
1917         * iterators.[Ch]:
1918         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1919
1920         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1921
1922         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1923         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1924
1925         * ParameterStruct.h: merge with ParagraphParameters
1926
1927         * lyxtext.h: remove LyXText::parOffset() and getPar()
1928
1929         * text3.C: Remove all 'manual' update calls. We do now one per user
1930         interaction which is completely sufficient.
1931
1932         * Bidi.C:
1933         * BufferView.[Ch]:
1934         * BufferView_pimpl.C:
1935         * FontIterator.[Ch]:
1936         * MenuBackend.C:
1937         * ParagraphParameters.[Ch]:
1938         * buffer.C:
1939         * buffer.h:
1940         * bufferlist.C:
1941         * cursor.[Ch]:
1942         * cursor_slice.[Ch]:
1943         * dociterator.[Ch]:
1944         * errorlist.[Ch]:
1945         * factory.C:
1946         * lfuns.h:
1947         * lyxfind.C:
1948         * lyxfunc.C:
1949         * output_docbook.[Ch]:
1950         * output_latex.[Ch]:
1951         * output_linuxdoc.[Ch]:
1952         * output_plaintext.[Ch]:
1953         * paragraph.[Ch]:
1954         * paragraph_funcs.[Ch]:
1955         * paragraph_pimpl.[Ch]:
1956         * rowpainter.C:
1957         * tabular.[Ch]:
1958         * text.C:
1959         * text2.C:
1960         * toc.C:
1961         * undo.[Ch]: adjust
1962
1963         * frontends/controllers/ControlDocument.C:
1964         * frontends/controllers/ControlErrorList.C:
1965         * frontends/controllers/ControlSpellchecker.C:
1966         * insets/inset.C:
1967         * insets/inset.h:
1968         * insets/insetbase.h:
1969         * insets/insetbibitem.C:
1970         * insets/insetbox.C:
1971         * insets/insetbranch.C:
1972         * insets/insetcaption.C:
1973         * insets/insetcharstyle.C:
1974         * insets/insetcharstyle.h:
1975         * insets/insetcollapsable.C:
1976         * insets/insetcollapsable.h:
1977         * insets/insetert.C:
1978         * insets/insetfloat.C:
1979         * insets/insetfoot.C:
1980         * insets/insetmarginal.C:
1981         * insets/insetnote.C:
1982         * insets/insetoptarg.C:
1983         * insets/insettabular.C:
1984         * insets/insettext.C:
1985         * insets/insettext.h:
1986         * insets/insetwrap.C:
1987         * mathed/math_mboxinset.C:
1988         * mathed/math_nestinset.C:
1989         * mathed/math_scriptinset.C:
1990         * mathed/math_scriptinset.h:
1991         * support/types.h:
1992
1993 2004-03-24  Angus Leeming  <leeming@lyx.org>
1994
1995         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1996         deal with any child processes that have finished but are waiting to
1997         communicate this fact to the rest of LyX.
1998
1999 2004-03-24  Angus Leeming  <leeming@lyx.org>
2000
2001         64-bit compile fixes.
2002
2003         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2004         (c-tor): pass lyx::pos_types rather than ints.
2005
2006         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2007         lyx::pos_type.
2008
2009         * text.C (Delete): compile fix.
2010         (getPar): ensure that function declaration is the same as that in
2011         the header file.
2012
2013 2004-03-23  Angus Leeming  <leeming@lyx.org>
2014
2015         * ispell.C (LaunchIspell):
2016         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2017         a boost::shred_ptr rather than a std::auto_ptr.
2018
2019 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2020
2021         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2022         handle LFUN_FILE_INSERT_*
2023
2024         * lyxrc.C (setDefaults, getDescription, output, read):
2025         * lyxrc.h: remove ps_command
2026
2027 2004-03-22  Angus Leeming  <leeming@lyx.org>
2028
2029         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2030         Ensure that error_handler is processed once only and that all data
2031         is saved before attempting to output any warning messages.
2032
2033         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2034
2035 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2036
2037         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2038
2039 2004-03-19  André Pönitz  <poenitz@gmx.net>
2040
2041         * cursor.[Ch] (reset): take main text inset as argument
2042
2043         * BufferView: adjust
2044         * BufferView_pimpl.C: adjust
2045
2046         * paragraph.[Ch]: fix completely broken operator=()
2047
2048 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2049
2050         * LColor.C (getFromLyXName): make sure that the color name is used
2051         as lowercase.
2052
2053 2004-03-17  Angus Leeming  <leeming@lyx.org>
2054
2055         * lfuns.h:
2056         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2057
2058         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2059         dialog and to kill a forked process.
2060
2061 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2062
2063         * text2.C (setCursorFromCoordinates): fix font problem
2064
2065 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2066
2067         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2068         bogus "rebuild cursor" code
2069
2070 2004-03-11  André Pönitz  <poenitz@gmx.net>
2071
2072         * buffer.[Ch]: use InsetText instead of LyXText as container for
2073         the main lyx text.
2074
2075         * dociterator.[Ch]: drop the BufferView * member which is not needed
2076         anymore after the change to buffer.C
2077
2078         * paragraph_funcs.C:
2079         * text.C:
2080         * text2.C:
2081         * BufferView.[Ch]:
2082         * BufferView_pimpl.[Ch]:
2083         * cursor.[Ch]:
2084         * cursor_slice.[Ch]: adjust
2085
2086         * text3.C: fix bug in mathDispatch
2087
2088 2004-03-08  André Pönitz  <poenitz@gmx.net>
2089
2090         * undo.[Ch]: use 'StableDocumentIterator' as base for
2091         the Undo struct.
2092
2093 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2094
2095         * LaTeXFeatures.C:
2096         * bufferparams.[Ch]: add jurabib support and param.
2097
2098         * LaTeX.C: add FIXME/comment.
2099
2100 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2101
2102         * buffer.C: increment file format to 230.
2103
2104 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2105
2106         * cursor.C (dispatch): avoid infinite loops
2107
2108 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * rowpainter.C (paintSelection): fix x coordinates
2111
2112 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2113
2114         * text.C (rowBreakPoint): fix breaking before displayed insets
2115
2116 2004-03-01  André Pönitz  <poenitz@gmx.net>
2117
2118         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2119
2120         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2121
2122         * Makefile.am:
2123         * BufferView.C:
2124         * BufferView_pimpl.C:
2125         * buffer.C:
2126         * lyxfind.C:
2127         * lyxfunc.C:
2128         * text.C:
2129         * text2.C:
2130         * text3.C: adjust
2131
2132 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2133
2134         * lyxtext.h:
2135         * text.C:
2136         * text2.C:
2137         * rowpainter.C:
2138         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2139         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2140
2141 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * Bidi.[Ch] (computeTables): const correctness
2144         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2145         fill_hfill, fill_label_hfill and x from Row
2146         * lyxtext.h: prepareToPrint returns a RowMetrics
2147         * rowPainter.C: adjust
2148         * text.C (prepareToPrint): use width, not textWidth. adjust
2149         (redoParagraphInternal, cursorX): adjust
2150         * text2.C (getColumnNearX): adjust
2151         (init): put a default value to the top LyXText::width
2152
2153 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2154
2155         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2156
2157 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * lyxtext.h: add FontIterator class
2160
2161         * text.C (FontIterator, operator*, operator->, operator++): add
2162         (rowBreakPoint, setRowWidth): adjust (fixing a
2163         rebreaking bug)
2164
2165 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * BufferView_pimpl.C (workAreaDispatch): allow also
2168         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2169
2170 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2171
2172         * text.C (rowBreakPoint): fix a bug showing with very large insets
2173
2174 2004-02-25  André Pönitz  <poenitz@gmx.net>
2175
2176         * text3.C:
2177         * cursor.[Ch]: move some mathed specific code to mathed
2178
2179 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2180
2181         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2182         use_tempdir in preferences
2183         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2184         tempfile creation
2185         * lyx_main.C: ensure that tempdir is valid
2186         * lyxlex.h: correct typo
2187         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2188         * paragraph.[Ch] (isMultiLingual): make const
2189         * cursor.[Ch] (openable): make const
2190
2191 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2192
2193         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2194
2195 2004-02-20  André Pönitz  <poenitz@gmx.net>
2196
2197         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2198
2199         * cursor.[Ch]: prepare for localized getStatus()
2200
2201         * lyxtext.h:
2202         * tabular.C:
2203         * text.C:
2204         * text2.C:
2205         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2206
2207 2004-02-20  André Pönitz  <poenitz@gmx.net>
2208
2209         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2210
2211 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2212
2213         * text2.C (setCursorFromCoordinates): switch to absolute coords
2214         (cursorUp): adjust
2215         (cursorDown): adjust
2216         * text3.C (dispatch): adjust
2217
2218 2004-02-16  André Pönitz  <poenitz@gmx.net>
2219
2220         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2221           insets/ChangeLog)
2222
2223         * cursor_slice.[Ch]: remove unneeded acessor function
2224
2225         * lyxtext.h: rename rtl() to isRTL()
2226
2227         * rowpainter.C:
2228         * tabular.C:
2229         * text.C:
2230         * text2.C:
2231         * text3.C: adjust
2232
2233 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2234
2235         * rowpainter.C (paintSelection): coord fix
2236
2237 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2238
2239         * Spacing.C: compile fix
2240
2241 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * cursor.C (dispatch): restore current_ before returning
2244
2245 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2246
2247         * text2.C (cursorUp, cursorDown): fix coords
2248         (moveUp): fix crash
2249
2250 2004-02-12  André Pönitz  <poenitz@gmx.net>
2251
2252         * lyxtext.h:
2253         * text.C:
2254         * text2.C:
2255         * text3.C: add LCursor & parameter to most cursor movement functions
2256           remove usage of LyXText::cursorRow() and cursorPar()
2257
2258         * cursor.[Ch]: add textRow() needed members
2259
2260         * BufferView.C:
2261         * BufferView_pimpl.C:
2262         * paragraph.[Ch]:
2263         * BufferView.C:
2264         * BufferView_pimpl.C: adjust
2265
2266 2004-02-11  André Pönitz  <poenitz@gmx.net>
2267
2268         * lyxfunc.C:
2269         * BufferView.[Ch]:
2270         * BufferView_pimpl.C: shift undo/redo handling
2271
2272         * cursor.[Ch]: fix mathed crash
2273
2274         * lyxfind.C:
2275         * lyxtext.h: move selectionAsText to LCursor
2276
2277         * output_latex.C:
2278         * paragraph.C:
2279         * text.C:
2280         * text2.C:
2281         * text3.C: adjust
2282
2283         * rowpainter.C: fix excessive drawing
2284
2285 2004-02-06  André Pönitz  <poenitz@gmx.net>
2286
2287         * BufferView.[Ch]:
2288         * BufferView_pimpl.[Ch]:
2289         * text3.C: move some text specific LFUN handling
2290
2291 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2292
2293         * text3.C (checkInsetHit): adjust coords
2294         * text2.C (getColumnNearX): adjust coords
2295         (edit): adjust coords
2296         * text.C (getRowNearY): add two asserts
2297
2298 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2299
2300         * converter.C:
2301         * format.C: add using std::distance to compile on gcc 2.95/stlport
2302
2303 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2304
2305         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2306
2307 2004-02-04  André Pönitz  <poenitz@gmx.net>
2308
2309         * BufferView.[Ch] (insertInset):
2310         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2311
2312         * text2.C:
2313         * text3.C: adjust
2314
2315 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2316
2317         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2318         on the default clause of the switch
2319         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2320         wasn't catched by LCursor::dispatch
2321
2322 2004-02-03  André Pönitz  <poenitz@gmx.net>
2323
2324         * BufferView.C:
2325         * cursor.[Ch]: some additional asserts
2326
2327         * undo.[Ch]: remove LyXText dependency in interface
2328
2329         * lyxfunc.C: adjust
2330
2331         * lyxtext.h (firstPar, lastPar): remove dead functions
2332
2333         * text.C:
2334         * text2.C:
2335         * text3.C:
2336         * paragraph.[Ch]: adjust
2337
2338 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * lyxfind.C (find): fix argument order in call to ::find
2341
2342 2004-02-02  André Pönitz  <poenitz@gmx.net>
2343
2344         * cursor.[Ch]: remove direct access to anchor
2345
2346         * text.C: remove findText() hack
2347
2348 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2349
2350         * iterators.[Ch] (lockPath): remove in favour of...
2351         * BufferView.[Ch] (setCursor): this addition
2352         * BufferView.C (putSelectionAt): adjust
2353         * undo.C (performUndoOrRedo): adjust
2354         * lyxfunc.C (dispatch): adjust
2355
2356 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2357
2358         * iterators.C (lockPath): add a missing slice
2359         * undo.C (performUndoOrRedo): remove redundant positioning code
2360
2361 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2362
2363         * vc-backend.C (scanMaster): ";" -> ';'
2364
2365 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2366
2367         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2368         std::binary_function
2369
2370         * lyxtextclass.C (compare_name): rename to...
2371         (LayoutNamesEqual): ...this
2372
2373         * lyxlex_pimpl.C (compare_tags): inherit from
2374         std::binary_function, put back into anon namespace
2375
2376         * lyxfind.C (MatchString): inherig from std::binary_function
2377         (findChange): use empty() istead of !size()
2378
2379         * format.C (FormatNamesEqual): new functor
2380         (getFormat): use it
2381         (getNumber): use it
2382         (add): use it
2383         (erase): use it
2384         (setViewer): use it
2385
2386         * converter.C (compare_Converter): rename to...
2387         (ConverterEqual): ...this, and fixup a bit.
2388         (getConverter): use it, and make function const
2389         (getNumber): use it, and make function const
2390         (add): use it
2391         (erase): use it:
2392
2393         * bufferlist.C: add using boost::bind
2394
2395         * MenuBackend.C (MenuNamesEqual): new functor
2396         (hasMenu): use it, and make function const
2397         (hasSubmenu): use nested bind to get rid of compare_memfun.
2398
2399 2004-01-30  André Pönitz  <poenitz@gmx.net>
2400
2401         * BufferView_pimpl.C:
2402         * cursor.C:
2403         * cursor.h:
2404         * cursor_slice.[Ch]:
2405         * lyxfunc.C:
2406         * lyxtext.h:
2407         * paragraph_funcs.C:
2408         * paragraph_funcs.h:
2409         * rowpainter.C:
2410         * text.C:
2411         * text2.C:
2412         * text3.C: move some of the edit(x,y) handling to the insets
2413         some coordinate changes.
2414
2415 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2416
2417         * text.C: add using statements for std::advance and std::distance
2418
2419         * paragraph.C: add using statement for std::distance
2420
2421         * lyxfind.C: add using statement for std::advance
2422
2423         * cursor.C (region): remove std:: from swap
2424         (openable): use nucleus in stead of operator->
2425
2426         * BufferView.C: add using statements for std::distance and std::swap
2427
2428 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2429
2430         * iterators.C: Remove the pimple, move the needed structures to
2431         the header file. Create accessor for the positions stack.
2432         (asPosIterator): remove function
2433
2434         * PosIterator.C (PosIterator): move constructors to top of file
2435         (PosIterator): reimplement the constructor taking a ParIterator in
2436         terms of setFrom.
2437         (setFrom): new function
2438         (operator!=): inline it
2439
2440 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2441
2442         * lyxfind.C (replaceAll): use std::advance
2443
2444         * iterators.h: inherit from std::iterator.
2445
2446         * PosIterator.C (advance, distance): remove
2447         * PosIterator.h: interit from std::iterator.
2448
2449 2004-01-26  André Pönitz  <poenitz@gmx.net>
2450
2451         * BufferView.[Ch]:
2452         * BufferView_pimpl.[Ch]:
2453         * InsetList.[Ch]:
2454         * PosIterator.[Ch]:
2455         * buffer.h:
2456         * bufferview_funcs.C:
2457         * cursor.[Ch]:
2458         * cursor_slice.h:
2459         * factory.[Ch]:
2460         * iterators.[Ch]:
2461         * lyxfind.C:
2462         * lyxfunc.C:
2463         * lyxtext.h:
2464         * output_docbook.C:
2465         * output_latex.C:
2466         * output_linuxdoc.C:
2467         * output_plaintext.C:
2468         * paragraph.[Ch]:
2469         * paragraph_funcs.[Ch]:
2470         * paragraph_pimpl.[Ch]:
2471         * rowpainter.C:
2472         * tabular.C:
2473         * tabular.h:
2474         * text.C:
2475         * text2.C:
2476         * text3.C: more IU:  dumps most of the rest of the mathcursor
2477     implementation into cursor.[Ch]; "globalize" a bit of it.
2478
2479 2004-01-25  Angus Leeming  <leeming@lyx.org>
2480
2481         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2482
2483 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2484
2485         * LaTeXFeatures.h: add nice_ and nice() const
2486         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2487
2488 2004-01-20  André Pönitz  <poenitz@gmx.net>
2489
2490         * BufferView.[Ch]:
2491         * BufferView_pimpl.C:
2492         * PosIterator.C:
2493         * bufferview_funcs.C:
2494         * cursor.[Ch]:
2495         * cursor_slice.[Ch]:
2496         * factory.C:
2497         * iterators.C:
2498         * lyx_cb.C:
2499         * lyxfind.C:
2500         * lyxfunc.C:
2501         * lyxtext.h:
2502         * rowpainter.C:
2503         * text.C:
2504         * text2.C:
2505         * text3.C:
2506         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2507           LCursor and mathcursor parts to LCursor and InsetBase.
2508
2509 2004-01-15  André Pönitz  <poenitz@gmx.net>
2510
2511         * cursor_slice.[Ch]: add a few covienience functions
2512
2513         * funcrequest.[Ch]: remove BufferView * member
2514
2515         * BufferView_pimpl.C:
2516         * cursor.C:
2517         * factory.[Ch]:
2518         * lyxfind.[Ch]:
2519         * lyxfunc.C:
2520         * lyxtext.h:
2521         * text3.C:
2522         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2523
2524 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2525
2526         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2527         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2528
2529 2004-01-13  André Pönitz  <poenitz@gmx.net>
2530
2531         * textcursor.[Ch]:
2532         * lyxtext.h: hide cursor and selection anchor behind accessor function
2533
2534         * BufferView.C:
2535         * BufferView_pimpl.[Ch]:
2536         * PosIterator.C:
2537         * bufferview_funcs.C:
2538         * cursor.h:
2539         * lyxfind.C:
2540         * lyxfunc.C:
2541         * text.C:
2542         * text2.C:
2543         * text3.C:
2544         * undo.C: adjust
2545
2546         * cursor.h:
2547         * cursor_slice.[Ch]: some integer type changes for inset unification
2548
2549         * lyxcursor.[hC]: remove, it's CursorSlice now.
2550
2551         * Makefile.am:
2552         * BufferView_pimpl.[Ch]:
2553         * bufferview_funcs.C:
2554         * cursor_slice.C:
2555         * lyxtext.h:
2556         * text.C:
2557         * text2.C:
2558         * text3.C:
2559         * textcursor.[Ch]: adjust
2560
2561 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2562
2563         * text2.C (undoSpan): add and use
2564         * text.C (breakParagraph): use undoSpan (fix bug 578)
2565         * lyxtext.h: adjust
2566
2567 2004-01-08  Angus Leeming  <leeming@lyx.org>
2568
2569         * BufferView_pimpl.C (MenuInsertLyXFile):
2570         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2571         * lyxfunc.C (menuNew, open, doImport):
2572         FileFilterList change to the FileDialog open and save functions.
2573
2574 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2575
2576         * ShareContainer.h: make isEqual and isUnique adaptable
2577
2578         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2579
2580 2004-01-07  Angus Leeming  <leeming@lyx.org>
2581
2582         * LyXAction.C:
2583         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2584
2585         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2586
2587         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2588         functions replacing find, replace and replaceAll.
2589
2590         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2591         LFUN_WORDFIND(FORWARD|BACKWARD).
2592
2593 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * text.C (breakParagraph): remove an outdated #warning
2596
2597 2004-01-07  André Pönitz  <poenitz@gmx.net>
2598
2599         * lyxfind.C: somewhat clearer logic
2600
2601         * text.C: prevent crash in cursorX on unitialized row cache
2602
2603 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * lyxcursor.[Ch] (operator>): add
2606         * textcursor.C (selStart, selEnd): use std::min and std::max
2607
2608 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2609
2610         * Chktex.C: include boost/format.hpp
2611
2612 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2613
2614         * InsetList.C: replace functor MathcIt with adaptable functor
2615         InsetTablePosLess
2616         (insetIterator): modify accordingly
2617
2618         * BranchList.h: move the BranchNamesEqual functor here from...
2619         * BranchList.C: ... to here
2620
2621         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2622         SameName and match.
2623         (add): replace a finding loop with std::find_if.
2624
2625 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2626
2627         * output_docbook.C: moving LatexParam functionality into
2628         .layout files
2629
2630 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2631
2632         * buffer.C: increment format to 229.
2633
2634 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2635
2636         * LaTeXFeatures.C:
2637         * lyx_sty.[Ch]: remove minipageindent_def
2638
2639         * LyXAction.C:
2640         * factory.C:
2641         * lfuns.h:
2642         * lyxfunc.C:
2643         * text3.C: remove LFUN_INSET_MINIPAGE
2644
2645 2003-12-28  Angus Leeming  <leeming@lyx.org>
2646
2647         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2648
2649 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * text2.C (setParagraph): fix off-by-one crash
2652
2653 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2654
2655         * output_docbook.C: header stuff for AGU
2656
2657 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2658
2659         * text2.C (redoCursor): remove
2660         * text.C:
2661         * text3.C:
2662         * BufferView_pimpl.C: remove calls to redoCursor and
2663         setCursor(cursor.par(), cursor.pos()) all around
2664
2665 2003-12-15  Angus Leeming  <leeming@lyx.org>
2666
2667         * buffer.C: up the format to 228.
2668
2669 2003-12-15  André Pönitz  <poenitz@gmx.net>
2670
2671         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2672         slices
2673
2674         * Makefile.am:
2675
2676         * BufferView_pimpl.C:
2677         * cursor.[Ch]:
2678         * lyxcursor.[Ch]:
2679         * rowpainter.[Ch]:
2680         * lyxtext.h:
2681         * text.C:
2682         * text2.C:
2683         * text3.C: adjust
2684
2685 2003-12-15  Angus Leeming  <leeming@lyx.org>
2686
2687         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2688         than getFromGUIName to manipulate the color.
2689
2690 2003-12-14  Angus Leeming  <leeming@lyx.org>
2691
2692         * BranchList.[Ch]: minimize the API.
2693         (Branch::getBranch, getColor): now return a 'const &'.
2694         (Branch::setSelected) now returns a bool set to true if the
2695         selection status changes.
2696         (BranchList::clear, size, getColor, setColor, setSelected,
2697         allBranches, allSelected, separator): removed.
2698         (BranchList::find): new functions, returning the Branch with
2699         the given name.
2700         (BranchList::add, remove): return a bool indicating that
2701         the operation was successful.
2702
2703         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2704         new InsetBranch::isBranchSlected member function.
2705
2706         * LColor.[Ch]: mimimize the API.
2707         (fill): renamed as addColor and made private.
2708         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2709         versions of these functions taking a string arg have been removed.
2710
2711         * bufferparams.C (readToken):
2712         * lyxfunc.C (dispatch):
2713         * lyxrc.C (read): changes due to the altered BranchList and
2714         LColor APIs.
2715
2716         * factory.C (createInset, readInset): changes due to altered
2717         InsetBranch c-tor.
2718
2719 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2720
2721         * factory.C:
2722         * lyxfunc.C: remove insetminipage. "minipage-insert"
2723         now produces a frameless minipage box inset.
2724
2725 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * textcursor.[Ch] (selStart,selEnd): add new methods
2728         remove selection::start, end, use LyXCursor::operator<
2729         * lyxcursor.[Ch] (operator<): add
2730         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2731         * BufferView.[Ch] (unsetXSel): add
2732         * text2.C (clearSelection): use unsetXSel,adjust
2733         * text.C: adjust
2734         * text3.C: adjust
2735         * rowpainter.C: adjust
2736         * bufferview_funcs.C (put_selection_at): adjust
2737
2738 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2739
2740         * BufferView_pimpl.C: small coord. correction
2741
2742 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2743
2744         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2745         dragging over the splash screen.
2746
2747 2003-12-11  Angus Leeming  <leeming@lyx.org>
2748
2749         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2750         as it is now handled in LyXText::dispatch.
2751
2752         * text3.C (doInsertInset): remove a level of nesting.
2753
2754 2003-12-11  Angus Leeming  <leeming@lyx.org>
2755
2756         * factory.C (createInset): changes due to the changed interface to
2757         InsetCommandMailer::string2params.
2758
2759 2003-12-10  Angus Leeming  <leeming@lyx.org>
2760
2761         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2762         'dialog-show-new-inset <inset name>'
2763
2764 2003-12-10  Angus Leeming  <leeming@lyx.org>
2765
2766         * buffer.C: up the format to 227.
2767
2768         * factory.C: the box inset is now identified simply by 'Box'.
2769
2770 2003-12-10  Angus Leeming  <leeming@lyx.org>
2771
2772         * buffer.C: up the format to 226.
2773
2774         * factory.C: the note inset is now identified simply by 'Note'.
2775
2776 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2777
2778         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2779         when a pit is enough. Standarize a couple of loops.
2780
2781 2003-12-05  Angus Leeming  <leeming@lyx.org>
2782
2783         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2784         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2785         data to the re-worked "log" dialog.
2786
2787 2003-12-03  André Pönitz  <poenitz@gmx.net>
2788
2789         * PosIterator.C:
2790         * iterators.C:
2791         * lyxtext.h:
2792         * output_latex.C:
2793         * paragraph_funcs.C:
2794         * text.C:
2795         * text2.C: use Inset::getText instead of Inset::getParagraph
2796
2797 2003-12-03  André Pönitz  <poenitz@gmx.net>
2798
2799         * buffer.[Ch]:
2800         * lyxtext.h:
2801         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2802         InsetText::read() as LyXText::read()
2803
2804 2003-12-02  Angus Leeming  <leeming@lyx.org>
2805
2806         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2807         type. Add a comment in the implementation that the function uses
2808         the stream's bad() function rather than fail() as the std::streams
2809         would do.
2810
2811 2003-12-02  André Pönitz  <poenitz@gmx.net>
2812
2813         * lyxlex.[Ch]: make interface more similar to std::stream
2814
2815         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2816
2817 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2818
2819         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2820
2821 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2822
2823         * vspace.[Ch]: remove VSpace::NONE
2824
2825 2003-12-01  André Pönitz  <poenitz@gmx.net>
2826
2827         * buffer.[Ch]:
2828         * lyxtext.h: move ParagraphList member to LyXText
2829         rename LyXText::ownerParagraphs to LyXText::paragraph
2830
2831         * CutAndPaste.C:
2832         * bufferview_funcs.C:
2833         * iterators.[Ch]:
2834         * lyx_cb.C:
2835         * paragraph.C:
2836         * rowpainter.C:
2837         * tabular.C:
2838         * text.C:
2839         * text2.C:
2840         * text3.C: adjust
2841
2842         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2843
2844         * undo.C: fix cursor positioning
2845
2846 2003-12-01  John Levon  <levon@movementarian.org>
2847
2848         * BufferView_pimpl.C: fix a crash on exit with
2849         a buffer open
2850
2851 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2852
2853         * BranchList.C: fix setSelected() method.
2854
2855 2003-11-28  André Pönitz  <poenitz@gmx.net>
2856
2857         * ParagraphParameters.[Ch]:
2858         * ParameterStruct.h: remove space above/below from Paragraph to
2859          InsetVSpace
2860
2861         * BufferView_pimpl.C:
2862         * factory.C:
2863         * lyxfunc.C:
2864         * lyxtext.h:
2865         * output_latex.C:
2866         * paragraph.C:
2867         * paragraph_funcs.C:
2868         * rowpainter.[Ch]:
2869         * text.C:
2870         * text2.C:
2871         * text3.C: adjust
2872
2873 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2874
2875         * factory.C: Syntax change for CharStyles
2876
2877 2003-11-28  André Pönitz  <poenitz@gmx.net>
2878
2879         * BufferView.[Ch]:
2880         * BufferView.[Ch]:
2881         * buffer.[Ch]:
2882         * buffer.[Ch]: move LyXText member
2883
2884 2003-11-28  André Pönitz  <poenitz@gmx.net>
2885
2886         * BufferView.[Ch]: make LyXText * text a private member
2887
2888         * BufferView_pimpl.C:
2889         * cursor.C:
2890         * iterators.C:
2891         * lyx_cb.C:
2892         * lyxfind.C:
2893         * lyxtext.h:
2894         * rowpainter.[Ch]:
2895         * text.C:
2896         * text2.C:
2897         * undo.C: adjust
2898
2899         * output_plaintext.C: cleanup
2900
2901 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2902
2903         * buffer.C:
2904         * lyxtextclass.[Ch]: parametrize SGML document header
2905
2906 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2907
2908         * converter.[Ch]:
2909         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2910         getFlavor().
2911
2912 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2913
2914         * text2.C (setFont): rework using PosIterator (no more recursive)
2915         (setCharFont): no more needed
2916         (setLayout): no more selection cursors fiddling (done by redoCursor)
2917         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2918         destroy remaining ones)
2919
2920 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2921
2922         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2923         * lyxtext.h: ditto
2924         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2925         selection cursors
2926         * lyxfunc.C: adjust
2927         * text3.C: adjust + re-allow multi par depth changes
2928         * textcursor.C: simplify a bit
2929
2930 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2931
2932         * src/buffer.C:
2933         * src/lyxlayout.C:
2934         * src/lyxlayout.h:
2935         * src/lyxtext.h:
2936         * src/output_docbook.C:
2937         * src/output_latex.C:
2938         * src/paragraph.C:
2939         * src/paragraph.h:
2940         * src/sgml.C:
2941         * src/sgml.h:
2942         * src/text2.C: Introducing a number of tags parametrizing various
2943         XML formats that we may want to support
2944
2945 2003-11-25  André Pönitz  <poenitz@gmx.net>
2946
2947         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2948
2949         * lyxtext.h (leftMargin/rightMargin): simplify interface
2950
2951         * rowpainter.C:
2952         * text.C:
2953         * text2.C:
2954         * text3.C: adjust
2955
2956 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2957
2958         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2959         master file to any child files. Fixes bug 546.
2960
2961 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2962
2963         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2964
2965 2003-11-24  André Pönitz  <poenitz@gmx.net>
2966
2967         * rowpainter.C: simplification
2968
2969         * text2.C (updateCounters): remove call to redoParagraph on
2970         changed labels as this is far too expensive.
2971
2972 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2973
2974         * converter.C (convert): fix a crash: this function gets
2975         called with buffer == 0 from importer code.
2976
2977 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2978
2979         * text3.C (cursorPrevious): make sure that we do not compare
2980         iterators form different containers.
2981         (cursorNext): ditto
2982
2983         * rowpainter.C (paintSelection): make sure that we do not compare
2984         iterators from different containers.
2985
2986         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2987         iterators from different ParagraphList containers.
2988         [NEXT] ditto
2989
2990         * text2.C (LyXText): change order of initialization slightly
2991         (operator=): new function. copy all variables except cache_par_
2992         (moveUp): make sure that we do not compare iterators from
2993         different ParagraphList constainers.
2994         (moveDown): ditto
2995
2996         * text.C (firstPar): new function
2997         (lastPar): new function
2998         (endPar): new function
2999
3000         * lyxtext.h: move things around and group public functions, public
3001         variables, private functions, private variables
3002
3003 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3004
3005         * factory.C: change call to InsetERT constructor to avoid
3006         additional invocation of method status
3007         * text2.C (toggleInset): remove redundant update() call
3008         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3009         instead of a Bufferview pointer
3010
3011 2003-11-21  André Pönitz  <poenitz@gmx.net>
3012
3013         * rowpainter.C: simplification
3014
3015 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * text3.C (dispatch): make possible to extend a word/row selection
3018         with the mouse
3019
3020 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3021
3022         * lyxtext.h: x0_,y0_ -> xo_,yo_
3023         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3024         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3025         * rowpainter.C (paintRows): paint full paragraphs
3026
3027 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3028
3029         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3030         screen coordinates)
3031
3032 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * lyxtext.h: add x0_, y0_
3035         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3036         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3037
3038 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3039
3040         * text2.C (setCursorIntern): move the x_target update here *
3041         * text3.C: change some bv() to true/false in calls to
3042         cursorUp/Down/Right/Left
3043         * cursor.C: use helper function.
3044
3045 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3046
3047         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3048         * paragraph_funcs.[Ch]: correct comment
3049         * rowpainter.C: do not paint selections away from bv->cursor()
3050         Fix a long standing selection painting bug.
3051         * text3.C: generalize mouse-selection code to LyXTexts other that
3052         top one
3053         * textcursor.C: do not use y coords if we can use par offsets
3054
3055 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3056
3057         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3058         cursor position after e.g. inset insert)
3059
3060 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3061
3062         * lyxfind.C (replace): adjust to locking removal + some
3063         code simplification
3064
3065 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3066
3067         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3068         of the path
3069
3070 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3071
3072         * lyxlayout.[Ch]:
3073         * output_docbook.C: XML sanitation: new layout
3074         parameters InnerTag and CommandDepth
3075
3076 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3077
3078         * BufferView_pimpl.C:
3079         * factory.C:
3080         * text3.C: Fix the insertion and modification of button-style
3081         insets
3082
3083 2003-11-13  André Pönitz  <poenitz@gmx.net>
3084
3085         * InsetList.[Ch]: remove deleteLyXText
3086
3087         * paragraph.[Ch]: cache beginOfBody position
3088
3089         * Bidi.C:
3090         * text.C:
3091         * text2.C:
3092         * text3.C: remove superfluous update() calls
3093
3094         * vspace.C: cleanup
3095
3096 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3097
3098         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3099         * BufferView.C (fitLockedInsetCursor): remove
3100         * cursor.[Ch] (getDim): add
3101         * text.C (getRowNearY): add faster version
3102         * text3.C: remove some update calls
3103
3104 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3105
3106         * LaTeXFeatures.C:
3107         * LyXAction.C:
3108         * MenuBackend.C:
3109         * MenuBackend.h:
3110         * dispatchresult.h:
3111         * factory.C:
3112         * lfuns.h:
3113         * lyxfunc.C:
3114         * lyxtextclass.C:
3115         * lyxtextclass.h:
3116         * text3.C: The Character Style /XML short element patch.
3117
3118 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3119
3120         * text3.C:
3121         * factory.C: Small step to solving 'unable to insert some insets'
3122         problem
3123
3124 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3125
3126         * cursor.[Ch] (updatePos): new function for updating the y
3127         position of the tip inset
3128         * bufferview_funcs.C (put_selection_at):
3129         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3130
3131 2003-11-11  André Pönitz  <poenitz@gmx.net>
3132
3133         * text.C: remove big comment on invalid Paragraph pointers as it is
3134         not valid anymore
3135
3136 2003-11-11  André Pönitz  <poenitz@gmx.net>
3137
3138         * text_funcs.[Ch]: merge with ...
3139
3140         * text.C: ... this
3141
3142         * lyxtext.h:
3143         * text2.C:
3144         * text3.C: adjust
3145
3146         * Makefile.am: remove text_funcs.[Ch]
3147
3148 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3149
3150         * cursor.C (getPos): return absolute cached y coord
3151
3152         * BufferView_pimpl.C (fitCursor): new simplistic code
3153         (workAreaDispatch): add a fitCursor call
3154
3155 2003-11-10  André Pönitz  <poenitz@gmx.net>
3156
3157         * BufferView.[Ch]:
3158         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3159
3160 2003-11-10  André Pönitz  <poenitz@gmx.net>
3161
3162         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3163         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3164         indicate that the cursor needs to leave an inset
3165
3166         * lyxtext.h: remove inset locking
3167
3168         * cursor.[Ch]: re-implement functionality provided by inset locking
3169
3170         * BufferView.[Ch]:
3171         * BufferView_pimpl.[Ch]:
3172         * LyXAction.C:
3173         * bufferview_funcs.[Ch]:
3174         * factory.C:
3175         * funcrequest.[Ch]:
3176         * iterators.C:
3177         * lyx_cb.C:
3178         * lyxfind.C:
3179         * lyxfunc.C:
3180         * text.C:
3181         * text2.C:
3182         * text3.C:
3183         * undo.C: adjust
3184
3185 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * PosIterator.[Ch]: replace the stack with a vector, add inset
3188         accesor
3189         * iterators.[C]: adjust
3190
3191 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3192
3193         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3194         replaced
3195         * paragraph_funcs.C (readParToken): put the correct id in the
3196         error item, not the id of the top paragraph
3197
3198 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3199
3200         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3201         * bufferview_funcs.C (put_selection_at): use the above
3202
3203 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3204
3205         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3206
3207 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3208
3209         * output_linuxdoc.h:
3210         * output_plaintext.h:
3211         * output.h:
3212         * output_docbook.h: add #include statements
3213
3214 2003-11-05  José Matos  <jamatos@lyx.org>
3215
3216         * output_docbook.[Ch]:
3217         * output_latex.[Ch]:
3218         * output_linuxdoc.[Ch]:
3219         * output_plaintext.[Ch]: New files for output formats.
3220         * output.[Ch]: New file for helper functions.
3221
3222         * buffer.[Ch]:
3223         * paragraph_funcs.[Ch]: output functions moved to new files.
3224
3225         * outputparams.h: rename of latexrunparams.h
3226
3227         * LaTeX.[Ch]:
3228         * buffer.[Ch]:
3229         * bufferlist.[Ch]:
3230         * converter.[Ch]:
3231         * exporter.C:
3232         * paragraph.[Ch]:
3233         * paragraph_funcs.[Ch]:
3234         * paragraph_pimpl.[Ch]:
3235         * tabular.[Ch]: rename ascii to plaintext
3236         and LatexRunParams to OutputParams.
3237
3238 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3239
3240         * iterators.[Ch] (text): require bv argument
3241         * undo.C (recordUndo):
3242         * lyxfunc.C (dispatch):
3243         * bufferview_funcs.C (put_selection_at): adjust
3244
3245 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3246
3247         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3248
3249 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3250
3251         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3252         nestings
3253
3254 2003-11-04  André Pönitz  <poenitz@gmx.net>
3255
3256         * cursor.[Ch]: restructure
3257
3258         * BufferView.[Ch]:
3259         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3260
3261         * iterators.[Ch] (asCursor): remove
3262
3263         * lfuns.h: remove LFUN_INSET_EDIT
3264
3265         * lyxfunc.C:
3266         * tabular.C:
3267         * text.C:
3268         * text2.C:
3269         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3270
3271 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3272
3273         * lyxfind.[Ch]: complete overhaul
3274         * BufferView_pimpl.C:
3275         * lyxfunc.C: adjust
3276         * paragraph.[Ch] (insert): add
3277
3278 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3279
3280         * BufferView.[Ch]:
3281         * lyxtext.h:
3282         * text.C: remove dead spellcheck code
3283
3284 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * dispatchresult.h: add a val setter
3287
3288         * cursor.C (dispatch): use a tempvar for data_[i]
3289
3290 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3291
3292         * PosIterator.[Ch]: compile fix
3293
3294 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3295
3296         * text.C (cursorPar): deactivate the cursor cache
3297
3298 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3299
3300         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3301
3302 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * text3.C (dispatch): adjust for new DisptchResult semantics.
3305
3306         * lyxfunc.C (dispatch): handle update when return from
3307         Cursor::dispatch, adjust for new DispatchResult semantics.
3308
3309         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3310         DispatchResult(true) mean to not update. Add class functions for
3311         setting dispatched and update, as well as reading.
3312
3313         * cursor.C (dispatch): don't handle update here
3314
3315 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3318         * trans_mgr.C: adjust
3319
3320         * paragraph_funcs.C (readParToken): exception safety
3321
3322         * lyxvc.h: store the vcs pointer in a scoped_ptr
3323         * lyxvc.C: adjust
3324
3325         * lyxsocket.C (serverCallback): exception safety
3326
3327         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3328
3329         * ispell.C (clone): make it return a auto_ptr
3330
3331         * factory.C (createInset): exception safety
3332         (readInset): exception safety
3333
3334         * bufferlist.C (newBuffer): exception safety
3335
3336         * Thesaurus.C (Thesaurus): use initialization for aik_
3337
3338         * MenuBackend.C (expandToc): exception safety.
3339
3340 2003-11-03  André Pönitz  <poenitz@gmx.net>
3341
3342         * buffer.C:
3343         * buffer.h:
3344         * bufferview_funcs.C: remove getInsetFromId()
3345
3346         * lyxcursor.[Ch]:
3347         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3348
3349         * lyxfunc.C:
3350         * text2.C:
3351         * text3.C: adjust
3352
3353 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3354
3355         * PosIterator.C (distance, advance): new
3356         * bufferview_funcs.[Ch] (put_selection_at): new
3357         * iterators.[Ch] (lockPath): new
3358
3359 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3360
3361         * iterators.[Ch] (asPosIterator): added
3362         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3363         * PosIterator.[Ch]: added
3364
3365 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * text3.C:
3368         * lyxfunc.C:
3369         * cursor.C (dispatch):
3370         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3371
3372         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3373         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3374         contructor, add a class function dispatched. Remove operator>=
3375
3376 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3377
3378         * debug.C: only use the default constructor for debugstream
3379         (lyxerr) here.
3380
3381         * main.C (main): include debug.h and setup the lyxerr streambuf
3382         here.
3383
3384 2003-10-31  José Matos  <jamatos@lyx.org>
3385
3386         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3387
3388         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3389         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3390         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3391         * paragraph_pimpl.C (simpleTeXSpecialC):
3392         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3393         add LatexRunParams argument.
3394
3395         * exporter.C (Export): change call accordingly.
3396
3397         * latexrunparams.h: add new member to take care of the other backends.
3398 2003-10-30  José Matos  <jamatos@lyx.org>
3399
3400         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3401         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3402         factorise code for paragraph output.
3403         * buffer.[Ch]:
3404         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3405         move functions.
3406
3407 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * text3.C (dispatch):
3410         * lyxfunc.C (dispatch):
3411         * cursor.C (dispatch):
3412         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3413
3414         * dispatchresult.h: make the dispatch_result_t ctor explicit
3415
3416 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3417
3418         * sgml.[Ch]:
3419         * buffer.C: small refactoring of docbook stuff
3420
3421 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3422
3423         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3424         meaning.
3425
3426 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3427
3428         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3429         operator dispatch_result_t, and operators for == != and >=
3430
3431         * cursor.C (dispatch): adjust for operator dispatch_result_t
3432         removal. comment out call to update
3433
3434         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3435
3436 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3437
3438         * text3.C:
3439         * text2.C:
3440         * text.C:
3441         * lyxtext.h:
3442         * lyxfunc.C:
3443         * cursor.C:
3444         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3445         (dispatch):
3446
3447         * dispatchresult.h: new file, DispatchResult broken out of
3448         insets/insetbase.h
3449
3450         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3451
3452 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3453
3454         * text.C (rowBreakPoint): put a hack inside #if 0
3455
3456 2003-10-28  André Pönitz  <poenitz@gmx.net>
3457
3458         * lyxtext.h:
3459         * metricsinfo.C:
3460         * paragraph_funcs.C:
3461         * rowpainter.C:
3462         * text.C:
3463         * text2.C: general cleanup (lots of small stuff)
3464
3465 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3466
3467         * text2.C (cursorEnd): simple fix to the "end key goes to one
3468         before the end on last row" bug
3469
3470 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3471
3472         * text.C (backspace): fix the "zombie characters"
3473
3474 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3475
3476         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3477
3478 2003-10-27  André Pönitz  <poenitz@gmx.net>
3479
3480         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3481
3482         * factory.C: handle new InsetPagebreak, InsetLine
3483
3484         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3485         and move handling into new InsetPagebreak, InsetLine
3486
3487         * BufferView_pimpl.C:
3488         * LyXAction.C:
3489         * ParagraphParameters.C:
3490         * ParameterStruct.h:
3491         * lyxfunc.C:
3492         * lyxtext.h:
3493         * paragraph.C:
3494         * paragraph.h:
3495         * paragraph_funcs.C:
3496         * paragraph_pimpl.C:
3497         * rowpainter.C:
3498         * text.C:
3499         * text2.C:
3500         * text3.C: adjust
3501
3502 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3503
3504         * text.C:
3505         * lyxrow_funcs.[Ch]:
3506         * Bidi.C:
3507         * paragraph.C:
3508         * lyxtext.h:
3509         * rowpainter.C:
3510         * text2.C:
3511         * text3.C: remove lastPos uses in favour of Row::endpos
3512
3513 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3514
3515         * undo.C (performUndoOrRedo): fix two crashes by setting a
3516         cursor by hand and reordering some calls. Use bv->lockInset instead
3517         of inset->edit because the latter loses cursor information
3518
3519 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3520
3521         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3522         by Martin
3523         (rowBreakPoint): fix width. change point to point + 1.
3524         Add a missing check.
3525
3526 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3527
3528         * MenuBackend.C:
3529         * lyxfunc.C: fix (at least partly) the problems
3530         with the Nav menu and headers inside branch insets
3531         reported by Kayvan
3532
3533 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3534
3535         * paragraph.C (getChar): add strong asserts
3536
3537         * lyxrow_funcs.C (lastPos): remove hideous hack
3538
3539         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3540         (fill): adjust to that (avoid an infinite loop)
3541
3542 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3543
3544         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3545
3546 2003-10-23  André Pönitz  <poenitz@gmx.net>
3547
3548         * RowList_fwd.h: change list<> to vector<> to gain speed
3549         after suggestion from Alfredo
3550
3551 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3552
3553         * lyxtext.h: move the bidi stuff from here...
3554         * text.C: and here
3555         * text2.C: and here
3556         * Bidi.[Ch]: ... to here
3557
3558 2003-10-23  André Pönitz  <poenitz@gmx.net>
3559
3560         * lyxtext.h:
3561         * text.C (isLastRow, isFirstRow): new functions
3562
3563         * paragraph.h: new width cache member
3564
3565         * rowpainter.C: replace RowList::iterator with Row & where possible
3566
3567         * lyxfunc.C: replace several view()->text with a single call
3568
3569         * toc.C: fix 'unused' warning
3570
3571 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3572
3573         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3574         when woring with stream::pos_type
3575         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3576
3577 2003-10-22  André Pönitz  <poenitz@gmx.net>
3578
3579         * lyxtext.h:
3580         * text.C: use Row & instead of RowList::iterator
3581
3582         * lyxrow.h: rename end() to endpos()
3583
3584         * rowpainter.C:
3585         * text.C:
3586         * text2.C: adjust
3587
3588 2003-10-22  Angus Leeming  <leeming@lyx.org>
3589
3590         * buffer.[Ch] (fully_loaded): new member function, returning true
3591         only when the file has been loaded fully.
3592         Used to prevent the premature generation of previews and by the
3593         citation inset to prevent computation of the natbib-style label.
3594
3595         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3596         templates are all set up.
3597
3598         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3599
3600 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3601
3602         * text.C: fixed an "oops" in the "is a bit silly"
3603         bug fix
3604
3605 2003-10-21  André Pönitz  <poenitz@gmx.net>
3606
3607         * FuncStatus.[Ch]: small stuff, whitespace
3608
3609         * lyxfont.[Ch]: operator<<() for debug reasons
3610
3611         * lyxfunc.C:
3612         * lyxrow_funcs.C:
3613         * lyxtext.h: whitespace, spelling
3614
3615         * paragraph.C: naming of variables
3616
3617         * text.C:
3618         * text2.C: small stuff
3619
3620
3621 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3622
3623         * text.C: (1) finish off the inset display() work;
3624         (2) fix the "is a bit silly" bug (accessing char
3625         past end of par).
3626
3627 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3628
3629         * text.C: re-introduce display() for insets, fixing the
3630         various bugs (stretch of line above, math inset
3631         positioning, ...)
3632
3633 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3634
3635         * text.C (rightMargin): remove spurious semicolon
3636
3637         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3638         1415)
3639
3640 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3641
3642         * text3.C: fix one crash due to wrong cursor def
3643
3644 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3645
3646         * vc-backend.C (scanMaster): make the regex static
3647
3648         * LaTeX.C (scanAuxFile): make the regexs static
3649
3650         * text3.C (doInsertInset, dispatch, dispatch):
3651         * text2.C (cursorUp, cursorDown):
3652         * text.C (selectNextWordToSpellcheck):
3653         * BufferView_pimpl.C (dispatch):
3654         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3655
3656 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3657
3658         * lyxsocket.C: include <cerrno>
3659
3660 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * lyxfunc.C (dispatch): remove textcache stuff
3663
3664         * bufferlist.C (release): remove textcache stuff
3665         (closeAll): ditto
3666
3667         * TextCache.C: delete file
3668         * TextCache.h: delete file
3669
3670         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3671
3672         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3673         delete of the bv_->text.
3674         (resizeCurrentBuffer): remove texcache stuff
3675         (workAreaResize): ditto
3676
3677 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3678
3679         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3680         action.
3681
3682 2003-10-16  André Pönitz  <poenitz@gmx.net>
3683
3684         * lyxrow.[Ch]:
3685         * paragraph.h:
3686         * rowpainter.C:
3687         * text.C:
3688         * text2.C:
3689         * text3.C: speed up by storing y positions per paragraph plus per-row
3690         offset instead of having a 'full' y position in the row.
3691
3692 2003-10-15  André Pönitz  <poenitz@gmx.net>
3693
3694         * iterators.[Ch]:
3695         * iterators.[Ch]:
3696         * undo.[Ch]: make undo aware of inner insets
3697
3698 2003-10-14  Angus Leeming  <leeming@lyx.org>
3699
3700         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3701         static member functions LyX::ref() and LyX::cref.
3702         (lastfiles): new accessor functions for the new lastfiles_ member var.
3703         (addLyXView, views_): add a new LyXView to the list of views_.
3704         (updateInset): loop over all LyXViews to call their own updateInset
3705         member function, returning a pointer to the Buffer owning the inset.
3706
3707         * BufferView_pimpl.C (loadLyXFile):
3708         * MenuBackend.C (expandLastfiles):
3709         * bufferlist.C (MenuWrite, QuitLyX):
3710         lastfiles is no longer a global variable.
3711         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3712
3713         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3714         static function. Access through LyX::cref().emergencyCleanup().
3715
3716 2003-10-14  André Pönitz  <poenitz@gmx.net>
3717
3718         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3719
3720         * undo.[Ch]: restoring part of 'undo in insets'
3721
3722         * Makefile.am:
3723         * undo_funcs.[Ch]: merge with undo.[Ch]
3724
3725         * tabular.C: small cleansing stuff
3726
3727 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3728
3729         * paragraph_funcs.C (readParToken): report unknown insets as error
3730         boxes. Use the outer paragraph as location (also for unknown
3731         tokens).
3732
3733         * factory.C (readInset): do not abort on reading an unknown inset.
3734         Eat it and return 0.
3735
3736 2003-10-13  Angus Leeming  <leeming@lyx.org>
3737
3738         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3739
3740         * lyxrc.C: displayTranslator is now a function,
3741         declared in GraphicsTypes.h.
3742
3743 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3744
3745         * format.C: new placeholder $$a to pass the socket address.
3746
3747         * bufferlist.[Ch]: new function getBufferFromTmp.
3748
3749         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3750           files in the temporary dir.
3751
3752 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3753
3754         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3755
3756         * Makefile.am: add lyxsocket.[Ch].
3757
3758         * lyx_main.C (error_handler): handle SIGPIPE.
3759
3760 2003-10-13  André Pönitz  <poenitz@gmx.net>
3761
3762         * BufferView_pimpl.C:
3763         * lyxtext.h:
3764         * text.C:
3765         * text2.C:
3766         * text3.C:
3767         * undo_funcs.[Ch]: use paroffset_type instead of
3768           ParagraphList::iterators to prevent multiple conversion
3769           (and get a more robust interface)
3770
3771 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3774         * lyxtext.h: ditto
3775         * text3.C (dispatch): ditto
3776
3777 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3780         move the onlyfile, use onlyfile instead of foundfile in a couple
3781         of places.
3782
3783         * DepTable.C (update): flush the error stream a bit more
3784
3785 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3786
3787         * lyxserver.C (callback): adjust
3788
3789         * lyxfunc.C (getStatus): add a missing brace in commented code
3790         (ensureBufferClean): reindent
3791         (dispatch): delete version taking a string
3792
3793 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * LaTeX.C (deplog): move found file handlig from here...
3796         (handleFoundFile): .. to new function here.
3797         (deplog): make sure to discover several files mentioned on the
3798         same log line.
3799
3800 2003-10-10  André Pönitz  <poenitz@gmx.net>
3801
3802         * lyxfunc.C:
3803         * lyxtext.h:
3804         * tabular.C:
3805         * text.C:
3806         * text2.C:
3807         * text3.C: fix some of the tabular crashes
3808
3809 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3810
3811         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3812
3813         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3814
3815 2003-10-09  André Pönitz  <poenitz@gmx.net>
3816
3817         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3818
3819         * BufferView.C:
3820         * BufferView_pimpl.C:
3821         * bufferview_funcs.C:
3822         * lyx_cb.C:
3823         * lyxcursor.C:
3824         * lyxfind.C:
3825         * lyxfunc.C:
3826         * lyxtext.h:
3827         * text.C:
3828         * text2.C:
3829         * text3.C:
3830         * text_funcs.[Ch]:
3831         * textcursor.[Ch]:
3832         * undo_funcs.C: adjust
3833
3834 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3835
3836         * text2.C (incrementItemDepth): new function, use a backtracking
3837         algorithm to discover the correct item depth.
3838         (resetEnumCounterIfNeeded): new function, use a backtracking
3839         algorithm to discover if counter reset is needed.
3840         (setCounter): use them. Simplify a bit. Add different labels for
3841         different item depths for itemize.
3842
3843         * paragraph.C (Paragraph): remove initialization of enumdepth
3844         (operator=): ditto
3845
3846         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3847         enumerate and itemize. Change the type of itemdepth to signed char.
3848
3849 2003-10-08  André Pönitz  <poenitz@gmx.net>
3850
3851         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3852           thing assignable.
3853         * text.C:
3854         * text2.C: adjust
3855
3856         * tabular.[Ch]: fix crash after 'row-insert'
3857
3858 2003-10-08  Angus Leeming  <leeming@lyx.org>
3859
3860         Fix doxygen warnings.
3861
3862         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3863         Remove CutAndPaste:: prefix from header file declaration.
3864
3865         * LColor.h (fill): remove LColor:: prefix from declaration.
3866
3867         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3868         use lyx::depth_type rather than Paragraph::depth_type so that
3869         header file and .C file match.
3870
3871         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3872
3873         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3874         * aspell.C: \file aspell_local.C -> \file aspell.C
3875         * gettext.C: \file gettext.C -> \file src/gettext.C
3876         * gettext.h: \file gettext.h -> \file src/gettext.h
3877         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3878         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3879         * text.C: \file text.C -> \file src/text.C
3880
3881         * toc.C: move comment so that doxygen is not confused.
3882
3883 2003-10-07  Angus Leeming  <leeming@lyx.org>
3884
3885         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3886
3887 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3888
3889         * aspell.C:
3890         * aspell_local.h: add forgotten std::string's.
3891
3892 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3893
3894         * LaTeXFeatures.C:
3895         * LyXAction.C:
3896         * factory.C:
3897         * lfuns.h:
3898         * lyxfunc.C:
3899         * text3.C: The Box patch. Fancybox support, minipage, parbox
3900
3901 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3902
3903         * CutAndPaste.h:
3904         * DepTable.h:
3905         * FloatList.h:
3906         * LaTeXFeatures.h:
3907         * ParagraphParameters.h:
3908         * TextCache.h:
3909         * Thesaurus.h:
3910         * bufferlist.h:
3911         * exporter.h:
3912         * importer.h:
3913         * lastfiles.h:
3914         * lyxfind.h:
3915         * lyxfont.h:
3916         * lyxlex.h:
3917         * lyxtextclasslist.h:
3918         * messages.h:
3919         * paragraph.h:
3920         * paragraph_pimpl.C:
3921         * textcursor.h: add <string> and other small fixes to make Lars'
3922         std::string patch compile with STLport.
3923
3924 2003-10-06  Angus Leeming  <leeming@lyx.org>
3925
3926         * LColor.h: Add missing #include <string>.
3927
3928 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3929
3930         * All most all file in all subdirs: Make <string> be the prefered
3931         way of getting to std::string, add using declarations.
3932
3933 2003-10-06  André Pönitz  <poenitz@gmx.net>
3934
3935         * metricsinfo.C: initialize LyXFont before changing attribute.
3936         (fixes the 'math in \emph is upright' bug)
3937
3938 2003-10-06  André Pönitz  <poenitz@gmx.net>
3939
3940         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3941
3942 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3943
3944         * graph.C:
3945         * paragraph_pimpl.C: Small fixes to build using STLport
3946
3947 2003-10-02  André Pönitz  <poenitz@gmx.net>
3948
3949         * lyxfunc.C:
3950         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3951
3952 2003-10-01  André Pönitz  <poenitz@gmx.net>
3953
3954         * factory.C: assert early
3955
3956 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * lyx_main.C: remove the global debug object
3959
3960         * debug.h: adjust for new debugstream
3961
3962         * debug.C: adjust for new debugstream and keep the global debug
3963         object here.
3964
3965 2003-09-22  Angus Leeming  <leeming@lyx.org>
3966
3967         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3968         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3969         an incomplete class LyXFont.
3970
3971 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3972
3973         * factory.C: bug fix in branches
3974
3975 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * lyxfunc.C (processKeySym): adjust
3978         (dispatch): adjust
3979         (dispatch): change arg name from ev to func, adjust
3980         (sendDispatchMessage): ditto
3981
3982         * lyx_main.C (defaultKeyBindings): adjust keybindings
3983         (deadKeyBindings): ditto
3984
3985         * kbsequence.C (addkey): return a FuncRequest
3986
3987         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3988
3989         * kbmap.C (bind): take a FuncRequest as arg, adjust
3990         (read): adjust
3991         (lookup): adjust
3992         (defkey): change to take a FuncRequest as arg, adjust
3993         (findbinding): take a FuncRequest as arg, adjust.
3994
3995         * funcrequest.h (operator=): added
3996
3997         * funcrequest.C (FuncRequest): default kb_action changed from
3998         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3999
4000         * buffer.C (dispatch): simplify
4001         (dispatch): adjust to take a FuncRequest as arg, adjust
4002
4003         * boost.C (assertion_failed): change assertion message slightly
4004
4005         * ToolbarBackend.C (read): simplify
4006
4007         * MenuBackend.C (binding): adjust call to findbinding, add a
4008         message if no binding is found.
4009         (read): simplify
4010         (expandToc): correct by adding a empty FuncRequest
4011
4012         * LyXAction.C: include <boost/assert.hpp>
4013         (isPseudoAction): delete function
4014         (LookupFunc): change name to...
4015         (lookupFunc): this. change return type to FuncRequest.
4016         (getActionName): take kb_action as arg, simplify
4017         (funcHasFlag): add an assert, simplify.
4018
4019 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * toc.C (action): return a FuncRequest, simplify
4022
4023         * lyxfunc.C (processKeySym): adjust
4024         (getStatus): delete version that takes an int.
4025         (getStatus): adjust
4026         (dispatch): delete version that takes action as int
4027         (dispatch): adjust
4028         (sendDispatchMessage): simplify and adjust
4029
4030         * funcrequest.C (getArg): take unsigned int as arg
4031
4032         * ToolbarBackend.C (read): adjust
4033         (add): delete version that takes func as a string.
4034         (getIton): take a FuncRequest as arg
4035
4036         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4037         action.
4038
4039         * MenuBackend.C (MenuItem): add a new construct that only takes a
4040         Kind, simplify the constructor use for submenus.
4041         (add): adjust
4042         (expandLastfiles): adjust
4043         (expandDocuments): adjust
4044         (expandFormats): adjust
4045         (expandFloatListInsert): adjust
4046         (expandFloatInsert): adjust
4047         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4048
4049         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4050         Remove class variables lyx_pseudo_map and lyx_arg_map
4051
4052         * LyXAction.C (searchActionArg): delete function
4053         (getPseudoAction): delete function
4054         (retrieveActionArg): delete function
4055         (LookupFunc): make it return kb_action, simplify.
4056         (getActionName): simplify
4057
4058         * factory.C (createInset): fix new bug
4059
4060 2003-09-19  Angus Leeming  <leeming@lyx.org>
4061
4062         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4063         masterFilename_ parameter in the include inset.
4064
4065         * factory.C (createInset): changes due to the changes to InsetInclude.
4066
4067 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4068
4069         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4070
4071 2003-09-18  Angus Leeming  <leeming@lyx.org>
4072
4073         * buffer.C:
4074         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4075         Inset::fillWithBibKeys.
4076         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4077
4078 2003-09-18  Angus Leeming  <leeming@lyx.org>
4079
4080         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4081         variables.
4082         (ctor): pass and store a 'Buffer const &'
4083         (buffer): new member function.
4084
4085         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4086         '*this' to the LaTeXFeatures ctor.
4087
4088 2003-09-18  Angus Leeming  <leeming@lyx.org>
4089
4090         * LColor.h:
4091         * lyxfont.C:
4092         * lyxfont.h:
4093         * lyxtext.h:
4094         * text.C: rename EnumLColor as LColor_color.
4095
4096 2003-09-18  Angus Leeming  <leeming@lyx.org>
4097
4098         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4099         remove #include "insets/insetbase.h" from cursor.h.
4100
4101 2003-09-18  Angus Leeming  <leeming@lyx.org>
4102
4103         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4104         InsetOld_code to remove #include "inset.h".
4105
4106         * iterators.C: add #include "insets/inset.h"
4107
4108 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * BufferView.C: remove more locking stuff that apparently doesn't
4111         do anything sensible.
4112
4113 2003-09-16  André Pönitz  <poenitz@gmx.net>
4114
4115         * paragraph.[Ch]:
4116         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4117           performance boost.
4118
4119 2003-09-16  Angus Leeming  <leeming@lyx.org>
4120
4121         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4122
4123         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4124         arg/return type.
4125
4126         * paragraph.h: remove #include "lyxfont.h". Forward declare
4127         LyXFont_size.
4128
4129 2003-09-16  Angus Leeming  <leeming@lyx.org>
4130
4131         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4132         of support/textutils.h.
4133         (isWord): move the contents of support/textutils.h's IsWordChar here.
4134
4135         * buffer.C:
4136         * lyxfind.C:
4137         * rowpainter.C:
4138         * text.C:
4139         * text2.C: add #include "paragraph.h".
4140
4141         * rowpainter.C:
4142         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4143
4144 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * main.C:
4147         * lyx_main.C:
4148         * lyx_cb.C:
4149         * buffer.C:
4150         * LaTeX.C: use namespace alias for lyx::support::os
4151
4152 2003-09-16  Angus Leeming  <leeming@lyx.org>
4153
4154         * bufferparams.C:
4155         * bufferview_funcs.C:
4156         * factory.C:
4157         * lyxfunc.C:
4158         * paragraph_pimpl.C:
4159         * rowpainter.C:
4160         * text.C: add #include "LColor.h".
4161
4162 2003-09-16  Angus Leeming  <leeming@lyx.org>
4163
4164         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4165         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4166         return LyXFont &.
4167         Store the FontBits::color variable as an int rather than as an
4168         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4169         file.
4170
4171         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4172         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4173         string calls together.
4174
4175         * lyxrc.C: add #include "LColor.h".
4176
4177 2003-09-15  Angus Leeming  <leeming@lyx.org>
4178
4179         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4180         a cow_ptr.
4181
4182 2003-09-15  Angus Leeming  <leeming@lyx.org>
4183
4184         * LColor.h: add an EnumLColor wrapper for LColor::color.
4185
4186         * lyxfont.[Ch] (color, setColor, realColor):
4187         * lyxtext.h, text.C (backgroundColor):
4188         pass EnumLColor args to/from the functions, rather than LColor::color
4189         ones.
4190
4191         * lyxfont.h:
4192         * lyxtext.h: forward declare EnumLColor.
4193
4194         * lyx_main.C: add #include "LColor.h".
4195
4196 2003-09-15  Angus Leeming  <leeming@lyx.org>
4197
4198         * .cvsignore: add lyx-gtk.
4199
4200 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * Chktex.C
4203         * LaTeX.C
4204         * LaTeXFeatures.C
4205         * ParagraphParameters.C
4206         * Spacing.C
4207         * buffer.C
4208         * bufferparams.C
4209         * bufferview_funcs.C
4210         * chset.C
4211         * counters.C
4212         * funcrequest.C
4213         * lyxfont.C
4214         * lyxgluelength.C
4215         * lyxlength.C
4216         * paragraph.C
4217         * paragraph_funcs.C
4218         * text3.C
4219         * vc-backend.C: remove usage of STRCONV
4220
4221 2003-09-15  Angus Leeming  <leeming@lyx.org>
4222
4223         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4224         explicitly define the color passed to the painter.
4225
4226 2003-09-15  Angus Leeming  <leeming@lyx.org>
4227
4228         * bufferparams.C (BufferParams): reorder member initializers to avoid
4229         compiler warning.
4230
4231 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4232
4233         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4234         * text.C (updateRowPositions): remove an unusual nop
4235
4236 2003-09-12  André Pönitz  <poenitz@gmx.net>
4237
4238         * BufferView_pimpl.C:
4239         * Bullet.C:
4240         * layout.h:
4241         * lyxfunc.C:
4242         * lyxlayout.[Ch]:
4243         * lyxtextclass.C:
4244         * rowpainter.C:
4245         * text.C:
4246         * text2.C:
4247         * Counters.[Ch]: finish the 'automatic counters' job
4248
4249 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4250
4251         * aspell.C: include <boost/assert.cpp> (compile fix)
4252
4253 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4254
4255         * boost.C (assertion_failed): use lyx::support::abort instead of
4256         assert.
4257
4258 2003-09-10  Angus Leeming  <leeming@lyx.org>
4259
4260         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4261         with their _fwd progeny.
4262
4263 2003-09-09  Angus Leeming  <leeming@lyx.org>
4264
4265         134 files throughtout the source tree: replace 'using namespace abc;'
4266         directives with the appropriate 'using abc::xyz;' declarations.
4267
4268 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4269
4270         * boost.C (emergencyCleanup): moved here from LAssert.c
4271         (assertion_failed): new function, called by BOOST_ASSERT
4272
4273         * several files: change Assert to BOOST_ASSERT
4274
4275 2003-09-09  Angus Leeming  <leeming@lyx.org>
4276
4277         * buffer.[Ch]: Add an Impl class and move Buffer's member
4278         variables into it. As a result move several header files out of
4279         buffer.h.
4280
4281         Add header files to lots of .C files all over the tree as a result.
4282
4283 2003-09-09  Angus Leeming  <leeming@lyx.org>
4284
4285         * buffer.[Ch]: make Buffer's member variables private. Add
4286         accessor functions.
4287
4288         Lots of changes all over the tree as a result.
4289
4290 2003-09-08  Angus Leeming  <leeming@lyx.org>
4291
4292         * graph.C: #include <config.h>.
4293
4294 2003-09-08  Angus Leeming  <leeming@lyx.org>
4295
4296         * BranchList.C:
4297         * BufferView.C:
4298         * BufferView_pimpl.C:
4299         * CutAndPaste.C:
4300         * DepTable.C:
4301         * LaTeX.C:
4302         * LaTeXFeatures.C:
4303         * LyXAction.C:
4304         * MenuBackend.C:
4305         * TextCache.C:
4306         * aspell.C:
4307         * buffer.C:
4308         * bufferlist.C:
4309         * changes.C:
4310         * chset.C:
4311         * converter.C:
4312         * counters.C:
4313         * debug.C:
4314         * graph.C:
4315         * ispell.C:
4316         * lyx_cb.C:
4317         * lyxfind.C:
4318         * lyxfunc.C:
4319         * lyxlex_pimpl.C:
4320         * lyxrc.C:
4321         * lyxrow.C:
4322         * paragraph.C:
4323         * rowpainter.C:
4324         * texrow.C:
4325         * text.C:
4326         * text2.C:
4327         * toc.C: remove redundant using directives.
4328
4329 2003-09-07  Angus Leeming  <leeming@lyx.org>
4330
4331         * LaTeXFeatures.h: remove #include "support/types.h".
4332         * ToolbarBackend.h: remove #include <algorithm>.
4333         * changes.h: remove #include <ctime>.
4334         * debug.h: remove #include <iosfwd>.
4335         * graph.h: remove #include "support/std_string.h".
4336         * lyx_main.h: remove #include <csignal>.
4337         * lyxlex_pimpl.h: remove #include <fstream>.
4338         * sgml.h: remove #include <algorithm>, <utility>.
4339         * toc.h: remove #include "support/std_ostream.h".
4340         Add #include <iosfwd>.
4341
4342 2003-09-07  Angus Leeming  <leeming@lyx.org>
4343
4344         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4345
4346         * converter.h: forward declare LatexRunParams.
4347         * encoding.h: remove #include "lyxrc.h".
4348         * lyxtext.h: remove #include "LColor.h".
4349         * lyxtextclass.h: remove #include "support/types.h".
4350         * trans.h: remove #include "tex-accent.h".
4351         * trans_mgr.h: remove #include "tex-accent.h".
4352         * insets/inset.h: remove #include "support/types.h", <vector>.
4353         * insets/insetcollapsable.h: remove #include "LColor.h".
4354         * insets/insetinclude.h: remove #include "dimension.h".
4355         * insets/insetlatexaccent.h: remove #include "dimension.h".
4356         * insets/insetoptarg.h:: remove #include "insettext.h".
4357         * insets/insettext.h: remove #include "dimension.h",
4358         <boost/shared_ptr.hpp>
4359
4360         * insets/renderers.h: add #include "dimension.h".
4361         * insets/updatableinset.h: add #include "support/types.h".
4362
4363         * many .C files: Associated changes.
4364
4365 2003-09-06  Angus Leeming  <leeming@lyx.org>
4366
4367         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4368         one, inside testInvariant.
4369
4370         * PrinterParams.C: new file.
4371         * PrinterParams.[Ch]: move the function bodies out of line.
4372
4373 2003-09-06  Angus Leeming  <leeming@lyx.org>
4374
4375         * ParagraphParameters.h: forward declare ParameterStruct rather than
4376         including its header file.
4377         (depth): moved out-of-line.
4378
4379 2003-09-06  Angus Leeming  <leeming@lyx.org>
4380
4381         * BufferView_pimpl.h:
4382         * kbmap.h:
4383         * kbsequence.h:
4384         * lyxfunc.h: forward declare LyXKeySym rather than
4385         #include "frontends/LyXKeySym.h".
4386
4387         * BufferView_pimpl.C:
4388         * kbmap.C:
4389         * kbsequence.C:
4390         * lyxfunc.C: associated changes.
4391
4392 2003-09-06  Angus Leeming  <leeming@lyx.org>
4393
4394         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4395         As a result, can remove the #include "insets/inset.h" from BufferView.h
4396
4397 2003-09-06  Angus Leeming  <leeming@lyx.org>
4398
4399         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4400         As a result, can remove the #include "insets/inset.h" from BufferView.h
4401
4402 2003-09-06  Angus Leeming  <leeming@lyx.org>
4403
4404         * buffer_funcs.C:
4405         * buffer.h:
4406         * bufferlist.C:
4407         * BufferView.C:
4408         * bufferview_funcs.C:
4409         * BufferView_pimpl.C:
4410         * CutAndPaste.C:
4411         * lyx_cb.C:
4412         * lyxfunc.C:
4413         * paragraph.h:
4414         * ParagraphParameters.C:
4415         * tabular.C:
4416         * text3.C:
4417         * toc.C:
4418         * undo_funcs.C:
4419         * frontends/controllers/ControlDocument.C:
4420         * insets/insetcaption.C: rearrange the #includes into some sort of
4421         coherent order.
4422
4423         * buffer.h: remove #includes ErrorList.h, undo.h
4424
4425 2003-09-06  Angus Leeming  <leeming@lyx.org>
4426
4427         * support/types.h: add a 'depth_type' typedef, used to store the
4428         nesting depth of a paragraph.
4429
4430         * paragraph.h:
4431         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4432         defining explicitly.
4433
4434         * buffer.h:
4435         * paragraph_funcs.h:
4436         * ParagraphParameters.h:
4437         * sgml.h: use lyx::depth_type rather than Paragraph or
4438         ParameterStruct's depth_type.
4439
4440         * buffer.h
4441         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4442
4443         * BufferView.C:
4444         * BufferView_pimpl.C:
4445         * CutAndPaste.C:
4446         * ParagraphParameters.C:
4447         * buffer_funcs.C:
4448         * bufferlist.C:
4449         * bufferview_funcs.C:
4450         * lyx_cb.C:
4451         * lyxfunc.C:
4452         * tabular.C:
4453         * text3.C:
4454         * toc.C:
4455         * undo_funcs.C:
4456         * frontends/LyXView.C:
4457         * frontends/controllers/ControlDocument.C:
4458         * frontends/controllers/ControlErrorList.C:
4459         * insets/insetbibitem.C:
4460         * insets/insetbranch.C:
4461         * insets/insetcaption.C:
4462         * insets/insetcollapsable.C:
4463         * insets/insetenv.C:
4464         * insets/insetert.C:
4465         * insets/insetfloat.C:
4466         * insets/insetfoot.C:
4467         * insets/insetfootlike.C:
4468         * insets/insetnewline.C:
4469         * insets/insetquotes.C:
4470         * insets/insettabular.C:
4471         * insets/insettext.C:
4472         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4473
4474         * frontends/controllers/ControlChanges.C: #include "changes.h".
4475
4476 2003-09-06  Angus Leeming  <leeming@lyx.org>
4477
4478         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4479         than #including paragraph.h.
4480
4481         * ParagraphList.h:
4482         * RowList.h: deleted. Superfluous.
4483
4484         * CutAndPaste.h:
4485         * iterators.h:
4486         * lyxcursor.h:
4487         * lyxtext.h:
4488         * text_funcs.h:
4489         * undo.h:
4490         * undo_funcs.h:
4491         * insets/inset.h:
4492         * insets/insettext.h: use ParagraphList_fwd.h rather than
4493         ParagraphList.h.
4494
4495         * paragraph.h: don't forward declare ParagraphList.
4496
4497         * buffer.h:
4498         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4499         rather than ParagraphList.h. paragraph.h is still needed for the
4500         Paragraph::depth_type parameters.
4501
4502         * textcursor.h: enable it to compile stand-alone in light of the
4503         above changes.
4504
4505         * bufferview_funcs.C:
4506         * iterators.C:
4507         * lyxfunc.C:
4508         * lyxrow_funcs.C:
4509         * paragraph.C:
4510         * rowpainter.C:
4511         * text.C:
4512         * text2.C:
4513         * text3.C:
4514         * text_funcs.C:
4515         * textcursor.C:
4516         * undo.C:
4517         * frontends/controllers/ControlParagraph.C:
4518         * frontends/controllers/ControlTabular.C:
4519         * insets/insetmarginal.C:
4520         * insets/insetminipage.C:
4521         * insets/insetnote.C:
4522         * insets/insetoptarg.C: add header files needed to compile again.
4523
4524 2003-09-06  Angus Leeming  <leeming@lyx.org>
4525
4526         * RowList_fwd.h: new file, forward-declaring Row rather than
4527         #including lyxrow.h.
4528
4529         * lyxrow_funcs.h:
4530         * lyxtext.h:
4531         * paragraph.h:
4532         * insets/insettext.h: use it instead of RowList.h
4533
4534         * bufferview_funcs.C:
4535         * lyxfunc.C:
4536         * lyxrow_funcs.C:
4537         * paragraph.C:
4538         * rowpainter.C:
4539         * text.C:
4540         * text2.C:
4541         * text3.C: #include "RowList.h".
4542
4543 2003-09-05  Angus Leeming  <leeming@lyx.org>
4544
4545         * factory.C (createInset):
4546         * vspace.C (c-tor): replace sscanf call with an istringstream.
4547         * ispell.C: re-add missing HP/UX headers.
4548         * lyxserver.C: re-add missing  os2 headers.
4549
4550 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4551
4552         * BranchList.C:
4553         * graph.C:
4554         * ispell.C:
4555         * lastfiles.C:
4556         * lyx_cb.C:
4557         * lyxserver.C:
4558         * texrow.C:
4559         * text3.C: re-add missing system headers, needed for 2.95.2.
4560
4561 2003-09-05  Angus Leeming  <leeming@lyx.org>
4562
4563         Changes most place everywhere due to the removal of using directives
4564         from support/std_sstream.h.
4565
4566 2003-09-05  Angus Leeming  <leeming@lyx.org>
4567
4568         Replace LString.h with support/std_string.h,
4569         Lsstream.h with support/std_sstream.h,
4570         support/LIstream.h with support/std_istream.h,
4571         support/LOstream.h with support/std_ostream.h.
4572
4573         Changes resulting throughout the tree.
4574
4575 2003-09-05  Angus Leeming  <leeming@lyx.org>
4576
4577         * sgml.h: ensure that the header file can be compiled stand-alone.
4578         * *.C: strip out redundant #includes. (320 in total.)
4579
4580 2003-09-04  Angus Leeming  <leeming@lyx.org>
4581
4582         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4583         here (from getPackages).
4584
4585         * debug.[Ch]: add a new EXTERNAL tag.
4586
4587 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4588
4589         * text2.C (cursorEnd): simplify
4590         (setCursor): adjust
4591         (getColumnNearX): adjust
4592
4593         * text.C (computeBidiTables): adjust
4594         (fill): adjust
4595
4596         * rowpainter.C (paintChars): adjust
4597         (paintSelection): adjust
4598         (paintChangeBar): adjust
4599         (paintText): adjust
4600
4601         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4602         lastPos instead.
4603         (numberOfSeparators): adjust
4604
4605 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4606
4607         * LyXAction.C:
4608         * box.[Ch]:
4609         * lfuns.h:
4610         * lyxfunc.C:
4611         * text3.C: Restricts the mouse click functionality
4612         of insets like bibtex, include, toc and floatlist to the visible
4613         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4614         up the dialogs. Cursor has to be in front of the inset (i.e.
4615         start of row) for this to function.
4616
4617 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4618
4619         * bufferview_funcs.C (currentState): output row information
4620
4621 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4622
4623         * bufferview_funcs.C (currentState): output paragraph position
4624
4625 2003-09-04  Angus Leeming  <leeming@lyx.org>
4626
4627         * FloatList.h: move out #include "Floating.h".
4628         * LaTeX.h: move out #include "DepTable.h".
4629         * LyXAction.h: move out #include "funcrequest.h".
4630         * buffer.h: move out #include "author.h", "iterators.h".
4631         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4632         * lyx_main.h: move out #include "errorlist.h".
4633         * lyxfunc.h: move out #include "FuncStatus.h".
4634         * lyxtext: move out #include "lyxcursor.h".
4635         * paragraph_pimpl.h: move out #include "counters.h".
4636
4637 2003-09-03  Angus Leeming  <leeming@lyx.org>
4638
4639         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4640         preamble_snippets list, enabling us to add snippets to the preamble
4641         only if the snippet was not there already.
4642
4643 2003-09-04  Angus Leeming  <leeming@lyx.org>
4644
4645         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4646
4647 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4650         update
4651
4652 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4653
4654         * BranchList.C: point fix, earlier forgotten
4655
4656 2003-09-02  Angus Leeming  <leeming@lyx.org>
4657
4658         * box.C (contains): renamed from 'contained' after a fantastic
4659         amount of hot air.
4660
4661 2003-09-02  John Levon  <levon@movementarian.org>
4662
4663         * BufferView.C:
4664         * lyxcursor.h:
4665         * lyxcursor.C:
4666         * lyxfunc.C:
4667         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4668
4669 2003-09-02  John Levon  <levon@movementarian.org>
4670
4671         * text2.C: simplification of cursorEnd(), including partial
4672         fix for bug 1376
4673
4674 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * buffer.C (readFile): add a space
4677
4678 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4679
4680         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4681
4682 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * buffer.C (readFile): new function, take a filename and a
4685         ParagraphList::iterator
4686         (readFile): adjust
4687         (readFile): adjust, make it private. don't use setStream, make
4688         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4689         always contain the filename.
4690
4691         * BufferView.C (insertLyXFile): simplify and make it work for
4692         gzipped files.
4693
4694 2003-08-30  John Levon  <levon@movementarian.org>
4695
4696         * Makefile.am: fix dist (from Kayvan)
4697
4698 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * most files: change to use const Buffer refs
4701
4702 2003-08-27  André Pönitz  <poenitz@gmx.net>
4703
4704         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4705         on top of ownerPar().
4706
4707 2003-08-27  John Levon  <levon@movementarian.org>
4708
4709         * funcrequest.C: properly initialise POD members
4710
4711 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4712
4713         * lyxtext.h (top_y): move top_y from here
4714         * text.C:
4715         * text2.C:
4716         * text3.C:
4717         * BufferView.[Ch]:
4718         * BufferView_pimpl.[Ch]: to here
4719         * frontends/screen.C:
4720         * insets/insettabular.C:
4721         * insets/insettext.C: adjust
4722         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4723
4724 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4725
4726         * BufferView.[Ch]:
4727         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4728
4729 2003-08-26  André Pönitz  <poenitz@gmx.net>
4730
4731         * paragraph_func.[Ch] (outerPar): new function
4732
4733         * paragraph.C:
4734         * paragraph_funcs.C:
4735         * paragraph_funcs.h:
4736         * paragraph_pimpl.C:
4737         * text2.C: remove Inset::par_owner
4738
4739 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4740
4741         * lyxrow_funcs.C:
4742         * lyxtext.h:
4743         * text.C:
4744         * text2.C: eliminates the needFullRow/display() stuff
4745         altogether, putting the logic in metrics/draw in the insets.
4746
4747 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4748
4749         * text2.C (redoParagraphInternal, redoParagraphs):
4750         * text.C (redoParagraph): add a call to updateRowPositions at the
4751         end of each 'metrics-like' call. Remove all others.
4752         (getRow): remove the 'y-computing' version.
4753         (getRowNearY): do not compute nor return the real y. Solve the
4754         'y < 0' problem and simplify.
4755
4756 2003-08-22  Angus Leeming  <leeming@lyx.org>
4757
4758         * *.[Ch]: clean-up of licence and author blurbs.
4759         Also move config.h out of a few .h files and into a few .C files.
4760
4761 2003-08-22  André Pönitz  <poenitz@gmx.net>
4762
4763         * lyxrow.[Ch]: add x_ and *fill_ members
4764
4765         * lyxtext.h:
4766         * text.C:
4767         * rowpainter.C:
4768         * text2.C: adjust/remove prepareToPrint() calls
4769
4770 2003-08-22  André Pönitz  <poenitz@gmx.net>
4771
4772         * lyxrow.[Ch]: add  end_ member
4773
4774         * lyxrow_funcs.C: use LyXRow::end_
4775
4776         * lyxtext.h (singleWidth): add LyXFont parameter
4777
4778         * rowpainter.C:
4779         * text2.C: adjust LyXText::singleWidth() calls
4780
4781         * text.C (redoParagraph): simplify row breaking logic
4782
4783
4784 2003-08-19  André Pönitz  <poenitz@gmx.net>
4785
4786         * funcrequest.C: initialize button_ member
4787
4788         * text3.C:
4789         * rowpainter.[Ch]: interface consolidation
4790
4791 2003-08-18  André Pönitz  <poenitz@gmx.net>
4792
4793         * BufferView.C:
4794         * BufferView_pimpl.C:
4795         * lyxfind.C:
4796         * paragraph_funcs.C:
4797         * rowpainter.C:
4798         * text3.C: remove LyXScreen::draw() and fitCursor calls
4799
4800         * BranchList.h: remove spurious semicolons
4801
4802         * MenuBackend.C: fix branchlist related crash
4803
4804 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4805
4806         * BranchList.[Ch]:
4807         * InsetList.[Ch]:
4808         * LColor.[Ch]:
4809         * LyXAction.C:
4810         * Makefile.am:
4811         * MenuBackend.[Ch]:
4812         * bufferparams.[Ch]:
4813         * factory.C:
4814         * lfuns.h:
4815         * lyxfunc.C:
4816         * text3.C: implements the 'branch inset'
4817         idea. This allows the output of various versions of a document
4818         from a single source version, selectively outputing or suppressing
4819         output of parts of the text.
4820         This implementation contains a 'branch list editor' in a separate
4821         tab of the document settings dialog. Branches are user definable
4822         and have a "display colour" to distinguish them on-screen.
4823
4824         ColorHandler was somewhat cleaned up.
4825         (1) make possible a dynamically growing LColor list by allowing
4826         the graphic context cache to grow along (vector);
4827         (2) eliminate an IMHO unnecessary step in colour allocation.
4828
4829 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4830
4831         * BufferView_pimpl.C: compile fix
4832
4833 2003-08-15  André Pönitz  <poenitz@gmx.net>
4834
4835         * rowpainter.C: remove extra metrics calls
4836
4837         * lyxtext.h: merge the two constructors into a single one,
4838           pass reference to owner's par list
4839
4840         * BufferView_pimpl.C:
4841         * text.C:
4842         * text2.C: adjust
4843
4844 2003-08-15  André Pönitz  <poenitz@gmx.net>
4845
4846         * lyxrow_funcs.[Ch]:
4847         * lyxtext.h:
4848         * paragraph.h:
4849         * paragraph_funcs.C:
4850         * rowpainter.C:
4851         * text.C:
4852         * text2.C:
4853         * text3.C:
4854         * text_funcs.C: split LyXText::rowlist_ into individual
4855         Paragraph::rows_ chunks
4856
4857         * BufferView.[Ch]:
4858         * BufferView_pimpl.[Ch]:
4859         * lyxfind.C:
4860         * lyxtext.h:
4861         * text3.C: remove toggleSelection()
4862
4863 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4864
4865         * bufferlist.C: beautify two alerts (shorter text of buttons)
4866         * buffer.C: Remove redundant ' ' from message
4867         * tabular.h:
4868         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4869         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4870         rename VALIGN_CENTER to VALIGN_MIDDLE
4871
4872 2003-08-11  André Pönitz  <poenitz@gmx.net>
4873
4874         * lyxtext.h (getPar):
4875         * text.C: new function
4876
4877 2003-08-11  André Pönitz  <poenitz@gmx.net>
4878
4879         * Makefile.am:
4880         * tracer.[Ch]: remove unneeded files
4881
4882         * InsetList.[Ch]: remove resizeInsetsLyXText()
4883
4884         * lyxtext.h:
4885         * text.C:
4886         * text2.C:
4887         * text3.C: merge insertParagraphs() and appendParagraph()
4888         remove breakAgain(), update()
4889
4890         * BufferView_pimpl.[Ch]:
4891         * bufferview_funcs.[Ch]:
4892         * lyxfunc.C:
4893         * paragraph.[Ch]:
4894         * rowpainter.C:
4895         * tabular.C: adjust after text & InsetList changes.
4896
4897 2003-08-08  André Pönitz  <poenitz@gmx.net>
4898
4899         * text.C (insertChar, backspace): replace rowlist fiddling
4900         with rebreak of full par
4901
4902         * lyxtext.h:
4903         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4904         checkParagraph, updateInset): removed
4905
4906 2003-08-07  André Pönitz  <poenitz@gmx.net>
4907
4908         * paragraph.C:
4909         * text3.C: merge some LFUN handlers, remove dead code
4910
4911 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4912
4913         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4914
4915 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4916
4917         * text2.C (DEPM): fix part of bug 1255 and 1256
4918
4919 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4920
4921         * BufferView_pimpl.C (workAreaDispatch): change to use
4922         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4923         that are no mouse related.
4924
4925 2003-08-05  André Pönitz  <poenitz@gmx.net>
4926
4927         * BufferView.[Ch]:
4928         * BufferView_pimpl.[Ch]:
4929         * bufferview_funcs.C:
4930         * text2.C:
4931         * text3.C: rip out "deep update"
4932
4933         * textcursor.[Ch] (last_sel_cursor): remove unused member
4934
4935 2003-08-04  André Pönitz  <poenitz@gmx.net>
4936
4937         * BufferView.[Ch]:
4938         * BufferView_pimpl.[Ch]:
4939         * ParagraphParameters.C:
4940         * bufferview_funcs.C:
4941         * lyx_cb.C:
4942         * lyxfind.C:
4943         * lyxfunc.C:
4944         * text.C:
4945         * text2.C:
4946         * text3.C: replace "complicated" BufferView::update(...) calls with
4947         simpler ones.
4948
4949         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4950
4951 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4952
4953         * Makefile.am (lyx_SOURCES): add paper.h
4954
4955 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4956
4957         * Makefile.am: move things around so that both lyx-qt and
4958         lyx-xforms can be built (according to --with-frontend). Then lyx
4959         is a symbolic link to lyx-[firstfrontend]
4960
4961 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4962
4963         * Always use std::endl with lyxerr
4964
4965 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4966
4967         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4968
4969 2003-08-01  André Pönitz  <poenitz@gmx.net>
4970
4971         * BufferView.[Ch]:
4972         * BufferView_pimpl.[Ch]:
4973         * lyxfunc.C:
4974         * text3.C: merge BufferView::repaint() and BufferView::update()
4975
4976 2003-08-01  José Matos  <jamatos@lyx.org>
4977
4978         * buffer.[Ch]: file_format is no longer a buffer data element.
4979
4980 2003-08-01  André Pönitz  <poenitz@gmx.net>
4981
4982         * BufferView.C:
4983         * lyxtext.h:
4984         * text.C:
4985         * text2.C: make redoParagraph more independent of current cursor
4986
4987         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4988         * text.C:
4989         * text2.C: remove unneeded members
4990
4991 2003-07-30  André Pönitz  <poenitz@gmx.net>
4992
4993         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4994
4995         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4996           create a single function...
4997
4998         * paragraph_funcs.C (moveItem): ... here.
4999
5000         * text.C:
5001           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5002
5003 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5004
5005         * LColor.[Ch]: Add comment and greyedout logical colors.
5006
5007 2003-07-30  André Pönitz  <poenitz@gmx.net>
5008
5009         * tabular.C: don't use Assert too heavily. This crashes where it
5010           shouldn't
5011
5012 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5013
5014         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5015         is disabled (bug 1232)
5016
5017 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5018
5019         * factory.C: limited 'arg' scope
5020
5021 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5022
5023         * factory.C: fixed Note submenu issues
5024
5025 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5026
5027         * factory.C: submenu for Note/Comment/Greyedout
5028
5029 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * lyx_main.C (LyX):
5032         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5033
5034 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5035
5036         * LaTeXFeatures.C:
5037         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5038         greyedout. Patch provided by Jürgen Spitzmüller.
5039
5040 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5041
5042         * kbmap.C (read): fix error message when reading bind files
5043
5044 2003-07-29  Angus Leeming  <leeming@lyx.org>
5045
5046         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5047         certainly does not do what it purports to do. I am doing it, and
5048         us, a favour by killing it.
5049
5050 2003-07-28  José Matos  <jamatos@lyx.org>
5051
5052         * buffer.C (readBody, do_writeFile):
5053         * paragraph.C(readParagraph): \end_document replaces \the_end.
5054
5055 2003-07-29  André Pönitz  <poenitz@gmx.net>
5056
5057         * BufferView.[Ch]:
5058         * BufferView_pimpl.[Ch]:
5059         * lyxfunc.C:
5060         * text2.C:
5061         * text3.C:
5062         * textcursor.[Ch]: remove toggleToggle & Co
5063
5064 2003-07-28  José Matos  <jamatos@fep.up.pt>
5065
5066         * buffer.C (readParagraph):
5067         * params_func (readParToken, readParagraph):
5068         * paragraph.C (write): \layout -> \begin_layout.
5069
5070 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * lyxlex_pimpl.C (setFile): clean up slightly.
5073
5074         * bufferparams.h: add compressed var
5075
5076         * buffer_funcs.C (readFile): adjust for LyXLex change
5077         (newFile): ditto + simplify
5078
5079         * buffer.C (writeFile): handle writing of compressed files
5080
5081         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5082         Check if the file is compressed and set a bufferparm if so.
5083
5084         * Makefile.am (lyx_LDADD): remove explicit -lz
5085
5086 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5087
5088         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5089         makeDocBookFile): put the real LyX version in the first line of
5090         the file
5091
5092         * version.h:
5093         * version.C.in: remove lyx_docversion
5094
5095         * tabular.C (write_attribute): add a template-based version to
5096         write enums properly
5097
5098 2003-07-28  André Pönitz  <poenitz@gmx.net>
5099
5100         * lyxtext.h:
5101         * text.C:
5102         * text2.C:
5103         * text3.C: use doubles again for x-coordinates. They are needed.
5104
5105 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * messages.C (getLocaleDir): use lyx_localedir()
5108
5109         * lyxlex_pimpl.C (setFile): compress stuff
5110
5111         * buffer.C (writeFile): add some compression stuff
5112         (do_writeFile): new func, dont call expliti close... will this
5113         breake anything?
5114
5115         * Makefile.am (lyx_LDADD): add -lz
5116
5117 2003-07-28  José Matos  <jamatos@fep.up.pt>
5118
5119         * buffer.C: increment file format.
5120         * paragraph_funcs (readParagraph, readParToken):
5121         * paragraph.C (readParagraph): add \end_layout.
5122
5123 2003-07-27  Angus Leeming  <leeming@lyx.org>
5124
5125         * Makefile.am: remove special casing for configure-time setting of
5126         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5127
5128         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5129         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5130
5131 2003-07-26  André Pönitz  <poenitz@gmx.net>
5132
5133         * paragraph_func.[Ch]:
5134         * paragraph.C (realizeFont): inline it whereever it is used
5135
5136         * rowpainter.C:
5137         * text.C:
5138         * text2.C:
5139         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5140
5141
5142 2003-07-26  André Pönitz  <poenitz@gmx.net>
5143
5144         *       lyxtext.h:
5145         * text.C:
5146         * text2.C: get rid of LyXText::need_break_row
5147
5148 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * toc.[Ch]: put namespace toc inside namespace lyx
5151
5152         * MenuBackend.C (expandToc2): adjust for lyx::toc
5153         (expandToc): ditto
5154
5155         * lyxfunc.C (dispatch): adjust for lyx::find
5156
5157         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5158         lyx::find instead. Reorganize a bit.
5159         (LyXReplace): rename to replace
5160         (LyXFind): rename to find
5161
5162         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5163         (dispatch): ditto
5164
5165 2003-07-26  André Pönitz  <poenitz@gmx.net>
5166
5167         * text.C (setHeightOfRow): restrict scope of temporary variable
5168
5169         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5170           code (never has been used?)
5171
5172 2003-07-27  Asger Alstrup  <alstrup@local>
5173
5174         * text.C (fill): Optimise algorithm to exploit that we can reuse
5175         the LyXFont for many characters.
5176         (setHeightOfRow): Same thing.
5177         (rowBreakPoint): Same thing.
5178
5179 2003-07-26  Asger Alstrup  <alstrup@local>
5180
5181         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5182
5183         * text.C (singleWidth): Spurious font copying in hot-spot
5184         singleWidth avoided. Reorder tests for arabic for efficiency.
5185
5186         * text.C (fill): handle empty paragraphs better.
5187
5188 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5189
5190         * ispell.C:
5191         * encoding.h: add includes
5192
5193         * lyxrc.C: remove reading of bind files
5194
5195         * lyx_main.C (init): setup bindings and menus only if we have a
5196         gui.
5197
5198         * kbmap.C (read): new method. Do the actual reading of bind
5199         files.
5200
5201         * converter.C (dvipdfm_options):
5202         * bufferparams.C:
5203         * lyxrc.C (read):
5204         (output): adapt PAPER_* enums.
5205
5206         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5207
5208         * bufferparams.h: remove paper-related enums from there
5209
5210         * paper.h: New file. A trivial header file to hold paper-related
5211         enums. It should later expand to contain many paper-related
5212         horrors access.
5213
5214         * lyxrc.C: declare extern displayTranslator
5215
5216 2003-07-27  José Matos  <jamatos@fep.up.pt>
5217
5218         * tabular.[Ch] (linuxdoc): add support for tables and figures
5219         (linuxdoc).
5220
5221 2003-07-27  José Matos  <jamatos@fep.up.pt>
5222
5223         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5224         consistency in both functions.
5225         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5226
5227 2003-07-26  Asger Alstrup  <alstrup@local>
5228
5229         * rowpainter.C (paintRows): Change algorithm to work directly on
5230         the insets rather than asking every character in the document
5231         whether its an inset.
5232
5233 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5234
5235         * buffer.C (openFileWrite): factorize some code
5236
5237 2003-07-26  Angus Leeming  <leeming@lyx.org>
5238
5239         * lyx_cb.C:
5240         * lyx_main.[Ch]: replace occurances of system_tempdir with
5241         os::getTmpDir().
5242
5243 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * rename Inset to InsetOld
5246
5247 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5248
5249         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5250         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5251         which I think is a bit clearer. EDIT is gone, since it was
5252         premature optimisation, and broken for mathed anyway.
5253         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5254         with cursor positioning in insets as well (math insets still do not
5255         work, but that's a different story anyway.) It mysteriously
5256         crashes sometimes with undo in the first paragraph, but I'm fairly
5257         confident that this is a compiler bug.
5258
5259 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * paragraph.C (Paragraph): adjust for new clone return type
5262         (operator==): ditto
5263         (copyIntoMinibuffer): ditto
5264
5265 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5266
5267         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5268         by not having a special case, and always doing a full rebreak of
5269         the document after undo.
5270
5271 2003-07-23  Angus Leeming  <leeming@lyx.org>
5272
5273         * factory.C (createInset): InsetExternal::setParams now takes a
5274         Buffer const * arg.
5275
5276 2003-07-23  Angus Leeming  <leeming@lyx.org>
5277
5278         * factory.C (createInset): changed interface to the external and
5279         graphics mailers' string2params functions.
5280
5281 2003-07-23  Angus Leeming  <leeming@lyx.org>
5282
5283         * factory.C (createInset): pass a
5284         Buffer const * parameter to InsetExternalMailer's string2params.
5285
5286 2003-07-22  John Levon  <levon@movementarian.org>
5287
5288         * Thesaurus.h: include the right aiksaurus header
5289
5290 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5291
5292         * MenuBackend.C (expand): check menu shortcuts unconditionally
5293
5294 2003-07-21  Angus Leeming  <leeming@lyx.org>
5295
5296         * factory.C (createInset): pass a
5297         buffer_path parameter to InsetGraphicsMailer's string2params.
5298
5299 2003-07-21  Angus Leeming  <leeming@lyx.org>
5300
5301         * BufferView_pimpl.C (buffer):
5302         * buffer.C (d-tor):
5303         * lyx_main.C (LyX):
5304         * lyxfunc.C (dispatch):
5305         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5306         rather than the grfx shortcut.
5307
5308 2003-07-21  André Pönitz  <poenitz@gmx.net>
5309
5310         * rowpainter.C: remove unused variables
5311
5312         * tabular_funcs.C:
5313         * tabular_funcs.h: move to tabular.C
5314         * Makefile.am: adjust
5315
5316         * tabular.[Ch]: basic optical cleaning
5317
5318         * author.h: pass references, not values
5319
5320 2003-07-18  André Pönitz  <poenitz@gmx.net>
5321
5322         * lyxtext.h:
5323         * metricsinfo.C:
5324         * metricsinfo.h:
5325         * rowpainter.C:
5326         * text.C:
5327         * text2.C:
5328         * text3.C: two-phase drawing for InsetText and InsetTabular
5329         some float -> int changes.
5330
5331 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * lyx_main.C: fix the fix
5334
5335 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5336
5337         * lyx_main.C: fix a crash in batch mode if no files specified
5338         * converter.C: ws
5339
5340 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5341
5342         * format.[Ch] (papersize): moved to BufferParams
5343         * converter.[Ch] (dvips_options): moved to BufferParams
5344         (dvipdfm_options): moved to anon namespace
5345         * bufferparams.[Ch]: added above functions.
5346
5347 2003-07-17  André Pönitz  <poenitz@gmx.net>
5348
5349         * lyxtext.h:
5350         * rowpainter.C:
5351         * text2.C: don't call inset->update() anymore
5352
5353         * metricsinfo.[Ch]: add convenience constructor
5354
5355 2003-07-16  André Pönitz  <poenitz@gmx.net>
5356
5357         * lyxcursor.[Ch]:
5358         * lyxfunc.[Ch]:
5359         * text.C:
5360         * text2.C: replace the LyXCursor::irow_ member with
5361          on-demand computation of the value
5362
5363 2003-07-16  John Levon  <levon@movementarian.org>
5364
5365         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5366
5367 2003-07-15  André Pönitz  <poenitz@gmx.net>
5368
5369         * text.C:
5370         * text2.C: remove no more needed refresh_row
5371
5372 2003-07-15  André Pönitz  <poenitz@gmx.net>
5373
5374         * lyxtext.h:
5375         * rowpainter.C:
5376         * text2.C:
5377         * text3.C: refresh_status tristate -> need_update bool
5378
5379 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5380
5381         * lyxtext.h (init): remove reinit argument (act as if always true)
5382         * text2.C: adjust to that
5383
5384 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5385
5386         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5387         * text3.C: use it to delete selections in some cases
5388         (bugs 441, 673, 702, 954).
5389
5390 2003-07-14  André Pönitz  <poenitz@gmx.net>
5391
5392         * rowpainter.[Ch]: reduce interface
5393
5394 2003-07-14  André Pönitz  <poenitz@gmx.net>
5395
5396         * BufferView_pimpl.C:
5397         * text2.C: adjust after removing unused BufferView * argument
5398
5399 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * text2.C (init): fix a crash fired on resize
5402
5403 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5404
5405         * buffer.[Ch]: added new closing signal
5406         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5407         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5408         BufferView::Pimpl via the closing the signal
5409
5410 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5411
5412         * buffer.[Ch]: take out all bv-related from buffer
5413         * BufferView.C:
5414         * BufferView_pimpl.[Ch]: connect to new signals
5415         * CutAndPaste.C: removed useless asserts
5416         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5417         * lyxvc.[Ch]:
5418         * vc-backend.[Ch]:
5419         * lyxfunc.C: moved view-related funciontality from vc here
5420         * paragraph.C: removed outdated comments
5421         * text.C: ws
5422
5423 2003-07-10  André Pönitz  <poenitz@gmx.net>
5424
5425         * BufferView_pimpl.C:
5426         * tabular.h:
5427         * tabular_funcs.C:
5428         * text.C:
5429         * text2.C: remove InsetText::InnerCache, clean up consequences
5430
5431 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5432
5433         * ispell.C: fix two typos in error messages
5434
5435 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5436
5437         * Extend Note inset to other forms of annotation like Comment
5438         and Greyedout. Right button click gives dialog.
5439
5440         Files modified or added (+):
5441
5442         * insetnote.[Ch]
5443         * FormNote.[Ch]      +
5444         * ControlNote.[Ch]   +
5445         * form_note.fd       +
5446         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5447         frontends/controllers
5448         * xforms/Dialogs.C
5449         * factory.C
5450
5451 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5452
5453         * aspell.C: add missing namespace lyx::support
5454
5455 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5456
5457         * BufferView.[Ch] (newFile): Add
5458         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5459         * LaTeX.[Ch] (message): added this signal and use it
5460         * buffer.[Ch] (busy, message): added these signals and use them
5461         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5462         * converter.C:
5463         * exporter.C:
5464         * format.C:
5465         * importer.C: use buffer signals instead of direct bv calling
5466         * lyx_cb.[Ch] (ShowMessage): removed
5467         * lyx_main.C:
5468         * lyxfunc.C:
5469         * paragraph_funcs.C:
5470         * text2.C: use buffer signals
5471
5472 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5473
5474         * introduce namespace lyx::graphics
5475
5476 2003-07-02  André Pönitz  <poenitz@gmx.net>
5477
5478         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5479
5480 2003-07-01  André Pönitz  <poenitz@gmx.net>
5481
5482         * text.C:
5483         * text2.C:
5484         * text3.C:
5485         * text_funcs.[Ch]:
5486         * textcursor.h:
5487         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5488           text*.C to text_func.C
5489
5490 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5491
5492         * introduce namespace lyx::support
5493
5494 2003-06-30  André Pönitz  <poenitz@gmx.net>
5495
5496         * Chktex.C:
5497         * funcrequest.C:
5498         * lyxtext.h:
5499         * text.C: re-enable --with-included-string
5500
5501 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * textcursor.C: add <config.h>
5504
5505         * text.C (getWord): remove const from word_location arg
5506
5507         * lyxvc.C (getLogFile): fix const type order
5508
5509         * lyxtext.h: remove const from word_location arg, add arg name
5510
5511         * lyxlayout.h: currect type on labeltype.
5512
5513         * importer.C: correct \file
5514
5515         * converter.C (intToFormat): use std:: on ret val, ws changes
5516
5517         * bufferlist.h: correct \file
5518
5519         * buffer.C (makeLinuxDocFile): fix const type order
5520         (makeDocBookFile): ditto
5521         (fillWithBibKeys): use std:: on stdlib args.
5522
5523         * CutAndPaste.C: fix authors.
5524         (availableSelections): use std:: on return vector
5525
5526 2003-06-27  André Pönitz  <poenitz@gmx.net>
5527
5528         * BufferView_pimpl.C:
5529         * bufferview_funcs.C:
5530         * lyxcursor.C:
5531         * lyxcursor.h:
5532         * lyxfunc.C:
5533         * lyxtext.h:
5534         * rowpainter.C:
5535         * text.C:
5536         * text2.C:
5537         * text3.C: remove LyXCursor::row_ member
5538
5539         * lyxtext.h:
5540         * text.C: rename fullRebreak() to partialRebreak() and implement
5541           a fullRebreak() that really bereks fully
5542
5543         * textcursor.h: new struct for cursor-related data
5544
5545 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5546
5547         * lyx_main.C (LyX): get full path of document loaded on the
5548         command line
5549
5550 2003-06-26  André Pönitz  <poenitz@gmx.net>
5551
5552         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5553           remove unused/broken operator>,<,>=.
5554
5555         *       text.C: remove only use of broken operator<= in an Assert().
5556
5557 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5558
5559         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5560         moved errorlist_.clear to showErrorList
5561
5562 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5563
5564         * converter.C (scanLog, runLaTeX):
5565         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5566         move the bv->showErrorList call to the callers
5567         * lyxfunc.C: i.e. here...
5568         * text2.C: and here
5569         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5570         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5571         namespace, the second to...
5572         * buffer_funcs (BufferFormat, parseErrors): added
5573         * errorlist.C (ErrorList(TeXErrors const &)): removed
5574
5575 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5576
5577         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5578
5579 2003-06-24  "Garst R. Reese" <reese@isn.net>
5580
5581         * debug.C: fix typo
5582
5583 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5584
5585         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5586
5587         * version.C.in: change docversion to 1.4
5588
5589 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5590
5591         * buffer.C: fix a bug just introduced
5592
5593 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5594
5595         * buffer.[Ch]: added the parseError signal and use it, removed
5596         sgmlError
5597         * BufferView.[Ch] (addError): moved to ...
5598         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5599         to the Buffer::parseError signal to catch (guess what) parse errors
5600         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5601
5602 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5603
5604         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5605         ability to create a buffer and to return an existing one from
5606         the list. Moved these functions to...
5607         * buffer_funcs.[Ch]: added
5608         * BufferView.[Ch] (loadLyXFile): added
5609         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5610         job removed from bufferlist::loadLyXFile.
5611         * buffer.C (setReadOnly): make it work without view
5612         (i.e added an if (users))
5613
5614 2003-06-19  Angus Leeming  <leeming@lyx.org>
5615
5616         * lfuns.h:
5617         * LyXAction.C (init):
5618         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5619         with LFUN_DIALOG_SHOW <name> <data>.
5620
5621 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5622
5623         * CutAndPaste.C (availableSelections): small compilation fix for
5624         ancient (gcc 2.9x) compilers
5625
5626 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * text3.C (cursorNext): add tmp var
5629
5630         * text2.C (updateCounters): for function calling out of for clause
5631         (replaceSelectionWithString): ditto
5632         (insertStringAsParagraphs): ditto
5633         (getColumnNearX): add tmp var
5634         (setCursorFromCoordinates): add tmp var
5635         (cursorDownParagraph): add tmp var
5636         (deleteEmptyParagraphMechanism): add tmp var
5637
5638         * text.C (insertChar): add tmp var
5639
5640         * rowpainter.C (paintDepthBar): add tmp var
5641
5642         * CutAndPaste.C (availableSelections): potentially check all
5643         paragraphs in a cut to fill the shown strings.
5644
5645 2003-06-18  André Pönitz  <poenitz@gmx.net>
5646
5647         * kbmap.[Ch]: use vector<> instead of list<>
5648
5649 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5650
5651         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5652         pasteSelection with index
5653
5654         * text2.C (pasteSelection): modify, call pasteSelection with index
5655
5656         * paragraph.C (asString): reimplement version with no interval to
5657         call the one with interval.
5658
5659         * lyxtext.h: add index arg to pasteSelection
5660
5661         * MenuBackend.C (MenuItem): handle PasteRecent
5662         (Menu::read::Menutags): add md_pasterecent
5663         (read): handle it
5664         (expandPasteRecent): new function
5665         (expand): use it
5666
5667         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5668
5669         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5670         the limited stack
5671         (availableSelections): new function
5672
5673 2003-06-17  Angus Leeming  <leeming@lyx.org>
5674
5675         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5676
5677 2003-06-17  Angus Leeming  <leeming@lyx.org>
5678
5679         * lfuns.h:
5680         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5681
5682         * lyxfunc.C (dispatch): invoke it.
5683
5684 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5685
5686         * iterators.C (operator++, ParPosition): reintroduce some
5687         const_cast for the benefit of older compilers.
5688
5689 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5690
5691         * text3.C (dispatch): do not modify clipboard when doing
5692         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5693         LFUN_DELETE_SKIP on a selection selection
5694
5695 2003-06-16  André Pönitz  <poenitz@gmx.net>
5696
5697         * BufferView.C:
5698         * buffer.C:
5699         * buffer.h:
5700         * paragraph.C:
5701         * tabular.[Ch]: IU of clone() and getLabelList();
5702
5703 2003-06-13  André Pönitz  <poenitz@gmx.net>
5704
5705         * tabular.h: compactification
5706
5707 2003-06-12  André Pönitz  <poenitz@gmx.net>
5708
5709         * tabular.C:
5710         * tabular.h:
5711         * tabular_funcs.h: some renaming plus whitespace
5712
5713 2003-06-12  André Pönitz  <poenitz@gmx.net>
5714
5715         * BufferView.C:
5716         * BufferView_pimpl.C:
5717         * CutAndPaste.C:
5718         * buffer.C:
5719         * iterators.[Ch]:
5720         * lyxfunc.C:
5721         * text.C:
5722         * toc.C: Return a Paragraph & for ParIterator::operator*()
5723
5724 2003-06-11  John Levon  <levon@movementarian.org>
5725
5726         * lyx_main.C:
5727         * ToolbarBackend.h:
5728         * ToolbarBackend.C: add "Toolbars" section and
5729         put the flags there
5730
5731 2003-06-10  Angus Leeming  <leeming@lyx.org>
5732
5733         * lfuns.h:
5734         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5735
5736         * lyxfunc.C (dispatch): invoke it.
5737
5738 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * main.C: protect <ios> with HAVE_IOS
5741         (main): protect sync_with_stdio with HAVE_IOS
5742
5743 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5744
5745         * text2.C (cutSelection): adjust
5746         (pasteSelection): adjust
5747
5748         * messages.C: handle get of empty string
5749
5750         * main.C (main): use sync_with_stdio(false)
5751
5752         * lyxfunc.C (dispatch): adjust
5753
5754         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5755         (WriteAs): remove unneeded BufferView arg.
5756
5757         * bufferparams.h: use correct types on papersize, papersize2 and
5758         paperpackage.
5759
5760         * bufferparams.C (readToken): adjust for type
5761         (writeLaTeX): add missing cases to switch.
5762
5763         * bufferlist.C (quitWriteBuffer): adjust
5764         (close): adjust
5765
5766         * buffer.C (asciiParagraph): remove some commented code.
5767
5768         * CutAndPaste.C: remove current_view extern variable.
5769         (cutSelection): add BufferParams arg.
5770         (eraseSelection): add BufferParams arg.
5771         (pasteSelection): add Buffer const & arg
5772
5773 2003-06-07  John Levon  <levon@movementarian.org>
5774
5775         * buffer.C:
5776         * paragraph_funcs.C:
5777         * paragraph_pimpl.C:
5778         * text.C:
5779         * text2.C:
5780         * paragraph.h:
5781         * paragraph.C: allow InsetERT to freely space lines,
5782         and some consolidation of code
5783
5784 2003-06-06  José Matos  <jamatos@fep.up.pt>
5785
5786         * buffer.C (makeDocBookFile): fix bug #821
5787
5788 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5789
5790         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5791
5792 2003-06-04  Angus Leeming  <leeming@lyx.org>
5793
5794         * buffer.C: bump format to 224.
5795
5796 2003-06-05  André Pönitz  <poenitz@gmx.net>
5797
5798         * text2.C (redoParagraphs): remove two const_cast<>
5799
5800 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5801
5802         * ParagraphList.h: remove last remnants of NO_STD_LIST
5803
5804 2003-06-03  Angus Leeming  <leeming@lyx.org>
5805
5806         * factory.C (createInset): small change to the way InsetExternal's params
5807         are set.
5808
5809 2003-06-04  André Pönitz  <poenitz@gmx.net>
5810
5811         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5812
5813         * paragraph_pimpl.h:
5814         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5815
5816         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5817
5818         * undo_funcs.C: make some simple cases of undo work again
5819
5820 2003-06-03  John Levon  <levon@movementarian.org>
5821
5822         * ispell.C: HPUX doesn't have sys/select.h
5823         (from Albert Chin)
5824
5825 2003-06-03  John Levon  <levon@movementarian.org>
5826
5827         * CutAndPaste.C: update tabular and include inset
5828         buffer references
5829
5830         * buffer.h:
5831         * paragraph.h:
5832         * paragraph.C: remove owningBuffer(), don't pass Buffer
5833         to clone()
5834
5835         * factory.C: insetGraphicsParams changed
5836
5837 2003-06-02  John Levon  <levon@movementarian.org>
5838
5839         * LyXAction.C:
5840         * factory.C:
5841         * lfuns.h:
5842         * lyxfunc.C:
5843         * text3.C: remove insetparent
5844
5845 2003-06-02  John Levon  <levon@movementarian.org>
5846
5847         * buffer.h:
5848         * buffer.C: fix inset_iterator.end(), move out of line
5849         (bug 1149)
5850
5851 2003-06-01  John Levon  <levon@movementarian.org>
5852
5853         * text3.C: use a proper cut/paste when doing inset
5854         insert (from Jürgen Spitzmüller)
5855
5856 2003-06-01  John Levon  <levon@movementarian.org>
5857
5858         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5859
5860 2003-05-30  André Pönitz  <poenitz@gmx.net>
5861
5862         * rowpainter.C: unify second drawing phase
5863
5864 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5865
5866         * trans_mgr.C: remove one case of current_view
5867
5868         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5869
5870         * paragraph_funcs.h: remove paragraph.h include
5871
5872         * paragraph.h: delete NO_STD_LIST stuff
5873
5874         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5875
5876         * buffer.h: remove paragraph.h include
5877
5878         * ParagraphList.C: delete file
5879
5880         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5881
5882         * toc.C (getTocList): adjust
5883
5884         * paragraph_pimpl.C (validate): adjust
5885
5886         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5887
5888         * paragraph.C (Paragraph): adjust
5889         (getPositionOfInset): use const_iterator, adjust
5890         (bibitem): use const_iterator, adjust
5891         (setInsetOwner): adjust
5892
5893         * iterators.C (operator++): adjust
5894
5895         * InsetList.[Ch]: Replace selfmade iterator with standard
5896         vector::iterator also introduce const_iterator. Remove getPos,
5897         getInset and setInset from InsetTable. Adjust accordingly.
5898
5899         * BufferView.C (lockInset): adjust
5900         (ChangeInsets): adjust
5901
5902         * tabular.[Ch]: delete commented same_id functions
5903
5904 2003-05-28  John Levon  <levon@movementarian.org>
5905
5906         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5907
5908 2003-05-28  André Pönitz  <poenitz@gmx.net>
5909
5910         * metricsinfo.[Ch]: remove 'fullredraw' member
5911
5912 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5913
5914         * lyxtextclass.C (operator): remove caching.
5915
5916 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * text3.C: adjust
5919
5920         * text2.C (cursorBottom): adjust
5921         (setCounter): use ParagraphList::find, adjust
5922
5923         * text.C (workWidth): use ParagraphList::find, adjust
5924
5925         * lyxcursor.C (LyXCursor): adjust
5926
5927         * buffer.C (inset_iterator): adjust
5928
5929         * ParagraphList.h: make iterator(value_type) private, make
5930         ParagraphList a friend of iterator.
5931
5932         * ParagraphList.C (find): new function
5933
5934         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5935
5936 2003-05-27  André Pönitz  <poenitz@gmx.net>
5937
5938         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5939
5940 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5941
5942         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5943
5944 2003-05-26  John Levon  <levon@movementarian.org>
5945
5946         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5947
5948 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * remove same_id from function signatures, adjust.
5951
5952 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5955
5956         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5957
5958         * paragraph.C (Paragraph): get rid of same_ids parameter
5959
5960         * ParagraphList.C (insert): adjust
5961         (push_back): adjust
5962
5963 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5964
5965         * paragraph_funcs.C (breakParagraph): adjust
5966         (breakParagraphConservative): adjust
5967
5968         * buffer.C (readParagraph): adjust
5969
5970         * ParagraphList.C (insert): take a reference instead of a pointer
5971         (insert): adjust
5972
5973         * paragraph.[Ch] (id): new function
5974
5975         * bufferlist.C (newFile): adjust
5976
5977         * ParagraphList.C (ParagraphList): adjust
5978         (assign): adjust
5979         (push_back): take a reference instead of a pointer.
5980
5981         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5982
5983         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5984         instead.
5985
5986         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5987         set else use old code.
5988
5989         * ParagraphList.C: remove all NO_NEXT code and only compile this
5990         code of NO_STD_LIST is set.
5991
5992 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5993
5994         * BufferView_pimpl.C:
5995         * TextCache.C:
5996         * TextCache.h:
5997         * bufferlist.C:
5998         * errorlist.h:
5999         * format.C:
6000         * format.h:
6001         * graph.C:
6002         * lyxfunc.C:
6003         * lyxrc.C:
6004         * graphics/GraphicsConverter.C:
6005         * graphics/PreviewLoader.C: header adjustment
6006
6007 2003-05-23  Angus Leeming  <leeming@lyx.org>
6008
6009         * LaTeXFeatures.[Ch] (useBabel): new method.
6010         * bufferparams.C (writeLaTeX): use it.
6011
6012 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * ParagraphList.h (set): remove unused function.
6015
6016 2003-05-23  André Pönitz  <poenitz@gmx.net>
6017
6018         * BufferView.C:
6019         * BufferView_pimpl.C:
6020         * buffer.C:
6021         * buffer.h:
6022         * lyxfunc.C:
6023         * undo_funcs.C: setUndo reworked
6024
6025         * iterators.[Ch]: add access to topmost ParagraphList
6026
6027         * lyxtext.[Ch] (workWidth): add a const
6028
6029 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6030
6031         * texrow.[Ch] (increasePos): remove function
6032         * exporter.C (export): removed unused var and outdated comment
6033
6034 2003-05-23  Angus Leeming  <leeming@lyx.org>
6035
6036         * latexrunparams.h: rename fragile as moving_arg.
6037         * paragraph.C (simpleTeXOnePar): ditto.
6038         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6039
6040 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6043         (createUndo): ditto
6044         (textUndoOrRedo): comment out a currently unused var.
6045
6046         * paragraph.h (NO_NEXT): enable NO_NEXT
6047
6048         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6049
6050         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6051
6052         * exporter.C (Export): adjust for removeAutoInsets removal.
6053
6054         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6055
6056         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6057
6058         * BufferView.[Ch] (removeAutoInsets): delete function
6059
6060 2003-05-22  Angus Leeming  <leeming@lyx.org>
6061
6062         * latexrunparams.h: add a free_spacing variable.
6063
6064         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6065         to pass moving_arg, as the data is stored in runparams.fragile.
6066
6067         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6068         to Inset::latexOptional or to simpleTeXOnePar.
6069
6070         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6071         free_spacing arg to Inset::latexOptional.
6072
6073         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6074         free_spacing arg.
6075
6076 2003-05-22  Angus Leeming  <leeming@lyx.org>
6077
6078         * latexrunparams.h: add fragile and use_babel variables.
6079
6080         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6081         * buffer.C (makeLaTeXFile): store this returned value in
6082         runparams.use_babel, thus passing it to the inset::latex methods.
6083
6084         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6085         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6086
6087         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6088         longer has a fragile arg, as it is stored in runparams.fragile.
6089
6090         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6091         moving_arg parameter as the data is stored in runparams.fragile.
6092
6093         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6094         a fragile parameter as the data is stored in runparams.fragile.
6095
6096 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6099
6100 2003-05-22  Angus Leeming  <leeming@lyx.org>
6101
6102         * latexrunparams.h: add a 'bool nice' which defaults to false.
6103
6104         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6105         now encapsulated within runparams.
6106
6107         * bufferlist.C (updateIncludedTeXfiles):
6108         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6109
6110 2003-05-22  Angus Leeming  <leeming@lyx.org>
6111
6112         * latexrunparams.h: new file containing struct LatexRunParams.
6113         * Makefile.am: add new file.
6114
6115         * LaTeX.[Ch] (c-tor, run):
6116         * buffer.[Ch] (makeLaTeXFile):
6117         * bufferlist.[Ch] (updateIncludedTeXfiles):
6118         * converter.C (convert, scanLog):
6119         * converter.[Ch] (runLaTeX):
6120         * exporter.C (Export):
6121         * paragraph.[Ch] (simpleTeXOnePar):
6122         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6123         * paragraph_funcs.[Ch] (latexParagraphs):
6124         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6125         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6126         pass around a LatexRunParams parameter.
6127
6128 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * paragraph.[Ch]: remove unused constructor
6131
6132         * ParagraphList.C (erase): new function, taking two iterators
6133
6134 2003-05-22  André Pönitz  <poenitz@gmx.net>
6135
6136         * undo_funcs.C: remove duplicated code
6137
6138         * iterator.[Ch]: operator=
6139
6140 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * tabular.C (SetMultiColumn): ws changes
6143
6144         * rowpainter.C (paintFirst): get rid of a ->previous
6145
6146         * lyx_cb.C (getPossibleLabel): parlist simplification
6147
6148         * BufferView.C (ChangeInsets): simplify slightly.
6149
6150 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6151
6152         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6153         * lfuns.h: new LFUN_SPACE
6154         * lyxfunc.C: protected space has a new lfun
6155         * paragraph_funcs.C: read new space insets
6156         * text3.C:
6157         * factory.C: handle new space insets
6158
6159 2003-05-22  André Pönitz  <poenitz@gmx.net>
6160
6161         * BufferView.C:
6162         * BufferView_pimpl.C:
6163         * buffer.[Ch]:
6164         * lyxfunc.C:
6165         * undo_funcs.C: return a ParIterator from getParFromID.
6166
6167         * iterators.[Ch]: add two const's
6168
6169 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * toc.C (getTocList): adjust
6172
6173         * iterators.[Ch]: rework for parlist
6174
6175         * buffer.C (par_iterator_begin): adjust
6176         (par_iterator_end): adjust
6177
6178         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6179
6180         * BufferView.C (removeAutoInsets): adjust
6181         (ChangeInsets): adjust
6182
6183 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6184
6185         * text.C (top_y): fix bug 1110
6186
6187 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6188
6189         * errorlist.[Ch]: added
6190         * buffer.C:
6191         * BufferView.[Ch]:
6192         * BufferView_pimpl.C:
6193         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6194         instead
6195
6196 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * Makefile.am: ensure that lyx is relinked upon changes to the
6199         various "convenience" libs.
6200
6201 2003-05-20  Angus Leeming  <leeming@lyx.org>
6202
6203         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6204         files are compiled in alphabetical order again.
6205
6206         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6207
6208 2003-05-19  Angus Leeming  <leeming@lyx.org>
6209
6210         * gettext.[Ch]: remove "char const * _(char const *)".
6211
6212 2003-05-19  André Pönitz  <poenitz@gmx.net>
6213
6214         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6215
6216         * Makefile.am:
6217         * BufferView.C:
6218         * DepTable.h:
6219         * LaTeXFeatures.C:
6220         * buffer.C:
6221         * lyxfont.C:
6222         * lyxlex.h:
6223         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6224
6225 2003-05-19  André Pönitz  <poenitz@gmx.net>
6226
6227         * buffer.C:
6228         * lyxlayout.[Ch]:
6229         * lyxtextclass.[Ch]:
6230         * paragraph.C:
6231         * paragraph_funcs.[Ch]:
6232         * text2.C:
6233         * text3.C: more insetenv work
6234
6235 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6236
6237         * ParagraphParameters.C (params2string): small bug fixed
6238
6239 2003-05-16  André Pönitz  <poenitz@gmx.net>
6240
6241         * debug.C:
6242         * bufferview_funcs.C: patch from Kornel Benko to prevent
6243           crash when _(...) is called twice in a statement
6244
6245 2003-05-16  André Pönitz  <poenitz@gmx.net>
6246
6247         * BufferView.C:
6248         * lyxfunc.C:
6249         * text.C:
6250         * text2.C:
6251         * text3.C:
6252         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6253
6254 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6255
6256         * lyx_main.C (init): remove spurious static_cast
6257
6258 2003-05-14  André Pönitz  <poenitz@gmx.net>
6259
6260         * BufferView.C: fix format string
6261
6262 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6263
6264         * BufferView.[Ch] (insertErrors): removed
6265         * BufferView.[Ch] (showErrorList): added
6266         * buffer.C (runChkTeX):
6267         * converter.C (scanLog): call showErrorList instead of inserterrors
6268
6269 2003-05-13  André Pönitz  <poenitz@gmx.net>
6270
6271         * BufferView_pimpl.C:
6272         * buffer.C:
6273         * bufferview_func.C:
6274         * MenuBackend.C:
6275         * lyxfunc.C:
6276         * lyxrc.C:
6277         * tex-accent.C:
6278         * text3.C:
6279         * toc.C:
6280         * tabular_funcs.h: tostr() from its own header
6281
6282         * ParagraphParameters.C:
6283         * ToolbarBackend.C:
6284         * bufferparams.C:
6285         * format.C:
6286         * lyxlex_pimpl.C:
6287         * text3.C: STRCONV()
6288
6289 2003-05-12  André Pönitz  <poenitz@gmx.net>
6290
6291         * BufferView.C:
6292         * BufferView_pimpl.C:
6293         * CutAndPaste.C:
6294         * LaTeX.C:
6295         * LaTeXFeatures.C:
6296         * ParagraphParameters.C:
6297         * buffer.C:
6298         * bufferlist.C:
6299         * bufferparams.C:
6300         * bufferview_funcs.C:
6301         * converter.C:
6302         * counters.C:
6303         * debug.C:
6304         * exporter.C:
6305         * format.C:
6306         * importer.C:
6307         * lyx_cb.C:
6308         * lyx_main.C:
6309         * lyxfont.C:
6310         * lyxfunc.C:
6311         * lyxvc.C:
6312         * paragraph.C:
6313         * paragraph_funcs.C:
6314         * tabular.C:
6315         * tabular_funcs.C:
6316         * text2.C:
6317         * text3.C:  boost::format -> bformat  all over the place
6318
6319
6320 2003-05-09  André Pönitz  <poenitz@gmx.net>
6321
6322         * LColor.[Ch]: Pimpl the #include <map> away
6323
6324 2003-05-09  John Levon  <levon@movementarian.org>
6325
6326         * bufferlist.C: never remove emergency saves
6327
6328 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * Makefile.am: better lib building
6331
6332 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6335         instead.
6336         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6337         (simpleTeXSpecialChars): adjust
6338         (simpleTeXSpecialChars): adjust
6339         * paragraph.C (simpleTeXOnePar): adjust
6340         * buffer.C (makeLaTeXFile): adjust
6341
6342         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6343
6344         * text2.C (changeDepth): parlist cleanup
6345         (getColumnNearX): ditto
6346
6347         * rowpainter.C (getLabelFont): parlist cleanup
6348
6349         * bufferlist.C (newFile): parlist cleanup
6350
6351         * CutAndPaste.C (eraseSelection): parlist cleanup
6352
6353         * BufferView_pimpl.C (trackChanges): parlist cleanup
6354         (dispatch): ditto
6355
6356         * BufferView.C (lockInset): parlist cleanup.
6357         (ChangeInsets): ditto
6358
6359 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6360
6361         * CutAndPaste.h: Update file header.
6362
6363         * CutAndPaste.C: Update file header.
6364         Store the parts cut out of the Document in a limited_stack.
6365         (copySelection): adjust
6366         (pasteSelection): new function, takes the index in the limited stack.
6367         (nrOfParagraphs): adjust
6368         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6369         simplify error inset insertion.
6370         (checkPastePossible): adjust
6371
6372 2003-05-06  John Levon  <levon@movementarian.org>
6373
6374         * text2.C: don't cast wrap inset to float
6375
6376 2003-05-05  André Pönitz  <poenitz@gmx.net>
6377
6378         * iterator.C:
6379         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6380
6381         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6382           few naked Paragraph *.
6383
6384 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6385
6386         * bufferparams.C: Output warning if a document with missing
6387         TeX document class is loaded
6388         * exporter.C: Disable TeX exports if the document class is missing
6389         * lyxtextclass.C:
6390         * lyxtextclass.h:
6391         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6392         isTeXClassAvailable()
6393
6394 2003-05-03  John Levon  <levon@movementarian.org>
6395
6396         * BufferView.h:
6397         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6398         explicit cursor show/hide
6399
6400         * BufferView_pimpl.h:
6401         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6402         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6403
6404         * lyxfunc.C: hide cursor before dispatching.
6405
6406         * lyx_cb.C:
6407         * lyxfind.C:
6408         * text.C:
6409         * text3.C: remove explicit cursor hides
6410
6411 2003-05-02  André Pönitz  <poenitz@gmx.net>
6412
6413         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6414
6415         * undo_funcs.C:
6416         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6417           linked lists
6418
6419         * text2.C: tiny whitespace
6420
6421 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * undo_funcs.C: almost only ws changes.
6424
6425         * ParagraphList.C (splice): just return if pl is empty.
6426
6427 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * ParagraphList.C (splice): new function.
6430
6431         * CutAndPaste.C (pasteSelection): use it
6432
6433 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6434
6435         * CutAndPaste.C (pasteSelection): remove the last next and
6436         previous from this file.
6437
6438 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * CutAndPaste.C (pasteSelection): more clean up, user proper
6441         ParagraphList functions for pasteing.
6442
6443         * ParagraphList.C (insert): new function, three arg insert
6444
6445 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * ParagraphList.C (insert): new function, three arg insert
6448
6449         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6450         not on paragraphs.
6451
6452 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6455
6456 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6459
6460 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6463         (copySelection): clean up a bit.
6464         (pasteSelection): use make_pair
6465
6466         * ParagraphList.C (ParagraphList): implement copy constructor
6467         (operator=): implement, base on copy constructor.
6468         (assign): new func
6469
6470         * paragraph.C (erase): return a bool
6471
6472         * paragraph_pimpl.C (erasePos): remove function, move contents...
6473         (erase): ... here. Return a bool.
6474         (erase): call erase instead of erasePos.
6475
6476 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6477
6478         * ParagraphList.h: define PitPosPair
6479         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6480         ParagraphList, fix a bug on pasting multiple pars
6481         * text2.C: change interface to C&P
6482
6483 2003-04-30  André Pönitz  <poenitz@gmx.net>
6484
6485         * undo_func.C: revert part of yesterday's patch 2
6486
6487 2003-04-30  John Levon  <levon@movementarian.org>
6488
6489         * LColor.C: s/tabular/table/
6490
6491 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * text3.C (dispatch): do not convert iterator -> pointer
6494         * undo_funcs.C (setCursorParUndo): ditto
6495         * text_funcs.C (transposeChars): ditto
6496
6497         * text2.C (setLayout): ws changes only
6498
6499         * text.C (breakParagraph): do not convert iterator -> pointer
6500         (insertChar): ditto
6501         (acceptChange): ditto
6502         (rejectChange): ditto
6503         (changeCase): ditto
6504         (Delete): ditto
6505         (backspace): ditto
6506
6507         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6508         pointer
6509
6510 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6511
6512         * text3.C (gotoInset): YABG (yet another bad getChar)
6513
6514 2003-04-29  André Pönitz  <poenitz@gmx.net>
6515
6516         * paragraph.h: make operator= private unimplemented as long as
6517           it is unusable
6518
6519         * ParagraphList.C: whitespace
6520
6521         * paragraph.[Ch]:
6522         * paragraph_pimpl.[Ch]:
6523         * paragraph_funcs.C:
6524         * CutAndPaste.C:
6525         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6526
6527         * text2.C:
6528           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6529
6530 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6531
6532         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6533         * paragraph.[Ch] (erase):
6534         * paragraph_pimpl.[Ch] (erase): change return type and value
6535         * text2.C (cutSelection): some rework
6536
6537 2003-04-28  John Levon  <levon@movementarian.org>
6538
6539         * bufferlist.C: changes for unsaved changes dialog
6540
6541 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * bufferlist.C (newFile): set language (messages_) for new
6544         documents also.
6545
6546         * buffer.C (readFile): ws changes only.
6547
6548 2003-04-28  André Pönitz  <poenitz@gmx.net>
6549
6550         * undo_funcs.C:
6551         * lyxfunc.C:
6552         * buffer.[Ch]:
6553         * BufferView_pimpl.C:
6554         * BufferView.C: getParFromID related ParagraphList::iterator changes
6555
6556 2003-04-28  André Pönitz  <poenitz@gmx.net>
6557
6558         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6559           Changes
6560
6561 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * messages.C: remove one more localedir class variable.
6564
6565 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * messages.C (getLocaleDir): singleton generation function
6568         (Pimpl): use it.
6569         (Messages): add a default constructor.
6570
6571         * main.C (main): do not setup localedir here, do not call
6572         gettext_init.
6573
6574         * gettext.C (_): use it.
6575         (gettext_init): delete funciton
6576
6577 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * gettext.C (getLyXMessages): new singleton generating function.
6580
6581         * buffer.C (updateDocLang): adjust
6582
6583         * Makefile.am (messages.o): add target
6584         (main.o): remove target
6585
6586 2003-04-27  John Levon  <levon@movementarian.org>
6587
6588         * bufferlist.C:
6589         * lyx_cb.C:
6590         * lyxfunc.C:
6591         * lyxvc.C: specify cancel button in Alert::prompt
6592
6593 2003-04-26  John Levon  <levon@movementarian.org>
6594
6595         * text3.C:
6596         * lyxfunc.C:
6597         * lfuns.h:
6598         * LyXAction.C: add LFUN_INSET_SETTINGS
6599
6600         * lyxfunc.C: don't enable tabular-feature when there's
6601         just any locking inset
6602
6603 2003-04-26  John Levon  <levon@movementarian.org>
6604
6605         * bufferlist.C: re-add Cancel to buffer close question
6606
6607         * lyxfunc.C: fix import UI a bit
6608
6609 2003-04-25  John Levon  <levon@movementarian.org>
6610
6611         * gettext.C: remove the broken asserts for now
6612
6613 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * messages.C: make case where setlocale cannot comply work better.
6616
6617         * buffer.C (updateDocLang): new function
6618         (changeLanguage): use it
6619         (readFile): use it
6620
6621         * text2.C (setCounter): use B_ a bit.
6622
6623         * lyxlayout.C (Read): be sure to trim the label strings.
6624
6625         * messages.C (Messages): fix typo in comment
6626
6627         * buffer.C (readFile): set message_ after file is loaded.
6628         (makeDocBookFile): remove double return
6629         (changeLanguage): reset message_ upon language change.
6630         (B_): new func, use this to get translated buffer strings.
6631
6632         * main.C: add myself and Jean Marc as authors.
6633
6634 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * messages.[hC]: pimplify Messages, and three different pimpls to be
6637         used in different circumstances.
6638
6639         * gettext.[Ch]: change for use with new message code.
6640
6641 2003-04-24 André Pönitz <poenitz@gmx.net>
6642
6643         * factory.C: support for eqref
6644
6645 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * messages.[Ch]: add missing char
6648
6649         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6650
6651         * messages.[Ch]: New files
6652
6653 2003-04-18  John Levon  <levon@movementarian.org>
6654
6655         * BufferView.h:
6656         * BufferView.C:
6657         * BufferView_pimpl.C:
6658         * lfuns.h:
6659         * LyXAction.C:
6660         * lyxtext.h:
6661         * text2.C: remove layout-copy/paste (bug 778)
6662
6663 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6664
6665         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6666
6667 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6668
6669         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6670         if they succeed. Act accordingly.
6671
6672 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6673
6674         * text2.C (setCharFont): adjust
6675         (setCounter): adjust
6676         (insertStringAsLines): adjust
6677
6678         * text.C (leftMargin): adjust
6679         (setHeightOfRow): adjust
6680
6681         * rowpainter.C (paintFirst): adjust
6682         (paintLast): adjust
6683
6684         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6685         (outerHook): ditto
6686         (isFirstInSequence): ditto
6687         (getEndLabel): ditto
6688         (outerFont): adjust
6689
6690         * paragraph.C (getParLanguage): comment out some hard stuff.
6691
6692         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6693         (sgmlError): ditto
6694         (simpleDocBookOnePar): ditto
6695         (makeDocBookFile): use ParagraphList::iterator
6696
6697         * CutAndPaste.C (pasteSelection): adjust
6698
6699 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * text2.C (getFont): adjust
6702         (getLayoutFont): adjust
6703         (getLabelFont): adjust
6704
6705         * paragraph_funcs.C (TeXOnePar): adjust
6706
6707         * buffer.C (simpleLinuxDocOnePar): adjust
6708         (simpleDocBookOnePar): adjust
6709
6710         * CutAndPaste.C (pasteSelection): adjust
6711
6712         * BufferView.C (getEncoding): adjust
6713
6714         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6715
6716 2003-04-16  John Levon  <levon@movementarian.org>
6717
6718         * lyxfind.C: use parlist stuff for search/changes
6719
6720 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6723
6724         * text2.C (deleteEmptyParagraphMechanism): adjust
6725
6726         * text2.[Ch] (ownerParagraph): delete func (both of them
6727
6728 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6731
6732 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * ParagraphList.C: prepare for NO_NEXT
6735
6736 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * text2.C (getFont): adjust
6739         (getLayoutFont): adjust
6740         (getLabelFont): adjust
6741
6742         * paragraph.C (getFont): adjust
6743         (getLabelFont): adjust
6744         (getLayoutFont): adjust
6745
6746         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6747
6748 2003-04-15  John Levon  <levon@movementarian.org>
6749
6750         From Angus Leeming
6751
6752         * lyx_main.C: handle Include in .ui files
6753
6754 2003-04-15  John Levon  <levon@movementarian.org>
6755
6756         * MenuBackend.C: make the doc files length shorter
6757
6758         * ToolbarBackend.h:
6759         * ToolbarBackend.C: handle toolbar placement flags,
6760         Minibuffer
6761
6762 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6765         adjust
6766
6767         * paragraph_funcs.C (TeXOnePar): adjust
6768
6769         * paragraph.C (getLabelFont): add outerfont arg, adjust
6770         (getLayoutFont): ditto
6771         (simpleTeXOnePar): adjust
6772
6773         * paragraph_pimpl.C (realizeFont): delete func
6774
6775 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6776
6777         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6778         row argument, constify cur argument.
6779
6780 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * text2.C (getFont): adjust
6783         (getLayoutFont): adjust
6784         (getLabelFont): adjust
6785
6786         * paragraph_funcs.C (TeXOnePar): adjust
6787         (outerFont): new func...
6788         (realizeFont): ...moved out from here, changed this to facilitate
6789         transition
6790
6791         * paragraph.C (getFont): take outerfont as arg, adjust
6792         (simpleTeXOnePar): add outerfont arg, adjust
6793
6794         * buffer.C (simpleLinuxDocOnePar): adjust
6795         (simpleDocBookOnePar): adjust
6796
6797         * CutAndPaste.C (pasteSelection): adjust
6798
6799         * BufferView.C (getEncoding): adjust
6800
6801 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * text2.C (setCharFont): adjust
6804         (setCounter): adjust
6805
6806         * text.C (leftMargin): adjust
6807         (setHeightOfRow): adjust
6808
6809         * rowpainter.C (paintFirst): adjust
6810         (paintLast): adjust
6811
6812         * paragraph_pimpl.C (realizeFont): adjust
6813
6814         * paragraph.C (isFirstInSequence): move from here...
6815         * paragraph_funcs.C (isFirstInSequence): ...to here
6816
6817         * paragraph.C (outerHook): move from here...
6818         * paragraph_funcs.C (outerHook): ...to here
6819
6820         * paragraph.C (depthHook): move from here...
6821         * paragraph_funcs.C (depthHook): ...to here
6822
6823         * paragraph.C (getEndLabel): move from here...
6824         * paragraph_funcs.C (getEndLabel): ...to here
6825
6826         * text2.C (realizeFont): move from here...
6827         * paragraph_funcs.C (realizeFont): ...to here
6828
6829 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6830
6831         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6832
6833 2003-04-14  Angus Leeming  <leeming@lyx.org>
6834
6835         * LColor.[Ch]: scrap LColor mathcursor.
6836
6837 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6838
6839         * lyxlex.[Ch] (text): delete function
6840         * trans.C (Load): adjust
6841         * paragraph_funcs.C (readParToken): adjust
6842
6843 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6846         vector<char> instead of a char[].
6847
6848         * lyxlex_pimpl.C (getString): adjust
6849         (next): adjust
6850         (lex): use getString
6851         (eatLine): adjust
6852         (nextToken): adjust
6853
6854         * lyxlex.C (text): use pimpl_->getString()
6855         (getBool): ditto
6856         (findToken): ditto
6857
6858 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6861         (makeFontEntriesLayoutSpecific): temp var for par.size()
6862         (setLayout): temp var for ownerParagraphs().end()
6863         (fullRebreak): temp var for rows().end()
6864         (selectionAsString): temp var for boost::next(startpit), realize
6865         that the while really is a regular for loop.
6866         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6867         setCursor in one place.
6868         (setParagraph): temp vr for ownerParagraphs().end()
6869         (updateCounters): make the while loop a for loop
6870         (cutSelection): temp var for ownerParagraphs().end()
6871         (updateInset): make the do {} while() a regular for loop
6872         (getCursorX): use temp vars
6873         (setCurrentFont): use temp vars
6874         (getColumnNearX): use temp vars
6875
6876 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * text.C (transformChar): use temp var for getChar
6879         (computeBidiTables): use temp var for row->par()
6880         (fill): move temp vars for row->par() and pit->layout() earlier in
6881         the function.
6882         (labelFill): use temp var for row->par()
6883         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6884         asc and desc, realize that pit never changes and that firstpit is
6885         just a duplicate and not needed. Exchange rit->par() with pit in a
6886         lot of places.
6887         (breakAgain): use a temp var for boost::next(rit)
6888         (breakAgainOneRow): ditto
6889         (breakParagraph): use a temp var for rows().begin()
6890         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6891         (cursorRightOneWord): use temp var for cursor.par() and
6892         cursor.pos(), remove usage of tmpcursor.
6893         (cursorLeftOneWord): use temp var for cursor.par() and
6894         cursor.pos() only set cur at end of function.
6895
6896 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * text.C, text2.C: exchange all usage of Paragraph::next with
6899         boost::next(ParagraphList::iterator)
6900
6901         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6902
6903         * text2.C (cursorTop): simplify implementation
6904         (cursorBottom): ditto
6905         (setParagraph): use ParagraphList::iterator
6906         (setCurrentFont): adjust
6907         (getColumnNearX): adjust
6908         (cursorRight): adjust
6909         (cursorLeft): remove usage of Paragraph::previous
6910         (cursorUpParagraph): ditto
6911         (deleteEmptyParagraphMechanism): slight cleanup
6912
6913         * text.C (isBoundary): take a Paragraph const & instead of a
6914         pointer as arg.
6915         (addressBreakPoint): ditto
6916         (leftMargin): remove usage of Paragraph::previous.
6917         (setHeightOfRow): ditto
6918         (cursorLeftOneWord): ditto
6919         (selectNextWordToSpellcheck): ditto
6920         (Delete): ditto
6921         (backspace): ditto
6922         (breakParagraph): remove one usage of Paragraph::next
6923         (redoParagraph): ditto
6924         (acceptChange): ditto
6925         (insertChar): adjust
6926         (rowBreakPoint): adjust
6927
6928         * bufferview_funcs.C (toggleAndShow): adjust
6929
6930 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6931
6932         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6933         methods to access it.
6934         * lyxtext.h:
6935         * text.C: Added updateRowPositions to compute all row positions.
6936         Make top_y and getRowNearY() to use the cached y position
6937
6938 2003-04-11  John Levon  <levon@movementarian.org>
6939
6940         * text.C (rowBreakPoint): reintroduce the labelEnd
6941         checks, code copied from the row fill stuff. Deep voodoo.
6942
6943         * text.C (fill): add a comment and debugging for the
6944         next poor soul.
6945
6946 2003-04-11  John Levon  <levon@movementarian.org>
6947
6948         * text.C: make sure fullrow insets get wrapped to the next line,
6949         even when they're in a manual label
6950
6951 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * text2.C (insertParagraph): make it take ParagraphList::iterator
6954         as arg.
6955         (setLayout): make it return ParagraphList::iterator
6956         (redoParagraphs): ditto
6957         (setCounter): ditto
6958         (checkParagraph): ditto
6959
6960         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6961
6962         * text2.C: adjust several funcs.
6963         (realizeFont): take a ParagraphList::iterator as arg.
6964         (getLayoutFont): ditto
6965         (getLabelFont): ditto
6966         (setCharFont): ditto
6967
6968         * text.C: adjust several funcs.
6969
6970 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6971
6972         * text.C (selectNextWordToSpellcheck): don't accidentally
6973         skip insets
6974
6975 2003-04-10  John Levon  <levon@movementarian.org>
6976
6977         * ToolbarBackend.C (getIcon): special handling for
6978         LFUN_MATH_DELIM
6979
6980 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6981
6982         * text2.C (cursorRight): a getChar assert fixed
6983
6984 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * text2.C (getFont): change to take a ParagraphList::iterator
6987         instead of Paragraph*
6988         Adjust several functions.
6989
6990         * text.C (transformChar): change to take a ParagraphList::iterator
6991         instead of Paragraph*
6992         (singleWidth): ditto
6993         Adjust several functions.
6994
6995         * rowpainter.C: adjust several functions
6996         * rowpainter.h:store a ParagraphList::iterator and not a
6997         Paragraph&.
6998
6999
7000 2003-04-09  John Levon  <levon@movementarian.org>
7001
7002         * lyxfunc.C:
7003         * lfuns.h:
7004         * LyXAction.h:
7005         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7006         and the "help" bits as well
7007
7008 2003-04-09  John Levon  <levon@movementarian.org>
7009
7010         * ToolbarBackend.h:
7011         * ToolbarBackend.C: allow multiple toolbars
7012
7013 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7014
7015         * undo_funcs.C (setCursorParUndo): adjust
7016
7017         * text_funcs.C (transposeChars): adjust
7018
7019         * text3.C (gotoNextInset): adjust
7020         (dispatch): adjust
7021
7022         * text2.C (setLayout): adjust
7023         (changeDepth): adjust
7024         (setFont): adjust
7025         (redoParagraphs): adjust
7026         (selectionAsString): adjust
7027         (setParagraph): adjust
7028         (insertInset): adjust
7029         (cutSelection): adjust
7030         (copySelection): adjust
7031         (pasteSelection): adjust
7032         (insertStringAsLines): adjust
7033         (updateInset): adjust
7034         (setCursor): change to take a ParagraphList::iterator parameter
7035         (setCursorIntern): change to take a ParagraphList::iterator parameter
7036         (setCurrentFont): adjust
7037         (cursorLeft): adjust
7038         (cursorRight): adjust
7039         (deleteEmptyParagraphMechanism): adjust
7040
7041         * text.C (breakParagraph): adjust
7042         (insertChar): adjust
7043         (acceptChange): adjust
7044         (rejectChange): adjust
7045         (selectNextWordToSpellcheck): adjust
7046         (changeCase): adjust
7047         (Delete): adjust
7048         (backspace): adjust
7049
7050         * lyxfind.C (SearchForward): adjust
7051         (SearchBackward): adjust
7052         (nextChange): adjust
7053
7054         * lyxcursor.C (par): adjust
7055
7056         * lyxcursor.h: store a ParagraphList::iterator instead of a
7057         Paragraph*
7058
7059         * lyx_cb.C (getPossibleLabel): adjust
7060
7061         * bufferview_funcs.C (toggleAndShow): adjust
7062
7063         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7064         (dispatch): adjust
7065
7066         * BufferView.C (removeAutoInsets): adjust
7067         (lockedInsetStoreUndo): adjust
7068
7069 2003-04-09  John Levon  <levon@movementarian.org>
7070
7071         * ToolbarBackend.C: try icon without argument
7072         if with argument fails
7073
7074 2003-04-08  John Levon  <levon@movementarian.org>
7075
7076         * ToolbarBackend.h:
7077         * ToolbarBackend.C: add getIcon(), handle tooltip,
7078         and change from "Icon" to "Item".
7079
7080 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7081
7082         * BufferView.C (lockInset): another bad getchar crunched
7083
7084 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7085
7086         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7087         again)
7088
7089 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7090
7091         * lyxfind.C (searchForward, searchBackwards): bug 782
7092
7093 2003-04-07  John Levon  <levon@movementarian.org>
7094
7095         * paragraph.C: remove dead comment
7096
7097         * text.C: remove troublesome depth-fiddling code
7098         in leftMargin() and rightMargin() (bug 1017)
7099
7100         * text.C: fix breaking of rows in nested lists
7101         (bug 1004)
7102
7103         * text2.C (updateCounters): fix up depth values
7104         (bug 1013)
7105
7106 2003-04-07  John Levon  <levon@movementarian.org>
7107
7108         * BufferView_pimpl.C: clear message when doc finishes resizing,
7109         and after a mouse event
7110
7111         * lyxfunc.C: clear message after exiting inset
7112
7113 2003-04-07  John Levon  <levon@movementarian.org>
7114
7115         * bufferview_funcs.C: show math status not outside
7116         status in the statusbar
7117
7118 2003-04-07  John Levon  <levon@movementarian.org>
7119
7120         * lyxfunc.C: note status changed after a depth change
7121
7122 2003-04-04  Angus Leeming  <leeming@lyx.org>
7123
7124         * LaTeX.h: move AuxInfo operator==, != out of line.
7125         Remove LaTeX virtual destructor; nothing derives from it.
7126         Move operator()() out of public area and rename it startscript().
7127         Change protected for private.
7128
7129 2003-04-04  Angus Leeming  <leeming@lyx.org>
7130
7131         * lyxfunc.C:
7132         * text2.C: remove unneeded #includes.
7133
7134 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7135
7136         * text2.C (dEPM): fix the heigth of the next row
7137
7138 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7139
7140         * text.C: squashed an invalid getChar requester + some ws changes
7141
7142 2003-04-03  John Levon  <levon@movementarian.org>
7143
7144         * bufferview_funcs.h:
7145         * bufferview_funcs.C:
7146         * lyxfunc.C:
7147         * lyxtext.h:
7148         * text2.C: make getStatus work for the env depth lfuns
7149
7150 2003-04-03  John Levon  <levon@movementarian.org>
7151
7152         * bufferview_funcs.h:
7153         * bufferview_funcs.C:
7154         * lyxfunc.C:
7155         * lyxtext.h:
7156         * text2.C: parlistize decDepth(), by merging it with incDepth()
7157
7158 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7159
7160         * lyxrow.h: store a ParagraphList::iterator instead of a
7161         Paragraph* and adjust other class functions to suit.
7162
7163         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7164         above.
7165
7166 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7167
7168         * text2.C (setCursor): do not anchor to cursor row for the time being
7169
7170 2003-04-02  John Levon  <levon@movementarian.org>
7171
7172         * LyXAction.C:
7173         * lfuns.h:
7174         * lyx_main.C:
7175         * lyxtext.h:
7176         * text.C:
7177         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7178
7179 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7180
7181         * paragraph.h: make ParagraphList and ParagraphList::iterator
7182         friends of Paragraph.
7183
7184         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7185
7186         * ParagraphList.C: Use the private next_ and previous_ from
7187         Paragraph.
7188
7189 2003-04-01  John Levon  <levon@movementarian.org>
7190
7191         * ToolbarBackend.h:
7192         * ToolbarBackend.C:
7193         * Makefile.am: rename, remove defaults gunk
7194
7195         * MenuBackend.h:
7196         * MenuBackend.C: remove defaults gunk
7197
7198         * Languages.h:
7199         * Languages.C: remove defaults gunk
7200
7201         * lyx_main.h:
7202         * lyx_main.C: error out if files couldn't be found.
7203
7204 2003-04-02  John Levon  <levon@movementarian.org>
7205
7206         * text2.C: make incDepth() use parlist
7207
7208 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * undo_funcs.C (firstUndoParagraph): adjust
7211
7212         * text3.C (gotoInset): adjust
7213         (dispatch): adjust, and rewrite loop.
7214
7215         * text2.C (init): adjust, and rewrite loop.
7216         (redoParagraphs): adjust
7217         (updateInset): adjust, and rewrite loop.
7218         (deleteEmptyParagraphMechanism): adjust
7219
7220         * tabular.C (LyXTabular): adjust
7221         (SetMultiColumn): adjust
7222         (TeXRow): adjust
7223
7224         * lyxtext.[Ch] (ownerParagraph): delete function
7225         (ownerParagraphs): new function returns a ParagraphList.
7226
7227         * BufferView.C (removeAutoInsets): adjust
7228         (insertErrors): adjust
7229         (setCursorFromRow): adjust
7230
7231 2003-04-01  Angus Leeming  <leeming@lyx.org>
7232
7233         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7234         in the frontends.
7235
7236 2003-04-02  John Levon  <levon@movementarian.org>
7237
7238         * lyxtext.h:
7239         * text.C:
7240         * Makefile.am:
7241         * text_funcs.h:
7242         * text_funcs.C: make transposeChars a free function
7243
7244         * lyxrow_funcs.C: remove wrong comment
7245
7246 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * lyxtext.h: adjust
7249         * rowpainter.C: adjust
7250         * text.C: adjust
7251         * text2.C: adjust
7252         * text3.C: adjust
7253
7254         * lyxrow_funcs. [Ch]: new files
7255
7256         * lyxrow.[Ch]: remove next and previous pointers
7257         (next,previous): remove accessor functions
7258         (isParEnd): move to lyxrow_funcs
7259         (lastPos): move to lyxrow_funcs
7260         (nextRowIsAllInset): move to lyxrow_funcs
7261         (lastPrintablePos): move to lyxrow_funcs
7262         (numberOfSeparators): move to lyxrow_funcs
7263         (numberOfHfills): move to lyxrow_funcs
7264         (numberOfLabelHfills): move to lyxrow_funcs
7265         (hfillExpansion): move to lyxrow_funcs
7266
7267         * lyxfunc.C: adjust
7268
7269         * bufferview_funcs.C (toggleAndShow): adjust
7270
7271         * RowList.h: Remove class RowList from file leave just a
7272         std::list<Row>.
7273
7274         * RowList.C: delete file
7275
7276         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7277         and lyxrow_funcs.h
7278
7279 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * text3.C (cursorPrevious): adjust
7282         (cursorNext): adjust
7283         (dispatch): adjust
7284
7285         * text2.C (redoHeightOfParagraph): adjust
7286         (redoDrawingOfParagraph): adjust
7287         (setCursor): adjust
7288
7289         * text.C (breakParagraph): adjust
7290         (insertChar): adjust
7291         (backspace): adjust
7292
7293         * rowpainter.C (RowPainter): adjust
7294         (leftMargin): simplify and adjust
7295         (most rowpainter functions): adjust.
7296
7297         * rowpainter.h: store the row as RowList::iterator not as Row*
7298
7299         * lyxcursor.C (row): taka RowList::iterator as arg
7300         (irow): ditto
7301
7302         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7303         of Row*.
7304
7305 2003-04-01  Angus Leeming  <leeming@lyx.org>
7306
7307         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7308         stuff like bool Bool.
7309
7310 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7311
7312         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7313         rewrite a loop
7314
7315 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7316
7317         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7318         RowList::iterator.
7319
7320         * lyxtext.h (rows): drop one version and leve a const variant that
7321         returns a RowList::iterator.
7322
7323 2003-03-31  Angus Leeming  <leeming@lyx.org>
7324
7325         * text.C (fill): ensure that the signature is the same as that in the
7326         header file.
7327
7328 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7329
7330         * text2.C (redoParagraphs): adjust
7331         (updateCounters): adjust
7332         (checkParagraph): adjust
7333         (getColumnNearX): adjust and reformat a bit.
7334
7335         * text.C (top_y): adjust
7336         (workWidth): adjust
7337         (leftMargin): adjust
7338         (prepareToPrint): adjust
7339         (getRow): adjust
7340         (getRowNearY): adjust
7341
7342         * lyxtext.h: make rowlist_ mutable.
7343
7344         * RowList.h: add const_iterator
7345         * RowList.C: adjust for RowList::const_iterator.
7346
7347         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7348         adjust.
7349
7350 2003-03-31  John Levon  <levon@movementarian.org>
7351
7352         * lyxrc.h:
7353         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7354
7355         * lyx_main.C: set default fonts from using lyx_gui funcs
7356
7357         * exporter.C: pdf_mode moved from lyxrc
7358
7359         * lyx_cb.C:
7360         * lyxfunc.C: changes from above
7361
7362 2003-03-31  John Levon  <levon@movementarian.org>
7363
7364         * lyx_main.C: fix to the last fix
7365
7366 2003-03-31  John Levon  <levon@movementarian.org>
7367
7368         * bufferlist.C: "Load original" -> "Load Original"
7369
7370         * converter.C:
7371         * exporter.C:
7372         * importer.C:
7373         * lyx_main.C:
7374         * format.C: more Alert cleanups
7375
7376 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * text2.C (removeParagraph): make it take a RowList::iterator as
7379         arg, adjust.
7380         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7381         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7382
7383         * text.C (anchor_row): make it take a RowList::iterator as arg,
7384         adjust.
7385         (computeBidiTables): make it take a const reference to Row instead
7386         of Row pointer, adjust.
7387         (leftMargin): make it take a RowList::iterator as arg, adjust.
7388         (rowBreakPoint): adjust
7389         (breakAgainOneRow): make it take a RowList::iterator as arg,
7390         adjust.
7391         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7392
7393         * bufferview_funcs.C (toggleAndShow): adjust
7394
7395 2003-03-30  John Levon  <levon@movementarian.org>
7396
7397         * Makefile.am:
7398         * BoostFormat.h:
7399         * boost-inst.C: moved to support
7400
7401         * several files: changes as a result
7402
7403 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7404
7405         * text2.C (LyXText): adjust.
7406         (init): adjust
7407         (removeRow): make it take a RowList::iterator as arg, adjust.
7408         (fullRebreak): adjust
7409         (deleteEmptyParagraphMechanism): adjust
7410         (clearPaint): adjust
7411         (postPaint): adjust
7412
7413         * text.C (top_y): adjust
7414         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7415         (breakAgain): make it take a RowList::iterator as arg, adjust.
7416         (breakParagraph): adjust
7417         (insertChar): adjust
7418         (backspace): adjust
7419
7420         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7421         need_break_row, and refresh_row.
7422
7423         * text3.C (dispatch): adjust
7424
7425         * text2.C (checkParagraph): adjust
7426         (setCursor): adjust
7427         (setCursorFromCoordinates): adjust
7428
7429         * text.C (top_y): adjust
7430         (workWidth): adjust
7431         (getRow): make it return a RowList::iterator, adjust
7432         (getRowNearY): make it return a RowList::iterator, adjust
7433
7434         * text2.C (init): adjust
7435         (insertRow): remove function
7436         (insertParagraph): adjust
7437         (redoParagraphs): adjust
7438         (fullRebreak): adjust
7439         (updateCounters): adjust
7440
7441         * text.C (top_y): rewrite to use RowList iterators.
7442         (top_y): adjust
7443         (setHeightOfRow): rewrite to sue RowList iterators.
7444         (appendParagraph): adjust
7445         (breakAgain): adjust
7446         (breakAgainOneRow): adjust
7447         (breakParagraph): adjust
7448         (getRow): adjust
7449         (getRowNearY): adjust, and remove commented code.
7450
7451         * lyxtext.h (firstRow): delete function
7452         (lastRow): delete function
7453         (rows): new function (const and non-const versions.)
7454         (insertRow): delete function
7455
7456         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7457
7458 2003-03-29  John Levon  <levon@movementarian.org>
7459
7460         * BufferView_pimpl.C: always update scrollbar top
7461         because pasting text when we're anchored could mean we
7462         miss an update altogether
7463
7464 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * text2.C (init): use rowlist_.end() and not 0.
7467         (insertRow): change to take a RowList::iterator as arg, adjust
7468         for this.
7469         (insertParagraph): change to take a RowList::iterator as arg,
7470         adjust for this.
7471         (redoParagraphs): remove some debug msgs.
7472
7473         * text.C (appendParagraph): change to take a RowList::iterator
7474         arg, adjust for this.
7475         (breakAgain): add an assert
7476         (breakAgainOneRow): ditto
7477
7478 2003-03-29  John Levon  <levon@movementarian.org>
7479
7480         * text2.C: do not clear selection after inc/decDepth
7481         (bug 550)
7482
7483 2003-03-29  John Levon  <levon@movementarian.org>
7484
7485         * BufferView.C:
7486         * buffer.C: fix broken strerrors according to Lars
7487
7488 2003-03-29  John Levon  <levon@movementarian.org>
7489
7490         * converters.C: more Alert cleanups
7491
7492 2003-03-29  John Levon  <levon@movementarian.org>
7493
7494         * bufferview_funcs.C: remove pointless Alert
7495
7496         * buffer.C: fix confusing error message when
7497         a template is chmoded 000
7498
7499 2003-03-29  John Levon  <levon@movementarian.org>
7500
7501         * BufferView.C:
7502         * BufferView.h:
7503         * BufferView_pimpl.C: Alert fixes
7504
7505         * Makefile.am:
7506         * tabular.C:
7507         * tabular-old.C: remove unused table compat reading
7508
7509 2003-03-29  John Levon  <levon@movementarian.org>
7510
7511         * BufferView.C:
7512         * buffer.C:
7513         * lyx_cb.h:
7514         * lyx_cb.C: more Alert cleanups
7515
7516         * lyxfunc.C: don't allow chktex if not latex document
7517
7518 2003-03-29  John Levon  <levon@movementarian.org>
7519
7520         * lyx_cb.C:
7521         * BufferView.C:
7522         * buffer.C: warnings pushed down from support/,
7523         kill err_alert
7524
7525 2003-03-29  John Levon  <levon@movementarian.org>
7526
7527         * lyxfunc.C: safety check for C-r (revert)
7528
7529 2003-03-29  John Levon  <levon@movementarian.org>
7530
7531         * bufferlist.h:
7532         * bufferlist.C: several UI fixes using Alert::prompt.
7533         Fix the pointless looping quit code. Fix stupid revert
7534         behaviour (bug 938)
7535
7536         * lyxvc.h:
7537         * lyxvc.C:
7538         * lyx_cb.C: use Alert::prompt
7539
7540         * lyx_main.C: remove a silly question
7541
7542         * lyxfunc.C: remove a couple of silly questions,
7543         use Alert::prompt
7544
7545 2003-03-28  John Levon  <levon@movementarian.org>
7546
7547         * text2.C: fix bug 974 (End on empty par)
7548
7549 2003-03-28  John Levon  <levon@movementarian.org>
7550
7551         * BufferView_pimpl.C:
7552         * LyXAction.C:
7553         * lfuns.h: remove do-nothing math greek lfuns
7554
7555 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * lyxgluelength.h (isValidGlueLength): add default arg on
7558         parameter 2. Remove default arg from friend in class.
7559
7560         * lyxlength.h (isValidLength): add default arg on parameter 2.
7561         Remove default arg from friend in class.
7562
7563         * text2.C (LyXText): adjust, initialize refresh_row.
7564         (init): adjust
7565         (removeRow): adjust
7566         (insertRow): adjust
7567         (insertParagraph): adjst
7568         (redoParagraphs): adjust
7569         (fullRebreak): adjust
7570         (updateCounters): adjust
7571         (deleteEmptyParagraphMechanism): first attempt at fixing a
7572         crashing bug.
7573
7574         * text.C (top_y): adjust
7575         (setHeightOfRow): adjust
7576         (getRow): adjust
7577         (getRowNearY): adjust
7578
7579         * lyxtext.h: include RowList.h
7580         (~LyXText): not needed anymore, deleted.
7581         (firstRow): modify for RowList
7582         (lastRow): new function
7583         Delete firstrow and lastrow class variables, add a Rowlist
7584         rowlist_ class variable.
7585
7586         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7587         paragraph is empty.
7588
7589         * RowList.C (insert): fix case where it == begin().
7590
7591 2003-03-26  Angus Leeming  <leeming@lyx.org>
7592
7593         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7594         the thesaurus dialog.
7595
7596 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7597
7598         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7599
7600         * RowList.[Ch]: new files
7601
7602         * ParagraphList.C (erase): handle the case where it == begin
7603         correctly.
7604
7605 2003-03-25  John Levon  <levon@movementarian.org>
7606
7607         * Makefile.am:
7608         * aspell_local.h:
7609         * aspell.C: add new aspell support
7610
7611         * lyxrc.h:
7612         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7613         have it accessible.
7614
7615 2003-03-25  Angus Leeming  <leeming@lyx.org>
7616
7617         * lfuns.h:
7618         * LyXAction.C (init): new LFUN_INSET_INSERT.
7619
7620         * BufferView_pimpl.C (dispatch): split out part of the
7621         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7622
7623         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7624         LFUN_INSET_APPLY.
7625
7626 2003-03-25  Angus Leeming  <leeming@lyx.org>
7627
7628         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7629
7630 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7631
7632         * text2.C:
7633         * text3.C: remove useless row->height(0)
7634
7635 2003-03-25  John Levon  <levon@movementarian.org>
7636
7637         * lyxtext.h:
7638         * text2.C:
7639         * text3.C: rename the refreshing stuff to better names
7640
7641 2003-03-24  John Levon  <levon@movementarian.org>
7642
7643         * BufferView_pimpl.h:
7644         * BufferView_pimpl.C: update layout choice on a mouse
7645         press/release
7646
7647 2003-03-23  John Levon  <levon@movementarian.org>
7648
7649         * Makefile.am: fix commandtags.h reference
7650
7651 2003-03-22  John Levon  <levon@movementarian.org>
7652
7653         * BufferView_pimpl.C:
7654         * lyxtext.h:
7655         * rowpainter.C:
7656         * rowpainter.h:
7657         * text.C:
7658         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7659
7660 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7661
7662         * lyxtext.h:
7663         * text.C: take the rtl methods out of line
7664
7665 2003-03-21 André Pönitz <poenitz@gmx.net>
7666
7667         * metricsinfo.[Ch]: new files containing structures to be passed around
7668         during the two-phase-drawing...
7669
7670 2003-03-21 André Pönitz <poenitz@gmx.net>
7671
7672         * lyxtextclass.C: read 'environment' tag.
7673
7674 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7675
7676         * text2.C (removeRow): fix bug 964
7677
7678 2003-03-20  John Levon  <levon@movementarian.org>
7679
7680         * rowpainter.C:
7681         * text.C:
7682         * text2.C: paint cleanups. Inset::update() dropped font
7683         parameter
7684
7685 2003-03-19  John Levon  <levon@movementarian.org>
7686
7687         * lyxfunc.C: only fitcursor/markDirty if available()
7688
7689 2003-03-19  John Levon  <levon@movementarian.org>
7690
7691         * commandtags.h: rename to ...
7692
7693         * lfuns.h: ... this, and renumber / cleanup
7694
7695 2003-03-19  John Levon  <levon@movementarian.org>
7696
7697         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7698         fit the cursor after an lfun
7699
7700         * BufferView.h:
7701         * BufferView.C:
7702         * BufferView_pimpl.h:
7703         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7704
7705         * LyXAction.C: layout-character should have ReadOnly
7706
7707         * ParagraphParameters.C:
7708         * buffer.C:
7709         * bufferview_funcs.C:
7710         * lyx_cb.C:
7711         * lyxfind.C:
7712         * lyxtext.h:
7713         * text.C:
7714         * text2.C:
7715         * text3.C:
7716         * undo_funcs.C: changes from above
7717
7718 2003-03-18  John Levon  <levon@movementarian.org>
7719
7720         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7721         remove it from update()
7722
7723         * lyxfunc.C: update layout choice after an lfun
7724
7725         * text3.C: remove extra updateLayoutChoice()s
7726
7727 2003-03-18  John Levon  <levon@movementarian.org>
7728
7729         * text.C: top_y change means full repaint, fix
7730         a drawing bug with cursor movement
7731
7732 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7733
7734         * lyxtext.h:
7735         * text.C:
7736         * text2.C: anchor row on setCursor
7737
7738 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7739
7740         * lyxtext.h: remove almost all mutable keywords
7741         * text.C:
7742         * text2.C:
7743         * text3.C: remove const keywords accordingly
7744
7745 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7746
7747         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7748         anon namespace
7749         (TeXEnvironment): ditto
7750         (TeXOnePar): ditto
7751
7752 2003-03-17  John Levon  <levon@movementarian.org>
7753
7754         * text.C (rowBreakPoint): remove attempt to fix displayed
7755         math insets inside a manual label
7756
7757 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * lyxtext.h: remove BufferView* as first arg from almost all class
7760         functions.
7761         * other files: adjust.
7762
7763 2003-03-17  John Levon  <levon@movementarian.org>
7764
7765         * lyxtext.h:
7766         * undo_funcs.C:
7767         * text2.C: more paint cleanups
7768
7769         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7770
7771         * rowpainter.h:
7772         * rowpainter.C: remove "smart" background painting code
7773
7774 2003-03-16  John Levon  <levon@movementarian.org>
7775
7776         * lyxtext.h:
7777         * text.C:
7778         * text2.C:
7779         * text3.C: add helper functions for setting refresh_row/y
7780
7781 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7782
7783         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7784         newline inset which *can* get inserted in the pass_thru layouts.
7785         This is primarily for literate documents.
7786
7787 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7788
7789         * buffer.C: increment LYX_FORMAT to 223
7790
7791 2003-03-14 André Pönitz <poenitz@gmx.net>
7792
7793         * textclass.h: prepare for environment handling, ws changes
7794         * lyxlayout.C: read latexheader and latexfooter tags
7795
7796 2003-03-14  John Levon  <levon@movementarian.org>
7797
7798         * text2.C: rewrite ::status() a bit
7799
7800 2003-03-13  John Levon  <levon@movementarian.org>
7801
7802         * lyxtext.h: add some docs
7803
7804 2003-03-13  John Levon  <levon@movementarian.org>
7805
7806         * lyxtext.h:
7807         * text.C:
7808         * text2.C:
7809         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7810
7811 2003-03-13  John Levon  <levon@movementarian.org>
7812
7813         * text3.C: fix appendix redrawing
7814
7815 2003-03-13  John Levon  <levon@movementarian.org>
7816
7817         * text.C (setHeightOfRow):
7818         * rowpainter.h:
7819         * rowpainter.C: make appendix mark have the text
7820           "Appendix" so the user knows what it is
7821
7822         * LColor.h:
7823         * LColor.C: s/appendixline/appendix/ from above
7824
7825 2003-03-13  John Levon  <levon@movementarian.org>
7826
7827         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7828
7829         * text.C: fix a getChar(pos) bug properly
7830
7831 2003-03-13  Angus Leeming  <leeming@lyx.org>
7832
7833         * commandtags.h:
7834         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7835         Probably only temporary. Let's see how things pan out.
7836
7837         * BufferView.C (unlockInset):
7838         * BufferView_pimpl.C (fitCursor):
7839         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7840
7841         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7842         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7843
7844         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7845         new functions that convert ParagraphParameters to and from a string.
7846
7847         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7848         BufferView::Pimpl's dispatch.
7849         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7850
7851 2003-03-13 André Pönitz <poenitz@gmx.net>
7852
7853         * lyxfunc.C:
7854         * text3.C:
7855         * factory.C: make it aware of InsetEnv
7856
7857 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7858
7859         * text2.C (setCursor): never ask for one past last
7860         (setCursor): add some debugging messages.
7861
7862         * text.C (singleWidth): never ask for one past last
7863         (singleWidth): ditto
7864         (leftMargin): ditto
7865         (rightMargin): ditto
7866         (rowBreakPoint): ditto
7867         (setHeightOfRow): ditto
7868         (prepareToPrint): ditto
7869
7870         * rowpainter.C (paintBackground): never ask for one past last
7871         (paintText): never ask for one past last
7872
7873         * paragraph_pimpl.C (getChar): make the assert stricter, never
7874         allow the one past last pos to be taken
7875
7876         * paragraph.C (getChar): ws changes only
7877
7878         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7879         (numberOfSeparators): ditto
7880         (numberOfHfills): ditto
7881
7882 2003-03-12  John Levon  <levon@movementarian.org>
7883
7884         * author.h:
7885         * author.C:
7886         * bufferparams.h:
7887         * bufferparams.C:
7888         * paragraph_funcs.C: fix per-buffer authorlists
7889
7890 2003-03-12  John Levon  <levon@movementarian.org>
7891
7892         * text.C: fix newline in right address
7893
7894 2003-03-12  Angus Leeming  <leeming@lyx.org>
7895
7896         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7897         duplicate those in LyXFunc::dispatch.
7898
7899         * commandtags.h:
7900         * LyXAction.C:
7901         * ToolbarDefaults.C:
7902         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7903         Add LFUN_FONTFREE_UPDATE.
7904
7905         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7906         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7907
7908         * bufferview_func.[Ch]: several new functions to facilliate
7909         transfer of data to and from the character dialog.
7910
7911 2003-03-12  John Levon  <levon@movementarian.org>
7912
7913         * buffer.C:
7914         * paragraph.h:
7915         * paragraph.C:
7916         * paragraph_funcs.C:
7917         * paragraph_pimpl.C:
7918         * sgml.C:
7919         * tabular.C:
7920         * text.C:
7921         * text3.C: remove META_NEWLINE in favour of an inset
7922
7923         * rowpainter.h:
7924         * rowpainter.C: remove paintNewline (done by inset)
7925
7926 2003-03-12  John Levon  <levon@movementarian.org>
7927
7928         * paragraph_pimpl.C: complain about bad getChar()s
7929         for a while at least
7930
7931 2003-03-12  John Levon  <levon@movementarian.org>
7932
7933         * buffer.h:
7934         * buffer.C: move paragraph read into a separate function,
7935         a little renaming to reflect that.
7936
7937         * bufferparams.h:
7938         * bufferparams.C: remove the author_ids map, not necessary now
7939
7940         * factory.h:
7941         * factory.C: moved Buffer::readInset to here
7942
7943         * paragraph_funcs.h:
7944         * paragraph_funcs.C: readParagraph free function moved from
7945         buffer.C
7946
7947         * tabular.C: name change
7948
7949 2003-03-12  John Levon  <levon@movementarian.org>
7950
7951         * buffer.C:
7952         * ParagraphParameters.C: move par params input to
7953         a read() method
7954
7955         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7956         behave like a normal read from the stream wrt reading
7957         a line vs. a \\token
7958
7959 2003-03-12  John Levon  <levon@movementarian.org>
7960
7961         * paragraph.C:
7962         * ParagraphParameters.h:
7963         * ParagraphParameters.C: move output code to a
7964         ::write() method
7965
7966 2003-03-12  John Levon  <levon@movementarian.org>
7967
7968         * BufferView.C (insertLyXFile):
7969         * buffer.h:
7970         * buffer.C:
7971         * tabular.C: use a parlist iterator for creating the
7972           document.
7973
7974 2003-03-12  John Levon  <levon@movementarian.org>
7975
7976         * buffer.C: make current_change static local not
7977           static file-scope
7978
7979 2003-03-12  John Levon  <levon@movementarian.org>
7980
7981         * buffer.C: fix insertStringAsLines for change tracking
7982
7983 2003-03-12  John Levon  <levon@movementarian.org>
7984
7985         * BufferView.C:
7986         * tabular.C:
7987         * buffer.h:
7988         * buffer.C:
7989         * bufferparams.h:
7990         * bufferparams.C: move author list into params. Rename some
7991           functions. Move the header reading into a separate token
7992           loop. Move the header token reading into BufferParams.
7993
7994 2003-03-12  John Levon  <levon@movementarian.org>
7995
7996         * changes.C: put debug inside lyxerr.debugging() checks
7997
7998 2003-03-11 André Pönitz <poenitz@gmx.net>
7999
8000         * factory.C: make it aware of InsetHFill
8001
8002 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8003
8004         * buffer.C (latexParagraphs): move function from here...
8005         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8006         args.
8007
8008 2003-03-10  Angus Leeming  <leeming@lyx.org>
8009
8010         * LyXAction.C (init): fix bug in poplating array with multiple entries
8011         with the same LFUN (spotted by JMarc).
8012
8013 2003-03-10  John Levon  <levon@movementarian.org>
8014
8015         * text.C:
8016         * text2.C: move getColumnNearX() near its
8017         only call site
8018
8019 2003-03-10  John Levon  <levon@movementarian.org>
8020
8021         * text.C: fix break before a minipage
8022
8023 2003-03-10  John Levon  <levon@movementarian.org>
8024
8025         * text.C: fix the last commit
8026
8027 2003-03-09  John Levon  <levon@movementarian.org>
8028
8029         * lyxtext.h:
8030         * text.C:
8031         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8032         bug 365 (don't break before insets unless needed). Don't
8033         return a value > last under any circumstances.
8034
8035 2003-03-09  Angus Leeming  <leeming@lyx.org>
8036
8037         * BufferView_pimpl.C (trackChanges, dispatch): call
8038         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8039
8040 2003-03-09  Angus Leeming  <leeming@lyx.org>
8041
8042         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8043         than Dialogs::showAboutlyx().
8044
8045 2003-03-09  Angus Leeming  <leeming@lyx.org>
8046
8047         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8048         than Dialogs::showTabularCreate().
8049
8050 2003-03-09  John Levon  <levon@movementarian.org>
8051
8052         * lyxtext.h:
8053         * text.C:
8054         * text2.C: 3rd arg to nextBreakPoint was always the same.
8055           Use references.
8056
8057 2003-03-08  John Levon  <levon@movementarian.org>
8058
8059         * lyxrow.C:
8060         * paragraph.C:
8061         * paragraph.h:
8062         * rowpainter.C:
8063         * text.C:
8064         * text2.C: Remove the "main" bit from the "main body"
8065           notion.
8066
8067 2003-03-08  John Levon  <levon@movementarian.org>
8068
8069         * text.C (leftMargin): The left margin of an empty
8070         manual label paragraph should not include the label width
8071         string length.
8072
8073         * text.C (prepareToPrint): don't attempt to measure hfills
8074         for empty manual label paragraphs - the answer should be 0
8075
8076 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * CutAndPaste.C: remove commented code and reindent.
8079
8080 2003-03-08  John Levon  <levon@movementarian.org>
8081
8082         * lyxfunc.h:
8083         * lyxfunc.C: move reloadBuffer()
8084
8085         * BufferView.h:
8086         * BufferView.C: to here
8087
8088         * lyxvc.C: add comment
8089
8090         * vc-backend.h:
8091         * vc-backend.C: call bv->reload() to avoid
8092           getStatus() check on MENURELOAD
8093
8094 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8095
8096         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8097         to an old format .dep file.
8098
8099 2003-03-07  Angus Leeming  <leeming@lyx.org>
8100
8101         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8102         when the LFUN_MOUSE_RELEASE should have been handled by
8103         inset->localDispatch.
8104
8105 2003-03-07  Angus Leeming  <leeming@lyx.org>
8106
8107         * BufferView_pimpl.C (dispatch):
8108         * LyXAction.C (init):
8109         * ToolbarDefaults.C (init):
8110         * commandtags.h:
8111         * lyxfunc.C (getStatus):
8112         remove LFUN_INSET_GRAPHICS.
8113
8114         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8115
8116 2003-03-07  Angus Leeming  <leeming@lyx.org>
8117
8118         * commandtags.h:
8119         * LyXAction.C (init):
8120         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8121
8122         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8123
8124         * commandtags.h:
8125         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8126
8127         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8128         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8129
8130 2003-03-07  Angus Leeming  <leeming@lyx.org>
8131
8132         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8133         remove "ert".
8134
8135 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * ParagraphList.C (front): new function
8138         (back): implement
8139
8140 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8141
8142         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8143         and top_row_offset_. removed var first_y.
8144         * text.C (top_y):
8145         * text2.C (LyXText, removeRow):
8146         * text3.C:
8147         * BufferView_pimpl.C:
8148         use these methods instead of using first_y
8149
8150 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * text2.C (pasteSelection): adjust for checkPastePossible
8153
8154         * CutAndPaste.C: remove Paragraph * buf and replace with
8155         ParagraphList paragraphs.
8156         (DeleteBuffer): delete
8157         (cutSelection): change the tc type to textclass_type
8158         (copySelection): change the tc type to textclass_type
8159         (copySelection): adjust for ParagraphList
8160         (pasteSelection): change the tc type to textclass_type
8161         (pasteSelection): adjust for Paragraphlist
8162         (nrOfParagraphs): simplify for ParagraphList
8163         (checkPastePossible): simplify for ParagraphList
8164         (checkPastePossible): remove unused arg
8165
8166         * ParagraphList.C (insert): handle the case where there are no
8167         paragraphs yet.
8168
8169         * CutAndPaste.h: make CutAndPaste a namespace.
8170
8171         * text3.C (dispatch): adjust
8172
8173         * text.C (breakParagraph): add a ParagraphList as arg
8174
8175         * paragraph_funcs.C (breakParagraph): change to take a
8176         BufferParams and a ParagraphList as args.
8177         (breakParagraphConservative): ditto
8178         (mergeParagraph): ditto
8179         (TeXDeeper): add a ParagraphList arg
8180         (TeXEnvironment): ditto
8181         (TeXOnePar): ditto
8182
8183         * buffer.C (readLyXformat2): adjust
8184         (insertStringAsLines): adjust
8185         (latexParagraphs): adjust
8186
8187         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8188         (cutSelection): adjust
8189         (pasteSelection): adjust
8190
8191         * BufferView_pimpl.C (insertInset): adjust
8192
8193 2003-03-05  Angus Leeming  <leeming@lyx.org>
8194
8195         * commandtags.h:
8196         * LyXAction.C (init):
8197         * BufferView_pimpl.C (dispatch):
8198         * lyxfunc.C (getStatus):
8199         remove LFUN_CHILD_INSERT.
8200
8201         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8202
8203 2003-03-05  Angus Leeming  <leeming@lyx.org>
8204
8205         * commandtags.h:
8206         * LyXAction.C (init):
8207         * src/factory.C (createInset):
8208         * lyxfunc.C (getStatus):
8209         * text3.C (dispatch):
8210         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8211
8212         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8213
8214 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * ParagraphList.C (insert): handle insert right before end()
8217         (erase): fix cases where it can be first or last paragraph.
8218
8219 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8220
8221         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8222         Paragraph::next and Paragraph::previous
8223         (TeXOnePar): ditto
8224
8225         * text.C (breakParagraph): adjust
8226
8227         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8228         BufferParams& as arg.
8229         (breakParagraph): use ParagraphList::insert
8230         (breakParagraphConservative): take a Buffer* instead of a
8231         BufferParams& as arg.
8232         (breakParagraphConservative): use ParagraphList::insert.
8233
8234         * buffer.C (insertStringAsLines): un-const it
8235         (insertStringAsLines): adjust
8236
8237         * ParagraphList.C (insert): new function
8238
8239         * CutAndPaste.C (pasteSelection): adjust
8240
8241         * text.C (backspace): adjust
8242
8243         * tabular.C (SetMultiColumn): adjust
8244
8245         * CutAndPaste.C (cutSelection): adjust
8246         (pasteSelection): adjust
8247
8248         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8249         Buffer const * as arg
8250
8251         * ParagraphList.C (erase): new function
8252         * paragraph_funcs.C (mergeParagraph): use it
8253         (mergeParagraph): make it take a Buffer* instead of a
8254         BufferParams* as arg
8255
8256         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8257         as arg
8258         (breakParagraphConservative): ditto
8259
8260         * paragraph.h: remove the breakParagraph friend
8261
8262         * paragraph.C (eraseIntern): new function
8263         (setChange): new function
8264
8265         * paragraph_funcs.C (mergeParagraph): make it take a
8266         ParagraphList::iterator instead of a Paragraph *, adjust
8267         accordingly.
8268
8269         * paragraph.h: move an #endif so that the change tracking stuff
8270         also works in the NO_NEXT case.
8271
8272 2003-03-04  Angus Leeming  <leeming@lyx.org>
8273
8274         * commandtags.h:
8275         * LyXAction.C: new LFUN_INSET_MODIFY.
8276
8277         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8278         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8279
8280 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * several files: ws changes only
8283
8284         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8285         (TeXEnvironment): ditto
8286         (TeXDeeper): ditto
8287
8288         * buffer.C (makeLaTeXFile): adjust
8289         (latexParagraphs): make it take ParagraphList::iterator as args
8290
8291 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8292
8293         * buffer.C (latexParagraphs): adjust
8294
8295         * paragraph.C (TeXOnePar): move function...
8296         (optArgInset): move function...
8297         (TeXEnvironment): move function...
8298         * paragraph_pimpl.C (TeXDeeper): move function...
8299         * paragraph_funcs.C: ...here
8300
8301         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8302
8303 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * buffer.C (readInset): remove compability code for old Figure and
8306         InsetInfo insets
8307
8308 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * buffer.C: ws changes
8311         (readInset):
8312
8313         * BufferView_pimpl.C: ditto
8314         * author.C: ditto
8315         * buffer.h: ditto
8316         * bufferlist.h: ditto
8317         * changes.h: ditto
8318         * lyxfunc.C: ditto
8319
8320 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8321
8322         * converter.[Ch]: split into itself +
8323         * graph.[Ch]
8324         * format.[Ch]
8325         * Makefile.am: += graph.[Ch] + format.[Ch]
8326         * MenuBackend.C
8327         * buffer.C
8328         * exporter.C
8329         * importer.C
8330         * lyx_main.C
8331         * lyxfunc.C
8332         * lyxrc.C: added #include "format.h"
8333
8334 2003-02-27  Angus Leeming  <leeming@lyx.org>
8335
8336         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8337           a label.
8338
8339         * factory.C (createInset): add "label" to the factory.
8340
8341         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8342           string and do no more.
8343
8344 2003-02-27  Angus Leeming  <leeming@lyx.org>
8345
8346         * commandtags.h:
8347         * LyXAction.C (init):
8348         * factory.C (createInset):
8349         * BufferView_pimpl.C (dispatch):
8350           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8351
8352         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8353
8354         * lyxfunc.C (dispatch):
8355         * text3.C (dispatch): pass name to params2string.
8356
8357 2003-02-26  Angus Leeming  <leeming@lyx.org>
8358
8359         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8360           blocks together.
8361           Rearrange the ~includes. Strip out the unnecessary ones.
8362
8363         * factory.C (createInset): reformat.
8364           create new insets for the various LFUN_XYZ_APPLY lfuns.
8365
8366 2003-02-26  John Levon  <levon@movementarian.org>
8367
8368         * lyxrow.h:
8369         * lyxrow.C: add isParStart,isParEnd helpers
8370
8371         * paragraph.h: make isInserted/DeletedText take refs
8372
8373         * paragraph_funcs.h:
8374         * paragraph_funcs.C: remove #if 0'd code
8375
8376         * lyxtext.h:
8377         * text3.C:
8378         * text2.C:
8379         * text.C: use lyxrow helpers above.
8380           Move draw and paint routines to RowPainter.
8381           Make several methods use refs not pointers.
8382           Make backgroundColor() const.
8383           Add markChangeInDraw(), isInInset().
8384           Merge changeRegionCase into changeCase.
8385           Make workWidth() shouldn't-happen code into an Assert.
8386
8387         * rowpainter.h:
8388         * rowpainter.C: new class for painting a row.
8389
8390         * vspace.h:
8391         * vspace.C: make inPixels take a ref
8392
8393 2003-02-26  Angus Leeming  <leeming@lyx.org>
8394
8395         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8396         LFUN_REF_APPLY.
8397
8398 2003-02-25  John Levon  <levon@movementarian.org>
8399
8400         * ispell.C: give the forked command a more accurate name
8401
8402 2003-02-22  John Levon  <levon@movementarian.org>
8403
8404         * toc.h:
8405         * toc.C: make TocItem store an id not a Paragraph *
8406           (bug #913)
8407
8408 2003-02-21  Angus Leeming  <leeming@lyx.org>
8409
8410         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8411           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8412           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8413           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8414           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8415           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8416
8417         * BufferView_pimpl.C (dispatch):
8418         * LyXAction.C (init):
8419         * factory.C (createInset):
8420         * lyxfunc.C (getStatus, dispatch):
8421         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8422
8423 2003-02-21  Angus Leeming  <leeming@lyx.org>
8424
8425         * BufferView_pimpl.C (MenuInsertLyXFile):
8426         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8427         * lyxfunc.C (menuNew, open, doImport):
8428           no longer pass a LyXView & to fileDlg.
8429
8430 2003-02-21  Angus Leeming  <leeming@lyx.org>
8431
8432         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8433         * LyXAction.C: change, BIBKEY to BIBITEM.
8434         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8435         Change InsetBibKey to InsetBibitem.
8436         Change BIBKEY_CODE to BIBITEM_CODE.
8437         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8438         * factory.C: replace insetbib.h with insetbibitem.h.
8439         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8440         * paragraph.C: replace insetbib.h with insetbibitem.h.
8441         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8442         Change bibkey() to bibitem().
8443         * text.C: remove insetbib.h.
8444         * text2.C: replace insetbib.h with insetbibitem.h.
8445         change bibkey() to bibitem().
8446         * text3.C: remove insetbib.h.
8447         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8448
8449 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8450
8451         * lyxrc.C (output): enclose user email in quotes (in case there are
8452         several words)
8453
8454 2003-02-18  John Levon  <levon@movementarian.org>
8455
8456         * buffer.h: add std::
8457
8458 2003-02-17  John Levon  <levon@movementarian.org>
8459
8460         * SpellBase.h:
8461         * ispell.h:
8462         * ispell.C:
8463         * pspell.h:
8464         * pspell.C: reworking. Especially in ispell, a large
8465           number of clean ups and bug fixes.
8466
8467         * lyxfunc.C: fix revert to behave sensibly
8468
8469 2003-02-17 André Pönitz <poenitz@gmx.net>
8470
8471         * LyXAction.C:
8472         * commandtags.h: new LFUN_INSERT_BIBKEY
8473
8474         * layout.h:
8475         * lyxlayout.C:
8476         * buffer.C:
8477         * factory.C:
8478         * text.C:
8479         * text2.C:
8480         * text3.C:
8481         * paragraph.[Ch]:
8482         * paragraph_func.C: remove special bibkey handling
8483
8484 2003-02-17  John Levon  <levon@movementarian.org>
8485
8486         * text.C (Delete): fix case where delete at the end of
8487           the very first paragraph would not merge the pars
8488
8489 2003-02-17  John Levon  <levon@movementarian.org>
8490
8491         * lyxrow.C: fix lastPrintablePos()
8492
8493 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8494
8495         * bufferparams.C (writeLaTeX): add a std:here
8496
8497         * buffer.C: and remove a using directive there
8498
8499 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8500
8501         * buffer.C (makeLaTeXFile): move the code that generates the
8502           preamble...
8503
8504         * bufferparams.C (writeLaTeX): ... in this new method
8505
8506         * LaTeXFeatures.C (getEncodingSet): make const
8507           (getLanguages): make const
8508
8509         * MenuBackend.C (binding): returns the binding associated to this
8510           action
8511           (add): sets the status of each item by calling getStatus. Adds
8512           some intelligence.
8513           (read): add support for OptSubMenu
8514           (expand): remove extra separator at the end of expanded menu
8515
8516 2003-02-15  John Levon  <levon@movementarian.org>
8517
8518         * BufferView.C:
8519         * BufferView_pimpl.C:
8520         * bufferlist.h:
8521         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8522           inset code that had no actual effect. Remove unneeded status
8523           code.
8524
8525 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8526
8527         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8528           in preamble
8529
8530 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8531
8532         * text.C (drawLengthMarker): also draw an arrow marker for
8533           symbolic lengths (medskip...)
8534
8535 2003-02-14  John Levon  <levon@movementarian.org>
8536
8537         * tabular.h:
8538         * tabular.C: better method names
8539
8540 2003-02-14  John Levon  <levon@movementarian.org>
8541
8542         * BufferView_pimpl.C:
8543         * bufferlist.C:
8544         * buffer.C:
8545         * converter.C:
8546         * lyx_cb.C:
8547         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8548           it's a more accurate name. Remove some pointless uses.
8549
8550 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8551
8552         * text2.C (LyXText): change order of initilizers to shut off
8553           warnings
8554
8555 2003-02-14  John Levon  <levon@movementarian.org>
8556
8557         * buffer.C: use ParIterator for getParFromID()
8558
8559         * paragraph.h:
8560         * paragraph.C:
8561         * paragraph_pimpl.h:
8562         * paragraph_pimpl.C: remove unused getParFromID()
8563
8564 2003-02-14  John Levon  <levon@movementarian.org>
8565
8566         * buffer.C: remove some very old #if 0'd parse code
8567
8568 2003-02-13  John Levon  <levon@movementarian.org>
8569
8570         * text.h:
8571         * text.C:
8572         * text2.C: move hfillExpansion(), numberOfSeparators(),
8573           rowLast(), rowLastPrintable(), numberofHfills(),
8574           numberOfLabelHfills() ...
8575
8576         * lyxrow.h:
8577         * lyxrow.C: ... to member functions here.
8578
8579         * paragraph.h:
8580         * paragraph.C:
8581         * lyxtext.h:
8582         * text.C: remove LyXText::beginningOfMainBody(), and call
8583           p->beginningOfMainBody() directly. Move the check for
8584           LABEL_MANUAL into the latter.
8585
8586         * text.h:
8587         * text.C:
8588         * text2.C:
8589         * vspace.C:
8590         * BufferView.h:
8591         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8592
8593         * text.h:
8594         * text.C:
8595         * text2.C:
8596         * text3.C:
8597         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8598           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8599
8600 2003-02-13  John Levon  <levon@movementarian.org>
8601
8602         * CutAndPaste.C: remove debug
8603
8604 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8605
8606         * paragraph.C (asString): remove two unused variables
8607
8608         * lyxtextclass.C (readTitleType):
8609           (Read):
8610           (LyXTextClass): handle new members titletype_ and titlename_
8611
8612         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8613
8614 2003-02-09  John Levon  <levon@movementarian.org>
8615
8616         * buffer.h:
8617         * buffer.C: replace hand-coded list with a map for the dep clean
8618
8619 2003-02-08  John Levon  <levon@movementarian.org>
8620
8621         * LaTeX.C: consolidate code into showRunMessage() helper
8622
8623 2003-02-08  John Levon  <levon@movementarian.org>
8624
8625         * lyxfind.C:
8626         * lyxtext.h:
8627         * text2.C:
8628         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8629           and pass the size in explicitly
8630
8631         * BufferView_pimpl.h:
8632         * BufferView_pimpl.C:
8633         * BufferView.h:
8634         * BufferView.C: add getCurrentChange()
8635
8636         * BufferView_pimpl.h:
8637         * BufferView_pimpl.C: handle change lfuns
8638
8639         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8640           for changes. Mark pasted paragraphs as new.
8641
8642         * support/lyxtime.h:
8643         * support/lyxtime.C:
8644         * DepTable.C: abstract time_t as lyx::time_type
8645
8646         * LColor.h:
8647         * LColor.C: add colours for new text, deleted text, changebars
8648
8649         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8650           package use "usenames" option.
8651
8652         * commandtags.h:
8653         * lyxfunc.C:
8654         * LyXAction.C: add change lfuns
8655
8656         * Makefile.am:
8657         * author.h:
8658         * author.C: author handling
8659
8660         * buffer.h:
8661         * buffer.C: add a per-buffer author list, with first entry as
8662           current author. Handle new .lyx tokens for change tracking. Output
8663           author list to .lyx file. Output dvipost stuff to .tex preamble.
8664           Bump lyx format to 222.
8665
8666         * bufferlist.h:
8667         * bufferlist.C: add setCurrentAuthor() to reset current author details
8668           in all buffers.
8669
8670         * bufferparams.h:
8671         * bufferparams.C: add param for tracking
8672
8673         * bufferview_funcs.C: output change info in minibuffer
8674
8675         * Makefile.am:
8676         * changes.h:
8677         * changes.C: add change-tracking structure
8678
8679         * debug.h:
8680         * debug.C: add CHANGES debug flag
8681
8682         * lyxfind.h:
8683         * lyxfind.C: add code for finding the next change piece
8684
8685         * lyxrc.h:
8686         * lyxrc.C: add user_name and user_email
8687
8688         * lyxrow.h:
8689         * lyxrow.C: add a metric for the top of the text line
8690
8691         * lyxtext.h:
8692         * text.C: implement accept/rejectChange()
8693
8694         * lyxtext.h:
8695         * text.C: paint changebars. Paint new/deleted text in the chosen
8696         colours. Strike through deleted text.
8697
8698         * paragraph.h:
8699         * paragraph.C:
8700         * paragraph_pimpl.h:
8701         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8702           in the current change to the insert functions. Rework erase to
8703           mark text as deleted, adding an eraseIntern() and a range-based
8704           erase(). Implement per-paragraph change lookup and
8705           accept/reject.
8706
8707         * paragraph_funcs.C: Fixup paste for change tracking.
8708
8709         * tabular.C: mark added row/columns as new.
8710
8711         * text.C: fix rowLast() to never return -1. Don't allow
8712           spellchecking of deleted text. Track transpose changes. Don't
8713           allow paragraph break or merge where appropriate.
8714
8715         * text2.C: leave cursor at end of selection after a cut.
8716
8717 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8718
8719         * text.C (getLengthMarkerHeight):
8720         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8721         visible on screen too.
8722
8723 2003-02-07  John Levon  <levon@movementarian.org>
8724
8725         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8726
8727 2003-02-05  Angus Leeming  <leeming@lyx.org>
8728
8729         * lyxserver.C (read_ready): revert my patch of 11 September last year
8730         as it sends PC cpu through the roof. Presumably this means that
8731         the lyxserver will no longer run on an Alpha...
8732
8733 2003-01-30  Angus Leeming  <leeming@lyx.org>
8734
8735         * factory.C (createInset): create an InsetCommandParam of type "index"
8736         and use it to 'do the right thing'.
8737
8738         * text2.C (getStringToIndex): ensure that cursor position is always
8739         reset to the reset_cursor position.
8740
8741 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8742
8743         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8744         disabled.
8745
8746 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8747
8748         * bufferview.C:
8749         * lyxcb.C:
8750         * lyxfunc.C: Output messages with identical spelling, punctuation,
8751         and spaces
8752
8753 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8754
8755         * MenuBackend.C (expandFormats): List only viewable export formats
8756         in "View" menu
8757
8758         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8759         message
8760
8761         * lyxfunc.C (getStatus): Make sure that formats other than
8762         "fax" can also be disabled
8763
8764 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8765
8766         * text3.C (dispatch): put the lfuns that insert insets in 3
8767         groups, and call doInsertInset with appropriate arguments.
8768         (doInsertInset): new function, that creates an inset and inserts
8769         it according to some boolean parameters.
8770
8771 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8772
8773         * buffer.C (readFile): remember to pass on 'par' when calling
8774         readFile recursively.
8775
8776 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8777
8778         * MenuBackend.C (expandFormats): add "..." to import formats.
8779
8780 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8781
8782         * paragraph.C (asString): Remove XForms RTL hacks.
8783
8784 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8785         * buffer.C: fix typo
8786
8787 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8788
8789         * Makefile.am (LIBS): delete var
8790         (lyx_LDADD): add @LIBS@ here instead.
8791
8792 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8793
8794         * Clarify the meaning of "wheel mouse jump"
8795
8796 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8797
8798         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8799         tabular in a float
8800
8801 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8802
8803         * importer.C (Loaders): do not preallocate 3 elements in the
8804         vector, since one ends up with 6 elements otherwise
8805
8806 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8807
8808         * DepTable.C (write): write the file name as last element of the
8809         .dep file (because it may contain spaces)
8810         (read): read info in the right order
8811
8812 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8813
8814         * paragraph_pimpl.C (simpleTeXBlanks):
8815         (simpleTeXSpecialChars):
8816         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8817
8818         * tabular.C (latex): add some missing case statements. Reindent.
8819
8820         * MenuBackend.C (expandToc): remove unused variable.
8821
8822 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8823
8824         * LColor.C:
8825         * LaTeX.C:
8826         * LyXAction.C:
8827         * MenuBackend.C:
8828         * buffer.C:
8829         * exporter.C:
8830         * lyxfunc.C:
8831         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8832         and the like.
8833
8834 2003-01-05  John Levon  <levon@movementarian.org>
8835
8836         * BufferView.h:
8837         * BufferView.C: add getEncoding()
8838
8839         * kbsequence.h:
8840         * kbsequence.C: do not store last keypress
8841
8842         * lyxfunc.h:
8843         * lyxfunc.C: store last keypress here instead. Pass encoding
8844           to getISOEncoded()
8845
8846 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8847
8848         * lyx_main.C (init): remove annoying error message when following
8849         symbolic links (bug #780)
8850
8851 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8852
8853         * text.C (insertChar):
8854         * lyxrc.C (getDescription): remove extra spaces
8855
8856 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8857
8858         * lyxrc.C (getDescription): remove extra spaces
8859
8860 2002-12-20  John Levon  <levon@movementarian.org>
8861
8862         * text3.C: hack fix for page up/down across tall rows
8863
8864 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8865
8866         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8867         not been invoked
8868
8869 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8870
8871         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8872         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8873         thesaurus is not compiled in
8874
8875 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8876
8877         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8878
8879 2002-12-16  Angus Leeming  <leeming@lyx.org>
8880
8881         * lyxrc.[Ch]:
8882         * lyx_main.C (init): remove override_x_deadkeys stuff.
8883
8884 2002-12-12  John Levon  <levon@movementarian.org>
8885
8886         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8887           insert. Only remove shift modifier under strict
8888           circumstances.
8889
8890 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8891
8892         * MenuBackend.C (expandToc): fix crash.
8893
8894 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8895
8896         * MenuBackend.C (expandToc): gettext on float names.
8897
8898 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8899
8900         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8901         implement bool empty() [bug 490]
8902
8903 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8906
8907 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8908
8909         * several files: ws changes
8910
8911 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8912
8913         * text2.C (setCounter): clean up a bit, use boost.format.
8914         (updateCounters): initialize par upon declaration.
8915
8916         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8917         if the layout exists. We do not just store the layout any more.
8918         (SwitchLayoutsBetweenClasses): use boost.format
8919
8920 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8921
8922         * converter.C (convert): if from and to files are the same, use a
8923         temporary files as intermediary
8924
8925 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8926
8927         * commandtags.h:
8928         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8929
8930 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8931
8932         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8933
8934 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8935
8936         * tabular.C (asciiPrintCell): use string(size, char) instead of
8937         explicit loop.
8938
8939         * sgml.C (openTag): fix order of arguments to string constructor
8940         (closeTag): ditto
8941
8942         * lyxfunc.C (dispatch): use boost.format
8943
8944         * lots of files: change "c" -> 'c'
8945
8946 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8947
8948         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8949
8950 2002-11-25  Angus Leeming  <leeming@lyx.org>
8951
8952         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8953
8954         * lyx_main.C (init): compile fix.
8955
8956 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8957
8958         * lyx_cb.C (start): boost.formatify
8959         do not include <iostream>
8960
8961         * lengthcommon.C: ws only
8962
8963         * boost-inst.C,BoostFormat.h: add more explict instantations
8964
8965 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8966
8967         * lots of files: handle USE_BOOST_FORMAT
8968
8969 2002-11-21  John Levon  <levon@movementarian.org>
8970
8971         * pspell.C: fix compile
8972
8973 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8974
8975         * lyxfunc.C (dispatch): use boost::format
8976         (open): ditto
8977         (doImport): ditto
8978
8979         * lyxfont.C (stateText): use boost::format
8980
8981         * lyx_main.C (LyX): use boost::format
8982         (init): ditto
8983         (queryUserLyXDir): ditto
8984         (readRcFile): ditto
8985         (parse_dbg): ditto
8986         (typedef boost::function): use the recommened syntax.
8987
8988         * importer.C (Import): use boost::format
8989
8990         * debug.C (showLevel): use boost::format
8991
8992         * converter.C (view): use boost::format
8993         (convert): ditto
8994         (move): ditto
8995         (scanLog): ditto
8996
8997         * bufferview_funcs.C (currentState): use boost::format
8998
8999         * bufferlist.C (emergencyWrite): use boost::format
9000
9001         * buffer.C (readLyXformat2): use boost::format
9002         (parseSingleLyXformat2Token): ditto
9003
9004         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9005
9006         * LaTeX.C (run): use boost::format
9007
9008         * Chktex.C (scanLogFile): use boost::format
9009
9010         * BufferView_pimpl.C (savePosition): use boost::format
9011         (restorePosition): ditto
9012         (MenuInsertLyXFile): ditto
9013
9014         * BoostFormat.h: help file for explicit instation.
9015
9016 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9017
9018         * tabular.C (latex): Support for block alignment in fixed width
9019         columns.
9020
9021 2002-11-17  John Levon  <levon@movementarian.org>
9022
9023         * BufferView_pimpl.C:
9024         * lyx_cb.C:
9025         * lyxfunc.C: split filedialog into open/save
9026
9027 2002-11-08  Juergen Vigna  <jug@sad.it>
9028
9029         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9030         by my last patch (hopefully).
9031
9032 2002-11-08  John Levon  <levon@movementarian.org>
9033
9034         * iterators.h:
9035         * iterators.C:
9036         * buffer.h:
9037         * buffer.C:
9038         * paragraph.h:
9039         * paragraph.C:
9040         * toc.h:
9041         * toc.C: ParConstIterator, and use it (from Lars)
9042
9043 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9044
9045         * lyxtextclass.[Ch]: revise and add doxygen comments
9046
9047 2002-11-07  John Levon  <levon@movementarian.org>
9048
9049         * text.C: fix progress value for spellchecker
9050
9051         * toc.C: fix navigate menu for insetwrap inside minipage
9052
9053         * paragraph_funcs.C: added FIXME for suspect code
9054
9055 2002-11-07  John Levon  <levon@movementarian.org>
9056
9057         * BufferView_pimpl.C: fix redrawing of insets
9058           on buffer switch
9059
9060 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9061
9062         * text2.C (updateCounters): fix bug 668
9063
9064 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9065
9066         * text3.C (dispatch): Do not make the buffer dirty when moving the
9067         cursor.
9068
9069 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9070
9071         * vc-backend.C: STRCONV
9072         (scanMaster): ditto
9073
9074         * text2.C (setCounter): STRCONV
9075
9076         * paragraph.C (asString): STRCONV
9077
9078         * lyxlength.C (asString): STRCONV
9079         (asLatexString): ditto
9080
9081         * lyxgluelength.C (asString): STRCONV
9082         (asLatexString): ditto
9083
9084         * lyxfunc.C (dispatch): STRCONV
9085         (open): ditto
9086
9087         * lyxfont.C (stateText): STRCONV
9088
9089         * importer.C (Import): STRCONV
9090
9091         * counters.C (labelItem): STRCONV
9092         (numberLabel): ditto
9093         (numberLabel): remove unused ostringstream o
9094
9095         * chset.C: STRCONV
9096         (loadFile): ditto
9097
9098         * bufferview_funcs.C (currentState): STRCONV
9099
9100         * buffer.C (readFile): STRCONV
9101         (asciiParagraph): ditto
9102         (makeLaTeXFile): ditto
9103
9104         * Spacing.C (writeEnvirBegin): STRCONV
9105
9106         * LaTeXFeatures.C (getLanguages): STRCONV
9107         (getPackages): ditto
9108         (getMacros): ditto
9109         (getBabelOptions): ditto
9110         (getTClassPreamble): ditto
9111         (getLyXSGMLEntities): ditto
9112         (getIncludedFiles): ditto
9113
9114         * LaTeX.C: STRCONV
9115         (run): ditto
9116         (scanAuxFile): ditto
9117         (deplog): ditto
9118
9119         * LString.h: add the STRCONV macros
9120
9121         * BufferView_pimpl.C (savePosition): STRCONV
9122         (restorePosition): ditto
9123         (MenuInsertLyXFile): ditto
9124
9125         * vc-backend.C (scanMaster): change from submatch[...] to
9126         submatch.str(...)
9127
9128         * funcrequest.C: include config.h
9129
9130         * factory.C: include config.h
9131
9132         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9133
9134         * box.C: include config.h
9135
9136         * LaTeX.C (scanAuxFile): change from submatch[...] to
9137         submatch.str(...)
9138         (deplog): ditto
9139
9140 2002-10-25  Angus Leeming  <leeming@lyx.org>
9141
9142         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9143
9144         * ispell.[Ch] (setError): new method.
9145         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9146         Use setError() insetead of goto END.
9147
9148         * lyx_cb.C (AutoSave): move out child process into new class
9149         AutoSaveBuffer.
9150
9151 2002-10-30  John Levon  <levon@movementarian.org>
9152
9153         * text3.C: make start appendix undoable
9154
9155 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9156
9157         * lyxlength.C (inPixels): Fix returned value.
9158
9159         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9160         environment.
9161
9162 2002-10-24  Angus Leeming  <leeming@lyx.org>
9163
9164         * lyxgluelength.h: no need to forward declare BufferParams
9165         or BufferView, so don't.
9166
9167 2002-10-21  John Levon  <levon@movementarian.org>
9168
9169         * BufferView.C: menuUndo ->undo, redo
9170
9171         * BufferView.h: document, remove dead, make some methods private
9172
9173         * paragraph_funcs.h:
9174         * paragraph_funcs.C:
9175         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9176
9177         * buffer.h:
9178         * buffer.C:
9179         * sgml.h:
9180         * sgml.C: move sgml open/close tag into sgml.C
9181
9182         * bufferview_funcs.h: unused prototype
9183
9184         * lyxfunc.h:
9185         * lyxfunc.C: remove unused
9186
9187         * lyxtext.h:
9188         * text.C: remove unused
9189
9190 2002-10-21  John Levon  <levon@movementarian.org>
9191
9192         * BufferView.h:
9193         * BufferView.C:
9194         * BufferView_pimpl.h:
9195         * BufferView_pimpl.C: fix mouse wheel handling based on
9196           patch from Darren Freeman
9197
9198 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9199
9200         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9201
9202 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9203
9204         * lyxlength.C (inPixels): Fix hanfling of negative length.
9205         Fix LyXLength::MU case.
9206
9207 2002-10-16  John Levon  <levon@movementarian.org>
9208
9209         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9210
9211 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9212
9213         * converter.C (view): add support for $$i (file name) and $$p
9214         (file path) for the viewer command. If $$i is not specified, then
9215         it is appended to the command (for compatibility with old syntax)
9216
9217 2002-10-14  Juergen Vigna  <jug@sad.it>
9218
9219         * undo_funcs.C (textHandleUndo): alter the order in which the
9220         new undopar is added to the LyXText, as we have to set first
9221         the right prev/next and then add it as otherwise the rebuild of
9222         LyXText is not correct. Also reset the cursor to the right paragraph,
9223         with this IMO we could remove the hack in "redoParagraphs()".
9224
9225 2002-10-09  Angus Leeming  <leeming@lyx.org>
9226
9227         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9228         to turn off an optimisation if a new inset is to be inserted.
9229
9230 2002-10-11 André Pönitz <poenitz@gmx.net>
9231
9232         * lyxtext.h: make some functions public to allow access
9233         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9234
9235 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9236
9237         * text3.C (dispatch): when changing layout, avoid an infinite loop
9238         [bug #652]
9239
9240 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9241
9242         * lyxrc.C (read): treat a viewer or converter command of "none" as
9243         if it were empty.
9244
9245         * MenuBackend.C (expandFormats): for an update, also allow the
9246         formats that are not viewable
9247
9248         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9249         script if it is newer than the lyxrc.defaults in user directory
9250
9251 2002-10-07 André Pönitz <poenitz@gmx.net>
9252
9253         * text.C: Vitaly Lipatov's small i18n fix
9254
9255 2002-09-25  Angus Leeming  <leeming@lyx.org>
9256
9257         * ispell.h: doxygen fix.
9258
9259 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9260
9261         * buffer.h (readFile): Add a new argument to the method, to allow
9262         reading of old-format templates.
9263
9264 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9265
9266         * toc.C (getTocList): Get TOC from InsetWrap.
9267
9268 2002-09-16  John Levon  <levon@movementarian.org>
9269
9270         * lyxfunc.C: check tabular for cut/copy too
9271
9272 2002-09-12  John Levon  <levon@movementarian.org>
9273
9274         * LyXAction.C: tidy
9275
9276         * factory.h:
9277         * factory.C: add header
9278
9279         * paragraph_funcs.h:
9280         * paragraph_funcs.C: cleanup
9281
9282 2002-09-11  John Levon  <levon@movementarian.org>
9283
9284         * PrinterParams.h: odd/even default to true
9285
9286 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9287
9288         * PrinterParams.h: update printer parameters for new xforms dialog
9289
9290 2002-09-11  Angus Leeming  <leeming@lyx.org>
9291
9292         * lyxserver.C (read_ready): re-write to make it more transparent
9293         and to make it work in coherent fashion under Tru64 Unix.
9294
9295 2002-09-11  André Pönitz <poenitz@gmx.net>
9296
9297         * commandtags.h:
9298         * LyXAction.C:
9299         * text3.C: implement LFUN_WORDSEL
9300
9301 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9302
9303         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9304         make floatlist_ a boost::shared_ptr<FloatList>
9305
9306         * lyxtextclass.C: include FloatList.h
9307         (LyXTextClass): initialize floatlist_
9308         (TextClassTags): add TC_NOFLOAT
9309         (Read): match "nofloat" to TC_NOFLOAT and use it.
9310         (readFloat): modify call to floatlist_
9311         (floats): ditto
9312         (floats): ditto
9313
9314         * FloatList.[Ch] (FloatList): remove commented out float
9315         initialization.
9316         (erase): new function
9317
9318 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9319
9320         * MenuBackend.C (expandToc): fix crash when there is no document
9321         open
9322
9323 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9324
9325         * many files: Add insetwrap.
9326
9327 2002-09-09  John Levon  <levon@movementarian.org>
9328
9329         * text2.C: remove confusing and awkward depth wraparound
9330
9331 2002-09-09  John Levon  <levon@movementarian.org>
9332
9333         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9334
9335         * buffer.h:
9336         * buffer.C: remove getIncludeonlyList()
9337
9338         * paragraph.C:
9339         * lyxfunc.C: remove headers
9340
9341 2002-09-09  Juergen Vigna  <jug@sad.it>
9342
9343         * text.C (getColumnNearX): fix form Michael this is most
9344         probably a cut&paste bug.
9345
9346 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9347
9348         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9349
9350         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9351         references, ws changes.
9352
9353         * text2.C (init): update counters after init
9354         (insertParagraph): no need to set counter on idividual paragraphs.
9355         (setCounter): access the counters object in the textclass object
9356         on in the buffer object.
9357         (updateCounters): ditto
9358
9359         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9360         shared_ptr<Counters> to avoid loading counters.h in all
9361         compilation units.
9362         (LyXTextClass): initialize ctrs_
9363         (TextClassTags): add TC_COUNTER, and ...
9364         (Read): use it here.
9365         (CounterTags): new tags
9366         (readCounter): new function
9367         (counters): new funtion
9368         (defaultLayoutName): return a const reference
9369
9370         * counters.C (Counters): remove contructor
9371         (newCounter): remove a couple of unneeded statements.
9372         (newCounter): simplify a bit.
9373         (numberLabel): some small formatting changes.
9374
9375         * buffer.[Ch]: remove all traces of counters, move the Counters
9376         object to the LyXTextClass.
9377
9378 2002-09-06  Alain Castera  <castera@in2p3.fr>
9379
9380         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9381         package to set the horizontal alignment on fixed width columns.
9382
9383         * lyx_sty.C:
9384         * lyx_sty.h: added tabularnewline macro def.
9385
9386         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9387
9388 2002-09-06  John Levon  <levon@movementarian.org>
9389
9390         * LyXAction.C: tooltips for sub/superscript
9391
9392         * MenuBackend.C: a bit more verbose
9393
9394         * lyxfunc.C: tiny clean
9395
9396         * undo_funcs.C: document undo_frozen
9397
9398 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9399
9400         * counters.C (Counters): add missing algorithm counter.
9401
9402         * text2.C (setCounter): lookup the counter with layouts latexname
9403         instead of by section number.
9404         (setCounter): use a hackish way to lookup the correct enum
9405         counter.
9406         a float name->type change
9407         reset enum couners with counter name directly instead of depth value.
9408
9409         * counters.C (Counters): remove the push_backs, change to use the
9410         float type not the float name.
9411         (labelItem): remove unused string, float name->type change
9412
9413         * counters.h: don't include vector, loose the enums and sects vectors
9414
9415 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9416
9417         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9418         (Read): add float->TC_FLOAT to textclassTags
9419         (Read): and handle it in the switch
9420         (readFloat): new function
9421
9422         * FloatList.C (FloatList): comment out the hardcoded float
9423         definitions.
9424
9425         * lyxlayout.h: ws change.
9426
9427 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9428
9429         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9430
9431 2002-09-03  Angus Leeming  <leeming@lyx.org>
9432
9433         * BufferView_pimpl.h: qualified name is not allowed in member
9434         declaration: WorkArea & Pimpl::workarea() const;
9435
9436         * factory.C: added using std::endl directive.
9437
9438         * text3.C: added using std::find and std::vector directives.
9439
9440 2002-08-29  André Pönitz <poenitz@gmx.net>
9441
9442         * lyxtext.h:
9443         * text2.C: remove unused member number_of_rows
9444
9445         * Makefile.am:
9446         * BufferView2.C: remove file, move contents to...
9447         * BufferView.C: ... here
9448
9449         * BufferView_pimpl.C:
9450         * factory.C: move more inset creation to factory
9451
9452         * vspace.C: avoid direct usage of LyXText, ws changes
9453
9454         * BufferView.[Ch]:
9455                 don't provide direct access to WorkArea, use two simple
9456                 acessors haveSelction() and workHeight() instead
9457
9458
9459 2002-08-29  John Levon  <levon@movementarian.org>
9460
9461         * BufferView_pimpl.C (dispatch): do not continue when
9462           no buffer
9463
9464 2002-08-28  André Pönitz <poenitz@gmx.net>
9465
9466         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9467
9468         * BufferView.h:
9469         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9470
9471 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9472
9473         * buffer.C: increment LYX_FORMAT to 221
9474
9475         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9476         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9477
9478         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9479
9480         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9481
9482 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9483
9484         * factory.C (createInset): use LyXTextClass::floats
9485
9486         * MenuBackend.C (expandFloatListInsert):
9487         (expandFloatInsert):
9488         (expandToc):
9489
9490         * text2.C (setCounter):
9491
9492         * LaTeXFeatures.C (useFloat):
9493         (getFloatDefinitions):
9494
9495         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9496
9497         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9498         floatlist_, with accessor floats().
9499
9500         * FloatList.h: remove global FloatList
9501
9502 2002-08-26  André Pönitz <poenitz@gmx.net>
9503
9504         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9505
9506         * BufferView.h:
9507         * BufferView2.C:
9508         * BufferView_pimpl.C:
9509         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9510
9511 2002-08-25  John Levon  <levon@movementarian.org>
9512
9513         * LyXAction.C: fix margin note description
9514
9515 2002-08-24  John Levon  <levon@movementarian.org>
9516
9517         * buffer.C:
9518         * bufferlist.C:
9519         * bufferview_funcs.C:
9520         * lyxfont.C:
9521         * undo_funcs.C: cleanups
9522
9523         * lyxfunc.C: disable CUT/COPY when no selection
9524
9525 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9526
9527         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9528         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9529
9530         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9531         Add backward compatibility to "mono", "gray" and "no".
9532
9533 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9534
9535         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9536         (and file_format >= 200).
9537
9538 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9539
9540         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9541
9542 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9543
9544         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9545
9546 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9547
9548         * BufferView_pimpl.C:
9549         * LyXAction.C:
9550         * buffer.C:
9551         * commandtags.h:
9552         * lyxfunc.C:
9553         * paragraph.[Ch]:
9554         * text2.C:
9555         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9556         inset and code to make it  work with the paragraph code. The inset
9557         can be anywhere in the paragraph, but will only do the expected
9558         thing in LaTeX if the layout file contains the parameter line
9559                         OptionalArgs    1
9560         (or more generally, a nonzero value) for that layout.
9561
9562 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9563
9564         * paragraph.h: remove the declaration of undefined counters class
9565         function.
9566
9567 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9568
9569         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9570         Dr. Richard Hawkins.
9571
9572 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9573
9574         * paragraph_funcs.h: remove some unneeded includes
9575
9576         * text.C (backspace): pasteParagraph now in global scipe
9577
9578         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9579         (pasteSelection): ditto
9580
9581         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9582         * paragraph_funcs.C (pasteParagraph): ... here
9583
9584 2002-08-20  André Pönitz <poenitz@gmx.net>
9585
9586         * commandtags.h: new LFUNs for swapping/copying table row/colums
9587
9588         * LyXAction.C:
9589         * lyxfunc.C: support for new lfuns
9590
9591 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9592
9593         * tabular.C:
9594         * buffer.[Ch]: remove NO_COMPABILITY stuff
9595
9596 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9597
9598         * boost.C (throw_exception): new file, with helper function for
9599         boost compiled without exceptions.
9600
9601         * paragraph.h:
9602         * lyxlength.C:
9603         * buffer.C:
9604         * ParameterStruct.h:
9605         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9606
9607         * bufferlist.C (emergencyWriteAll): use boost bind
9608
9609         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9610
9611         * text.C: include paragraph_funcs.h
9612         (breakParagraph): breakParagraph is now in global scope
9613
9614         * paragraph_funcs.[Ch]: new files
9615
9616         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9617         global scope
9618
9619         * buffer.C: include paragraph_funcs.h
9620         (insertStringAsLines): breakParagraph is now in global scope
9621
9622         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9623         paragraph_funcs.C
9624
9625         * CutAndPaste.C: include paragraph_funcs.h
9626         (cutSelection): breakParagraphConservative is now in global scope
9627         (pasteSelection): ditto
9628
9629         * buffer.h: declare oprator== and operator!= for
9630         Buffer::inset_iterator
9631
9632         * bufferlist.C (emergencyWrite): don't use fmt(...)
9633
9634         * text3.C: add using std::endl
9635
9636         * BufferView.C (moveCursorUpdate): remove default arg
9637
9638 2002-08-20  André Pönitz <poenitz@gmx.net>
9639
9640         * buffer.[Ch]: move inline functions to .C
9641
9642         * BufferView2.C:
9643         * BufferView_pimpl.C:
9644         * text.C:
9645         * buffer.[Ch]: use improved inset_iterator
9646
9647         * buffer.C:
9648         * paragraph.[Ch]: write one paragraph at a time
9649
9650 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9651
9652         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9653         style if style is not specified.
9654
9655 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9656
9657         * text2.C (setCounter): when searching for right label for a
9658         caption, make sure to recurse to parent insets (so that a caption
9659         in a minipage in a figure float works) (bug #568)
9660
9661 2002-08-20  André Pönitz <poenitz@gmx.net>
9662
9663         * text3.C: new file for LyXText::dispatch() and helpers
9664
9665         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9666
9667         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9668
9669 2002-08-19  André Pönitz <poenitz@gmx.net>
9670
9671         * lyxtext.h:
9672         * text.C: new LyXText::dispatch()
9673
9674         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9675
9676 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9677
9678         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9679
9680         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9681         Hebrew text.
9682
9683 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9684
9685         * Makefile.am: use $(variables) instead of @substitutions@
9686
9687 2002-08-15  André Pönitz <poenitz@gmx.net>
9688
9689         * lyxfunc.C:
9690         * BufferView_pimpl.C: streamlining mathed <-> outer world
9691         interaction
9692
9693         * commandtags.h:
9694         * LyXAction.C: remove unused LFUN_MATH
9695
9696 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9697
9698         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9699
9700 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9701
9702         * paragraph.C (Paragraph): reformat a bit
9703         (cutIntoMinibuffer): use builtin InsetList function instad of
9704         doing it manually.
9705         (getInset): ditto
9706
9707         * buffer.C: include boost/bind.hpp, add using std::for_each
9708         (writeFileAscii): use ParagraphList iterators
9709         (validate): use for_each for validate traversal of paragraphs
9710         (getBibkeyList): use ParagraphList iterators
9711         (resizeInsets): use for_each to resizeInsetsLyXText for all
9712         paragraphs.
9713         (getParFromID): use ParagraphList iterators
9714
9715         * BufferView2.C (lockInset): use paragraph list and iterators
9716
9717 2002-08-14  John Levon  <levon@movementarian.org>
9718
9719         * lyxserver.C: remove spurious xforms include
9720
9721 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9724
9725 2002-08-13  André Pönitz <poenitz@gmx.net>
9726
9727         * LyXAction.[Ch]:
9728         * lyxfunc.C: further cleaning
9729
9730 2002-08-13  André Pönitz <poenitz@gmx.net>
9731
9732         * funcrequest.h: new constructor
9733
9734         * funcrequest.C: move stuff here from .h
9735
9736         * Makefile.am:
9737         * BufferView_pimpl.C:
9738         * LyXAction.C:
9739         * toc.C:
9740         * lyxfunc.C: subsequent changes
9741
9742         * lyxfunc.h: new view() member function
9743
9744         * lyxfunc.C: subsequent changes
9745
9746 2002-08-13  Angus Leeming  <leeming@lyx.org>
9747
9748         * BufferView2.C:
9749         * BufferView_pimpl.C:
9750         * buffer.C:
9751         * converter.C:
9752         * importer.C:
9753         * lyxfunc.C:
9754         * lyxvc.C:
9755         * toc.C:
9756         * vc-backend.C:
9757         changes due to the changed LyXView interface that now returns references
9758         to member variables not pointers.
9759
9760 2002-08-13  Angus Leeming  <leeming@lyx.org>
9761
9762         * WordLangTuple (word, lang_code): return references to strings,
9763         not strings.
9764
9765         * BufferView.h:
9766         * SpellBase.h:
9767         * lyxtext.h: forward-declare WordLangTuple.
9768
9769         * BufferView2.C:
9770         * ispell.C:
9771         * pspell.C:
9772         * text.C: #include "WordLangTuple.h".
9773
9774         * lyxtext.h:
9775         * text.C: (selectNextWordToSpellcheck): constify return type.
9776
9777 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9778
9779         * buffer.C:
9780         * buffer.h:
9781         * lyxtext.h:
9782         * paragraph.C:
9783         * paragraph_pimpl.h:
9784         * text.C:
9785         * text2.C:
9786         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9787         suggested by Angus.
9788         Made updateCounter always count from start of buffer, and removed
9789         second argument (par).
9790         Reverted floats number display to '#'. Perhaps I'll try again when the
9791         code base is sanitized a bit.
9792
9793 2002-08-12  Angus Leeming  <leeming@lyx.org>
9794
9795         * buffer.[Ch] (getLabelList): constify.
9796
9797 2002-08-07  André Pönitz <poenitz@gmx.net>
9798
9799         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9800
9801         * funcrequest.h: extension to keep mouse (x,y) position
9802
9803 2002-08-12  Juergen Vigna  <jug@sad.it>
9804
9805         * BufferView2.C (insertErrors): forbid undo when inserting error
9806         insets.
9807
9808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9809
9810 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9811
9812         * ParagraphList.[Ch]: new files
9813
9814         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9815
9816         * BufferView2.C (lockInset): ParagraphList changes
9817         * toc.C: ditto
9818         * text2.C: ditto
9819         * bufferlist.C: ditto
9820         * buffer.h: ditto
9821         * buffer.C: ditto
9822
9823 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9824
9825         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9826         unused class variable counter_,
9827
9828         * paragraph.[Ch] (getFirstCounter): delete unused function
9829
9830         * counters.C: include LAssert.h
9831         (reset): add a new function with no arg, change other version to
9832         not have def. arg and to not allow empty arg.
9833
9834         * text2.C (setCounter): remove empty arg from call to Counters::reset
9835
9836 2002-08-11  John Levon  <levon@movementarian.org>
9837
9838         * Makefile.am: add WordLangTuple.h
9839
9840 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9841
9842         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9843         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9844
9845         * insets/insettext.C: InsetList changes
9846
9847         * graphics/GraphicsSupport.C (operator()): InsetList changes
9848
9849         * toc.C (getTocList): InsetList changes
9850
9851         * paragraph_pimpl.[Ch]: InsetList changes
9852
9853         * paragraph.[Ch]: InsetList changes
9854
9855         * buffer.C (inset_iterator): InsetList changes
9856         (setParagraph): ditto
9857         * buffer.h (inset_iterator): ditto
9858         * iterators.C (operator++): ditto
9859         * iterators.h: ditto
9860
9861         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9862
9863         * InsetList.[Ch]: new files, most InsetList handling moved out of
9864         paragraph.C.
9865
9866         * BufferView2.C (removeAutoInsets): InsetList changes
9867         (lockInset): ditto
9868         (ChangeInsets): ditto
9869
9870 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9871
9872         * paragraph_pimpl.h (empty): new function
9873
9874         * paragraph.[Ch] (empty): new function
9875
9876         * other files: use the new Paragraph::empty function
9877
9878 2002-08-09  John Levon  <levon@movementarian.org>
9879
9880         * lyxtext.h: remove unused refresh_height
9881
9882 2002-08-09  John Levon  <levon@movementarian.org>
9883
9884         * Makefile.am:
9885         * sgml.h:
9886         * sgml.C:
9887         * buffer.C:
9888         * paragraph.h:
9889         * paragraph.C: move sgml char escaping out of paragraph
9890
9891         * paragraph.h:
9892         * paragraph.C: remove id setter
9893
9894         * buffer.C:
9895         * paragraph.C:
9896         * paragraph_pimpl.C: remove dead tex_code_break_column
9897
9898         * bufferview_funcs.C: small cleanup
9899
9900         * lyxfunc.C: remove dead proto
9901
9902         * lyxtext.h: make some stuff private. Remove some dead stuff.
9903
9904         * lyxgluelength.C: make as[LyX]String() readable
9905
9906 2002-08-08  John Levon  <levon@movementarian.org>
9907
9908         * LyXAction.h:
9909         * LyXAction.C:
9910         * MenuBackend.C:
9911         * ToolbarDefaults.C:
9912         * lyxfunc.C:
9913         * lyxrc.C:
9914         * toc.C: lyxaction cleanup
9915
9916 2002-08-08  John Levon  <levon@movementarian.org>
9917
9918         * BufferView2.C: small cleanup
9919
9920         * lyxfind.h:
9921         * lyxfind.C: move unnecessary header into the .C
9922
9923 2002-08-08  John Levon  <levon@movementarian.org>
9924
9925         * funcrequest.h: just tedious nonsense
9926
9927         * lyx_main.h:
9928         * lyx_main.C: cleanups
9929
9930         * buffer.C:
9931         * vspace.C: remove dead header lyx_main.h
9932
9933 2002-08-07  Angus Leeming  <leeming@lyx.org>
9934
9935         * Paragraph.[Ch]:
9936         * paragraph_pimpl.h:
9937         Forward declare class Counters in paragraph.h by moving the ctrs member
9938         variable into Paragraph::Pimpl.
9939         (counters): new method, returning a reference to pimpl_->ctrs.
9940
9941         * text2.C: ensuing changes.
9942
9943 2002-08-07  John Levon  <levon@movementarian.org>
9944
9945         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9946
9947         * BufferView_pimpl.C: announce X selection on double/triple
9948           click
9949
9950         * lyx_main.C: use correct bool in batch dispatch
9951
9952         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9953
9954 2002-08-07  André Pönitz <poenitz@gmx.net>
9955
9956         * funcrequest.h: new class to wrap a kb_action and its argument
9957
9958         * BufferView.[Ch]:
9959         * BufferView_pimpl[Ch]:
9960         * LaTeX.C:
9961         * LyXAction.[Ch]:
9962         * lyxfunc.[Ch]:
9963         * lyxrc.C: subsequent changes
9964
9965
9966 2002-08-07  John Levon  <levon@movementarian.org>
9967
9968         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9969           document options change.
9970
9971 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9972
9973         * counters.[Ch]
9974         * text2.C
9975         * paragraph.[Ch]
9976         * makefile.am: move counters functionality over from
9977         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9978
9979 2002-08-06  John Levon  <levon@movementarian.org>
9980
9981         * WordLangTuple.h: new file for word + language code tuple
9982
9983         * SpellBase.h:
9984         * pspell.h:
9985         * pspell.C:
9986         * ispell.h:
9987         * ispell.C:
9988         * lyxtext.h:
9989         * text.C:
9990         * text2.C:
9991         * BufferView.h:
9992         * BufferView2.C: use WordLangTuple
9993
9994         * layout.h:
9995         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9996
9997 2002-08-06  John Levon  <levon@movementarian.org>
9998
9999         * lyx_main.C: fix cmdline batch handling
10000
10001 2002-08-06  André Pönitz <poenitz@gmx.net>
10002
10003         * lyxrc.C: set default for show_banner to true
10004
10005 2002-08-06  John Levon  <levon@movementarian.org>
10006
10007         * pspell.C: fix a crash, and allow new aspell to work
10008
10009 2002-08-06  John Levon  <levon@movementarian.org>
10010
10011         * lyxfunc.C:
10012         * kbmap.C: small cleanup
10013
10014         * vspace.h:
10015         * vspace.C: add const
10016
10017 2002-08-05  John Levon  <levon@movementarian.org>
10018
10019         * LyXAction.C: back to tabular-insert
10020
10021 2002-08-04  John Levon  <levon@movementarian.org>
10022
10023         * BufferView.h:
10024         * BufferView.C: cosmetic change
10025
10026         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10027
10028         * bufferlist.C:
10029         * buffer.h:
10030         * buffer.C:
10031         * lyxcb.h:
10032         * lyxcb.C:
10033         * lyxserver.C:
10034         * lyxvc.C:
10035         * vc-backend.C:
10036         * BufferView2.C: purge all "Lyx" not "LyX" strings
10037
10038         * lyxcursor.h:
10039         * lyxcursor.C: attempt to add some documentation
10040
10041         * lyxfunc.C:
10042         * commandtags.h:
10043         * LyXAction.C:
10044         * ToolbarDefaults.C:
10045         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10046           merge with LFUN_TABULAR_INSERT
10047
10048         * Makefile.am:
10049         * SpellBase.h:
10050         * ispell.h:
10051         * ispell.C:
10052         * pspell.h:
10053         * pspell.C: split up i/pspell implementations into separate
10054           files, many cleanups
10055
10056         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10057
10058         * text2.C: some cleanup
10059
10060         * lyxfunc.C: don't check for isp_command == "none" any more, it
10061           didn't make any sense
10062
10063 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10064
10065         * counters.[Ch]
10066         * text2.C
10067         * paragraph.[Ch]
10068         * makefile.am: move counters functionality over
10069         from text2.C/paragraph.[Ch] to counters.[Ch], and
10070         make proper C++.
10071 2002-08-02  John Levon  <levon@movementarian.org>
10072
10073         * buffer.C: s/lyxconvert/lyx2lyx/
10074
10075 2002-08-02  Angus Leeming  <leeming@lyx.org>
10076
10077         * lyxlex.C: revert John's change as it breaks reading of the user
10078         preamble.
10079
10080 2002-08-02  Angus Leeming  <leeming@lyx.org>
10081
10082         * importer.C (Import):
10083         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10084         changes due to LyXView::view() now returning a boost::shared_ptr.
10085
10086 2002-08-02  John Levon  <levon@movementarian.org>
10087
10088         * lyxlex.C: small cleanup
10089
10090 2002-08-02  John Levon  <levon@movementarian.org>
10091
10092         * text2.C (status): small cleanup, no logic change
10093
10094 2002-08-01  John Levon  <levon@movementarian.org>
10095
10096         * buffer.h:
10097         * buffer.C (writeFile): don't output alerts, caller
10098           handles this
10099
10100         * bufferlist.C:
10101         * lyx_cb.C: from above
10102
10103         * lyxfunc.C: allow to open non-existent files
10104
10105 2002-07-31  John Levon  <levon@movementarian.org>
10106
10107         * lyxserver.C: don't let incidental errors get
10108           in the way (errno)
10109
10110 2002-07-30  John Levon  <levon@movementarian.org>
10111
10112         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10113
10114 2002-07-30  John Levon  <levon@movementarian.org>
10115
10116         * lyxserver.h:
10117         * lyxserver.C: remove I/O callback too
10118
10119 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10122         log.
10123
10124 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10125
10126         * many files: strip,frontStrip -> trim,ltrim,rtrim
10127
10128 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10129
10130         * PrinterParams.h: remove extern containsOnly, and include
10131         support/lstrings.h instead.
10132
10133         * LaTeX.C (scanAuxFile): modify because of strip changes
10134         (deplog): ditto
10135         * buffer.C (makeLaTeXFile): ditto
10136         * bufferparams.C (writeFile): ditt
10137         * lyxfont.C (stateText): ditto
10138         * lyxserver.C (read_ready): ditto
10139         * vc-backend.C (scanMaster): ditto
10140
10141         * BufferView_pimpl.h: ws changes
10142
10143         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10144
10145 2002-07-26  André Pönitz <poenitz@gmx.net>
10146
10147         * kb_sequence.C: remove unnedred usings
10148
10149 2002-07-26  Juergen Vigna  <jug@sad.it>
10150
10151         * lyxfind.C (LyXReplace): we have to check better if the returned
10152         text is not of theLockingInset()->getLockingInset().
10153
10154 2002-07-25  Juergen Vigna  <jug@sad.it>
10155
10156         * lyxfind.C (LyXReplace): don't replace if we don't get the
10157         right LyXText.
10158
10159         * undo_funcs.C (createUndo): remove debugging code.
10160
10161 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10162
10163         * buffer.C (parseSingleLyXformat2Token): Use default placement
10164         when reading old floats.
10165
10166         * FloatList.C (FloatList): Change the default placement of figure
10167         and tables to "tbp".
10168
10169 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * MenuBackend.C: using std::max
10172
10173 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * MenuBackend.C (expandToc):
10176         (expandToc2): code moved from xforms menu frontend. It is now
10177         generic and TOCs are transparent to menu frontends.
10178
10179 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10180
10181         * toc.C (getTocList): protect against buf=0
10182
10183         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10184         Menu as first parameter. Now, this calls itself recursively to
10185         expand a whole tree (this will be useful for TOC handling)
10186         (expandFloatInsert): remove 'wide' version of floats
10187
10188         * MenuBackend.h (submenuname): returns the name of the submenu.
10189         (submenu): returns the submenu itself, provided it has been
10190         created by MenuBackend::expand
10191
10192 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10195         insets which have noFontChange == true. (bug #172)
10196
10197 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10198
10199         * BufferView_pimpl.C: add connection objects and use them...
10200         (Pimpl): here.
10201
10202 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10203
10204         * MenuBackend.C (expandLastfiles):
10205         (expandDocuments):
10206         (expandFormats):
10207         (expandFloatListInsert):
10208         (expandFloatInsert):
10209         (expand): split expand in parts
10210
10211 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10212
10213         * lyx_gui.C: use lyx_gui::exit()
10214
10215 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * LyXAction.C: show the failing pseudo action
10218
10219 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10220
10221         * buffer.C (readFile): Run the lyxconvert script in order to read
10222         old files.
10223
10224 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10225
10226         * LyXAction.C:
10227         * commandtags.h:
10228         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10229
10230 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * LyXAction.C:
10233         * commandtags.h:
10234         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10235
10236 2002-07-22  Herbert Voss  <voss@lyx.org>
10237
10238         * lengthcommon.C:
10239         * lyxlength.[Ch]: add support for the vertical lengths
10240
10241 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10242
10243         * toc.[Ch]: std:: fixes
10244
10245 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * lyxrc.C: do not include lyx_main.h
10248
10249         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10250         for layouts
10251
10252         * lyxrc.C:
10253         * encoding.C:
10254         * bufferlist.C:
10255         * BufferView2.C: include "lyxlex.h"
10256
10257         * tabular.h:
10258         * bufferparams.h: do not #include "lyxlex.h"
10259
10260         * lyxtextclasslist.C (Add): remove method
10261         (classlist): renamed to classlist_
10262
10263         * paragraph_pimpl.C:
10264         * paragraph.C:
10265         * text2.C:
10266         * CutAndPaste.C:
10267         * bufferview_funcs.C:
10268         * bufferlist.C:
10269         * text.C:
10270         * LaTeXFeatures.C:
10271         * buffer.C:
10272         * toc.C (getTocList): use BufferParams::getLyXTextClass
10273
10274         * toc.C (getTocList): use InsetFloat::addToToc
10275
10276         * toc.[Ch]: new files, containing helper functions to handle table
10277         of contents
10278
10279         * lyxfunc.C (dispatch): no need to remove spaces around command
10280         given as a string
10281         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10282         first command of the sequence; it is not very clever, but I do not
10283         have a better idea, actually
10284
10285         * LyXAction.C (LookupFunc): make sure to remove space at the
10286         beginning and end of the command
10287
10288 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10289
10290         * MenuBackend.C (getMenubar): new method: return the menubar of
10291         this menu set
10292         (read): treat differently reading of menu and menubar (in
10293         particular, the menubar has no name now)
10294         (Menu::menubar): remove
10295
10296         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10297         saving is finished
10298
10299 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10300
10301         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10302         a bibitem inset in a RTL paragraph.
10303
10304 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * paragraph_pimpl.C: constify
10307
10308         * BufferView_pimpl.C:
10309         * LaTeX.C:
10310         * lyxfunc.C: fix dispatch in a nicer way
10311
10312 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10313
10314         * lyxfunc.C (dispatch):
10315         * BufferView_pimpl.C:
10316         * BufferView_pimpl.h:
10317         * BufferView.C:
10318         * BufferView.h: rename Dispatch() to dispatch()
10319
10320         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10321
10322         * lyxlayout.C (Read): honor DependsOn tag
10323
10324         * lyxlayout.[Ch] (depends_on): new method
10325
10326         * version.C.in: update lyx_docversion
10327
10328         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10329
10330         * paragraph.C (validate): remove from here...
10331         * paragraph_pimpl.C (validate): ... and move here
10332         (isTextAt): make it const
10333
10334         * buffer.C (getLists): ws cleanup
10335
10336 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10337
10338         * language.C (read): Use iso8859-1 encoding in latex_lang
10339         (this prevents LyX from crashing when using iso10646-1 encoding).
10340
10341 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10342
10343         * text2.C (toggleInset): if cursor is inside an inset, close the
10344         inset and leave cursor _after_ it
10345
10346 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * lyxfunc.C: move minibuffer completion handling out of here
10349
10350 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * BufferView_pimpl.C:
10353         * LaTeX.C: fix dispatch calls
10354
10355 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10356
10357         * text.C (drawChars): Fix Arabic text rendering.
10358
10359 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10360
10361         * LyXAction.C:
10362         * commandtags.h:
10363         * lyxfunc.C: remove message-push/pop
10364
10365         * lyxserver.C:
10366         * lyxfunc.h:
10367         * lyxfunc.C: rationalise some code by removing verboseDispatch
10368           in favour of a bool argument to dispatch()
10369
10370 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10371
10372         * lyx_main.C (init): make sure to read symlinks as absolute paths
10373
10374 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * lyxfunc.h:
10377         * lyxfunc.C: no need for commandshortcut to be a member
10378
10379 2002-07-15  André Pönitz <poenitz@gmx.net>
10380
10381         * converter.C: add support for $$s (scripts from lib/scripts dir)
10382         * lyx_main.C: white space
10383
10384 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * bufferlist.C:
10387         * lyxrc.h:
10388         * lyxrc.C: remove second exit confirmation
10389
10390 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * BufferView.h:
10393         * BufferView.C:
10394         * BufferView2.C:
10395         * BufferView_pimpl.h:
10396         * BufferView_pimpl.C:
10397         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10398
10399 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10400
10401         * MenuBackend.C (expand): add numeric shortcuts to document menu
10402
10403         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10404
10405 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10406
10407         * lyxfont.C (setLyXFamily):
10408         (setLyXSeries):
10409         (setLyXShape):
10410         (setLyXSize):
10411         (setLyXMisc):
10412         (lyxRead):
10413         * debug.C (value):
10414         * buffer.C (asciiParagraph): use ascii_lowercase
10415
10416 2002-07-15  Mike Fabian  <mfabian@suse.de>
10417
10418         * lyxlex_pimpl.C (search_kw):
10419         * lyxlex.C (getLongString):
10420         * converter.h (operator<):
10421         * converter.C (operator<):
10422         * buffer.C (parseSingleLyXformat2Token):
10423         (asciiParagraph):
10424         * ToolbarDefaults.C (read):
10425         * MenuBackend.C (checkShortcuts):
10426         (read):
10427         * LColor.C (getFromGUIName):
10428         (getFromLyXName): use the compare_ascii_no_case instead of
10429         compare_no_case, because in turkish, 'i' is not the lowercase
10430         version of 'I', and thus turkish locale breaks parsing of tags.
10431
10432 2002-07-16  Angus Leeming  <leeming@lyx.org>
10433
10434         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10435         now takes a Buffer const & argument.
10436
10437 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * BufferView.C (resize): check there's a buffer to resize
10440
10441 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * lyxfunc.C: remove dead code
10444
10445         * lyxserver.h:
10446         * lyxserver.C: use lyx_guii::set_read_callback
10447
10448 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10449
10450         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10451         an inset in a RTL paragraph.
10452
10453 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * lyxfunc.C: repaint after a font size update
10456
10457 2002-07-15  André Pönitz <poenitz@gmx.net>
10458
10459         * lyxlength.C: inBP should be able to return negative values
10460
10461 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * lyxfunc.C: use lyx_gui::update_fonts()
10464
10465 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * lyxfunc.C: use lyx_gui::update_color()
10468
10469 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * bufferlist.C:
10472         * lyxfunc.h:
10473         * lyxfunc.C:
10474         * lyxrc.h:
10475         * lyxrc.C: remove file->new asks for name option, and let
10476           buffer-new take an argument
10477
10478 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * BufferView_pimpl.C: remove unneeded extra repaint()
10481
10482 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10483
10484         * LyXAction.C: allow command-sequence with NoBuffer
10485
10486         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10487
10488 2002-07-10  Angus Leeming  <leeming@lyx.org>
10489
10490         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10491
10492 2002-07-09  Angus Leeming  <leeming@lyx.org>
10493
10494         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10495
10496 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * lengthcommon.h: whitespace
10499
10500         * lyxfunc.C: update scrollbar after goto paragraph
10501
10502         * lyxtext.h: factor out page break drawing, and fix it so
10503           page break/added space paints as selected nicely
10504
10505 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * BufferView_pimpl.C: add FIXMEs, clean up a little
10508
10509 2002-07-09  André Pönitz <poenitz@gmx.net>
10510
10511         * lyxfont.[Ch]: support for wasy symbols
10512
10513 2002-07-08  André Pönitz <poenitz@gmx.net>
10514
10515         * BufferView_pimpl.C: apply John's patch for #93.
10516
10517 2002-07-05  Angus Leeming  <leeming@lyx.org>
10518
10519         * BufferView_pimpl.C (buffer): generate previews if desired.
10520
10521         * LColor.h: add "preview" to the color enum.
10522
10523         * LColor.C (LColor): add a corresponding entry to the items array.
10524
10525         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10526         with this buffer.
10527
10528 2002-07-05  Angus Leeming  <leeming@lyx.org>
10529
10530         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10531         The body of the code is now in the method that is passed an ostream &
10532         rather than a file name.
10533         Pass an additional only_preamble parameter, useful for the forthcoming
10534         preview stuff.
10535
10536 2002-07-03  André Pönitz <poenitz@gmx.net>
10537
10538         * lyxfunc.C: simplify getStatus() a bit for math stuff
10539
10540 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10541
10542         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10543
10544 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10545
10546         * text.C (changeRegionCase): do not change case of all the
10547         document when region ends at paragraph end (bug #461)
10548
10549 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10550
10551         * paragraph.C (startTeXParParams):
10552         (endTeXParParams): add \protect when necessary
10553
10554 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10555
10556         * BufferView_pimpl.C (workAreaExpose): remove warning
10557
10558 2002-06-27  Angus Leeming  <leeming@lyx.org>
10559
10560         * Makefile.am: add lyxlayout_ptr_fwd.h.
10561
10562 2002-06-26  André Pönitz <poenitz@gmx.net>
10563
10564         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10565
10566 2002-06-25  Angus Leeming  <leeming@lyx.org>
10567
10568         * lyxfunc.C (dispatch): Comment out the call to
10569         grfx::GCache::changeDisplay. The method no longer exists now that the
10570         pixmap generation part of the graphics loader has been moved into
10571         InsetGraphics.
10572
10573 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * text2.C: layout as layout
10576
10577         * text.C: layout as layout
10578
10579         * tabular.C (OldFormatRead): layout as layout
10580
10581         * paragraph_pimpl.C (TeXDeeper): layout as layout
10582         (realizeFont): layout as layout
10583
10584         * paragraph.C (writeFile): layout as layout
10585         (validate): layout as layout
10586         (getFont): layout as layout
10587         (getLabelFont): layout as layout
10588         (getLayoutFont): layout as layout
10589         (breakParagraph): layout as layout
10590         (stripLeadingSpaces): layout as layout
10591         (getEndLabel): layout as layout
10592         (getMaxDepthAfter): layout as layout
10593         (applyLayout): layout as layout
10594         (TeXOnePar): layout as layout
10595         (simpleTeXOnePar): layout as layout
10596         (TeXEnvironment): layout as layout
10597         (layout): layout as layout
10598         (layout): layout as layout
10599
10600         * lyxtextclass.C (compare_name): new functor to work with
10601         shared_ptr, layout as layout
10602         (Read): layout as layout
10603         (hasLayout): layout as layout
10604         (operator): layout as layout
10605         (delete_layout): layout as layout
10606         (defaultLayout): layout as layout
10607
10608         * lyxlayout_ptr_fwd.h: new file
10609
10610         * lyxlayout.C (Read): layout as layout
10611
10612         * lyx_cb.C (MenuInsertLabel): layout as layout
10613
10614         * bufferlist.C (newFile): layout as layout
10615
10616         * buffer.C (readLyXformat2): layout as layout
10617         (parseSingleLyXformat2Token): layout as layout
10618         (insertStringAsLines): layout as layout
10619         (asciiParagraph): layout as layout
10620         (latexParagraphs): layout as layout
10621         (makeLinuxDocFile): layout as layout
10622         (simpleLinuxDocOnePar): layout as layout
10623         (makeDocBookFile): layout as layout
10624         (simpleDocBookOnePar): layout as layout
10625         (getLists): layout as layout
10626
10627         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10628
10629         * CutAndPaste.C (cutSelection): layout as layout
10630         (pasteSelection): layout as layout
10631         (SwitchLayoutsBetweenClasses): layout as layout
10632
10633         * BufferView_pimpl.C (Dispatch): layout as layout
10634         (smartQuote): layout as layout
10635
10636         * BufferView2.C (unlockInset): layout as layout
10637
10638 2002-06-24  André Pönitz <poenitz@gmx.net>
10639
10640         * lyxfunc.C: fix #487
10641
10642 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * lyxrc.h:
10645         * lyxrc.C:
10646         * lyxfunc.C: remove display_shortcuts, show_banner
10647
10648 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * Buffer_pimpl.C: oops, update on resize
10651
10652 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * buffer.C:
10655         * converter.C:
10656         * exporter.C:
10657         * lyxfunc.C:
10658         * BufferView.h:
10659         * BufferView.C: use repaint()
10660
10661         * BufferView_pimpl.h:
10662         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10663           as it's a clearer description. Remove superfluous
10664           redraws.
10665
10666 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * text.C: fix bug 488. Not ideal, but getting
10669           getWord() to work properly for the insets that
10670           matter is more difficult ...
10671
10672 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * BufferView_pimpl.C:
10675         * LyXAction.C:
10676         * commandtags.h:
10677         * lyxfunc.C: remove the six million index lyxfuncs to just
10678           one, and DTRT (bug 458)
10679
10680 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10681
10682         * BufferView.h:
10683         * BufferView.C:
10684         * BufferView_pimpl.h:
10685         * BufferView_pimpl.C: clean up resize() stuff,
10686           and unnecessary updateScreen()s
10687
10688 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * BufferView.h:
10691         * BufferView.C:
10692         * BufferView_pimpl.h:
10693         * BufferView_pimpl.C:
10694         * lyxfind.h:
10695         * lyxfind.C:
10696         * minibuffer.C: remove focus management of workarea,
10697           not needed. Use screen's greyOut()
10698
10699 2002-06-17  Herbert Voss  <voss@lyx.org>
10700
10701         * converter.C: (convert) do not post a message, when converting
10702         fails, let the calling function decide what to do in this case
10703
10704 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * lyxfunc.C: tidy up a little
10707
10708 2002-06-16    <alstrup@diku.dk>
10709
10710         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10711         Got rid of FORMS_H_LOCATION include. Now we are
10712         GUII.
10713
10714 2002-06-15  LyX Development team  <lyx@rilke>
10715
10716         * buffer.[Ch] (sgmlOpenTag):
10717         (sgmlCloseTag): Added support for avoiding pernicious mixed
10718         content. Return number of lines written.
10719
10720         (makeLinuxDocFile):
10721         (makeDocBookFile): Fixed calls to sgml*Tag.
10722         Simple white space clean.
10723
10724         (simpleDocBookOnePar): Simple white space clean.
10725
10726         * tabular.[Ch] (docBook): Renamed to docbook and got another
10727         argument to related with the pernicious mixed content.
10728
10729         (docbookRow): Fixed calls for docbook inset method.
10730
10731 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10732
10733         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10734         so it's X11 independent.
10735
10736         * kb*.[Ch]: ditto.
10737
10738         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10739
10740 2002-06-15  Lyx Development team  <lyx@electronia>
10741
10742         * intl.h: Renamed getTrans to getTransManager.
10743
10744 2002-06-14  Angus Leeming  <leeming@lyx.org>
10745
10746         * Makefile.am: nuke forgotten stl_string_fwd.h.
10747
10748 2002-06-12  Angus Leeming  <leeming@lyx.org>
10749
10750         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10751
10752 2002-06-13  Angus Leeming  <leeming@lyx.org>
10753
10754         * LaTeX.C:
10755         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10756
10757 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10758
10759         * kbmap.C (getiso): add support for cyrillic and greek
10760
10761 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * BufferView.h:
10764         * BufferView.C:
10765         * BufferView_pimpl.h:
10766         * BufferView_pimpl.C: move bogus scrolling logic
10767           to xforms
10768
10769 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * lyxfunc.C:
10772         * BufferView_pimpl.C: view->resize() change
10773
10774 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * BufferView_pimpl.C: topCursorVisible
10777           prototype change
10778
10779 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * Makefile.am:
10782         * lyx_gui.h:
10783         * lyx_gui.C: move to frontends/
10784
10785         * main.C:
10786         * lyx_main.h:
10787         * lyx_main.C: changes from above
10788
10789 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * intl.C:
10792         * intl.h:
10793         * kbmap.C:
10794         * kbsequence.C:
10795         * lyx_cb.C:
10796         * lyx_main.C: minor tidy
10797
10798 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * BufferView_pimpl.h:
10801         * BufferView_pimpl.C:
10802         * BufferView.h:
10803         * BufferView.C: make painter() const,
10804           remove dead code
10805
10806         * BufferView2.C: use screen() accessor
10807
10808         * lyx_main.h:
10809         * lyx_main.C: some minor cleanup
10810
10811 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * BufferView_pimpl.h:
10814         * BufferView_pimpl.C: remove enter/leaveView,
10815           use workHeight()
10816
10817 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * BufferView.h:
10820         * BufferView.C:
10821         * BufferView2.C:
10822         * BufferView_pimpl.h:
10823         * BufferView_pimpl.C: only construct screen once,
10824           rename
10825
10826         * lyxrc.C: remove pointless comment
10827
10828 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * BufferView.h:
10831         * BufferView.C: remove active() and belowMouse()
10832
10833         * BufferView_pimpl.h:
10834         * BufferView_pimpl.C: use workarea() not workarea_,
10835           and make it use a scoped_ptr instead
10836
10837 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * lyx_gui.C: add debug message on BadWindow
10840
10841 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10842
10843         * sp_spell.C: fdopen is not part of the C++ standard.
10844
10845         * paragraph.C (InsetIterator): use >= instead of ==
10846
10847 2002-06-07  Angus Leeming  <leeming@lyx.org>
10848
10849         Fixes needed to compile with Compaq cxx 6.5.
10850         * BufferView_pimpl.C:
10851         * DepTable.C:
10852         * buffer.C:
10853         * converter.C:
10854         * encoding.C:
10855         * lyx_gui.C:
10856         * lyx_main.C:
10857         * lyxtextclasslist.C:
10858         * minibuffer.C:
10859         * sp_spell.C:
10860         * tabular_funcs.C:
10861         * vc-backend.C:
10862         all c-library variables have been moved into namespace std. Wrap
10863         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10864
10865         * lyxlength.C:
10866         * tabular-old.C:
10867         * tabular.C:
10868         Add a using std::abs declaration.
10869
10870         * kbmap.h (modifier_pair):
10871         * paragraph.h (InsetTable, InsetList):
10872         * lyxfont.h (FontBits):
10873         type definition made public.
10874
10875         * bufferlist.C (emergencyWriteAll): the compiler complains that
10876         there is more than one possible lyx::class_fun template to choose from.
10877         I re-named the void specialisation as lyx::void_class_fun.
10878
10879         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10880
10881         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10882         the compiler is is unable to find tostr in write_attribute.
10883
10884 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10885
10886         * buffer.C (sgmlError): hide #warning
10887
10888 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * xtl/*: get rid of xtl, which is not in use anyway
10891
10892         * LyXAction.C (init):
10893         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10894         were unimplemented xtl experimentation
10895
10896 2002-06-04  André Pönitz <poenitz@gmx.net>
10897
10898         * lyxfunc.C: disable array operation on simple formulae
10899
10900 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * converter.C: constify a bit
10903
10904 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * lyx_gui.C: check xforms version correctly
10907
10908 2002-04-30  Herbert Voss  <voss@lyx.org>
10909
10910         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10911         "keep" option
10912
10913 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10916           attempt to register it with a VCS)
10917
10918 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * lyx_main.C (init): honor variables LYX_DIR_13x and
10921         LYX_USERDIR_13x
10922
10923 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10924
10925         * buffer.h:
10926         * buffer.C:
10927         * lyx_main.C: fix a crash on bad command line,
10928           and give a useful exit status on error
10929
10930         * lyxfunc.C (doImport): allow -i lyx to work
10931
10932 2002-03-30  André Pönitz <poenitz@gmx.net>
10933
10934         * lyxfunc.C: mathed font changes
10935
10936 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * LaTeX.C:
10939         * importer.h:
10940         * importer.C:
10941         * lyx_sty.h:
10942         * lyx_sty.C:
10943         * lyxlex.C:
10944         * lyxrow.h:
10945         * lyxtext.h:
10946         * paragraph.h:
10947         * paragraph.C:
10948         * texrow.h:
10949         * texrow.C:
10950         * text.C:
10951         * trans_mgr.h: srcdocs, and some minor cleanups
10952
10953 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10954
10955         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10956         call getFont all the time)
10957
10958 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10959
10960         * switch from SigC signals to boost::signals
10961
10962 2002-05-29  André Pönitz <poenitz@gmx.net>
10963
10964         * paragraph_pimpl.C (getChar): don't call size() too often...
10965
10966 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10967
10968         * paragraph_pimpl.C (insertChar): do not try to update tables when
10969         appending (pos == size())
10970
10971         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10972         in order to reduce drastically the number of comparisons needed to
10973         parse a large document
10974
10975 2002-05-29  André Pönitz <poenitz@gmx.net>
10976
10977         * text.C:
10978         * text2.C:
10979         * lyxtextclass.C:
10980         * sp_pspell.h:
10981         * textclasslist.[Ch]:
10982         * sp_ispell.h: whitespace change
10983
10984 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10985
10986         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10987         lyxaction directly now.
10988
10989 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * trans.C:
10992         * lyxfont.C:
10993         * lyxvc.C: remove unused headers
10994
10995 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * Makefile.am:
10998         * buffer.h:
10999         * undostack.h:
11000         * undostack.C:
11001         * undo_funcs.h:
11002         * undo_funcs.C: some cleanups. Use shared_ptr
11003           and a template for the undo stacks.
11004
11005 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * BufferView_pimpl.h:
11008         * BufferView_pimpl.C:
11009         * kbmap.h:
11010         * kbmap.C:
11011         * kbsequence.h:
11012         * kbsequence.C:
11013         * lyxfunc.h:
11014         * lyxfunc.C:
11015         * text2.C: use key_state/mouse_state
11016
11017 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11018
11019         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11020         and LSubstring
11021
11022         * chset.C: change include order
11023         (loadFile): use boost regex and get rid of LRegex and LSubstring
11024
11025         * Makefile.am (BOOST_LIBS): new variable
11026         (lyx_LDADD): use it
11027
11028         * LaTeX.C: change include order.
11029         (scanAuxFile): use boost regex and get rid of LRegex and
11030         LSubstring
11031         (deplog): ditto
11032
11033 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11034
11035         * ColorHandler.h:
11036         * ColorHandler.C:
11037         * FontInfo.h:
11038         * FontInfo.C: moved to frontends/xforms/
11039
11040         * FontLoader.h:
11041         * FontLoader.C: moved into frontends for GUIIzation
11042
11043         * Makefile.am:
11044         * lyx_gui.C:
11045         * lyxfont.C:
11046         * lyxfunc.C: changes from above
11047
11048 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11049
11050         * LColor.C: remove spurious X include
11051
11052         * BufferView_pimpl.C:
11053         * Makefile.am:
11054         * font.h:
11055         * font.C:
11056         * text.C:
11057         * text2.C: move font metrics to frontends/
11058
11059 2002-05-24  Juergen Vigna  <jug@sad.it>
11060
11061         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11062         setting the undo_cursor.
11063
11064         * ParagraphParameters.h: include local includes first.
11065
11066 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11067
11068         * BufferView_pimpl.C:
11069         * BufferView_pimpl.h:
11070         * Makefile.am:
11071         * WorkArea.h:
11072         * WorkArea.C:
11073         * screen.C: move WorkArea into frontends/
11074
11075         * lyxscreen.h:
11076         * screen.C:
11077         * text.C:
11078         * BufferView.C:
11079         * BufferView2.C: move LyXScreen into frontends/
11080
11081         * lyxlookup.h:
11082         * lyxlookup.C:
11083         * lyx_gui.C: move lyxlookup into frontends/xforms/
11084
11085 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * BufferView2.C:
11088         * BufferView_pimpl.C:
11089         * FontLoader.C:
11090         * LyXView.h:
11091         * LyXView.C:
11092         * Makefile.am:
11093         * WorkArea.C:
11094         * XFormsView.h:
11095         * XFormsView.C:
11096         * buffer.C:
11097         * bufferlist.C:
11098         * bufferview_funcs.C:
11099         * converter.C:
11100         * importer.C:
11101         * lyx_cb.C:
11102         * lyx_gui.C:
11103         * lyx_main.C:
11104         * lyx_find.C:
11105         * lyxfunc.C:
11106         * lyxvc.C:
11107         * minibuffer.C:
11108         * text.C:
11109         * text2.C:
11110         * trans.C:
11111         * vc-backend.C: move LyX/XFormsView into frontends/
11112
11113 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * Makefile.am:
11116         * PainterBase.C:
11117         * PainterBase.h:
11118         * Painter.C:
11119         * Painter.h:
11120         * WorkArea.C:
11121         * WorkArea.h:
11122         * screen.C:
11123         * tabular.C:
11124         * text.C:
11125         * text2.C: move Painter to frontends/
11126
11127 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11128
11129         * buffer.C: comment out some some code that depend upon lyx_format
11130         < 220
11131
11132         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11133         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11134
11135         * buffer.h (NO_COMPABILITY): turn off compability
11136
11137         * ColorHandler.C: include scoped_array.hpp
11138
11139         * font.C: Use more specific smart_ptr header.
11140         * Painter.C: ditto
11141         * gettext.C: ditto
11142         * ShareContainer.h: ditto
11143         * lyx_main.h: ditto
11144         * kbmap.h: ditto
11145         * FontInfo.h: ditto
11146         * BufferView_pimpl.h: ditto
11147         * ColorHandler.h: ditto
11148
11149         * kbmap.C (defkey): change call to shared_ptr::reset
11150
11151 2002-05-21  Juergen Vigna  <jug@sad.it>
11152
11153         * buffer.C (insertErtContents): fix to insert ert asis if it is
11154         non empty. Skip it completely if it contains only whitespaces.
11155
11156 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * BufferView_pimpl.C:
11159         * BufferView2.C: clear selection on paste (bug 393)
11160
11161 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11162
11163         * DepTable.C: include ctime
11164
11165 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11166
11167         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11168
11169 2002-05-14  Juergen Vigna  <jug@sad.it>
11170
11171         * text.C (breakParagraph): fixed function to honor the keepempty
11172         layout in the right maner and also to permit the right breaking
11173         algorithm on empty or non empyt keepempty paragraphs.
11174
11175         * paragraph.C (breakParagraph): we have to check also if the par
11176         is really empty (!size()) for isempty otherwise we do the wrong
11177         paragraph break.
11178
11179 2002-05-10  Juergen Vigna  <jug@sad.it>
11180
11181         * buffer.[Ch] : The following are only changes to the ert
11182         compatibility read reading old LaTeX layout and font stuff and
11183         convert it to ERTInsets.
11184
11185         * buffer.h: added isErtInset().
11186
11187         * buffer.C (struct ErtComp): add a fromlayout bool to check
11188         if we're inside a LaTeX layout.
11189         (isErtInset): new helper function.
11190         (insertErtContents): look for other ert insets before this one
11191         and insert the contents there, so that we don't have subsequent
11192         ERT insets with nothing between them. This way we create only one
11193         inset with multiple paragraphs. Also check if we don't insert only
11194         spaces ' ' as they are ignored anyway afterwards in the .tex file
11195         so if we have only spaces we will ignore this latex part in the
11196         new file.
11197         (parseSingleLyXformat2Token \\layout): better compatibility when
11198         reading layout-latex stuff.
11199         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11200         language tag.
11201         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11202         stuff after reading the inset only get the information back from
11203         the stack.
11204
11205 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11206
11207         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11208
11209         * LaTeXFeatures.C (getBabelOptions): New method.
11210
11211 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * BufferView_pimpl.C (Dispatch): work around missing argument for
11214         'layout'
11215
11216 2002-05-08  Juergen Vigna  <jug@sad.it>
11217
11218         * text.C (leftMargin): handle paragraph leftindent.
11219
11220         * paragraph.C (writeFile): write the new \\leftindent tag.
11221         (validate): handle leftindent code.
11222         (TeXEnvironment): handle paragraphleftindent code again.
11223
11224         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11225
11226         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11227         for paragrap_extra indent code and new token \\leftindent.
11228         (latexParagraphs): handle the leftindent as environment.
11229
11230         * ParameterStruct.h: added leftindent support.
11231
11232         * ParagraphParameters.C (leftIndent): added support functions for
11233         the paragraph left indent.
11234
11235         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11236         more appropriate.
11237
11238 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11239
11240         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11241         inside insetERT.
11242
11243         * text.C (computeBidiTables): No bidi in insetERT.
11244
11245         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11246         in RTL documents.
11247
11248 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11249
11250         * version.C.in: pre 5
11251
11252 2002-05-02  José Matos  <jamatos@fep.up.pt>
11253         * buffer.C (makeDocBookFile): white space changes, add newline to
11254         command styles.
11255         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11256
11257         * tabular.C (docBook): fix typo.
11258
11259 2002-05-03  Juergen Vigna  <jug@sad.it>
11260
11261         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11262         change in LyXText as we can not be sure it was not freed.
11263         (drawOneRow): remove unused code.
11264
11265         * text.C (drawInset): redo the calculation of the need_break_row as
11266         it could have a row which was already freed.
11267         (draw): look at the return value of drawInset and return false if
11268         it also returned false.
11269         (paintRowText): look at the return value of draw and return false if
11270         it also returned false.
11271
11272         * lyxtext.h: added bool return type to drawInset() and draw() so that
11273         if we have a change in the row so that the rowbreak has to be redone
11274         we abort drawing as it will be called again.
11275
11276 2002-05-02  Juergen Vigna  <jug@sad.it>
11277
11278         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11279         a change in the maintext also if we're inside an inset.
11280         (Dispatch): set the cursor again after a break line and after the
11281         screen has been updated as it could be we're in a different row.
11282
11283         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11284         to set the cursor behind the pargraph with > size().
11285         (setCursor): check also for the same paragraph when checking where
11286         to put the cursor if we have a NFR inset.
11287
11288         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11289         parts of layout read further up as it still was in the wrong
11290         position.
11291
11292 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * screen.C (drawFromTo): change sine fullRebreak always return
11295         true.
11296
11297         * buffer.C (parseSingleLyXformat2Token): reindent some
11298
11299         * BufferView_pimpl.C (update): change since fullRebreak always
11300         return true.
11301         (Dispatch): git rid of the last hardcoded "Standard"s.
11302
11303 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11304
11305         * text2.[Ch] (fullRebreak): make it return void now that we always
11306         returned true.
11307
11308 2002-04-30  Juergen Vigna  <jug@sad.it>
11309
11310         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11311         ert compatibility check for "latex" layout.
11312
11313 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11314
11315         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11316         minipages: use col% instead of p%, and also use the current font.
11317         (makeLaTeXFile): Fix use babel condition.
11318         (parseSingleLyXformat2Token): Correct font when reading old floats.
11319
11320 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11321
11322         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11323         inserting list of floats.
11324
11325 2002-04-25  Herbert Voss  <voss@lyx.org>
11326
11327         * MenuBackend.C (expand): don't add the graphics extensions to the
11328         export menu
11329
11330 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11333         non-existing layout, do not complain if it was the default layout
11334         of the original class (bug #342)
11335
11336 2002-04-24  Juergen Vigna  <jug@sad.it>
11337
11338         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11339         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11340
11341 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11342
11343         * buffer.C (getBibkeyList): If using \bibliography, return the
11344         option field with the reference itself. Enables us to provide natbib
11345         support when using \bibliography.
11346
11347 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11348
11349         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11350
11351         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11352         natbib is provided by the LaTeX class.
11353
11354 2002-04-23  Juergen Vigna  <jug@sad.it>
11355
11356         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11357         Wakeup functions.
11358
11359         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11360
11361 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11362
11363         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11364
11365         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11366         ensuremath around textordmasculine, textordfeminine and
11367         textdegree.
11368
11369 2002-04-19  Juergen Vigna  <jug@sad.it>
11370
11371         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11372         reinitializing the buffer otherwise row-dimensions may be wrong.
11373         (update): reset also the selection cursors if they do exits otherwise
11374         their x/y positions may be wrong.
11375
11376         * text2.C (cursorDown): don't enter the inset if we came from a row
11377         above and are one row over the inset.
11378
11379         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11380         really leaving an inset.
11381
11382 2002-04-18  Juergen Vigna  <jug@sad.it>
11383
11384         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11385         of the selected paragraph does not have the selected layout also if
11386         the last one had!
11387
11388         * text2.C (setLayout): fixed bug which did not change last selected
11389         paragraph.
11390
11391         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11392         changed the read and substituted \\end_float with \\end_inset!
11393
11394         * BufferView_pimpl.C (cursorPrevious):
11395         (cursorNext): fixed to make it work with rows heigher than the work
11396         area without moving the cursor only the draw of the row.
11397         (workAreaMotionNotify): fix jumping over high rows.
11398
11399 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11400
11401         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11402         Ressler.
11403
11404 2002-04-16  Juergen Vigna  <jug@sad.it>
11405
11406         * text2.C (setCursor): set also the irow().
11407         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11408         (cursorUp):
11409         (cursorDown): support for locking an inset if the x_fix value goes
11410         inside it. That way I can transverse insets too with cursor up/down.
11411
11412         * lyxrow.h: added irow helper function same as other (i) functions.
11413
11414         * BufferView_pimpl.C (cursorPrevious):
11415         (cursorNext): fixed for insets!
11416
11417 2002-04-15  Juergen Vigna  <jug@sad.it>
11418
11419         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11420         position otherwise it is wrong in some cases.
11421
11422         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11423         inside the inset before the call.
11424
11425 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11426
11427         * buffer.[Ch] (getBibkeyList): make it const.
11428
11429 2002-04-12  Juergen Vigna  <jug@sad.it>
11430
11431         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11432
11433         * text2.C (getCursorX): new helper function
11434         (setCursor): compute also ix_
11435         (setCursorFromCoordinates): set also ix.
11436
11437         * lyxcursor.h: added ix_ and helper functions.
11438
11439         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11440
11441         * buffer.C (insertStringAsLines): dont break paragraph if the this
11442         paragraph is inside an inset which does not permit it!
11443
11444         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11445         also with no chars on this paragraph.
11446         (paintRowText): only paint stuff if it's inside the workarea!
11447
11448         * paragraph.C (breakParagraph): honor keepempty flag and break the
11449         paragraph always below not above.
11450
11451         * BufferView2.C (unlockInset): update the paragraph layout on inset
11452         unlock as we changed paragraph in such a case.
11453
11454         * lyxfind.C (LyXFind): clear the former selection if not found!
11455
11456         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11457         again called in insertChar().
11458
11459         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11460         an inset which uses the whole row!
11461         (rightMargin): ditto.
11462         (insertChar): force a rebreak if we inserted an inset!
11463
11464 2002-03-28  Herbert Voss  <voss@lyx.org>
11465
11466         * lyxlength.[Ch]: add inBP() to get the right PS-point
11467         units (BigPoint). With inPixels we have rounding errors
11468
11469 2002-04-11  Juergen Vigna  <jug@sad.it>
11470
11471         * text2.C (setCursorFromCoordinates): set iy to the right value.
11472         (setCursor): add check if row->previous exists!
11473
11474         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11475         an old float_type as this was the case in the old code!
11476
11477         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11478
11479         * BufferView2.C (showLockedInsetCursor): use iy
11480         (fitLockedInsetCursor): ditto
11481
11482         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11483         locked insets as there we have the right value now.
11484
11485         * lyxcursor.C: added iy_ variable and iy functions to set to the
11486         baseline of cursor-y of the locked inset.
11487
11488         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11489         (setCursor): fixed for insets which need a full row.
11490
11491         * text.C (rowLastPrintable): don't ignore the last space when before
11492         an inset which needs a full row.
11493         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11494         as last character of a row when before a inset which needs a full row.
11495
11496 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * version.C.in: update date
11499
11500         * text2.C (fullRebreak): try to always return true and see what
11501         happens...
11502
11503 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11504
11505         * MenuBackend.C (expand): use Floating::listName
11506
11507         * FloatList.C (FloatList): add listName argument to the built-in
11508         floats
11509
11510         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11511         text associated with the float.
11512
11513 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11514
11515         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11516
11517 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * ShareContainer.h: add a couple of missing typenames.
11520
11521 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * lyxrc.C (getDescription): use _() correctly rather than N_().
11524
11525 2002-03-28  Herbert Voss  <voss@lyx.org>
11526
11527         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11528         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11529
11530 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11531
11532         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11533         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11534
11535 2002-03-29  Juergen Vigna  <jug@sad.it>
11536
11537         * lyxfunc.C (dispatch): add a missing fitCursor call.
11538
11539         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11540         it was scrolled by a cursor move, so return the bool status.
11541
11542         * BufferView.C (fitCursor): return the bool flag also to the outside
11543         world as this is needed.
11544
11545         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11546
11547         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11548         call the edit() as it is not needed (and wrong) IMO.
11549         (workAreaButtonPress): set the screen_first variable before evt.
11550         unlock the inset as this may change screen_first and then we have
11551         a wrong y position for the click!
11552
11553 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11554
11555         * MenuBackend.C (expand): another translation that I missed
11556
11557 2002-03-28  Juergen Vigna  <jug@sad.it>
11558
11559         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11560
11561         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11562
11563 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11566
11567         * MenuBackend.C (expand): fix export/view/update when there is no
11568         document open.
11569
11570 2002-03-27  Herbert Voss  <voss@lyx.org>
11571
11572         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11573         and text%
11574
11575 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * bufferview_funcs.C (currentState): only show paragraph number
11578         for is DEVEL_VERSION is set.
11579
11580         * lyxfunc.C (dispatch): put warning in INFO channel
11581
11582         * MenuBackend.C (expand): translate the name of floats
11583
11584         * FloatList.C (FloatList): mark the float names for translation
11585
11586         * converter.C (convert): use LibScriptSearch
11587
11588 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11589
11590         * MenuBackend.C (defaults): fix default menu (we might as well get
11591         rid of it...)
11592
11593 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11594
11595         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11596         directory.
11597
11598 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * lyxvc.C: reorder includes.
11601
11602 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11605           properly
11606
11607 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * CutAndPaste.C: change layouts earlier on paste
11610           to avoid crashing when calling getFont()
11611
11612 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11613
11614         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11615         irritating #error.
11616
11617 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11618
11619         * WorkArea.C: remove 'Pending' debug message.
11620
11621         * most files: ws cleanup
11622
11623         * buffer.[Ch]: ws changes
11624
11625         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11626
11627 2002-03-21  Juergen Vigna  <jug@sad.it>
11628
11629         * tabular.C (SetMultiColumn): collapse also the contents of the
11630         cells and set the last border right. Added a Buffer const * param.
11631
11632 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11635         linking or not.
11636
11637 2002-03-19  Juergen Vigna  <jug@sad.it>
11638
11639         * text2.C (clearSelection): reset also xsel_cache.
11640
11641         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11642         where it needs to be called (John tells us to do so too :)
11643         (selectionLost): reset sel_cache.
11644
11645         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11646
11647 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11648
11649         * text2.C (setCursorIntern): put debuging code in INSETS channel
11650
11651 2002-03-19  André Pönitz <poenitz@gmx.net>
11652
11653         * lyxfunc.C: tiny whitespace change
11654
11655 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * ToolbarDefaults.C (init):
11658         * LyXAction.C (init):
11659         * commandtags.h:
11660         * BufferView_pimpl.C (Dispatch):
11661         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11662
11663 2002-03-19  Allan Rae  <rae@lyx.org>
11664
11665         * exporter.C (Export): removeAutoInsets before doing anything else.
11666         While I've just introduced a dependency on BufferView this really is
11667         the best place to clean the buffer otherwise you need to cleanup in
11668         a dozen places before calling export or cleanup in a dozen functions
11669         that export calls.
11670
11671         * converter.C (runLaTeX):
11672         (scanLog): Better handling of removeAutoInsets and screen updates.
11673
11674         * lyxfunc.C (dispatch): small whitespace changes
11675
11676 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11677
11678         * WorkArea.C (C_WorkAreaEvent): return a value.
11679         (event_cb): return 1 if we handled the event, 0 otherwise.
11680
11681         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11682
11683 2002-03-18  Juergen Vigna  <jug@sad.it>
11684
11685         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11686         (GetAdditionalWidth): ditto.
11687         (RightLine): ditto.
11688         (LeftLine): ditto.
11689
11690         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11691         inset if we're there actually (probably not used right now but this
11692         is the direction to go for unifying code).
11693         (paste): disable code to clear the selection.
11694
11695         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11696         inside an InsetText and move the check further up as it is in the
11697         wrong place.
11698
11699         * text2.C (pasteSelection): set a selection over the pasted text.
11700
11701 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11702
11703         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11704         and libgraphics to build on Cygwin.
11705
11706 2002-03-15  Juergen Vigna  <jug@sad.it>
11707
11708         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11709         inserting an Inset into the paragraph. I know this is not the best
11710         fix but we already use current_view in CutAndPaste so we will remove
11711         all of it's using at the same time.
11712
11713         * buffer.C (sgmlError): deactivated function till it is rewritten in
11714         the right mode, now it can create problems.
11715
11716         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11717         before accessing it.
11718
11719 2002-03-14  Juergen Vigna  <jug@sad.it>
11720
11721         * undo_funcs.C (textHandleUndo): do the right thing when updating
11722         the inset after the undo/redo.
11723
11724         * text2.C (setCursor): just some testcode for #44 not ready yet.
11725
11726         * undo_funcs.C (textHandleUndo): set the next() and previous()
11727         pointers of the paragraph to 0 before deleting otherwise we have
11728         problems with the Paragraph::[destructor].
11729
11730         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11731         on a paragraph insertion.
11732
11733 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * buffer.C (asciiParagraph): use += operator for char append to
11736         string.
11737
11738         * paragraph.C (getFontSettings): compare >= not just >
11739         (highestFontInRange): ditto
11740         (setFont): ditto
11741
11742 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11743
11744         * paragraph.C: change several algorithm to be more appripriate for
11745         the problem domain. This is lookip in FontList and in the InsetList.
11746
11747 2002-03-13  André Pönitz <poenitz@gmx.net>
11748
11749         * commandtags.h:
11750         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11751
11752 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * commandtags.h:
11755         * LyXAction.C:
11756         * lyxfunc.C:
11757         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11758
11759 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11760
11761         * Painter.C (display): anon helper function, adjust code for this
11762         change.
11763         (pixmap): remove function.
11764
11765         * Painter.h: remove private display variable.
11766
11767         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11768
11769 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11770
11771         * WorkArea.[Ch]: remove figinset_canvas cruft.
11772
11773 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11774
11775         * lyxtextclass.C (operator): add one item cache optimization.
11776
11777         * bufferlist.h: doxy changes
11778
11779         * bufferlist.C: ws changes
11780
11781         * DepTable.[Ch] (ext_exist): place const in the right spot.
11782
11783         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11784         call resizeInsets.
11785         (workAreaExpose): call resizeInsets when the with BufferView changes.
11786         (Dispatch): adjust for protectedBlank removal
11787         (specialChar): call updateInset if the insert went ok.
11788
11789         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11790         specialChar instead.
11791
11792         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11793
11794         * BufferView.h: doxy change
11795
11796         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11797
11798         * lyxtextclass.C (operator[]): remove non-const version
11799         (defaultLayout): remove non-const version
11800
11801 2002-03-12  Juergen Vigna  <jug@sad.it>
11802
11803         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11804         did resize the LyXText too.
11805
11806         * buffer.C (readLyXformat2): set layout information on newly allocated
11807         paragraphs.
11808
11809         * tabular.C (OldFormatRead): set layout information on the paragraph.
11810
11811 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11812
11813         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11814
11815 2002-03-11  Juergen Vigna  <jug@sad.it>
11816
11817         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11818         plainly wrong.
11819         (resizeCurrentBuffer): force also the insets to resize themselfes.
11820         (moveCursorUpdate): fixed up for InsetText.
11821
11822 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * commandtags.h:
11825         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11826         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11827         value of Dialogs::tooltipsEnabled().
11828         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11829
11830 2002-03-08  Juergen Vigna  <jug@sad.it>
11831
11832         * BufferView_pimpl.C (updateInset): update inset inside inset also
11833         if it isn't inside theLockingInset().
11834
11835 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11836
11837         * buffer.C (asciiParagraph): redo some of the word and line length
11838         handling.
11839         (getLists): look for Caption instead of caption.
11840
11841 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11842
11843         * buffer.C (Buffer): initialize niceFile to true
11844         (makeLaTeXFile):
11845         (makeLinuxDocFile):
11846         (makeDocBookFile): make sure niceFile is true on exit
11847
11848 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11849
11850         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11851
11852 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11853
11854         * LyXSendto.C: remove.
11855         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11856         * lyx_gui.C: remove now-redundant comment.
11857         * ColorHandler.h: remove forward declaration of class WorkArea.
11858         * lyxfunc.C: remove #include "WorkArea.h".
11859
11860 2002-03-07  Juergen Vigna  <jug@sad.it>
11861
11862         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11863         got moved away with the DEPM and also set the inset_owner always
11864         right which before could have been omitted.
11865
11866 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11867
11868         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11869         wanted layout is not found.
11870
11871 2002-03-07  Juergen Vigna  <jug@sad.it>
11872
11873         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11874
11875 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * paragraph.C (breakParagraph): use default layout not layout of
11878         prev paragraph.
11879         (Paragraph): clear ParagraphParameters.
11880
11881 2002-03-06  Juergen Vigna  <jug@sad.it>
11882
11883         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11884         otherwise it would not be a valid lenght. Fixed a special case in
11885         the minipage compatibility read where we end the document with a
11886         minipage.
11887
11888         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11889         was set as it could be 0 for InsetTexts first entry.
11890
11891 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11892
11893         * paragraph.C (writeFile): if layout is empty write out
11894         defaultLayoutName().
11895
11896         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11897         file without named layout we set layout to defaultLayoutName().
11898
11899 2002-03-06  Juergen Vigna  <jug@sad.it>
11900
11901         * CutAndPaste.C (copySelection): set layout for new paragraph.
11902
11903         * text.C (prepareToPrint): leave ERT inset left aligned
11904         (leftMargin): don't indent paragraphs inside ERT insets
11905
11906 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11907
11908         * paragraph.C (breakParagraph): dont call clear do the work manually
11909
11910         * paragraph.[Ch] (clear): remove function
11911
11912 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * paragraph.C (Paragraph): dont call clear, the work has already
11915         been done.
11916
11917         * lyxtextclass.C (operator): assert if n is empty
11918
11919         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11920         work manually instead.
11921
11922 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * BufferView_pimpl.C: protect selectionLost against text == 0
11925
11926 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * text.C (breakParagraph): fix a setting layout to '0' problem.
11929
11930 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11931
11932         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11933         final location of file, for the included files, and graphics.
11934
11935 2002-03-05  Juergen Vigna  <jug@sad.it>
11936
11937         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11938
11939 2002-03-04  Juergen Vigna  <jug@sad.it>
11940
11941         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11942
11943         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11944         last column of multicolumn cells.
11945         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11946
11947 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11948
11949         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11950         file if it doesn't go to a temporary file.
11951
11952         * buffer.C (sgmlOpenTag):
11953         (sgmlCloseTag):  remove extra newline insertion.
11954
11955 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * text.C (getRowNearY): comment out debug msg
11958
11959 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * text2.C: first -> first_y
11962
11963         * text.C (getRowNearY): add some attemts at a possible
11964         optimization, not working.
11965
11966         * tabular.[Ch]: add BufferParams to several function so that newly
11967         created paragraph can be initialized to he default layotu for the
11968         buffers textclass.
11969
11970         * tabular-old.C (ReadOld): add buf->params to call of Init
11971
11972         * screen.C: rename text->first to text->first_y
11973
11974         * paragraph.C (breakParagraph): always set layout in the broken
11975         paragraph
11976
11977         * lyxtextclass.C (Read): remove lowercase
11978         (hasLayout): ditto
11979         (operator): ditto
11980         (delete_layout): ditto
11981
11982         * lyxtext.h: rename first -> first_y
11983
11984         * lyxlayout.C (Read): remove lowercase
11985         (name): ditto
11986         (setName): ditto
11987         (obsoleted_by): ditto
11988
11989         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11990
11991         * buffer.C (insertErtContents): add params are to InsetERT
11992         (parseSingleLyXformat2Token): add code to check if a paragraphs
11993         layout really exist.
11994         (parseSingleLyXformat2Token): add params to several inset
11995         constructors
11996         (asciiParagraph): remove lowercase, do the layout comparisons with
11997         no_case
11998
11999         * BufferView_pimpl.C (cursorNext): first -> first_y
12000         (resizeCurrentBuffer): first -> first_y
12001         (updateScrollbar): first -> first_y
12002         (scrollCB): first -> first_y
12003         (workAreaMotionNotify): first -> first_y
12004         (workAreaButtonPress): first -> first_y
12005         (checkInsetHit): first -> first_y
12006         (cursorPrevious): first -> first_y
12007         (cursorNext): first -> first_y
12008         (Dispatch): add buffer_->params to severl inset contructors
12009
12010 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * lyxlayout.C (Read): remove some debug info that I forgot.
12013
12014         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12015         clean up the code slightly.
12016         (makeLinuxDocFile): ditto
12017         (makeDocBookFile): ditto
12018
12019         * text2.C: layout as string
12020
12021         * text.C: layout as string
12022
12023         * paragraph_pimpl.C: layout as string
12024
12025         * paragraph.[Ch]: layout as string
12026
12027         * lyxtextclasslist.[Ch]: layout as string
12028
12029         * lyxtextclass.[Ch]: layout as string
12030
12031         * lyxtext.h: layout as string
12032
12033         * lyxlayout.[Ch]: layout as string
12034
12035         * lyx_cb.C: layout as string
12036
12037         * bufferview_funcs.C: layout as string
12038
12039         * bufferparams.C: layout as string
12040
12041         * buffer.C: layout as string
12042
12043         * LyXView.[Ch]: layout as string
12044
12045         * LaTeXFeatures.[Ch]: layout as string
12046
12047         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12048
12049         * BufferView_pimpl.C: change current_layout to string, remove
12050         lyx::layout_type.
12051         (Dispatch):
12052         (smartQuote):
12053         (insertInset):
12054         (workAreaButtonRelease): layout as string
12055
12056         * BufferView2.C (unlockInset): adjust
12057
12058         * vspace.C (asLatexCommand): use an explict temp variable.
12059
12060 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12061
12062         * Makefile.am: use FRONTEND_*
12063
12064 2002-03-01  Juergen Vigna  <jug@sad.it>
12065
12066         * tabular.C (SetWidthOfMulticolCell): changed to something better
12067         I hope but still work in progress.
12068         (recalculateMulticolumnsOfColumn): renamed function from
12069         recalculateMulticolCells as it is more appropriate now.
12070         (SetWidthOfCell): calculate multicols better.
12071
12072 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12073
12074         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12075
12076         * lyxfunc.C (processKeySym): print sequence also if it is
12077         `deleted' (complete)
12078
12079         * kbsequence.C (print): print sequence even if it is deleted
12080         (complete would be a better word, actually).
12081
12082         * lyxfunc.C (dispatch): print complete options after a prefix key
12083
12084         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12085
12086 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12087
12088         * text2.C (setCharFont): eliminate setCharFont code duplication.
12089
12090 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12091
12092         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12093         LFUN_TABULAR_FEATURE (bug #177)
12094
12095 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12096
12097         * Makefile.am: remove figure.h
12098
12099 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12100
12101         * Bufferview_pimpl.C:
12102         * CutAndPasteC:
12103         * LaTeX.C:
12104         * LyXSendto.C:
12105         * buffer.C:
12106         * bufferlist.C:
12107         * converter.C:
12108         * language.C:
12109         * lyxfunc.C:
12110         * lyxvc.C:
12111         * paragraph.C:
12112         * text.C:
12113         * text2.C: remove #include "lyx_gui_misc.h".
12114
12115         * LaTeX.C: added #include <cstdio>
12116
12117 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12118
12119         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12120         that the paragraph following this one can have.
12121
12122         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12123
12124         * vspace.C (asLatexCommand): fix bogus gcc warning
12125
12126         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12127
12128 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12129
12130         * text2.C (setLayout): get rid of redundant code
12131
12132 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12133
12134         * text2.C (incDepth): make sure depth cannot be increased beyond
12135         reasonable values.
12136
12137 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12138
12139         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12140         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12141
12142         * PainterBase.h (image):
12143         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12144         a LyXImage const *.
12145
12146 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * BufferView.C:
12149         * BufferView.h:
12150         * BufferView_pimpl.C:
12151         * BufferView_pimpl.h:
12152         * LaTeXFeatures.C:
12153         * LyXAction.C:
12154         * LyXView.C:
12155         * Makefile.am:
12156         * UpdateList.h:
12157         * UpdateList.C:
12158         * buffer.C:
12159         * figure.h:
12160         * figureForm.C:
12161         * figureForm.h:
12162         * figure_form.C:
12163         * figure_form.h:
12164         * lyx_cb.C:
12165         * lyx_gui.C:
12166         * lyx_gui_misc.C:
12167         * lyxfunc.C:
12168         * sp_base.h:
12169         * sp_ispell.h:
12170         * sp_pspell.h:
12171         * sp_spell.C: remove fig inset, and the crap house of
12172           cards that follows it
12173
12174 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * Makefile.am:
12177         * lyxserver.C:
12178         * os2_defines.h:
12179         * os2_errortable.h:
12180         * nt_defines.h: move .h into support/
12181
12182         * vms_defines.h: remove
12183
12184         * WorkArea.C: add space in debug output
12185
12186         * text2.C:
12187         * paragraph.C:
12188         * buffer.C: add WITH_WARNINGS
12189
12190         * vc-backend.h:
12191         * vc-backend.C:
12192         * bufferlist.C: s/retrive/retrieve/, add docs
12193
12194         * vspace.h:
12195         * vspace.C:
12196         * kbmap.h:
12197         * lyxlength.h:
12198         * lyxgluelength.h:
12199         * length_common.h:
12200         * chset.h:
12201         * chset.C: add docs
12202
12203         * lyxgui.C: add ID to X error handler
12204
12205         * lyxtestclass.c: fix typo
12206
12207 2002-02-26  Juergen Vigna  <jug@sad.it>
12208
12209         * tabular_funcs.C (write_attribute): changed so that some default
12210         attributes are not written at all.
12211         (getTokenValue): set default values before trying to read the
12212         value so we have the return value always set as default if we don't
12213         find the token we search for.
12214
12215         * tabular.C (Write): write bools as bools not as strings!
12216
12217 2002-02-22  Juergen Vigna  <jug@sad.it>
12218
12219         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12220         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12221
12222         * text.C (leftMargin): don't add an indent for paragraphs inside
12223         tabular cells (fix #208).
12224
12225 2002-02-21  José Matos  <jamatos@fep.up.pt>
12226
12227         * tabular.C (docBook): fixed support for long tables.
12228
12229 2002-02-20  Juergen Vigna  <jug@sad.it>
12230
12231         * text2.C (getFont): get the drawing font of the Inset if this
12232         paragraph is inside an inset (only important for InsetERT for now).
12233
12234         * buffer.C (insertErtContents): use new lanugage params in ERT
12235         constructor.
12236
12237         * CutAndPaste.C: commenting out seemingly uneeded code.
12238
12239 2002-02-19  Allan Rae  <rae@lyx.org>
12240
12241         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12242         Iterators might be simple to use but they also get invalidated.
12243         (removeAutoInsets): renamed saved cursor tracking variables and added
12244         some comments to clarify what everything does.
12245
12246 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12247
12248         * Chktex.C:
12249         * LaTeX.C:
12250         * LyXSendto.C:
12251         * converter.C:
12252         * lyx_cb.C:
12253         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12254         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12255
12256         * lyxfunc.C:
12257         * vc-backend.h: remove #include "support/syscall.h"
12258
12259         * LaTeX.C:
12260         * LyXSendto.C:
12261         * converter.C: rearrange #includes in Lars' approved fashion.
12262
12263         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12264         forward declare class Timeout in the header file.
12265
12266         * XFormsView.C: changes due to the above.
12267
12268         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12269         similar to LyXView.
12270
12271         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12272         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12273
12274 2002-02-18  José Matos  <jamatos@fep.up.pt>
12275
12276         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12277         insets contents.
12278
12279 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12280
12281         * a lot of small ws changes
12282         * add a lot of using std::XXX
12283         * use std construcs some places where approp.
12284         * use some exisint stuff from lyxfunctional where approp.
12285         * Make file changes to use partial linking (lets test this now...)
12286
12287 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12288
12289         * Chktex.C:
12290         * buffer.C:
12291         remove #include "support/syscontr.h" as it's redundant. Always has been.
12292
12293         * Chktex.C:
12294         * LaTeX.C:
12295         * LyXSendto.C:
12296         * converter.C:
12297         * lyx_cb.C:
12298         * vc-backend.C:
12299         change Systemcalls::System to Systemcalls::Wait and
12300         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12301         No change of functionality, just reflects the stripped down Systemcalls
12302         class.
12303
12304 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12305
12306         * debug.[Ch]: add a GRAPHICS type to the enum.
12307
12308 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12309
12310         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12311
12312         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12313         there is an inset.
12314
12315 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12316
12317         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12318         match the changes below.
12319
12320         * text2.C (toggleInset): if there is not editable inset at cursor
12321         position, try to see if cursor is _inside_ a collapsable inset
12322         and close it.
12323
12324 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12325
12326         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12327         document menu has a nice checkbox
12328
12329 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12330
12331         * lyxlength.C (asLatexString): change PW to output as percent of
12332         \textwidth.
12333
12334         * lengthcommon.C: change '%' to 't%'
12335
12336         * lyxfunc.C (dispatch): a few comments from Martin
12337
12338 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * WorkArea.h:
12341         * WorkArea.C:
12342         * BufferView_pimpl.h:
12343         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12344           the X selection.
12345
12346 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12347
12348         * vspace.C (inPixels): fix compiler warning
12349
12350 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12351
12352         * lyxfunc.C (getStatus): fix status message for disabled commands.
12353
12354 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * BufferView_pimpl.C: fix crash on close buffer
12357         during selection (#227)
12358
12359 2002-01-27  Herbert Voss  <voss@lyx.org>
12360
12361         * buffer.C: link old Figure to new graphic inset
12362
12363 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12364
12365         * FontLoader.C (getFontinfo): Change the latex font names in order
12366         to match the names of type1inst.
12367
12368 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12371
12372         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12373         (extchanged): ditto
12374         (ext_exist): ditto
12375         (remove_files_with_extension): ditto
12376         (remove_file): ditto
12377         (write): ditto
12378
12379         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12380         document is smaller than the work area height. Do not initialize
12381         static variables to 0.
12382
12383 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12384
12385         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12386
12387         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12388         LFUN_LAYOUT_PARAGRAPHS.
12389
12390         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12391         tabular. It is possible to provide a possible cell, which will
12392         typically be the actcell from the corresponding insettabular
12393
12394         * lyxfunc.C (getStatus): small cleanup; disable
12395         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12396         true
12397
12398 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12399
12400         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12401
12402         * paragraph.C (startTeXParParams):
12403         (endTeXParParams): new methods. The LaTeX code to
12404         start/end paragraph formatting
12405         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12406         empty (fixes bug #200)
12407
12408         * vspace.C (inPixels): adapt to the change below
12409         (inPixels): [later] more cleanups (remove unused variables)
12410
12411         * lyxlength.C (inPixels): change to use a width and a height as
12412         parameter.
12413
12414 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12415
12416         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12417         Replaced with \paperwidth
12418
12419         * DepTable.C (insert): add std:: qualifier
12420
12421 2002-01-18  Allan Rae  <rae@lyx.org>
12422
12423         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12424         updated also?
12425
12426         * text.C (drawInset): Turned out I didn't know enough about how
12427         rebreaking worked.  This fixes most of the redraw problems.  I see
12428         an occasional cursor trail when a line is broken now and the cursor
12429         placement can seem out by a few pixels also after a rebreak.
12430
12431 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12432
12433         * buffer.C (parseSingleLyXformat2Token): update because minipage
12434         width is now a LyXLength
12435
12436         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12437
12438         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12439         math insets
12440
12441 2002-01-17  Juergen Vigna  <jug@sad.it>
12442
12443         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12444
12445         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12446         is set correctly and the inset is updated correctly.
12447
12448 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12449
12450         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12451         the beginning of the loop.
12452
12453 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12454
12455         * lyxrc.C: improve help for use_scalable_fonts
12456
12457 2002-01-17  Allan Rae  <rae@lyx.org>
12458
12459         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12460
12461 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12464         make sure to set their inset_owner to the right value (bug #171)
12465
12466 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12467
12468         * DepTable.h
12469         * DepTable.C: Implement mtime checking to reduce time spent doing
12470         CRCs.
12471
12472 2002-01-16  Juergen Vigna  <jug@sad.it>
12473
12474         * tabular.C (GetAdditionalHeight): one of error fixed.
12475
12476         * lyxrc.C (output): small fix in writing use_pspell.
12477
12478 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12479
12480         * sp_base.h: #include LString.h
12481
12482 2002-01-16  Allan Rae  <rae@lyx.org>
12483
12484         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12485         Can someone check this please?
12486
12487         * text.C (drawInset): It was possible that p.row would be removed by
12488         breakAgainOneRow upsetting a few other settings.  There may be another
12489         small tweak possible by setting need_break_row = 0 when p.row has been
12490         removed but I don't know enough about the logic here.
12491
12492 2002-01-15  Allan Rae  <rae@lyx.org>
12493
12494         * text.C (insertChar): removed conditional truism.
12495
12496         * BufferView2.C (removeAutoInsets): More tweaks.
12497         cur_par_prev could be a stray pointer.  Check for trailing empty line
12498         in case last line was cur_par and only had an error inset on it.
12499
12500 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12501
12502         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12503         absolute
12504
12505         * vc-backend.C (most methods):
12506         * exporter.C (Export):
12507         * converter.C (convert):
12508         (runLaTeX):
12509         * LyXSendto.C (SendtoApplyCB):
12510         * lyxfunc.C (dispatch):
12511         (menuNew):
12512         (open):
12513         (doImport):
12514         * lyx_cb.C (AutoSave):
12515         (InsertAsciiFile):
12516         * BufferView_pimpl.C (MenuInsertLyXFile):
12517         * buffer.C (runChktex): use Buffer::filePath().
12518
12519         * buffer.h: rename filename to filename_; rename filepath to
12520         filepath_ and make it private
12521         (filePath): new method
12522
12523         * buffer.C (writeFile): use fileName()
12524         (getLatexName):
12525
12526         * lyx_main.C (init): fix starting  of LyX when the binary is a
12527         link from so,ewhere else.
12528
12529         * minibuffer.C: include <cctype> for isprint
12530
12531 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12532
12533         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12534         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12535         name clash with InsetCollapsable's width function.
12536
12537 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * lastfiles.C: include <iterator>
12540
12541 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12542
12543         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12544         std::count.
12545
12546         * buffer.C (makeLaTeXFile): ditto.
12547         Also make loop operation more transparent.
12548
12549 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12550
12551         * ToolbarDefaults.C: remove trailing comma closing namespace.
12552
12553         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12554
12555         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12556         as in WorkArea.
12557
12558         * trans.C (Load): comment out unused variable, allowed.
12559
12560 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12561
12562         * minibuffer.[Ch] (append_char): new method to recieve input from the
12563         drop-down completion browser. If a key was pressed, then recieve this
12564         char and append it to the existing string.
12565         (peek_event): modify the positioning data passed to the completion
12566         browser so that it can be placed above the minibuffer rather than below.
12567 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * LyXAction.C (init): alloe error-next for readonly documents.
12570
12571         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12572         count.
12573
12574 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12575
12576         * bufferlist.C (readFile): create the buffer _after_ checking that
12577         the file exists.
12578
12579         * lyxfunc.C (verboseDispatch): fix handling of arguments
12580
12581         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12582
12583         * lyxrc.C: use string::erase() instead of initializing to "".
12584
12585
12586 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * BufferView_pimpl.h:
12589         * BufferView_pimpl.C:
12590         * WorkArea.h:
12591         * WorkArea.C:
12592         * text2.C: tell X when we have made a selection for copying
12593
12594 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * BufferView_pimpl.C (MenuInsertLyXFile):
12597         * lyxfunc.C (menuNew):
12598         (open):
12599         (doImport): add shortcuts to directory buttons
12600
12601         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12602         open a float)
12603
12604         * lyxfunc.C (setStatusMessage):
12605         (getStatusMessage): new methods
12606         (getStatus):use setStatusMessage instead of setErrorMessage
12607         (dispatch): when function is disabled, set error message here
12608         [instead of in getStatus previously]
12609
12610         * BufferView_pimpl.C (workAreaButtonRelease): update
12611         toolbar/menubar here too.
12612
12613 2002-01-13  Allan Rae  <rae@lyx.org>
12614
12615         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12616         Now seems indestructible.  Remaining task is to audit all other
12617         code affected by deleteEmptyParagraphMechanism.  One small quirk
12618         left is that an empty document with an error in the preamble can
12619         be made to report an error but no error box appears.  I don't know
12620         where it goes.
12621         (removeAutoInsets): Improved comments.
12622
12623 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * Thesaurus.h:
12626         * Thesaurus.C: update for Aiksaurus 0.14
12627
12628 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12629
12630         * text2.C (firstParagraph): removed member function, all uses
12631         replaces with ownerParagraph
12632         (redoParagraphs): here
12633         (updateInset): here
12634         (toggleAppendix): here
12635         * BufferView2.C (insertErrors): here
12636         (setCursorFromRow): here
12637
12638 2002-01-13  Allan Rae  <rae@lyx.org>
12639
12640         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12641         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12642         There is still a way to segfault this although you may have to do this
12643         multiple times: Have an InsetERT with an unknown command in it.
12644         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12645         <down-arrow>, <Enter> again, View->DVI, BANG!
12646
12647         * text2.C (setCursor):
12648         (deleteEmptyParagraphMechanism):
12649         * lyxtext.h (setCursor):
12650         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12651         Making use of the return value may help fix other bugs.
12652
12653 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12654
12655         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12656
12657         * LyXView.C (updateMenubar): call MenuBar::update here
12658         (updateToolbar): but not here
12659         (showState): do not update toolbar/menubar
12660
12661         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12662         should need to care about that.
12663
12664         * lyxfunc.C (verboseDispatch): simplify a bit
12665         (getStatus): have a version which takes a pseudoaction, and
12666         another which requires a (kb_action,string).
12667
12668         * LyXAction.C (retrieveActionArg): make it work also when action
12669         is not a pseudo-action.
12670         (getActionName): simplify a bit
12671         (helpText):
12672
12673 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12674
12675         * lyxfunc.C (verboseDispatch): new families of methods with
12676         several ways to specify a command and a bool to indicate whether
12677         the command name and shortcut should be displayed in minibuffer
12678         (eventually, we could extend that to a finer bitmask like
12679         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12680         (dispatch): the pristine dispatch command which just, well,
12681         dispatchs! Note it still sets its result to minibuffer; I'm not
12682         sure we want that.
12683
12684         * lyxfunc.h: remove setHintMessage
12685
12686         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12687
12688 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12689
12690         * BufferView_pimpl.C (specialChar): delete new inset if we have
12691         not been able to insert it.
12692
12693         * kbmap.C: revert to using int instead of kb_action, since all we
12694         are dealing with is pseudo-actions.
12695
12696         * LyXAction.C (searchActionArg): change to return int instead of
12697         kb_action, since the result is a pseudoaction.
12698
12699 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12700
12701         * buffer.C (insertErtContents): Fix (partially) the font bug.
12702
12703 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12704
12705         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12706         as the other one is broken on my machine!
12707
12708 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12709
12710         * commandtags.h:
12711         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12712
12713 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12714
12715         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12716         reflect their actual use. Provide compatibility code for older lyxrc
12717         files.
12718
12719         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12720         FL_NORMAL_STYLE.
12721         change names of popup font variables in line with the changes to lyxrc.C
12722
12723 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12724
12725         * buffer.C (asciiParagraph): avoid outputing a word twice after
12726         an inset.
12727
12728         * lyxrc.C (getDescription): document that document_path and
12729         template_path can be empty.
12730
12731 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12732
12733         * LaTeXFeatures.C (getMacros):
12734         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12735
12736         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12737
12738         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12739         getPackages.
12740         (getPackages): rename feature "floats" to "float". Use an array to
12741         iterate over 'simple' features (i.e. just a \usepackage). Add
12742         handling of "amsmath" (renamed from "amsstyle").
12743
12744 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12745
12746         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12747         features list.
12748
12749 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12750
12751         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12752         FuncStaus::FuncStatus & FuncStaus::some_method().
12753
12754 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12755
12756         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12757         of the func_satus stuff. Edited and massaged in various ways by
12758         JMarc.
12759
12760         * lyxfunc.C (getStatus): use FuncStatus
12761
12762 2002-01-08  Juergen Vigna  <jug@sad.it>
12763
12764         * text.C (nextBreakPoint): use function Inset::isChar().
12765
12766         * paragraph.C (TeXOnePar): use function
12767         Inset::forceDefaultParagraphs.
12768
12769         * buffer.C (latexParagraphs): use function
12770         Inset::forceDefaultParagraphs.
12771
12772 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12773
12774         * lyx_gui.C (init): set the style of the menu popups to
12775         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12776
12777 2002-01-07  Juergen Vigna  <jug@sad.it>
12778
12779         * text.C (setHeightOfRow): small fix
12780         (prepareToPrint): don't look at alignment if we don't have the place
12781         for doing it.
12782
12783 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12784
12785         * box.C: New file. Move the Box methods and functions out of box.h,
12786         following Lars' suggestion.
12787
12788 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * box.h: #include "support/LOstream.h", needed for inlined function.
12791
12792         * lyxtextclass.C:
12793         * lyxtextclasslist.C: added some using std declarations.
12794
12795 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * box.h: make signed dimensions to allow insets wider than
12798           the screen (bug #162)
12799
12800         * BufferView_pimpl.C: add some insetHit debug
12801
12802 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * vc-backend.C: add FIXME
12805
12806 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12807
12808         * lyxfunc.C (getStatus): enable code for showing math font status
12809         in toolbar/menu.
12810
12811 2002-01-07  Juergen Vigna  <jug@sad.it>
12812
12813         * text.C (nextBreakPoint): removed debug output not needed anymore.
12814
12815 2002-01-06  Juergen Vigna  <jug@sad.it>
12816
12817         * text.C (nextBreakPoint): fixed up this function we had this bug
12818         since ever but now hopefully we break row better.
12819         (insertChar): we have to check if an inset is the next char as it
12820         could now happen that a large inset is causing a break.
12821
12822 2002-01-05  Juergen Vigna  <jug@sad.it>
12823
12824         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12825         if it doesn't like to be drawed.
12826
12827 2002-01-04  Juergen Vigna  <jug@sad.it>
12828
12829         * BufferView2.C (lockInset): forgot to set a cursor.
12830
12831         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12832
12833 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12834
12835         * FormMathsPanel.C:
12836         * FormMathsPanel.h
12837         * MathsSymbols.C:
12838         * form_maths_panel.C:
12839         * form_maths_panel.h:
12840         * form_maths_panel.fd: implemented sub- and super- buttons in math
12841         panel.
12842
12843         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12844         (or ^ space) to be used as in TeX (req'd by André).
12845
12846         * lyxfunc.C: Allow ^ and _ again to be used both as
12847         super/subscript (mathed) and as themselves (in text).
12848
12849 2002-01-03  Allan Rae  <rae@lyx.org>
12850
12851         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12852         "LyX" or the filename of the current buffer if it has one.  This is a
12853         modified form of John Levon's patch.
12854
12855         * XFormsView.C (setWindowTitle): also set icon title.
12856
12857         * LyXView.h (setWindowTitle): signature changed.
12858         * XFormsView.h (setWindowTitle): ditto.
12859
12860 2002-01-02  Juergen Vigna  <jug@sad.it>
12861
12862         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12863
12864 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * screen.C (topCursorVisible): introduce a temp var for
12867         text->cursor.row(), handle the case where this row is null. (kindo
12868         hachish)
12869
12870         * text2.C (setCursor): add a couple of asserts.
12871
12872         * paragraph.h (inset_iterator): add -> operator
12873
12874         * paragraph.[Ch] (autoDeleteInsets): remove member function
12875
12876         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12877         cursor pos correctly and handle inset deletion by itself.
12878         (insertErrors): move iterator declaration out of for expression
12879
12880         * lyxtextclass.C: add <algorithm>
12881
12882         * Makefile.am: added the new files to sources, removed layout.C
12883
12884         * layout.C: removed file
12885
12886         * layout.h: remove LYX_DUMMY_LAYOUT
12887
12888         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12889         layout.
12890
12891         * lyxlayout.[Ch]:
12892         * lyxtextclass.[Ch]:
12893         * lyxtextclasslist.[Ch]: new files
12894
12895         * include order changes to a lot of files, also changes because of
12896         the six new files.
12897
12898 2001-12-27  Juergen Vigna  <jug@sad.it>
12899
12900         * buffer.C (asciiParagraph): more fixes.
12901
12902         * tabular.C (ascii): make ascii export support export of only the
12903         data separated by a column-delimiter.
12904         (ascii): better support for ascii export.
12905
12906         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12907
12908 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * tabular_funcs.C: use a "using std::getline" instead of the
12911         previous fix from Angus (necessary for cxx + lyxstring)
12912
12913 2001-12-24  Juergen Vigna  <jug@sad.it>
12914
12915         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12916
12917         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12918         problems. First check a minipage also if we have some ert-contents
12919         (not only on par->size(), second set the right depth of the paragraph
12920         on the relink to the root-paragraph-list!
12921
12922         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12923         which then did not anymore update the main paragraphs on undo/redo!
12924
12925 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12926
12927         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12928         code. Support all font-changing funcs (even those which are not in
12929         menu currently). Support for reporting font settings in
12930         mathed (disabled until Andre provides a function on mathed's side).
12931
12932         * func_status.h (toggle): small helper function to set toggle
12933         state on a flag.
12934
12935 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12936
12937         * tabular_funcs.C: getline -> std::getline
12938
12939 2001-12-21  Juergen Vigna  <jug@sad.it>
12940
12941         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12942         accessed and could be 0 (I couldn't generate this but it seems
12943         Michael could!).
12944
12945 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12948         * tabular_funcs.h: here and include iosfwd
12949
12950 2001-12-20  Juergen Vigna  <jug@sad.it>
12951
12952         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12953         inside inset but undo_par was.
12954
12955 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12956
12957         * Thesaurus.C: always include <config.h> in sources.
12958
12959         * Painter.h:
12960         * lyxlookup.h:
12961         * box.h: do not include <config.h> in header files
12962
12963         * text.C (paintLastRow): remove unused variable
12964
12965         * text.C (transformChar):
12966         (insertChar):
12967         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12968
12969         * Painter.C (text):
12970         * font.C (width): rewrite to use uppercase() instead of
12971         islower/toupper.
12972
12973         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12974
12975 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * lyxfind.C: clean up of find failure position change
12978
12979 2001-12-20  Juergen Vigna  <jug@sad.it>
12980
12981         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12982
12983         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12984         (TeXRow): added to LaTeX a single tabular row.
12985         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12986         (Latex): simplified and finally good LT-h/f support.
12987         (various_functions): just small adaptions for LT-h/f support.
12988
12989         * tabular_funcs.[hC]: added and moved here all not classfunctions
12990         of LyXTabular.
12991
12992 2001-12-19  Juergen Vigna  <jug@sad.it>
12993
12994         * tabular.[Ch]: better support for longtabular options (not finished
12995         yet!)
12996
12997 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12998
12999         * text.C (paintLastRow): use the label font instead of the font of
13000         the last character to compute the size of *_BOX. This makes more
13001         sense and avoids a crash with empty paragraphs.
13002         Use Painter::rectangle to draw EMPTY_BOX.
13003
13004 2001-12-19  Juergen Vigna  <jug@sad.it>
13005
13006         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13007         the paragraphs if the replaced paragraph is not the first one!
13008         Tried to delete not used paragraphs but does not work yet so for
13009         now it's inside #ifdef's and by default off!
13010
13011 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13012
13013         * MenuBackend.C: include "lyx_main.h" instead of declaring
13014         lastfiles (actually was declared as LastFiles* instead of a
13015         scoped_ptr).
13016
13017 2001-12-17  Juergen Vigna  <jug@sad.it>
13018
13019         * tabular.C (AppendColumn): applied John's fix
13020
13021 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13022
13023         * BufferView.h:
13024         * BufferView.C:
13025         * BufferView_pimpl.h:
13026         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13027
13028         * Makefile.am:
13029         * box.h: new start of class for above
13030
13031         * lyxfunc.C: ignore space-only minibuffer dispatches.
13032           Show the command name when it doesn't exist
13033
13034         * minibuffer.C: don't add empty lines to the history
13035
13036         * minibuffer.C: add a space on dropdown completion
13037
13038 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13039
13040         * text.C: fix line above/below drawing in insets
13041
13042 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13043
13044         * lyxlength.C (LyXLength): Initialize private variables.
13045
13046 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13047
13048         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13049         when inserting error insets.
13050
13051 2001-12-13  Juergen Vigna  <jug@sad.it>
13052
13053         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13054         actually sometimes the before-paragraph.
13055         (setUndo): don't clear the redostack if we're not actually undoing!
13056
13057 2001-12-06  Juergen Vigna  <jug@sad.it>
13058
13059         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13060         and fixed redoing of main paragraph, so we can use it now ;)
13061
13062         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13063
13064 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13065
13066         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13067         Juergen's request
13068
13069 2001-12-13  André Pönitz <poenitz@gmx.net>
13070
13071         * undostack.[Ch]:
13072         * undo_func.C: minor cleanup
13073
13074 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13075
13076         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13077         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13078         font in urw-fonts package which is marked as -urw-fontspecific and
13079         does not work (incidentally, changing the encoding in the
13080         fonts.dir of this package to -adobe-fontspecific fixes the
13081         problem).
13082
13083         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13084         is a crash when undoing first paragraph (Juergen, please take a
13085         look). THis does not mean the undo fix is wrong, just that it
13086         uncovers problems.
13087
13088         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13089         the (Paragraph*) version when needed instead of duplicating the
13090         code.
13091
13092         * text.C (workWidth): use Inset::parOwner to find out where the
13093         inset has been inserted. This is a huge performance gain for large
13094         documents with lots of insets. If Inset::parOwner is not set, fall
13095         back on the brute force method
13096
13097         * paragraph_pimpl.C (insertInset):
13098         * paragraph.C (Paragraph):
13099         (cutIntoMinibuffer): set parOwner of insets when
13100         inserting/removing them
13101
13102         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13103
13104 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13105
13106         * commandtags.h:
13107         * LyXAction.C:
13108         * lyx_main.C:
13109         * lyxfunc.C:
13110         * mathed/formulabase.C:
13111         * mathed/math_cursor.[Ch]:
13112         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13113
13114
13115 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13116
13117         * lyxlength.[Ch] (operator!=): new function
13118
13119 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13120
13121         * text.C (workWidth): use Inset::parOwner to find out where the
13122         inset has been inserted. This is a huge performance gain for large
13123         documents with lots of insets. If Inset::parOwner is not set, fall
13124         back on the brute force method
13125
13126         * paragraph_pimpl.C (insertInset):
13127         * paragraph.C (Paragraph):
13128         (cutIntoMinibuffer): set parOwner of insets when
13129         inserting/removing them
13130
13131         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13132
13133 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13134
13135         * tabular-old.C (getTokenValue):
13136         * tabular.C (getTokenValue):
13137         (write_attribute): new versions for LyXLength
13138         (everywhere): adjust the use of widths
13139
13140         * tabular.h: change the type of widths from string to LyXLength
13141
13142 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13143
13144         * paragraph.C: fixed missing line number count when exporting
13145         Environments to LaTeX file
13146
13147         * buffer.C: added informational message for checking line numbers.
13148
13149 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13150
13151         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13152         paragraph, do the 'double space' part, but not the 'empty
13153         paragraph' one.
13154
13155         * text.C (workWidth): small optimization
13156         (getLengthMarkerHeight): use minimal size for negative lengths.
13157
13158 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13159
13160         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13161
13162         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13163
13164 2001-12-11  André Pönitz <poenitz@gmx.net>
13165
13166         * FontLoader.C:
13167         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13168
13169 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13170
13171         * text2.C: keep selection on a setFont()
13172
13173 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * lyx_cb.C: another bv->text misuse, from insert label
13176
13177 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * kbsequence.h:
13180         * kbsequence.C: re-instate nmodifier mask
13181
13182 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13183
13184         * lyx_main.h: make lyxGUI private.
13185
13186 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13187
13188         * lyxfind.C: place the cursor correctly on failed search
13189
13190 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13191
13192         * text.C (getLengthMarkerHeight): for small heights, the arrows
13193         are not always on top/bottom of the text
13194         (drawLengthMarker): smaller arrows; take the left margin in
13195         account; draw also vfills.
13196         (paintFirstRow):
13197         (paintLastRow): remove special code for vfill and standard spaces,
13198         since everything is handled in drawLengthMarker now.
13199
13200 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * buffer.C (insertErtContents): try to handle font and language
13203         interaction a bit better.g
13204
13205         * ColorHandler.C (updateColor): change the hash to cover the whole
13206         LColor enum, ws cleanup
13207         (getGCLinepars): ditto
13208         (getGCLinepars): only lookup in the linecache once.
13209
13210 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13211
13212         * iterators.C (operator++): Make the iterator more robust
13213
13214         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13215         (John's patch)
13216         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13217
13218 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13219
13220         * lyxtext.h:
13221         * text.C: better added space drawing
13222
13223 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * LyXView.C:
13226         * BufferView2.C: fix layout combo update on inset unlock
13227
13228 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * Makefile.am: don't compile unused files
13231
13232 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13233
13234         * lyxfunc.C:
13235         * commandtags.h:
13236         * LyXAction.C: remove old LFUN_LAYOUTNO
13237
13238 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * paragraph_pimpl.h:
13241         * paragraph_pimpl.C: isTextAt() doesn't need font param
13242
13243 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * lyxlex.h:
13246         * lyxlex.C: little cleanup
13247
13248 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13249
13250         * BufferView_pimpl.C: fix insertAscii for insets
13251
13252 2001-12-05  Juergen Vigna  <jug@sad.it>
13253
13254         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13255         set the right font on the "multi" paragraph paste!
13256
13257 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13258
13259         * trans_decl.h:
13260         * trans_mgr.[Ch]:
13261         * trans.[Ch]:
13262         * lyxgluelength.C:
13263         * lyxlength.C: remove out-commented code.
13264
13265         * BufferView_pimpl:
13266         * CutAndPaste.C:
13267         * DepTable.C:
13268         * buffer.C:
13269         * chset.C:
13270         * lastfiles.C:
13271         * lyxlex.C:
13272         * lyxlex_pimpl.C:
13273         * lyxserver.C:
13274         * screen.C:
13275         * tabular-old.C:
13276         * tabular.C:
13277         * text.C:
13278         * trans_mgr.C:
13279         * vc-backend.C: change "while(" to "while ("
13280
13281         * lyxlength.[Ch]: add zero function to check if length is zero or
13282         not
13283         * lyxgluelength.C: use it
13284
13285 2001-12-05  Allan Rae  <rae@lyx.org>
13286
13287         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13288         Works for 2.95.3, from what I understand of Garst's reports this should
13289         work for other g++ versions.  We're screwed if the abs(int) definition
13290         changed between bugfix releases of gcc.
13291
13292 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13293
13294         * text.C: fix chapter label offset !
13295
13296 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * lyxtext.h:
13299         * text.C: fix hfill at end of line, clean up
13300
13301 2001-12-04  Juergen Vigna  <jug@sad.it>
13302
13303         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13304         that we force an update of the inset and it's owners if neccessary.
13305
13306 2001-12-03  Juergen Vigna  <jug@sad.it>
13307
13308         * text.C (rowLast): simplified code
13309
13310 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * lyxfunc.C: fix show options on timeout
13313
13314 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13315
13316         * screen.C (topCursorVisible): scroll half a page when the cursor
13317         reached top of bottom of screen
13318
13319 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13320
13321         * minibuffer.C: deactivate on loss of focus
13322
13323 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13324
13325         * vspace.[Ch] (operator!=): add operator.
13326
13327 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13328
13329         * BufferView_pimpl.C: refuse to open an inset when
13330         there's a selection.
13331
13332 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * BufferView_pimpl.C: allow to click on RHS of full row insets
13335
13336 2001-11-30  Juergen Vigna  <jug@sad.it>
13337
13338         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13339         insets for undo reasons.
13340
13341 2001-11-28  André Pönitz <poenitz@gmx.net>
13342
13343         * vspace.[Ch]: cosmetical changes
13344
13345 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * LyXAction.h:
13348         * LyXAction.C:
13349         * lyxfunc.h:
13350         * lyxfunc.C:
13351         * kbmap.h:
13352         * kbmap.C:
13353         * lyxrc.C:
13354         * kbsequence.h:
13355         * kbsequence.C: part re-write of old kb code
13356
13357         * Painter.C:
13358         * WorkArea.C: remove Lgb_bug_find_hack
13359
13360 2001-11-30  José Matos <jamatos@fep.up.pt>
13361
13362         * buffer.C (makeDocBookFile): add a comment to point a hack.
13363         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13364         Fixed a double write of labels.
13365
13366 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13367
13368         * LaTeX.C:
13369         * LaTeX.h Fixed bug in LaTeX class where it would not
13370         re-run latex if no depfiles were changed, but the .dvi was removed.
13371
13372 2001-11-28  André Pönitz <poenitz@gmx.net>
13373
13374         * all the files from the change on 2001/11/26:
13375         use lyx::layout_type instead of LyXTextClass::size_type
13376         use lyx::textclass_type instead of LyXTextClassList::size_type
13377
13378 2001-11-29  Juergen Vigna  <jug@sad.it>
13379
13380         * text.C: added support for paragraph::isFreeSpacing()
13381
13382         * buffer.C: same as above
13383
13384         * paragraph.h: inserted isFreeSpacing() function to enable
13385         FreeSpacing inside InsetERT.
13386
13387         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13388         of the paragraph's in the cut/copy buffer to 0!
13389
13390         * text2.C (removeRow): remove the assert as it can!
13391
13392         * lyxtext.h: added helper function firstRow returning firstrow and
13393         made firstrow private again.
13394
13395         * BufferView2.C (lockInset): don't relock if we're already locked!
13396
13397         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13398         the only paragraph.
13399         (removeRow): added Assert::(firstrow)
13400
13401         * debug.C: forgot to add INSETTEXT here.
13402
13403 2001-11-28  Juergen Vigna  <jug@sad.it>
13404
13405         * sp_spell.C (initialize): changed error text to more general
13406         spellchecker command use (not only ispell!)
13407
13408         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13409
13410         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13411
13412 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * vspace.C: initialise lyxgluelength on failure
13415
13416 2001-11-28  Allan Rae  <rae@lyx.org>
13417
13418         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13419         declaration & definition that looks like a function declaration.
13420
13421 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13422
13423         * BufferView2.C (copy):
13424         (copyEnvironment): do not clear the selection when doing a copy.
13425
13426         * text.C (paintFirstRow): compilation fix
13427
13428 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13429
13430         * tabular.C (Latex): correct line count when writing latex.
13431
13432 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13433
13434         * paragraph_pimpl.h:
13435         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13436           bug a bit
13437
13438 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13439
13440         * text.C:
13441         * LColor.h:
13442         * LColor.C: change vfillline->added_space
13443
13444         * text.C: add markers and text for added space
13445
13446         * vspace.C: fix comment
13447
13448 2001-11-28  André Pönitz <poenitz@gmx.net>
13449
13450         * paragraph.C: whitespace changes
13451         * all the other files from the change on 2001/11/26:
13452         change *::pos_type into lyx::pos_type
13453
13454 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13455
13456         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13457         language of the document when inserting error insets.
13458
13459 2001-11-26  André Pönitz <poenitz@gmx.net>
13460
13461         * BufferView_pimpl.[Ch]:
13462         *       CutAndPaste.C:
13463         * buffer.[Ch]:
13464         * lyxcursor.[Ch]:
13465         * lyxfind.C:
13466         * lyxfunc.C:
13467         * lyxrow.[Ch]:
13468         * paragraph.[Ch]:
13469         * paragraph_pimpl.[Ch]:
13470         * sp_spell.C:
13471         * text.C:
13472         * text2.C: reduce header dependencies, introduce type for positions
13473
13474 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * <various>: change to use Alert.h
13477
13478 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13479
13480         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13481         when encountering an unknown token.
13482         (readLyXformat2): Show an error message if there were unknown tokens.
13483
13484 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13485
13486         * BufferView2.C:
13487         * BufferView_pimpl.C:
13488         * buffer.C:
13489         * paragraph.h:
13490         * text.C:
13491         * text2.C: use par->isInset()
13492
13493 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * paragraph_pimpl.h:
13496         * paragraph_pimpl.C: cleanup
13497
13498 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13499
13500         * text2.C (removeRow):
13501         * text.C (setHeightOfRow): remove useless (and costly) call to
13502         getRow.
13503
13504 2001-11-20  Allan Rae  <rae@lyx.org>
13505
13506         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13507         Now need Inset*::checkInsertChar() to return true for appropriate
13508         cases so that the characters in the minibuffer will actually be
13509         inserted.
13510
13511 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * text.C: change the order of the includes.
13514         (workWidth): initialize it at once.
13515         (workWidth): make maxw unsigned
13516         (setHeightOfRow): remove unused variable (inset)
13517         (selectSelectedWord): remove unused variable (inset)
13518         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13519
13520 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13521
13522         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13523         server is not running.
13524         (openConnection):
13525         (closeConnection): add debug info when server is disabled.
13526
13527         * ColorHandler.C (getGCForeground): send debug message to GUI
13528         channel.
13529
13530         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13531
13532         * kbmap.C (bind): modify because return conventions of
13533         kb_sequence::parse have changed.
13534
13535         * kbsequence.C (parse): only ignore spaces and not any stupid
13536         control character. This avoids tests like s[i] <= ' ', which are
13537         guaranteed to fail with 8bit characters and signed chars.
13538         Change return code to string::npos when there have been no error
13539         (0 was a bad idea when error is at first character)
13540
13541 2001-11-14  José Matos  <jamatos@fep.up.pt>
13542
13543         * buffer.h:
13544         * buffer.C (simpleDocBookOnePar): removed unused argument.
13545
13546 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13547
13548         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13549         insets which are part of a word. Paragraph::isLetter takes care of
13550         that now. Use Paragraph::isInset to identify insets.
13551         (selectSelectedWord): do not test for hyphenation break.
13552
13553         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13554         that protected spaces are considered as spaces.
13555
13556         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13557         Inset::isLetter.
13558
13559 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * lyxserver.h:
13562         * lyxserver.C: fix it. and small cleanup.
13563
13564 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13565
13566         * BufferView_pimpl.C: use inline helpers
13567
13568         * LaTeXFeatures.h:
13569         * LaTeXFeatures.C: fix typos
13570
13571         * Spacing.h:
13572         * Spacing.C: move spacing_string into class
13573
13574         * ToolbarDefaults.C: move stuff into namespace anon
13575
13576         * layout.h: update enum
13577
13578         * lyxfunc.C: use better debug
13579
13580         * minibuffer.h: fix typo
13581
13582         * debug.h:
13583         * debug.C:
13584         * WorkArea.C: add and use Debug::WORKAREA
13585
13586         * lyxtext.h:
13587         * text.C:
13588         * text2.C: code re-organisation, inline helpers
13589
13590 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13591
13592         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13593         std::vector.empty().
13594
13595 2001-11-09  Allan Rae  <rae@lyx.org>
13596
13597         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13598         '\n's after tables.  Tabular and ERT inset work now makes this no
13599         longer necessary.
13600
13601 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * minibuffer.h:
13604         * minibuffer.C: fix crash, improve drop-down completion
13605
13606 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13607
13608         * lyxserver.h:
13609         * lyxserver.C: invalidate fd's when doing endPipe()
13610
13611 2001-11-08  José Matos  <jamatos@fep.up.pt>
13612
13613         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13614         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13615
13616         * paragraph.h:
13617         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13618
13619 2001-11-07  José Matos  <jamatos@fep.up.pt>
13620
13621         * buffer.h:
13622         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13623         const qualifier.
13624
13625         * buffer.C (sgmlOpenTag):
13626         * buffer.C (sgmlCloseTag): removed debug info.
13627
13628         * buffer.h (sgmlOpenTag):
13629         * buffer.h (sgmlCloseTag): made public.
13630
13631 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13632
13633         * buffer.C (saveParamsAsDefaults):
13634         * lyx_cb.C (MenuLayoutSave): remove
13635
13636         * LyXAction.C (init):
13637         * commandtags.h:
13638         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13639
13640 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13641
13642         * buffer.C (setPaperStuff): removed from here...
13643
13644         * bufferparams.C (setPaperStuff): ... and moved there.
13645
13646 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13647
13648         * minibuffer.h:
13649         * minibuffer.C:
13650         * XFormsView.C: add support for drop-down completion
13651
13652 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13653
13654         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13655         commands.
13656
13657 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13660         disabled.
13661
13662 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13663
13664         * lyx_main.C: change ref to known bugs
13665
13666 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13667
13668         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13669         to work around older babel problems.
13670
13671 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13672
13673         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13674
13675 2001-10-24  Juergen Vigna  <jug@sad.it>
13676
13677         * tabular-old.C (ReadOld): below variable changes reflected.
13678
13679         * tabular.[Ch]: added ltType struct for longtable header/footer
13680         defines and changed all instances where they are used. Added
13681         future support for double top/bottom rows.
13682
13683 2001-10-24  José Matos  <jamatos@fep.up.pt>
13684
13685         * buffer.h (docbookHandleCaption):
13686         * buffer.C (docbookHandleCaption): removed unused function.
13687         (makeDocBookFile): moved docbook supported version to v4.1.
13688
13689 2001-10-24  José Matos  <jamatos@fep.up.pt>
13690
13691         * tabular.h:
13692         * tabular.C (docbookRow): new function to export docbook code of a row.
13693         (DocBook): now honors the longtable flags.
13694
13695 2001-10-23  José Matos  <jamatos@fep.up.pt>
13696
13697         * LaTeXFeatures.h:
13698         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13699         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13700
13701         * buffer.C (makeLinuxDocFile):
13702         (makeDocBookFile): reworked the preamble, more clean, and with
13703         support for lyx defined entities. Changed the document declaration
13704         to be more XML friendly.
13705
13706         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13707         if we need to output XML that should be done with a filter.
13708
13709 2001-10-22  Juergen Vigna  <jug@sad.it>
13710
13711         * sp_pspell.h (class PSpell): add alive function needed in the
13712         controller to see if the spellchecker could be started.
13713
13714 2001-10-22  Juergen Vigna  <jug@sad.it>
13715
13716         * buffer.C (insertStringAsLines): modify the font for inserting
13717         chars in certain conditions by calling checkInsertChar(font).
13718
13719 2001-10-19  Juergen Vigna  <jug@sad.it>
13720
13721         * text.C (workWidth): use getRow instead of wrong algorithm.
13722         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13723
13724 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13725
13726         * lyxserver.h:
13727         * lyxserver.C:
13728         * lyx_main.h:
13729         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13730
13731 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * text.C (workWidth): do not search for the exact row when
13734         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13735         optimization for big documents.
13736
13737 2001-10-18  Juergen Vigna  <jug@sad.it>
13738
13739         * text.C (workWidth): new function with added Inset * parameter.
13740
13741 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13742
13743         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13744
13745         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13746         change return type of getColumnNearX.
13747
13748
13749         * text.C (changeRegionCase): use uppercase/lowercase instead of
13750         toupper/tolower.
13751         (leftMargin):
13752         (rightMargin): simplify code by factoring out the uses of
13753         textclasslist.
13754         (labelFill):
13755         (numberOfHfills):
13756         (setHeightOfRow):
13757         (appendParagraph): use Paragraph::size_type
13758
13759 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13760
13761         * vspace.C (asLatexString): add a missing break
13762
13763 2001-10-15  Herbert Voss  <voss@perce.de>
13764
13765         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13766
13767 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13770         is not available.
13771
13772 2001-10-10  André Pönitz <poenitz@gmx.net>
13773
13774         * lyxfunc.C: removed greek_kb_flag.
13775
13776 2001-10-10  Herbert Voss  <voss@perce.de>
13777
13778         * lyx_main.C: delete global string help_lyxdir.
13779
13780 2001-10-09  Herbert Voss  <voss@perce.de>
13781
13782         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13783
13784         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13785
13786         * lyx_main.C: added global string help_lyxdir.
13787
13788         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13789
13790 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13791
13792         * lyxrc.C (set_font_norm_type): support iso8859-4
13793
13794 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13795
13796         * LaTeX.C (deplog): add another regex for MikTeX
13797
13798 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13799
13800         * lyxrc.C (set_font_norm_type): support iso8859-3
13801
13802 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13803
13804         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13805
13806         * LaTeXFeatures.C: remove special case of french and index
13807
13808         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13809         before \begin{document}). This solves several incompatibilities.
13810
13811 2001-10-03  Garst Reese  <reese@isn.net>
13812
13813         * lyx_cb.C: change CheckTex error msg.
13814
13815 2001-10-03  José Matos  <jamatos@fep.up.pt>
13816
13817         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13818
13819 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13820
13821         * .cvsignore: update
13822
13823         * lyx_main.C (commandLineVersionInfo): use new style version info.
13824
13825         * buffer.C (writeFile):
13826         (makeLaTeXFile):
13827         (makeLinuxDocFile):
13828         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13829
13830         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13831
13832         * version.h: update to use stuff in version.C
13833
13834         * version.C.in: new file. Contains version information determined
13835         at compile time. This is a merging of version.h and
13836         version_info.h.in.
13837
13838 2001-10-03  Juergen Vigna  <jug@sad.it>
13839
13840         * BufferView_pimpl.C (update): don't change "dirty" status in
13841         updateInset call.
13842
13843 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13844
13845         * WorkArea.C (c-tor): re-position version string slightly.
13846
13847 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13848
13849         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13850         revert to previous code.
13851
13852         WorkArea.[Ch]: (show, destroySplash): methods removed.
13853
13854         WorkArea.C: rework code so that it's an amalgam of the codes before and
13855         after the splash screen was moved to WorkArea.
13856
13857 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * lyxrc.C (read):
13860         * vspace.C (inPixels):
13861         (lyx_advance):
13862         * kbmap.C (bind):
13863         * buffer.C (insertStringAsLines):
13864         (asciiParagraph): fix types to be large enough
13865
13866         * lyxlex_pimpl.h: change member status from short to int
13867
13868         * layout.h: fix type of endlabeltype
13869
13870         * kbmap.C (bind):
13871         * kbsequence.C (parse): change return type to string::size_type
13872
13873         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13874         variable
13875
13876         * Bullet.C (bulletSize):
13877         (bulletEntry): do not use short ints as parameters
13878
13879         * BufferView2.C (insertLyXFile): change a char to an int.
13880
13881         * WorkArea.C (WorkArea): remove unneeded floats in computation
13882
13883 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13884
13885         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13886
13887         * paragraph.C (asString): Do not ignore newline/hfill chars when
13888         copying to the clipboard.
13889
13890 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13891
13892         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13893         after a multi-line inset.
13894
13895 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13896
13897         * paragraph.C (validate): Set NeedLyXFootnoteCode
13898
13899 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13900
13901         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13902         and decrease-error to decrease.
13903
13904 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13907         it more readable (should be equivalent)
13908
13909 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13910
13911         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13912
13913 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13916         of a cursor (row, etc.) after a character has been deleted
13917         (deleteEmptyParagraphMechanism): call the method above on _all_
13918         cursors held by the LyXText when a double space has been
13919         detected/deleted.
13920
13921 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13922
13923         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13924         pixmap.
13925         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13926
13927         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13928         background. Use greyOut() and the new show() methods to toggle between
13929         the foreground and background. Add code to remove the splash after
13930         its initial showing.
13931
13932         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13933         (create_forms): no longer call Dialogs::showSplash.
13934
13935 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * .cvsignore: add version_info.h
13938
13939 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13940
13941         * version_info.h.in: new file
13942
13943         * Makefile.am: add version_info.h.in
13944
13945         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13946         version_info.h instead of VERSION_INFO
13947
13948 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13949
13950         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13951         The ERT inset now returns string().
13952
13953 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13954
13955         * lyxtext.h, text.C (selectNextWord): renamed as
13956         selectNextWordToSpellcheck.
13957
13958         * text.C (selectNextWordToSpellcheck): Modified to not select
13959         words inside an ERT inset.
13960
13961 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13962
13963         * lyx_cb.C (MenuLayoutSave): change a bit the question
13964
13965         * sp_base.h: include <sys/types.h>
13966
13967 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13970
13971 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13972
13973         * several files: fix typos in user-visible strings
13974
13975 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13976
13977         * text2.C (pasteSelection): do not set the selection, since it
13978         will be cleared later. Actually, the intent was to fix the way the
13979         selection was set, but I figured rmoving the code was just as good.
13980
13981 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * FontLoader.C (available): Check if font is available without
13984         loading the font.
13985
13986 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13987
13988         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13989
13990 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13991
13992         * lyxrc.[Ch]: added display_graphics variable and associated code.
13993
13994 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13995
13996         * bufferparams.C (hasClassDefaults): new method. Returns true if
13997         the buffer parameters correspond to known class defaults
13998
13999 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * XFormsView.C (show): set minimum size to the main window.
14002
14003 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14004
14005         * text2.C (copySelection):
14006         (cutSelection):
14007         * lyxfind.C (LyXReplace):
14008         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14009         LyXText::selectionAsString.
14010
14011         * paragraph.C (asString): add "label" argument to the second form
14012
14013         * text2.C (selectionAsString): add "label" argument and pass it to
14014         Paragraph::asString.
14015
14016 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14017
14018         * lyx_main.C (commandLineHelp): remove version information
14019
14020 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14021
14022         * lyx_main.C: add -version commandline option
14023
14024 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14025
14026         * paragraph.h: make the optional constructor arg required instead.
14027         some modifications to other files because of this.
14028
14029         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14030
14031         * lyxserver.C (C_LyXComm_callback): make it static
14032
14033         * lyx_main.C (error_handler): make it static
14034
14035         * lyx_gui.C (LyX_XErrHandler): make it static
14036
14037         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14038
14039         * WorkArea.C: make the extern "C" methods static.
14040
14041         * Makefile.am (lyx_LDADD): simplify
14042
14043 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14044
14045         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14046         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14047
14048         * LyXAction.C (init):
14049         * lyxfunc.C (dispatch): associated code removal.
14050
14051 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14052
14053         * lyxfont.h (isSymbolFont): shut off warning
14054
14055         * text.C (setHeightOfRow):
14056         (getVisibleRow): fix crash with empty paragraphs which have a
14057         bottom line
14058
14059 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14060
14061         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14062         code.
14063
14064 2001-09-04  José Matos  <jamatos@fep.up.pt>
14065         * buffer.C
14066         * buffer.h
14067         * tabular.C (docbook): rename docBook method to docbook.
14068
14069 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14070
14071         * Makefile.am: add dependencies to main.o.
14072
14073 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14074
14075         * FontLoader.C (available): Return false if !lyxrc.use_gui
14076
14077 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14078
14079         * FontInfo.C (query):
14080         * converter.C (view):
14081         * importer.C (Import):
14082         * exporter.C (Export): Can not -> cannot.
14083
14084 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * BufferView_pimpl.C: allow to create index inset even if
14087           string is empty
14088
14089 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * buffer.C (getLists): replace boost::tie code with an explicit pair
14092         as boost::tie can break some compilers.
14093
14094         * iterators.h: Added a std:: declaration to the return type of
14095         ParIterator::size.
14096
14097 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14098
14099         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14100           case.
14101
14102 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14103
14104         * iterators.[Ch]: New files. Provide paragraph iterators.
14105
14106         * buffer.C (changeLanguage): Use paragraph iterators.
14107         (isMultiLingual): ditto
14108
14109         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14110
14111 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14112
14113         * FontLoader.C: Support for cmr font.
14114
14115 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14116
14117         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14118         (available): New method.
14119
14120         * FontInfo.C (getFontname): Use scalable fonts even when
14121         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14122         found.
14123
14124 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14125
14126         * converter.C (Formats::view): reverted! Incorrect fix.
14127
14128 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14129
14130         * converter.C (Formats::view): only output the -paper option
14131         if the dvi viewer is xdvi, thereby fixing bug #233429.
14132
14133 2001-08-23  Herbert Voss  <voss@perce>
14134
14135         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14136
14137 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14138
14139         * Spacing.h (Spacing): Set space to Default on in the default
14140         constructor.
14141
14142 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * vc-backend.h (RCS::versionString): add RCS to version
14145         (CVS::versionString): add CVS to version
14146
14147         * vc-backend.C (scanMaster): do not add CVS to version.
14148         (scanMaster): do not add RCS to version
14149
14150         * lyxvc.C (versionString): new method
14151
14152         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14153
14154 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14155
14156         * Spacing.C (set): initialize fval
14157
14158 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14161         " or \.
14162
14163 2001-08-16  Juergen Vigna  <jug@sad.it>
14164
14165         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14166
14167 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14168
14169         * BufferView_pimpl.C:
14170         * figureForm.C:
14171         * lyxtext.h:
14172         * text2.C: setParagraph takes linespacing now
14173
14174 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14175
14176         * LyxAction.C: add internal LFUN_CITATION_INSERT
14177
14178         * LyXView.C: actually apply fix
14179
14180         * bufferlist.C: fix open non-existent file
14181
14182         * lyxfind.C: fix indentation
14183
14184         * lyxfunc.C: remove unneeded assert, fix typo
14185
14186 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14187
14188         * MenuBackend.C: use "Floatname List"
14189
14190 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14191
14192         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14193         when converting LaTeX layout to insetERT.
14194         Generate a non-collapsed float when reading old float
14195
14196 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14197
14198         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14199         ERT insets.
14200
14201 2001-08-13  Juergen Vigna  <jug@sad.it>
14202
14203         * text.C (fill): return 0 instead of 20 as this seems to be the more
14204         correct value.
14205
14206 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14209         lyxrc.font_norm.
14210
14211 2001-08-13  Juergen Vigna  <jug@sad.it>
14212
14213         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14214         casesensitive off.
14215         (SearchBackward): comment out the unlocking of the inset_owner this
14216         should not be needed!
14217
14218 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14219
14220         * Many files: Remove inherit_language, and add latex_language
14221
14222         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14223         collapsible insets.
14224
14225 2001-08-10  Juergen Vigna  <jug@sad.it>
14226
14227         * text.C (prepareToPrint): fixed hfill-width in draw!
14228
14229         * BufferView2.C (selectLastWord): save the selection cursor as this
14230         now is cleared in the function LyXText::clearSelection!
14231
14232 2001-08-08  Juergen Vigna  <jug@sad.it>
14233
14234         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14235         BACKSPACE type functions.
14236
14237         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14238         is only cutted from the document but not put in the cut-buffer, where
14239         still the old stuff should be.
14240
14241         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14242
14243         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14244
14245         * tabular.C (SetWidthOfCell): fixed special case where the width
14246         was not updated!
14247         (LeftLine): handle '|' in align_special.
14248         (RightLine): ditto
14249         (LeftAlreadyDrawed): ditto
14250         (SetWidthOfCell): ditto
14251
14252 2001-08-07  Juergen Vigna  <jug@sad.it>
14253
14254         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14255
14256 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14259         * lyxlex.[hC]: ditto
14260
14261 2001-08-06  Juergen Vigna  <jug@sad.it>
14262
14263         * text.C (getVisibleRow): fix up row clearing a bit.
14264
14265 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * minibuffer.C: make sure the X server sees the changes in the input.
14268
14269 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14270
14271         * paragraph.C (getFont): split into...
14272         (getLabelFont): this
14273         (getLayoutFont): and this
14274         * paragraph_pimpl.C (realizeFont): calling this
14275
14276         * text2.C (getFont): split into...
14277         (getLayoutFont): this
14278         (getLabelFont): and this
14279         (realizeFont): all three calling this
14280
14281         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14282         files where used.
14283
14284 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14285
14286         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14287
14288 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14289
14290         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14291         layouts from the Quote inset insertion.
14292
14293 2001-08-03  Juergen Vigna  <jug@sad.it>
14294
14295         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14296
14297         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14298         only if status not is already CHANGED_IN_DRAW (second level).
14299
14300         * text.C (draw): don't set the need_break_row when inside an
14301         InsetText LyXText.
14302
14303 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14304
14305         * buffer.C (parseSingleLyXformat2Token): handle more latex
14306         conversion cases.
14307
14308         * bufferview_funcs.[hC]: change function names to
14309         begin with small char, adjust other files.
14310
14311 2001-08-02  André Pönitz <poenitz@gmx.net>
14312
14313         * lyxfunc.C:
14314         BufferView_pimpl.C: remove broken special code for math-greek
14315
14316 2001-08-02  Juergen Vigna  <jug@sad.it>
14317
14318         * BufferView_pimpl.C (update): redone this function so that we
14319         update the text again if there was a CHANGE_IN_DRAW.
14320
14321         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14322         (drawFromTo): added a new internal bool which is used by draw() and
14323         redraw() function.
14324         (general): some cursor drawing problems fixed.
14325
14326 2001-08-01  Juergen Vigna  <jug@sad.it>
14327
14328         * lyxfind.C (LyXFind): fixed
14329         (SearchForward): ditto
14330         (SearchBackward): ditto
14331
14332         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14333         spurius drawing of the cursor in the main area.
14334
14335         * text2.C (status): small fix which could lead to a segfault!
14336         (clearSelection): remove unneeded BufferView param.
14337
14338 2001-08-01  André Pönitz <poenitz@gmx.net>
14339
14340         * lyxfunc.C: small change due to changed mathed interface
14341
14342 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14343
14344         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14345
14346 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14347
14348         * lyxfunc.c: fail gracefully if file doesn't exist
14349
14350         * LyXSendto.C:
14351         * buffer.C:
14352         * lyxfunc.C:
14353         * BufferView_pimpl.C: IsDirWriteable() proto changed
14354
14355         * LyXView.C: fix updateWindowTitle() to store the last title
14356
14357 2001-07-31  Juergen Vigna  <jug@sad.it>
14358
14359         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14360         the font (wrong since using of Paragraph::highestFontInRange).
14361
14362         * paragraph.C (highestFontInRange): added a default_size parameter.
14363
14364         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14365         (setHeightOfRow): reformat
14366
14367 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * converter.[hC] + affected files: move to (inital-char)lowercase
14370         function names.
14371
14372         * ParagraphParameters.C (ParagraphParameters): remove commented code
14373
14374         * PainterBase.[Ch]: remove commented code
14375
14376         * LaTeXFeatures.h: add "bool floats" for float.sty
14377
14378         * LaTeXFeatures.C (LaTeXFeatures): init floats
14379         (require): handle float
14380         (getPackages): do it with floats
14381
14382 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * BufferView_pimpl.C (Dispatch): improve handling of
14385         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14386
14387         * commandtags.h: #include lyxfont.h here temporarily to avoid
14388         keybinding bug.
14389
14390         * bufferlist.h: include LString.h here.
14391
14392 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14393
14394         * text2.C (getStringToIndex): new method.
14395
14396 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14397
14398         * *: Reduced header file dependencies all over.
14399
14400 2001-07-30  Baruch Even  <baruch@lyx.org>
14401
14402         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14403
14404 2001-07-29  Baruch Even  <baruch@lyx.org>
14405
14406         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14407
14408 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14409
14410         * ParameterStruct.h (endif): add a default constructor to make
14411         sure that all variables is initialized.
14412
14413         * ParagraphParameters.C (ParagraphParameters): adjust
14414
14415 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14416
14417         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14418         index; also, check that there is something to index, and that it
14419         does not span over several paragraphs.
14420         (doubleClick): use WHOLE_WORD_STRICT for double click.
14421
14422         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14423
14424         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14425         scheme.
14426
14427 2001-07-26  Baruch Even  <baruch@lyx.org>
14428
14429         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14430         an InsetFig figure, backwards compatible reading of old figure code.
14431
14432 2001-07-27  Juergen Vigna  <jug@sad.it>
14433
14434         * text2.C: font.realize function adaption.
14435
14436         * text.C (draw): add a warnings lyxerr text if needed.
14437
14438         * layout.C: font.realize function adaption.
14439
14440         * language.C: add inherit_language and implement it's handlings
14441
14442         * bufferview_funcs.C (StyleReset): remove language parameter from
14443         font creation (should be language_inherit now).
14444
14445         * bufferparams.C (writeFile): handle ignore_language.
14446
14447         * paragraph.C (getFontSettings): the language has to be resolved
14448         otherwise we have problems in LyXFont!
14449
14450         * lyxfont.C (lyxWriteChanges): added document_language parameter
14451         (update): removed unneeded language parameter
14452
14453         * paragraph.C (validate): fixed wrong output of color-package when
14454         using interface colors for certain fonts in certain environments,
14455         which should not seen as that on the final output.
14456
14457 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14458
14459         * BufferView_pimpl.C:
14460         * Thesaurus.h:
14461         * Thesaurus.C:
14462         * Makefile.am:
14463         * commandtags.h:
14464         * LyXAction.C: add thesaurus support
14465
14466         * lyxfind.h:
14467         * lyxfind.C: add "once" parameter, for thesaurus, to not
14468           move to the next match
14469
14470 2001-07-26  Juergen Vigna  <jug@sad.it>
14471
14472         * lyxfont.C (realize): honor ignore_language too!
14473         (resolved): ditto.
14474
14475         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14476
14477         * text.C (draw): one place more for ignore_language to not draw
14478         itself!
14479
14480 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14481
14482         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14483
14484 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14485
14486         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14487         the minipage conversion problem.
14488
14489 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14492         insert an inset.
14493
14494 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14495
14496         * BufferView.h: don't forward declare WorkArea
14497
14498         * BufferView.C: don't include WorkArea.h
14499
14500 2001-07-25  André Pönitz <poenitz@gmx.net>
14501
14502         * commandtags.h:
14503         * LyXAction.C:
14504         * lyxfunc.C:  new LFUN 'math-space'
14505
14506         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14507
14508 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14509
14510         * text2.C (toggleInset): call open/close
14511
14512 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14513
14514         * lyxfunc.C (dispatch): add debug for the disabled case
14515
14516         * font.C (buttonText): make similar to rectText
14517
14518         * buffer.C (readInset): comment out parsing of insetlist and
14519         insttheorem
14520
14521         * PainterBase.C (rectText): small correction
14522
14523         * BufferView_pimpl.C: comment out insettheorem and insetlist
14524         * LyXAction.C: ditto
14525         * commandtags.h: ditto
14526
14527 2001-07-24  Juergen Vigna  <jug@sad.it>
14528
14529         * text.C (draw): honor the ignore_language.
14530
14531         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14532
14533 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14534
14535         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14536         char inset.
14537
14538 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14539
14540         * lyxtext.h: remove unused (and unimplemented) methods
14541
14542 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14543
14544         * text.C (getVisibleRow): honor background color
14545
14546         * PainterBase.h:
14547         * Painter.h: remove default color argument for fillRectangle
14548
14549         * text.C (backgroundColor): new method
14550
14551 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * text.C (getVisibleRow): adjust
14554
14555         * font.[Ch] (rectText): new method, metrics
14556         (buttonText): new method, metrics
14557
14558         * PainterBase.[hC]: make rectText and buttonText always draw and take
14559         fewer paramteres.
14560
14561 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14562
14563         * ToolbarDefaults.C (read):
14564         * MenuBackend.C (read): allow escaping in all strings
14565
14566         * BufferView_pimpl.C (insertAndEditInset): new method.
14567         (Dispatch): use insertAndEditInset whenever appropriate.
14568
14569         * BufferView_pimpl.C (insertNote): removed
14570
14571         * BufferView_pimpl.C (smartQuote): new method, moved from
14572         BufferView; if an insetquote cannot be inserted, insert a '"'
14573         character instead.
14574
14575         * BufferView2.C: remove insertCorrectQuote();
14576
14577         * lyxfunc.C (getStatus): Add support for all remaingin
14578         inset-insert lfuns.
14579
14580         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14581
14582         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14583         command (necessary to pass " as parameter of self-insert.
14584
14585         * text.C (selectWordWhenUnderCursor):
14586         (selectWord): add word_location parameter
14587         (selectWordWhenUnderCursor): same + remove special code for word
14588         boundary.
14589         (selectNextWord): use kind() to guess type of insetspecialchar,
14590         not latex().
14591
14592         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14593         (insertErtContents): create ert insets as collapsed.
14594         (readInset): better compatibility code for Info inset.
14595
14596 2001-07-20  Juergen Vigna  <jug@sad.it>
14597
14598         * lyxfunc.C (dispatch): use always LyXFind now!
14599
14600         * text2.C (init): add a reinit flag so that the LyXText can be
14601         reinited instead of deleted and reallocated (used in InsetText).
14602
14603         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14604
14605         * text.C: ditto
14606
14607         * text2.C: ditto
14608
14609 2001-07-18  Juergen Vigna  <jug@sad.it>
14610
14611         * text.C (selectNextWord): handle insets inside inset by calling
14612         always the bv->text functions so that we can go up the_locking_inset!
14613
14614         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14615         in strange locations when inside an inset!
14616
14617         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14618         handling to include insets.
14619
14620         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14621
14622 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14623
14624         * LyXAction.C (init):
14625         * commandtags.h:
14626         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14627         LIGATURE_BREAK, since the name is so stupid.
14628
14629 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14630
14631         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14632         InsetInfos.
14633
14634         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14635
14636         * sp_form.[Ch]: remove.
14637
14638         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14639
14640         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14641         InsetInfo.
14642
14643         * src/buffer.C (readInset): ditto.
14644
14645 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14646
14647         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14648         menuSeparator(), endOfSentenceDot(), ldots() and
14649         hyphenationPoint(), which are therefore removed.
14650         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14651
14652         * LyXAction.C (init):
14653         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14654
14655         * paragraph.C (getWord): removed.
14656
14657         * BufferView_pimpl.C (Dispatch): use last word or selection for
14658         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14659
14660         * lyx_main.C (queryUserLyXDir): do not ask before creating
14661         user_dir, except if it has been named explicitely.
14662
14663 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14664
14665         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14666         a document of zero size.
14667
14668 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14669
14670         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14671         approriately in the c-tor and in require().
14672         (getPackages): output the appropriate LaTeX for natbib support.
14673
14674         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14675         variables "use_natbib" and "use_numerical_citations" when reading the
14676         LyX file.
14677         (readInset): read the various natbib cite commands.
14678         (validate): white-space change.
14679
14680         * bufferparams.[Ch]: new variables "bool use_natbib" and
14681         "bool use_numerical_citations".
14682         (writeFile): output them in the LyX file.
14683
14684 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14685
14686         * lyxfunc.C (getStatus): add support for all the inset insertion
14687         commands.
14688
14689         * text2.C (insertInset):
14690         * paragraph.C (insetAllowed):
14691         * BufferView_pimpl.C (insertInset): update to take in account the
14692         renaming of insertInsetAllowed
14693
14694         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14695
14696         * text2.C (getInset): new method. returns inset at cursor position.
14697
14698         * BufferView_pimpl.C (Dispatch): changes because of this.
14699
14700         * LyXAction.C (init): rename open-stuff to inset-toggle.
14701
14702         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14703
14704         * text2.C (toggleInset): renamed from openStuff; use
14705         Inset::open().
14706
14707 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14708
14709         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14710
14711         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14712
14713 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * buffer.C (readLyXformat2): Add filename to the error dialog
14716
14717 2001-07-18  Juergen Vigna  <jug@sad.it>
14718
14719         * tabular.C (GetCellNumber): put an assert here instead of the check!
14720
14721 2001-07-17  Juergen Vigna  <jug@sad.it>
14722
14723         * BufferView_pimpl.C (toggleSelection): adapted too.
14724
14725         * text.C (selectNextWord): adapted for use with insets.
14726         (selectSelectedWord): ditto
14727
14728 2001-07-17  Juergen Vigna  <jug@sad.it>
14729
14730         * sp_spell.C (PSpell): fix initialitation order.
14731
14732 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * paragraph.C: spacing
14735
14736 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14737
14738         * sp_spell.C: repair language selection for pspell
14739
14740 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14741
14742         * lyxfunc.h: change more methods to begin with lower char.
14743
14744 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14745
14746         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14747         for unknown layouts.
14748
14749 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14750
14751         * buffer.C (readLyXformat2): Generate an error dialog if there are
14752         unknown layouts.
14753
14754 2001-07-16  Juergen Vigna  <jug@sad.it>
14755
14756         * sp_spell.C: always compile ISpell part.
14757
14758         * lyxrc.C: added use_pspell entry and it's handling.
14759
14760 2001-07-13  Juergen Vigna  <jug@sad.it>
14761
14762         * sp_spell.C: removed double includes.
14763
14764 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14765
14766         Consistent use of Lsstream.h:
14767         * Lsstream.h: added using std::stringstream for consistencies sake.
14768
14769         * buffer.C: removed using std::stringstream
14770
14771         * lyxfont.C (stateText):
14772         * paragraph.C (asString):
14773         * text.C (selectNextWord, selectSelectedWord):
14774         * text2.C (setCounter):
14775         * vspace.C (asString, asLatexString):
14776         std::ostringstream -> ostringstream.
14777
14778 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14779
14780         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14781         * commandtags.h: add LFUN_HELP_ABOUTLYX
14782         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14783
14784 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14785
14786         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14787         cursorToggle()
14788         * lyx_gui_misc.C: remove spellchecker
14789         * lyxfunc.C: showSpellchecker
14790         * sp_base.h: added
14791         * sp_ispell.h: added
14792         * sp_pspell.h: added
14793         * sp_spell.C: added
14794         * sp_form.[Ch]: removed
14795         * spellchecker.[Ch]: removed
14796
14797 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14798
14799         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14800         is set.
14801         (simpleTeXSpecialChars): Simply print the input character without
14802         any special translation if pass_thru is set.
14803
14804         * layout.h: Added bool pass_thru to layout class for being able to
14805         implement pass through of a paragraph for Literate Programming.
14806
14807         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14808         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14809         * layout.C (Read): add "passthru" to list of layout tags and add
14810         code to set the pass_thru boolean when it is read.
14811
14812 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14813
14814         * trans_decl.h: remove allowed from KmodInfo
14815
14816         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14817         remove allowed code
14818         (Load): adjust
14819
14820         * paragraph_pimpl.C (erase): use boost::prior
14821
14822         * Painter.C (text): use data() instead of c_str() when length is
14823         also provided.
14824         * WorkArea.C (putClipboard): ditto
14825         * font.h (width): ditto
14826
14827         * BufferView2.C: use it-> instead of (*it). for iterators
14828         * texrow.C: ditto
14829         * paragraph_pimpl.C: ditto
14830         * paragraph.C: ditto
14831         * minibuffer.C: ditto
14832         * language.C: ditto
14833         * kbmap.C: ditto
14834         * encoding.C: ditto
14835         * counters.C: ditto
14836         * converter.C: ditto
14837         * chset.C: ditto
14838         * Variables.C: ditto
14839         * TextCache.C: ditto
14840         * MenuBackend.C: ditto
14841         * LyXAction.C: ditto
14842         * LColor.C: ditto
14843         * FloatList.C: ditto
14844         * DepTable.C: ditto
14845         * ColorHandler.C (LyXColorHandler): ditto
14846
14847 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14850
14851         * text2.C (openStuff): reintroduce this method (which had been
14852         nuked in NEW_INSETS frenzy).
14853
14854         * lyxfunc.C (Dispatch): when an action has not been handled, use
14855         its name in the error message, not its number.
14856
14857         * paragraph.C (inInset): change method name to begin with lowercase.
14858
14859         * undo_funcs.C:
14860         * text2.C: updates because of this.
14861
14862 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14863
14864         * ToolbarDefaults.C (add): add spaces in error message
14865
14866 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14867
14868         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14869         (readLyXformat2): rename return_par to first_par, use lyxlex's
14870         pushToken and remove the manual push handling.
14871         (parseSingleLyXformat2Token): add another ert comp. variable:
14872         in_tabular, rename return_par to first_par. handle newlines better
14873
14874 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14877
14878 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14879
14880         * text2.C (getParFromID): removed
14881
14882         * buffer.C (getParFromID): new method moved form lyxtext.
14883         * BufferView2.C (insertErrors): adjust
14884         (setCursorFromRow): adjust
14885         * BufferView_pimpl.C (restorePosition): adjust
14886         * lyxfunc.C (Dispatch): adjust
14887         * undo_funcs.C (textUndo): adjust
14888         (textRedo): adjust
14889         (textHandleUndo): adjust
14890         (textHandleUndo): adjust
14891
14892 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14893
14894         * buffer.C: up' the LYX_FORMAT
14895
14896         * lyxfont.h: turn NO_LATEX on as default
14897
14898         * buffer.C (insertErtContents): new methods of tex style compability.
14899         (parseSingleLyXformat2Token): use it several places.
14900         * tabular.C (OldFormatRead): and here
14901
14902 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14903
14904         * text2.C: remove some commented code.
14905         reindent file.
14906
14907         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14908         * trans.C: changes because of the above.
14909
14910 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14911
14912         * text2.C (setCounter): Fix counters bug with bibliography layout.
14913
14914 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14915
14916         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14917         own member functions
14918         (simpleTeXSpecialChars): ditto
14919
14920 2001-07-06  Juergen Vigna  <jug@sad.it>
14921
14922         * a lot of files: changed the access to LyXText::status and the
14923         call of undo-functions.
14924
14925         * undo.[Ch]: added a inset_id to the undo informations.
14926
14927         * undo_funcs.[Ch]: added and moved here all undo functions.
14928
14929         * lyxtext.h: give the status enum a weight, made status_ a private
14930         variable and made accessor functions for it, removed the whole bunch
14931         of undo-functions as they are now in their own file, make some
14932         functions publically available. Added function ownerParagraph with
14933         int parameter.
14934
14935         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14936         made InInset() a const function, added getParFromID() function.
14937
14938         * buffer.[Ch]: added const version for inset_iterator functions,
14939         added getInsetFromID() function.
14940
14941         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14942         changed undo functions for new version.
14943
14944 2001-07-05  Juergen Vigna  <jug@sad.it>
14945
14946         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14947         unknow mechanism does not call the proper constructor but only this
14948         one also if I request the other!?
14949
14950 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14951
14952         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14953
14954         * text2.C (LyXText): use initialization lists.
14955
14956         * lyxtext.h (Selection): initialize set_ and mark_
14957         (init): remove method
14958
14959 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14960
14961         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14962
14963 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14964
14965         * screen.[Ch]: change method names to begin with lowercase
14966
14967         * BufferView_pimpl.C (updateScrollbar): simplify further and
14968         hopefully make it a bit faster.
14969
14970 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14971
14972         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14973         calling directly xforms functions.
14974
14975         * Painter.C (Painter):
14976         * lyx_cb.C (MenuWrite):
14977         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14978         fl_display.
14979
14980         * lyx_gui.C: remove bogus guiruntime extern declaration.
14981
14982 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14983
14984         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14985         in NEW_INSETS
14986         (redoDrawingOfParagraph): ditto
14987         (redoParagraphs): ditto
14988         (cutSelection): don't create a object for CutAndPaste use the
14989         static method directly
14990         (pasteSelection): ditto
14991
14992         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14993         LyXview (+ rename)
14994
14995 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14996
14997         * modifications to some other files because of this.
14998
14999         * Makefile.am (lyx_SOURCES): add XFormsView
15000
15001         * XFormsView.[Ch]: new files
15002
15003         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15004         the main window. Move the gui dependent stuff to XFormsView
15005
15006 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15007
15008         * tabular.C (GetCellInset): update cur_cell also in the row/col
15009         version of this function.
15010
15011         * lyxfunc.C: no need to include figure_form.h here.
15012
15013         * FontLoader.h:
15014         * lyxfunc.h:
15015         * lyxscreen.h:
15016         * text2.C:
15017         * lyxvc.C: no need to include forms.h here.
15018
15019 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15022
15023         * lyxfunc.C (Dispatch):
15024         * Spacing.C (set):
15025         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15026         constructor argument.
15027
15028 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15029
15030         * paragraph.C (Paragraph): dont't clear, and just set layout.
15031         (makeSameLayout): use params's copy contructor.
15032
15033         * ParagraphParameters.[Ch] (makeSame): delete method
15034
15035 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15036
15037         * Variables.[Ch]: fix indentation, rename set to isSet
15038
15039 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * lyxfunc.C (Dispatch): fix typo
15042
15043 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15044
15045         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15046         upper_bound.
15047
15048         * bufferlist.C: include assert.h for emergencyWrite().
15049
15050 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15051
15052         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15053           give up at last (bug #425202) !
15054
15055 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15056
15057         * lyx_gui_misc.C:
15058         * sp_form.h:
15059         * sp_form.C:
15060         * spellchecker.h:
15061         * spellchecker.C: strip spellchecker options and bring up
15062           preferences tab instead
15063
15064 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15067         the istringstream constructor
15068
15069 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15070
15071         * paragraph.C (getLayout): fix return value
15072
15073         * paragraph.h: do not declare getLayout as inline.
15074
15075         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15076
15077 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15078
15079         * lyxcursor.h (operator<): new func
15080         (operator>): new func
15081         (operator>=): new func
15082         (operator<=): new func
15083
15084         * text.C (changeCase): use selection.start and selection.end
15085         (changeRegionCase): require from to be <= to. Require par to be a
15086         valid paragraph.
15087
15088         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15089
15090 2001-06-27  Juergen Vigna  <jug@sad.it>
15091
15092         * text.C (cursorLeftOneWord): changed to return the cursor and added
15093         overlay with BufferView * parameter which calls this one.
15094         (getWord): added
15095         (selectWord): use new getWord function.
15096         (changeCase): renamed from changeWordCase as and extended to work
15097         also on selections.
15098
15099         * lyxtext.h: added enum word_location
15100
15101         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15102         changeCase as this operates now also on selections.
15103
15104 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15105
15106         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15107
15108         * many files: send debug output to Debug::INFO instead of
15109         Debug::ANY.
15110
15111         * converter.C (View):
15112         (Convert):
15113         (Move): send debug output to Debug::FILES instead of console.
15114
15115 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15116
15117         * lyxfunc.C (getStatus): use func_status
15118
15119         * func_status.h: new header, describing the results of
15120         LyXFunc::getStatus;
15121
15122         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15123         LFUN_MATH_HALIGN.
15124
15125 2001-06-25  The LyX Project  <jug@sad.it>
15126
15127         * buffer.C (sgmlOpenTag):
15128         (sgmlCloseTag):
15129         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15130
15131 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * text2.C: remove some dead code
15134
15135         * tabular.C (GetCellInset): store the last cell checked (gotten)
15136
15137         * tabular.h: add the helper for the speedup
15138
15139         * lyxtext.h: remove some dead code
15140
15141 2001-06-26  The LyX Project  <Asger>
15142
15143         * paragraph.C: Change export to LaTeX of alignment to
15144         \begin{center} and family for better roundtrip work with reLyX.
15145
15146         * Tune the math drawing a bit.
15147
15148 2001-06-25  The LyX Project  <Asger>
15149
15150         * LColor.C (LColor): New color for math background. New color
15151         for buttons.
15152
15153 2001-06-25  The LyX Project  <jug@sad.it>
15154
15155         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15156
15157         * lyxfunc.C (Open):
15158         * bufferlist.C (newFile): do not restrict to files ending with
15159         .lyx
15160
15161         * BufferView_pimpl.C (MenuInsertLyXFile):
15162
15163 2001-06-24  The LyX Project  <jug@sad.it>
15164
15165         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15166         of compare_no_case
15167
15168 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15169
15170         * lyxtext.h: rename most methods to begin with a small char.
15171         Lots of changes because of this.
15172
15173         * paragraph.C (Paragraph): do not call fitToSize
15174         (erase): call Pimpl::erase
15175         (insertChar): call Pimpl::insertChar
15176         (insertInset): call Pipl::insertInset
15177         (breakParagraph): do not call fitToSize
15178         (breakParagraphConservative): do not call fitToSize
15179         (fitToSize): remove method
15180
15181         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15182
15183 2001-06-24  The LyX Project  <Asger>
15184
15185         * Fix Qt compilation^2
15186
15187 2001-06-24  The LyX Project  <jug@sad.it>
15188
15189         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15190         depthHook(getDepth()-1).
15191
15192         * paragraph.h:
15193         * ParagraphParameters.h:
15194         * ParameterStruct.h: change type of depth to unsigned int ==
15195         depth_type. Many adaptations to other files before of that.
15196
15197 2001-06-24  The LyX Project  <Asger>
15198
15199         * Fix Qt compilation.
15200
15201 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15202
15203         * paragraph.h: renamed several methods to begin with small letter.
15204         several changes to many parts of the code because of this.
15205
15206 2001-06-23  The LyX Project  <jug@sad.it>
15207
15208         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15209         rewritten to discard all double spaces when KeepEmpty is off
15210         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15211         to only handle newlines but not fiddle with spaces and friends.
15212
15213         * lyxfunc.C (MenuNew): when doing 'new from template', use
15214         template_path as default directory
15215
15216 2001-06-23  The LyX Project  <Asger>
15217
15218         * Clean-up of header file includes all over
15219         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15220
15221 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * paragraph.h: renamed from lyxparagraph.h
15224
15225 2001-06-23  Asger  <lyx@violet.home.sad.it>
15226
15227         * Buffer.h: Removed Buffer::resize
15228         * BufferList.h: Removed BufferList::resize
15229         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15230         the document lazily when we change the width, or the font settings.
15231
15232 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15233
15234         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15235
15236 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15237
15238         * buffer.h: remove out of date comment
15239
15240 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15241
15242         * lyxscreen.h:
15243         * screen.C: fix "theoretical" GC leak
15244
15245 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15246
15247         * LaTeX.C (scanAuxFile):
15248         (deplog): remove trailing \r when reading stream (useful under
15249         win32)
15250
15251 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15252
15253         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15254         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15255         and BufferView::theLockingInset(Inset*), so should use them and not
15256         access bv_->text->the_locking_inset directly.
15257
15258         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15259
15260 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15261
15262         * Makefile.am:
15263         * tex-defs.h: remove old unused file
15264
15265 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15266
15267         * BufferView_pimpl.C: fix typo, remove minibuffer message
15268           when buffer has loaded
15269
15270 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15271
15272         * lyxfunc.C (Dispatch): use stringstream
15273         (MenuNew): use stringstream
15274         (Open): use stringstream
15275
15276         * importer.C (Import): use stringstream
15277
15278         * bufferview_funcs.C (CurrentState): use stringstream
15279
15280         * LaTeX.C (run): use stringstream
15281
15282         * BufferView_pimpl.C (savePosition): use stringstream
15283         (restorePosition): use stringstream
15284         (MenuInsertLyXFile): use stringstream
15285
15286 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15287
15288         * BufferView.C:
15289         * Bullet.C:
15290         * ColorHandler.C:
15291         * FontInfo.C:
15292         * FontLoader.C:
15293         * LColor.C:
15294         * LaTeXFeatures.C:
15295         * Painter.C:
15296         * gettext.C:
15297         * lyx_gui_misc.C:
15298         * lyxserver.C:
15299         * vspace.C: removed // -*- C++ -*- as first line.
15300
15301         * lyxfind.h:
15302         * version.h: added // -*- C++ -*- as first line.
15303
15304 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15305
15306         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15307
15308         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15309         of string
15310
15311 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15314         of floats.
15315
15316 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * gettext.C: include LString.h even when --disable-nls is on.
15319
15320 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15321
15322         * converter.h (Get): changed argument type from int to
15323         FormatList::size_type to avoid unnecessary conversion.
15324
15325         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15326         before using it.
15327
15328 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15329
15330         * gettext.h: include LString.h even when --disable-nls is on.
15331
15332 2001-06-07  Juergen Vigna  <jug@sad.it>
15333
15334         * text.C (BreakAgain): subst spaces with tabs.
15335
15336         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15337         (resizeInsetsLyXText): set force on resizeLyXText.
15338
15339 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15340
15341         * gettext.h (gettext_init):
15342         (locale_init): use a real definition instead of a macro
15343
15344 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15345
15346         * Bufferview_pimpl.C:
15347         * LColor.h:
15348         * LColor.C: further lcolor tidies
15349
15350 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15351
15352         * BufferView_pimpl.C (updateScrollbar): simplify.
15353
15354         * BufferView2.C: don't include insets/insetinfo.h, change
15355         prototype for insertInset and call the Pimpl version. let
15356         updateInset call Pimpl version.
15357
15358         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15359         gotoInset to BufferView::Pimpl
15360
15361 2001-06-01  Juergen Vigna  <jug@sad.it>
15362
15363         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15364         inside a LockingInset (is the update needed at all?).
15365
15366 2001-05-31  Juergen Vigna  <jug@sad.it>
15367
15368         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15369         here not the old one otherwise how should we compare it afterwards
15370         if it's the same!
15371
15372 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15373
15374         * lyxfont.C:
15375         * tabular.C:
15376         * tabular-old.C:
15377         * FontInfo.C: bring C functions into global namespace when
15378         necessary
15379
15380 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15381
15382         * LString.h: make sure config.h has been loaded before LString.h.
15383
15384         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15385         (one for each char read by EatLine!).
15386
15387         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15388         variables.
15389
15390 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15391
15392         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15393         to the same as the par we break from
15394
15395 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15396
15397         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15398
15399         * MenuBackend.C (expand): also create menu entries for wide
15400         versions of the floats.
15401
15402         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15403
15404         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15405
15406         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15407         frontends/Makefile.am
15408
15409         * text2.C: adjust
15410         * text.C: adjust
15411
15412
15413         * tabular.C (getTokenValue): add std::
15414
15415         * tabular-old.C (getTokenValue): add std::
15416         (getTokenValue): ditto
15417         (getTokenValue): ditto
15418
15419         * screen.C (ToggleSelection): adjust
15420
15421         * lyxtext.h: put selection cursors inside a Selection struct.
15422
15423         * lyxfunc.C (moveCursorUpdate): adjust
15424
15425         * lyxfont.C (latexWriteStartChanges): add std::
15426
15427         * lyxfind.C: adjust
15428
15429         * font.h: delete with(char const *, LyXFont const &)
15430
15431         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15432
15433         * FontInfo.C (getFontname): add std::
15434
15435         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15436         (workAreaButtonPress): adjust
15437         (tripleClick): adjust
15438         (update): adjust
15439         (moveCursorUpdate): adjust
15440         (Dispatch): adjust
15441
15442         * BufferView2.C (gotoInset): adjust
15443
15444 2001-05-30  Juergen Vigna  <jug@sad.it>
15445
15446         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15447         to check pspell I add this as default as I now have new pspell
15448         libraries and they seem to use this.
15449
15450 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15451
15452         * text2.C (CutSelection): make the cursor valid before the call to
15453         ClearSelection.
15454
15455 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15456
15457         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15458         relied on 0 terminated strings and other horrors. Bug found due to
15459         the new assert in lyxstring!
15460
15461         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15462         KP_ keys.
15463
15464 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15465
15466         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15467         to latinkeys.bind.
15468
15469         * lyxfunc.C (processKeySym): change method of getting to the
15470         self-insert char.
15471
15472         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15473         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15474         * BufferView_pimpl.[Ch]: here as private methods.
15475
15476 2001-05-28  Juergen Vigna  <jug@sad.it>
15477
15478         * text.C (SetHeightOfRow): added the update() call again as it is
15479         needed to initialize inset dimensions!
15480
15481 2001-05-16  Juergen Vigna  <jug@sad.it>
15482
15483         * text2.C (SetCharFont): Add new function with BufferView * and
15484         bool toggleall parameters for setting insets internal fonts.
15485         (SetFont): Freeze the undo as we may change fonts in Insets and
15486         all this change should be inside only one Undo!
15487
15488         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15489         setting font's in insets as for them we have the SetFont function!
15490
15491 2001-05-15  Juergen Vigna  <jug@sad.it>
15492
15493         * text2.C (ClearSelection): to be sure we REALLY don't have any
15494         selection anymore!
15495
15496         * tabular.C (TeXCellPreamble): fixed the left border problem for
15497         multicolumn cells.
15498
15499 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15500
15501         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15502         dependancy file
15503
15504 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15505
15506         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15507         LFUN_BREAKPARAGRAPH.
15508
15509         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15510         help test to "internal only", similar for LFUN_INSERT_URL
15511
15512         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15513         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15514         auto_region_delete and deadkeys.
15515
15516 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15517
15518         * LColor.h:
15519         * LColor.C: remove some dead entries, tidy a little
15520
15521 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15522
15523         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15524         commented code.
15525         (Dispatch): implement LFUN_ESCAPE
15526
15527         * commandtags.h: add LFUN_ESCAPE
15528
15529         * LyXAction.C (init): add entry for LFUN_ESCAPE
15530
15531         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15532         Remove commented code.
15533         (insertNote): moved here
15534         (open_new_inset): moved here
15535
15536         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15537         BufferView_pimpl
15538
15539 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15540
15541         * kbmap.C (findbinding): clean it up and make it work correctly.
15542
15543         * lyx_main.C (init): do not pass argc and argv as parameters
15544
15545 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15546
15547         * buffer.C: fix path for OS/2 & Win32
15548
15549         * lyx_gui.C:
15550         * lyx_main:
15551         * lyx_main.C: Added os:: class.
15552
15553         * os2_defines.h: update
15554
15555 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15558         better by trying again with reduced state.
15559
15560 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * lyxrc.C (read): print error about invalid key sequence only when
15563         debugging (because not all latinX keysyms are known to some X
15564         servers)
15565
15566         * kbsequence.C (getiso): add a few std:: qualifiers
15567         (getiso): comment out extra return statement.
15568
15569 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15570
15571         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15572         handling.
15573         (Dispatch): enhance the accent inset a bit. (not perfect)
15574
15575 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15576
15577         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15578
15579 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * bufferlist.C (emergencyWrite): fix assert() call
15582
15583 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15584
15585         * text.C (InsertChar): Added trivial patch to only send the "you
15586         can not do multiple spaces this way" message once during a
15587         session.
15588
15589 2001-05-08  Baruch Even  <baruch@lyx.org>
15590
15591         * Makefile.am: Changed order of libraries to get LyX to link properly
15592         with the gnome frontend.
15593
15594 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15595
15596         * LaTeXFeatures.h: add a std:: qualifier
15597
15598 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15599
15600         * paragraph.C (String): use stringstream
15601
15602 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15603
15604         * paragraph.C (writeFile): remove footflag arg
15605
15606         * buffer.C (makeLaTeXFile): use stringstream
15607         (latexParagraphs): remove footnot gurba
15608
15609         * LaTeXFeatures.C (getPackages): use stringstream
15610         (getMacros): likewise
15611         (getTClassPreamble): likewise
15612         (getFloatDefinitions): new method
15613
15614         * paragraph.C (writeFile): reindent
15615         (Erase): reindent
15616
15617         * WorkArea.h: revert the xpos + etc changes.
15618
15619         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15620
15621         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15622
15623         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15624         (pasteSelection): likewise
15625         * text2.C (CreateUndo): likewise
15626
15627 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15628
15629         * minibuffer.C (peek_event): temporarily reduce the functionality
15630         of the minibuffer (to allow args on lfuns)
15631
15632         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15633         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15634
15635         * buffer.C (readInset): add compability reading of old float
15636         lists, add reading of new style float list.
15637         (readInset): avoid reevaluation of inscmd.getCmdName()
15638         (getLists): reindent
15639
15640         * MenuBackend.C (MenuItem): implement parsing of
15641         md_floatlistinsert and md_floatinsert.
15642         (expand::LastFiles): move initalizaton of iterators out of loop,
15643         avoid reevaluation.
15644         (expand::Documents): introduce typdedef vector<string> Strings,
15645         and use it.
15646         (expand::ExportFormats): introduce typedef vector<Format const *>
15647         Formats, and use it.
15648         (expand): implement FloatListInsert and FloatInsert.
15649
15650         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15651         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15652         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15653
15654         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15655         handling.
15656         (Dispatch::LFUN_FLOAT_LIST): implement
15657
15658 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15659
15660         * LaTeX.C (run): Fix problem with --export code.
15661
15662 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15663
15664         * BufferView.[Ch] (workarea): removed.
15665         (getClipboard) new method; wrapper for workarea()->getClipboard()
15666
15667         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15668         bug.
15669
15670         * WorkArea.h (width, height, xpos, ypos): These methods all
15671         returned the dimensions of the work_area sub-area of WorkArea,
15672         resulting in a position error if the WorkArea were resized. Now
15673         return the dimensions of the entire WorkArea.
15674
15675         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15676
15677 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15678
15679         * LaTeX.C (deplog): correct the syntax of regex reg1
15680
15681 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15682
15683         * undo.C: remove !NEW_INSETS cruft
15684
15685 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * text2.C: remove !NEW_INSETS cruft
15688
15689         * text.C: remove !NEW_INSETS cruft
15690
15691         * tabular.C: remove !NEW_INSETS cruft
15692
15693         * spellchecker.C: remove !NEW_INSETS cruft
15694
15695         * lyxtext.h: remove !NEW_INSETS cruft
15696
15697         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15698
15699         * lyxfunc.C: remove !NEW_INSETS cruft
15700
15701         * lyxfind.C: remove !NEW_INSETS cruft
15702
15703         * lyx_cb.C: remove !NEW_INSETS cruft
15704
15705         * figureForm.C: remove  !NEW_INSETS cruft
15706
15707         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15708
15709         * buffer.[Ch]: remove !NEW_INSETS cruft
15710
15711         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15712
15713         * CutAndPaste.C: remove !NEW_INSETS cruft
15714
15715         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15716
15717         * BufferView2.C: remove !NEW_INSETS cruft
15718
15719         * BufferView.h: remove !NEW_INSETS cruft
15720
15721 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * Lsstream.h: include LString.h before the sstream headers to
15724         fix problem with gcc 2.95.3 and lyxstring
15725
15726 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * lyx_main.C: add using directives when needed for C functions
15729         declared in std:: namespace.
15730
15731 2001-04-27  Juergen Vigna  <jug@sad.it>
15732
15733         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15734         (SetHeightOfRow): comment out the update call should not be needed!
15735
15736 2001-04-13  Juergen Vigna  <jug@sad.it>
15737
15738         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15739         (LyXTabular): tried to minimize operator= operations (and realized
15740         hopfully Lars wish).
15741
15742 2001-04-27  Juergen Vigna  <jug@sad.it>
15743
15744         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15745
15746 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15747
15748         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15749
15750         * buffer.C (readInset): hack to make listof algorithm work
15751
15752         * BufferView_pimpl.C: hack to make listof algorithm work
15753
15754 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15755
15756         * LyXAction.C: removed all !NEW_INSETS cruft
15757         (init): moved lfun_item in method
15758
15759         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15760
15761 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15762
15763         * BufferView2.C (theLockingInset): white space.
15764
15765 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15766
15767         * minibuffer.C: include <iostream>
15768
15769         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15770
15771         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15772
15773         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15774
15775         * text.[Ch] (TransposeChars): new method
15776
15777 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15778
15779         * call message directly through LyXView instead of through LyXFunc
15780         * BufferView2.C: adjust
15781         * BufferView_pimpl.C: adjust
15782         * FontLoader.C: adjust
15783         * buffer.C: adjust
15784         * bufferview_funcs.C: adjust
15785         * converter.C: adjust
15786         * figureForm.C: adjust
15787         * importer.C: adjust
15788         * lyx_cb.C: adjust
15789         * lyx_gui_misc.C: adjust
15790         * lyxfunc.C: adjust
15791         * lyxvc.C: adjust
15792         * text2.C: adjust
15793         + more files in subdirs
15794
15795         * lyxparagraph.h (size): move up int file
15796         (GetLayout): ditto
15797
15798         * adjust all uses of Assert to lyx::Assert.
15799
15800         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15801         lyxfunctional in namespace lyx
15802         * layout.C (hasLayout): ditto
15803         (GetLayout): ditto
15804         (GetLayout): ditto
15805         (delete_layout): ditto
15806         (NumberOfClass): ditto
15807         * converter.C (GetFormat): ditto
15808         (GetNumber): ditto
15809         (Add): ditto
15810         (Delete): ditto
15811         (SetViewer): ditto
15812         * bufferlist.C (getFileNames): ditto
15813         (emergencyWriteAll): ditto
15814         (exists): ditto
15815         (getBuffer): ditto
15816         * MenuBackend.C (hasSubmenu): ditto
15817         (hasMenu): ditto
15818         (getMenu): ditto
15819         * BufferView_pimpl.C (getInsetByCode): ditto
15820
15821 2001-04-18  Juergen Vigna  <jug@sad.it>
15822
15823         * vspace.C (asLatexString): fixed the 100% problem.
15824
15825 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15826
15827         * lyxfunc.C (Dispatch):
15828         * minibuffer.C:
15829         * minibuffer.h: add a few std:: qualifiers
15830
15831 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15832
15833         * minibuffer.[Ch]: reimplement so that commands is initiated and
15834         run from lyxfunc, simplified som handling, and made the completion
15835         and history code for complete. wip.
15836
15837         * lyxfunc.C (processKeySym): call message
15838         (miniDispatch): new temporary method
15839         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15840         (LFUN_MESSAGE): implement
15841         (LFUN_MESSAGE_PUSH): implement
15842         (LFUN_MESSAGE_POP): implement
15843         (initMiniBuffer): the initial/defualt minibuffer message.
15844
15845         * lyxfont.[Ch]: inline some more getters
15846
15847         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15848
15849         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15850
15851         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15852         (AutoSave): use LFUN_MESSAGE
15853         (Reconfigure): ditto
15854
15855         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15856
15857         * figureForm.C: use LFUN_MESSAGE
15858
15859         * converter.C (runLaTeX): use LFUN_MESSAGE
15860
15861         * bufferview_funcs.C: use LFUN_MESSAGE
15862         (Melt): ditto
15863         (changeDepth): ditto
15864
15865         * bufferparams.h: use boost::
15866
15867         * bufferlist.h: inherit privately from noncopyable
15868
15869         * bufferlist.C (loadLyXFile): remove some commented code.
15870
15871         * buffer.C (runChktex): use LFUN_MESSAGE
15872
15873         * ShareContainer.h: inherit privately from noncopyable
15874
15875         * ParagraphParameters.[hC] (depth): inline it.
15876
15877         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15878         methods.
15879         (message): new method
15880         (messagePush): ditto
15881         (messagePop): ditto
15882         (show): init minibuffer
15883         (showState): direct call
15884
15885         * LaTeX.[Ch]: inherit privately from noncopyable
15886         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15887         instead of WriteStatus.
15888
15889         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15890
15891         * BufferView_pimpl.C (buffer): don't init minibuffer
15892         (workAreaButtonPress): use LFUN_MESSAGE
15893         (workAreaButtonRelease): ditto
15894         (savePosition): ditto
15895         (restorePosition): ditto
15896         (MenuInsertLyXFile): ditto
15897         (workAreaExpose): don't init minibuffer
15898         (update): remove commented code, simplify
15899
15900         * BufferView2.C (openStuff): use LFUN_MESSAGE
15901         (toggleFloat): ditto
15902         (menuUndo): ditto
15903         (menuRedo): ditto
15904         (copyEnvironment): ditto
15905         (pasteEnvironment): ditto
15906         (copy): ditto
15907         (cut): ditto
15908         (paste): ditto
15909         (gotoInset): ditto
15910         (updateInset): remove some commented code
15911
15912         * lastfiles.h: inherit privately from noncopyable
15913         * layout.h: ditto
15914         * lyx_gui.h: ditto
15915         * lyx_main.h: ditto
15916         * lyxlex.h: ditto
15917         * lyxlex_pimpl.h: ditto
15918
15919         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15920         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15921         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15922
15923         * LyXAction.h: inherit privately from noncopyable, add methods
15924         func_begin, func_end, returning iterators to the func map.
15925
15926         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15927         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15928         (func_begin): new method
15929         (func_end): new method
15930
15931         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15932         and not)
15933         (copySelection): ditto
15934         (pasteSelection): ditto
15935
15936         * BufferView.C: whitespace change
15937         * BufferView.h: inherit privately from noncopyable
15938
15939 2001-04-16  Allan Rae  <rae@lyx.org>
15940
15941         * tabular-old.C (l_getline):
15942         * spellchecker.C (sc_check_word):
15943         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15944         an unrecognised preprocessor directive.  So ensure they're wrapped.
15945
15946 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15947
15948         * src/exporter.C (Export): Give an error message when path to file
15949         contains spaces.
15950
15951 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15952
15953         * LaTeX.C (deplog): Always check that foundfile exists.
15954
15955 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * lyx_main.h:
15958         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15959
15960 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15961
15962         * tabular.[Ch] (getLabelList): implement new method
15963
15964         * minibuffer.h: comment ouf setTiimer
15965
15966         * minibuffer.C (ExecutingCB): constify res
15967         (peek_event): constify s
15968         (Set): constify ntext
15969         (Init): constify nicename
15970
15971         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15972
15973         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15974         (savePosition): use two params to Minibuffer::Set
15975         (restorePosition): ditto
15976
15977 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15978
15979         * lyx_main.C: include language.h
15980
15981         * Makefile.am (lyx_main.o): add language.h
15982
15983 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15984
15985         * exporter.C:
15986         * paragraph.C:
15987         * screen.C:
15988         * tabular.C:
15989         * CutAndPaste.C: include gettext.h
15990
15991         * lyxfont.h: remove old hack with ON and OFF.
15992
15993         * lyxparagraph.h:
15994         * lyxfont.h: do not include language.h...
15995
15996         * BufferView2.C:
15997         * LaTeXFeatures.C:
15998         * Painter.C:
15999         * bufferview_funcs.C:
16000         * font.C:
16001         * lyxfont.C:
16002         * text.C:
16003         * text2.C:
16004         * trans_mgr.C:
16005         * paragraph.C: ... but do it here instead
16006
16007 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16008
16009         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16010
16011         * tabular.C: small reformat
16012
16013         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16014         NEW_INSETS version
16015         (GetChar): ditto
16016         (BreakParagraph): ditto
16017         (SetOnlyLayout): ditto
16018         (SetLayout): ditto
16019
16020         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16021         with one arg less.
16022
16023         * lastfiles.C: removed most using decl, add std:: where needed
16024
16025         * buffer.C: ws changes
16026
16027         * MenuBackend.C (class compare_format): put into anon namespace
16028         (expand): constify label, names, action, action2
16029         (expand):
16030
16031         * text.C (SingleWidth): constify font
16032         (IsBoundary): constify rtl2
16033         (GetVisibleRow): constify ww
16034
16035         * LaTeX.C (deplog): constify logfile
16036
16037         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16038         start_x, end_x
16039         (workAreaExpose): constify widthChange, heightChange
16040
16041         * lyxrow.C (par): moved
16042         (height): moved
16043         (next): moved
16044         * lyxrow.h: as inlines here
16045
16046         * lyxfont.h (shape): moved from lyxfont.C
16047         (emph): moved from lyxfont.C
16048
16049         * lyxfont.C (LyXFont): use initialization list for all
16050         constructors
16051         (shape): move to lyxfont.h as inline
16052         (emph): move to lyxfont.h as inline
16053
16054
16055 2001-04-04  Juergen Vigna  <jug@sad.it>
16056
16057         * vspace.C: had to include stdio.h for use of sscanf
16058
16059 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16060
16061         * BufferView.h:
16062         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16063         independent of xforms.
16064
16065 2001-04-02  Juergen Vigna  <jug@sad.it>
16066
16067         * spellchecker.C: fixed namespace placing!
16068
16069 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16070
16071         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16072         the LyXParagraph * is 0.
16073
16074 2001-03-29  Juergen Vigna  <jug@sad.it>
16075
16076         * vspace.C: added support for %, c%, p%, l%.
16077         (stringFromUnit): added helper function.
16078         (asLatexString): changed to give right results for the %-values.
16079
16080         * buffer.C: convert the widthp in a width%.
16081
16082 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16083
16084         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16085         figureForm.[Ch].
16086
16087         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16088         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16089
16090         * lyx_cb.[Ch]: see above.
16091
16092         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16093         form1.[Ch].
16094
16095         * form1.[Ch]:
16096         * lyx.[Ch]: replaced by figure_form.[Ch].
16097
16098         * lyx_gui.C:
16099         * lyx_gui_misc.C:
16100         * lyxfunc.C: changed headers associated with above changes.
16101
16102 2001-03-27  Juergen Vigna  <jug@sad.it>
16103
16104         * BufferView_pimpl.C: set the temporary cursor right!
16105
16106 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16107
16108         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16109
16110 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16111
16112         * LString.h: removed "using std::getline"!
16113
16114         * BufferView_pimpl.C (Dispatch): changes due to changes in
16115         InsetInclude::Params.
16116
16117         * buffer.C (tag_name): removed redundant break statements as they were
16118         producing lots of warnings with my compiler.
16119
16120 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16121
16122         * LString.h: add "using std::getline" when using the real <string>.
16123
16124 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16125
16126         * buffer.C: removed bitset usage.
16127         PAR_TAG moved to an anonymous name space.
16128         (tag_name): new funtion, also in the anonymous namespace.
16129         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16130         (makeDocBookFile): clean code. Completed transition from string arrays
16131         to string vectors.
16132         (SimpleDocBookOnePar): code clean.
16133
16134 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16135
16136         * tabular.C: add some comments.
16137
16138 2001-03-22  Juergen Vigna  <jug@sad.it>
16139
16140         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16141         compatibility read a bit and fixed bug with minipage in different
16142         depth.
16143
16144 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16145
16146         * buffer.C (pop_tag): removed.
16147         (push_tag): removed.
16148         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16149         array replaced with vector. Added support for CDATA sections.
16150         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16151         at any nest level.
16152         (makeDocBookFile): XML conformant declaration of CDATA section,
16153         fixed bug related to <emphasis> in the first paragraph char.
16154         (sgmlOpenTag): exclude empty tags.
16155         (sgmlCloseTag): ditto.
16156
16157         * buffer.h (pop_tag): removed.
16158         (push_tag): removed.
16159
16160 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16161
16162         * language.h (Languages): added size_type and size().
16163
16164 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16165
16166         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16167         response on compability reading of minipages. One probliem is that
16168         the old usage of minipages was «flertydig»
16169
16170         * several files here and in subdirs: don't use static at file
16171         scope use anon namespaces instead.
16172
16173 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16174
16175         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16176         LaTeX output. This is necessary for Literate document
16177         processing.
16178
16179 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16180
16181         * buffer.C: insert hfill when needed.
16182
16183         * tabular.C (l_getline): use string::erase, small whitespace change.
16184
16185         * BufferView_pimpl.C: try the anon namespace.
16186         * WorkArea.C: ditto
16187
16188 2001-03-16  Juergen Vigna  <jug@sad.it>
16189
16190         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16191         otherwise it won't open options-dialogs.
16192
16193         * buffer.C: honor pextraWidth(p) on converting minipages.
16194
16195         * tabular.C (l_getline): changed the functions to strip trailing \r.
16196
16197 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16198
16199         * BufferView_pimpl.C:
16200         * minibuffer..C: added "using SigC::slot" declaration.
16201
16202 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16203
16204         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16205
16206         * text2.C: ditto
16207
16208         * text.C: ditto
16209
16210         * paragraph.C: ditto
16211
16212         * lyxtext.h: NO_PEXTRA
16213
16214         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16215
16216         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16217         * ParameterStruct.h: ditto
16218         * ParagraphParameters.h: ditto
16219         * lyxparagraph.h: ditto
16220
16221 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16222
16223         * buffer.C: add compability for minipage alignment.
16224         (latexParagraphs): remove unwanted pextra check.
16225
16226         * several files: remove CXX_WORKING_NAMESPACES
16227
16228         * buffer.C (pop_tag): tie is in namespace boost
16229
16230         * BufferView.h: noncopyable is in namespace boost
16231         * lyxlex.h: ditto
16232         * lyx_main.h: ditto
16233         * lyx_gui.h: ditto
16234         * layout.h: ditto
16235         * lastfiles.h: ditto
16236         * bufferlist.h: ditto
16237         * ShareContainer.h: ditto
16238         * LyXView.h: ditto
16239         * LyXAction.h: ditto
16240         * LaTeX.h: ditto
16241
16242 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16243
16244         * Merging changes from BRANCH_MVC back into HEAD.
16245
16246         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16247
16248 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16249
16250         * BufferView_pimpl.C: change from intl.C
16251
16252         * combox.h:
16253         * combox.C:
16254         * Makefile.am: move combox.*
16255
16256         * form1.h:
16257         * form1.C:
16258         * lyx_gui.C:
16259         * intl.h:
16260         * intl.C: remove dialog (covered by prefs)
16261
16262 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16263
16264         * lyxfunc.C (Dispatch): removed redundant break statement.
16265
16266 2001-03-14  Juergen Vigna  <jug@sad.it>
16267
16268         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16269
16270 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16271
16272         * buffer.C: add hack to fix compability reading of minipages.
16273
16274 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16275
16276         * buffer.C (getLists): Cleanup.
16277
16278 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16279
16280         * lyxfont.C (update): don't honor toggleall on font size.
16281
16282 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16283
16284         * bmtable.c:
16285         * bmtable.h:
16286         * Makefile.am: moved to frontends/xforms/
16287
16288         * lyx_gui_misc.C:
16289         * lyxfunc.C:
16290         * BufferView_pimpl.C: changes for moved mathpanel
16291
16292 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16293
16294         * gettext.h: fix gettext_init() in --disable-nls
16295
16296 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16297
16298         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16299
16300 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16301
16302         * lyx.C:
16303         * lyx.h: strip external form
16304
16305 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16306
16307         * BufferView_pimpl.C: add comment, destroySplash()
16308
16309 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16310
16311         * BufferView_pimpl.C:
16312         * LyXAction.C:
16313         * buffer.C:
16314         * commandtags.h:
16315         * lyxfunc.C: use re-worked insetinclude
16316
16317 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16318
16319         * buffer.C: add using std::stringstream.
16320
16321         * lyx_cb.C: readd using std::ios.
16322
16323         * buffer.C: add using std::map.
16324
16325         * BufferView_pimpl.C: add using std::vector.
16326
16327         * ShareContainer.h: add std:: to swap.
16328
16329         * buffer.h: add some typedefs
16330         * buffer.C (getLists): use them
16331         (getLists): renamed from getTocList.
16332         add a counter for the different float types and use it in the
16333         generated string.
16334         (getLists): use the same counter for the NEW_INSETS and the "non"
16335         NEW_INSETS
16336
16337         * lyx_cb.h: remove unused items, includes, using etc.
16338
16339         * ShareContainer.h: remove some commented code, add more comments
16340         and "documentation".
16341
16342 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16343
16344         * buffer.C (getTocList): make the list also when NEW_INSETS is
16345         defined.
16346
16347         * buffer.h: remove TocType
16348
16349         * buffer.C (getTocList): change to return a map<string,
16350         vector<TocItem> >, implement for dynamic number of list.
16351
16352         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16353         * text2.C (PasteSelection): adjust
16354         * CutAndPaste.C (pasteSelection): adjust
16355
16356         * FloatList.C (FloatList): update from the new_insets branch.
16357         * Floating.[Ch]: ditto
16358         * LaTeXFeatures.C: ditto
16359         * buffer.C: ditto
16360         * lyxlex_pimpl.C: ditto
16361
16362         * paragraph.C (Last): remove when NEW_INSETS is defined.
16363
16364         * other file: changes because of the above.
16365
16366 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16367
16368         * lyxparagraph.h: rename next to next_, previous to previous_,
16369         make them private for NEW_INSETS. Rename Next() to next(),
16370         Previous() to previous().
16371
16372         * other files: changes because of the above.
16373
16374 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16375
16376         * BufferView.h:
16377         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16378         problem.
16379
16380 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16381
16382         * main.C (main): pass lyx_localedir to gettext_init().
16383
16384         * gettext.h: remove locale_init and gettext_init macros
16385
16386         * gettext.C (locale_init): new function
16387         (gettext_init): new function
16388
16389         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16390         setlocale().
16391
16392 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16393
16394         * Moved credits to frontends:
16395         * credits.[Ch]: removed
16396         * credits_form.[Ch]: removed
16397         * lyx_gui_misc.C: remove credits stuff
16398         * Makefile.am:
16399
16400 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16401
16402         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16403
16404         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16405         unneeded destructor.
16406
16407         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16408         a standalone pointer again.
16409
16410         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16411
16412 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16413
16414         * Makefile.am:
16415         * filedlg.h:
16416         * filedlg.C:
16417         * LyXAction.C:
16418         * ToolbarDefaults.C:
16419         * bufferlist.C:
16420         * commandtags.h:
16421         * form1.C:
16422         * form1.h:
16423         * lyx_cb.C:
16424         * lyx_cb.h:
16425         * lyxfunc.h:
16426         * lyxfunc.C:
16427         * BufferView_pimpl.C: use new file dialog in GUII
16428
16429         * lyx_cb.h:
16430         * lyx_cb.C: remove LayoutsCB to Toolbar
16431
16432 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16433
16434         * ShareContainer.h (get): add std:: qualifier
16435
16436 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16437
16438         * ShareContainer.h: define a proper ShareContainer::value_type
16439         type (and use typename to please compaq cxx)
16440
16441 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16442
16443         * lyxparagraph.h: move serveral local vars to
16444         ParameterStruct/ParagraphParameters., use ShareContainer in
16445         FontTable., make vars in FontTable private and add getter and
16446         setter.
16447
16448         * paragraph.C: changes because of the above.
16449
16450         * lyxfont.h: remove copy constructor and copy assignment. (the
16451         default ones is ok), move number inside FontBits. move inlines to
16452         lyxfont.C
16453
16454         * lyxfont.C: add number to initializaton of statics, move several
16455         inlines here. constify several local vars. some whitespace
16456         cleanup. Dont hide outerscope variables.
16457
16458         * Spacing.h: add two new constructors to match the set methods.
16459
16460         * ShareContainer.h: new file, will perhaps be moved to support
16461
16462         * ParameterStruct.h: new file
16463
16464         * ParagraphParameters.h: new file
16465
16466         * ParagraphParameters.C: new file
16467
16468         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16469         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16470
16471         * BufferView_pimpl.C: ParagraphParameter changes.
16472         * buffer.C: Likewise.
16473         * bufferview_funcs.C: Likewise.
16474         * text.C: Likewise.
16475         * text2.C: Likewise.
16476
16477 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16478
16479         * lyxfind.C (LyXReplace): do not redefine default argument in
16480         implementation.
16481         (IsStringInText): ditto
16482         (SearchForward): ditto
16483         (SearchBackward): ditto
16484
16485 2001-03-06  Juergen Vigna  <jug@sad.it>
16486
16487         * lyxfind.C (IsStringInText): put parentes around expressions.
16488
16489 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16490
16491         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16492
16493 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16494
16495         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16496
16497         * stl_string_fwd.h: add comment
16498
16499         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16500
16501         * tabular.h:
16502         * tabular.C: remove unused DocBook methods
16503
16504         * intl.C:
16505         * language.C:
16506         * paragraph.C:
16507         * buffer.C:
16508         killed DO_USE_DEFAULT_LANGUAGE
16509
16510 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16511
16512         * lyx_gui.C: do not include language.h.
16513
16514         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16515         arguments in function implementation.
16516
16517 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16518
16519         * BufferView_pimpl.C: add <ctime>
16520
16521 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16522
16523         * BufferView_pimpl.C: add using std::find_if
16524
16525 2001-02-27  José Matos  <jamatos@fep.up.pt>
16526
16527         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16528         by OnlyPath.
16529
16530 2001-02-11  José Matos  <jamatos@fep.up.pt>
16531
16532         * buffer.C (makeDocBookFile): command styles now have a parameter as
16533         "title" by default.
16534
16535 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16536
16537         * layout_forms.[Ch]: removed
16538         * lyx_cb.[Ch]: out character
16539         * lyx_gui.C: out character
16540         * lyx_gui_misc.C: out character
16541         * bufferview_funcs.C: : out character,
16542         added toggleall as parameter in ToggleAndShow
16543
16544 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16545
16546         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16547
16548         * text2.C (SetCurrentFont): Disable number property at boundary.
16549
16550 2001-02-26  Juergen Vigna  <jug@sad.it>
16551
16552         * lyxfunc.C (getStatus): added a string argument override function so
16553         that this is correctly called from LyXFunc::Dispatch if it contains a
16554         do_not_use_argument which is used!
16555         (Dispatch): added check for "custom" export and call appropriate func.
16556
16557 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16558
16559         * lyxrc.C: Add language_command_local, language_use_babel and
16560         language_global_options.
16561
16562         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16563
16564         * buffer.C (makeLaTeXFile): Use language_use_babel and
16565         language_global_options.
16566
16567 2001-02-23  Juergen Vigna  <jug@sad.it>
16568
16569         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16570         which works with LyXText and putted it inside BufferView. Here now we
16571         only call for that part the BufferView::Dispatch() function.
16572
16573         * BufferView.C (Dispatch): added.
16574
16575         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16576         functions which needs to use a LyXText over from LyXFunc.
16577         (MenuInsertLyXFile): added
16578         (getInsetByCode): added
16579         (moveCursorUpdate): added
16580         (static TEXT): added
16581
16582 2001-02-22  Juergen Vigna  <jug@sad.it>
16583
16584         * BufferView_pimpl.C (update): call a status update to see if LyXText
16585         needs it.
16586
16587 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16588
16589         * vc-backend.C (revert): implement for CVS
16590         (getLog): implement for CVS
16591
16592 2001-02-20  Juergen Vigna  <jug@sad.it>
16593
16594         * text2.C (ClearSelection): added BufferView param for inset_owner call
16595
16596         * lyxfunc.C (TEXT): added this function and use it instead of
16597         directly owner->view()-text of getLyXText().
16598
16599 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16600
16601         * src/layout_forms.C: out preamble
16602         * src/layout_forms.h: out preamble
16603         * src/lyx_cb.C: out preamble
16604         * src/lyx_cb.h: out preamble
16605         * src/lyx_gui.C: out preamble
16606         * src/lyx_gui_misc.C: out preamble
16607         * src/lyxfunc.C: connect with guii preamble
16608
16609 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16610
16611         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16612
16613 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16614
16615         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16616         whether to run bibtex.
16617
16618 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16619
16620         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16621
16622 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16623
16624         * Makefile.am (lyx_SOURCES): removed bibforms.h
16625
16626         * vspace.h: doxygen
16627
16628         * text.C (GetVisibleRow): make several local vars const
16629
16630         * tabular.C: small cleanup.
16631
16632         * lyxserver.C (callback): use compare instead of strncmp
16633
16634         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16635         inlines to after class or to paragraph.C
16636
16637         * lyxfont.h: remove friend operator!=
16638
16639         * converter.h: move friend bool operator< to non friend and after
16640         class def.
16641
16642         * combox.h: small cleanup
16643
16644         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16645         to inlines after class def.
16646
16647         * buffer.C (pop_tag): use string operations instead of strcmp
16648
16649         * bmtable.c: doxygen, small cleanup
16650
16651         * LaTeX.h: remove friend operator==
16652
16653 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16654
16655         * screen.C:
16656         * lyxrc.[Ch]:
16657         * lyxfunc.C:
16658         * lyxfont.[Ch]:
16659         * lyx_cb.C:
16660         * intl.[Ch]:
16661         * commandtags.h:
16662         * buffer.C:
16663         * WorkArea.[Ch]:
16664         * LyXAction.C:
16665         * BufferView_pimpl.C:
16666         * BufferView.[Ch]: remove cruft
16667
16668 2001-02-14  Juergen Vigna  <jug@sad.it>
16669
16670         * lyxfunc.C: removed #if 0 unused code
16671
16672         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16673
16674         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16675
16676         * text2.C (SetSelection): added a BufferView * parameter
16677
16678 2001-02-13  Juergen Vigna  <jug@sad.it>
16679
16680         * lyxfunc.C (Dispatch): fixed protected blank problem.
16681         * BufferView2.C (protectedBlank): added LyxText * parameter.
16682
16683         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16684         (AppendColumn): same as above for column_info.
16685
16686         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16687         (moveCursorUpdate): use a LyXText param for support of InsetText.
16688
16689         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16690         (tripleClick): ditto
16691
16692         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16693
16694         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16695
16696         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16697
16698         * text2.C (SetSelection): set correct update status if inset_owner
16699         (ToggleFree): ditto
16700
16701 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16702
16703         * tabular.C: remove some commented code.
16704
16705 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16706
16707         * BufferView_pimpl.C: call hideSplash()
16708
16709         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16710
16711         * include_form.h:
16712         * bibforms.h: remove
16713
16714         * lyxfunc.C:
16715         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16716           add LFUN_CHILD_CREATE
16717
16718         * counters.h: fix tiny typo
16719
16720         * lyx_cb.C:
16721         * lyx.h:
16722         * lyx_gui.C:
16723         * lyx.C: move splash to frontends/xforms/
16724
16725         * lyx_gui_misc.C: move Include and Bibform to frontends
16726
16727         * lyxvc.h: clarify comment
16728
16729         * vspace.C: tiny housekeeping
16730
16731 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16732
16733         * text.C (PrepareToPrint): RTL Fix.
16734
16735         * paragraph.C (GetUChar): New method.
16736         (String):  Use GetUChar.
16737
16738         * buffer.C (asciiParagraph): Use GetUChar.
16739
16740 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16741
16742         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16743
16744 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16745
16746         * buffer.h:
16747         * buffer.C: rename to getLogName(), handle
16748           build log / latex log nicely
16749
16750 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16751
16752         * MenuBackend.C:
16753         * MenuBackend.h: remove support for reference menuitem type.
16754
16755 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16756
16757         * BufferView_pimpl.C: housekeeping
16758         * BufferView_pimpl.h:
16759         * LyXView.h:
16760         * Makefile.am:
16761         * Timeout.C:
16762         * Timeout.h:
16763         * minibuffer.h: move Timeout GUI-I
16764
16765 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16766
16767         * lyxrc.C (read): Update converters data-structures.
16768
16769 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16770
16771         * LaTeX.h (operator!=): add operator != for Aux_Info
16772
16773 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16774
16775         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16776
16777         * LaTeXLog.C: deleted, useful code moved to Buffer
16778
16779         * buffer.h:
16780         * buffer.C: new function getLatexLogName()
16781
16782         * lyx_gui_misc.C:
16783         * lyx_gui.C:
16784         * lyxvc.C:
16785         * lyxvc.h:
16786         * lyxfunc.C: use frontends for LaTeX and VC logs
16787
16788 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16789
16790         * LaTeX.h: yet another std:: that Allan forgot.
16791
16792         * Variables.C (set): renamed from isset(), because this clashes
16793         with some HP-UX macros (grr).
16794
16795 2001-02-06  Allan Rae  <rae@lyx.org>
16796
16797         * LaTeX.h: Another bug fix.  Missing std:: this time.
16798
16799 2001-02-04  Allan Rae  <rae@lyx.org>
16800
16801         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16802         floats problem. I've left it commented out because it's not quite
16803         correct.  It should also test that the current object is a table or
16804         figure inset.  But I haven't gotten around to figuring out how to do
16805         that.  I *think* it'll be something like: "table" == inset.type()
16806
16807         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16808         bool.
16809
16810 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16811
16812         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16813         all the citation/databases/styles in the auxilary file.
16814         (run): Rerun latex if there was a babel language error.
16815
16816 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16817
16818         * text.C (Backspace): Preserve the font when changing newline char
16819         with a space.
16820         (BreakParagraph): If the cursor is before a space, delete the space.
16821
16822         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16823
16824 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16825
16826         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16827         new argument (code).
16828         (ChangeCitationsIfUnique): New method.
16829
16830         * paragraph.C (GetPositionOfInset): Handle bibkey.
16831
16832 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16833
16834         * BufferView_pimpl.h: change type of Position::par_pos to
16835         LyXParagraph::size_type.
16836
16837 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16838
16839         * BufferView_pimpl.C (savePosition, restorePosition): Write
16840         messages to minibuffer.
16841
16842 2001-01-28  José Matos  <jamatos@fep.up.pt>
16843
16844         * buffer.C (makeDocBookFile): adds support for document language.
16845         A silly restriction on the name of LatexCommand types where removed.
16846         Added support for CDATA sections, allows to chars unescaped, used
16847         among others in code, to avoid escape < and >.
16848
16849 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16850
16851         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16852         saved positions instrad of a stack. Furthermore, a position is
16853         stored using paragraph id/paragraph position.
16854
16855         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16856         Remove LFUN_REF_BACK.
16857
16858 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16859
16860         * converter.C (dvipdfm_options): New method.
16861
16862 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16863
16864         * vspace.C (isValidLength): Fix for empty input string.
16865
16866 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16867
16868         * LyXAction.C (init): change description of LFUN_FIGURE to
16869         "Insert Graphics"
16870
16871 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16872
16873         * LaTeX.C: add using directive
16874
16875 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16876
16877         * MenuBackend.C (expand): Fix the sorting of the formats.
16878
16879 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16880
16881         * lyx_main.C: tiny error message fix
16882
16883 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16884
16885         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16886         calling fl_initialize(). This fixes the problem with ',' as
16887         decimal separator in text files.
16888
16889 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16890
16891         * trans.C (process): Fix the keymap bug.
16892
16893 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16894
16895         * LaTeX.C (scanAuxFiles): New method. Provides support for
16896         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16897         (scanLogFile) Scan for "run BibTeX" messages.
16898
16899         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16900         OT1 font encoding. Also, load the aecompl package if the ae
16901         package is loaded.
16902
16903         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16904
16905 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16906
16907         * texrow.C (increasePos): turn two error messages into debug
16908         messages.
16909
16910 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16911
16912         * LaTeX.C (scanAux): Handle the \@input macro.
16913         (runBibTeX): Use scanAux().
16914
16915         * language.C (latex_options_): New field.
16916
16917         * LaTeXFeatures.C (getMacros): Add language macros.
16918
16919         * buffer.C (makeLaTeXFile): Small fix.
16920
16921 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16922
16923         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16924
16925         * text2.C: add a using directive.
16926
16927 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16928
16929         * BufferView2.C:
16930         * lyx_gui_misc.h:
16931         * lyxfr1.C:
16932         * lyxfunc.C: kill LyXBell.
16933
16934 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16935
16936         * text.C (IsBoundary): Remove the error message
16937
16938         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16939
16940         * lyxrc.C (setDefaults): Correct initialization value for
16941         font_norm_type.
16942
16943 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16944
16945         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16946         gotoError().
16947
16948         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16949         and GotoNextNote().
16950
16951         * src/LyXAction.C: Added reference-next.
16952
16953         * text.C (InsertChar): Use contains instead of strchr.
16954
16955         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16956
16957 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16958
16959         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16960         alignment commands (when needed).
16961
16962         * text.C (InsertChar): Add ':' to number separator chars.