]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Protect '#warning ...' with '#ifdef WITH_WARNINGS' guard.
[lyx.git] / src / ChangeLog
1 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
4         
5         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
6
7 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
8
9         * lyxlayout.[Ch]: change some vars from float to double
10
11         * buffer.C (readFile): make a local var const
12
13         * Several files: use convert<> instead of atoi,strToXXX and friends
14
15 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
16
17         * LaTeXFeatures.[Ch]: Add a static list packages_ that
18         holds the contens of packages.lst. New functions getAvailable
19         and isAvailable to parse and check that list, resp.
20
21         * LyXAction.C:
22         * lfuns.h:
23         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
24
25         * bufferparams.[Ch]: new param output_changes.
26
27         * Buffer.C: increase file format to 240.
28         Use output_changes and isVailable.
29
30         * changes.[Ch]:
31         * paragraph.C:
32         * paragraph_pimpl.C: Use output_changes and isVailable.
33
34 2005-01-23  Angus Leeming  <leeming@lyx.org>
35
36         * output_latex.C: #include "insetbibitem.h", rather than
37         forward declare function bibitemWidest.
38
39 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
40
41         * lyx_main.C (init): make it compile on the Mac.
42
43 2005-01-20  Angus Leeming  <leeming@lyx.org>
44
45         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
46         (setLyXMisc): (char string literal) != (char string literal) is
47         performing a comparison on the addresses. Convert one operand
48         explicitly to string to guarantee expected behaviour.
49         From MSVC warning.
50
51 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
52
53         * buffer.C:
54         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
55
56         * output_plaintext.C: remove unneeded #include gzstream.h.
57
58 2005-01-20  Angus Leeming  <leeming@lyx.org>
59
60         * SpellBase.h: rename some of the elements of the Result enum.
61
62         * aspell_local.h:
63         * ispell.h:
64         * pspell.h:
65         * aspell.C (check):
66         * ispell.C (check):
67         * pspell.C (check): ditto
68
69 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
70
71         * buffer.C: add #include <fstream>.
72
73         * lyx_main.C (init): Compile fix.
74
75         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
76
77 2005-01-20  Angus Leeming  <leeming@lyx.org>
78
79         * mover.h: change commentary to reflect the changed meaning of
80         the $$s placeholder.
81
82 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * output_linuxdoc.C (linuxdocParagraphs): silence warning
85
86         * lyxfind.C (MatchString::operator()): remove bogus semicolon
87
88 2005-01-20  Angus Leeming  <leeming@lyx.org>
89
90         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
91         printing diagnostic data by not dereferecing an iterator past the
92         end.
93
94 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
95
96         * buffer.C (readHeader): use "&&" rather than "and".
97
98         * lyxserver.h (inPipeName, outPipeName): make these const.
99
100 2005-01-19  Angus Leeming  <leeming@lyx.org>
101
102         * lyx_main.C (error_handler, init): protect SIGHUP with
103         #ifdef SIGHUP guards.
104
105 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
108
109 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
110
111         * text.C (setHeightOfRow): add a margin at the top and bottom of
112         the document (bug 1761)
113
114 2005-01-17  Angus Leeming  <leeming@lyx.org>
115
116         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
117         with "python ". Workaround for a brain-dead Windows.
118
119 2005-01-16  Angus Leeming  <leeming@lyx.org>
120
121         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
122         for MacOSX and Windows to use prependEnvPath.
123         Strip out the hard-coded block to add elements to the PATH for
124         MacOSX and replace it with a call to prependEnvPath using the
125         contents of LyXRC::path_prefix.
126         (queryUserLyXDir): strip out the code to run reconfigure, instead
127         returning a boolean indicating the necessity to do so.
128         (reconfigureUserLyXDir): contains the code to reconfigure the
129         user support directory. Is now called after the various LyXRC data
130         files have been read.
131
132         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
133
134 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
135
136         * converter.[Ch] (convert): take a new parameter try_default. Use
137         a default converter (imagemagick) if try_default is true.
138
139 2005-01-13  Angus Leeming  <leeming@lyx.org>
140
141         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
142         os::cygwin_path_fix.
143         (write): output LyXRC::cygwin_path_fix as necessary.
144
145 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
146
147         * lyxrc.h:
148         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
149
150 2005-01-12  Angus Leeming  <leeming@lyx.org>
151
152         * lyx_main.C (init): set the PATH variable to include the
153         directory containing the LyX binary when running on Mac or Windows.
154
155 2005-01-12  Angus Leeming  <leeming@lyx.org>
156
157         * lyx_main.C (init): remove cruft that purports to set the locale
158         dir. It doesn't and is not needed anyway.
159
160 2005-01-10  Angus Leeming  <leeming@lyx.org>
161
162         * Makefile.am: remove the lyx_main.C special casing.
163
164         * BufferView_pimpl.C:
165         * bufferlist.C:
166         * exporter.C:
167         * lyx_cb.C:
168         * lyx_main.C:
169         * lyxfunc.C:
170         * messages.C: use support/package.h to provide the paths to the
171         various directories used by LyX.
172
173 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
176         layout if pasting into an empty paragraph)
177
178 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
179
180         * tex-accent.C: add <string>
181
182 2005-01-06  José Matos  <jamatos@lyx.org>
183
184         * ParagraphParameters.C (write): put every parameter in its own line.
185         * paragraph.C (write): reduce number of consecutive empty lines exported.
186         * buffer.C (LYX_FORMAT): increase file format to 239.
187
188 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
189
190         * everywhere: change support/tostr.h -> support/convert.h
191
192         * tabular.C: make all write_attributes templates, tostr -> convert
193
194         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
195         (emptyTag): and -> &&, and fix type for ret from getChar
196         (getFirstWord): fix type for ret from getChar
197         (onlyText): and -> &&
198         (simpleDocBookOnePar): and not -> && !, fix type for ret from
199         getChar
200
201         * toc.C (goTo, action):
202         * text3.C (dispatch):
203         * text.C (currentState):
204         * tex-accent.C (DoAccent):
205         * sgml.C:
206         * lyxrc.C:
207         * lyxfunc.C (menuNew):
208         * lyxfinc.C (replace):
209         * counters.C (laberItem):
210         * bufferview_funcs.C (font2string):
211         * bufferparams.C (writeFile):
212         * buffer.C (readFile):
213         * Spacing.C (set):
214         * MenuBackend.C: tostr -> convert
215
216         * LaTeX.C (runMessage): fix format
217         (scanAuxFiles): tostr -> convert
218
219         * BufferView_pimpl.C (savePosition): fix format
220         (restorePosition): ditto
221         (dispatch): ditto
222
223 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
224
225         * Spacing.[Ch]: New method getValueAsString().
226
227         * Spacing.[Ch]:
228         * bufferparams.C:
229         * ParagraphParameters.C:
230         * lyxlayout.C:
231         * text.C:
232         * text3.C: store/read spacing value as string.
233
234         * rowpainter.C: change float value (spacing_val) to double.
235
236         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
237         broken custom document spacing).
238
239 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
240
241         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
242         namespace, also more use of temp references and const
243
244         * cursor.[Ch] (getStatus): move to lyxfunc.C
245
246         * bufferparams.C: reformat slightly
247
248         * bufferview_funcs.C (font2string): constify arg
249
250         * changes.C:
251         * converter.C:
252         * counters.C:
253         * bufferlist.C:
254         * buffer_funcs.C: (many funcs): constify arg on function
255         definitions, also make more local vars const, also add ASSERTS on
256         pointer args.
257
258         * buffer.C (LYX_FORMAT): put const in correct place
259         (many funcs): constify arg on function definitions, also make
260         more local vars const
261
262         * aspell_local.h: remove "struct" from typdef setup
263
264         * aspell.C (check): make word_ok const
265         (nextMiss): simplify slightly
266         (error): ditto
267
268 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
269
270         * lyxrc.[Ch]: store all float values as strings.
271         use int (not float) for lyxrc.dpi.
272
273 2005-01-04  Angus Leeming  <leeming@lyx.org>
274
275         * lyx_cb.C (Reconfigure):
276         * lyx_main.C (queryUserLyXDir):
277         to run the <system_lyxdir>/configure correctly on Windows, prefix
278         the path to the script with "sh " when generating the string that
279         is passed to system().
280
281 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
282
283         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
284
285 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * lyxlength.C (asLatexString): get rid of setprecision
288
289 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * text2.C (setLayout): remove unused variable endpit.
292         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
293
294         * paragraph.C (onlyText): remove unused variable style.
295
296         * cursor.C (bruteFind): remove unused variables beg and end.
297
298         * Makefile.am (dist_noinset_DATA): not needed anymore
299
300         * cheaders/*: remove.
301
302 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
303
304         * text3.C: fix LFUN_MATH_MODE.
305
306 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * buffer_funcs.C (countWords): new function. Counts words between
309         two iterators.
310
311         * BufferView_pimpl.C (getStatus, dispatch): handle
312         LFUN_WORDS_COUNT.
313
314         * LyXAction.C (init):
315         * lfuns.h: add LFUN_WORDS_COUNT.
316
317 2004-12-19  Angus Leeming  <leeming@lyx.org>
318
319         * buffer.C (save): s/slashify_path/internal_path/.
320
321 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
322
323         * lyxfind.C (findChange): do not search for end of pars, because
324         the change tracker cannot handle this (fixes bug 1719).
325
326 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
327
328         * paragraph.[Ch] (autoBreakRows): remove
329
330         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
331
332         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
333         avoid using the paragraph one
334
335         * text2.C (LyXText, insertStringAsLines): adjust
336
337 2004-12-16  Angus Leeming  <leeming@lyx.org>
338
339         * bufferlist.C:
340         * lyx_main.C:
341         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
342
343 2004-12-14  Angus Leeming  <leeming@lyx.org>
344
345         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
346
347         * bufferlist.C (emergencyWrite):
348         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
349         GetEnvPath("HOME").
350
351 2004-12-14  Angus Leeming  <leeming@lyx.org>
352
353         * main.C: (main): no longer pass pointers to os::init.
354
355 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
356
357         * undo.C (textUndoOrRedo): simplify logic, fix a crash
358         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
359
360 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
361
362         * lyxfunc.C:
363         * text3.C: remove selection_possible global flag
364
365 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
366
367         * text2.C (getSelectionSpan): remove
368         (changeDepth, changeDepthAllowed): adjust
369
370 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
371
372         * Makefile.am (BOOST_LIBS): use boost variables
373
374 2004-12-03  José Matos  <jamatos@lyx.org>
375
376         * buffer.C: format up to 238.
377
378 2004-12-03  José Matos  <jamatos@lyx.org>
379
380         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
381
382 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
383
384         * cursor.C (goUpDown): remove call to idxUpDown2
385
386 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
387
388         * tabular.[Ch]: use size_t-like types for cell, row and column
389         indices
390
391 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * lyxfunc.C (getStatus): do not lose previous information when
394         calling BufferView::getStatus; do not set a default "Command
395         disabled" message at the beginning, but just before returning.
396
397 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
398
399         * cursor.h (getStatus): add better comment from src/cursor.C
400
401 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * text3.C (getStatus): return false when the lfun is not handled
404
405 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * broken_headers.h: remove
408
409         * Makefile.am (lyx_SOURCES): remove broken_headers.h
410
411 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
412
413         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
414         offset_ref accessors
415
416         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
417         top_y_, merge fitcursor with update
418         (updateScrollbar, scrollDocView, fitCursor, center, update): new
419         coord scheme
420         (metrics): introduce
421         (workAreaDispatch): adapt to new coord scheme
422         (redoCurrentBuffer): remove
423
424         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
425
426         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
427         CurStatus enum.
428
429         * coordcache.[Ch]: add paragraph cache and helpers
430
431         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
432         adjust everywhere
433
434         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
435         (targetX, setTargetX): introduce
436
437         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
438         baseline -> ascent, as the rest of lyx
439
440         * lyxtext.h: remove redoParagraphs, updateParPositions,
441         fullRebreak, redoParagraphInternal. move dist to anon namespace in
442         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
443         have ascent/descent (ascent is ascent of first par)
444
445         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
446         step of BufferView
447
448         * paragraph.[Ch]: unify dimension handling with the rest of lyx
449
450         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
451
452         * pariterator.C: fix infinite loop introduced in par->pit renaming
453
454         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
455         in insets and LyXText, draw two off-screen paragraphs using
456         NullPainter, and adapt to new coord scheme
457
458         * text.C:
459         * text2.C:
460         * text3.C: adapt lfun handlers to the new coord scheme, which
461         means: there's only guaranteed coord information for onscreen pars
462         plus one above and one below. This implies that one can do search
463         from y coordinates in the range [-1,workHeight]
464
465 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
466
467         * rename a lot of InsetOld to InsetBase
468
469 2004-11-25  Angus Leeming  <leeming@lyx.org>
470
471         * BufferView_pimpl.C:
472         * lyx_cb.C:
473         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
474
475 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
478         call BufferView::getStatus if LCursor::getStatus did nothing
479         (setStatusMessage, getStatusMessage): removed.
480
481         * FuncStatus.C (message): new methods. Used to provide an error
482         message indicating why a command is disabled.
483         (clear, |=, FuncStatus): update for message.
484
485 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
486
487         * lyxfunc.C (dispatch): always call sendDispatchMessage
488
489 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
490
491         * BufferView.C:
492         * BufferView_pimpl.C:
493         * CutAndPaste.C:
494         * FontIterator.C:
495         * buffer.C:
496         * cursor.C:
497         * cursor_slice.[Ch]:
498         * dociterator.[Ch]:
499         * lyxfind.C:
500         * paragraph_funcs.C:
501         * pariterator.C:
502         * rowpainter.C:
503         * text.C:
504         * text2.C:
505         * text3.C:
506         * undo.C: par->pit renaming
507
508 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
509
510         * tabular.C (cellstruct): use initialization, store a shared_ptr
511         to insettext instead of the insettext directly, adjust to fit.
512         (operator=):  new function
513         (swap): new function
514         (rowstruct): use initialization
515         (columnstruct): use initialization
516         (ltType): use initialization
517
518
519         * lyxlength.h (swap): new function
520
521         * LColor.[Ch] (operator=): use the common semantics
522
523 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * lyxfind.C (findNextChange): update the bufferview after setting
526         the selection.
527
528 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
531         number of InsetOptArgs has already been inserted.
532
533         * output_latex.C (latexOptArgInsets): new method. This outputs all
534         the optarg insets, up to the limit defined in the layout file.
535         (optArgInset): removed
536         (TeXOnePar): call latexOptArgInsets; correctly update texrow
537
538 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * paragraph.C (isLetter): remove special spellchecker-related
541         code; return true also for digits
542         (isWord, isKomma): remove
543
544         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
545         * lyxfind.C (MatchString()): use isLetter instead of isWord
546
547 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
548
549         * pariterator.h (operatir=): comment out un-implemented member
550         function.
551
552         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
553         static cast.
554
555 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
556
557         * lyxfont.h: include LColor.h to satisfy concept checks.
558
559 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
560
561         * pariterator.h: add typdefs for value_type, difference_type,
562         pointer and reference to satisfy concept checks. Also add default
563         constructor for same reason.
564
565         * pariterator.C (operator++): add post-increment operator to
566         satisfy concept checks.
567
568         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
569         checks.
570
571         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
572
573         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
574         checks. Also rename base_type to BaseType to follow naming
575         standard better.
576
577         * FloatList.h: include Floating.h to satisfy concept checks.
578
579 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
580
581         * lyxfunc.C (getStatus): when the origin of the request is menu or
582         toolbar, and the LyXView does not have focus, do as if there was
583         no buffer (bug 1720)
584
585         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
586         FuncRequest to individual entries of LFUN_SEQUENCE
587
588 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
589
590         * output_latex.C (TeXOnePar): override runparams.moving_arg
591         according to the needprotect value of the current paragraph (bug
592         1739)
593
594         * paragraph.C (simpleTeXOnePar): no need to override
595         runparams.moving_args here
596
597 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
598
599         * vspace.C: fix off-by-one-error, related to fix #1682
600
601 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
602
603         * lengthcommon.C: a more general fix for bug 1682
604
605 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
606
607         * text.C (backspace): fix crash
608
609 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
610
611         * format.[Ch] (getFormatFromFile): new method
612         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
613
614 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
617
618 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         * lyxfunc.C (dispatch): remove the verbose argument
621         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
622         instead
623
624         * kbmap.C (defkey): set the origin of func to KEYBOARD
625
626         * MenuBackend.C (MenuItem):
627         * ToolbarBackend.C (add): set the origin of func to UI
628
629         * funcrequest.[Ch]: add origin member, which indicates which part
630         of LyX requests an action
631
632 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
633
634         * converter.C (move): don't lie in the error message
635         * converter.h (isReachable, move): document
636
637 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
638
639         * buffer.C: remove unused using lyx::support::atoi
640         * paragraph_funcs.C: ditto
641
642 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
643
644         * bufferlist.C (exists): use bind and equal_to instead of
645         compare_memfun
646         (getBuffer): ditto
647         * lyxtextclasslist.C (NumberOfClass): ditto
648
649         * cursor.C (insert): use for_each instead of explicit for loop
650
651         * bufferlist.C (getFileNames): use std::transform and
652         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
653
654         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
655         for loop
656
657         * buffer.C (changeLanguage): use for_each instead of explicit for
658         loop
659         (hasParWithID): implement using getParFromID
660
661         * LaTeXFeatures.C: ws change only
662
663         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
664         to cleanup a bit.
665
666         * BufferView_pimpl.C (trackChanges): use for_each instead of
667         expilicit for loop
668
669 2004-11-04  André Pönitz  <poenitz@gmx.net>
670
671         * undo.h:
672         * undo.C (textUndoOrRedo): fix crash when creating undo information.
673
674         * dociterator.C (asDocIterator): use hard assert again.
675
676 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         * lyxlength.C (asLatexString): rewrite so that it does not use
679         snprintf anymore
680
681 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * text3.C (specialChar, dispatch): make sure cursor moves to the
684         right after inserting an inset
685
686 2004-11-02  José Matos  <jamatos@lyx.org>
687
688         * output_docbook.C (docbook):
689         * paragraph.C (getID):
690         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
691         garantee that the output is always legal.
692
693         * tabular.C (docbook):
694         * outputprams.[Ch]: remove mixed contents.
695
696 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
697
698         * text2.C (setCounter): prevent endless loop
699
700 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
701
702         * exporter.C (copyFile): use the mover instead of support::copy()
703         * exporter.C (Export): pass format and latex name to copyFile()
704         * exporter.h (addExternalFile): document
705         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
706
707 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
708
709         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
710
711 2004-10-30  José Matos  <jamatos@lyx.org>
712
713         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
714         text and no inset or font change. This allows to use CDATA
715         sections just for the whole paragraph.
716
717 2004-10-30  José Matos  <jamatos@lyx.org>
718
719         * paragraph.C (getFirstWord): remove unused variable.
720
721 2004-10-30  José Matos  <jamatos@lyx.org>
722
723         * paragraph.C (getFirstWord): the content should always be escaped
724         there.
725         (simpleDocBookOnePar):
726         * output_docbook.C (makeEnvironment): replace reference to CDATA
727         to style pass_thru.
728
729 2004-10-30  José Matos  <jamatos@lyx.org>
730
731         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
732
733 2004-10-30  José Matos  <jamatos@lyx.org>
734
735         * output_docbook.C (makeParagraphs):
736         * paragraph.[Ch] (emptyTag): for docbook and company, if the
737         standard paragraph has only a given type of content drop the wrapper.
738
739 2004-10-29  José Matos  <jamatos@lyx.org>
740
741         * output_docbook.C (makeEnvironment):
742         * sgml.C (openTag):
743         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
744
745 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
746
747         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
748         (cleanID): sanitize any id.
749
750 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
751
752         * buffer.C, lyxlex_pimpl.C:
753         * lyxlex_pimpl.C (setFile):
754         s/getExtFromContents/getFormatFromContents/
755
756 2004-10-28  José Matos  <jamatos@lyx.org>
757
758         * output_docbook.C (makeEnvironment): move id to broadest possible
759         scope.
760
761         * sgml.C (openTag): apply substitution of <> for all attributes.
762
763 2004-10-28  José Matos  <jamatos@lyx.org>
764
765         * buffer.C (makeLinuxDocFile, makeDocBookFile):
766         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
767         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
768
769         * sgml.[Ch]: new version for open and closeTag for paragraph and
770         for strings. Now they handle the ids of paragraphs.
771
772 2004-10-26  Angus Leeming  <leeming@lyx.org>
773
774         * Makefile.am: add mover.[Ch].
775
776         * converter.C (convert, move): use the new Movers to move external
777         files to the temp directory.
778
779         * lyx_main.C (init): ensure that the global system_movers data
780         is initialised.
781
782         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
783         preferences file.
784
785         * mover.[Ch]: new files, defining a Mover as a utility to move an
786         external file between directories and, if necessary, manipulate this
787         file using a helper script.
788
789 2004-10-25  José Matos  <jamatos@lyx.org>
790
791         * output_docbook.C (makeCommand): merge two if's that tested the
792         same condition.
793
794 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * sgml.C (escapeString): fix warning in a better way
797
798 2004-10-25  José Matos  <jamatos@lyx.org>
799
800         * sgml.C (escapeString): import the require boosts header file for
801         tie, and avoid a signed unsigned comparison.
802
803 2004-10-25  José Matos  <jamatos@lyx.org>
804
805         * sgml.h: add #include <string>
806
807 2004-10-25  José Matos  <jamatos@lyx.org>
808
809         * sgml.[Ch] (escapeString): new function to escape all the string.
810
811 2004-10-24  José Matos  <jamatos@lyx.org>
812
813         * paragraph.[Ch] (getFirstWord): new function to get the first
814         word. Useful for description.
815         (simpleDocBookOnePar): remove depth argument, add another that
816         says where to start the paragraph.
817
818         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
819         use the new functions to fix cleanly the support for descriptions.
820
821 2004-10-24  José Matos  <jamatos@lyx.org>
822
823         * buffer.C (makeLinuxDocFile, makeDocBookFile):
824         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
825         * output_linuxdoc.C (linuxdocParagraphs):
826         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
827         add buffer as argument.
828
829 2004-10-24  José Matos  <jamatos@lyx.org>
830
831         * output_docbook.C (makeEnvironment, searchEnvironment): place
832         CDATA inside paragraphs and fix scope for listitems.
833
834 2004-10-24  José Matos  <jamatos@lyx.org>
835
836         * output_docbook.C: remove using statement for stack.
837
838 2004-10-23  José Matos  <jamatos@lyx.org>
839
840         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
841         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
842         docbook. The new scheme is recursive and makes use of iterators, the
843         same as latex export works.
844         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
845         directly with the paragraph contents. This code was moved up to
846         output_docbook.C (docbookParagraphs).
847         * sgml.C (openTag, closeTag): removed unneeded newlines.
848         (closeEnvTags) removed.
849
850 2004-10-23  André Pönitz  <poenitz@gmx.net>
851
852         * undo.C (textUndoOrRedo):
853         * dociterator.C (asDocIterator): work around crash
854
855         * cursor.C (getStatus): replace ASSERT by more verbose error message
856           and manual correction of the problem. Should increase stability
857           while providing more sensible information.
858
859 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
860
861         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
862
863         * bufferlist.C (previous, next): new methods
864
865         * lfuns.h:
866         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
867
868 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
869
870         * buffer.C (makeDocBookFile): add dsssl stylesheet control
871         entities to preamble.
872
873 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
874
875         * messages.C (Pimpl): strip off translation context information
876
877 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
878
879         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
880         the cursor is correct (bug 1694)
881
882 2004-10-13  José Matos  <jamatos@lyx.org>
883
884         * output_docbook.C (docbookParagraphs): fix closing tags in the
885         end of the document.
886
887 2004-10-09  José Matos  <jamatos@lyx.org>
888
889         * buffer.C: format up to 237.
890         * bufferparams.C (write): use tostr to convert booleans to strings.
891
892 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
893
894         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
895
896 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
897
898         * LaTeX.C: implement use of babel language in xindy.
899
900 2004-10-05  José Matos  <jamatos@lyx.org>
901
902         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
903         Add new translators to help reading and writing the lyx file.
904
905 2004-10-05  José Matos  <jamatos@lyx.org>
906
907         * ParagraphParameters.C (read):
908         * text.C (readParToken): replace nexToken by more appropriate lex
909         methods.
910
911 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
912
913         * LaTeX.C (runMakeIndex):
914         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
915         (usually 'makeindex') configurable.
916
917         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
918         with a variable rather than with a number.
919
920 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
921
922         * output_latex.C (TeXOnePar): make sure font setting is the first
923         thing that gets output (and the last at the end). Should fix bug
924         1404.
925
926 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * pch.h: use proper signal include
929
930         * LaTeX.h: Use preferred calling of Boost.Signal
931         * buffer.h: ditto
932
933 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
934
935         * pch.h: dont include <boost/function/function0.hpp>
936
937         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
938
939         * paragraph_pimpl.h: remove usage of ShareContainer
940
941         * paragraph_pimpl.C: remove initialization of ShareContainer.
942
943 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         Fix bug #1666
946
947         * BufferView.C (putSelectionAt): change the semantics when
948         backwards == true: now, this just swaps cursor and anchor wrt the
949         forward case
950
951         * BufferView.h (putSelectionAt): add some documentation
952
953         * lyxfind.C (findBackwards): rewrite using while(). In particular,
954         make sure backwardChar is done at least once (to avoid getting
955         stuck)
956         (findNextChange): use putSelectionAt in the forward direction
957         (operator()): use Paragraph::isWord
958
959 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
960
961         * Spacing.C (set): c_str fix
962
963 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * lyx_cb.C (Reconfigure): quote the name of configure script in
966         case it contains spaces
967
968 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
969
970         * client: new dir
971
972         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
973         (BOOST_LIBS): use top_buildir when looking for the file
974
975 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
976
977         * pch.h: do not use include boost/format.hpp, multiple symbols
978                 will result (gcc bug)
979
980
981 2004-08-23  José Matos  <jamatos@lyx.org>
982
983         * bufferparams.C (readToken): fix reading of the author field.
984
985 2004-08-20  José Matos  <jamatos@lyx.org>
986
987         * lyxrc.C: remove support/translator.h inclusion since it is not used.
988
989 2004-08-20  José Matos  <jamatos@lyx.org>
990
991         * lyxlex.[Ch] (findToken): remove function.
992
993         * ParagraphParameters.C (findToken):
994         * bufferparams.C (findToken): replace call for previous function
995         with local copy. This local function has one more argument, the
996         read string argument.
997
998 2004-08-16  José Matos  <jamatos@lyx.org>
999
1000         * ParagraphParameters.C (write):
1001         * Spacing.C (writeFile):
1002         * bufferparams.C (writeLaTeX):
1003         * lyx_cb.C (Reconfigure):
1004         * paragraph.C (write):
1005         * tabular.C (write): remove unnecessary space at end of line.
1006
1007
1008 2004-08-16  José Matos  <jamatos@lyx.org>
1009
1010         * text.C (readParagraph): remove debug message.
1011
1012 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1015         crash
1016
1017         * output_plaintext.C (asciiParagraph): set depth correctly
1018
1019         * outputparams.h: add member depth
1020
1021         * paragraph_funcs.C (ownerPar): remove.
1022
1023         * text2.C (setCounter): remove first_pit; comment out some
1024         non-working code that uses ownerPar
1025
1026         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1027         uses ownerPar
1028
1029 2004-08-16  José Matos  <jamatos@lyx.org>
1030
1031         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1032         For the same level of importance use the same chanel to report problems.
1033         (read): add code to deal with \begin_body and \end_body.
1034
1035
1036 2004-08-15  José Matos  <jamatos@lyx.org>
1037
1038         * lyxlex.C (getString): fix comment, buffer::readBody is now
1039         buffer:readDocument.
1040
1041         * tex-strings.C (string_papersize): Default -> default,
1042         Custom -> custom, for consistency with other options.
1043
1044 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1045
1046         * pch.h: new file
1047
1048         * Makefile.am: support pch
1049
1050 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * text.C (readParToken): remove the static LyXFont variable and
1053         pass it as a parameter instead. This fixes a nasty bug where an
1054         inset will be inserted with a bad font in some situations
1055         (readParagraph): adapt
1056
1057         * text2.C (setCounter): reduce number of calls to pars_[pit]
1058
1059         * text.C (singleWidth): add an assert, fix a test
1060
1061         * rowpainter.C (paintText): reduce number of calls to singleWidth
1062
1063         * paragraph.C (isHfill):
1064         (isNewline): ws only
1065
1066 2004-08-14  André Pönitz  <poenitz@gmx.net>
1067
1068         * text.C:
1069         * text2.C:
1070         * rowpainter.C:
1071         * lyxtext.h (several functions): use a Paragraph & argument
1072         instead of par_type
1073
1074 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1075
1076         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1077
1078         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1079
1080         * text.C (singleWidth): remove useless test
1081
1082 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1083
1084         * tabular.h: remove bogus comments
1085
1086         * tabular.C (getDescentOfRow):
1087         (isPartOfMultiColumn): add assertions
1088
1089         * lyxlength.C (inPixels): remove #warning
1090
1091 2004-08-14  André Pönitz  <poenitz@gmx.net>
1092
1093         * paragraph.h: inline getChar()
1094
1095         * BufferView.h: remove unused declarations
1096
1097 2004-08-14  José Matos  <jamatos@lyx.org>
1098
1099         * Buffer.[Ch] (readDocument): new name for old readBody.
1100         * Buffer.C: new file format, new keywords: \begin_document,
1101         \begin_header, \begin_body, \end_body.
1102
1103         * bufferparams.C (readToken): replace all calls to lex.nextToken
1104         by lex.next(). Do the same to eatLine except where really needed.
1105
1106         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1107         line when writing to the lyx file.
1108
1109         * output_plaintext.C (asciiParagraph): fix Bibliography style
1110         handling.
1111
1112         * text.C (read): fix end of file handling.
1113
1114 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1115
1116         * MenuBackend.C (Menu::operator[]): new method to access
1117         individual menu items
1118         (Menu::hasFunc): new method. search for an item that corresponds
1119         to a given func
1120         (MenuBackend::specialMenu): new method
1121         (MenuBackend::expand): if a special menu has been set, skip
1122         entries whose func() appears in this menu
1123
1124 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1125
1126         * text3.C: use Debug::DEBUG a bit more
1127
1128         * text.C (leftMargin): try to simplify a tiny bit change var x to
1129         l_margin. Dont output the wide margins always.
1130         (rightMargin): no margin in inner texts
1131
1132         * rowpainter.h (nestMargin): new func
1133         (changebarMargin): new func
1134         (rightMargin): new func
1135
1136         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1137         now functions.
1138         (paintLast): ditto
1139
1140         * factory.C (createInset): modify setDrawFrame
1141
1142         * cursor.C: use Debug::DEBUG a bit more
1143
1144 2004-08-14  André Pönitz  <poenitz@gmx.net>
1145
1146         * coordcache.[Ch]:
1147         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1148         cache for all insets in (at least partially) visible (top-level)
1149         paragraphs.
1150
1151         * BufferView_pimpl.C: reset external coord cache before every update.
1152         This means the coord cache only contains valid entries.
1153
1154 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1155
1156         bug 1096
1157         * BufferView_pimpl.C (getInsetByCode): move function out of class
1158         and change in to a template in anon namespace. Also fix to do what
1159         suits us better.
1160
1161 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1162
1163         bug 1305
1164         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1165         of char
1166         (breakParagraph): rename par to par_offset and use a local
1167         reference. Add code to keep the language over a rebreak.
1168         (breakParagraphConservative): rename par to par_offset, use a
1169         local reference
1170         (mergeParagraph): ditto
1171         (outerHook): ditto
1172         (isFirstInSequence): ditto
1173         (outerFont): rename pit to par_offset
1174
1175         * paragraph.C: ws change
1176         * paragraph.h: ditto
1177         * text3.C: ditto
1178         * text.C: ditto
1179
1180 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1181
1182         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1183         treatment for ']'
1184
1185         * paragraph.C (simpleTeXOnePar): when we have a \item with
1186         optional argument, enclose the argument with curly brackets (in
1187         case it contains a closing square bracket)
1188
1189         * text2.C (editXY):
1190         * text2.C (editXY):
1191         * text3.C (checkInsetHit): constify
1192
1193 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1196         documents (bug 1629)
1197
1198 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1199
1200         Fix toggling of collapsable insets with the mouse (bug 1558)
1201
1202         * lyxfunc.C (dispatch): adapt to LCursor changes
1203
1204         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1205         make sure that dispatch is not invoked twice
1206
1207         * cursor.C (needsUpdate): new method
1208         (dispatch): return void
1209         (result): new method, to access the DispatchResult of the cursor.
1210
1211 2004-08-13  José Matos  <jamatos@lyx.org>
1212
1213         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1214
1215 2004-08-13  André Pönitz  <poenitz@gmx.net>
1216
1217         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1218
1219         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1220           multiple cells
1221
1222 2004-08-12  André Pönitz  <poenitz@gmx.net>
1223
1224         * text3.C: take out the 'cursor right' form insertInset and only
1225         do it in those places when it is really needed. Fixes crash on
1226         C-m...
1227
1228 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1229
1230         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1231
1232         * BufferView_pimpl.C (setBuffer): initialize the current font of
1233         the underlying LyXText
1234
1235 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * kbsequence.C (print): use UI native formatting for menu
1238         shortcuts
1239
1240         * text.C (insertChar): call Paragraph::insertChar with a font
1241         argument (cosmetic)
1242
1243         * paragraph.C (insertInset, insertChar): the version that takes a
1244         LyXFont argument is now a wrapper around the other one (the
1245         opposite used to be true).
1246
1247         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1248         argument. Font setting is done in Paragraph now.
1249
1250 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1251
1252         * outputparams.h: add new members intitle and lang.
1253
1254         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1255         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1256
1257 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1258
1259         * text3.C (dispatch): remove special handling of button 4 and 5,
1260         it is now taken care of in the frontend code.
1261
1262 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1263
1264         * Spacing.h: add <string> (STLPort compile fix)
1265
1266 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1267
1268         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1269
1270 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1271
1272         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1273         to bool.
1274
1275         * converter.C (showMessage): inherit from unary_function, make
1276         operator() const.
1277
1278         * buffer.C (writeFile): initialize retval
1279
1280         * InsetList.h: rename private variable list to list_
1281         * InsetList.[Ch]: adjust accordingly.
1282
1283 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1284
1285         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1286         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1287         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1288         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1289         * ParagraphParameters.C, LaTeXFeatures.C: replace
1290         "support/std_sstream.h" with <sstream>
1291
1292 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1293
1294         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1295         * lyxsocket.C (LyXServerSocket): ditto
1296         (serverCallback): ditto
1297
1298 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1299
1300         * LaTeXFeatures.C: check release date when loading jurabib.
1301
1302 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1303
1304         * lyxserver.C (startPipe): call register_socket_callback
1305         (endPipe): call unregister_socket_callback
1306
1307 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1308
1309         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1310         (LyXServerSocket): register the callback
1311         (LyXServerSocket): unregister the callback
1312         (fd): delete function
1313         (serverCallback): improve error checking and setup the callbacks.
1314         (dataCallback): change arg to fd.
1315         (writeln): new func (copied fro the client socket) used for server
1316         write to client.
1317         (LyXDataSocket): simplify
1318         (~LyXDataSocket): close ann unregiser callback
1319         (server): delete function
1320         (fd): delete function
1321         (readln): small changes, improve some std::string usage
1322         (writeln): constify a bit
1323
1324 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1327         Qt frontend
1328
1329 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1330
1331         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1332         after it has been populated
1333
1334 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1335
1336         * text2.C (insertInset): move cursor when inserting inset.
1337
1338 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1339
1340         * kbmap.C (findbindings): a couple of new methods. returns a
1341         container of kb_sequence objects. The real work is done by the
1342         private recursive version
1343         (printbindings): uses findbindings to print out a bracketed list
1344         of bindings (renamed from findbinding).
1345
1346         * MenuBackend.C (binding): use kb_keymap::findbindings
1347
1348         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1349
1350 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1351
1352         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1353
1354 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1355
1356         * paragraph.C (isWord): return true on insets that report
1357         isLetter().
1358
1359         * text.C (getWord): use Paragraph::isWord to decide what is in a
1360         word and what is not; fix bug 1609.
1361
1362 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1363
1364         * tex-strings.C: add "none" to string_paperpackages[], fixes
1365         off-by-one-error in the paperpackage selection.
1366
1367         * lyxlex.[Ch]:
1368         * tex-strings.[Ch]: char const * string[n]
1369         -> char const * const string[]
1370
1371 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1374         command, return early.
1375
1376 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1377
1378         * debug.h: add DEBUG to enum and fix size of ANY.
1379
1380         * debug.C: add support for Debug::DEBUG
1381         (showTags): cast errorTags.level to unsigned int
1382
1383         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1384         (redoCurrentBuffer): ditto
1385         (updateScrollbar): ditto
1386         * cursor.C (dispatch): ditto
1387         * text2.C (setLayout): ditto
1388         (setFont): ditto
1389         (updateCounters): ditto
1390         (editXY): ditto
1391         (deleteEmptyParagraphMechanism): ditto
1392
1393 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1394
1395         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1396         annotations to cleanup the Makefile slightly.
1397
1398 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1399
1400         * lyxrc.C: do not set user_email to a default value but use empty
1401         instead. The entry used to be translated, which does not work
1402         since at the point where lyxrc is constructed there is no
1403         translation service available
1404
1405         * messages.C (getLocaleDir): remove and use directly
1406         lyx_localedir() instead
1407
1408 2004-06-02  Angus Leeming  <leeming@lyx.org>
1409
1410         Fix crash caused by dereferencing null pointer 'exportdata' in
1411         OutputParams by creating a new ExportData variable on the heap,
1412         storing it in a boost::shared_ptr.
1413         The crash was triggered when generating an Instant Preview
1414         of an external inset.
1415
1416         * Makefile.am: add outputparams.C
1417
1418         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1419         (c-tor): allocate memory to it.
1420
1421         * exporter.C (c-tor): associated changes.
1422
1423 2004-06-01  Angus Leeming  <leeming@lyx.org>
1424
1425         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1426         contains data before calling isInset(0). (Bug 1513.)
1427
1428 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1429
1430         * exporter.C (checkOverwrite): new method
1431         * exporter.C (copyFile): new method
1432         * exporter.C (Export): copy referenced files to the document dir
1433         * exporter.[Ch]: new class ExportedFile
1434         * exporter.[Ch]: new class ExportData. Contains currently the
1435         names of referenced external files
1436         * outputparams.h: add exportdata member.
1437
1438 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1439
1440         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1441         version.C-tmp
1442
1443 2004-05-19  Angus Leeming  <leeming@lyx.org>
1444
1445         * LaTeXFeatures.C:
1446         * ToolbarBackend.C:
1447         * bufferparams.C:
1448         * lyxfunc.C: small changes due to the introduction of namespace
1449         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1450
1451 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1452
1453         * text3.C (dispatch): supress update when only moving the cursor
1454         * cursor.C (selHandle): remove commented code
1455
1456 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1457
1458         * paragraph.C (startTeXParParams): correct column count
1459         * CutAndPaste.C (pasteSelection): remove const_cast
1460         * output_docbook.C (docbookParagraphs): remove const_cast
1461         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1462         const_cast and return ParagraphList::const_iterator
1463         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1464         * output_plaintext.C (writeFileAscii): remove const_cast
1465         * paragraph.[Ch] (simpleTeXOnePar): make const
1466         * paragraph_funcs.C (outerPar): use const iterators
1467         * paragraph_pimpl.C (validate): use const iterators
1468         * text.C (setHeightOfRow): use const iterators
1469
1470 2004-05-17  Angus Leeming  <leeming@lyx.org>
1471
1472         * lfuns.h:
1473         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1474
1475         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1476         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1477         if the citation engine has changed.
1478
1479 2004-05-14  José Matos  <jamatos@lyx.org>
1480
1481         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1482         if the textclass does not provide it. Have it different for sgml and
1483         xml.
1484         support the language of document.
1485         * output_docbook.C (docbookParagraphs):
1486         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1487         first anchor as the id of the paragraph, remove special case code.
1488         * sgml.C (escapeChar): escape only < & >.
1489
1490 2004-05-14  Angus Leeming  <leeming@lyx.org>
1491
1492         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1493         dependencies on src/frontends/controllers/biblio.h. Define a
1494         CiteEngine_enum wrapper class to enable the enum to be forward
1495         declared.
1496
1497 2004-05-12  Angus Leeming  <leeming@lyx.org>
1498
1499         * buffer.C: up LYX_FORMAT to 234.
1500         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1501         use_numerical_citations with a single biblio::CiteEngine cite_engine
1502         variable.
1503         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1504
1505 2004-05-13  José Matos  <jamatos@lyx.org>
1506
1507         * converter.h:
1508         * converter.C (Converter, readFlags): add xml member.
1509         * outputparams.h: add XML flavor.
1510         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1511
1512 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1513
1514         * lyxfunc.C (dispatch):
1515         (getStatus): fix handling of LFUN_SEQUENCE
1516
1517 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * debug.C (showLevel): do not forget the end-of-line marker
1520
1521 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1522
1523         * kbmap.C (read): do not stop parsing a bind file when an error
1524         occurs (bug 1575)
1525
1526 2004-04-29  Angus Leeming  <leeming@lyx.org>
1527
1528         * cursor.C:
1529         * factory.C:
1530         * pariterator.C:
1531         * text2.C: wrap a bunch of #warning statements
1532         inside #ifdef WITH_WARNINGS blocks.
1533
1534 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1535
1536         * buffer.C: increment format to 233.
1537
1538 2004-04-28  Angus Leeming  <leeming@lyx.org>
1539
1540         * BufferView_pimpl.C:
1541         * lyxfunc.C:
1542         * text3.C:
1543         s/updateToolbar()/updateToolbars()/
1544         s/Toolbar.h/Toolbars.h/
1545
1546 2004-04-28  Angus Leeming  <leeming@lyx.org>
1547
1548         * BufferView.[Ch] (c-tor):
1549         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1550         No longer passes these data to the WorkArea generator.
1551
1552 2004-04-28  Angus Leeming  <leeming@lyx.org>
1553
1554         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1555
1556 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1557
1558         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1559
1560 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * output_latex.C (TeXEnvironment): make sure that there is a line
1563         break before \end{foo} for the last paragraph of a document
1564         (TeXOnePar): if the paragraph is at the end of the document (or
1565         inset) and the language has to be reset, then make sure that the
1566         line break is _before_ the language command, not after (fixes bug
1567         1225); also make sure that the language reset command is the first
1568         thing after the paragraph (to ensure proper nesting of
1569         environments and thus fix bug 1404)
1570
1571 2004-04-21  John Levon  <levon@movementarian.org>
1572
1573         * ToolbarBackend.h:
1574         * ToolbarBackend.C: make "name" be a programmatic name
1575         and a gui_name field.
1576
1577         * lyxfunc.C: display the minibuffer on M-x
1578
1579 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1582         (bug 1526)
1583
1584 2004-04-19  Angus Leeming  <leeming@lyx.org>
1585
1586         * BufferView_pimpl.C (setBuffer): changed preview interface.
1587
1588         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1589         possible values.
1590
1591 2004-04-19  John Levon  <levon@movementarian.org>
1592
1593         * BufferView_pimpl.C:
1594         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1595
1596 2004-04-05  Angus Leeming  <leeming@lyx.org>
1597
1598         * text.C (redoParagraphs): add call to updateCounters(), thereby
1599         fixing the missing "Figure #:" label from the caption of a
1600         figure float.
1601
1602 2004-04-13  Angus Leeming  <leeming@lyx.org>
1603
1604         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1605         cursor is clicked out of an inset.
1606
1607 2004-04-13  Angus Leeming  <leeming@lyx.org>
1608
1609         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1610         than an InsetOld one.
1611
1612 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1613
1614         * format.[Ch]: add editor to Format
1615         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1616         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1617
1618 2004-04-08  André Pönitz  <poenitz@gmx.net>
1619
1620         * metricsinfo.h: remove PainterInfo::width member
1621
1622 2004-04-08  Angus Leeming  <leeming@lyx.org>
1623
1624         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1625         "\providecommand" rather than "\newcommand", thereby preventing
1626         clashes with packages that define "\boldsymbol" themselves.
1627         Eg, beamer.
1628
1629 2004-04-08  Angus Leeming  <leeming@lyx.org>
1630
1631         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1632         thereby squashing an unnecessary warning.
1633
1634 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1635
1636         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1637         setBuffer()
1638
1639 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1640
1641         * BufferView.C (setCursor): call redoParagraph (some insets could
1642         have been opened)
1643         (putSelectionAt): remove the 'double update' trick
1644
1645         * BufferView_pimpl.C (fitCursor): call refreshPar
1646         (workAreaDispatch): remove an uneeded update call
1647         (dispatch): remove some manual update calls
1648
1649         * cursor.[Ch]: remove cached_y_, updatePos
1650         (selHandle): set noUpdate when appropriate
1651
1652         * lyxfunc.C (dispatch): track if we need an update
1653
1654         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1655
1656         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1657         (paintSelection): cheap optimization, do not call cursorX when not
1658         needed
1659         (paintPars): change signature
1660         (refreshPar): add
1661         (paintText): adjust
1662         (paintTextInset): adjust
1663
1664         * text.C: adjust
1665
1666 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1667
1668         * lengthcommon.C: compilation fix: remove explicit array size from
1669         unit_name[] and friends
1670
1671 2004-04-05  Angus Leeming  <leeming@lyx.org>
1672
1673         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1674
1675         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1676         present only for the preferences dialog.
1677         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1678
1679 2004-04-05  Angus Leeming  <leeming@lyx.org>
1680
1681         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1682         to enable the frontends to export changes to lyxrc correctly.
1683
1684         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1685
1686 2004-04-07  André Pönitz  <poenitz@gmx.net>
1687
1688         * cursor.[Ch] (selClear, adjust): remove math
1689
1690         * cursor_slice.C: more agressive assert
1691
1692         * lyxfunc.C:
1693         * BufferView_pimpl.C: rework mouse event dispatch
1694
1695         * dociterator.C:
1696         * paragraph.C:
1697         * text2.C:
1698         * text3.C: adjust
1699
1700 2004-04-05  André Pönitz  <poenitz@gmx.net>
1701
1702         * cursor.[Ch] (valign, halign...): remove unneeded functions
1703
1704 2004-04-05  Angus Leeming  <leeming@lyx.org>
1705
1706         * lyxlength.[Ch] (unit_name et al.): const-correct.
1707
1708 2004-04-05  Angus Leeming  <leeming@lyx.org>
1709
1710         * BufferView_pimpl.C:
1711         * buffer.C:
1712         * counters.C:
1713         * cursor.C:
1714         * lyxfunc.C
1715         * paragraph.C:
1716         * pariterator.C:
1717         * text.C:
1718         * text2.C:
1719         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1720
1721 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1722
1723         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1724
1725 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1726
1727         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1728         * BufferView_pimpl.[Ch] (getStatus)
1729         * BufferView.[Ch] (getStatus): add
1730         * lyxfunc.C (getStatus): move lfuns handled in
1731         BufferView::dispatch to te function above
1732         * Cursor.C (setSelection): set selection() = true
1733
1734 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1735
1736         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1737
1738 2004-03-31  Angus Leeming  <leeming@lyx.org>
1739
1740         * lyxfunc.C (dispatch): Fall through to the generic
1741         Dialogs::show("preamble").
1742
1743 2004-03-31  Angus Leeming  <leeming@lyx.org>
1744
1745         * lyxfunc.C (dispatch): Fall through to the generic
1746         Dialogs::show("spellchecker").
1747
1748 2004-03-31  Angus Leeming  <leeming@lyx.org>
1749
1750         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1751         preferences dialog.
1752
1753 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1754
1755         * BufferView.C
1756         * cursor.[Ch]
1757         * dociterator.[Ch]:
1758         * insetiterator.[Ch]:
1759         * lyxfind.C:
1760         * lyxfunc.C:
1761         * pariterator.[Ch]:
1762         * text2.C:
1763         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1764
1765 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1766
1767         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1768         insets where we are putting the cursor.
1769
1770 2004-03-31  Angus Leeming  <leeming@lyx.org>
1771
1772         * lfuns.h:
1773         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1774
1775         * lyxrc.[Ch] (read, write): overloaded member functions taking
1776         a std::[io]stream arguments.
1777
1778         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1779
1780 2004-03-31  Angus Leeming  <leeming@lyx.org>
1781
1782         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1783         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1784
1785         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1786         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1787
1788 2004-03-31  Angus Leeming  <leeming@lyx.org>
1789
1790         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1791         the LFUN_ALL_INSETS_TOGGLE code.
1792
1793 2004-03-30  Angus Leeming  <leeming@lyx.org>
1794
1795         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1796         has died. Fall through to the generic Dialogs::show("document").
1797
1798 2004-03-30  Angus Leeming  <leeming@lyx.org>
1799
1800         * lfuns.h:
1801         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1802         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1803
1804         * lyxfunc.C (getStatus, dispatch): define the actions for these
1805         lfuns. Little more than a cut and pste job from ControlDocument.C
1806
1807         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1808
1809 2004-03-30  Angus Leeming  <leeming@lyx.org>
1810
1811         * lfuns.h:
1812         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1813         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1814
1815         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1816         open/closed state of ollapsable insets. Usage:
1817
1818         all-inset-toggle <state> <name>, where
1819         <state> == "open" || "closed" || "toggle" and
1820         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1821
1822         * lyxtext.h, text2.C (toggleInset): removed.
1823
1824         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1825         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1826         now passes LFUN_INSET_TOGGLE to the found inset.
1827
1828         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1829         is now invoked as "all-insets-toggle toggle branch".
1830
1831 2004-03-30  Angus Leeming  <leeming@lyx.org>
1832
1833         * dociterator.C:
1834         * insetiterator.C:
1835         * pariterator.[Ch]: added/corrected header blurb.
1836
1837 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * dociterator.[Ch]: add an inset_ member
1840         (backwardPos): implemented
1841         (backwardPos, forwardPos): use inset_ when the stack is empty.
1842         (doc_iterator_begin, doc_iterator_end): implemented
1843         * pariterator.[Ch]: adjust, add begin, end
1844         * insetiterator.[Ch]: adjust, add begin, end
1845         * cursor.C:
1846         * document.C:
1847         * BufferView.C:
1848         * BufferView_pimpl.C:
1849         * CutAndPaste.C: adjust
1850
1851 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1852
1853         * buffer.C: increment file format to 232.
1854         * LaTeXFeatures.C: add bibtopic package.
1855         * bufferparams.[Ch]: param \use_bibtopic.
1856
1857         * lyxrc.[Ch]: add lyxrc bibtex_command
1858         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1859
1860         * buffer.C: increment file format to 231.
1861
1862 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1863
1864         * dociterator.C: implement forwardPar
1865         * iterators.[Ch]: remove, replaced by
1866         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1867         * BufferView.C:
1868         * BufferView_pimpl.C:
1869         * CutAndPaste.C:
1870         * buffer.C:
1871         * bufferview_funcs.C:
1872         * cursor.C:
1873         * lyxfind.C
1874         * lyxfunc.C
1875         * paragraph_funcs.C
1876         * toc.C:
1877         * Makefile.am: adjust
1878
1879 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1880
1881         * CutAndPaste.C (pasteSelection): fix 2 crashes
1882         (eraseSelection): fix a crash
1883         * paragraph_funcs.C: remove a warning
1884
1885 2004-03-28  Angus Leeming  <leeming@lyx.org>
1886
1887         * lfuns.h:
1888         * LyXAction.C (init): new LFUN_PRINT.
1889
1890         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1891
1892 2004-03-27  Angus Leeming  <leeming@lyx.org>
1893
1894         * lfuns.h:
1895         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1896
1897         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1898
1899 2004-03-27  Angus Leeming  <leeming@lyx.org>
1900
1901         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1902         insetlist always contains non-null pointers to insets.
1903
1904 2004-03-26  Angus Leeming  <leeming@lyx.org>
1905
1906         * src/BufferView_pimpl.C:
1907         * src/CutAndPaste.C:
1908         * src/buffer.C:
1909         * src/iterators.C:
1910         * src/output_plaintext.C:
1911         * src/outputparams.h:
1912         * src/paragraph_funcs.C:
1913         * src/rowpainter.C:
1914         * src/text.C:
1915         * src/text2.C:
1916         * src/frontends/controllers/ControlErrorList.C:
1917         * src/frontends/gtk/FileDialogPrivate.C:
1918         * src/frontends/gtk/GPainter.C:
1919         * src/frontends/gtk/GToolbar.C:
1920         * src/frontends/qt2/QRef.C:
1921         * src/mathed/math_scriptinset.C: squash compiler warnings.
1922
1923 2004-03-26  Angus Leeming  <leeming@lyx.org>
1924
1925         * ispell.C (LaunchIspell::start):
1926         * lyx_cb.C (AutoSaveBuffer::start):
1927         invoke run(DontWait) rather than runNonBlocking().
1928
1929 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1932
1933 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         * kbsequence.C (print): adjust
1936
1937         * kbmap.C (printKeySym): rename and change signature
1938         (printKey): use LyXKeySym::print()
1939
1940 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1941
1942         * undo.C: add using std::advance to compile for stlport
1943
1944 2004-03-24  Angus Leeming  <leeming@lyx.org>
1945
1946         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1947         it leads to a crash when no buffer is present.
1948
1949 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1950             Martin Vermeer  <martin.vermeer@hut.fi>
1951
1952         * lyxfunc.C (dispatch):
1953         * bufferparams.C (readToken): use the new LColor::setColor
1954
1955         * LColor.[Ch] (setColor): new version that takes two strings as
1956         argument and creates a new color entry if necessary
1957
1958 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1959
1960         * buffer.C (makeLaTeXFile): if the main latex file that is
1961         processed is usually a subdocument of some master, then pretend
1962         for a while that it is actually the master
1963
1964 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1965
1966         * buffer.C (getLabelList):
1967         (getBibkeyList): use getMasterBuffer()
1968         (getMasterBuffer): new method. Returns the main document in the
1969         case where one is using included documents.
1970
1971 2004-03-25  André Pönitz  <poenitz@gmx.net>
1972
1973         * Makefile.am:
1974         * iterators.[Ch]:
1975         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1976
1977         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1978
1979         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1980         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1981
1982         * ParameterStruct.h: merge with ParagraphParameters
1983
1984         * lyxtext.h: remove LyXText::parOffset() and getPar()
1985
1986         * text3.C: Remove all 'manual' update calls. We do now one per user
1987         interaction which is completely sufficient.
1988
1989         * Bidi.C:
1990         * BufferView.[Ch]:
1991         * BufferView_pimpl.C:
1992         * FontIterator.[Ch]:
1993         * MenuBackend.C:
1994         * ParagraphParameters.[Ch]:
1995         * buffer.C:
1996         * buffer.h:
1997         * bufferlist.C:
1998         * cursor.[Ch]:
1999         * cursor_slice.[Ch]:
2000         * dociterator.[Ch]:
2001         * errorlist.[Ch]:
2002         * factory.C:
2003         * lfuns.h:
2004         * lyxfind.C:
2005         * lyxfunc.C:
2006         * output_docbook.[Ch]:
2007         * output_latex.[Ch]:
2008         * output_linuxdoc.[Ch]:
2009         * output_plaintext.[Ch]:
2010         * paragraph.[Ch]:
2011         * paragraph_funcs.[Ch]:
2012         * paragraph_pimpl.[Ch]:
2013         * rowpainter.C:
2014         * tabular.[Ch]:
2015         * text.C:
2016         * text2.C:
2017         * toc.C:
2018         * undo.[Ch]: adjust
2019
2020         * frontends/controllers/ControlDocument.C:
2021         * frontends/controllers/ControlErrorList.C:
2022         * frontends/controllers/ControlSpellchecker.C:
2023         * insets/inset.C:
2024         * insets/inset.h:
2025         * insets/insetbase.h:
2026         * insets/insetbibitem.C:
2027         * insets/insetbox.C:
2028         * insets/insetbranch.C:
2029         * insets/insetcaption.C:
2030         * insets/insetcharstyle.C:
2031         * insets/insetcharstyle.h:
2032         * insets/insetcollapsable.C:
2033         * insets/insetcollapsable.h:
2034         * insets/insetert.C:
2035         * insets/insetfloat.C:
2036         * insets/insetfoot.C:
2037         * insets/insetmarginal.C:
2038         * insets/insetnote.C:
2039         * insets/insetoptarg.C:
2040         * insets/insettabular.C:
2041         * insets/insettext.C:
2042         * insets/insettext.h:
2043         * insets/insetwrap.C:
2044         * mathed/math_mboxinset.C:
2045         * mathed/math_nestinset.C:
2046         * mathed/math_scriptinset.C:
2047         * mathed/math_scriptinset.h:
2048         * support/types.h:
2049
2050 2004-03-24  Angus Leeming  <leeming@lyx.org>
2051
2052         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2053         deal with any child processes that have finished but are waiting to
2054         communicate this fact to the rest of LyX.
2055
2056 2004-03-24  Angus Leeming  <leeming@lyx.org>
2057
2058         64-bit compile fixes.
2059
2060         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2061         (c-tor): pass lyx::pos_types rather than ints.
2062
2063         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2064         lyx::pos_type.
2065
2066         * text.C (Delete): compile fix.
2067         (getPar): ensure that function declaration is the same as that in
2068         the header file.
2069
2070 2004-03-23  Angus Leeming  <leeming@lyx.org>
2071
2072         * ispell.C (LaunchIspell):
2073         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2074         a boost::shred_ptr rather than a std::auto_ptr.
2075
2076 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2077
2078         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2079         handle LFUN_FILE_INSERT_*
2080
2081         * lyxrc.C (setDefaults, getDescription, output, read):
2082         * lyxrc.h: remove ps_command
2083
2084 2004-03-22  Angus Leeming  <leeming@lyx.org>
2085
2086         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2087         Ensure that error_handler is processed once only and that all data
2088         is saved before attempting to output any warning messages.
2089
2090         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2091
2092 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2095
2096 2004-03-19  André Pönitz  <poenitz@gmx.net>
2097
2098         * cursor.[Ch] (reset): take main text inset as argument
2099
2100         * BufferView: adjust
2101         * BufferView_pimpl.C: adjust
2102
2103         * paragraph.[Ch]: fix completely broken operator=()
2104
2105 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2106
2107         * LColor.C (getFromLyXName): make sure that the color name is used
2108         as lowercase.
2109
2110 2004-03-17  Angus Leeming  <leeming@lyx.org>
2111
2112         * lfuns.h:
2113         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2114
2115         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2116         dialog and to kill a forked process.
2117
2118 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2119
2120         * text2.C (setCursorFromCoordinates): fix font problem
2121
2122 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2123
2124         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2125         bogus "rebuild cursor" code
2126
2127 2004-03-11  André Pönitz  <poenitz@gmx.net>
2128
2129         * buffer.[Ch]: use InsetText instead of LyXText as container for
2130         the main lyx text.
2131
2132         * dociterator.[Ch]: drop the BufferView * member which is not needed
2133         anymore after the change to buffer.C
2134
2135         * paragraph_funcs.C:
2136         * text.C:
2137         * text2.C:
2138         * BufferView.[Ch]:
2139         * BufferView_pimpl.[Ch]:
2140         * cursor.[Ch]:
2141         * cursor_slice.[Ch]: adjust
2142
2143         * text3.C: fix bug in mathDispatch
2144
2145 2004-03-08  André Pönitz  <poenitz@gmx.net>
2146
2147         * undo.[Ch]: use 'StableDocumentIterator' as base for
2148         the Undo struct.
2149
2150 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2151
2152         * LaTeXFeatures.C:
2153         * bufferparams.[Ch]: add jurabib support and param.
2154
2155         * LaTeX.C: add FIXME/comment.
2156
2157 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2158
2159         * buffer.C: increment file format to 230.
2160
2161 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2162
2163         * cursor.C (dispatch): avoid infinite loops
2164
2165 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2166
2167         * rowpainter.C (paintSelection): fix x coordinates
2168
2169 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2170
2171         * text.C (rowBreakPoint): fix breaking before displayed insets
2172
2173 2004-03-01  André Pönitz  <poenitz@gmx.net>
2174
2175         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2176
2177         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2178
2179         * Makefile.am:
2180         * BufferView.C:
2181         * BufferView_pimpl.C:
2182         * buffer.C:
2183         * lyxfind.C:
2184         * lyxfunc.C:
2185         * text.C:
2186         * text2.C:
2187         * text3.C: adjust
2188
2189 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2190
2191         * lyxtext.h:
2192         * text.C:
2193         * text2.C:
2194         * rowpainter.C:
2195         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2196         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2197
2198 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2199
2200         * Bidi.[Ch] (computeTables): const correctness
2201         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2202         fill_hfill, fill_label_hfill and x from Row
2203         * lyxtext.h: prepareToPrint returns a RowMetrics
2204         * rowPainter.C: adjust
2205         * text.C (prepareToPrint): use width, not textWidth. adjust
2206         (redoParagraphInternal, cursorX): adjust
2207         * text2.C (getColumnNearX): adjust
2208         (init): put a default value to the top LyXText::width
2209
2210 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2211
2212         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2213
2214 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2215
2216         * lyxtext.h: add FontIterator class
2217
2218         * text.C (FontIterator, operator*, operator->, operator++): add
2219         (rowBreakPoint, setRowWidth): adjust (fixing a
2220         rebreaking bug)
2221
2222 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2223
2224         * BufferView_pimpl.C (workAreaDispatch): allow also
2225         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2226
2227 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2228
2229         * text.C (rowBreakPoint): fix a bug showing with very large insets
2230
2231 2004-02-25  André Pönitz  <poenitz@gmx.net>
2232
2233         * text3.C:
2234         * cursor.[Ch]: move some mathed specific code to mathed
2235
2236 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2237
2238         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2239         use_tempdir in preferences
2240         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2241         tempfile creation
2242         * lyx_main.C: ensure that tempdir is valid
2243         * lyxlex.h: correct typo
2244         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2245         * paragraph.[Ch] (isMultiLingual): make const
2246         * cursor.[Ch] (openable): make const
2247
2248 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2249
2250         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2251
2252 2004-02-20  André Pönitz  <poenitz@gmx.net>
2253
2254         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2255
2256         * cursor.[Ch]: prepare for localized getStatus()
2257
2258         * lyxtext.h:
2259         * tabular.C:
2260         * text.C:
2261         * text2.C:
2262         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2263
2264 2004-02-20  André Pönitz  <poenitz@gmx.net>
2265
2266         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2267
2268 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2269
2270         * text2.C (setCursorFromCoordinates): switch to absolute coords
2271         (cursorUp): adjust
2272         (cursorDown): adjust
2273         * text3.C (dispatch): adjust
2274
2275 2004-02-16  André Pönitz  <poenitz@gmx.net>
2276
2277         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2278           insets/ChangeLog)
2279
2280         * cursor_slice.[Ch]: remove unneeded acessor function
2281
2282         * lyxtext.h: rename rtl() to isRTL()
2283
2284         * rowpainter.C:
2285         * tabular.C:
2286         * text.C:
2287         * text2.C:
2288         * text3.C: adjust
2289
2290 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2291
2292         * rowpainter.C (paintSelection): coord fix
2293
2294 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2295
2296         * Spacing.C: compile fix
2297
2298 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2299
2300         * cursor.C (dispatch): restore current_ before returning
2301
2302 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * text2.C (cursorUp, cursorDown): fix coords
2305         (moveUp): fix crash
2306
2307 2004-02-12  André Pönitz  <poenitz@gmx.net>
2308
2309         * lyxtext.h:
2310         * text.C:
2311         * text2.C:
2312         * text3.C: add LCursor & parameter to most cursor movement functions
2313           remove usage of LyXText::cursorRow() and cursorPar()
2314
2315         * cursor.[Ch]: add textRow() needed members
2316
2317         * BufferView.C:
2318         * BufferView_pimpl.C:
2319         * paragraph.[Ch]:
2320         * BufferView.C:
2321         * BufferView_pimpl.C: adjust
2322
2323 2004-02-11  André Pönitz  <poenitz@gmx.net>
2324
2325         * lyxfunc.C:
2326         * BufferView.[Ch]:
2327         * BufferView_pimpl.C: shift undo/redo handling
2328
2329         * cursor.[Ch]: fix mathed crash
2330
2331         * lyxfind.C:
2332         * lyxtext.h: move selectionAsText to LCursor
2333
2334         * output_latex.C:
2335         * paragraph.C:
2336         * text.C:
2337         * text2.C:
2338         * text3.C: adjust
2339
2340         * rowpainter.C: fix excessive drawing
2341
2342 2004-02-06  André Pönitz  <poenitz@gmx.net>
2343
2344         * BufferView.[Ch]:
2345         * BufferView_pimpl.[Ch]:
2346         * text3.C: move some text specific LFUN handling
2347
2348 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2349
2350         * text3.C (checkInsetHit): adjust coords
2351         * text2.C (getColumnNearX): adjust coords
2352         (edit): adjust coords
2353         * text.C (getRowNearY): add two asserts
2354
2355 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2356
2357         * converter.C:
2358         * format.C: add using std::distance to compile on gcc 2.95/stlport
2359
2360 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2361
2362         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2363
2364 2004-02-04  André Pönitz  <poenitz@gmx.net>
2365
2366         * BufferView.[Ch] (insertInset):
2367         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2368
2369         * text2.C:
2370         * text3.C: adjust
2371
2372 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2373
2374         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2375         on the default clause of the switch
2376         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2377         wasn't catched by LCursor::dispatch
2378
2379 2004-02-03  André Pönitz  <poenitz@gmx.net>
2380
2381         * BufferView.C:
2382         * cursor.[Ch]: some additional asserts
2383
2384         * undo.[Ch]: remove LyXText dependency in interface
2385
2386         * lyxfunc.C: adjust
2387
2388         * lyxtext.h (firstPar, lastPar): remove dead functions
2389
2390         * text.C:
2391         * text2.C:
2392         * text3.C:
2393         * paragraph.[Ch]: adjust
2394
2395 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2396
2397         * lyxfind.C (find): fix argument order in call to ::find
2398
2399 2004-02-02  André Pönitz  <poenitz@gmx.net>
2400
2401         * cursor.[Ch]: remove direct access to anchor
2402
2403         * text.C: remove findText() hack
2404
2405 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * iterators.[Ch] (lockPath): remove in favour of...
2408         * BufferView.[Ch] (setCursor): this addition
2409         * BufferView.C (putSelectionAt): adjust
2410         * undo.C (performUndoOrRedo): adjust
2411         * lyxfunc.C (dispatch): adjust
2412
2413 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * iterators.C (lockPath): add a missing slice
2416         * undo.C (performUndoOrRedo): remove redundant positioning code
2417
2418 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2419
2420         * vc-backend.C (scanMaster): ";" -> ';'
2421
2422 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2423
2424         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2425         std::binary_function
2426
2427         * lyxtextclass.C (compare_name): rename to...
2428         (LayoutNamesEqual): ...this
2429
2430         * lyxlex_pimpl.C (compare_tags): inherit from
2431         std::binary_function, put back into anon namespace
2432
2433         * lyxfind.C (MatchString): inherig from std::binary_function
2434         (findChange): use empty() istead of !size()
2435
2436         * format.C (FormatNamesEqual): new functor
2437         (getFormat): use it
2438         (getNumber): use it
2439         (add): use it
2440         (erase): use it
2441         (setViewer): use it
2442
2443         * converter.C (compare_Converter): rename to...
2444         (ConverterEqual): ...this, and fixup a bit.
2445         (getConverter): use it, and make function const
2446         (getNumber): use it, and make function const
2447         (add): use it
2448         (erase): use it:
2449
2450         * bufferlist.C: add using boost::bind
2451
2452         * MenuBackend.C (MenuNamesEqual): new functor
2453         (hasMenu): use it, and make function const
2454         (hasSubmenu): use nested bind to get rid of compare_memfun.
2455
2456 2004-01-30  André Pönitz  <poenitz@gmx.net>
2457
2458         * BufferView_pimpl.C:
2459         * cursor.C:
2460         * cursor.h:
2461         * cursor_slice.[Ch]:
2462         * lyxfunc.C:
2463         * lyxtext.h:
2464         * paragraph_funcs.C:
2465         * paragraph_funcs.h:
2466         * rowpainter.C:
2467         * text.C:
2468         * text2.C:
2469         * text3.C: move some of the edit(x,y) handling to the insets
2470         some coordinate changes.
2471
2472 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2473
2474         * text.C: add using statements for std::advance and std::distance
2475
2476         * paragraph.C: add using statement for std::distance
2477
2478         * lyxfind.C: add using statement for std::advance
2479
2480         * cursor.C (region): remove std:: from swap
2481         (openable): use nucleus in stead of operator->
2482
2483         * BufferView.C: add using statements for std::distance and std::swap
2484
2485 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2486
2487         * iterators.C: Remove the pimple, move the needed structures to
2488         the header file. Create accessor for the positions stack.
2489         (asPosIterator): remove function
2490
2491         * PosIterator.C (PosIterator): move constructors to top of file
2492         (PosIterator): reimplement the constructor taking a ParIterator in
2493         terms of setFrom.
2494         (setFrom): new function
2495         (operator!=): inline it
2496
2497 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2498
2499         * lyxfind.C (replaceAll): use std::advance
2500
2501         * iterators.h: inherit from std::iterator.
2502
2503         * PosIterator.C (advance, distance): remove
2504         * PosIterator.h: interit from std::iterator.
2505
2506 2004-01-26  André Pönitz  <poenitz@gmx.net>
2507
2508         * BufferView.[Ch]:
2509         * BufferView_pimpl.[Ch]:
2510         * InsetList.[Ch]:
2511         * PosIterator.[Ch]:
2512         * buffer.h:
2513         * bufferview_funcs.C:
2514         * cursor.[Ch]:
2515         * cursor_slice.h:
2516         * factory.[Ch]:
2517         * iterators.[Ch]:
2518         * lyxfind.C:
2519         * lyxfunc.C:
2520         * lyxtext.h:
2521         * output_docbook.C:
2522         * output_latex.C:
2523         * output_linuxdoc.C:
2524         * output_plaintext.C:
2525         * paragraph.[Ch]:
2526         * paragraph_funcs.[Ch]:
2527         * paragraph_pimpl.[Ch]:
2528         * rowpainter.C:
2529         * tabular.C:
2530         * tabular.h:
2531         * text.C:
2532         * text2.C:
2533         * text3.C: more IU:  dumps most of the rest of the mathcursor
2534     implementation into cursor.[Ch]; "globalize" a bit of it.
2535
2536 2004-01-25  Angus Leeming  <leeming@lyx.org>
2537
2538         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2539
2540 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2541
2542         * LaTeXFeatures.h: add nice_ and nice() const
2543         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2544
2545 2004-01-20  André Pönitz  <poenitz@gmx.net>
2546
2547         * BufferView.[Ch]:
2548         * BufferView_pimpl.C:
2549         * PosIterator.C:
2550         * bufferview_funcs.C:
2551         * cursor.[Ch]:
2552         * cursor_slice.[Ch]:
2553         * factory.C:
2554         * iterators.C:
2555         * lyx_cb.C:
2556         * lyxfind.C:
2557         * lyxfunc.C:
2558         * lyxtext.h:
2559         * rowpainter.C:
2560         * text.C:
2561         * text2.C:
2562         * text3.C:
2563         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2564           LCursor and mathcursor parts to LCursor and InsetBase.
2565
2566 2004-01-15  André Pönitz  <poenitz@gmx.net>
2567
2568         * cursor_slice.[Ch]: add a few covienience functions
2569
2570         * funcrequest.[Ch]: remove BufferView * member
2571
2572         * BufferView_pimpl.C:
2573         * cursor.C:
2574         * factory.[Ch]:
2575         * lyxfind.[Ch]:
2576         * lyxfunc.C:
2577         * lyxtext.h:
2578         * text3.C:
2579         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2580
2581 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2582
2583         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2584         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2585
2586 2004-01-13  André Pönitz  <poenitz@gmx.net>
2587
2588         * textcursor.[Ch]:
2589         * lyxtext.h: hide cursor and selection anchor behind accessor function
2590
2591         * BufferView.C:
2592         * BufferView_pimpl.[Ch]:
2593         * PosIterator.C:
2594         * bufferview_funcs.C:
2595         * cursor.h:
2596         * lyxfind.C:
2597         * lyxfunc.C:
2598         * text.C:
2599         * text2.C:
2600         * text3.C:
2601         * undo.C: adjust
2602
2603         * cursor.h:
2604         * cursor_slice.[Ch]: some integer type changes for inset unification
2605
2606         * lyxcursor.[hC]: remove, it's CursorSlice now.
2607
2608         * Makefile.am:
2609         * BufferView_pimpl.[Ch]:
2610         * bufferview_funcs.C:
2611         * cursor_slice.C:
2612         * lyxtext.h:
2613         * text.C:
2614         * text2.C:
2615         * text3.C:
2616         * textcursor.[Ch]: adjust
2617
2618 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2619
2620         * text2.C (undoSpan): add and use
2621         * text.C (breakParagraph): use undoSpan (fix bug 578)
2622         * lyxtext.h: adjust
2623
2624 2004-01-08  Angus Leeming  <leeming@lyx.org>
2625
2626         * BufferView_pimpl.C (MenuInsertLyXFile):
2627         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2628         * lyxfunc.C (menuNew, open, doImport):
2629         FileFilterList change to the FileDialog open and save functions.
2630
2631 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2632
2633         * ShareContainer.h: make isEqual and isUnique adaptable
2634
2635         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2636
2637 2004-01-07  Angus Leeming  <leeming@lyx.org>
2638
2639         * LyXAction.C:
2640         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2641
2642         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2643
2644         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2645         functions replacing find, replace and replaceAll.
2646
2647         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2648         LFUN_WORDFIND(FORWARD|BACKWARD).
2649
2650 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2651
2652         * text.C (breakParagraph): remove an outdated #warning
2653
2654 2004-01-07  André Pönitz  <poenitz@gmx.net>
2655
2656         * lyxfind.C: somewhat clearer logic
2657
2658         * text.C: prevent crash in cursorX on unitialized row cache
2659
2660 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2661
2662         * lyxcursor.[Ch] (operator>): add
2663         * textcursor.C (selStart, selEnd): use std::min and std::max
2664
2665 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2666
2667         * Chktex.C: include boost/format.hpp
2668
2669 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2670
2671         * InsetList.C: replace functor MathcIt with adaptable functor
2672         InsetTablePosLess
2673         (insetIterator): modify accordingly
2674
2675         * BranchList.h: move the BranchNamesEqual functor here from...
2676         * BranchList.C: ... to here
2677
2678         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2679         SameName and match.
2680         (add): replace a finding loop with std::find_if.
2681
2682 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2683
2684         * output_docbook.C: moving LatexParam functionality into
2685         .layout files
2686
2687 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2688
2689         * buffer.C: increment format to 229.
2690
2691 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2692
2693         * LaTeXFeatures.C:
2694         * lyx_sty.[Ch]: remove minipageindent_def
2695
2696         * LyXAction.C:
2697         * factory.C:
2698         * lfuns.h:
2699         * lyxfunc.C:
2700         * text3.C: remove LFUN_INSET_MINIPAGE
2701
2702 2003-12-28  Angus Leeming  <leeming@lyx.org>
2703
2704         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2705
2706 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2707
2708         * text2.C (setParagraph): fix off-by-one crash
2709
2710 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2711
2712         * output_docbook.C: header stuff for AGU
2713
2714 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2715
2716         * text2.C (redoCursor): remove
2717         * text.C:
2718         * text3.C:
2719         * BufferView_pimpl.C: remove calls to redoCursor and
2720         setCursor(cursor.par(), cursor.pos()) all around
2721
2722 2003-12-15  Angus Leeming  <leeming@lyx.org>
2723
2724         * buffer.C: up the format to 228.
2725
2726 2003-12-15  André Pönitz  <poenitz@gmx.net>
2727
2728         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2729         slices
2730
2731         * Makefile.am:
2732
2733         * BufferView_pimpl.C:
2734         * cursor.[Ch]:
2735         * lyxcursor.[Ch]:
2736         * rowpainter.[Ch]:
2737         * lyxtext.h:
2738         * text.C:
2739         * text2.C:
2740         * text3.C: adjust
2741
2742 2003-12-15  Angus Leeming  <leeming@lyx.org>
2743
2744         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2745         than getFromGUIName to manipulate the color.
2746
2747 2003-12-14  Angus Leeming  <leeming@lyx.org>
2748
2749         * BranchList.[Ch]: minimize the API.
2750         (Branch::getBranch, getColor): now return a 'const &'.
2751         (Branch::setSelected) now returns a bool set to true if the
2752         selection status changes.
2753         (BranchList::clear, size, getColor, setColor, setSelected,
2754         allBranches, allSelected, separator): removed.
2755         (BranchList::find): new functions, returning the Branch with
2756         the given name.
2757         (BranchList::add, remove): return a bool indicating that
2758         the operation was successful.
2759
2760         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2761         new InsetBranch::isBranchSlected member function.
2762
2763         * LColor.[Ch]: mimimize the API.
2764         (fill): renamed as addColor and made private.
2765         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2766         versions of these functions taking a string arg have been removed.
2767
2768         * bufferparams.C (readToken):
2769         * lyxfunc.C (dispatch):
2770         * lyxrc.C (read): changes due to the altered BranchList and
2771         LColor APIs.
2772
2773         * factory.C (createInset, readInset): changes due to altered
2774         InsetBranch c-tor.
2775
2776 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2777
2778         * factory.C:
2779         * lyxfunc.C: remove insetminipage. "minipage-insert"
2780         now produces a frameless minipage box inset.
2781
2782 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * textcursor.[Ch] (selStart,selEnd): add new methods
2785         remove selection::start, end, use LyXCursor::operator<
2786         * lyxcursor.[Ch] (operator<): add
2787         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2788         * BufferView.[Ch] (unsetXSel): add
2789         * text2.C (clearSelection): use unsetXSel,adjust
2790         * text.C: adjust
2791         * text3.C: adjust
2792         * rowpainter.C: adjust
2793         * bufferview_funcs.C (put_selection_at): adjust
2794
2795 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2796
2797         * BufferView_pimpl.C: small coord. correction
2798
2799 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2800
2801         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2802         dragging over the splash screen.
2803
2804 2003-12-11  Angus Leeming  <leeming@lyx.org>
2805
2806         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2807         as it is now handled in LyXText::dispatch.
2808
2809         * text3.C (doInsertInset): remove a level of nesting.
2810
2811 2003-12-11  Angus Leeming  <leeming@lyx.org>
2812
2813         * factory.C (createInset): changes due to the changed interface to
2814         InsetCommandMailer::string2params.
2815
2816 2003-12-10  Angus Leeming  <leeming@lyx.org>
2817
2818         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2819         'dialog-show-new-inset <inset name>'
2820
2821 2003-12-10  Angus Leeming  <leeming@lyx.org>
2822
2823         * buffer.C: up the format to 227.
2824
2825         * factory.C: the box inset is now identified simply by 'Box'.
2826
2827 2003-12-10  Angus Leeming  <leeming@lyx.org>
2828
2829         * buffer.C: up the format to 226.
2830
2831         * factory.C: the note inset is now identified simply by 'Note'.
2832
2833 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2836         when a pit is enough. Standarize a couple of loops.
2837
2838 2003-12-05  Angus Leeming  <leeming@lyx.org>
2839
2840         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2841         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2842         data to the re-worked "log" dialog.
2843
2844 2003-12-03  André Pönitz  <poenitz@gmx.net>
2845
2846         * PosIterator.C:
2847         * iterators.C:
2848         * lyxtext.h:
2849         * output_latex.C:
2850         * paragraph_funcs.C:
2851         * text.C:
2852         * text2.C: use Inset::getText instead of Inset::getParagraph
2853
2854 2003-12-03  André Pönitz  <poenitz@gmx.net>
2855
2856         * buffer.[Ch]:
2857         * lyxtext.h:
2858         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2859         InsetText::read() as LyXText::read()
2860
2861 2003-12-02  Angus Leeming  <leeming@lyx.org>
2862
2863         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2864         type. Add a comment in the implementation that the function uses
2865         the stream's bad() function rather than fail() as the std::streams
2866         would do.
2867
2868 2003-12-02  André Pönitz  <poenitz@gmx.net>
2869
2870         * lyxlex.[Ch]: make interface more similar to std::stream
2871
2872         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2873
2874 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2875
2876         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2877
2878 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2879
2880         * vspace.[Ch]: remove VSpace::NONE
2881
2882 2003-12-01  André Pönitz  <poenitz@gmx.net>
2883
2884         * buffer.[Ch]:
2885         * lyxtext.h: move ParagraphList member to LyXText
2886         rename LyXText::ownerParagraphs to LyXText::paragraph
2887
2888         * CutAndPaste.C:
2889         * bufferview_funcs.C:
2890         * iterators.[Ch]:
2891         * lyx_cb.C:
2892         * paragraph.C:
2893         * rowpainter.C:
2894         * tabular.C:
2895         * text.C:
2896         * text2.C:
2897         * text3.C: adjust
2898
2899         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2900
2901         * undo.C: fix cursor positioning
2902
2903 2003-12-01  John Levon  <levon@movementarian.org>
2904
2905         * BufferView_pimpl.C: fix a crash on exit with
2906         a buffer open
2907
2908 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2909
2910         * BranchList.C: fix setSelected() method.
2911
2912 2003-11-28  André Pönitz  <poenitz@gmx.net>
2913
2914         * ParagraphParameters.[Ch]:
2915         * ParameterStruct.h: remove space above/below from Paragraph to
2916          InsetVSpace
2917
2918         * BufferView_pimpl.C:
2919         * factory.C:
2920         * lyxfunc.C:
2921         * lyxtext.h:
2922         * output_latex.C:
2923         * paragraph.C:
2924         * paragraph_funcs.C:
2925         * rowpainter.[Ch]:
2926         * text.C:
2927         * text2.C:
2928         * text3.C: adjust
2929
2930 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2931
2932         * factory.C: Syntax change for CharStyles
2933
2934 2003-11-28  André Pönitz  <poenitz@gmx.net>
2935
2936         * BufferView.[Ch]:
2937         * BufferView.[Ch]:
2938         * buffer.[Ch]:
2939         * buffer.[Ch]: move LyXText member
2940
2941 2003-11-28  André Pönitz  <poenitz@gmx.net>
2942
2943         * BufferView.[Ch]: make LyXText * text a private member
2944
2945         * BufferView_pimpl.C:
2946         * cursor.C:
2947         * iterators.C:
2948         * lyx_cb.C:
2949         * lyxfind.C:
2950         * lyxtext.h:
2951         * rowpainter.[Ch]:
2952         * text.C:
2953         * text2.C:
2954         * undo.C: adjust
2955
2956         * output_plaintext.C: cleanup
2957
2958 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2959
2960         * buffer.C:
2961         * lyxtextclass.[Ch]: parametrize SGML document header
2962
2963 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2964
2965         * converter.[Ch]:
2966         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2967         getFlavor().
2968
2969 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2970
2971         * text2.C (setFont): rework using PosIterator (no more recursive)
2972         (setCharFont): no more needed
2973         (setLayout): no more selection cursors fiddling (done by redoCursor)
2974         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2975         destroy remaining ones)
2976
2977 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2978
2979         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2980         * lyxtext.h: ditto
2981         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2982         selection cursors
2983         * lyxfunc.C: adjust
2984         * text3.C: adjust + re-allow multi par depth changes
2985         * textcursor.C: simplify a bit
2986
2987 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2988
2989         * src/buffer.C:
2990         * src/lyxlayout.C:
2991         * src/lyxlayout.h:
2992         * src/lyxtext.h:
2993         * src/output_docbook.C:
2994         * src/output_latex.C:
2995         * src/paragraph.C:
2996         * src/paragraph.h:
2997         * src/sgml.C:
2998         * src/sgml.h:
2999         * src/text2.C: Introducing a number of tags parametrizing various
3000         XML formats that we may want to support
3001
3002 2003-11-25  André Pönitz  <poenitz@gmx.net>
3003
3004         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3005
3006         * lyxtext.h (leftMargin/rightMargin): simplify interface
3007
3008         * rowpainter.C:
3009         * text.C:
3010         * text2.C:
3011         * text3.C: adjust
3012
3013 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3014
3015         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3016         master file to any child files. Fixes bug 546.
3017
3018 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3019
3020         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3021
3022 2003-11-24  André Pönitz  <poenitz@gmx.net>
3023
3024         * rowpainter.C: simplification
3025
3026         * text2.C (updateCounters): remove call to redoParagraph on
3027         changed labels as this is far too expensive.
3028
3029 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3030
3031         * converter.C (convert): fix a crash: this function gets
3032         called with buffer == 0 from importer code.
3033
3034 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3035
3036         * text3.C (cursorPrevious): make sure that we do not compare
3037         iterators form different containers.
3038         (cursorNext): ditto
3039
3040         * rowpainter.C (paintSelection): make sure that we do not compare
3041         iterators from different containers.
3042
3043         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3044         iterators from different ParagraphList containers.
3045         [NEXT] ditto
3046
3047         * text2.C (LyXText): change order of initialization slightly
3048         (operator=): new function. copy all variables except cache_par_
3049         (moveUp): make sure that we do not compare iterators from
3050         different ParagraphList constainers.
3051         (moveDown): ditto
3052
3053         * text.C (firstPar): new function
3054         (lastPar): new function
3055         (endPar): new function
3056
3057         * lyxtext.h: move things around and group public functions, public
3058         variables, private functions, private variables
3059
3060 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3061
3062         * factory.C: change call to InsetERT constructor to avoid
3063         additional invocation of method status
3064         * text2.C (toggleInset): remove redundant update() call
3065         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3066         instead of a Bufferview pointer
3067
3068 2003-11-21  André Pönitz  <poenitz@gmx.net>
3069
3070         * rowpainter.C: simplification
3071
3072 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * text3.C (dispatch): make possible to extend a word/row selection
3075         with the mouse
3076
3077 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3078
3079         * lyxtext.h: x0_,y0_ -> xo_,yo_
3080         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3081         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3082         * rowpainter.C (paintRows): paint full paragraphs
3083
3084 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3087         screen coordinates)
3088
3089 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3090
3091         * lyxtext.h: add x0_, y0_
3092         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3093         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3094
3095 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3096
3097         * text2.C (setCursorIntern): move the x_target update here *
3098         * text3.C: change some bv() to true/false in calls to
3099         cursorUp/Down/Right/Left
3100         * cursor.C: use helper function.
3101
3102 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3103
3104         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3105         * paragraph_funcs.[Ch]: correct comment
3106         * rowpainter.C: do not paint selections away from bv->cursor()
3107         Fix a long standing selection painting bug.
3108         * text3.C: generalize mouse-selection code to LyXTexts other that
3109         top one
3110         * textcursor.C: do not use y coords if we can use par offsets
3111
3112 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3113
3114         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3115         cursor position after e.g. inset insert)
3116
3117 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3118
3119         * lyxfind.C (replace): adjust to locking removal + some
3120         code simplification
3121
3122 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3123
3124         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3125         of the path
3126
3127 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3128
3129         * lyxlayout.[Ch]:
3130         * output_docbook.C: XML sanitation: new layout
3131         parameters InnerTag and CommandDepth
3132
3133 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3134
3135         * BufferView_pimpl.C:
3136         * factory.C:
3137         * text3.C: Fix the insertion and modification of button-style
3138         insets
3139
3140 2003-11-13  André Pönitz  <poenitz@gmx.net>
3141
3142         * InsetList.[Ch]: remove deleteLyXText
3143
3144         * paragraph.[Ch]: cache beginOfBody position
3145
3146         * Bidi.C:
3147         * text.C:
3148         * text2.C:
3149         * text3.C: remove superfluous update() calls
3150
3151         * vspace.C: cleanup
3152
3153 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3154
3155         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3156         * BufferView.C (fitLockedInsetCursor): remove
3157         * cursor.[Ch] (getDim): add
3158         * text.C (getRowNearY): add faster version
3159         * text3.C: remove some update calls
3160
3161 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3162
3163         * LaTeXFeatures.C:
3164         * LyXAction.C:
3165         * MenuBackend.C:
3166         * MenuBackend.h:
3167         * dispatchresult.h:
3168         * factory.C:
3169         * lfuns.h:
3170         * lyxfunc.C:
3171         * lyxtextclass.C:
3172         * lyxtextclass.h:
3173         * text3.C: The Character Style /XML short element patch.
3174
3175 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3176
3177         * text3.C:
3178         * factory.C: Small step to solving 'unable to insert some insets'
3179         problem
3180
3181 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3182
3183         * cursor.[Ch] (updatePos): new function for updating the y
3184         position of the tip inset
3185         * bufferview_funcs.C (put_selection_at):
3186         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3187
3188 2003-11-11  André Pönitz  <poenitz@gmx.net>
3189
3190         * text.C: remove big comment on invalid Paragraph pointers as it is
3191         not valid anymore
3192
3193 2003-11-11  André Pönitz  <poenitz@gmx.net>
3194
3195         * text_funcs.[Ch]: merge with ...
3196
3197         * text.C: ... this
3198
3199         * lyxtext.h:
3200         * text2.C:
3201         * text3.C: adjust
3202
3203         * Makefile.am: remove text_funcs.[Ch]
3204
3205 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3206
3207         * cursor.C (getPos): return absolute cached y coord
3208
3209         * BufferView_pimpl.C (fitCursor): new simplistic code
3210         (workAreaDispatch): add a fitCursor call
3211
3212 2003-11-10  André Pönitz  <poenitz@gmx.net>
3213
3214         * BufferView.[Ch]:
3215         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3216
3217 2003-11-10  André Pönitz  <poenitz@gmx.net>
3218
3219         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3220         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3221         indicate that the cursor needs to leave an inset
3222
3223         * lyxtext.h: remove inset locking
3224
3225         * cursor.[Ch]: re-implement functionality provided by inset locking
3226
3227         * BufferView.[Ch]:
3228         * BufferView_pimpl.[Ch]:
3229         * LyXAction.C:
3230         * bufferview_funcs.[Ch]:
3231         * factory.C:
3232         * funcrequest.[Ch]:
3233         * iterators.C:
3234         * lyx_cb.C:
3235         * lyxfind.C:
3236         * lyxfunc.C:
3237         * text.C:
3238         * text2.C:
3239         * text3.C:
3240         * undo.C: adjust
3241
3242 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * PosIterator.[Ch]: replace the stack with a vector, add inset
3245         accesor
3246         * iterators.[C]: adjust
3247
3248 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3251         replaced
3252         * paragraph_funcs.C (readParToken): put the correct id in the
3253         error item, not the id of the top paragraph
3254
3255 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3256
3257         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3258         * bufferview_funcs.C (put_selection_at): use the above
3259
3260 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3261
3262         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3263
3264 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3265
3266         * output_linuxdoc.h:
3267         * output_plaintext.h:
3268         * output.h:
3269         * output_docbook.h: add #include statements
3270
3271 2003-11-05  José Matos  <jamatos@lyx.org>
3272
3273         * output_docbook.[Ch]:
3274         * output_latex.[Ch]:
3275         * output_linuxdoc.[Ch]:
3276         * output_plaintext.[Ch]: New files for output formats.
3277         * output.[Ch]: New file for helper functions.
3278
3279         * buffer.[Ch]:
3280         * paragraph_funcs.[Ch]: output functions moved to new files.
3281
3282         * outputparams.h: rename of latexrunparams.h
3283
3284         * LaTeX.[Ch]:
3285         * buffer.[Ch]:
3286         * bufferlist.[Ch]:
3287         * converter.[Ch]:
3288         * exporter.C:
3289         * paragraph.[Ch]:
3290         * paragraph_funcs.[Ch]:
3291         * paragraph_pimpl.[Ch]:
3292         * tabular.[Ch]: rename ascii to plaintext
3293         and LatexRunParams to OutputParams.
3294
3295 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3296
3297         * iterators.[Ch] (text): require bv argument
3298         * undo.C (recordUndo):
3299         * lyxfunc.C (dispatch):
3300         * bufferview_funcs.C (put_selection_at): adjust
3301
3302 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3303
3304         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3305
3306 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3307
3308         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3309         nestings
3310
3311 2003-11-04  André Pönitz  <poenitz@gmx.net>
3312
3313         * cursor.[Ch]: restructure
3314
3315         * BufferView.[Ch]:
3316         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3317
3318         * iterators.[Ch] (asCursor): remove
3319
3320         * lfuns.h: remove LFUN_INSET_EDIT
3321
3322         * lyxfunc.C:
3323         * tabular.C:
3324         * text.C:
3325         * text2.C:
3326         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3327
3328 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3329
3330         * lyxfind.[Ch]: complete overhaul
3331         * BufferView_pimpl.C:
3332         * lyxfunc.C: adjust
3333         * paragraph.[Ch] (insert): add
3334
3335 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3336
3337         * BufferView.[Ch]:
3338         * lyxtext.h:
3339         * text.C: remove dead spellcheck code
3340
3341 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * dispatchresult.h: add a val setter
3344
3345         * cursor.C (dispatch): use a tempvar for data_[i]
3346
3347 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3348
3349         * PosIterator.[Ch]: compile fix
3350
3351 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3352
3353         * text.C (cursorPar): deactivate the cursor cache
3354
3355 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3356
3357         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3358
3359 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3360
3361         * text3.C (dispatch): adjust for new DisptchResult semantics.
3362
3363         * lyxfunc.C (dispatch): handle update when return from
3364         Cursor::dispatch, adjust for new DispatchResult semantics.
3365
3366         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3367         DispatchResult(true) mean to not update. Add class functions for
3368         setting dispatched and update, as well as reading.
3369
3370         * cursor.C (dispatch): don't handle update here
3371
3372 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3373
3374         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3375         * trans_mgr.C: adjust
3376
3377         * paragraph_funcs.C (readParToken): exception safety
3378
3379         * lyxvc.h: store the vcs pointer in a scoped_ptr
3380         * lyxvc.C: adjust
3381
3382         * lyxsocket.C (serverCallback): exception safety
3383
3384         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3385
3386         * ispell.C (clone): make it return a auto_ptr
3387
3388         * factory.C (createInset): exception safety
3389         (readInset): exception safety
3390
3391         * bufferlist.C (newBuffer): exception safety
3392
3393         * Thesaurus.C (Thesaurus): use initialization for aik_
3394
3395         * MenuBackend.C (expandToc): exception safety.
3396
3397 2003-11-03  André Pönitz  <poenitz@gmx.net>
3398
3399         * buffer.C:
3400         * buffer.h:
3401         * bufferview_funcs.C: remove getInsetFromId()
3402
3403         * lyxcursor.[Ch]:
3404         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3405
3406         * lyxfunc.C:
3407         * text2.C:
3408         * text3.C: adjust
3409
3410 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3411
3412         * PosIterator.C (distance, advance): new
3413         * bufferview_funcs.[Ch] (put_selection_at): new
3414         * iterators.[Ch] (lockPath): new
3415
3416 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3417
3418         * iterators.[Ch] (asPosIterator): added
3419         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3420         * PosIterator.[Ch]: added
3421
3422 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * text3.C:
3425         * lyxfunc.C:
3426         * cursor.C (dispatch):
3427         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3428
3429         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3430         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3431         contructor, add a class function dispatched. Remove operator>=
3432
3433 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * debug.C: only use the default constructor for debugstream
3436         (lyxerr) here.
3437
3438         * main.C (main): include debug.h and setup the lyxerr streambuf
3439         here.
3440
3441 2003-10-31  José Matos  <jamatos@lyx.org>
3442
3443         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3444
3445         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3446         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3447         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3448         * paragraph_pimpl.C (simpleTeXSpecialC):
3449         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3450         add LatexRunParams argument.
3451
3452         * exporter.C (Export): change call accordingly.
3453
3454         * latexrunparams.h: add new member to take care of the other backends.
3455 2003-10-30  José Matos  <jamatos@lyx.org>
3456
3457         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3458         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3459         factorise code for paragraph output.
3460         * buffer.[Ch]:
3461         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3462         move functions.
3463
3464 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3465
3466         * text3.C (dispatch):
3467         * lyxfunc.C (dispatch):
3468         * cursor.C (dispatch):
3469         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3470
3471         * dispatchresult.h: make the dispatch_result_t ctor explicit
3472
3473 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3474
3475         * sgml.[Ch]:
3476         * buffer.C: small refactoring of docbook stuff
3477
3478 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3481         meaning.
3482
3483 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3486         operator dispatch_result_t, and operators for == != and >=
3487
3488         * cursor.C (dispatch): adjust for operator dispatch_result_t
3489         removal. comment out call to update
3490
3491         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3492
3493 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3494
3495         * text3.C:
3496         * text2.C:
3497         * text.C:
3498         * lyxtext.h:
3499         * lyxfunc.C:
3500         * cursor.C:
3501         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3502         (dispatch):
3503
3504         * dispatchresult.h: new file, DispatchResult broken out of
3505         insets/insetbase.h
3506
3507         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3508
3509 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3510
3511         * text.C (rowBreakPoint): put a hack inside #if 0
3512
3513 2003-10-28  André Pönitz  <poenitz@gmx.net>
3514
3515         * lyxtext.h:
3516         * metricsinfo.C:
3517         * paragraph_funcs.C:
3518         * rowpainter.C:
3519         * text.C:
3520         * text2.C: general cleanup (lots of small stuff)
3521
3522 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3523
3524         * text2.C (cursorEnd): simple fix to the "end key goes to one
3525         before the end on last row" bug
3526
3527 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3528
3529         * text.C (backspace): fix the "zombie characters"
3530
3531 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3532
3533         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3534
3535 2003-10-27  André Pönitz  <poenitz@gmx.net>
3536
3537         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3538
3539         * factory.C: handle new InsetPagebreak, InsetLine
3540
3541         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3542         and move handling into new InsetPagebreak, InsetLine
3543
3544         * BufferView_pimpl.C:
3545         * LyXAction.C:
3546         * ParagraphParameters.C:
3547         * ParameterStruct.h:
3548         * lyxfunc.C:
3549         * lyxtext.h:
3550         * paragraph.C:
3551         * paragraph.h:
3552         * paragraph_funcs.C:
3553         * paragraph_pimpl.C:
3554         * rowpainter.C:
3555         * text.C:
3556         * text2.C:
3557         * text3.C: adjust
3558
3559 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * text.C:
3562         * lyxrow_funcs.[Ch]:
3563         * Bidi.C:
3564         * paragraph.C:
3565         * lyxtext.h:
3566         * rowpainter.C:
3567         * text2.C:
3568         * text3.C: remove lastPos uses in favour of Row::endpos
3569
3570 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3571
3572         * undo.C (performUndoOrRedo): fix two crashes by setting a
3573         cursor by hand and reordering some calls. Use bv->lockInset instead
3574         of inset->edit because the latter loses cursor information
3575
3576 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3579         by Martin
3580         (rowBreakPoint): fix width. change point to point + 1.
3581         Add a missing check.
3582
3583 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3584
3585         * MenuBackend.C:
3586         * lyxfunc.C: fix (at least partly) the problems
3587         with the Nav menu and headers inside branch insets
3588         reported by Kayvan
3589
3590 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3591
3592         * paragraph.C (getChar): add strong asserts
3593
3594         * lyxrow_funcs.C (lastPos): remove hideous hack
3595
3596         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3597         (fill): adjust to that (avoid an infinite loop)
3598
3599 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3600
3601         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3602
3603 2003-10-23  André Pönitz  <poenitz@gmx.net>
3604
3605         * RowList_fwd.h: change list<> to vector<> to gain speed
3606         after suggestion from Alfredo
3607
3608 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3609
3610         * lyxtext.h: move the bidi stuff from here...
3611         * text.C: and here
3612         * text2.C: and here
3613         * Bidi.[Ch]: ... to here
3614
3615 2003-10-23  André Pönitz  <poenitz@gmx.net>
3616
3617         * lyxtext.h:
3618         * text.C (isLastRow, isFirstRow): new functions
3619
3620         * paragraph.h: new width cache member
3621
3622         * rowpainter.C: replace RowList::iterator with Row & where possible
3623
3624         * lyxfunc.C: replace several view()->text with a single call
3625
3626         * toc.C: fix 'unused' warning
3627
3628 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3631         when woring with stream::pos_type
3632         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3633
3634 2003-10-22  André Pönitz  <poenitz@gmx.net>
3635
3636         * lyxtext.h:
3637         * text.C: use Row & instead of RowList::iterator
3638
3639         * lyxrow.h: rename end() to endpos()
3640
3641         * rowpainter.C:
3642         * text.C:
3643         * text2.C: adjust
3644
3645 2003-10-22  Angus Leeming  <leeming@lyx.org>
3646
3647         * buffer.[Ch] (fully_loaded): new member function, returning true
3648         only when the file has been loaded fully.
3649         Used to prevent the premature generation of previews and by the
3650         citation inset to prevent computation of the natbib-style label.
3651
3652         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3653         templates are all set up.
3654
3655         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3656
3657 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3658
3659         * text.C: fixed an "oops" in the "is a bit silly"
3660         bug fix
3661
3662 2003-10-21  André Pönitz  <poenitz@gmx.net>
3663
3664         * FuncStatus.[Ch]: small stuff, whitespace
3665
3666         * lyxfont.[Ch]: operator<<() for debug reasons
3667
3668         * lyxfunc.C:
3669         * lyxrow_funcs.C:
3670         * lyxtext.h: whitespace, spelling
3671
3672         * paragraph.C: naming of variables
3673
3674         * text.C:
3675         * text2.C: small stuff
3676
3677
3678 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3679
3680         * text.C: (1) finish off the inset display() work;
3681         (2) fix the "is a bit silly" bug (accessing char
3682         past end of par).
3683
3684 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3685
3686         * text.C: re-introduce display() for insets, fixing the
3687         various bugs (stretch of line above, math inset
3688         positioning, ...)
3689
3690 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3691
3692         * text.C (rightMargin): remove spurious semicolon
3693
3694         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3695         1415)
3696
3697 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3698
3699         * text3.C: fix one crash due to wrong cursor def
3700
3701 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * vc-backend.C (scanMaster): make the regex static
3704
3705         * LaTeX.C (scanAuxFile): make the regexs static
3706
3707         * text3.C (doInsertInset, dispatch, dispatch):
3708         * text2.C (cursorUp, cursorDown):
3709         * text.C (selectNextWordToSpellcheck):
3710         * BufferView_pimpl.C (dispatch):
3711         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3712
3713 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3714
3715         * lyxsocket.C: include <cerrno>
3716
3717 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * lyxfunc.C (dispatch): remove textcache stuff
3720
3721         * bufferlist.C (release): remove textcache stuff
3722         (closeAll): ditto
3723
3724         * TextCache.C: delete file
3725         * TextCache.h: delete file
3726
3727         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3728
3729         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3730         delete of the bv_->text.
3731         (resizeCurrentBuffer): remove texcache stuff
3732         (workAreaResize): ditto
3733
3734 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3737         action.
3738
3739 2003-10-16  André Pönitz  <poenitz@gmx.net>
3740
3741         * lyxrow.[Ch]:
3742         * paragraph.h:
3743         * rowpainter.C:
3744         * text.C:
3745         * text2.C:
3746         * text3.C: speed up by storing y positions per paragraph plus per-row
3747         offset instead of having a 'full' y position in the row.
3748
3749 2003-10-15  André Pönitz  <poenitz@gmx.net>
3750
3751         * iterators.[Ch]:
3752         * iterators.[Ch]:
3753         * undo.[Ch]: make undo aware of inner insets
3754
3755 2003-10-14  Angus Leeming  <leeming@lyx.org>
3756
3757         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3758         static member functions LyX::ref() and LyX::cref.
3759         (lastfiles): new accessor functions for the new lastfiles_ member var.
3760         (addLyXView, views_): add a new LyXView to the list of views_.
3761         (updateInset): loop over all LyXViews to call their own updateInset
3762         member function, returning a pointer to the Buffer owning the inset.
3763
3764         * BufferView_pimpl.C (loadLyXFile):
3765         * MenuBackend.C (expandLastfiles):
3766         * bufferlist.C (MenuWrite, QuitLyX):
3767         lastfiles is no longer a global variable.
3768         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3769
3770         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3771         static function. Access through LyX::cref().emergencyCleanup().
3772
3773 2003-10-14  André Pönitz  <poenitz@gmx.net>
3774
3775         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3776
3777         * undo.[Ch]: restoring part of 'undo in insets'
3778
3779         * Makefile.am:
3780         * undo_funcs.[Ch]: merge with undo.[Ch]
3781
3782         * tabular.C: small cleansing stuff
3783
3784 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * paragraph_funcs.C (readParToken): report unknown insets as error
3787         boxes. Use the outer paragraph as location (also for unknown
3788         tokens).
3789
3790         * factory.C (readInset): do not abort on reading an unknown inset.
3791         Eat it and return 0.
3792
3793 2003-10-13  Angus Leeming  <leeming@lyx.org>
3794
3795         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3796
3797         * lyxrc.C: displayTranslator is now a function,
3798         declared in GraphicsTypes.h.
3799
3800 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3801
3802         * format.C: new placeholder $$a to pass the socket address.
3803
3804         * bufferlist.[Ch]: new function getBufferFromTmp.
3805
3806         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3807           files in the temporary dir.
3808
3809 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3810
3811         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3812
3813         * Makefile.am: add lyxsocket.[Ch].
3814
3815         * lyx_main.C (error_handler): handle SIGPIPE.
3816
3817 2003-10-13  André Pönitz  <poenitz@gmx.net>
3818
3819         * BufferView_pimpl.C:
3820         * lyxtext.h:
3821         * text.C:
3822         * text2.C:
3823         * text3.C:
3824         * undo_funcs.[Ch]: use paroffset_type instead of
3825           ParagraphList::iterators to prevent multiple conversion
3826           (and get a more robust interface)
3827
3828 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3831         * lyxtext.h: ditto
3832         * text3.C (dispatch): ditto
3833
3834 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3835
3836         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3837         move the onlyfile, use onlyfile instead of foundfile in a couple
3838         of places.
3839
3840         * DepTable.C (update): flush the error stream a bit more
3841
3842 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * lyxserver.C (callback): adjust
3845
3846         * lyxfunc.C (getStatus): add a missing brace in commented code
3847         (ensureBufferClean): reindent
3848         (dispatch): delete version taking a string
3849
3850 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * LaTeX.C (deplog): move found file handlig from here...
3853         (handleFoundFile): .. to new function here.
3854         (deplog): make sure to discover several files mentioned on the
3855         same log line.
3856
3857 2003-10-10  André Pönitz  <poenitz@gmx.net>
3858
3859         * lyxfunc.C:
3860         * lyxtext.h:
3861         * tabular.C:
3862         * text.C:
3863         * text2.C:
3864         * text3.C: fix some of the tabular crashes
3865
3866 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3867
3868         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3869
3870         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3871
3872 2003-10-09  André Pönitz  <poenitz@gmx.net>
3873
3874         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3875
3876         * BufferView.C:
3877         * BufferView_pimpl.C:
3878         * bufferview_funcs.C:
3879         * lyx_cb.C:
3880         * lyxcursor.C:
3881         * lyxfind.C:
3882         * lyxfunc.C:
3883         * lyxtext.h:
3884         * text.C:
3885         * text2.C:
3886         * text3.C:
3887         * text_funcs.[Ch]:
3888         * textcursor.[Ch]:
3889         * undo_funcs.C: adjust
3890
3891 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3892
3893         * text2.C (incrementItemDepth): new function, use a backtracking
3894         algorithm to discover the correct item depth.
3895         (resetEnumCounterIfNeeded): new function, use a backtracking
3896         algorithm to discover if counter reset is needed.
3897         (setCounter): use them. Simplify a bit. Add different labels for
3898         different item depths for itemize.
3899
3900         * paragraph.C (Paragraph): remove initialization of enumdepth
3901         (operator=): ditto
3902
3903         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3904         enumerate and itemize. Change the type of itemdepth to signed char.
3905
3906 2003-10-08  André Pönitz  <poenitz@gmx.net>
3907
3908         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3909           thing assignable.
3910         * text.C:
3911         * text2.C: adjust
3912
3913         * tabular.[Ch]: fix crash after 'row-insert'
3914
3915 2003-10-08  Angus Leeming  <leeming@lyx.org>
3916
3917         Fix doxygen warnings.
3918
3919         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3920         Remove CutAndPaste:: prefix from header file declaration.
3921
3922         * LColor.h (fill): remove LColor:: prefix from declaration.
3923
3924         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3925         use lyx::depth_type rather than Paragraph::depth_type so that
3926         header file and .C file match.
3927
3928         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3929
3930         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3931         * aspell.C: \file aspell_local.C -> \file aspell.C
3932         * gettext.C: \file gettext.C -> \file src/gettext.C
3933         * gettext.h: \file gettext.h -> \file src/gettext.h
3934         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3935         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3936         * text.C: \file text.C -> \file src/text.C
3937
3938         * toc.C: move comment so that doxygen is not confused.
3939
3940 2003-10-07  Angus Leeming  <leeming@lyx.org>
3941
3942         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3943
3944 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3945
3946         * aspell.C:
3947         * aspell_local.h: add forgotten std::string's.
3948
3949 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3950
3951         * LaTeXFeatures.C:
3952         * LyXAction.C:
3953         * factory.C:
3954         * lfuns.h:
3955         * lyxfunc.C:
3956         * text3.C: The Box patch. Fancybox support, minipage, parbox
3957
3958 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3959
3960         * CutAndPaste.h:
3961         * DepTable.h:
3962         * FloatList.h:
3963         * LaTeXFeatures.h:
3964         * ParagraphParameters.h:
3965         * TextCache.h:
3966         * Thesaurus.h:
3967         * bufferlist.h:
3968         * exporter.h:
3969         * importer.h:
3970         * lastfiles.h:
3971         * lyxfind.h:
3972         * lyxfont.h:
3973         * lyxlex.h:
3974         * lyxtextclasslist.h:
3975         * messages.h:
3976         * paragraph.h:
3977         * paragraph_pimpl.C:
3978         * textcursor.h: add <string> and other small fixes to make Lars'
3979         std::string patch compile with STLport.
3980
3981 2003-10-06  Angus Leeming  <leeming@lyx.org>
3982
3983         * LColor.h: Add missing #include <string>.
3984
3985 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * All most all file in all subdirs: Make <string> be the prefered
3988         way of getting to std::string, add using declarations.
3989
3990 2003-10-06  André Pönitz  <poenitz@gmx.net>
3991
3992         * metricsinfo.C: initialize LyXFont before changing attribute.
3993         (fixes the 'math in \emph is upright' bug)
3994
3995 2003-10-06  André Pönitz  <poenitz@gmx.net>
3996
3997         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3998
3999 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4000
4001         * graph.C:
4002         * paragraph_pimpl.C: Small fixes to build using STLport
4003
4004 2003-10-02  André Pönitz  <poenitz@gmx.net>
4005
4006         * lyxfunc.C:
4007         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4008
4009 2003-10-01  André Pönitz  <poenitz@gmx.net>
4010
4011         * factory.C: assert early
4012
4013 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4014
4015         * lyx_main.C: remove the global debug object
4016
4017         * debug.h: adjust for new debugstream
4018
4019         * debug.C: adjust for new debugstream and keep the global debug
4020         object here.
4021
4022 2003-09-22  Angus Leeming  <leeming@lyx.org>
4023
4024         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4025         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4026         an incomplete class LyXFont.
4027
4028 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4029
4030         * factory.C: bug fix in branches
4031
4032 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * lyxfunc.C (processKeySym): adjust
4035         (dispatch): adjust
4036         (dispatch): change arg name from ev to func, adjust
4037         (sendDispatchMessage): ditto
4038
4039         * lyx_main.C (defaultKeyBindings): adjust keybindings
4040         (deadKeyBindings): ditto
4041
4042         * kbsequence.C (addkey): return a FuncRequest
4043
4044         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4045
4046         * kbmap.C (bind): take a FuncRequest as arg, adjust
4047         (read): adjust
4048         (lookup): adjust
4049         (defkey): change to take a FuncRequest as arg, adjust
4050         (findbinding): take a FuncRequest as arg, adjust.
4051
4052         * funcrequest.h (operator=): added
4053
4054         * funcrequest.C (FuncRequest): default kb_action changed from
4055         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4056
4057         * buffer.C (dispatch): simplify
4058         (dispatch): adjust to take a FuncRequest as arg, adjust
4059
4060         * boost.C (assertion_failed): change assertion message slightly
4061
4062         * ToolbarBackend.C (read): simplify
4063
4064         * MenuBackend.C (binding): adjust call to findbinding, add a
4065         message if no binding is found.
4066         (read): simplify
4067         (expandToc): correct by adding a empty FuncRequest
4068
4069         * LyXAction.C: include <boost/assert.hpp>
4070         (isPseudoAction): delete function
4071         (LookupFunc): change name to...
4072         (lookupFunc): this. change return type to FuncRequest.
4073         (getActionName): take kb_action as arg, simplify
4074         (funcHasFlag): add an assert, simplify.
4075
4076 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * toc.C (action): return a FuncRequest, simplify
4079
4080         * lyxfunc.C (processKeySym): adjust
4081         (getStatus): delete version that takes an int.
4082         (getStatus): adjust
4083         (dispatch): delete version that takes action as int
4084         (dispatch): adjust
4085         (sendDispatchMessage): simplify and adjust
4086
4087         * funcrequest.C (getArg): take unsigned int as arg
4088
4089         * ToolbarBackend.C (read): adjust
4090         (add): delete version that takes func as a string.
4091         (getIton): take a FuncRequest as arg
4092
4093         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4094         action.
4095
4096         * MenuBackend.C (MenuItem): add a new construct that only takes a
4097         Kind, simplify the constructor use for submenus.
4098         (add): adjust
4099         (expandLastfiles): adjust
4100         (expandDocuments): adjust
4101         (expandFormats): adjust
4102         (expandFloatListInsert): adjust
4103         (expandFloatInsert): adjust
4104         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4105
4106         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4107         Remove class variables lyx_pseudo_map and lyx_arg_map
4108
4109         * LyXAction.C (searchActionArg): delete function
4110         (getPseudoAction): delete function
4111         (retrieveActionArg): delete function
4112         (LookupFunc): make it return kb_action, simplify.
4113         (getActionName): simplify
4114
4115         * factory.C (createInset): fix new bug
4116
4117 2003-09-19  Angus Leeming  <leeming@lyx.org>
4118
4119         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4120         masterFilename_ parameter in the include inset.
4121
4122         * factory.C (createInset): changes due to the changes to InsetInclude.
4123
4124 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4125
4126         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4127
4128 2003-09-18  Angus Leeming  <leeming@lyx.org>
4129
4130         * buffer.C:
4131         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4132         Inset::fillWithBibKeys.
4133         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4134
4135 2003-09-18  Angus Leeming  <leeming@lyx.org>
4136
4137         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4138         variables.
4139         (ctor): pass and store a 'Buffer const &'
4140         (buffer): new member function.
4141
4142         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4143         '*this' to the LaTeXFeatures ctor.
4144
4145 2003-09-18  Angus Leeming  <leeming@lyx.org>
4146
4147         * LColor.h:
4148         * lyxfont.C:
4149         * lyxfont.h:
4150         * lyxtext.h:
4151         * text.C: rename EnumLColor as LColor_color.
4152
4153 2003-09-18  Angus Leeming  <leeming@lyx.org>
4154
4155         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4156         remove #include "insets/insetbase.h" from cursor.h.
4157
4158 2003-09-18  Angus Leeming  <leeming@lyx.org>
4159
4160         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4161         InsetOld_code to remove #include "inset.h".
4162
4163         * iterators.C: add #include "insets/inset.h"
4164
4165 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4166
4167         * BufferView.C: remove more locking stuff that apparently doesn't
4168         do anything sensible.
4169
4170 2003-09-16  André Pönitz  <poenitz@gmx.net>
4171
4172         * paragraph.[Ch]:
4173         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4174           performance boost.
4175
4176 2003-09-16  Angus Leeming  <leeming@lyx.org>
4177
4178         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4179
4180         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4181         arg/return type.
4182
4183         * paragraph.h: remove #include "lyxfont.h". Forward declare
4184         LyXFont_size.
4185
4186 2003-09-16  Angus Leeming  <leeming@lyx.org>
4187
4188         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4189         of support/textutils.h.
4190         (isWord): move the contents of support/textutils.h's IsWordChar here.
4191
4192         * buffer.C:
4193         * lyxfind.C:
4194         * rowpainter.C:
4195         * text.C:
4196         * text2.C: add #include "paragraph.h".
4197
4198         * rowpainter.C:
4199         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4200
4201 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * main.C:
4204         * lyx_main.C:
4205         * lyx_cb.C:
4206         * buffer.C:
4207         * LaTeX.C: use namespace alias for lyx::support::os
4208
4209 2003-09-16  Angus Leeming  <leeming@lyx.org>
4210
4211         * bufferparams.C:
4212         * bufferview_funcs.C:
4213         * factory.C:
4214         * lyxfunc.C:
4215         * paragraph_pimpl.C:
4216         * rowpainter.C:
4217         * text.C: add #include "LColor.h".
4218
4219 2003-09-16  Angus Leeming  <leeming@lyx.org>
4220
4221         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4222         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4223         return LyXFont &.
4224         Store the FontBits::color variable as an int rather than as an
4225         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4226         file.
4227
4228         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4229         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4230         string calls together.
4231
4232         * lyxrc.C: add #include "LColor.h".
4233
4234 2003-09-15  Angus Leeming  <leeming@lyx.org>
4235
4236         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4237         a cow_ptr.
4238
4239 2003-09-15  Angus Leeming  <leeming@lyx.org>
4240
4241         * LColor.h: add an EnumLColor wrapper for LColor::color.
4242
4243         * lyxfont.[Ch] (color, setColor, realColor):
4244         * lyxtext.h, text.C (backgroundColor):
4245         pass EnumLColor args to/from the functions, rather than LColor::color
4246         ones.
4247
4248         * lyxfont.h:
4249         * lyxtext.h: forward declare EnumLColor.
4250
4251         * lyx_main.C: add #include "LColor.h".
4252
4253 2003-09-15  Angus Leeming  <leeming@lyx.org>
4254
4255         * .cvsignore: add lyx-gtk.
4256
4257 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * Chktex.C
4260         * LaTeX.C
4261         * LaTeXFeatures.C
4262         * ParagraphParameters.C
4263         * Spacing.C
4264         * buffer.C
4265         * bufferparams.C
4266         * bufferview_funcs.C
4267         * chset.C
4268         * counters.C
4269         * funcrequest.C
4270         * lyxfont.C
4271         * lyxgluelength.C
4272         * lyxlength.C
4273         * paragraph.C
4274         * paragraph_funcs.C
4275         * text3.C
4276         * vc-backend.C: remove usage of STRCONV
4277
4278 2003-09-15  Angus Leeming  <leeming@lyx.org>
4279
4280         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4281         explicitly define the color passed to the painter.
4282
4283 2003-09-15  Angus Leeming  <leeming@lyx.org>
4284
4285         * bufferparams.C (BufferParams): reorder member initializers to avoid
4286         compiler warning.
4287
4288 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4291         * text.C (updateRowPositions): remove an unusual nop
4292
4293 2003-09-12  André Pönitz  <poenitz@gmx.net>
4294
4295         * BufferView_pimpl.C:
4296         * Bullet.C:
4297         * layout.h:
4298         * lyxfunc.C:
4299         * lyxlayout.[Ch]:
4300         * lyxtextclass.C:
4301         * rowpainter.C:
4302         * text.C:
4303         * text2.C:
4304         * Counters.[Ch]: finish the 'automatic counters' job
4305
4306 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4307
4308         * aspell.C: include <boost/assert.cpp> (compile fix)
4309
4310 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4311
4312         * boost.C (assertion_failed): use lyx::support::abort instead of
4313         assert.
4314
4315 2003-09-10  Angus Leeming  <leeming@lyx.org>
4316
4317         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4318         with their _fwd progeny.
4319
4320 2003-09-09  Angus Leeming  <leeming@lyx.org>
4321
4322         134 files throughtout the source tree: replace 'using namespace abc;'
4323         directives with the appropriate 'using abc::xyz;' declarations.
4324
4325 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4326
4327         * boost.C (emergencyCleanup): moved here from LAssert.c
4328         (assertion_failed): new function, called by BOOST_ASSERT
4329
4330         * several files: change Assert to BOOST_ASSERT
4331
4332 2003-09-09  Angus Leeming  <leeming@lyx.org>
4333
4334         * buffer.[Ch]: Add an Impl class and move Buffer's member
4335         variables into it. As a result move several header files out of
4336         buffer.h.
4337
4338         Add header files to lots of .C files all over the tree as a result.
4339
4340 2003-09-09  Angus Leeming  <leeming@lyx.org>
4341
4342         * buffer.[Ch]: make Buffer's member variables private. Add
4343         accessor functions.
4344
4345         Lots of changes all over the tree as a result.
4346
4347 2003-09-08  Angus Leeming  <leeming@lyx.org>
4348
4349         * graph.C: #include <config.h>.
4350
4351 2003-09-08  Angus Leeming  <leeming@lyx.org>
4352
4353         * BranchList.C:
4354         * BufferView.C:
4355         * BufferView_pimpl.C:
4356         * CutAndPaste.C:
4357         * DepTable.C:
4358         * LaTeX.C:
4359         * LaTeXFeatures.C:
4360         * LyXAction.C:
4361         * MenuBackend.C:
4362         * TextCache.C:
4363         * aspell.C:
4364         * buffer.C:
4365         * bufferlist.C:
4366         * changes.C:
4367         * chset.C:
4368         * converter.C:
4369         * counters.C:
4370         * debug.C:
4371         * graph.C:
4372         * ispell.C:
4373         * lyx_cb.C:
4374         * lyxfind.C:
4375         * lyxfunc.C:
4376         * lyxlex_pimpl.C:
4377         * lyxrc.C:
4378         * lyxrow.C:
4379         * paragraph.C:
4380         * rowpainter.C:
4381         * texrow.C:
4382         * text.C:
4383         * text2.C:
4384         * toc.C: remove redundant using directives.
4385
4386 2003-09-07  Angus Leeming  <leeming@lyx.org>
4387
4388         * LaTeXFeatures.h: remove #include "support/types.h".
4389         * ToolbarBackend.h: remove #include <algorithm>.
4390         * changes.h: remove #include <ctime>.
4391         * debug.h: remove #include <iosfwd>.
4392         * graph.h: remove #include "support/std_string.h".
4393         * lyx_main.h: remove #include <csignal>.
4394         * lyxlex_pimpl.h: remove #include <fstream>.
4395         * sgml.h: remove #include <algorithm>, <utility>.
4396         * toc.h: remove #include "support/std_ostream.h".
4397         Add #include <iosfwd>.
4398
4399 2003-09-07  Angus Leeming  <leeming@lyx.org>
4400
4401         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4402
4403         * converter.h: forward declare LatexRunParams.
4404         * encoding.h: remove #include "lyxrc.h".
4405         * lyxtext.h: remove #include "LColor.h".
4406         * lyxtextclass.h: remove #include "support/types.h".
4407         * trans.h: remove #include "tex-accent.h".
4408         * trans_mgr.h: remove #include "tex-accent.h".
4409         * insets/inset.h: remove #include "support/types.h", <vector>.
4410         * insets/insetcollapsable.h: remove #include "LColor.h".
4411         * insets/insetinclude.h: remove #include "dimension.h".
4412         * insets/insetlatexaccent.h: remove #include "dimension.h".
4413         * insets/insetoptarg.h:: remove #include "insettext.h".
4414         * insets/insettext.h: remove #include "dimension.h",
4415         <boost/shared_ptr.hpp>
4416
4417         * insets/renderers.h: add #include "dimension.h".
4418         * insets/updatableinset.h: add #include "support/types.h".
4419
4420         * many .C files: Associated changes.
4421
4422 2003-09-06  Angus Leeming  <leeming@lyx.org>
4423
4424         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4425         one, inside testInvariant.
4426
4427         * PrinterParams.C: new file.
4428         * PrinterParams.[Ch]: move the function bodies out of line.
4429
4430 2003-09-06  Angus Leeming  <leeming@lyx.org>
4431
4432         * ParagraphParameters.h: forward declare ParameterStruct rather than
4433         including its header file.
4434         (depth): moved out-of-line.
4435
4436 2003-09-06  Angus Leeming  <leeming@lyx.org>
4437
4438         * BufferView_pimpl.h:
4439         * kbmap.h:
4440         * kbsequence.h:
4441         * lyxfunc.h: forward declare LyXKeySym rather than
4442         #include "frontends/LyXKeySym.h".
4443
4444         * BufferView_pimpl.C:
4445         * kbmap.C:
4446         * kbsequence.C:
4447         * lyxfunc.C: associated changes.
4448
4449 2003-09-06  Angus Leeming  <leeming@lyx.org>
4450
4451         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4452         As a result, can remove the #include "insets/inset.h" from BufferView.h
4453
4454 2003-09-06  Angus Leeming  <leeming@lyx.org>
4455
4456         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4457         As a result, can remove the #include "insets/inset.h" from BufferView.h
4458
4459 2003-09-06  Angus Leeming  <leeming@lyx.org>
4460
4461         * buffer_funcs.C:
4462         * buffer.h:
4463         * bufferlist.C:
4464         * BufferView.C:
4465         * bufferview_funcs.C:
4466         * BufferView_pimpl.C:
4467         * CutAndPaste.C:
4468         * lyx_cb.C:
4469         * lyxfunc.C:
4470         * paragraph.h:
4471         * ParagraphParameters.C:
4472         * tabular.C:
4473         * text3.C:
4474         * toc.C:
4475         * undo_funcs.C:
4476         * frontends/controllers/ControlDocument.C:
4477         * insets/insetcaption.C: rearrange the #includes into some sort of
4478         coherent order.
4479
4480         * buffer.h: remove #includes ErrorList.h, undo.h
4481
4482 2003-09-06  Angus Leeming  <leeming@lyx.org>
4483
4484         * support/types.h: add a 'depth_type' typedef, used to store the
4485         nesting depth of a paragraph.
4486
4487         * paragraph.h:
4488         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4489         defining explicitly.
4490
4491         * buffer.h:
4492         * paragraph_funcs.h:
4493         * ParagraphParameters.h:
4494         * sgml.h: use lyx::depth_type rather than Paragraph or
4495         ParameterStruct's depth_type.
4496
4497         * buffer.h
4498         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4499
4500         * BufferView.C:
4501         * BufferView_pimpl.C:
4502         * CutAndPaste.C:
4503         * ParagraphParameters.C:
4504         * buffer_funcs.C:
4505         * bufferlist.C:
4506         * bufferview_funcs.C:
4507         * lyx_cb.C:
4508         * lyxfunc.C:
4509         * tabular.C:
4510         * text3.C:
4511         * toc.C:
4512         * undo_funcs.C:
4513         * frontends/LyXView.C:
4514         * frontends/controllers/ControlDocument.C:
4515         * frontends/controllers/ControlErrorList.C:
4516         * insets/insetbibitem.C:
4517         * insets/insetbranch.C:
4518         * insets/insetcaption.C:
4519         * insets/insetcollapsable.C:
4520         * insets/insetenv.C:
4521         * insets/insetert.C:
4522         * insets/insetfloat.C:
4523         * insets/insetfoot.C:
4524         * insets/insetfootlike.C:
4525         * insets/insetnewline.C:
4526         * insets/insetquotes.C:
4527         * insets/insettabular.C:
4528         * insets/insettext.C:
4529         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4530
4531         * frontends/controllers/ControlChanges.C: #include "changes.h".
4532
4533 2003-09-06  Angus Leeming  <leeming@lyx.org>
4534
4535         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4536         than #including paragraph.h.
4537
4538         * ParagraphList.h:
4539         * RowList.h: deleted. Superfluous.
4540
4541         * CutAndPaste.h:
4542         * iterators.h:
4543         * lyxcursor.h:
4544         * lyxtext.h:
4545         * text_funcs.h:
4546         * undo.h:
4547         * undo_funcs.h:
4548         * insets/inset.h:
4549         * insets/insettext.h: use ParagraphList_fwd.h rather than
4550         ParagraphList.h.
4551
4552         * paragraph.h: don't forward declare ParagraphList.
4553
4554         * buffer.h:
4555         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4556         rather than ParagraphList.h. paragraph.h is still needed for the
4557         Paragraph::depth_type parameters.
4558
4559         * textcursor.h: enable it to compile stand-alone in light of the
4560         above changes.
4561
4562         * bufferview_funcs.C:
4563         * iterators.C:
4564         * lyxfunc.C:
4565         * lyxrow_funcs.C:
4566         * paragraph.C:
4567         * rowpainter.C:
4568         * text.C:
4569         * text2.C:
4570         * text3.C:
4571         * text_funcs.C:
4572         * textcursor.C:
4573         * undo.C:
4574         * frontends/controllers/ControlParagraph.C:
4575         * frontends/controllers/ControlTabular.C:
4576         * insets/insetmarginal.C:
4577         * insets/insetminipage.C:
4578         * insets/insetnote.C:
4579         * insets/insetoptarg.C: add header files needed to compile again.
4580
4581 2003-09-06  Angus Leeming  <leeming@lyx.org>
4582
4583         * RowList_fwd.h: new file, forward-declaring Row rather than
4584         #including lyxrow.h.
4585
4586         * lyxrow_funcs.h:
4587         * lyxtext.h:
4588         * paragraph.h:
4589         * insets/insettext.h: use it instead of RowList.h
4590
4591         * bufferview_funcs.C:
4592         * lyxfunc.C:
4593         * lyxrow_funcs.C:
4594         * paragraph.C:
4595         * rowpainter.C:
4596         * text.C:
4597         * text2.C:
4598         * text3.C: #include "RowList.h".
4599
4600 2003-09-05  Angus Leeming  <leeming@lyx.org>
4601
4602         * factory.C (createInset):
4603         * vspace.C (c-tor): replace sscanf call with an istringstream.
4604         * ispell.C: re-add missing HP/UX headers.
4605         * lyxserver.C: re-add missing  os2 headers.
4606
4607 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4608
4609         * BranchList.C:
4610         * graph.C:
4611         * ispell.C:
4612         * lastfiles.C:
4613         * lyx_cb.C:
4614         * lyxserver.C:
4615         * texrow.C:
4616         * text3.C: re-add missing system headers, needed for 2.95.2.
4617
4618 2003-09-05  Angus Leeming  <leeming@lyx.org>
4619
4620         Changes most place everywhere due to the removal of using directives
4621         from support/std_sstream.h.
4622
4623 2003-09-05  Angus Leeming  <leeming@lyx.org>
4624
4625         Replace LString.h with support/std_string.h,
4626         Lsstream.h with support/std_sstream.h,
4627         support/LIstream.h with support/std_istream.h,
4628         support/LOstream.h with support/std_ostream.h.
4629
4630         Changes resulting throughout the tree.
4631
4632 2003-09-05  Angus Leeming  <leeming@lyx.org>
4633
4634         * sgml.h: ensure that the header file can be compiled stand-alone.
4635         * *.C: strip out redundant #includes. (320 in total.)
4636
4637 2003-09-04  Angus Leeming  <leeming@lyx.org>
4638
4639         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4640         here (from getPackages).
4641
4642         * debug.[Ch]: add a new EXTERNAL tag.
4643
4644 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4645
4646         * text2.C (cursorEnd): simplify
4647         (setCursor): adjust
4648         (getColumnNearX): adjust
4649
4650         * text.C (computeBidiTables): adjust
4651         (fill): adjust
4652
4653         * rowpainter.C (paintChars): adjust
4654         (paintSelection): adjust
4655         (paintChangeBar): adjust
4656         (paintText): adjust
4657
4658         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4659         lastPos instead.
4660         (numberOfSeparators): adjust
4661
4662 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4663
4664         * LyXAction.C:
4665         * box.[Ch]:
4666         * lfuns.h:
4667         * lyxfunc.C:
4668         * text3.C: Restricts the mouse click functionality
4669         of insets like bibtex, include, toc and floatlist to the visible
4670         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4671         up the dialogs. Cursor has to be in front of the inset (i.e.
4672         start of row) for this to function.
4673
4674 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4675
4676         * bufferview_funcs.C (currentState): output row information
4677
4678 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4679
4680         * bufferview_funcs.C (currentState): output paragraph position
4681
4682 2003-09-04  Angus Leeming  <leeming@lyx.org>
4683
4684         * FloatList.h: move out #include "Floating.h".
4685         * LaTeX.h: move out #include "DepTable.h".
4686         * LyXAction.h: move out #include "funcrequest.h".
4687         * buffer.h: move out #include "author.h", "iterators.h".
4688         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4689         * lyx_main.h: move out #include "errorlist.h".
4690         * lyxfunc.h: move out #include "FuncStatus.h".
4691         * lyxtext: move out #include "lyxcursor.h".
4692         * paragraph_pimpl.h: move out #include "counters.h".
4693
4694 2003-09-03  Angus Leeming  <leeming@lyx.org>
4695
4696         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4697         preamble_snippets list, enabling us to add snippets to the preamble
4698         only if the snippet was not there already.
4699
4700 2003-09-04  Angus Leeming  <leeming@lyx.org>
4701
4702         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4703
4704 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4707         update
4708
4709 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4710
4711         * BranchList.C: point fix, earlier forgotten
4712
4713 2003-09-02  Angus Leeming  <leeming@lyx.org>
4714
4715         * box.C (contains): renamed from 'contained' after a fantastic
4716         amount of hot air.
4717
4718 2003-09-02  John Levon  <levon@movementarian.org>
4719
4720         * BufferView.C:
4721         * lyxcursor.h:
4722         * lyxcursor.C:
4723         * lyxfunc.C:
4724         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4725
4726 2003-09-02  John Levon  <levon@movementarian.org>
4727
4728         * text2.C: simplification of cursorEnd(), including partial
4729         fix for bug 1376
4730
4731 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4732
4733         * buffer.C (readFile): add a space
4734
4735 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4736
4737         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4738
4739 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4740
4741         * buffer.C (readFile): new function, take a filename and a
4742         ParagraphList::iterator
4743         (readFile): adjust
4744         (readFile): adjust, make it private. don't use setStream, make
4745         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4746         always contain the filename.
4747
4748         * BufferView.C (insertLyXFile): simplify and make it work for
4749         gzipped files.
4750
4751 2003-08-30  John Levon  <levon@movementarian.org>
4752
4753         * Makefile.am: fix dist (from Kayvan)
4754
4755 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * most files: change to use const Buffer refs
4758
4759 2003-08-27  André Pönitz  <poenitz@gmx.net>
4760
4761         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4762         on top of ownerPar().
4763
4764 2003-08-27  John Levon  <levon@movementarian.org>
4765
4766         * funcrequest.C: properly initialise POD members
4767
4768 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * lyxtext.h (top_y): move top_y from here
4771         * text.C:
4772         * text2.C:
4773         * text3.C:
4774         * BufferView.[Ch]:
4775         * BufferView_pimpl.[Ch]: to here
4776         * frontends/screen.C:
4777         * insets/insettabular.C:
4778         * insets/insettext.C: adjust
4779         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4780
4781 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4782
4783         * BufferView.[Ch]:
4784         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4785
4786 2003-08-26  André Pönitz  <poenitz@gmx.net>
4787
4788         * paragraph_func.[Ch] (outerPar): new function
4789
4790         * paragraph.C:
4791         * paragraph_funcs.C:
4792         * paragraph_funcs.h:
4793         * paragraph_pimpl.C:
4794         * text2.C: remove Inset::par_owner
4795
4796 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4797
4798         * lyxrow_funcs.C:
4799         * lyxtext.h:
4800         * text.C:
4801         * text2.C: eliminates the needFullRow/display() stuff
4802         altogether, putting the logic in metrics/draw in the insets.
4803
4804 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4805
4806         * text2.C (redoParagraphInternal, redoParagraphs):
4807         * text.C (redoParagraph): add a call to updateRowPositions at the
4808         end of each 'metrics-like' call. Remove all others.
4809         (getRow): remove the 'y-computing' version.
4810         (getRowNearY): do not compute nor return the real y. Solve the
4811         'y < 0' problem and simplify.
4812
4813 2003-08-22  Angus Leeming  <leeming@lyx.org>
4814
4815         * *.[Ch]: clean-up of licence and author blurbs.
4816         Also move config.h out of a few .h files and into a few .C files.
4817
4818 2003-08-22  André Pönitz  <poenitz@gmx.net>
4819
4820         * lyxrow.[Ch]: add x_ and *fill_ members
4821
4822         * lyxtext.h:
4823         * text.C:
4824         * rowpainter.C:
4825         * text2.C: adjust/remove prepareToPrint() calls
4826
4827 2003-08-22  André Pönitz  <poenitz@gmx.net>
4828
4829         * lyxrow.[Ch]: add  end_ member
4830
4831         * lyxrow_funcs.C: use LyXRow::end_
4832
4833         * lyxtext.h (singleWidth): add LyXFont parameter
4834
4835         * rowpainter.C:
4836         * text2.C: adjust LyXText::singleWidth() calls
4837
4838         * text.C (redoParagraph): simplify row breaking logic
4839
4840
4841 2003-08-19  André Pönitz  <poenitz@gmx.net>
4842
4843         * funcrequest.C: initialize button_ member
4844
4845         * text3.C:
4846         * rowpainter.[Ch]: interface consolidation
4847
4848 2003-08-18  André Pönitz  <poenitz@gmx.net>
4849
4850         * BufferView.C:
4851         * BufferView_pimpl.C:
4852         * lyxfind.C:
4853         * paragraph_funcs.C:
4854         * rowpainter.C:
4855         * text3.C: remove LyXScreen::draw() and fitCursor calls
4856
4857         * BranchList.h: remove spurious semicolons
4858
4859         * MenuBackend.C: fix branchlist related crash
4860
4861 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4862
4863         * BranchList.[Ch]:
4864         * InsetList.[Ch]:
4865         * LColor.[Ch]:
4866         * LyXAction.C:
4867         * Makefile.am:
4868         * MenuBackend.[Ch]:
4869         * bufferparams.[Ch]:
4870         * factory.C:
4871         * lfuns.h:
4872         * lyxfunc.C:
4873         * text3.C: implements the 'branch inset'
4874         idea. This allows the output of various versions of a document
4875         from a single source version, selectively outputing or suppressing
4876         output of parts of the text.
4877         This implementation contains a 'branch list editor' in a separate
4878         tab of the document settings dialog. Branches are user definable
4879         and have a "display colour" to distinguish them on-screen.
4880
4881         ColorHandler was somewhat cleaned up.
4882         (1) make possible a dynamically growing LColor list by allowing
4883         the graphic context cache to grow along (vector);
4884         (2) eliminate an IMHO unnecessary step in colour allocation.
4885
4886 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4887
4888         * BufferView_pimpl.C: compile fix
4889
4890 2003-08-15  André Pönitz  <poenitz@gmx.net>
4891
4892         * rowpainter.C: remove extra metrics calls
4893
4894         * lyxtext.h: merge the two constructors into a single one,
4895           pass reference to owner's par list
4896
4897         * BufferView_pimpl.C:
4898         * text.C:
4899         * text2.C: adjust
4900
4901 2003-08-15  André Pönitz  <poenitz@gmx.net>
4902
4903         * lyxrow_funcs.[Ch]:
4904         * lyxtext.h:
4905         * paragraph.h:
4906         * paragraph_funcs.C:
4907         * rowpainter.C:
4908         * text.C:
4909         * text2.C:
4910         * text3.C:
4911         * text_funcs.C: split LyXText::rowlist_ into individual
4912         Paragraph::rows_ chunks
4913
4914         * BufferView.[Ch]:
4915         * BufferView_pimpl.[Ch]:
4916         * lyxfind.C:
4917         * lyxtext.h:
4918         * text3.C: remove toggleSelection()
4919
4920 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4921
4922         * bufferlist.C: beautify two alerts (shorter text of buttons)
4923         * buffer.C: Remove redundant ' ' from message
4924         * tabular.h:
4925         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4926         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4927         rename VALIGN_CENTER to VALIGN_MIDDLE
4928
4929 2003-08-11  André Pönitz  <poenitz@gmx.net>
4930
4931         * lyxtext.h (getPar):
4932         * text.C: new function
4933
4934 2003-08-11  André Pönitz  <poenitz@gmx.net>
4935
4936         * Makefile.am:
4937         * tracer.[Ch]: remove unneeded files
4938
4939         * InsetList.[Ch]: remove resizeInsetsLyXText()
4940
4941         * lyxtext.h:
4942         * text.C:
4943         * text2.C:
4944         * text3.C: merge insertParagraphs() and appendParagraph()
4945         remove breakAgain(), update()
4946
4947         * BufferView_pimpl.[Ch]:
4948         * bufferview_funcs.[Ch]:
4949         * lyxfunc.C:
4950         * paragraph.[Ch]:
4951         * rowpainter.C:
4952         * tabular.C: adjust after text & InsetList changes.
4953
4954 2003-08-08  André Pönitz  <poenitz@gmx.net>
4955
4956         * text.C (insertChar, backspace): replace rowlist fiddling
4957         with rebreak of full par
4958
4959         * lyxtext.h:
4960         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4961         checkParagraph, updateInset): removed
4962
4963 2003-08-07  André Pönitz  <poenitz@gmx.net>
4964
4965         * paragraph.C:
4966         * text3.C: merge some LFUN handlers, remove dead code
4967
4968 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4969
4970         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4971
4972 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4973
4974         * text2.C (DEPM): fix part of bug 1255 and 1256
4975
4976 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4977
4978         * BufferView_pimpl.C (workAreaDispatch): change to use
4979         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4980         that are no mouse related.
4981
4982 2003-08-05  André Pönitz  <poenitz@gmx.net>
4983
4984         * BufferView.[Ch]:
4985         * BufferView_pimpl.[Ch]:
4986         * bufferview_funcs.C:
4987         * text2.C:
4988         * text3.C: rip out "deep update"
4989
4990         * textcursor.[Ch] (last_sel_cursor): remove unused member
4991
4992 2003-08-04  André Pönitz  <poenitz@gmx.net>
4993
4994         * BufferView.[Ch]:
4995         * BufferView_pimpl.[Ch]:
4996         * ParagraphParameters.C:
4997         * bufferview_funcs.C:
4998         * lyx_cb.C:
4999         * lyxfind.C:
5000         * lyxfunc.C:
5001         * text.C:
5002         * text2.C:
5003         * text3.C: replace "complicated" BufferView::update(...) calls with
5004         simpler ones.
5005
5006         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5007
5008 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5009
5010         * Makefile.am (lyx_SOURCES): add paper.h
5011
5012 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5013
5014         * Makefile.am: move things around so that both lyx-qt and
5015         lyx-xforms can be built (according to --with-frontend). Then lyx
5016         is a symbolic link to lyx-[firstfrontend]
5017
5018 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5019
5020         * Always use std::endl with lyxerr
5021
5022 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5023
5024         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5025
5026 2003-08-01  André Pönitz  <poenitz@gmx.net>
5027
5028         * BufferView.[Ch]:
5029         * BufferView_pimpl.[Ch]:
5030         * lyxfunc.C:
5031         * text3.C: merge BufferView::repaint() and BufferView::update()
5032
5033 2003-08-01  José Matos  <jamatos@lyx.org>
5034
5035         * buffer.[Ch]: file_format is no longer a buffer data element.
5036
5037 2003-08-01  André Pönitz  <poenitz@gmx.net>
5038
5039         * BufferView.C:
5040         * lyxtext.h:
5041         * text.C:
5042         * text2.C: make redoParagraph more independent of current cursor
5043
5044         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5045         * text.C:
5046         * text2.C: remove unneeded members
5047
5048 2003-07-30  André Pönitz  <poenitz@gmx.net>
5049
5050         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5051
5052         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5053           create a single function...
5054
5055         * paragraph_funcs.C (moveItem): ... here.
5056
5057         * text.C:
5058           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5059
5060 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5061
5062         * LColor.[Ch]: Add comment and greyedout logical colors.
5063
5064 2003-07-30  André Pönitz  <poenitz@gmx.net>
5065
5066         * tabular.C: don't use Assert too heavily. This crashes where it
5067           shouldn't
5068
5069 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5070
5071         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5072         is disabled (bug 1232)
5073
5074 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5075
5076         * factory.C: limited 'arg' scope
5077
5078 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5079
5080         * factory.C: fixed Note submenu issues
5081
5082 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5083
5084         * factory.C: submenu for Note/Comment/Greyedout
5085
5086 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * lyx_main.C (LyX):
5089         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5090
5091 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5092
5093         * LaTeXFeatures.C:
5094         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5095         greyedout. Patch provided by Jürgen Spitzmüller.
5096
5097 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5098
5099         * kbmap.C (read): fix error message when reading bind files
5100
5101 2003-07-29  Angus Leeming  <leeming@lyx.org>
5102
5103         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5104         certainly does not do what it purports to do. I am doing it, and
5105         us, a favour by killing it.
5106
5107 2003-07-28  José Matos  <jamatos@lyx.org>
5108
5109         * buffer.C (readBody, do_writeFile):
5110         * paragraph.C(readParagraph): \end_document replaces \the_end.
5111
5112 2003-07-29  André Pönitz  <poenitz@gmx.net>
5113
5114         * BufferView.[Ch]:
5115         * BufferView_pimpl.[Ch]:
5116         * lyxfunc.C:
5117         * text2.C:
5118         * text3.C:
5119         * textcursor.[Ch]: remove toggleToggle & Co
5120
5121 2003-07-28  José Matos  <jamatos@fep.up.pt>
5122
5123         * buffer.C (readParagraph):
5124         * params_func (readParToken, readParagraph):
5125         * paragraph.C (write): \layout -> \begin_layout.
5126
5127 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * lyxlex_pimpl.C (setFile): clean up slightly.
5130
5131         * bufferparams.h: add compressed var
5132
5133         * buffer_funcs.C (readFile): adjust for LyXLex change
5134         (newFile): ditto + simplify
5135
5136         * buffer.C (writeFile): handle writing of compressed files
5137
5138         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5139         Check if the file is compressed and set a bufferparm if so.
5140
5141         * Makefile.am (lyx_LDADD): remove explicit -lz
5142
5143 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5144
5145         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5146         makeDocBookFile): put the real LyX version in the first line of
5147         the file
5148
5149         * version.h:
5150         * version.C.in: remove lyx_docversion
5151
5152         * tabular.C (write_attribute): add a template-based version to
5153         write enums properly
5154
5155 2003-07-28  André Pönitz  <poenitz@gmx.net>
5156
5157         * lyxtext.h:
5158         * text.C:
5159         * text2.C:
5160         * text3.C: use doubles again for x-coordinates. They are needed.
5161
5162 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * messages.C (getLocaleDir): use lyx_localedir()
5165
5166         * lyxlex_pimpl.C (setFile): compress stuff
5167
5168         * buffer.C (writeFile): add some compression stuff
5169         (do_writeFile): new func, dont call expliti close... will this
5170         breake anything?
5171
5172         * Makefile.am (lyx_LDADD): add -lz
5173
5174 2003-07-28  José Matos  <jamatos@fep.up.pt>
5175
5176         * buffer.C: increment file format.
5177         * paragraph_funcs (readParagraph, readParToken):
5178         * paragraph.C (readParagraph): add \end_layout.
5179
5180 2003-07-27  Angus Leeming  <leeming@lyx.org>
5181
5182         * Makefile.am: remove special casing for configure-time setting of
5183         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5184
5185         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5186         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5187
5188 2003-07-26  André Pönitz  <poenitz@gmx.net>
5189
5190         * paragraph_func.[Ch]:
5191         * paragraph.C (realizeFont): inline it whereever it is used
5192
5193         * rowpainter.C:
5194         * text.C:
5195         * text2.C:
5196         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5197
5198
5199 2003-07-26  André Pönitz  <poenitz@gmx.net>
5200
5201         *       lyxtext.h:
5202         * text.C:
5203         * text2.C: get rid of LyXText::need_break_row
5204
5205 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * toc.[Ch]: put namespace toc inside namespace lyx
5208
5209         * MenuBackend.C (expandToc2): adjust for lyx::toc
5210         (expandToc): ditto
5211
5212         * lyxfunc.C (dispatch): adjust for lyx::find
5213
5214         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5215         lyx::find instead. Reorganize a bit.
5216         (LyXReplace): rename to replace
5217         (LyXFind): rename to find
5218
5219         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5220         (dispatch): ditto
5221
5222 2003-07-26  André Pönitz  <poenitz@gmx.net>
5223
5224         * text.C (setHeightOfRow): restrict scope of temporary variable
5225
5226         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5227           code (never has been used?)
5228
5229 2003-07-27  Asger Alstrup  <alstrup@local>
5230
5231         * text.C (fill): Optimise algorithm to exploit that we can reuse
5232         the LyXFont for many characters.
5233         (setHeightOfRow): Same thing.
5234         (rowBreakPoint): Same thing.
5235
5236 2003-07-26  Asger Alstrup  <alstrup@local>
5237
5238         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5239
5240         * text.C (singleWidth): Spurious font copying in hot-spot
5241         singleWidth avoided. Reorder tests for arabic for efficiency.
5242
5243         * text.C (fill): handle empty paragraphs better.
5244
5245 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5246
5247         * ispell.C:
5248         * encoding.h: add includes
5249
5250         * lyxrc.C: remove reading of bind files
5251
5252         * lyx_main.C (init): setup bindings and menus only if we have a
5253         gui.
5254
5255         * kbmap.C (read): new method. Do the actual reading of bind
5256         files.
5257
5258         * converter.C (dvipdfm_options):
5259         * bufferparams.C:
5260         * lyxrc.C (read):
5261         (output): adapt PAPER_* enums.
5262
5263         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5264
5265         * bufferparams.h: remove paper-related enums from there
5266
5267         * paper.h: New file. A trivial header file to hold paper-related
5268         enums. It should later expand to contain many paper-related
5269         horrors access.
5270
5271         * lyxrc.C: declare extern displayTranslator
5272
5273 2003-07-27  José Matos  <jamatos@fep.up.pt>
5274
5275         * tabular.[Ch] (linuxdoc): add support for tables and figures
5276         (linuxdoc).
5277
5278 2003-07-27  José Matos  <jamatos@fep.up.pt>
5279
5280         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5281         consistency in both functions.
5282         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5283
5284 2003-07-26  Asger Alstrup  <alstrup@local>
5285
5286         * rowpainter.C (paintRows): Change algorithm to work directly on
5287         the insets rather than asking every character in the document
5288         whether its an inset.
5289
5290 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5291
5292         * buffer.C (openFileWrite): factorize some code
5293
5294 2003-07-26  Angus Leeming  <leeming@lyx.org>
5295
5296         * lyx_cb.C:
5297         * lyx_main.[Ch]: replace occurances of system_tempdir with
5298         os::getTmpDir().
5299
5300 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * rename Inset to InsetOld
5303
5304 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5305
5306         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5307         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5308         which I think is a bit clearer. EDIT is gone, since it was
5309         premature optimisation, and broken for mathed anyway.
5310         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5311         with cursor positioning in insets as well (math insets still do not
5312         work, but that's a different story anyway.) It mysteriously
5313         crashes sometimes with undo in the first paragraph, but I'm fairly
5314         confident that this is a compiler bug.
5315
5316 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * paragraph.C (Paragraph): adjust for new clone return type
5319         (operator==): ditto
5320         (copyIntoMinibuffer): ditto
5321
5322 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5323
5324         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5325         by not having a special case, and always doing a full rebreak of
5326         the document after undo.
5327
5328 2003-07-23  Angus Leeming  <leeming@lyx.org>
5329
5330         * factory.C (createInset): InsetExternal::setParams now takes a
5331         Buffer const * arg.
5332
5333 2003-07-23  Angus Leeming  <leeming@lyx.org>
5334
5335         * factory.C (createInset): changed interface to the external and
5336         graphics mailers' string2params functions.
5337
5338 2003-07-23  Angus Leeming  <leeming@lyx.org>
5339
5340         * factory.C (createInset): pass a
5341         Buffer const * parameter to InsetExternalMailer's string2params.
5342
5343 2003-07-22  John Levon  <levon@movementarian.org>
5344
5345         * Thesaurus.h: include the right aiksaurus header
5346
5347 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5348
5349         * MenuBackend.C (expand): check menu shortcuts unconditionally
5350
5351 2003-07-21  Angus Leeming  <leeming@lyx.org>
5352
5353         * factory.C (createInset): pass a
5354         buffer_path parameter to InsetGraphicsMailer's string2params.
5355
5356 2003-07-21  Angus Leeming  <leeming@lyx.org>
5357
5358         * BufferView_pimpl.C (buffer):
5359         * buffer.C (d-tor):
5360         * lyx_main.C (LyX):
5361         * lyxfunc.C (dispatch):
5362         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5363         rather than the grfx shortcut.
5364
5365 2003-07-21  André Pönitz  <poenitz@gmx.net>
5366
5367         * rowpainter.C: remove unused variables
5368
5369         * tabular_funcs.C:
5370         * tabular_funcs.h: move to tabular.C
5371         * Makefile.am: adjust
5372
5373         * tabular.[Ch]: basic optical cleaning
5374
5375         * author.h: pass references, not values
5376
5377 2003-07-18  André Pönitz  <poenitz@gmx.net>
5378
5379         * lyxtext.h:
5380         * metricsinfo.C:
5381         * metricsinfo.h:
5382         * rowpainter.C:
5383         * text.C:
5384         * text2.C:
5385         * text3.C: two-phase drawing for InsetText and InsetTabular
5386         some float -> int changes.
5387
5388 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5389
5390         * lyx_main.C: fix the fix
5391
5392 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5393
5394         * lyx_main.C: fix a crash in batch mode if no files specified
5395         * converter.C: ws
5396
5397 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5398
5399         * format.[Ch] (papersize): moved to BufferParams
5400         * converter.[Ch] (dvips_options): moved to BufferParams
5401         (dvipdfm_options): moved to anon namespace
5402         * bufferparams.[Ch]: added above functions.
5403
5404 2003-07-17  André Pönitz  <poenitz@gmx.net>
5405
5406         * lyxtext.h:
5407         * rowpainter.C:
5408         * text2.C: don't call inset->update() anymore
5409
5410         * metricsinfo.[Ch]: add convenience constructor
5411
5412 2003-07-16  André Pönitz  <poenitz@gmx.net>
5413
5414         * lyxcursor.[Ch]:
5415         * lyxfunc.[Ch]:
5416         * text.C:
5417         * text2.C: replace the LyXCursor::irow_ member with
5418          on-demand computation of the value
5419
5420 2003-07-16  John Levon  <levon@movementarian.org>
5421
5422         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5423
5424 2003-07-15  André Pönitz  <poenitz@gmx.net>
5425
5426         * text.C:
5427         * text2.C: remove no more needed refresh_row
5428
5429 2003-07-15  André Pönitz  <poenitz@gmx.net>
5430
5431         * lyxtext.h:
5432         * rowpainter.C:
5433         * text2.C:
5434         * text3.C: refresh_status tristate -> need_update bool
5435
5436 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5437
5438         * lyxtext.h (init): remove reinit argument (act as if always true)
5439         * text2.C: adjust to that
5440
5441 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5442
5443         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5444         * text3.C: use it to delete selections in some cases
5445         (bugs 441, 673, 702, 954).
5446
5447 2003-07-14  André Pönitz  <poenitz@gmx.net>
5448
5449         * rowpainter.[Ch]: reduce interface
5450
5451 2003-07-14  André Pönitz  <poenitz@gmx.net>
5452
5453         * BufferView_pimpl.C:
5454         * text2.C: adjust after removing unused BufferView * argument
5455
5456 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5457
5458         * text2.C (init): fix a crash fired on resize
5459
5460 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5461
5462         * buffer.[Ch]: added new closing signal
5463         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5464         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5465         BufferView::Pimpl via the closing the signal
5466
5467 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5468
5469         * buffer.[Ch]: take out all bv-related from buffer
5470         * BufferView.C:
5471         * BufferView_pimpl.[Ch]: connect to new signals
5472         * CutAndPaste.C: removed useless asserts
5473         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5474         * lyxvc.[Ch]:
5475         * vc-backend.[Ch]:
5476         * lyxfunc.C: moved view-related funciontality from vc here
5477         * paragraph.C: removed outdated comments
5478         * text.C: ws
5479
5480 2003-07-10  André Pönitz  <poenitz@gmx.net>
5481
5482         * BufferView_pimpl.C:
5483         * tabular.h:
5484         * tabular_funcs.C:
5485         * text.C:
5486         * text2.C: remove InsetText::InnerCache, clean up consequences
5487
5488 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5489
5490         * ispell.C: fix two typos in error messages
5491
5492 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5493
5494         * Extend Note inset to other forms of annotation like Comment
5495         and Greyedout. Right button click gives dialog.
5496
5497         Files modified or added (+):
5498
5499         * insetnote.[Ch]
5500         * FormNote.[Ch]      +
5501         * ControlNote.[Ch]   +
5502         * form_note.fd       +
5503         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5504         frontends/controllers
5505         * xforms/Dialogs.C
5506         * factory.C
5507
5508 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5509
5510         * aspell.C: add missing namespace lyx::support
5511
5512 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5513
5514         * BufferView.[Ch] (newFile): Add
5515         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5516         * LaTeX.[Ch] (message): added this signal and use it
5517         * buffer.[Ch] (busy, message): added these signals and use them
5518         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5519         * converter.C:
5520         * exporter.C:
5521         * format.C:
5522         * importer.C: use buffer signals instead of direct bv calling
5523         * lyx_cb.[Ch] (ShowMessage): removed
5524         * lyx_main.C:
5525         * lyxfunc.C:
5526         * paragraph_funcs.C:
5527         * text2.C: use buffer signals
5528
5529 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * introduce namespace lyx::graphics
5532
5533 2003-07-02  André Pönitz  <poenitz@gmx.net>
5534
5535         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5536
5537 2003-07-01  André Pönitz  <poenitz@gmx.net>
5538
5539         * text.C:
5540         * text2.C:
5541         * text3.C:
5542         * text_funcs.[Ch]:
5543         * textcursor.h:
5544         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5545           text*.C to text_func.C
5546
5547 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5548
5549         * introduce namespace lyx::support
5550
5551 2003-06-30  André Pönitz  <poenitz@gmx.net>
5552
5553         * Chktex.C:
5554         * funcrequest.C:
5555         * lyxtext.h:
5556         * text.C: re-enable --with-included-string
5557
5558 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * textcursor.C: add <config.h>
5561
5562         * text.C (getWord): remove const from word_location arg
5563
5564         * lyxvc.C (getLogFile): fix const type order
5565
5566         * lyxtext.h: remove const from word_location arg, add arg name
5567
5568         * lyxlayout.h: currect type on labeltype.
5569
5570         * importer.C: correct \file
5571
5572         * converter.C (intToFormat): use std:: on ret val, ws changes
5573
5574         * bufferlist.h: correct \file
5575
5576         * buffer.C (makeLinuxDocFile): fix const type order
5577         (makeDocBookFile): ditto
5578         (fillWithBibKeys): use std:: on stdlib args.
5579
5580         * CutAndPaste.C: fix authors.
5581         (availableSelections): use std:: on return vector
5582
5583 2003-06-27  André Pönitz  <poenitz@gmx.net>
5584
5585         * BufferView_pimpl.C:
5586         * bufferview_funcs.C:
5587         * lyxcursor.C:
5588         * lyxcursor.h:
5589         * lyxfunc.C:
5590         * lyxtext.h:
5591         * rowpainter.C:
5592         * text.C:
5593         * text2.C:
5594         * text3.C: remove LyXCursor::row_ member
5595
5596         * lyxtext.h:
5597         * text.C: rename fullRebreak() to partialRebreak() and implement
5598           a fullRebreak() that really bereks fully
5599
5600         * textcursor.h: new struct for cursor-related data
5601
5602 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5603
5604         * lyx_main.C (LyX): get full path of document loaded on the
5605         command line
5606
5607 2003-06-26  André Pönitz  <poenitz@gmx.net>
5608
5609         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5610           remove unused/broken operator>,<,>=.
5611
5612         *       text.C: remove only use of broken operator<= in an Assert().
5613
5614 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5615
5616         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5617         moved errorlist_.clear to showErrorList
5618
5619 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5620
5621         * converter.C (scanLog, runLaTeX):
5622         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5623         move the bv->showErrorList call to the callers
5624         * lyxfunc.C: i.e. here...
5625         * text2.C: and here
5626         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5627         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5628         namespace, the second to...
5629         * buffer_funcs (BufferFormat, parseErrors): added
5630         * errorlist.C (ErrorList(TeXErrors const &)): removed
5631
5632 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5633
5634         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5635
5636 2003-06-24  "Garst R. Reese" <reese@isn.net>
5637
5638         * debug.C: fix typo
5639
5640 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5641
5642         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5643
5644         * version.C.in: change docversion to 1.4
5645
5646 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5647
5648         * buffer.C: fix a bug just introduced
5649
5650 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5651
5652         * buffer.[Ch]: added the parseError signal and use it, removed
5653         sgmlError
5654         * BufferView.[Ch] (addError): moved to ...
5655         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5656         to the Buffer::parseError signal to catch (guess what) parse errors
5657         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5658
5659 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5660
5661         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5662         ability to create a buffer and to return an existing one from
5663         the list. Moved these functions to...
5664         * buffer_funcs.[Ch]: added
5665         * BufferView.[Ch] (loadLyXFile): added
5666         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5667         job removed from bufferlist::loadLyXFile.
5668         * buffer.C (setReadOnly): make it work without view
5669         (i.e added an if (users))
5670
5671 2003-06-19  Angus Leeming  <leeming@lyx.org>
5672
5673         * lfuns.h:
5674         * LyXAction.C (init):
5675         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5676         with LFUN_DIALOG_SHOW <name> <data>.
5677
5678 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5679
5680         * CutAndPaste.C (availableSelections): small compilation fix for
5681         ancient (gcc 2.9x) compilers
5682
5683 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5684
5685         * text3.C (cursorNext): add tmp var
5686
5687         * text2.C (updateCounters): for function calling out of for clause
5688         (replaceSelectionWithString): ditto
5689         (insertStringAsParagraphs): ditto
5690         (getColumnNearX): add tmp var
5691         (setCursorFromCoordinates): add tmp var
5692         (cursorDownParagraph): add tmp var
5693         (deleteEmptyParagraphMechanism): add tmp var
5694
5695         * text.C (insertChar): add tmp var
5696
5697         * rowpainter.C (paintDepthBar): add tmp var
5698
5699         * CutAndPaste.C (availableSelections): potentially check all
5700         paragraphs in a cut to fill the shown strings.
5701
5702 2003-06-18  André Pönitz  <poenitz@gmx.net>
5703
5704         * kbmap.[Ch]: use vector<> instead of list<>
5705
5706 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5707
5708         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5709         pasteSelection with index
5710
5711         * text2.C (pasteSelection): modify, call pasteSelection with index
5712
5713         * paragraph.C (asString): reimplement version with no interval to
5714         call the one with interval.
5715
5716         * lyxtext.h: add index arg to pasteSelection
5717
5718         * MenuBackend.C (MenuItem): handle PasteRecent
5719         (Menu::read::Menutags): add md_pasterecent
5720         (read): handle it
5721         (expandPasteRecent): new function
5722         (expand): use it
5723
5724         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5725
5726         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5727         the limited stack
5728         (availableSelections): new function
5729
5730 2003-06-17  Angus Leeming  <leeming@lyx.org>
5731
5732         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5733
5734 2003-06-17  Angus Leeming  <leeming@lyx.org>
5735
5736         * lfuns.h:
5737         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5738
5739         * lyxfunc.C (dispatch): invoke it.
5740
5741 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5742
5743         * iterators.C (operator++, ParPosition): reintroduce some
5744         const_cast for the benefit of older compilers.
5745
5746 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5747
5748         * text3.C (dispatch): do not modify clipboard when doing
5749         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5750         LFUN_DELETE_SKIP on a selection selection
5751
5752 2003-06-16  André Pönitz  <poenitz@gmx.net>
5753
5754         * BufferView.C:
5755         * buffer.C:
5756         * buffer.h:
5757         * paragraph.C:
5758         * tabular.[Ch]: IU of clone() and getLabelList();
5759
5760 2003-06-13  André Pönitz  <poenitz@gmx.net>
5761
5762         * tabular.h: compactification
5763
5764 2003-06-12  André Pönitz  <poenitz@gmx.net>
5765
5766         * tabular.C:
5767         * tabular.h:
5768         * tabular_funcs.h: some renaming plus whitespace
5769
5770 2003-06-12  André Pönitz  <poenitz@gmx.net>
5771
5772         * BufferView.C:
5773         * BufferView_pimpl.C:
5774         * CutAndPaste.C:
5775         * buffer.C:
5776         * iterators.[Ch]:
5777         * lyxfunc.C:
5778         * text.C:
5779         * toc.C: Return a Paragraph & for ParIterator::operator*()
5780
5781 2003-06-11  John Levon  <levon@movementarian.org>
5782
5783         * lyx_main.C:
5784         * ToolbarBackend.h:
5785         * ToolbarBackend.C: add "Toolbars" section and
5786         put the flags there
5787
5788 2003-06-10  Angus Leeming  <leeming@lyx.org>
5789
5790         * lfuns.h:
5791         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5792
5793         * lyxfunc.C (dispatch): invoke it.
5794
5795 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * main.C: protect <ios> with HAVE_IOS
5798         (main): protect sync_with_stdio with HAVE_IOS
5799
5800 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5801
5802         * text2.C (cutSelection): adjust
5803         (pasteSelection): adjust
5804
5805         * messages.C: handle get of empty string
5806
5807         * main.C (main): use sync_with_stdio(false)
5808
5809         * lyxfunc.C (dispatch): adjust
5810
5811         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5812         (WriteAs): remove unneeded BufferView arg.
5813
5814         * bufferparams.h: use correct types on papersize, papersize2 and
5815         paperpackage.
5816
5817         * bufferparams.C (readToken): adjust for type
5818         (writeLaTeX): add missing cases to switch.
5819
5820         * bufferlist.C (quitWriteBuffer): adjust
5821         (close): adjust
5822
5823         * buffer.C (asciiParagraph): remove some commented code.
5824
5825         * CutAndPaste.C: remove current_view extern variable.
5826         (cutSelection): add BufferParams arg.
5827         (eraseSelection): add BufferParams arg.
5828         (pasteSelection): add Buffer const & arg
5829
5830 2003-06-07  John Levon  <levon@movementarian.org>
5831
5832         * buffer.C:
5833         * paragraph_funcs.C:
5834         * paragraph_pimpl.C:
5835         * text.C:
5836         * text2.C:
5837         * paragraph.h:
5838         * paragraph.C: allow InsetERT to freely space lines,
5839         and some consolidation of code
5840
5841 2003-06-06  José Matos  <jamatos@fep.up.pt>
5842
5843         * buffer.C (makeDocBookFile): fix bug #821
5844
5845 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5846
5847         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5848
5849 2003-06-04  Angus Leeming  <leeming@lyx.org>
5850
5851         * buffer.C: bump format to 224.
5852
5853 2003-06-05  André Pönitz  <poenitz@gmx.net>
5854
5855         * text2.C (redoParagraphs): remove two const_cast<>
5856
5857 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5858
5859         * ParagraphList.h: remove last remnants of NO_STD_LIST
5860
5861 2003-06-03  Angus Leeming  <leeming@lyx.org>
5862
5863         * factory.C (createInset): small change to the way InsetExternal's params
5864         are set.
5865
5866 2003-06-04  André Pönitz  <poenitz@gmx.net>
5867
5868         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5869
5870         * paragraph_pimpl.h:
5871         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5872
5873         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5874
5875         * undo_funcs.C: make some simple cases of undo work again
5876
5877 2003-06-03  John Levon  <levon@movementarian.org>
5878
5879         * ispell.C: HPUX doesn't have sys/select.h
5880         (from Albert Chin)
5881
5882 2003-06-03  John Levon  <levon@movementarian.org>
5883
5884         * CutAndPaste.C: update tabular and include inset
5885         buffer references
5886
5887         * buffer.h:
5888         * paragraph.h:
5889         * paragraph.C: remove owningBuffer(), don't pass Buffer
5890         to clone()
5891
5892         * factory.C: insetGraphicsParams changed
5893
5894 2003-06-02  John Levon  <levon@movementarian.org>
5895
5896         * LyXAction.C:
5897         * factory.C:
5898         * lfuns.h:
5899         * lyxfunc.C:
5900         * text3.C: remove insetparent
5901
5902 2003-06-02  John Levon  <levon@movementarian.org>
5903
5904         * buffer.h:
5905         * buffer.C: fix inset_iterator.end(), move out of line
5906         (bug 1149)
5907
5908 2003-06-01  John Levon  <levon@movementarian.org>
5909
5910         * text3.C: use a proper cut/paste when doing inset
5911         insert (from Jürgen Spitzmüller)
5912
5913 2003-06-01  John Levon  <levon@movementarian.org>
5914
5915         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5916
5917 2003-05-30  André Pönitz  <poenitz@gmx.net>
5918
5919         * rowpainter.C: unify second drawing phase
5920
5921 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * trans_mgr.C: remove one case of current_view
5924
5925         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5926
5927         * paragraph_funcs.h: remove paragraph.h include
5928
5929         * paragraph.h: delete NO_STD_LIST stuff
5930
5931         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5932
5933         * buffer.h: remove paragraph.h include
5934
5935         * ParagraphList.C: delete file
5936
5937         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5938
5939         * toc.C (getTocList): adjust
5940
5941         * paragraph_pimpl.C (validate): adjust
5942
5943         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5944
5945         * paragraph.C (Paragraph): adjust
5946         (getPositionOfInset): use const_iterator, adjust
5947         (bibitem): use const_iterator, adjust
5948         (setInsetOwner): adjust
5949
5950         * iterators.C (operator++): adjust
5951
5952         * InsetList.[Ch]: Replace selfmade iterator with standard
5953         vector::iterator also introduce const_iterator. Remove getPos,
5954         getInset and setInset from InsetTable. Adjust accordingly.
5955
5956         * BufferView.C (lockInset): adjust
5957         (ChangeInsets): adjust
5958
5959         * tabular.[Ch]: delete commented same_id functions
5960
5961 2003-05-28  John Levon  <levon@movementarian.org>
5962
5963         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5964
5965 2003-05-28  André Pönitz  <poenitz@gmx.net>
5966
5967         * metricsinfo.[Ch]: remove 'fullredraw' member
5968
5969 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5970
5971         * lyxtextclass.C (operator): remove caching.
5972
5973 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * text3.C: adjust
5976
5977         * text2.C (cursorBottom): adjust
5978         (setCounter): use ParagraphList::find, adjust
5979
5980         * text.C (workWidth): use ParagraphList::find, adjust
5981
5982         * lyxcursor.C (LyXCursor): adjust
5983
5984         * buffer.C (inset_iterator): adjust
5985
5986         * ParagraphList.h: make iterator(value_type) private, make
5987         ParagraphList a friend of iterator.
5988
5989         * ParagraphList.C (find): new function
5990
5991         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5992
5993 2003-05-27  André Pönitz  <poenitz@gmx.net>
5994
5995         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5996
5997 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5998
5999         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6000
6001 2003-05-26  John Levon  <levon@movementarian.org>
6002
6003         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6004
6005 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * remove same_id from function signatures, adjust.
6008
6009 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6010
6011         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6012
6013         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6014
6015         * paragraph.C (Paragraph): get rid of same_ids parameter
6016
6017         * ParagraphList.C (insert): adjust
6018         (push_back): adjust
6019
6020 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6021
6022         * paragraph_funcs.C (breakParagraph): adjust
6023         (breakParagraphConservative): adjust
6024
6025         * buffer.C (readParagraph): adjust
6026
6027         * ParagraphList.C (insert): take a reference instead of a pointer
6028         (insert): adjust
6029
6030         * paragraph.[Ch] (id): new function
6031
6032         * bufferlist.C (newFile): adjust
6033
6034         * ParagraphList.C (ParagraphList): adjust
6035         (assign): adjust
6036         (push_back): take a reference instead of a pointer.
6037
6038         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6039
6040         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6041         instead.
6042
6043         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6044         set else use old code.
6045
6046         * ParagraphList.C: remove all NO_NEXT code and only compile this
6047         code of NO_STD_LIST is set.
6048
6049 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6050
6051         * BufferView_pimpl.C:
6052         * TextCache.C:
6053         * TextCache.h:
6054         * bufferlist.C:
6055         * errorlist.h:
6056         * format.C:
6057         * format.h:
6058         * graph.C:
6059         * lyxfunc.C:
6060         * lyxrc.C:
6061         * graphics/GraphicsConverter.C:
6062         * graphics/PreviewLoader.C: header adjustment
6063
6064 2003-05-23  Angus Leeming  <leeming@lyx.org>
6065
6066         * LaTeXFeatures.[Ch] (useBabel): new method.
6067         * bufferparams.C (writeLaTeX): use it.
6068
6069 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * ParagraphList.h (set): remove unused function.
6072
6073 2003-05-23  André Pönitz  <poenitz@gmx.net>
6074
6075         * BufferView.C:
6076         * BufferView_pimpl.C:
6077         * buffer.C:
6078         * buffer.h:
6079         * lyxfunc.C:
6080         * undo_funcs.C: setUndo reworked
6081
6082         * iterators.[Ch]: add access to topmost ParagraphList
6083
6084         * lyxtext.[Ch] (workWidth): add a const
6085
6086 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6087
6088         * texrow.[Ch] (increasePos): remove function
6089         * exporter.C (export): removed unused var and outdated comment
6090
6091 2003-05-23  Angus Leeming  <leeming@lyx.org>
6092
6093         * latexrunparams.h: rename fragile as moving_arg.
6094         * paragraph.C (simpleTeXOnePar): ditto.
6095         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6096
6097 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6100         (createUndo): ditto
6101         (textUndoOrRedo): comment out a currently unused var.
6102
6103         * paragraph.h (NO_NEXT): enable NO_NEXT
6104
6105         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6106
6107         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6108
6109         * exporter.C (Export): adjust for removeAutoInsets removal.
6110
6111         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6112
6113         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6114
6115         * BufferView.[Ch] (removeAutoInsets): delete function
6116
6117 2003-05-22  Angus Leeming  <leeming@lyx.org>
6118
6119         * latexrunparams.h: add a free_spacing variable.
6120
6121         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6122         to pass moving_arg, as the data is stored in runparams.fragile.
6123
6124         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6125         to Inset::latexOptional or to simpleTeXOnePar.
6126
6127         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6128         free_spacing arg to Inset::latexOptional.
6129
6130         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6131         free_spacing arg.
6132
6133 2003-05-22  Angus Leeming  <leeming@lyx.org>
6134
6135         * latexrunparams.h: add fragile and use_babel variables.
6136
6137         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6138         * buffer.C (makeLaTeXFile): store this returned value in
6139         runparams.use_babel, thus passing it to the inset::latex methods.
6140
6141         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6142         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6143
6144         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6145         longer has a fragile arg, as it is stored in runparams.fragile.
6146
6147         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6148         moving_arg parameter as the data is stored in runparams.fragile.
6149
6150         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6151         a fragile parameter as the data is stored in runparams.fragile.
6152
6153 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6156
6157 2003-05-22  Angus Leeming  <leeming@lyx.org>
6158
6159         * latexrunparams.h: add a 'bool nice' which defaults to false.
6160
6161         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6162         now encapsulated within runparams.
6163
6164         * bufferlist.C (updateIncludedTeXfiles):
6165         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6166
6167 2003-05-22  Angus Leeming  <leeming@lyx.org>
6168
6169         * latexrunparams.h: new file containing struct LatexRunParams.
6170         * Makefile.am: add new file.
6171
6172         * LaTeX.[Ch] (c-tor, run):
6173         * buffer.[Ch] (makeLaTeXFile):
6174         * bufferlist.[Ch] (updateIncludedTeXfiles):
6175         * converter.C (convert, scanLog):
6176         * converter.[Ch] (runLaTeX):
6177         * exporter.C (Export):
6178         * paragraph.[Ch] (simpleTeXOnePar):
6179         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6180         * paragraph_funcs.[Ch] (latexParagraphs):
6181         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6182         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6183         pass around a LatexRunParams parameter.
6184
6185 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * paragraph.[Ch]: remove unused constructor
6188
6189         * ParagraphList.C (erase): new function, taking two iterators
6190
6191 2003-05-22  André Pönitz  <poenitz@gmx.net>
6192
6193         * undo_funcs.C: remove duplicated code
6194
6195         * iterator.[Ch]: operator=
6196
6197 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * tabular.C (SetMultiColumn): ws changes
6200
6201         * rowpainter.C (paintFirst): get rid of a ->previous
6202
6203         * lyx_cb.C (getPossibleLabel): parlist simplification
6204
6205         * BufferView.C (ChangeInsets): simplify slightly.
6206
6207 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6208
6209         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6210         * lfuns.h: new LFUN_SPACE
6211         * lyxfunc.C: protected space has a new lfun
6212         * paragraph_funcs.C: read new space insets
6213         * text3.C:
6214         * factory.C: handle new space insets
6215
6216 2003-05-22  André Pönitz  <poenitz@gmx.net>
6217
6218         * BufferView.C:
6219         * BufferView_pimpl.C:
6220         * buffer.[Ch]:
6221         * lyxfunc.C:
6222         * undo_funcs.C: return a ParIterator from getParFromID.
6223
6224         * iterators.[Ch]: add two const's
6225
6226 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * toc.C (getTocList): adjust
6229
6230         * iterators.[Ch]: rework for parlist
6231
6232         * buffer.C (par_iterator_begin): adjust
6233         (par_iterator_end): adjust
6234
6235         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6236
6237         * BufferView.C (removeAutoInsets): adjust
6238         (ChangeInsets): adjust
6239
6240 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6241
6242         * text.C (top_y): fix bug 1110
6243
6244 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6245
6246         * errorlist.[Ch]: added
6247         * buffer.C:
6248         * BufferView.[Ch]:
6249         * BufferView_pimpl.C:
6250         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6251         instead
6252
6253 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6254
6255         * Makefile.am: ensure that lyx is relinked upon changes to the
6256         various "convenience" libs.
6257
6258 2003-05-20  Angus Leeming  <leeming@lyx.org>
6259
6260         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6261         files are compiled in alphabetical order again.
6262
6263         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6264
6265 2003-05-19  Angus Leeming  <leeming@lyx.org>
6266
6267         * gettext.[Ch]: remove "char const * _(char const *)".
6268
6269 2003-05-19  André Pönitz  <poenitz@gmx.net>
6270
6271         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6272
6273         * Makefile.am:
6274         * BufferView.C:
6275         * DepTable.h:
6276         * LaTeXFeatures.C:
6277         * buffer.C:
6278         * lyxfont.C:
6279         * lyxlex.h:
6280         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6281
6282 2003-05-19  André Pönitz  <poenitz@gmx.net>
6283
6284         * buffer.C:
6285         * lyxlayout.[Ch]:
6286         * lyxtextclass.[Ch]:
6287         * paragraph.C:
6288         * paragraph_funcs.[Ch]:
6289         * text2.C:
6290         * text3.C: more insetenv work
6291
6292 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6293
6294         * ParagraphParameters.C (params2string): small bug fixed
6295
6296 2003-05-16  André Pönitz  <poenitz@gmx.net>
6297
6298         * debug.C:
6299         * bufferview_funcs.C: patch from Kornel Benko to prevent
6300           crash when _(...) is called twice in a statement
6301
6302 2003-05-16  André Pönitz  <poenitz@gmx.net>
6303
6304         * BufferView.C:
6305         * lyxfunc.C:
6306         * text.C:
6307         * text2.C:
6308         * text3.C:
6309         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6310
6311 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6312
6313         * lyx_main.C (init): remove spurious static_cast
6314
6315 2003-05-14  André Pönitz  <poenitz@gmx.net>
6316
6317         * BufferView.C: fix format string
6318
6319 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6320
6321         * BufferView.[Ch] (insertErrors): removed
6322         * BufferView.[Ch] (showErrorList): added
6323         * buffer.C (runChkTeX):
6324         * converter.C (scanLog): call showErrorList instead of inserterrors
6325
6326 2003-05-13  André Pönitz  <poenitz@gmx.net>
6327
6328         * BufferView_pimpl.C:
6329         * buffer.C:
6330         * bufferview_func.C:
6331         * MenuBackend.C:
6332         * lyxfunc.C:
6333         * lyxrc.C:
6334         * tex-accent.C:
6335         * text3.C:
6336         * toc.C:
6337         * tabular_funcs.h: tostr() from its own header
6338
6339         * ParagraphParameters.C:
6340         * ToolbarBackend.C:
6341         * bufferparams.C:
6342         * format.C:
6343         * lyxlex_pimpl.C:
6344         * text3.C: STRCONV()
6345
6346 2003-05-12  André Pönitz  <poenitz@gmx.net>
6347
6348         * BufferView.C:
6349         * BufferView_pimpl.C:
6350         * CutAndPaste.C:
6351         * LaTeX.C:
6352         * LaTeXFeatures.C:
6353         * ParagraphParameters.C:
6354         * buffer.C:
6355         * bufferlist.C:
6356         * bufferparams.C:
6357         * bufferview_funcs.C:
6358         * converter.C:
6359         * counters.C:
6360         * debug.C:
6361         * exporter.C:
6362         * format.C:
6363         * importer.C:
6364         * lyx_cb.C:
6365         * lyx_main.C:
6366         * lyxfont.C:
6367         * lyxfunc.C:
6368         * lyxvc.C:
6369         * paragraph.C:
6370         * paragraph_funcs.C:
6371         * tabular.C:
6372         * tabular_funcs.C:
6373         * text2.C:
6374         * text3.C:  boost::format -> bformat  all over the place
6375
6376
6377 2003-05-09  André Pönitz  <poenitz@gmx.net>
6378
6379         * LColor.[Ch]: Pimpl the #include <map> away
6380
6381 2003-05-09  John Levon  <levon@movementarian.org>
6382
6383         * bufferlist.C: never remove emergency saves
6384
6385 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * Makefile.am: better lib building
6388
6389 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6390
6391         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6392         instead.
6393         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6394         (simpleTeXSpecialChars): adjust
6395         (simpleTeXSpecialChars): adjust
6396         * paragraph.C (simpleTeXOnePar): adjust
6397         * buffer.C (makeLaTeXFile): adjust
6398
6399         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6400
6401         * text2.C (changeDepth): parlist cleanup
6402         (getColumnNearX): ditto
6403
6404         * rowpainter.C (getLabelFont): parlist cleanup
6405
6406         * bufferlist.C (newFile): parlist cleanup
6407
6408         * CutAndPaste.C (eraseSelection): parlist cleanup
6409
6410         * BufferView_pimpl.C (trackChanges): parlist cleanup
6411         (dispatch): ditto
6412
6413         * BufferView.C (lockInset): parlist cleanup.
6414         (ChangeInsets): ditto
6415
6416 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6417
6418         * CutAndPaste.h: Update file header.
6419
6420         * CutAndPaste.C: Update file header.
6421         Store the parts cut out of the Document in a limited_stack.
6422         (copySelection): adjust
6423         (pasteSelection): new function, takes the index in the limited stack.
6424         (nrOfParagraphs): adjust
6425         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6426         simplify error inset insertion.
6427         (checkPastePossible): adjust
6428
6429 2003-05-06  John Levon  <levon@movementarian.org>
6430
6431         * text2.C: don't cast wrap inset to float
6432
6433 2003-05-05  André Pönitz  <poenitz@gmx.net>
6434
6435         * iterator.C:
6436         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6437
6438         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6439           few naked Paragraph *.
6440
6441 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6442
6443         * bufferparams.C: Output warning if a document with missing
6444         TeX document class is loaded
6445         * exporter.C: Disable TeX exports if the document class is missing
6446         * lyxtextclass.C:
6447         * lyxtextclass.h:
6448         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6449         isTeXClassAvailable()
6450
6451 2003-05-03  John Levon  <levon@movementarian.org>
6452
6453         * BufferView.h:
6454         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6455         explicit cursor show/hide
6456
6457         * BufferView_pimpl.h:
6458         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6459         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6460
6461         * lyxfunc.C: hide cursor before dispatching.
6462
6463         * lyx_cb.C:
6464         * lyxfind.C:
6465         * text.C:
6466         * text3.C: remove explicit cursor hides
6467
6468 2003-05-02  André Pönitz  <poenitz@gmx.net>
6469
6470         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6471
6472         * undo_funcs.C:
6473         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6474           linked lists
6475
6476         * text2.C: tiny whitespace
6477
6478 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * undo_funcs.C: almost only ws changes.
6481
6482         * ParagraphList.C (splice): just return if pl is empty.
6483
6484 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * ParagraphList.C (splice): new function.
6487
6488         * CutAndPaste.C (pasteSelection): use it
6489
6490 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6491
6492         * CutAndPaste.C (pasteSelection): remove the last next and
6493         previous from this file.
6494
6495 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * CutAndPaste.C (pasteSelection): more clean up, user proper
6498         ParagraphList functions for pasteing.
6499
6500         * ParagraphList.C (insert): new function, three arg insert
6501
6502 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6503
6504         * ParagraphList.C (insert): new function, three arg insert
6505
6506         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6507         not on paragraphs.
6508
6509 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6512
6513 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6514
6515         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6516
6517 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6520         (copySelection): clean up a bit.
6521         (pasteSelection): use make_pair
6522
6523         * ParagraphList.C (ParagraphList): implement copy constructor
6524         (operator=): implement, base on copy constructor.
6525         (assign): new func
6526
6527         * paragraph.C (erase): return a bool
6528
6529         * paragraph_pimpl.C (erasePos): remove function, move contents...
6530         (erase): ... here. Return a bool.
6531         (erase): call erase instead of erasePos.
6532
6533 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6534
6535         * ParagraphList.h: define PitPosPair
6536         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6537         ParagraphList, fix a bug on pasting multiple pars
6538         * text2.C: change interface to C&P
6539
6540 2003-04-30  André Pönitz  <poenitz@gmx.net>
6541
6542         * undo_func.C: revert part of yesterday's patch 2
6543
6544 2003-04-30  John Levon  <levon@movementarian.org>
6545
6546         * LColor.C: s/tabular/table/
6547
6548 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * text3.C (dispatch): do not convert iterator -> pointer
6551         * undo_funcs.C (setCursorParUndo): ditto
6552         * text_funcs.C (transposeChars): ditto
6553
6554         * text2.C (setLayout): ws changes only
6555
6556         * text.C (breakParagraph): do not convert iterator -> pointer
6557         (insertChar): ditto
6558         (acceptChange): ditto
6559         (rejectChange): ditto
6560         (changeCase): ditto
6561         (Delete): ditto
6562         (backspace): ditto
6563
6564         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6565         pointer
6566
6567 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6568
6569         * text3.C (gotoInset): YABG (yet another bad getChar)
6570
6571 2003-04-29  André Pönitz  <poenitz@gmx.net>
6572
6573         * paragraph.h: make operator= private unimplemented as long as
6574           it is unusable
6575
6576         * ParagraphList.C: whitespace
6577
6578         * paragraph.[Ch]:
6579         * paragraph_pimpl.[Ch]:
6580         * paragraph_funcs.C:
6581         * CutAndPaste.C:
6582         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6583
6584         * text2.C:
6585           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6586
6587 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6588
6589         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6590         * paragraph.[Ch] (erase):
6591         * paragraph_pimpl.[Ch] (erase): change return type and value
6592         * text2.C (cutSelection): some rework
6593
6594 2003-04-28  John Levon  <levon@movementarian.org>
6595
6596         * bufferlist.C: changes for unsaved changes dialog
6597
6598 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * bufferlist.C (newFile): set language (messages_) for new
6601         documents also.
6602
6603         * buffer.C (readFile): ws changes only.
6604
6605 2003-04-28  André Pönitz  <poenitz@gmx.net>
6606
6607         * undo_funcs.C:
6608         * lyxfunc.C:
6609         * buffer.[Ch]:
6610         * BufferView_pimpl.C:
6611         * BufferView.C: getParFromID related ParagraphList::iterator changes
6612
6613 2003-04-28  André Pönitz  <poenitz@gmx.net>
6614
6615         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6616           Changes
6617
6618 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * messages.C: remove one more localedir class variable.
6621
6622 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6623
6624         * messages.C (getLocaleDir): singleton generation function
6625         (Pimpl): use it.
6626         (Messages): add a default constructor.
6627
6628         * main.C (main): do not setup localedir here, do not call
6629         gettext_init.
6630
6631         * gettext.C (_): use it.
6632         (gettext_init): delete funciton
6633
6634 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * gettext.C (getLyXMessages): new singleton generating function.
6637
6638         * buffer.C (updateDocLang): adjust
6639
6640         * Makefile.am (messages.o): add target
6641         (main.o): remove target
6642
6643 2003-04-27  John Levon  <levon@movementarian.org>
6644
6645         * bufferlist.C:
6646         * lyx_cb.C:
6647         * lyxfunc.C:
6648         * lyxvc.C: specify cancel button in Alert::prompt
6649
6650 2003-04-26  John Levon  <levon@movementarian.org>
6651
6652         * text3.C:
6653         * lyxfunc.C:
6654         * lfuns.h:
6655         * LyXAction.C: add LFUN_INSET_SETTINGS
6656
6657         * lyxfunc.C: don't enable tabular-feature when there's
6658         just any locking inset
6659
6660 2003-04-26  John Levon  <levon@movementarian.org>
6661
6662         * bufferlist.C: re-add Cancel to buffer close question
6663
6664         * lyxfunc.C: fix import UI a bit
6665
6666 2003-04-25  John Levon  <levon@movementarian.org>
6667
6668         * gettext.C: remove the broken asserts for now
6669
6670 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6671
6672         * messages.C: make case where setlocale cannot comply work better.
6673
6674         * buffer.C (updateDocLang): new function
6675         (changeLanguage): use it
6676         (readFile): use it
6677
6678         * text2.C (setCounter): use B_ a bit.
6679
6680         * lyxlayout.C (Read): be sure to trim the label strings.
6681
6682         * messages.C (Messages): fix typo in comment
6683
6684         * buffer.C (readFile): set message_ after file is loaded.
6685         (makeDocBookFile): remove double return
6686         (changeLanguage): reset message_ upon language change.
6687         (B_): new func, use this to get translated buffer strings.
6688
6689         * main.C: add myself and Jean Marc as authors.
6690
6691 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * messages.[hC]: pimplify Messages, and three different pimpls to be
6694         used in different circumstances.
6695
6696         * gettext.[Ch]: change for use with new message code.
6697
6698 2003-04-24 André Pönitz <poenitz@gmx.net>
6699
6700         * factory.C: support for eqref
6701
6702 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6703
6704         * messages.[Ch]: add missing char
6705
6706         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6707
6708         * messages.[Ch]: New files
6709
6710 2003-04-18  John Levon  <levon@movementarian.org>
6711
6712         * BufferView.h:
6713         * BufferView.C:
6714         * BufferView_pimpl.C:
6715         * lfuns.h:
6716         * LyXAction.C:
6717         * lyxtext.h:
6718         * text2.C: remove layout-copy/paste (bug 778)
6719
6720 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6721
6722         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6723
6724 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6725
6726         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6727         if they succeed. Act accordingly.
6728
6729 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * text2.C (setCharFont): adjust
6732         (setCounter): adjust
6733         (insertStringAsLines): adjust
6734
6735         * text.C (leftMargin): adjust
6736         (setHeightOfRow): adjust
6737
6738         * rowpainter.C (paintFirst): adjust
6739         (paintLast): adjust
6740
6741         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6742         (outerHook): ditto
6743         (isFirstInSequence): ditto
6744         (getEndLabel): ditto
6745         (outerFont): adjust
6746
6747         * paragraph.C (getParLanguage): comment out some hard stuff.
6748
6749         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6750         (sgmlError): ditto
6751         (simpleDocBookOnePar): ditto
6752         (makeDocBookFile): use ParagraphList::iterator
6753
6754         * CutAndPaste.C (pasteSelection): adjust
6755
6756 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * text2.C (getFont): adjust
6759         (getLayoutFont): adjust
6760         (getLabelFont): adjust
6761
6762         * paragraph_funcs.C (TeXOnePar): adjust
6763
6764         * buffer.C (simpleLinuxDocOnePar): adjust
6765         (simpleDocBookOnePar): adjust
6766
6767         * CutAndPaste.C (pasteSelection): adjust
6768
6769         * BufferView.C (getEncoding): adjust
6770
6771         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6772
6773 2003-04-16  John Levon  <levon@movementarian.org>
6774
6775         * lyxfind.C: use parlist stuff for search/changes
6776
6777 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6780
6781         * text2.C (deleteEmptyParagraphMechanism): adjust
6782
6783         * text2.[Ch] (ownerParagraph): delete func (both of them
6784
6785 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6788
6789 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6790
6791         * ParagraphList.C: prepare for NO_NEXT
6792
6793 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6794
6795         * text2.C (getFont): adjust
6796         (getLayoutFont): adjust
6797         (getLabelFont): adjust
6798
6799         * paragraph.C (getFont): adjust
6800         (getLabelFont): adjust
6801         (getLayoutFont): adjust
6802
6803         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6804
6805 2003-04-15  John Levon  <levon@movementarian.org>
6806
6807         From Angus Leeming
6808
6809         * lyx_main.C: handle Include in .ui files
6810
6811 2003-04-15  John Levon  <levon@movementarian.org>
6812
6813         * MenuBackend.C: make the doc files length shorter
6814
6815         * ToolbarBackend.h:
6816         * ToolbarBackend.C: handle toolbar placement flags,
6817         Minibuffer
6818
6819 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6822         adjust
6823
6824         * paragraph_funcs.C (TeXOnePar): adjust
6825
6826         * paragraph.C (getLabelFont): add outerfont arg, adjust
6827         (getLayoutFont): ditto
6828         (simpleTeXOnePar): adjust
6829
6830         * paragraph_pimpl.C (realizeFont): delete func
6831
6832 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6833
6834         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6835         row argument, constify cur argument.
6836
6837 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6838
6839         * text2.C (getFont): adjust
6840         (getLayoutFont): adjust
6841         (getLabelFont): adjust
6842
6843         * paragraph_funcs.C (TeXOnePar): adjust
6844         (outerFont): new func...
6845         (realizeFont): ...moved out from here, changed this to facilitate
6846         transition
6847
6848         * paragraph.C (getFont): take outerfont as arg, adjust
6849         (simpleTeXOnePar): add outerfont arg, adjust
6850
6851         * buffer.C (simpleLinuxDocOnePar): adjust
6852         (simpleDocBookOnePar): adjust
6853
6854         * CutAndPaste.C (pasteSelection): adjust
6855
6856         * BufferView.C (getEncoding): adjust
6857
6858 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * text2.C (setCharFont): adjust
6861         (setCounter): adjust
6862
6863         * text.C (leftMargin): adjust
6864         (setHeightOfRow): adjust
6865
6866         * rowpainter.C (paintFirst): adjust
6867         (paintLast): adjust
6868
6869         * paragraph_pimpl.C (realizeFont): adjust
6870
6871         * paragraph.C (isFirstInSequence): move from here...
6872         * paragraph_funcs.C (isFirstInSequence): ...to here
6873
6874         * paragraph.C (outerHook): move from here...
6875         * paragraph_funcs.C (outerHook): ...to here
6876
6877         * paragraph.C (depthHook): move from here...
6878         * paragraph_funcs.C (depthHook): ...to here
6879
6880         * paragraph.C (getEndLabel): move from here...
6881         * paragraph_funcs.C (getEndLabel): ...to here
6882
6883         * text2.C (realizeFont): move from here...
6884         * paragraph_funcs.C (realizeFont): ...to here
6885
6886 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6887
6888         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6889
6890 2003-04-14  Angus Leeming  <leeming@lyx.org>
6891
6892         * LColor.[Ch]: scrap LColor mathcursor.
6893
6894 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6895
6896         * lyxlex.[Ch] (text): delete function
6897         * trans.C (Load): adjust
6898         * paragraph_funcs.C (readParToken): adjust
6899
6900 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6903         vector<char> instead of a char[].
6904
6905         * lyxlex_pimpl.C (getString): adjust
6906         (next): adjust
6907         (lex): use getString
6908         (eatLine): adjust
6909         (nextToken): adjust
6910
6911         * lyxlex.C (text): use pimpl_->getString()
6912         (getBool): ditto
6913         (findToken): ditto
6914
6915 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6918         (makeFontEntriesLayoutSpecific): temp var for par.size()
6919         (setLayout): temp var for ownerParagraphs().end()
6920         (fullRebreak): temp var for rows().end()
6921         (selectionAsString): temp var for boost::next(startpit), realize
6922         that the while really is a regular for loop.
6923         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6924         setCursor in one place.
6925         (setParagraph): temp vr for ownerParagraphs().end()
6926         (updateCounters): make the while loop a for loop
6927         (cutSelection): temp var for ownerParagraphs().end()
6928         (updateInset): make the do {} while() a regular for loop
6929         (getCursorX): use temp vars
6930         (setCurrentFont): use temp vars
6931         (getColumnNearX): use temp vars
6932
6933 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * text.C (transformChar): use temp var for getChar
6936         (computeBidiTables): use temp var for row->par()
6937         (fill): move temp vars for row->par() and pit->layout() earlier in
6938         the function.
6939         (labelFill): use temp var for row->par()
6940         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6941         asc and desc, realize that pit never changes and that firstpit is
6942         just a duplicate and not needed. Exchange rit->par() with pit in a
6943         lot of places.
6944         (breakAgain): use a temp var for boost::next(rit)
6945         (breakAgainOneRow): ditto
6946         (breakParagraph): use a temp var for rows().begin()
6947         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6948         (cursorRightOneWord): use temp var for cursor.par() and
6949         cursor.pos(), remove usage of tmpcursor.
6950         (cursorLeftOneWord): use temp var for cursor.par() and
6951         cursor.pos() only set cur at end of function.
6952
6953 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * text.C, text2.C: exchange all usage of Paragraph::next with
6956         boost::next(ParagraphList::iterator)
6957
6958         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6959
6960         * text2.C (cursorTop): simplify implementation
6961         (cursorBottom): ditto
6962         (setParagraph): use ParagraphList::iterator
6963         (setCurrentFont): adjust
6964         (getColumnNearX): adjust
6965         (cursorRight): adjust
6966         (cursorLeft): remove usage of Paragraph::previous
6967         (cursorUpParagraph): ditto
6968         (deleteEmptyParagraphMechanism): slight cleanup
6969
6970         * text.C (isBoundary): take a Paragraph const & instead of a
6971         pointer as arg.
6972         (addressBreakPoint): ditto
6973         (leftMargin): remove usage of Paragraph::previous.
6974         (setHeightOfRow): ditto
6975         (cursorLeftOneWord): ditto
6976         (selectNextWordToSpellcheck): ditto
6977         (Delete): ditto
6978         (backspace): ditto
6979         (breakParagraph): remove one usage of Paragraph::next
6980         (redoParagraph): ditto
6981         (acceptChange): ditto
6982         (insertChar): adjust
6983         (rowBreakPoint): adjust
6984
6985         * bufferview_funcs.C (toggleAndShow): adjust
6986
6987 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6988
6989         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6990         methods to access it.
6991         * lyxtext.h:
6992         * text.C: Added updateRowPositions to compute all row positions.
6993         Make top_y and getRowNearY() to use the cached y position
6994
6995 2003-04-11  John Levon  <levon@movementarian.org>
6996
6997         * text.C (rowBreakPoint): reintroduce the labelEnd
6998         checks, code copied from the row fill stuff. Deep voodoo.
6999
7000         * text.C (fill): add a comment and debugging for the
7001         next poor soul.
7002
7003 2003-04-11  John Levon  <levon@movementarian.org>
7004
7005         * text.C: make sure fullrow insets get wrapped to the next line,
7006         even when they're in a manual label
7007
7008 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7009
7010         * text2.C (insertParagraph): make it take ParagraphList::iterator
7011         as arg.
7012         (setLayout): make it return ParagraphList::iterator
7013         (redoParagraphs): ditto
7014         (setCounter): ditto
7015         (checkParagraph): ditto
7016
7017         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7018
7019         * text2.C: adjust several funcs.
7020         (realizeFont): take a ParagraphList::iterator as arg.
7021         (getLayoutFont): ditto
7022         (getLabelFont): ditto
7023         (setCharFont): ditto
7024
7025         * text.C: adjust several funcs.
7026
7027 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7028
7029         * text.C (selectNextWordToSpellcheck): don't accidentally
7030         skip insets
7031
7032 2003-04-10  John Levon  <levon@movementarian.org>
7033
7034         * ToolbarBackend.C (getIcon): special handling for
7035         LFUN_MATH_DELIM
7036
7037 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7038
7039         * text2.C (cursorRight): a getChar assert fixed
7040
7041 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * text2.C (getFont): change to take a ParagraphList::iterator
7044         instead of Paragraph*
7045         Adjust several functions.
7046
7047         * text.C (transformChar): change to take a ParagraphList::iterator
7048         instead of Paragraph*
7049         (singleWidth): ditto
7050         Adjust several functions.
7051
7052         * rowpainter.C: adjust several functions
7053         * rowpainter.h:store a ParagraphList::iterator and not a
7054         Paragraph&.
7055
7056
7057 2003-04-09  John Levon  <levon@movementarian.org>
7058
7059         * lyxfunc.C:
7060         * lfuns.h:
7061         * LyXAction.h:
7062         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7063         and the "help" bits as well
7064
7065 2003-04-09  John Levon  <levon@movementarian.org>
7066
7067         * ToolbarBackend.h:
7068         * ToolbarBackend.C: allow multiple toolbars
7069
7070 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * undo_funcs.C (setCursorParUndo): adjust
7073
7074         * text_funcs.C (transposeChars): adjust
7075
7076         * text3.C (gotoNextInset): adjust
7077         (dispatch): adjust
7078
7079         * text2.C (setLayout): adjust
7080         (changeDepth): adjust
7081         (setFont): adjust
7082         (redoParagraphs): adjust
7083         (selectionAsString): adjust
7084         (setParagraph): adjust
7085         (insertInset): adjust
7086         (cutSelection): adjust
7087         (copySelection): adjust
7088         (pasteSelection): adjust
7089         (insertStringAsLines): adjust
7090         (updateInset): adjust
7091         (setCursor): change to take a ParagraphList::iterator parameter
7092         (setCursorIntern): change to take a ParagraphList::iterator parameter
7093         (setCurrentFont): adjust
7094         (cursorLeft): adjust
7095         (cursorRight): adjust
7096         (deleteEmptyParagraphMechanism): adjust
7097
7098         * text.C (breakParagraph): adjust
7099         (insertChar): adjust
7100         (acceptChange): adjust
7101         (rejectChange): adjust
7102         (selectNextWordToSpellcheck): adjust
7103         (changeCase): adjust
7104         (Delete): adjust
7105         (backspace): adjust
7106
7107         * lyxfind.C (SearchForward): adjust
7108         (SearchBackward): adjust
7109         (nextChange): adjust
7110
7111         * lyxcursor.C (par): adjust
7112
7113         * lyxcursor.h: store a ParagraphList::iterator instead of a
7114         Paragraph*
7115
7116         * lyx_cb.C (getPossibleLabel): adjust
7117
7118         * bufferview_funcs.C (toggleAndShow): adjust
7119
7120         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7121         (dispatch): adjust
7122
7123         * BufferView.C (removeAutoInsets): adjust
7124         (lockedInsetStoreUndo): adjust
7125
7126 2003-04-09  John Levon  <levon@movementarian.org>
7127
7128         * ToolbarBackend.C: try icon without argument
7129         if with argument fails
7130
7131 2003-04-08  John Levon  <levon@movementarian.org>
7132
7133         * ToolbarBackend.h:
7134         * ToolbarBackend.C: add getIcon(), handle tooltip,
7135         and change from "Icon" to "Item".
7136
7137 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7138
7139         * BufferView.C (lockInset): another bad getchar crunched
7140
7141 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7142
7143         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7144         again)
7145
7146 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7147
7148         * lyxfind.C (searchForward, searchBackwards): bug 782
7149
7150 2003-04-07  John Levon  <levon@movementarian.org>
7151
7152         * paragraph.C: remove dead comment
7153
7154         * text.C: remove troublesome depth-fiddling code
7155         in leftMargin() and rightMargin() (bug 1017)
7156
7157         * text.C: fix breaking of rows in nested lists
7158         (bug 1004)
7159
7160         * text2.C (updateCounters): fix up depth values
7161         (bug 1013)
7162
7163 2003-04-07  John Levon  <levon@movementarian.org>
7164
7165         * BufferView_pimpl.C: clear message when doc finishes resizing,
7166         and after a mouse event
7167
7168         * lyxfunc.C: clear message after exiting inset
7169
7170 2003-04-07  John Levon  <levon@movementarian.org>
7171
7172         * bufferview_funcs.C: show math status not outside
7173         status in the statusbar
7174
7175 2003-04-07  John Levon  <levon@movementarian.org>
7176
7177         * lyxfunc.C: note status changed after a depth change
7178
7179 2003-04-04  Angus Leeming  <leeming@lyx.org>
7180
7181         * LaTeX.h: move AuxInfo operator==, != out of line.
7182         Remove LaTeX virtual destructor; nothing derives from it.
7183         Move operator()() out of public area and rename it startscript().
7184         Change protected for private.
7185
7186 2003-04-04  Angus Leeming  <leeming@lyx.org>
7187
7188         * lyxfunc.C:
7189         * text2.C: remove unneeded #includes.
7190
7191 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7192
7193         * text2.C (dEPM): fix the heigth of the next row
7194
7195 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7196
7197         * text.C: squashed an invalid getChar requester + some ws changes
7198
7199 2003-04-03  John Levon  <levon@movementarian.org>
7200
7201         * bufferview_funcs.h:
7202         * bufferview_funcs.C:
7203         * lyxfunc.C:
7204         * lyxtext.h:
7205         * text2.C: make getStatus work for the env depth lfuns
7206
7207 2003-04-03  John Levon  <levon@movementarian.org>
7208
7209         * bufferview_funcs.h:
7210         * bufferview_funcs.C:
7211         * lyxfunc.C:
7212         * lyxtext.h:
7213         * text2.C: parlistize decDepth(), by merging it with incDepth()
7214
7215 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * lyxrow.h: store a ParagraphList::iterator instead of a
7218         Paragraph* and adjust other class functions to suit.
7219
7220         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7221         above.
7222
7223 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7224
7225         * text2.C (setCursor): do not anchor to cursor row for the time being
7226
7227 2003-04-02  John Levon  <levon@movementarian.org>
7228
7229         * LyXAction.C:
7230         * lfuns.h:
7231         * lyx_main.C:
7232         * lyxtext.h:
7233         * text.C:
7234         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7235
7236 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * paragraph.h: make ParagraphList and ParagraphList::iterator
7239         friends of Paragraph.
7240
7241         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7242
7243         * ParagraphList.C: Use the private next_ and previous_ from
7244         Paragraph.
7245
7246 2003-04-01  John Levon  <levon@movementarian.org>
7247
7248         * ToolbarBackend.h:
7249         * ToolbarBackend.C:
7250         * Makefile.am: rename, remove defaults gunk
7251
7252         * MenuBackend.h:
7253         * MenuBackend.C: remove defaults gunk
7254
7255         * Languages.h:
7256         * Languages.C: remove defaults gunk
7257
7258         * lyx_main.h:
7259         * lyx_main.C: error out if files couldn't be found.
7260
7261 2003-04-02  John Levon  <levon@movementarian.org>
7262
7263         * text2.C: make incDepth() use parlist
7264
7265 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7266
7267         * undo_funcs.C (firstUndoParagraph): adjust
7268
7269         * text3.C (gotoInset): adjust
7270         (dispatch): adjust, and rewrite loop.
7271
7272         * text2.C (init): adjust, and rewrite loop.
7273         (redoParagraphs): adjust
7274         (updateInset): adjust, and rewrite loop.
7275         (deleteEmptyParagraphMechanism): adjust
7276
7277         * tabular.C (LyXTabular): adjust
7278         (SetMultiColumn): adjust
7279         (TeXRow): adjust
7280
7281         * lyxtext.[Ch] (ownerParagraph): delete function
7282         (ownerParagraphs): new function returns a ParagraphList.
7283
7284         * BufferView.C (removeAutoInsets): adjust
7285         (insertErrors): adjust
7286         (setCursorFromRow): adjust
7287
7288 2003-04-01  Angus Leeming  <leeming@lyx.org>
7289
7290         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7291         in the frontends.
7292
7293 2003-04-02  John Levon  <levon@movementarian.org>
7294
7295         * lyxtext.h:
7296         * text.C:
7297         * Makefile.am:
7298         * text_funcs.h:
7299         * text_funcs.C: make transposeChars a free function
7300
7301         * lyxrow_funcs.C: remove wrong comment
7302
7303 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * lyxtext.h: adjust
7306         * rowpainter.C: adjust
7307         * text.C: adjust
7308         * text2.C: adjust
7309         * text3.C: adjust
7310
7311         * lyxrow_funcs. [Ch]: new files
7312
7313         * lyxrow.[Ch]: remove next and previous pointers
7314         (next,previous): remove accessor functions
7315         (isParEnd): move to lyxrow_funcs
7316         (lastPos): move to lyxrow_funcs
7317         (nextRowIsAllInset): move to lyxrow_funcs
7318         (lastPrintablePos): move to lyxrow_funcs
7319         (numberOfSeparators): move to lyxrow_funcs
7320         (numberOfHfills): move to lyxrow_funcs
7321         (numberOfLabelHfills): move to lyxrow_funcs
7322         (hfillExpansion): move to lyxrow_funcs
7323
7324         * lyxfunc.C: adjust
7325
7326         * bufferview_funcs.C (toggleAndShow): adjust
7327
7328         * RowList.h: Remove class RowList from file leave just a
7329         std::list<Row>.
7330
7331         * RowList.C: delete file
7332
7333         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7334         and lyxrow_funcs.h
7335
7336 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * text3.C (cursorPrevious): adjust
7339         (cursorNext): adjust
7340         (dispatch): adjust
7341
7342         * text2.C (redoHeightOfParagraph): adjust
7343         (redoDrawingOfParagraph): adjust
7344         (setCursor): adjust
7345
7346         * text.C (breakParagraph): adjust
7347         (insertChar): adjust
7348         (backspace): adjust
7349
7350         * rowpainter.C (RowPainter): adjust
7351         (leftMargin): simplify and adjust
7352         (most rowpainter functions): adjust.
7353
7354         * rowpainter.h: store the row as RowList::iterator not as Row*
7355
7356         * lyxcursor.C (row): taka RowList::iterator as arg
7357         (irow): ditto
7358
7359         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7360         of Row*.
7361
7362 2003-04-01  Angus Leeming  <leeming@lyx.org>
7363
7364         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7365         stuff like bool Bool.
7366
7367 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7368
7369         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7370         rewrite a loop
7371
7372 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7375         RowList::iterator.
7376
7377         * lyxtext.h (rows): drop one version and leve a const variant that
7378         returns a RowList::iterator.
7379
7380 2003-03-31  Angus Leeming  <leeming@lyx.org>
7381
7382         * text.C (fill): ensure that the signature is the same as that in the
7383         header file.
7384
7385 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * text2.C (redoParagraphs): adjust
7388         (updateCounters): adjust
7389         (checkParagraph): adjust
7390         (getColumnNearX): adjust and reformat a bit.
7391
7392         * text.C (top_y): adjust
7393         (workWidth): adjust
7394         (leftMargin): adjust
7395         (prepareToPrint): adjust
7396         (getRow): adjust
7397         (getRowNearY): adjust
7398
7399         * lyxtext.h: make rowlist_ mutable.
7400
7401         * RowList.h: add const_iterator
7402         * RowList.C: adjust for RowList::const_iterator.
7403
7404         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7405         adjust.
7406
7407 2003-03-31  John Levon  <levon@movementarian.org>
7408
7409         * lyxrc.h:
7410         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7411
7412         * lyx_main.C: set default fonts from using lyx_gui funcs
7413
7414         * exporter.C: pdf_mode moved from lyxrc
7415
7416         * lyx_cb.C:
7417         * lyxfunc.C: changes from above
7418
7419 2003-03-31  John Levon  <levon@movementarian.org>
7420
7421         * lyx_main.C: fix to the last fix
7422
7423 2003-03-31  John Levon  <levon@movementarian.org>
7424
7425         * bufferlist.C: "Load original" -> "Load Original"
7426
7427         * converter.C:
7428         * exporter.C:
7429         * importer.C:
7430         * lyx_main.C:
7431         * format.C: more Alert cleanups
7432
7433 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7434
7435         * text2.C (removeParagraph): make it take a RowList::iterator as
7436         arg, adjust.
7437         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7438         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7439
7440         * text.C (anchor_row): make it take a RowList::iterator as arg,
7441         adjust.
7442         (computeBidiTables): make it take a const reference to Row instead
7443         of Row pointer, adjust.
7444         (leftMargin): make it take a RowList::iterator as arg, adjust.
7445         (rowBreakPoint): adjust
7446         (breakAgainOneRow): make it take a RowList::iterator as arg,
7447         adjust.
7448         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7449
7450         * bufferview_funcs.C (toggleAndShow): adjust
7451
7452 2003-03-30  John Levon  <levon@movementarian.org>
7453
7454         * Makefile.am:
7455         * BoostFormat.h:
7456         * boost-inst.C: moved to support
7457
7458         * several files: changes as a result
7459
7460 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * text2.C (LyXText): adjust.
7463         (init): adjust
7464         (removeRow): make it take a RowList::iterator as arg, adjust.
7465         (fullRebreak): adjust
7466         (deleteEmptyParagraphMechanism): adjust
7467         (clearPaint): adjust
7468         (postPaint): adjust
7469
7470         * text.C (top_y): adjust
7471         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7472         (breakAgain): make it take a RowList::iterator as arg, adjust.
7473         (breakParagraph): adjust
7474         (insertChar): adjust
7475         (backspace): adjust
7476
7477         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7478         need_break_row, and refresh_row.
7479
7480         * text3.C (dispatch): adjust
7481
7482         * text2.C (checkParagraph): adjust
7483         (setCursor): adjust
7484         (setCursorFromCoordinates): adjust
7485
7486         * text.C (top_y): adjust
7487         (workWidth): adjust
7488         (getRow): make it return a RowList::iterator, adjust
7489         (getRowNearY): make it return a RowList::iterator, adjust
7490
7491         * text2.C (init): adjust
7492         (insertRow): remove function
7493         (insertParagraph): adjust
7494         (redoParagraphs): adjust
7495         (fullRebreak): adjust
7496         (updateCounters): adjust
7497
7498         * text.C (top_y): rewrite to use RowList iterators.
7499         (top_y): adjust
7500         (setHeightOfRow): rewrite to sue RowList iterators.
7501         (appendParagraph): adjust
7502         (breakAgain): adjust
7503         (breakAgainOneRow): adjust
7504         (breakParagraph): adjust
7505         (getRow): adjust
7506         (getRowNearY): adjust, and remove commented code.
7507
7508         * lyxtext.h (firstRow): delete function
7509         (lastRow): delete function
7510         (rows): new function (const and non-const versions.)
7511         (insertRow): delete function
7512
7513         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7514
7515 2003-03-29  John Levon  <levon@movementarian.org>
7516
7517         * BufferView_pimpl.C: always update scrollbar top
7518         because pasting text when we're anchored could mean we
7519         miss an update altogether
7520
7521 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * text2.C (init): use rowlist_.end() and not 0.
7524         (insertRow): change to take a RowList::iterator as arg, adjust
7525         for this.
7526         (insertParagraph): change to take a RowList::iterator as arg,
7527         adjust for this.
7528         (redoParagraphs): remove some debug msgs.
7529
7530         * text.C (appendParagraph): change to take a RowList::iterator
7531         arg, adjust for this.
7532         (breakAgain): add an assert
7533         (breakAgainOneRow): ditto
7534
7535 2003-03-29  John Levon  <levon@movementarian.org>
7536
7537         * text2.C: do not clear selection after inc/decDepth
7538         (bug 550)
7539
7540 2003-03-29  John Levon  <levon@movementarian.org>
7541
7542         * BufferView.C:
7543         * buffer.C: fix broken strerrors according to Lars
7544
7545 2003-03-29  John Levon  <levon@movementarian.org>
7546
7547         * converters.C: more Alert cleanups
7548
7549 2003-03-29  John Levon  <levon@movementarian.org>
7550
7551         * bufferview_funcs.C: remove pointless Alert
7552
7553         * buffer.C: fix confusing error message when
7554         a template is chmoded 000
7555
7556 2003-03-29  John Levon  <levon@movementarian.org>
7557
7558         * BufferView.C:
7559         * BufferView.h:
7560         * BufferView_pimpl.C: Alert fixes
7561
7562         * Makefile.am:
7563         * tabular.C:
7564         * tabular-old.C: remove unused table compat reading
7565
7566 2003-03-29  John Levon  <levon@movementarian.org>
7567
7568         * BufferView.C:
7569         * buffer.C:
7570         * lyx_cb.h:
7571         * lyx_cb.C: more Alert cleanups
7572
7573         * lyxfunc.C: don't allow chktex if not latex document
7574
7575 2003-03-29  John Levon  <levon@movementarian.org>
7576
7577         * lyx_cb.C:
7578         * BufferView.C:
7579         * buffer.C: warnings pushed down from support/,
7580         kill err_alert
7581
7582 2003-03-29  John Levon  <levon@movementarian.org>
7583
7584         * lyxfunc.C: safety check for C-r (revert)
7585
7586 2003-03-29  John Levon  <levon@movementarian.org>
7587
7588         * bufferlist.h:
7589         * bufferlist.C: several UI fixes using Alert::prompt.
7590         Fix the pointless looping quit code. Fix stupid revert
7591         behaviour (bug 938)
7592
7593         * lyxvc.h:
7594         * lyxvc.C:
7595         * lyx_cb.C: use Alert::prompt
7596
7597         * lyx_main.C: remove a silly question
7598
7599         * lyxfunc.C: remove a couple of silly questions,
7600         use Alert::prompt
7601
7602 2003-03-28  John Levon  <levon@movementarian.org>
7603
7604         * text2.C: fix bug 974 (End on empty par)
7605
7606 2003-03-28  John Levon  <levon@movementarian.org>
7607
7608         * BufferView_pimpl.C:
7609         * LyXAction.C:
7610         * lfuns.h: remove do-nothing math greek lfuns
7611
7612 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7613
7614         * lyxgluelength.h (isValidGlueLength): add default arg on
7615         parameter 2. Remove default arg from friend in class.
7616
7617         * lyxlength.h (isValidLength): add default arg on parameter 2.
7618         Remove default arg from friend in class.
7619
7620         * text2.C (LyXText): adjust, initialize refresh_row.
7621         (init): adjust
7622         (removeRow): adjust
7623         (insertRow): adjust
7624         (insertParagraph): adjst
7625         (redoParagraphs): adjust
7626         (fullRebreak): adjust
7627         (updateCounters): adjust
7628         (deleteEmptyParagraphMechanism): first attempt at fixing a
7629         crashing bug.
7630
7631         * text.C (top_y): adjust
7632         (setHeightOfRow): adjust
7633         (getRow): adjust
7634         (getRowNearY): adjust
7635
7636         * lyxtext.h: include RowList.h
7637         (~LyXText): not needed anymore, deleted.
7638         (firstRow): modify for RowList
7639         (lastRow): new function
7640         Delete firstrow and lastrow class variables, add a Rowlist
7641         rowlist_ class variable.
7642
7643         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7644         paragraph is empty.
7645
7646         * RowList.C (insert): fix case where it == begin().
7647
7648 2003-03-26  Angus Leeming  <leeming@lyx.org>
7649
7650         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7651         the thesaurus dialog.
7652
7653 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7656
7657         * RowList.[Ch]: new files
7658
7659         * ParagraphList.C (erase): handle the case where it == begin
7660         correctly.
7661
7662 2003-03-25  John Levon  <levon@movementarian.org>
7663
7664         * Makefile.am:
7665         * aspell_local.h:
7666         * aspell.C: add new aspell support
7667
7668         * lyxrc.h:
7669         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7670         have it accessible.
7671
7672 2003-03-25  Angus Leeming  <leeming@lyx.org>
7673
7674         * lfuns.h:
7675         * LyXAction.C (init): new LFUN_INSET_INSERT.
7676
7677         * BufferView_pimpl.C (dispatch): split out part of the
7678         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7679
7680         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7681         LFUN_INSET_APPLY.
7682
7683 2003-03-25  Angus Leeming  <leeming@lyx.org>
7684
7685         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7686
7687 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7688
7689         * text2.C:
7690         * text3.C: remove useless row->height(0)
7691
7692 2003-03-25  John Levon  <levon@movementarian.org>
7693
7694         * lyxtext.h:
7695         * text2.C:
7696         * text3.C: rename the refreshing stuff to better names
7697
7698 2003-03-24  John Levon  <levon@movementarian.org>
7699
7700         * BufferView_pimpl.h:
7701         * BufferView_pimpl.C: update layout choice on a mouse
7702         press/release
7703
7704 2003-03-23  John Levon  <levon@movementarian.org>
7705
7706         * Makefile.am: fix commandtags.h reference
7707
7708 2003-03-22  John Levon  <levon@movementarian.org>
7709
7710         * BufferView_pimpl.C:
7711         * lyxtext.h:
7712         * rowpainter.C:
7713         * rowpainter.h:
7714         * text.C:
7715         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7716
7717 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7718
7719         * lyxtext.h:
7720         * text.C: take the rtl methods out of line
7721
7722 2003-03-21 André Pönitz <poenitz@gmx.net>
7723
7724         * metricsinfo.[Ch]: new files containing structures to be passed around
7725         during the two-phase-drawing...
7726
7727 2003-03-21 André Pönitz <poenitz@gmx.net>
7728
7729         * lyxtextclass.C: read 'environment' tag.
7730
7731 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7732
7733         * text2.C (removeRow): fix bug 964
7734
7735 2003-03-20  John Levon  <levon@movementarian.org>
7736
7737         * rowpainter.C:
7738         * text.C:
7739         * text2.C: paint cleanups. Inset::update() dropped font
7740         parameter
7741
7742 2003-03-19  John Levon  <levon@movementarian.org>
7743
7744         * lyxfunc.C: only fitcursor/markDirty if available()
7745
7746 2003-03-19  John Levon  <levon@movementarian.org>
7747
7748         * commandtags.h: rename to ...
7749
7750         * lfuns.h: ... this, and renumber / cleanup
7751
7752 2003-03-19  John Levon  <levon@movementarian.org>
7753
7754         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7755         fit the cursor after an lfun
7756
7757         * BufferView.h:
7758         * BufferView.C:
7759         * BufferView_pimpl.h:
7760         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7761
7762         * LyXAction.C: layout-character should have ReadOnly
7763
7764         * ParagraphParameters.C:
7765         * buffer.C:
7766         * bufferview_funcs.C:
7767         * lyx_cb.C:
7768         * lyxfind.C:
7769         * lyxtext.h:
7770         * text.C:
7771         * text2.C:
7772         * text3.C:
7773         * undo_funcs.C: changes from above
7774
7775 2003-03-18  John Levon  <levon@movementarian.org>
7776
7777         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7778         remove it from update()
7779
7780         * lyxfunc.C: update layout choice after an lfun
7781
7782         * text3.C: remove extra updateLayoutChoice()s
7783
7784 2003-03-18  John Levon  <levon@movementarian.org>
7785
7786         * text.C: top_y change means full repaint, fix
7787         a drawing bug with cursor movement
7788
7789 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7790
7791         * lyxtext.h:
7792         * text.C:
7793         * text2.C: anchor row on setCursor
7794
7795 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7796
7797         * lyxtext.h: remove almost all mutable keywords
7798         * text.C:
7799         * text2.C:
7800         * text3.C: remove const keywords accordingly
7801
7802 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7805         anon namespace
7806         (TeXEnvironment): ditto
7807         (TeXOnePar): ditto
7808
7809 2003-03-17  John Levon  <levon@movementarian.org>
7810
7811         * text.C (rowBreakPoint): remove attempt to fix displayed
7812         math insets inside a manual label
7813
7814 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7815
7816         * lyxtext.h: remove BufferView* as first arg from almost all class
7817         functions.
7818         * other files: adjust.
7819
7820 2003-03-17  John Levon  <levon@movementarian.org>
7821
7822         * lyxtext.h:
7823         * undo_funcs.C:
7824         * text2.C: more paint cleanups
7825
7826         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7827
7828         * rowpainter.h:
7829         * rowpainter.C: remove "smart" background painting code
7830
7831 2003-03-16  John Levon  <levon@movementarian.org>
7832
7833         * lyxtext.h:
7834         * text.C:
7835         * text2.C:
7836         * text3.C: add helper functions for setting refresh_row/y
7837
7838 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7839
7840         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7841         newline inset which *can* get inserted in the pass_thru layouts.
7842         This is primarily for literate documents.
7843
7844 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7845
7846         * buffer.C: increment LYX_FORMAT to 223
7847
7848 2003-03-14 André Pönitz <poenitz@gmx.net>
7849
7850         * textclass.h: prepare for environment handling, ws changes
7851         * lyxlayout.C: read latexheader and latexfooter tags
7852
7853 2003-03-14  John Levon  <levon@movementarian.org>
7854
7855         * text2.C: rewrite ::status() a bit
7856
7857 2003-03-13  John Levon  <levon@movementarian.org>
7858
7859         * lyxtext.h: add some docs
7860
7861 2003-03-13  John Levon  <levon@movementarian.org>
7862
7863         * lyxtext.h:
7864         * text.C:
7865         * text2.C:
7866         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7867
7868 2003-03-13  John Levon  <levon@movementarian.org>
7869
7870         * text3.C: fix appendix redrawing
7871
7872 2003-03-13  John Levon  <levon@movementarian.org>
7873
7874         * text.C (setHeightOfRow):
7875         * rowpainter.h:
7876         * rowpainter.C: make appendix mark have the text
7877           "Appendix" so the user knows what it is
7878
7879         * LColor.h:
7880         * LColor.C: s/appendixline/appendix/ from above
7881
7882 2003-03-13  John Levon  <levon@movementarian.org>
7883
7884         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7885
7886         * text.C: fix a getChar(pos) bug properly
7887
7888 2003-03-13  Angus Leeming  <leeming@lyx.org>
7889
7890         * commandtags.h:
7891         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7892         Probably only temporary. Let's see how things pan out.
7893
7894         * BufferView.C (unlockInset):
7895         * BufferView_pimpl.C (fitCursor):
7896         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7897
7898         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7899         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7900
7901         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7902         new functions that convert ParagraphParameters to and from a string.
7903
7904         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7905         BufferView::Pimpl's dispatch.
7906         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7907
7908 2003-03-13 André Pönitz <poenitz@gmx.net>
7909
7910         * lyxfunc.C:
7911         * text3.C:
7912         * factory.C: make it aware of InsetEnv
7913
7914 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7915
7916         * text2.C (setCursor): never ask for one past last
7917         (setCursor): add some debugging messages.
7918
7919         * text.C (singleWidth): never ask for one past last
7920         (singleWidth): ditto
7921         (leftMargin): ditto
7922         (rightMargin): ditto
7923         (rowBreakPoint): ditto
7924         (setHeightOfRow): ditto
7925         (prepareToPrint): ditto
7926
7927         * rowpainter.C (paintBackground): never ask for one past last
7928         (paintText): never ask for one past last
7929
7930         * paragraph_pimpl.C (getChar): make the assert stricter, never
7931         allow the one past last pos to be taken
7932
7933         * paragraph.C (getChar): ws changes only
7934
7935         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7936         (numberOfSeparators): ditto
7937         (numberOfHfills): ditto
7938
7939 2003-03-12  John Levon  <levon@movementarian.org>
7940
7941         * author.h:
7942         * author.C:
7943         * bufferparams.h:
7944         * bufferparams.C:
7945         * paragraph_funcs.C: fix per-buffer authorlists
7946
7947 2003-03-12  John Levon  <levon@movementarian.org>
7948
7949         * text.C: fix newline in right address
7950
7951 2003-03-12  Angus Leeming  <leeming@lyx.org>
7952
7953         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7954         duplicate those in LyXFunc::dispatch.
7955
7956         * commandtags.h:
7957         * LyXAction.C:
7958         * ToolbarDefaults.C:
7959         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7960         Add LFUN_FONTFREE_UPDATE.
7961
7962         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7963         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7964
7965         * bufferview_func.[Ch]: several new functions to facilliate
7966         transfer of data to and from the character dialog.
7967
7968 2003-03-12  John Levon  <levon@movementarian.org>
7969
7970         * buffer.C:
7971         * paragraph.h:
7972         * paragraph.C:
7973         * paragraph_funcs.C:
7974         * paragraph_pimpl.C:
7975         * sgml.C:
7976         * tabular.C:
7977         * text.C:
7978         * text3.C: remove META_NEWLINE in favour of an inset
7979
7980         * rowpainter.h:
7981         * rowpainter.C: remove paintNewline (done by inset)
7982
7983 2003-03-12  John Levon  <levon@movementarian.org>
7984
7985         * paragraph_pimpl.C: complain about bad getChar()s
7986         for a while at least
7987
7988 2003-03-12  John Levon  <levon@movementarian.org>
7989
7990         * buffer.h:
7991         * buffer.C: move paragraph read into a separate function,
7992         a little renaming to reflect that.
7993
7994         * bufferparams.h:
7995         * bufferparams.C: remove the author_ids map, not necessary now
7996
7997         * factory.h:
7998         * factory.C: moved Buffer::readInset to here
7999
8000         * paragraph_funcs.h:
8001         * paragraph_funcs.C: readParagraph free function moved from
8002         buffer.C
8003
8004         * tabular.C: name change
8005
8006 2003-03-12  John Levon  <levon@movementarian.org>
8007
8008         * buffer.C:
8009         * ParagraphParameters.C: move par params input to
8010         a read() method
8011
8012         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8013         behave like a normal read from the stream wrt reading
8014         a line vs. a \\token
8015
8016 2003-03-12  John Levon  <levon@movementarian.org>
8017
8018         * paragraph.C:
8019         * ParagraphParameters.h:
8020         * ParagraphParameters.C: move output code to a
8021         ::write() method
8022
8023 2003-03-12  John Levon  <levon@movementarian.org>
8024
8025         * BufferView.C (insertLyXFile):
8026         * buffer.h:
8027         * buffer.C:
8028         * tabular.C: use a parlist iterator for creating the
8029           document.
8030
8031 2003-03-12  John Levon  <levon@movementarian.org>
8032
8033         * buffer.C: make current_change static local not
8034           static file-scope
8035
8036 2003-03-12  John Levon  <levon@movementarian.org>
8037
8038         * buffer.C: fix insertStringAsLines for change tracking
8039
8040 2003-03-12  John Levon  <levon@movementarian.org>
8041
8042         * BufferView.C:
8043         * tabular.C:
8044         * buffer.h:
8045         * buffer.C:
8046         * bufferparams.h:
8047         * bufferparams.C: move author list into params. Rename some
8048           functions. Move the header reading into a separate token
8049           loop. Move the header token reading into BufferParams.
8050
8051 2003-03-12  John Levon  <levon@movementarian.org>
8052
8053         * changes.C: put debug inside lyxerr.debugging() checks
8054
8055 2003-03-11 André Pönitz <poenitz@gmx.net>
8056
8057         * factory.C: make it aware of InsetHFill
8058
8059 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8060
8061         * buffer.C (latexParagraphs): move function from here...
8062         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8063         args.
8064
8065 2003-03-10  Angus Leeming  <leeming@lyx.org>
8066
8067         * LyXAction.C (init): fix bug in poplating array with multiple entries
8068         with the same LFUN (spotted by JMarc).
8069
8070 2003-03-10  John Levon  <levon@movementarian.org>
8071
8072         * text.C:
8073         * text2.C: move getColumnNearX() near its
8074         only call site
8075
8076 2003-03-10  John Levon  <levon@movementarian.org>
8077
8078         * text.C: fix break before a minipage
8079
8080 2003-03-10  John Levon  <levon@movementarian.org>
8081
8082         * text.C: fix the last commit
8083
8084 2003-03-09  John Levon  <levon@movementarian.org>
8085
8086         * lyxtext.h:
8087         * text.C:
8088         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8089         bug 365 (don't break before insets unless needed). Don't
8090         return a value > last under any circumstances.
8091
8092 2003-03-09  Angus Leeming  <leeming@lyx.org>
8093
8094         * BufferView_pimpl.C (trackChanges, dispatch): call
8095         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8096
8097 2003-03-09  Angus Leeming  <leeming@lyx.org>
8098
8099         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8100         than Dialogs::showAboutlyx().
8101
8102 2003-03-09  Angus Leeming  <leeming@lyx.org>
8103
8104         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8105         than Dialogs::showTabularCreate().
8106
8107 2003-03-09  John Levon  <levon@movementarian.org>
8108
8109         * lyxtext.h:
8110         * text.C:
8111         * text2.C: 3rd arg to nextBreakPoint was always the same.
8112           Use references.
8113
8114 2003-03-08  John Levon  <levon@movementarian.org>
8115
8116         * lyxrow.C:
8117         * paragraph.C:
8118         * paragraph.h:
8119         * rowpainter.C:
8120         * text.C:
8121         * text2.C: Remove the "main" bit from the "main body"
8122           notion.
8123
8124 2003-03-08  John Levon  <levon@movementarian.org>
8125
8126         * text.C (leftMargin): The left margin of an empty
8127         manual label paragraph should not include the label width
8128         string length.
8129
8130         * text.C (prepareToPrint): don't attempt to measure hfills
8131         for empty manual label paragraphs - the answer should be 0
8132
8133 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8134
8135         * CutAndPaste.C: remove commented code and reindent.
8136
8137 2003-03-08  John Levon  <levon@movementarian.org>
8138
8139         * lyxfunc.h:
8140         * lyxfunc.C: move reloadBuffer()
8141
8142         * BufferView.h:
8143         * BufferView.C: to here
8144
8145         * lyxvc.C: add comment
8146
8147         * vc-backend.h:
8148         * vc-backend.C: call bv->reload() to avoid
8149           getStatus() check on MENURELOAD
8150
8151 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8152
8153         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8154         to an old format .dep file.
8155
8156 2003-03-07  Angus Leeming  <leeming@lyx.org>
8157
8158         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8159         when the LFUN_MOUSE_RELEASE should have been handled by
8160         inset->localDispatch.
8161
8162 2003-03-07  Angus Leeming  <leeming@lyx.org>
8163
8164         * BufferView_pimpl.C (dispatch):
8165         * LyXAction.C (init):
8166         * ToolbarDefaults.C (init):
8167         * commandtags.h:
8168         * lyxfunc.C (getStatus):
8169         remove LFUN_INSET_GRAPHICS.
8170
8171         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8172
8173 2003-03-07  Angus Leeming  <leeming@lyx.org>
8174
8175         * commandtags.h:
8176         * LyXAction.C (init):
8177         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8178
8179         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8180
8181         * commandtags.h:
8182         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8183
8184         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8185         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8186
8187 2003-03-07  Angus Leeming  <leeming@lyx.org>
8188
8189         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8190         remove "ert".
8191
8192 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8193
8194         * ParagraphList.C (front): new function
8195         (back): implement
8196
8197 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8198
8199         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8200         and top_row_offset_. removed var first_y.
8201         * text.C (top_y):
8202         * text2.C (LyXText, removeRow):
8203         * text3.C:
8204         * BufferView_pimpl.C:
8205         use these methods instead of using first_y
8206
8207 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * text2.C (pasteSelection): adjust for checkPastePossible
8210
8211         * CutAndPaste.C: remove Paragraph * buf and replace with
8212         ParagraphList paragraphs.
8213         (DeleteBuffer): delete
8214         (cutSelection): change the tc type to textclass_type
8215         (copySelection): change the tc type to textclass_type
8216         (copySelection): adjust for ParagraphList
8217         (pasteSelection): change the tc type to textclass_type
8218         (pasteSelection): adjust for Paragraphlist
8219         (nrOfParagraphs): simplify for ParagraphList
8220         (checkPastePossible): simplify for ParagraphList
8221         (checkPastePossible): remove unused arg
8222
8223         * ParagraphList.C (insert): handle the case where there are no
8224         paragraphs yet.
8225
8226         * CutAndPaste.h: make CutAndPaste a namespace.
8227
8228         * text3.C (dispatch): adjust
8229
8230         * text.C (breakParagraph): add a ParagraphList as arg
8231
8232         * paragraph_funcs.C (breakParagraph): change to take a
8233         BufferParams and a ParagraphList as args.
8234         (breakParagraphConservative): ditto
8235         (mergeParagraph): ditto
8236         (TeXDeeper): add a ParagraphList arg
8237         (TeXEnvironment): ditto
8238         (TeXOnePar): ditto
8239
8240         * buffer.C (readLyXformat2): adjust
8241         (insertStringAsLines): adjust
8242         (latexParagraphs): adjust
8243
8244         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8245         (cutSelection): adjust
8246         (pasteSelection): adjust
8247
8248         * BufferView_pimpl.C (insertInset): adjust
8249
8250 2003-03-05  Angus Leeming  <leeming@lyx.org>
8251
8252         * commandtags.h:
8253         * LyXAction.C (init):
8254         * BufferView_pimpl.C (dispatch):
8255         * lyxfunc.C (getStatus):
8256         remove LFUN_CHILD_INSERT.
8257
8258         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8259
8260 2003-03-05  Angus Leeming  <leeming@lyx.org>
8261
8262         * commandtags.h:
8263         * LyXAction.C (init):
8264         * src/factory.C (createInset):
8265         * lyxfunc.C (getStatus):
8266         * text3.C (dispatch):
8267         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8268
8269         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8270
8271 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8272
8273         * ParagraphList.C (insert): handle insert right before end()
8274         (erase): fix cases where it can be first or last paragraph.
8275
8276 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8277
8278         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8279         Paragraph::next and Paragraph::previous
8280         (TeXOnePar): ditto
8281
8282         * text.C (breakParagraph): adjust
8283
8284         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8285         BufferParams& as arg.
8286         (breakParagraph): use ParagraphList::insert
8287         (breakParagraphConservative): take a Buffer* instead of a
8288         BufferParams& as arg.
8289         (breakParagraphConservative): use ParagraphList::insert.
8290
8291         * buffer.C (insertStringAsLines): un-const it
8292         (insertStringAsLines): adjust
8293
8294         * ParagraphList.C (insert): new function
8295
8296         * CutAndPaste.C (pasteSelection): adjust
8297
8298         * text.C (backspace): adjust
8299
8300         * tabular.C (SetMultiColumn): adjust
8301
8302         * CutAndPaste.C (cutSelection): adjust
8303         (pasteSelection): adjust
8304
8305         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8306         Buffer const * as arg
8307
8308         * ParagraphList.C (erase): new function
8309         * paragraph_funcs.C (mergeParagraph): use it
8310         (mergeParagraph): make it take a Buffer* instead of a
8311         BufferParams* as arg
8312
8313         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8314         as arg
8315         (breakParagraphConservative): ditto
8316
8317         * paragraph.h: remove the breakParagraph friend
8318
8319         * paragraph.C (eraseIntern): new function
8320         (setChange): new function
8321
8322         * paragraph_funcs.C (mergeParagraph): make it take a
8323         ParagraphList::iterator instead of a Paragraph *, adjust
8324         accordingly.
8325
8326         * paragraph.h: move an #endif so that the change tracking stuff
8327         also works in the NO_NEXT case.
8328
8329 2003-03-04  Angus Leeming  <leeming@lyx.org>
8330
8331         * commandtags.h:
8332         * LyXAction.C: new LFUN_INSET_MODIFY.
8333
8334         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8335         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8336
8337 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * several files: ws changes only
8340
8341         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8342         (TeXEnvironment): ditto
8343         (TeXDeeper): ditto
8344
8345         * buffer.C (makeLaTeXFile): adjust
8346         (latexParagraphs): make it take ParagraphList::iterator as args
8347
8348 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * buffer.C (latexParagraphs): adjust
8351
8352         * paragraph.C (TeXOnePar): move function...
8353         (optArgInset): move function...
8354         (TeXEnvironment): move function...
8355         * paragraph_pimpl.C (TeXDeeper): move function...
8356         * paragraph_funcs.C: ...here
8357
8358         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8359
8360 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * buffer.C (readInset): remove compability code for old Figure and
8363         InsetInfo insets
8364
8365 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * buffer.C: ws changes
8368         (readInset):
8369
8370         * BufferView_pimpl.C: ditto
8371         * author.C: ditto
8372         * buffer.h: ditto
8373         * bufferlist.h: ditto
8374         * changes.h: ditto
8375         * lyxfunc.C: ditto
8376
8377 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8378
8379         * converter.[Ch]: split into itself +
8380         * graph.[Ch]
8381         * format.[Ch]
8382         * Makefile.am: += graph.[Ch] + format.[Ch]
8383         * MenuBackend.C
8384         * buffer.C
8385         * exporter.C
8386         * importer.C
8387         * lyx_main.C
8388         * lyxfunc.C
8389         * lyxrc.C: added #include "format.h"
8390
8391 2003-02-27  Angus Leeming  <leeming@lyx.org>
8392
8393         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8394           a label.
8395
8396         * factory.C (createInset): add "label" to the factory.
8397
8398         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8399           string and do no more.
8400
8401 2003-02-27  Angus Leeming  <leeming@lyx.org>
8402
8403         * commandtags.h:
8404         * LyXAction.C (init):
8405         * factory.C (createInset):
8406         * BufferView_pimpl.C (dispatch):
8407           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8408
8409         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8410
8411         * lyxfunc.C (dispatch):
8412         * text3.C (dispatch): pass name to params2string.
8413
8414 2003-02-26  Angus Leeming  <leeming@lyx.org>
8415
8416         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8417           blocks together.
8418           Rearrange the ~includes. Strip out the unnecessary ones.
8419
8420         * factory.C (createInset): reformat.
8421           create new insets for the various LFUN_XYZ_APPLY lfuns.
8422
8423 2003-02-26  John Levon  <levon@movementarian.org>
8424
8425         * lyxrow.h:
8426         * lyxrow.C: add isParStart,isParEnd helpers
8427
8428         * paragraph.h: make isInserted/DeletedText take refs
8429
8430         * paragraph_funcs.h:
8431         * paragraph_funcs.C: remove #if 0'd code
8432
8433         * lyxtext.h:
8434         * text3.C:
8435         * text2.C:
8436         * text.C: use lyxrow helpers above.
8437           Move draw and paint routines to RowPainter.
8438           Make several methods use refs not pointers.
8439           Make backgroundColor() const.
8440           Add markChangeInDraw(), isInInset().
8441           Merge changeRegionCase into changeCase.
8442           Make workWidth() shouldn't-happen code into an Assert.
8443
8444         * rowpainter.h:
8445         * rowpainter.C: new class for painting a row.
8446
8447         * vspace.h:
8448         * vspace.C: make inPixels take a ref
8449
8450 2003-02-26  Angus Leeming  <leeming@lyx.org>
8451
8452         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8453         LFUN_REF_APPLY.
8454
8455 2003-02-25  John Levon  <levon@movementarian.org>
8456
8457         * ispell.C: give the forked command a more accurate name
8458
8459 2003-02-22  John Levon  <levon@movementarian.org>
8460
8461         * toc.h:
8462         * toc.C: make TocItem store an id not a Paragraph *
8463           (bug #913)
8464
8465 2003-02-21  Angus Leeming  <leeming@lyx.org>
8466
8467         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8468           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8469           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8470           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8471           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8472           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8473
8474         * BufferView_pimpl.C (dispatch):
8475         * LyXAction.C (init):
8476         * factory.C (createInset):
8477         * lyxfunc.C (getStatus, dispatch):
8478         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8479
8480 2003-02-21  Angus Leeming  <leeming@lyx.org>
8481
8482         * BufferView_pimpl.C (MenuInsertLyXFile):
8483         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8484         * lyxfunc.C (menuNew, open, doImport):
8485           no longer pass a LyXView & to fileDlg.
8486
8487 2003-02-21  Angus Leeming  <leeming@lyx.org>
8488
8489         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8490         * LyXAction.C: change, BIBKEY to BIBITEM.
8491         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8492         Change InsetBibKey to InsetBibitem.
8493         Change BIBKEY_CODE to BIBITEM_CODE.
8494         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8495         * factory.C: replace insetbib.h with insetbibitem.h.
8496         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8497         * paragraph.C: replace insetbib.h with insetbibitem.h.
8498         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8499         Change bibkey() to bibitem().
8500         * text.C: remove insetbib.h.
8501         * text2.C: replace insetbib.h with insetbibitem.h.
8502         change bibkey() to bibitem().
8503         * text3.C: remove insetbib.h.
8504         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8505
8506 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8507
8508         * lyxrc.C (output): enclose user email in quotes (in case there are
8509         several words)
8510
8511 2003-02-18  John Levon  <levon@movementarian.org>
8512
8513         * buffer.h: add std::
8514
8515 2003-02-17  John Levon  <levon@movementarian.org>
8516
8517         * SpellBase.h:
8518         * ispell.h:
8519         * ispell.C:
8520         * pspell.h:
8521         * pspell.C: reworking. Especially in ispell, a large
8522           number of clean ups and bug fixes.
8523
8524         * lyxfunc.C: fix revert to behave sensibly
8525
8526 2003-02-17 André Pönitz <poenitz@gmx.net>
8527
8528         * LyXAction.C:
8529         * commandtags.h: new LFUN_INSERT_BIBKEY
8530
8531         * layout.h:
8532         * lyxlayout.C:
8533         * buffer.C:
8534         * factory.C:
8535         * text.C:
8536         * text2.C:
8537         * text3.C:
8538         * paragraph.[Ch]:
8539         * paragraph_func.C: remove special bibkey handling
8540
8541 2003-02-17  John Levon  <levon@movementarian.org>
8542
8543         * text.C (Delete): fix case where delete at the end of
8544           the very first paragraph would not merge the pars
8545
8546 2003-02-17  John Levon  <levon@movementarian.org>
8547
8548         * lyxrow.C: fix lastPrintablePos()
8549
8550 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8551
8552         * bufferparams.C (writeLaTeX): add a std:here
8553
8554         * buffer.C: and remove a using directive there
8555
8556 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8557
8558         * buffer.C (makeLaTeXFile): move the code that generates the
8559           preamble...
8560
8561         * bufferparams.C (writeLaTeX): ... in this new method
8562
8563         * LaTeXFeatures.C (getEncodingSet): make const
8564           (getLanguages): make const
8565
8566         * MenuBackend.C (binding): returns the binding associated to this
8567           action
8568           (add): sets the status of each item by calling getStatus. Adds
8569           some intelligence.
8570           (read): add support for OptSubMenu
8571           (expand): remove extra separator at the end of expanded menu
8572
8573 2003-02-15  John Levon  <levon@movementarian.org>
8574
8575         * BufferView.C:
8576         * BufferView_pimpl.C:
8577         * bufferlist.h:
8578         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8579           inset code that had no actual effect. Remove unneeded status
8580           code.
8581
8582 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8583
8584         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8585           in preamble
8586
8587 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8588
8589         * text.C (drawLengthMarker): also draw an arrow marker for
8590           symbolic lengths (medskip...)
8591
8592 2003-02-14  John Levon  <levon@movementarian.org>
8593
8594         * tabular.h:
8595         * tabular.C: better method names
8596
8597 2003-02-14  John Levon  <levon@movementarian.org>
8598
8599         * BufferView_pimpl.C:
8600         * bufferlist.C:
8601         * buffer.C:
8602         * converter.C:
8603         * lyx_cb.C:
8604         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8605           it's a more accurate name. Remove some pointless uses.
8606
8607 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8608
8609         * text2.C (LyXText): change order of initilizers to shut off
8610           warnings
8611
8612 2003-02-14  John Levon  <levon@movementarian.org>
8613
8614         * buffer.C: use ParIterator for getParFromID()
8615
8616         * paragraph.h:
8617         * paragraph.C:
8618         * paragraph_pimpl.h:
8619         * paragraph_pimpl.C: remove unused getParFromID()
8620
8621 2003-02-14  John Levon  <levon@movementarian.org>
8622
8623         * buffer.C: remove some very old #if 0'd parse code
8624
8625 2003-02-13  John Levon  <levon@movementarian.org>
8626
8627         * text.h:
8628         * text.C:
8629         * text2.C: move hfillExpansion(), numberOfSeparators(),
8630           rowLast(), rowLastPrintable(), numberofHfills(),
8631           numberOfLabelHfills() ...
8632
8633         * lyxrow.h:
8634         * lyxrow.C: ... to member functions here.
8635
8636         * paragraph.h:
8637         * paragraph.C:
8638         * lyxtext.h:
8639         * text.C: remove LyXText::beginningOfMainBody(), and call
8640           p->beginningOfMainBody() directly. Move the check for
8641           LABEL_MANUAL into the latter.
8642
8643         * text.h:
8644         * text.C:
8645         * text2.C:
8646         * vspace.C:
8647         * BufferView.h:
8648         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8649
8650         * text.h:
8651         * text.C:
8652         * text2.C:
8653         * text3.C:
8654         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8655           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8656
8657 2003-02-13  John Levon  <levon@movementarian.org>
8658
8659         * CutAndPaste.C: remove debug
8660
8661 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8662
8663         * paragraph.C (asString): remove two unused variables
8664
8665         * lyxtextclass.C (readTitleType):
8666           (Read):
8667           (LyXTextClass): handle new members titletype_ and titlename_
8668
8669         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8670
8671 2003-02-09  John Levon  <levon@movementarian.org>
8672
8673         * buffer.h:
8674         * buffer.C: replace hand-coded list with a map for the dep clean
8675
8676 2003-02-08  John Levon  <levon@movementarian.org>
8677
8678         * LaTeX.C: consolidate code into showRunMessage() helper
8679
8680 2003-02-08  John Levon  <levon@movementarian.org>
8681
8682         * lyxfind.C:
8683         * lyxtext.h:
8684         * text2.C:
8685         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8686           and pass the size in explicitly
8687
8688         * BufferView_pimpl.h:
8689         * BufferView_pimpl.C:
8690         * BufferView.h:
8691         * BufferView.C: add getCurrentChange()
8692
8693         * BufferView_pimpl.h:
8694         * BufferView_pimpl.C: handle change lfuns
8695
8696         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8697           for changes. Mark pasted paragraphs as new.
8698
8699         * support/lyxtime.h:
8700         * support/lyxtime.C:
8701         * DepTable.C: abstract time_t as lyx::time_type
8702
8703         * LColor.h:
8704         * LColor.C: add colours for new text, deleted text, changebars
8705
8706         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8707           package use "usenames" option.
8708
8709         * commandtags.h:
8710         * lyxfunc.C:
8711         * LyXAction.C: add change lfuns
8712
8713         * Makefile.am:
8714         * author.h:
8715         * author.C: author handling
8716
8717         * buffer.h:
8718         * buffer.C: add a per-buffer author list, with first entry as
8719           current author. Handle new .lyx tokens for change tracking. Output
8720           author list to .lyx file. Output dvipost stuff to .tex preamble.
8721           Bump lyx format to 222.
8722
8723         * bufferlist.h:
8724         * bufferlist.C: add setCurrentAuthor() to reset current author details
8725           in all buffers.
8726
8727         * bufferparams.h:
8728         * bufferparams.C: add param for tracking
8729
8730         * bufferview_funcs.C: output change info in minibuffer
8731
8732         * Makefile.am:
8733         * changes.h:
8734         * changes.C: add change-tracking structure
8735
8736         * debug.h:
8737         * debug.C: add CHANGES debug flag
8738
8739         * lyxfind.h:
8740         * lyxfind.C: add code for finding the next change piece
8741
8742         * lyxrc.h:
8743         * lyxrc.C: add user_name and user_email
8744
8745         * lyxrow.h:
8746         * lyxrow.C: add a metric for the top of the text line
8747
8748         * lyxtext.h:
8749         * text.C: implement accept/rejectChange()
8750
8751         * lyxtext.h:
8752         * text.C: paint changebars. Paint new/deleted text in the chosen
8753         colours. Strike through deleted text.
8754
8755         * paragraph.h:
8756         * paragraph.C:
8757         * paragraph_pimpl.h:
8758         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8759           in the current change to the insert functions. Rework erase to
8760           mark text as deleted, adding an eraseIntern() and a range-based
8761           erase(). Implement per-paragraph change lookup and
8762           accept/reject.
8763
8764         * paragraph_funcs.C: Fixup paste for change tracking.
8765
8766         * tabular.C: mark added row/columns as new.
8767
8768         * text.C: fix rowLast() to never return -1. Don't allow
8769           spellchecking of deleted text. Track transpose changes. Don't
8770           allow paragraph break or merge where appropriate.
8771
8772         * text2.C: leave cursor at end of selection after a cut.
8773
8774 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8775
8776         * text.C (getLengthMarkerHeight):
8777         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8778         visible on screen too.
8779
8780 2003-02-07  John Levon  <levon@movementarian.org>
8781
8782         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8783
8784 2003-02-05  Angus Leeming  <leeming@lyx.org>
8785
8786         * lyxserver.C (read_ready): revert my patch of 11 September last year
8787         as it sends PC cpu through the roof. Presumably this means that
8788         the lyxserver will no longer run on an Alpha...
8789
8790 2003-01-30  Angus Leeming  <leeming@lyx.org>
8791
8792         * factory.C (createInset): create an InsetCommandParam of type "index"
8793         and use it to 'do the right thing'.
8794
8795         * text2.C (getStringToIndex): ensure that cursor position is always
8796         reset to the reset_cursor position.
8797
8798 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8799
8800         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8801         disabled.
8802
8803 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8804
8805         * bufferview.C:
8806         * lyxcb.C:
8807         * lyxfunc.C: Output messages with identical spelling, punctuation,
8808         and spaces
8809
8810 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8811
8812         * MenuBackend.C (expandFormats): List only viewable export formats
8813         in "View" menu
8814
8815         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8816         message
8817
8818         * lyxfunc.C (getStatus): Make sure that formats other than
8819         "fax" can also be disabled
8820
8821 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8822
8823         * text3.C (dispatch): put the lfuns that insert insets in 3
8824         groups, and call doInsertInset with appropriate arguments.
8825         (doInsertInset): new function, that creates an inset and inserts
8826         it according to some boolean parameters.
8827
8828 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8829
8830         * buffer.C (readFile): remember to pass on 'par' when calling
8831         readFile recursively.
8832
8833 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8834
8835         * MenuBackend.C (expandFormats): add "..." to import formats.
8836
8837 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8838
8839         * paragraph.C (asString): Remove XForms RTL hacks.
8840
8841 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8842         * buffer.C: fix typo
8843
8844 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8845
8846         * Makefile.am (LIBS): delete var
8847         (lyx_LDADD): add @LIBS@ here instead.
8848
8849 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8850
8851         * Clarify the meaning of "wheel mouse jump"
8852
8853 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8854
8855         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8856         tabular in a float
8857
8858 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8859
8860         * importer.C (Loaders): do not preallocate 3 elements in the
8861         vector, since one ends up with 6 elements otherwise
8862
8863 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8864
8865         * DepTable.C (write): write the file name as last element of the
8866         .dep file (because it may contain spaces)
8867         (read): read info in the right order
8868
8869 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8870
8871         * paragraph_pimpl.C (simpleTeXBlanks):
8872         (simpleTeXSpecialChars):
8873         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8874
8875         * tabular.C (latex): add some missing case statements. Reindent.
8876
8877         * MenuBackend.C (expandToc): remove unused variable.
8878
8879 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8880
8881         * LColor.C:
8882         * LaTeX.C:
8883         * LyXAction.C:
8884         * MenuBackend.C:
8885         * buffer.C:
8886         * exporter.C:
8887         * lyxfunc.C:
8888         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8889         and the like.
8890
8891 2003-01-05  John Levon  <levon@movementarian.org>
8892
8893         * BufferView.h:
8894         * BufferView.C: add getEncoding()
8895
8896         * kbsequence.h:
8897         * kbsequence.C: do not store last keypress
8898
8899         * lyxfunc.h:
8900         * lyxfunc.C: store last keypress here instead. Pass encoding
8901           to getISOEncoded()
8902
8903 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8904
8905         * lyx_main.C (init): remove annoying error message when following
8906         symbolic links (bug #780)
8907
8908 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8909
8910         * text.C (insertChar):
8911         * lyxrc.C (getDescription): remove extra spaces
8912
8913 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8914
8915         * lyxrc.C (getDescription): remove extra spaces
8916
8917 2002-12-20  John Levon  <levon@movementarian.org>
8918
8919         * text3.C: hack fix for page up/down across tall rows
8920
8921 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8922
8923         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8924         not been invoked
8925
8926 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8927
8928         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8929         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8930         thesaurus is not compiled in
8931
8932 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8933
8934         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8935
8936 2002-12-16  Angus Leeming  <leeming@lyx.org>
8937
8938         * lyxrc.[Ch]:
8939         * lyx_main.C (init): remove override_x_deadkeys stuff.
8940
8941 2002-12-12  John Levon  <levon@movementarian.org>
8942
8943         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8944           insert. Only remove shift modifier under strict
8945           circumstances.
8946
8947 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8948
8949         * MenuBackend.C (expandToc): fix crash.
8950
8951 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * MenuBackend.C (expandToc): gettext on float names.
8954
8955 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8956
8957         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8958         implement bool empty() [bug 490]
8959
8960 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8961
8962         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8963
8964 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * several files: ws changes
8967
8968 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8969
8970         * text2.C (setCounter): clean up a bit, use boost.format.
8971         (updateCounters): initialize par upon declaration.
8972
8973         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8974         if the layout exists. We do not just store the layout any more.
8975         (SwitchLayoutsBetweenClasses): use boost.format
8976
8977 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8978
8979         * converter.C (convert): if from and to files are the same, use a
8980         temporary files as intermediary
8981
8982 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8983
8984         * commandtags.h:
8985         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8986
8987 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8988
8989         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8990
8991 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8992
8993         * tabular.C (asciiPrintCell): use string(size, char) instead of
8994         explicit loop.
8995
8996         * sgml.C (openTag): fix order of arguments to string constructor
8997         (closeTag): ditto
8998
8999         * lyxfunc.C (dispatch): use boost.format
9000
9001         * lots of files: change "c" -> 'c'
9002
9003 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9004
9005         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9006
9007 2002-11-25  Angus Leeming  <leeming@lyx.org>
9008
9009         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9010
9011         * lyx_main.C (init): compile fix.
9012
9013 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9014
9015         * lyx_cb.C (start): boost.formatify
9016         do not include <iostream>
9017
9018         * lengthcommon.C: ws only
9019
9020         * boost-inst.C,BoostFormat.h: add more explict instantations
9021
9022 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9023
9024         * lots of files: handle USE_BOOST_FORMAT
9025
9026 2002-11-21  John Levon  <levon@movementarian.org>
9027
9028         * pspell.C: fix compile
9029
9030 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9031
9032         * lyxfunc.C (dispatch): use boost::format
9033         (open): ditto
9034         (doImport): ditto
9035
9036         * lyxfont.C (stateText): use boost::format
9037
9038         * lyx_main.C (LyX): use boost::format
9039         (init): ditto
9040         (queryUserLyXDir): ditto
9041         (readRcFile): ditto
9042         (parse_dbg): ditto
9043         (typedef boost::function): use the recommened syntax.
9044
9045         * importer.C (Import): use boost::format
9046
9047         * debug.C (showLevel): use boost::format
9048
9049         * converter.C (view): use boost::format
9050         (convert): ditto
9051         (move): ditto
9052         (scanLog): ditto
9053
9054         * bufferview_funcs.C (currentState): use boost::format
9055
9056         * bufferlist.C (emergencyWrite): use boost::format
9057
9058         * buffer.C (readLyXformat2): use boost::format
9059         (parseSingleLyXformat2Token): ditto
9060
9061         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9062
9063         * LaTeX.C (run): use boost::format
9064
9065         * Chktex.C (scanLogFile): use boost::format
9066
9067         * BufferView_pimpl.C (savePosition): use boost::format
9068         (restorePosition): ditto
9069         (MenuInsertLyXFile): ditto
9070
9071         * BoostFormat.h: help file for explicit instation.
9072
9073 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9074
9075         * tabular.C (latex): Support for block alignment in fixed width
9076         columns.
9077
9078 2002-11-17  John Levon  <levon@movementarian.org>
9079
9080         * BufferView_pimpl.C:
9081         * lyx_cb.C:
9082         * lyxfunc.C: split filedialog into open/save
9083
9084 2002-11-08  Juergen Vigna  <jug@sad.it>
9085
9086         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9087         by my last patch (hopefully).
9088
9089 2002-11-08  John Levon  <levon@movementarian.org>
9090
9091         * iterators.h:
9092         * iterators.C:
9093         * buffer.h:
9094         * buffer.C:
9095         * paragraph.h:
9096         * paragraph.C:
9097         * toc.h:
9098         * toc.C: ParConstIterator, and use it (from Lars)
9099
9100 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9101
9102         * lyxtextclass.[Ch]: revise and add doxygen comments
9103
9104 2002-11-07  John Levon  <levon@movementarian.org>
9105
9106         * text.C: fix progress value for spellchecker
9107
9108         * toc.C: fix navigate menu for insetwrap inside minipage
9109
9110         * paragraph_funcs.C: added FIXME for suspect code
9111
9112 2002-11-07  John Levon  <levon@movementarian.org>
9113
9114         * BufferView_pimpl.C: fix redrawing of insets
9115           on buffer switch
9116
9117 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * text2.C (updateCounters): fix bug 668
9120
9121 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9122
9123         * text3.C (dispatch): Do not make the buffer dirty when moving the
9124         cursor.
9125
9126 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9127
9128         * vc-backend.C: STRCONV
9129         (scanMaster): ditto
9130
9131         * text2.C (setCounter): STRCONV
9132
9133         * paragraph.C (asString): STRCONV
9134
9135         * lyxlength.C (asString): STRCONV
9136         (asLatexString): ditto
9137
9138         * lyxgluelength.C (asString): STRCONV
9139         (asLatexString): ditto
9140
9141         * lyxfunc.C (dispatch): STRCONV
9142         (open): ditto
9143
9144         * lyxfont.C (stateText): STRCONV
9145
9146         * importer.C (Import): STRCONV
9147
9148         * counters.C (labelItem): STRCONV
9149         (numberLabel): ditto
9150         (numberLabel): remove unused ostringstream o
9151
9152         * chset.C: STRCONV
9153         (loadFile): ditto
9154
9155         * bufferview_funcs.C (currentState): STRCONV
9156
9157         * buffer.C (readFile): STRCONV
9158         (asciiParagraph): ditto
9159         (makeLaTeXFile): ditto
9160
9161         * Spacing.C (writeEnvirBegin): STRCONV
9162
9163         * LaTeXFeatures.C (getLanguages): STRCONV
9164         (getPackages): ditto
9165         (getMacros): ditto
9166         (getBabelOptions): ditto
9167         (getTClassPreamble): ditto
9168         (getLyXSGMLEntities): ditto
9169         (getIncludedFiles): ditto
9170
9171         * LaTeX.C: STRCONV
9172         (run): ditto
9173         (scanAuxFile): ditto
9174         (deplog): ditto
9175
9176         * LString.h: add the STRCONV macros
9177
9178         * BufferView_pimpl.C (savePosition): STRCONV
9179         (restorePosition): ditto
9180         (MenuInsertLyXFile): ditto
9181
9182         * vc-backend.C (scanMaster): change from submatch[...] to
9183         submatch.str(...)
9184
9185         * funcrequest.C: include config.h
9186
9187         * factory.C: include config.h
9188
9189         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9190
9191         * box.C: include config.h
9192
9193         * LaTeX.C (scanAuxFile): change from submatch[...] to
9194         submatch.str(...)
9195         (deplog): ditto
9196
9197 2002-10-25  Angus Leeming  <leeming@lyx.org>
9198
9199         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9200
9201         * ispell.[Ch] (setError): new method.
9202         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9203         Use setError() insetead of goto END.
9204
9205         * lyx_cb.C (AutoSave): move out child process into new class
9206         AutoSaveBuffer.
9207
9208 2002-10-30  John Levon  <levon@movementarian.org>
9209
9210         * text3.C: make start appendix undoable
9211
9212 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9213
9214         * lyxlength.C (inPixels): Fix returned value.
9215
9216         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9217         environment.
9218
9219 2002-10-24  Angus Leeming  <leeming@lyx.org>
9220
9221         * lyxgluelength.h: no need to forward declare BufferParams
9222         or BufferView, so don't.
9223
9224 2002-10-21  John Levon  <levon@movementarian.org>
9225
9226         * BufferView.C: menuUndo ->undo, redo
9227
9228         * BufferView.h: document, remove dead, make some methods private
9229
9230         * paragraph_funcs.h:
9231         * paragraph_funcs.C:
9232         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9233
9234         * buffer.h:
9235         * buffer.C:
9236         * sgml.h:
9237         * sgml.C: move sgml open/close tag into sgml.C
9238
9239         * bufferview_funcs.h: unused prototype
9240
9241         * lyxfunc.h:
9242         * lyxfunc.C: remove unused
9243
9244         * lyxtext.h:
9245         * text.C: remove unused
9246
9247 2002-10-21  John Levon  <levon@movementarian.org>
9248
9249         * BufferView.h:
9250         * BufferView.C:
9251         * BufferView_pimpl.h:
9252         * BufferView_pimpl.C: fix mouse wheel handling based on
9253           patch from Darren Freeman
9254
9255 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9256
9257         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9258
9259 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9260
9261         * lyxlength.C (inPixels): Fix hanfling of negative length.
9262         Fix LyXLength::MU case.
9263
9264 2002-10-16  John Levon  <levon@movementarian.org>
9265
9266         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9267
9268 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9269
9270         * converter.C (view): add support for $$i (file name) and $$p
9271         (file path) for the viewer command. If $$i is not specified, then
9272         it is appended to the command (for compatibility with old syntax)
9273
9274 2002-10-14  Juergen Vigna  <jug@sad.it>
9275
9276         * undo_funcs.C (textHandleUndo): alter the order in which the
9277         new undopar is added to the LyXText, as we have to set first
9278         the right prev/next and then add it as otherwise the rebuild of
9279         LyXText is not correct. Also reset the cursor to the right paragraph,
9280         with this IMO we could remove the hack in "redoParagraphs()".
9281
9282 2002-10-09  Angus Leeming  <leeming@lyx.org>
9283
9284         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9285         to turn off an optimisation if a new inset is to be inserted.
9286
9287 2002-10-11 André Pönitz <poenitz@gmx.net>
9288
9289         * lyxtext.h: make some functions public to allow access
9290         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9291
9292 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9293
9294         * text3.C (dispatch): when changing layout, avoid an infinite loop
9295         [bug #652]
9296
9297 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9298
9299         * lyxrc.C (read): treat a viewer or converter command of "none" as
9300         if it were empty.
9301
9302         * MenuBackend.C (expandFormats): for an update, also allow the
9303         formats that are not viewable
9304
9305         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9306         script if it is newer than the lyxrc.defaults in user directory
9307
9308 2002-10-07 André Pönitz <poenitz@gmx.net>
9309
9310         * text.C: Vitaly Lipatov's small i18n fix
9311
9312 2002-09-25  Angus Leeming  <leeming@lyx.org>
9313
9314         * ispell.h: doxygen fix.
9315
9316 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9317
9318         * buffer.h (readFile): Add a new argument to the method, to allow
9319         reading of old-format templates.
9320
9321 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9322
9323         * toc.C (getTocList): Get TOC from InsetWrap.
9324
9325 2002-09-16  John Levon  <levon@movementarian.org>
9326
9327         * lyxfunc.C: check tabular for cut/copy too
9328
9329 2002-09-12  John Levon  <levon@movementarian.org>
9330
9331         * LyXAction.C: tidy
9332
9333         * factory.h:
9334         * factory.C: add header
9335
9336         * paragraph_funcs.h:
9337         * paragraph_funcs.C: cleanup
9338
9339 2002-09-11  John Levon  <levon@movementarian.org>
9340
9341         * PrinterParams.h: odd/even default to true
9342
9343 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9344
9345         * PrinterParams.h: update printer parameters for new xforms dialog
9346
9347 2002-09-11  Angus Leeming  <leeming@lyx.org>
9348
9349         * lyxserver.C (read_ready): re-write to make it more transparent
9350         and to make it work in coherent fashion under Tru64 Unix.
9351
9352 2002-09-11  André Pönitz <poenitz@gmx.net>
9353
9354         * commandtags.h:
9355         * LyXAction.C:
9356         * text3.C: implement LFUN_WORDSEL
9357
9358 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9359
9360         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9361         make floatlist_ a boost::shared_ptr<FloatList>
9362
9363         * lyxtextclass.C: include FloatList.h
9364         (LyXTextClass): initialize floatlist_
9365         (TextClassTags): add TC_NOFLOAT
9366         (Read): match "nofloat" to TC_NOFLOAT and use it.
9367         (readFloat): modify call to floatlist_
9368         (floats): ditto
9369         (floats): ditto
9370
9371         * FloatList.[Ch] (FloatList): remove commented out float
9372         initialization.
9373         (erase): new function
9374
9375 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9376
9377         * MenuBackend.C (expandToc): fix crash when there is no document
9378         open
9379
9380 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9381
9382         * many files: Add insetwrap.
9383
9384 2002-09-09  John Levon  <levon@movementarian.org>
9385
9386         * text2.C: remove confusing and awkward depth wraparound
9387
9388 2002-09-09  John Levon  <levon@movementarian.org>
9389
9390         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9391
9392         * buffer.h:
9393         * buffer.C: remove getIncludeonlyList()
9394
9395         * paragraph.C:
9396         * lyxfunc.C: remove headers
9397
9398 2002-09-09  Juergen Vigna  <jug@sad.it>
9399
9400         * text.C (getColumnNearX): fix form Michael this is most
9401         probably a cut&paste bug.
9402
9403 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9404
9405         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9406
9407         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9408         references, ws changes.
9409
9410         * text2.C (init): update counters after init
9411         (insertParagraph): no need to set counter on idividual paragraphs.
9412         (setCounter): access the counters object in the textclass object
9413         on in the buffer object.
9414         (updateCounters): ditto
9415
9416         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9417         shared_ptr<Counters> to avoid loading counters.h in all
9418         compilation units.
9419         (LyXTextClass): initialize ctrs_
9420         (TextClassTags): add TC_COUNTER, and ...
9421         (Read): use it here.
9422         (CounterTags): new tags
9423         (readCounter): new function
9424         (counters): new funtion
9425         (defaultLayoutName): return a const reference
9426
9427         * counters.C (Counters): remove contructor
9428         (newCounter): remove a couple of unneeded statements.
9429         (newCounter): simplify a bit.
9430         (numberLabel): some small formatting changes.
9431
9432         * buffer.[Ch]: remove all traces of counters, move the Counters
9433         object to the LyXTextClass.
9434
9435 2002-09-06  Alain Castera  <castera@in2p3.fr>
9436
9437         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9438         package to set the horizontal alignment on fixed width columns.
9439
9440         * lyx_sty.C:
9441         * lyx_sty.h: added tabularnewline macro def.
9442
9443         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9444
9445 2002-09-06  John Levon  <levon@movementarian.org>
9446
9447         * LyXAction.C: tooltips for sub/superscript
9448
9449         * MenuBackend.C: a bit more verbose
9450
9451         * lyxfunc.C: tiny clean
9452
9453         * undo_funcs.C: document undo_frozen
9454
9455 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9456
9457         * counters.C (Counters): add missing algorithm counter.
9458
9459         * text2.C (setCounter): lookup the counter with layouts latexname
9460         instead of by section number.
9461         (setCounter): use a hackish way to lookup the correct enum
9462         counter.
9463         a float name->type change
9464         reset enum couners with counter name directly instead of depth value.
9465
9466         * counters.C (Counters): remove the push_backs, change to use the
9467         float type not the float name.
9468         (labelItem): remove unused string, float name->type change
9469
9470         * counters.h: don't include vector, loose the enums and sects vectors
9471
9472 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9473
9474         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9475         (Read): add float->TC_FLOAT to textclassTags
9476         (Read): and handle it in the switch
9477         (readFloat): new function
9478
9479         * FloatList.C (FloatList): comment out the hardcoded float
9480         definitions.
9481
9482         * lyxlayout.h: ws change.
9483
9484 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9485
9486         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9487
9488 2002-09-03  Angus Leeming  <leeming@lyx.org>
9489
9490         * BufferView_pimpl.h: qualified name is not allowed in member
9491         declaration: WorkArea & Pimpl::workarea() const;
9492
9493         * factory.C: added using std::endl directive.
9494
9495         * text3.C: added using std::find and std::vector directives.
9496
9497 2002-08-29  André Pönitz <poenitz@gmx.net>
9498
9499         * lyxtext.h:
9500         * text2.C: remove unused member number_of_rows
9501
9502         * Makefile.am:
9503         * BufferView2.C: remove file, move contents to...
9504         * BufferView.C: ... here
9505
9506         * BufferView_pimpl.C:
9507         * factory.C: move more inset creation to factory
9508
9509         * vspace.C: avoid direct usage of LyXText, ws changes
9510
9511         * BufferView.[Ch]:
9512                 don't provide direct access to WorkArea, use two simple
9513                 acessors haveSelction() and workHeight() instead
9514
9515
9516 2002-08-29  John Levon  <levon@movementarian.org>
9517
9518         * BufferView_pimpl.C (dispatch): do not continue when
9519           no buffer
9520
9521 2002-08-28  André Pönitz <poenitz@gmx.net>
9522
9523         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9524
9525         * BufferView.h:
9526         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9527
9528 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9529
9530         * buffer.C: increment LYX_FORMAT to 221
9531
9532         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9533         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9534
9535         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9536
9537         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9538
9539 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * factory.C (createInset): use LyXTextClass::floats
9542
9543         * MenuBackend.C (expandFloatListInsert):
9544         (expandFloatInsert):
9545         (expandToc):
9546
9547         * text2.C (setCounter):
9548
9549         * LaTeXFeatures.C (useFloat):
9550         (getFloatDefinitions):
9551
9552         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9553
9554         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9555         floatlist_, with accessor floats().
9556
9557         * FloatList.h: remove global FloatList
9558
9559 2002-08-26  André Pönitz <poenitz@gmx.net>
9560
9561         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9562
9563         * BufferView.h:
9564         * BufferView2.C:
9565         * BufferView_pimpl.C:
9566         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9567
9568 2002-08-25  John Levon  <levon@movementarian.org>
9569
9570         * LyXAction.C: fix margin note description
9571
9572 2002-08-24  John Levon  <levon@movementarian.org>
9573
9574         * buffer.C:
9575         * bufferlist.C:
9576         * bufferview_funcs.C:
9577         * lyxfont.C:
9578         * undo_funcs.C: cleanups
9579
9580         * lyxfunc.C: disable CUT/COPY when no selection
9581
9582 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9583
9584         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9585         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9586
9587         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9588         Add backward compatibility to "mono", "gray" and "no".
9589
9590 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9591
9592         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9593         (and file_format >= 200).
9594
9595 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9598
9599 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9600
9601         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9602
9603 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9604
9605         * BufferView_pimpl.C:
9606         * LyXAction.C:
9607         * buffer.C:
9608         * commandtags.h:
9609         * lyxfunc.C:
9610         * paragraph.[Ch]:
9611         * text2.C:
9612         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9613         inset and code to make it  work with the paragraph code. The inset
9614         can be anywhere in the paragraph, but will only do the expected
9615         thing in LaTeX if the layout file contains the parameter line
9616                         OptionalArgs    1
9617         (or more generally, a nonzero value) for that layout.
9618
9619 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9620
9621         * paragraph.h: remove the declaration of undefined counters class
9622         function.
9623
9624 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9625
9626         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9627         Dr. Richard Hawkins.
9628
9629 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9630
9631         * paragraph_funcs.h: remove some unneeded includes
9632
9633         * text.C (backspace): pasteParagraph now in global scipe
9634
9635         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9636         (pasteSelection): ditto
9637
9638         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9639         * paragraph_funcs.C (pasteParagraph): ... here
9640
9641 2002-08-20  André Pönitz <poenitz@gmx.net>
9642
9643         * commandtags.h: new LFUNs for swapping/copying table row/colums
9644
9645         * LyXAction.C:
9646         * lyxfunc.C: support for new lfuns
9647
9648 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9649
9650         * tabular.C:
9651         * buffer.[Ch]: remove NO_COMPABILITY stuff
9652
9653 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9654
9655         * boost.C (throw_exception): new file, with helper function for
9656         boost compiled without exceptions.
9657
9658         * paragraph.h:
9659         * lyxlength.C:
9660         * buffer.C:
9661         * ParameterStruct.h:
9662         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9663
9664         * bufferlist.C (emergencyWriteAll): use boost bind
9665
9666         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9667
9668         * text.C: include paragraph_funcs.h
9669         (breakParagraph): breakParagraph is now in global scope
9670
9671         * paragraph_funcs.[Ch]: new files
9672
9673         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9674         global scope
9675
9676         * buffer.C: include paragraph_funcs.h
9677         (insertStringAsLines): breakParagraph is now in global scope
9678
9679         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9680         paragraph_funcs.C
9681
9682         * CutAndPaste.C: include paragraph_funcs.h
9683         (cutSelection): breakParagraphConservative is now in global scope
9684         (pasteSelection): ditto
9685
9686         * buffer.h: declare oprator== and operator!= for
9687         Buffer::inset_iterator
9688
9689         * bufferlist.C (emergencyWrite): don't use fmt(...)
9690
9691         * text3.C: add using std::endl
9692
9693         * BufferView.C (moveCursorUpdate): remove default arg
9694
9695 2002-08-20  André Pönitz <poenitz@gmx.net>
9696
9697         * buffer.[Ch]: move inline functions to .C
9698
9699         * BufferView2.C:
9700         * BufferView_pimpl.C:
9701         * text.C:
9702         * buffer.[Ch]: use improved inset_iterator
9703
9704         * buffer.C:
9705         * paragraph.[Ch]: write one paragraph at a time
9706
9707 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9708
9709         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9710         style if style is not specified.
9711
9712 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9713
9714         * text2.C (setCounter): when searching for right label for a
9715         caption, make sure to recurse to parent insets (so that a caption
9716         in a minipage in a figure float works) (bug #568)
9717
9718 2002-08-20  André Pönitz <poenitz@gmx.net>
9719
9720         * text3.C: new file for LyXText::dispatch() and helpers
9721
9722         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9723
9724         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9725
9726 2002-08-19  André Pönitz <poenitz@gmx.net>
9727
9728         * lyxtext.h:
9729         * text.C: new LyXText::dispatch()
9730
9731         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9732
9733 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9734
9735         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9736
9737         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9738         Hebrew text.
9739
9740 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9741
9742         * Makefile.am: use $(variables) instead of @substitutions@
9743
9744 2002-08-15  André Pönitz <poenitz@gmx.net>
9745
9746         * lyxfunc.C:
9747         * BufferView_pimpl.C: streamlining mathed <-> outer world
9748         interaction
9749
9750         * commandtags.h:
9751         * LyXAction.C: remove unused LFUN_MATH
9752
9753 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9754
9755         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9756
9757 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9758
9759         * paragraph.C (Paragraph): reformat a bit
9760         (cutIntoMinibuffer): use builtin InsetList function instad of
9761         doing it manually.
9762         (getInset): ditto
9763
9764         * buffer.C: include boost/bind.hpp, add using std::for_each
9765         (writeFileAscii): use ParagraphList iterators
9766         (validate): use for_each for validate traversal of paragraphs
9767         (getBibkeyList): use ParagraphList iterators
9768         (resizeInsets): use for_each to resizeInsetsLyXText for all
9769         paragraphs.
9770         (getParFromID): use ParagraphList iterators
9771
9772         * BufferView2.C (lockInset): use paragraph list and iterators
9773
9774 2002-08-14  John Levon  <levon@movementarian.org>
9775
9776         * lyxserver.C: remove spurious xforms include
9777
9778 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9779
9780         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9781
9782 2002-08-13  André Pönitz <poenitz@gmx.net>
9783
9784         * LyXAction.[Ch]:
9785         * lyxfunc.C: further cleaning
9786
9787 2002-08-13  André Pönitz <poenitz@gmx.net>
9788
9789         * funcrequest.h: new constructor
9790
9791         * funcrequest.C: move stuff here from .h
9792
9793         * Makefile.am:
9794         * BufferView_pimpl.C:
9795         * LyXAction.C:
9796         * toc.C:
9797         * lyxfunc.C: subsequent changes
9798
9799         * lyxfunc.h: new view() member function
9800
9801         * lyxfunc.C: subsequent changes
9802
9803 2002-08-13  Angus Leeming  <leeming@lyx.org>
9804
9805         * BufferView2.C:
9806         * BufferView_pimpl.C:
9807         * buffer.C:
9808         * converter.C:
9809         * importer.C:
9810         * lyxfunc.C:
9811         * lyxvc.C:
9812         * toc.C:
9813         * vc-backend.C:
9814         changes due to the changed LyXView interface that now returns references
9815         to member variables not pointers.
9816
9817 2002-08-13  Angus Leeming  <leeming@lyx.org>
9818
9819         * WordLangTuple (word, lang_code): return references to strings,
9820         not strings.
9821
9822         * BufferView.h:
9823         * SpellBase.h:
9824         * lyxtext.h: forward-declare WordLangTuple.
9825
9826         * BufferView2.C:
9827         * ispell.C:
9828         * pspell.C:
9829         * text.C: #include "WordLangTuple.h".
9830
9831         * lyxtext.h:
9832         * text.C: (selectNextWordToSpellcheck): constify return type.
9833
9834 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9835
9836         * buffer.C:
9837         * buffer.h:
9838         * lyxtext.h:
9839         * paragraph.C:
9840         * paragraph_pimpl.h:
9841         * text.C:
9842         * text2.C:
9843         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9844         suggested by Angus.
9845         Made updateCounter always count from start of buffer, and removed
9846         second argument (par).
9847         Reverted floats number display to '#'. Perhaps I'll try again when the
9848         code base is sanitized a bit.
9849
9850 2002-08-12  Angus Leeming  <leeming@lyx.org>
9851
9852         * buffer.[Ch] (getLabelList): constify.
9853
9854 2002-08-07  André Pönitz <poenitz@gmx.net>
9855
9856         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9857
9858         * funcrequest.h: extension to keep mouse (x,y) position
9859
9860 2002-08-12  Juergen Vigna  <jug@sad.it>
9861
9862         * BufferView2.C (insertErrors): forbid undo when inserting error
9863         insets.
9864
9865         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9866
9867 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9868
9869         * ParagraphList.[Ch]: new files
9870
9871         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9872
9873         * BufferView2.C (lockInset): ParagraphList changes
9874         * toc.C: ditto
9875         * text2.C: ditto
9876         * bufferlist.C: ditto
9877         * buffer.h: ditto
9878         * buffer.C: ditto
9879
9880 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9881
9882         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9883         unused class variable counter_,
9884
9885         * paragraph.[Ch] (getFirstCounter): delete unused function
9886
9887         * counters.C: include LAssert.h
9888         (reset): add a new function with no arg, change other version to
9889         not have def. arg and to not allow empty arg.
9890
9891         * text2.C (setCounter): remove empty arg from call to Counters::reset
9892
9893 2002-08-11  John Levon  <levon@movementarian.org>
9894
9895         * Makefile.am: add WordLangTuple.h
9896
9897 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9898
9899         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9900         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9901
9902         * insets/insettext.C: InsetList changes
9903
9904         * graphics/GraphicsSupport.C (operator()): InsetList changes
9905
9906         * toc.C (getTocList): InsetList changes
9907
9908         * paragraph_pimpl.[Ch]: InsetList changes
9909
9910         * paragraph.[Ch]: InsetList changes
9911
9912         * buffer.C (inset_iterator): InsetList changes
9913         (setParagraph): ditto
9914         * buffer.h (inset_iterator): ditto
9915         * iterators.C (operator++): ditto
9916         * iterators.h: ditto
9917
9918         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9919
9920         * InsetList.[Ch]: new files, most InsetList handling moved out of
9921         paragraph.C.
9922
9923         * BufferView2.C (removeAutoInsets): InsetList changes
9924         (lockInset): ditto
9925         (ChangeInsets): ditto
9926
9927 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9928
9929         * paragraph_pimpl.h (empty): new function
9930
9931         * paragraph.[Ch] (empty): new function
9932
9933         * other files: use the new Paragraph::empty function
9934
9935 2002-08-09  John Levon  <levon@movementarian.org>
9936
9937         * lyxtext.h: remove unused refresh_height
9938
9939 2002-08-09  John Levon  <levon@movementarian.org>
9940
9941         * Makefile.am:
9942         * sgml.h:
9943         * sgml.C:
9944         * buffer.C:
9945         * paragraph.h:
9946         * paragraph.C: move sgml char escaping out of paragraph
9947
9948         * paragraph.h:
9949         * paragraph.C: remove id setter
9950
9951         * buffer.C:
9952         * paragraph.C:
9953         * paragraph_pimpl.C: remove dead tex_code_break_column
9954
9955         * bufferview_funcs.C: small cleanup
9956
9957         * lyxfunc.C: remove dead proto
9958
9959         * lyxtext.h: make some stuff private. Remove some dead stuff.
9960
9961         * lyxgluelength.C: make as[LyX]String() readable
9962
9963 2002-08-08  John Levon  <levon@movementarian.org>
9964
9965         * LyXAction.h:
9966         * LyXAction.C:
9967         * MenuBackend.C:
9968         * ToolbarDefaults.C:
9969         * lyxfunc.C:
9970         * lyxrc.C:
9971         * toc.C: lyxaction cleanup
9972
9973 2002-08-08  John Levon  <levon@movementarian.org>
9974
9975         * BufferView2.C: small cleanup
9976
9977         * lyxfind.h:
9978         * lyxfind.C: move unnecessary header into the .C
9979
9980 2002-08-08  John Levon  <levon@movementarian.org>
9981
9982         * funcrequest.h: just tedious nonsense
9983
9984         * lyx_main.h:
9985         * lyx_main.C: cleanups
9986
9987         * buffer.C:
9988         * vspace.C: remove dead header lyx_main.h
9989
9990 2002-08-07  Angus Leeming  <leeming@lyx.org>
9991
9992         * Paragraph.[Ch]:
9993         * paragraph_pimpl.h:
9994         Forward declare class Counters in paragraph.h by moving the ctrs member
9995         variable into Paragraph::Pimpl.
9996         (counters): new method, returning a reference to pimpl_->ctrs.
9997
9998         * text2.C: ensuing changes.
9999
10000 2002-08-07  John Levon  <levon@movementarian.org>
10001
10002         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10003
10004         * BufferView_pimpl.C: announce X selection on double/triple
10005           click
10006
10007         * lyx_main.C: use correct bool in batch dispatch
10008
10009         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10010
10011 2002-08-07  André Pönitz <poenitz@gmx.net>
10012
10013         * funcrequest.h: new class to wrap a kb_action and its argument
10014
10015         * BufferView.[Ch]:
10016         * BufferView_pimpl[Ch]:
10017         * LaTeX.C:
10018         * LyXAction.[Ch]:
10019         * lyxfunc.[Ch]:
10020         * lyxrc.C: subsequent changes
10021
10022
10023 2002-08-07  John Levon  <levon@movementarian.org>
10024
10025         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10026           document options change.
10027
10028 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10029
10030         * counters.[Ch]
10031         * text2.C
10032         * paragraph.[Ch]
10033         * makefile.am: move counters functionality over from
10034         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10035
10036 2002-08-06  John Levon  <levon@movementarian.org>
10037
10038         * WordLangTuple.h: new file for word + language code tuple
10039
10040         * SpellBase.h:
10041         * pspell.h:
10042         * pspell.C:
10043         * ispell.h:
10044         * ispell.C:
10045         * lyxtext.h:
10046         * text.C:
10047         * text2.C:
10048         * BufferView.h:
10049         * BufferView2.C: use WordLangTuple
10050
10051         * layout.h:
10052         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10053
10054 2002-08-06  John Levon  <levon@movementarian.org>
10055
10056         * lyx_main.C: fix cmdline batch handling
10057
10058 2002-08-06  André Pönitz <poenitz@gmx.net>
10059
10060         * lyxrc.C: set default for show_banner to true
10061
10062 2002-08-06  John Levon  <levon@movementarian.org>
10063
10064         * pspell.C: fix a crash, and allow new aspell to work
10065
10066 2002-08-06  John Levon  <levon@movementarian.org>
10067
10068         * lyxfunc.C:
10069         * kbmap.C: small cleanup
10070
10071         * vspace.h:
10072         * vspace.C: add const
10073
10074 2002-08-05  John Levon  <levon@movementarian.org>
10075
10076         * LyXAction.C: back to tabular-insert
10077
10078 2002-08-04  John Levon  <levon@movementarian.org>
10079
10080         * BufferView.h:
10081         * BufferView.C: cosmetic change
10082
10083         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10084
10085         * bufferlist.C:
10086         * buffer.h:
10087         * buffer.C:
10088         * lyxcb.h:
10089         * lyxcb.C:
10090         * lyxserver.C:
10091         * lyxvc.C:
10092         * vc-backend.C:
10093         * BufferView2.C: purge all "Lyx" not "LyX" strings
10094
10095         * lyxcursor.h:
10096         * lyxcursor.C: attempt to add some documentation
10097
10098         * lyxfunc.C:
10099         * commandtags.h:
10100         * LyXAction.C:
10101         * ToolbarDefaults.C:
10102         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10103           merge with LFUN_TABULAR_INSERT
10104
10105         * Makefile.am:
10106         * SpellBase.h:
10107         * ispell.h:
10108         * ispell.C:
10109         * pspell.h:
10110         * pspell.C: split up i/pspell implementations into separate
10111           files, many cleanups
10112
10113         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10114
10115         * text2.C: some cleanup
10116
10117         * lyxfunc.C: don't check for isp_command == "none" any more, it
10118           didn't make any sense
10119
10120 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10121
10122         * counters.[Ch]
10123         * text2.C
10124         * paragraph.[Ch]
10125         * makefile.am: move counters functionality over
10126         from text2.C/paragraph.[Ch] to counters.[Ch], and
10127         make proper C++.
10128 2002-08-02  John Levon  <levon@movementarian.org>
10129
10130         * buffer.C: s/lyxconvert/lyx2lyx/
10131
10132 2002-08-02  Angus Leeming  <leeming@lyx.org>
10133
10134         * lyxlex.C: revert John's change as it breaks reading of the user
10135         preamble.
10136
10137 2002-08-02  Angus Leeming  <leeming@lyx.org>
10138
10139         * importer.C (Import):
10140         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10141         changes due to LyXView::view() now returning a boost::shared_ptr.
10142
10143 2002-08-02  John Levon  <levon@movementarian.org>
10144
10145         * lyxlex.C: small cleanup
10146
10147 2002-08-02  John Levon  <levon@movementarian.org>
10148
10149         * text2.C (status): small cleanup, no logic change
10150
10151 2002-08-01  John Levon  <levon@movementarian.org>
10152
10153         * buffer.h:
10154         * buffer.C (writeFile): don't output alerts, caller
10155           handles this
10156
10157         * bufferlist.C:
10158         * lyx_cb.C: from above
10159
10160         * lyxfunc.C: allow to open non-existent files
10161
10162 2002-07-31  John Levon  <levon@movementarian.org>
10163
10164         * lyxserver.C: don't let incidental errors get
10165           in the way (errno)
10166
10167 2002-07-30  John Levon  <levon@movementarian.org>
10168
10169         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10170
10171 2002-07-30  John Levon  <levon@movementarian.org>
10172
10173         * lyxserver.h:
10174         * lyxserver.C: remove I/O callback too
10175
10176 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10177
10178         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10179         log.
10180
10181 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10182
10183         * many files: strip,frontStrip -> trim,ltrim,rtrim
10184
10185 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10186
10187         * PrinterParams.h: remove extern containsOnly, and include
10188         support/lstrings.h instead.
10189
10190         * LaTeX.C (scanAuxFile): modify because of strip changes
10191         (deplog): ditto
10192         * buffer.C (makeLaTeXFile): ditto
10193         * bufferparams.C (writeFile): ditt
10194         * lyxfont.C (stateText): ditto
10195         * lyxserver.C (read_ready): ditto
10196         * vc-backend.C (scanMaster): ditto
10197
10198         * BufferView_pimpl.h: ws changes
10199
10200         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10201
10202 2002-07-26  André Pönitz <poenitz@gmx.net>
10203
10204         * kb_sequence.C: remove unnedred usings
10205
10206 2002-07-26  Juergen Vigna  <jug@sad.it>
10207
10208         * lyxfind.C (LyXReplace): we have to check better if the returned
10209         text is not of theLockingInset()->getLockingInset().
10210
10211 2002-07-25  Juergen Vigna  <jug@sad.it>
10212
10213         * lyxfind.C (LyXReplace): don't replace if we don't get the
10214         right LyXText.
10215
10216         * undo_funcs.C (createUndo): remove debugging code.
10217
10218 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10219
10220         * buffer.C (parseSingleLyXformat2Token): Use default placement
10221         when reading old floats.
10222
10223         * FloatList.C (FloatList): Change the default placement of figure
10224         and tables to "tbp".
10225
10226 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * MenuBackend.C: using std::max
10229
10230 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10231
10232         * MenuBackend.C (expandToc):
10233         (expandToc2): code moved from xforms menu frontend. It is now
10234         generic and TOCs are transparent to menu frontends.
10235
10236 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10237
10238         * toc.C (getTocList): protect against buf=0
10239
10240         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10241         Menu as first parameter. Now, this calls itself recursively to
10242         expand a whole tree (this will be useful for TOC handling)
10243         (expandFloatInsert): remove 'wide' version of floats
10244
10245         * MenuBackend.h (submenuname): returns the name of the submenu.
10246         (submenu): returns the submenu itself, provided it has been
10247         created by MenuBackend::expand
10248
10249 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10250
10251         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10252         insets which have noFontChange == true. (bug #172)
10253
10254 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10255
10256         * BufferView_pimpl.C: add connection objects and use them...
10257         (Pimpl): here.
10258
10259 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10260
10261         * MenuBackend.C (expandLastfiles):
10262         (expandDocuments):
10263         (expandFormats):
10264         (expandFloatListInsert):
10265         (expandFloatInsert):
10266         (expand): split expand in parts
10267
10268 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * lyx_gui.C: use lyx_gui::exit()
10271
10272 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * LyXAction.C: show the failing pseudo action
10275
10276 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10277
10278         * buffer.C (readFile): Run the lyxconvert script in order to read
10279         old files.
10280
10281 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * LyXAction.C:
10284         * commandtags.h:
10285         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10286
10287 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10288
10289         * LyXAction.C:
10290         * commandtags.h:
10291         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10292
10293 2002-07-22  Herbert Voss  <voss@lyx.org>
10294
10295         * lengthcommon.C:
10296         * lyxlength.[Ch]: add support for the vertical lengths
10297
10298 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * toc.[Ch]: std:: fixes
10301
10302 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10303
10304         * lyxrc.C: do not include lyx_main.h
10305
10306         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10307         for layouts
10308
10309         * lyxrc.C:
10310         * encoding.C:
10311         * bufferlist.C:
10312         * BufferView2.C: include "lyxlex.h"
10313
10314         * tabular.h:
10315         * bufferparams.h: do not #include "lyxlex.h"
10316
10317         * lyxtextclasslist.C (Add): remove method
10318         (classlist): renamed to classlist_
10319
10320         * paragraph_pimpl.C:
10321         * paragraph.C:
10322         * text2.C:
10323         * CutAndPaste.C:
10324         * bufferview_funcs.C:
10325         * bufferlist.C:
10326         * text.C:
10327         * LaTeXFeatures.C:
10328         * buffer.C:
10329         * toc.C (getTocList): use BufferParams::getLyXTextClass
10330
10331         * toc.C (getTocList): use InsetFloat::addToToc
10332
10333         * toc.[Ch]: new files, containing helper functions to handle table
10334         of contents
10335
10336         * lyxfunc.C (dispatch): no need to remove spaces around command
10337         given as a string
10338         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10339         first command of the sequence; it is not very clever, but I do not
10340         have a better idea, actually
10341
10342         * LyXAction.C (LookupFunc): make sure to remove space at the
10343         beginning and end of the command
10344
10345 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10346
10347         * MenuBackend.C (getMenubar): new method: return the menubar of
10348         this menu set
10349         (read): treat differently reading of menu and menubar (in
10350         particular, the menubar has no name now)
10351         (Menu::menubar): remove
10352
10353         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10354         saving is finished
10355
10356 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10357
10358         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10359         a bibitem inset in a RTL paragraph.
10360
10361 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * paragraph_pimpl.C: constify
10364
10365         * BufferView_pimpl.C:
10366         * LaTeX.C:
10367         * lyxfunc.C: fix dispatch in a nicer way
10368
10369 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * lyxfunc.C (dispatch):
10372         * BufferView_pimpl.C:
10373         * BufferView_pimpl.h:
10374         * BufferView.C:
10375         * BufferView.h: rename Dispatch() to dispatch()
10376
10377         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10378
10379         * lyxlayout.C (Read): honor DependsOn tag
10380
10381         * lyxlayout.[Ch] (depends_on): new method
10382
10383         * version.C.in: update lyx_docversion
10384
10385         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10386
10387         * paragraph.C (validate): remove from here...
10388         * paragraph_pimpl.C (validate): ... and move here
10389         (isTextAt): make it const
10390
10391         * buffer.C (getLists): ws cleanup
10392
10393 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10394
10395         * language.C (read): Use iso8859-1 encoding in latex_lang
10396         (this prevents LyX from crashing when using iso10646-1 encoding).
10397
10398 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10399
10400         * text2.C (toggleInset): if cursor is inside an inset, close the
10401         inset and leave cursor _after_ it
10402
10403 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * lyxfunc.C: move minibuffer completion handling out of here
10406
10407 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * BufferView_pimpl.C:
10410         * LaTeX.C: fix dispatch calls
10411
10412 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * text.C (drawChars): Fix Arabic text rendering.
10415
10416 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * LyXAction.C:
10419         * commandtags.h:
10420         * lyxfunc.C: remove message-push/pop
10421
10422         * lyxserver.C:
10423         * lyxfunc.h:
10424         * lyxfunc.C: rationalise some code by removing verboseDispatch
10425           in favour of a bool argument to dispatch()
10426
10427 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * lyx_main.C (init): make sure to read symlinks as absolute paths
10430
10431 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * lyxfunc.h:
10434         * lyxfunc.C: no need for commandshortcut to be a member
10435
10436 2002-07-15  André Pönitz <poenitz@gmx.net>
10437
10438         * converter.C: add support for $$s (scripts from lib/scripts dir)
10439         * lyx_main.C: white space
10440
10441 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * bufferlist.C:
10444         * lyxrc.h:
10445         * lyxrc.C: remove second exit confirmation
10446
10447 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10448
10449         * BufferView.h:
10450         * BufferView.C:
10451         * BufferView2.C:
10452         * BufferView_pimpl.h:
10453         * BufferView_pimpl.C:
10454         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10455
10456 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10457
10458         * MenuBackend.C (expand): add numeric shortcuts to document menu
10459
10460         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10461
10462 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10463
10464         * lyxfont.C (setLyXFamily):
10465         (setLyXSeries):
10466         (setLyXShape):
10467         (setLyXSize):
10468         (setLyXMisc):
10469         (lyxRead):
10470         * debug.C (value):
10471         * buffer.C (asciiParagraph): use ascii_lowercase
10472
10473 2002-07-15  Mike Fabian  <mfabian@suse.de>
10474
10475         * lyxlex_pimpl.C (search_kw):
10476         * lyxlex.C (getLongString):
10477         * converter.h (operator<):
10478         * converter.C (operator<):
10479         * buffer.C (parseSingleLyXformat2Token):
10480         (asciiParagraph):
10481         * ToolbarDefaults.C (read):
10482         * MenuBackend.C (checkShortcuts):
10483         (read):
10484         * LColor.C (getFromGUIName):
10485         (getFromLyXName): use the compare_ascii_no_case instead of
10486         compare_no_case, because in turkish, 'i' is not the lowercase
10487         version of 'I', and thus turkish locale breaks parsing of tags.
10488
10489 2002-07-16  Angus Leeming  <leeming@lyx.org>
10490
10491         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10492         now takes a Buffer const & argument.
10493
10494 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * BufferView.C (resize): check there's a buffer to resize
10497
10498 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * lyxfunc.C: remove dead code
10501
10502         * lyxserver.h:
10503         * lyxserver.C: use lyx_guii::set_read_callback
10504
10505 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10506
10507         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10508         an inset in a RTL paragraph.
10509
10510 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * lyxfunc.C: repaint after a font size update
10513
10514 2002-07-15  André Pönitz <poenitz@gmx.net>
10515
10516         * lyxlength.C: inBP should be able to return negative values
10517
10518 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * lyxfunc.C: use lyx_gui::update_fonts()
10521
10522 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10523
10524         * lyxfunc.C: use lyx_gui::update_color()
10525
10526 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * bufferlist.C:
10529         * lyxfunc.h:
10530         * lyxfunc.C:
10531         * lyxrc.h:
10532         * lyxrc.C: remove file->new asks for name option, and let
10533           buffer-new take an argument
10534
10535 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * BufferView_pimpl.C: remove unneeded extra repaint()
10538
10539 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * LyXAction.C: allow command-sequence with NoBuffer
10542
10543         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10544
10545 2002-07-10  Angus Leeming  <leeming@lyx.org>
10546
10547         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10548
10549 2002-07-09  Angus Leeming  <leeming@lyx.org>
10550
10551         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10552
10553 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * lengthcommon.h: whitespace
10556
10557         * lyxfunc.C: update scrollbar after goto paragraph
10558
10559         * lyxtext.h: factor out page break drawing, and fix it so
10560           page break/added space paints as selected nicely
10561
10562 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * BufferView_pimpl.C: add FIXMEs, clean up a little
10565
10566 2002-07-09  André Pönitz <poenitz@gmx.net>
10567
10568         * lyxfont.[Ch]: support for wasy symbols
10569
10570 2002-07-08  André Pönitz <poenitz@gmx.net>
10571
10572         * BufferView_pimpl.C: apply John's patch for #93.
10573
10574 2002-07-05  Angus Leeming  <leeming@lyx.org>
10575
10576         * BufferView_pimpl.C (buffer): generate previews if desired.
10577
10578         * LColor.h: add "preview" to the color enum.
10579
10580         * LColor.C (LColor): add a corresponding entry to the items array.
10581
10582         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10583         with this buffer.
10584
10585 2002-07-05  Angus Leeming  <leeming@lyx.org>
10586
10587         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10588         The body of the code is now in the method that is passed an ostream &
10589         rather than a file name.
10590         Pass an additional only_preamble parameter, useful for the forthcoming
10591         preview stuff.
10592
10593 2002-07-03  André Pönitz <poenitz@gmx.net>
10594
10595         * lyxfunc.C: simplify getStatus() a bit for math stuff
10596
10597 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10598
10599         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10600
10601 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10602
10603         * text.C (changeRegionCase): do not change case of all the
10604         document when region ends at paragraph end (bug #461)
10605
10606 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10607
10608         * paragraph.C (startTeXParParams):
10609         (endTeXParParams): add \protect when necessary
10610
10611 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10612
10613         * BufferView_pimpl.C (workAreaExpose): remove warning
10614
10615 2002-06-27  Angus Leeming  <leeming@lyx.org>
10616
10617         * Makefile.am: add lyxlayout_ptr_fwd.h.
10618
10619 2002-06-26  André Pönitz <poenitz@gmx.net>
10620
10621         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10622
10623 2002-06-25  Angus Leeming  <leeming@lyx.org>
10624
10625         * lyxfunc.C (dispatch): Comment out the call to
10626         grfx::GCache::changeDisplay. The method no longer exists now that the
10627         pixmap generation part of the graphics loader has been moved into
10628         InsetGraphics.
10629
10630 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * text2.C: layout as layout
10633
10634         * text.C: layout as layout
10635
10636         * tabular.C (OldFormatRead): layout as layout
10637
10638         * paragraph_pimpl.C (TeXDeeper): layout as layout
10639         (realizeFont): layout as layout
10640
10641         * paragraph.C (writeFile): layout as layout
10642         (validate): layout as layout
10643         (getFont): layout as layout
10644         (getLabelFont): layout as layout
10645         (getLayoutFont): layout as layout
10646         (breakParagraph): layout as layout
10647         (stripLeadingSpaces): layout as layout
10648         (getEndLabel): layout as layout
10649         (getMaxDepthAfter): layout as layout
10650         (applyLayout): layout as layout
10651         (TeXOnePar): layout as layout
10652         (simpleTeXOnePar): layout as layout
10653         (TeXEnvironment): layout as layout
10654         (layout): layout as layout
10655         (layout): layout as layout
10656
10657         * lyxtextclass.C (compare_name): new functor to work with
10658         shared_ptr, layout as layout
10659         (Read): layout as layout
10660         (hasLayout): layout as layout
10661         (operator): layout as layout
10662         (delete_layout): layout as layout
10663         (defaultLayout): layout as layout
10664
10665         * lyxlayout_ptr_fwd.h: new file
10666
10667         * lyxlayout.C (Read): layout as layout
10668
10669         * lyx_cb.C (MenuInsertLabel): layout as layout
10670
10671         * bufferlist.C (newFile): layout as layout
10672
10673         * buffer.C (readLyXformat2): layout as layout
10674         (parseSingleLyXformat2Token): layout as layout
10675         (insertStringAsLines): layout as layout
10676         (asciiParagraph): layout as layout
10677         (latexParagraphs): layout as layout
10678         (makeLinuxDocFile): layout as layout
10679         (simpleLinuxDocOnePar): layout as layout
10680         (makeDocBookFile): layout as layout
10681         (simpleDocBookOnePar): layout as layout
10682         (getLists): layout as layout
10683
10684         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10685
10686         * CutAndPaste.C (cutSelection): layout as layout
10687         (pasteSelection): layout as layout
10688         (SwitchLayoutsBetweenClasses): layout as layout
10689
10690         * BufferView_pimpl.C (Dispatch): layout as layout
10691         (smartQuote): layout as layout
10692
10693         * BufferView2.C (unlockInset): layout as layout
10694
10695 2002-06-24  André Pönitz <poenitz@gmx.net>
10696
10697         * lyxfunc.C: fix #487
10698
10699 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * lyxrc.h:
10702         * lyxrc.C:
10703         * lyxfunc.C: remove display_shortcuts, show_banner
10704
10705 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * Buffer_pimpl.C: oops, update on resize
10708
10709 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * buffer.C:
10712         * converter.C:
10713         * exporter.C:
10714         * lyxfunc.C:
10715         * BufferView.h:
10716         * BufferView.C: use repaint()
10717
10718         * BufferView_pimpl.h:
10719         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10720           as it's a clearer description. Remove superfluous
10721           redraws.
10722
10723 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * text.C: fix bug 488. Not ideal, but getting
10726           getWord() to work properly for the insets that
10727           matter is more difficult ...
10728
10729 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10730
10731         * BufferView_pimpl.C:
10732         * LyXAction.C:
10733         * commandtags.h:
10734         * lyxfunc.C: remove the six million index lyxfuncs to just
10735           one, and DTRT (bug 458)
10736
10737 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * BufferView.h:
10740         * BufferView.C:
10741         * BufferView_pimpl.h:
10742         * BufferView_pimpl.C: clean up resize() stuff,
10743           and unnecessary updateScreen()s
10744
10745 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * BufferView.h:
10748         * BufferView.C:
10749         * BufferView_pimpl.h:
10750         * BufferView_pimpl.C:
10751         * lyxfind.h:
10752         * lyxfind.C:
10753         * minibuffer.C: remove focus management of workarea,
10754           not needed. Use screen's greyOut()
10755
10756 2002-06-17  Herbert Voss  <voss@lyx.org>
10757
10758         * converter.C: (convert) do not post a message, when converting
10759         fails, let the calling function decide what to do in this case
10760
10761 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * lyxfunc.C: tidy up a little
10764
10765 2002-06-16    <alstrup@diku.dk>
10766
10767         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10768         Got rid of FORMS_H_LOCATION include. Now we are
10769         GUII.
10770
10771 2002-06-15  LyX Development team  <lyx@rilke>
10772
10773         * buffer.[Ch] (sgmlOpenTag):
10774         (sgmlCloseTag): Added support for avoiding pernicious mixed
10775         content. Return number of lines written.
10776
10777         (makeLinuxDocFile):
10778         (makeDocBookFile): Fixed calls to sgml*Tag.
10779         Simple white space clean.
10780
10781         (simpleDocBookOnePar): Simple white space clean.
10782
10783         * tabular.[Ch] (docBook): Renamed to docbook and got another
10784         argument to related with the pernicious mixed content.
10785
10786         (docbookRow): Fixed calls for docbook inset method.
10787
10788 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10789
10790         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10791         so it's X11 independent.
10792
10793         * kb*.[Ch]: ditto.
10794
10795         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10796
10797 2002-06-15  Lyx Development team  <lyx@electronia>
10798
10799         * intl.h: Renamed getTrans to getTransManager.
10800
10801 2002-06-14  Angus Leeming  <leeming@lyx.org>
10802
10803         * Makefile.am: nuke forgotten stl_string_fwd.h.
10804
10805 2002-06-12  Angus Leeming  <leeming@lyx.org>
10806
10807         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10808
10809 2002-06-13  Angus Leeming  <leeming@lyx.org>
10810
10811         * LaTeX.C:
10812         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10813
10814 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10815
10816         * kbmap.C (getiso): add support for cyrillic and greek
10817
10818 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * BufferView.h:
10821         * BufferView.C:
10822         * BufferView_pimpl.h:
10823         * BufferView_pimpl.C: move bogus scrolling logic
10824           to xforms
10825
10826 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * lyxfunc.C:
10829         * BufferView_pimpl.C: view->resize() change
10830
10831 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10832
10833         * BufferView_pimpl.C: topCursorVisible
10834           prototype change
10835
10836 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * Makefile.am:
10839         * lyx_gui.h:
10840         * lyx_gui.C: move to frontends/
10841
10842         * main.C:
10843         * lyx_main.h:
10844         * lyx_main.C: changes from above
10845
10846 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * intl.C:
10849         * intl.h:
10850         * kbmap.C:
10851         * kbsequence.C:
10852         * lyx_cb.C:
10853         * lyx_main.C: minor tidy
10854
10855 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * BufferView_pimpl.h:
10858         * BufferView_pimpl.C:
10859         * BufferView.h:
10860         * BufferView.C: make painter() const,
10861           remove dead code
10862
10863         * BufferView2.C: use screen() accessor
10864
10865         * lyx_main.h:
10866         * lyx_main.C: some minor cleanup
10867
10868 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * BufferView_pimpl.h:
10871         * BufferView_pimpl.C: remove enter/leaveView,
10872           use workHeight()
10873
10874 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * BufferView.h:
10877         * BufferView.C:
10878         * BufferView2.C:
10879         * BufferView_pimpl.h:
10880         * BufferView_pimpl.C: only construct screen once,
10881           rename
10882
10883         * lyxrc.C: remove pointless comment
10884
10885 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10886
10887         * BufferView.h:
10888         * BufferView.C: remove active() and belowMouse()
10889
10890         * BufferView_pimpl.h:
10891         * BufferView_pimpl.C: use workarea() not workarea_,
10892           and make it use a scoped_ptr instead
10893
10894 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * lyx_gui.C: add debug message on BadWindow
10897
10898 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10899
10900         * sp_spell.C: fdopen is not part of the C++ standard.
10901
10902         * paragraph.C (InsetIterator): use >= instead of ==
10903
10904 2002-06-07  Angus Leeming  <leeming@lyx.org>
10905
10906         Fixes needed to compile with Compaq cxx 6.5.
10907         * BufferView_pimpl.C:
10908         * DepTable.C:
10909         * buffer.C:
10910         * converter.C:
10911         * encoding.C:
10912         * lyx_gui.C:
10913         * lyx_main.C:
10914         * lyxtextclasslist.C:
10915         * minibuffer.C:
10916         * sp_spell.C:
10917         * tabular_funcs.C:
10918         * vc-backend.C:
10919         all c-library variables have been moved into namespace std. Wrap
10920         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10921
10922         * lyxlength.C:
10923         * tabular-old.C:
10924         * tabular.C:
10925         Add a using std::abs declaration.
10926
10927         * kbmap.h (modifier_pair):
10928         * paragraph.h (InsetTable, InsetList):
10929         * lyxfont.h (FontBits):
10930         type definition made public.
10931
10932         * bufferlist.C (emergencyWriteAll): the compiler complains that
10933         there is more than one possible lyx::class_fun template to choose from.
10934         I re-named the void specialisation as lyx::void_class_fun.
10935
10936         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10937
10938         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10939         the compiler is is unable to find tostr in write_attribute.
10940
10941 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10942
10943         * buffer.C (sgmlError): hide #warning
10944
10945 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10946
10947         * xtl/*: get rid of xtl, which is not in use anyway
10948
10949         * LyXAction.C (init):
10950         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10951         were unimplemented xtl experimentation
10952
10953 2002-06-04  André Pönitz <poenitz@gmx.net>
10954
10955         * lyxfunc.C: disable array operation on simple formulae
10956
10957 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * converter.C: constify a bit
10960
10961 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * lyx_gui.C: check xforms version correctly
10964
10965 2002-04-30  Herbert Voss  <voss@lyx.org>
10966
10967         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10968         "keep" option
10969
10970 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10971
10972         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10973           attempt to register it with a VCS)
10974
10975 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10976
10977         * lyx_main.C (init): honor variables LYX_DIR_13x and
10978         LYX_USERDIR_13x
10979
10980 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10981
10982         * buffer.h:
10983         * buffer.C:
10984         * lyx_main.C: fix a crash on bad command line,
10985           and give a useful exit status on error
10986
10987         * lyxfunc.C (doImport): allow -i lyx to work
10988
10989 2002-03-30  André Pönitz <poenitz@gmx.net>
10990
10991         * lyxfunc.C: mathed font changes
10992
10993 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10994
10995         * LaTeX.C:
10996         * importer.h:
10997         * importer.C:
10998         * lyx_sty.h:
10999         * lyx_sty.C:
11000         * lyxlex.C:
11001         * lyxrow.h:
11002         * lyxtext.h:
11003         * paragraph.h:
11004         * paragraph.C:
11005         * texrow.h:
11006         * texrow.C:
11007         * text.C:
11008         * trans_mgr.h: srcdocs, and some minor cleanups
11009
11010 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11011
11012         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11013         call getFont all the time)
11014
11015 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11016
11017         * switch from SigC signals to boost::signals
11018
11019 2002-05-29  André Pönitz <poenitz@gmx.net>
11020
11021         * paragraph_pimpl.C (getChar): don't call size() too often...
11022
11023 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11024
11025         * paragraph_pimpl.C (insertChar): do not try to update tables when
11026         appending (pos == size())
11027
11028         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11029         in order to reduce drastically the number of comparisons needed to
11030         parse a large document
11031
11032 2002-05-29  André Pönitz <poenitz@gmx.net>
11033
11034         * text.C:
11035         * text2.C:
11036         * lyxtextclass.C:
11037         * sp_pspell.h:
11038         * textclasslist.[Ch]:
11039         * sp_ispell.h: whitespace change
11040
11041 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11042
11043         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11044         lyxaction directly now.
11045
11046 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * trans.C:
11049         * lyxfont.C:
11050         * lyxvc.C: remove unused headers
11051
11052 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * Makefile.am:
11055         * buffer.h:
11056         * undostack.h:
11057         * undostack.C:
11058         * undo_funcs.h:
11059         * undo_funcs.C: some cleanups. Use shared_ptr
11060           and a template for the undo stacks.
11061
11062 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * BufferView_pimpl.h:
11065         * BufferView_pimpl.C:
11066         * kbmap.h:
11067         * kbmap.C:
11068         * kbsequence.h:
11069         * kbsequence.C:
11070         * lyxfunc.h:
11071         * lyxfunc.C:
11072         * text2.C: use key_state/mouse_state
11073
11074 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11075
11076         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11077         and LSubstring
11078
11079         * chset.C: change include order
11080         (loadFile): use boost regex and get rid of LRegex and LSubstring
11081
11082         * Makefile.am (BOOST_LIBS): new variable
11083         (lyx_LDADD): use it
11084
11085         * LaTeX.C: change include order.
11086         (scanAuxFile): use boost regex and get rid of LRegex and
11087         LSubstring
11088         (deplog): ditto
11089
11090 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11091
11092         * ColorHandler.h:
11093         * ColorHandler.C:
11094         * FontInfo.h:
11095         * FontInfo.C: moved to frontends/xforms/
11096
11097         * FontLoader.h:
11098         * FontLoader.C: moved into frontends for GUIIzation
11099
11100         * Makefile.am:
11101         * lyx_gui.C:
11102         * lyxfont.C:
11103         * lyxfunc.C: changes from above
11104
11105 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * LColor.C: remove spurious X include
11108
11109         * BufferView_pimpl.C:
11110         * Makefile.am:
11111         * font.h:
11112         * font.C:
11113         * text.C:
11114         * text2.C: move font metrics to frontends/
11115
11116 2002-05-24  Juergen Vigna  <jug@sad.it>
11117
11118         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11119         setting the undo_cursor.
11120
11121         * ParagraphParameters.h: include local includes first.
11122
11123 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * BufferView_pimpl.C:
11126         * BufferView_pimpl.h:
11127         * Makefile.am:
11128         * WorkArea.h:
11129         * WorkArea.C:
11130         * screen.C: move WorkArea into frontends/
11131
11132         * lyxscreen.h:
11133         * screen.C:
11134         * text.C:
11135         * BufferView.C:
11136         * BufferView2.C: move LyXScreen into frontends/
11137
11138         * lyxlookup.h:
11139         * lyxlookup.C:
11140         * lyx_gui.C: move lyxlookup into frontends/xforms/
11141
11142 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * BufferView2.C:
11145         * BufferView_pimpl.C:
11146         * FontLoader.C:
11147         * LyXView.h:
11148         * LyXView.C:
11149         * Makefile.am:
11150         * WorkArea.C:
11151         * XFormsView.h:
11152         * XFormsView.C:
11153         * buffer.C:
11154         * bufferlist.C:
11155         * bufferview_funcs.C:
11156         * converter.C:
11157         * importer.C:
11158         * lyx_cb.C:
11159         * lyx_gui.C:
11160         * lyx_main.C:
11161         * lyx_find.C:
11162         * lyxfunc.C:
11163         * lyxvc.C:
11164         * minibuffer.C:
11165         * text.C:
11166         * text2.C:
11167         * trans.C:
11168         * vc-backend.C: move LyX/XFormsView into frontends/
11169
11170 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11171
11172         * Makefile.am:
11173         * PainterBase.C:
11174         * PainterBase.h:
11175         * Painter.C:
11176         * Painter.h:
11177         * WorkArea.C:
11178         * WorkArea.h:
11179         * screen.C:
11180         * tabular.C:
11181         * text.C:
11182         * text2.C: move Painter to frontends/
11183
11184 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * buffer.C: comment out some some code that depend upon lyx_format
11187         < 220
11188
11189         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11190         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11191
11192         * buffer.h (NO_COMPABILITY): turn off compability
11193
11194         * ColorHandler.C: include scoped_array.hpp
11195
11196         * font.C: Use more specific smart_ptr header.
11197         * Painter.C: ditto
11198         * gettext.C: ditto
11199         * ShareContainer.h: ditto
11200         * lyx_main.h: ditto
11201         * kbmap.h: ditto
11202         * FontInfo.h: ditto
11203         * BufferView_pimpl.h: ditto
11204         * ColorHandler.h: ditto
11205
11206         * kbmap.C (defkey): change call to shared_ptr::reset
11207
11208 2002-05-21  Juergen Vigna  <jug@sad.it>
11209
11210         * buffer.C (insertErtContents): fix to insert ert asis if it is
11211         non empty. Skip it completely if it contains only whitespaces.
11212
11213 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11214
11215         * BufferView_pimpl.C:
11216         * BufferView2.C: clear selection on paste (bug 393)
11217
11218 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * DepTable.C: include ctime
11221
11222 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11223
11224         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11225
11226 2002-05-14  Juergen Vigna  <jug@sad.it>
11227
11228         * text.C (breakParagraph): fixed function to honor the keepempty
11229         layout in the right maner and also to permit the right breaking
11230         algorithm on empty or non empyt keepempty paragraphs.
11231
11232         * paragraph.C (breakParagraph): we have to check also if the par
11233         is really empty (!size()) for isempty otherwise we do the wrong
11234         paragraph break.
11235
11236 2002-05-10  Juergen Vigna  <jug@sad.it>
11237
11238         * buffer.[Ch] : The following are only changes to the ert
11239         compatibility read reading old LaTeX layout and font stuff and
11240         convert it to ERTInsets.
11241
11242         * buffer.h: added isErtInset().
11243
11244         * buffer.C (struct ErtComp): add a fromlayout bool to check
11245         if we're inside a LaTeX layout.
11246         (isErtInset): new helper function.
11247         (insertErtContents): look for other ert insets before this one
11248         and insert the contents there, so that we don't have subsequent
11249         ERT insets with nothing between them. This way we create only one
11250         inset with multiple paragraphs. Also check if we don't insert only
11251         spaces ' ' as they are ignored anyway afterwards in the .tex file
11252         so if we have only spaces we will ignore this latex part in the
11253         new file.
11254         (parseSingleLyXformat2Token \\layout): better compatibility when
11255         reading layout-latex stuff.
11256         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11257         language tag.
11258         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11259         stuff after reading the inset only get the information back from
11260         the stack.
11261
11262 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11265
11266         * LaTeXFeatures.C (getBabelOptions): New method.
11267
11268 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11269
11270         * BufferView_pimpl.C (Dispatch): work around missing argument for
11271         'layout'
11272
11273 2002-05-08  Juergen Vigna  <jug@sad.it>
11274
11275         * text.C (leftMargin): handle paragraph leftindent.
11276
11277         * paragraph.C (writeFile): write the new \\leftindent tag.
11278         (validate): handle leftindent code.
11279         (TeXEnvironment): handle paragraphleftindent code again.
11280
11281         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11282
11283         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11284         for paragrap_extra indent code and new token \\leftindent.
11285         (latexParagraphs): handle the leftindent as environment.
11286
11287         * ParameterStruct.h: added leftindent support.
11288
11289         * ParagraphParameters.C (leftIndent): added support functions for
11290         the paragraph left indent.
11291
11292         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11293         more appropriate.
11294
11295 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11296
11297         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11298         inside insetERT.
11299
11300         * text.C (computeBidiTables): No bidi in insetERT.
11301
11302         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11303         in RTL documents.
11304
11305 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * version.C.in: pre 5
11308
11309 2002-05-02  José Matos  <jamatos@fep.up.pt>
11310         * buffer.C (makeDocBookFile): white space changes, add newline to
11311         command styles.
11312         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11313
11314         * tabular.C (docBook): fix typo.
11315
11316 2002-05-03  Juergen Vigna  <jug@sad.it>
11317
11318         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11319         change in LyXText as we can not be sure it was not freed.
11320         (drawOneRow): remove unused code.
11321
11322         * text.C (drawInset): redo the calculation of the need_break_row as
11323         it could have a row which was already freed.
11324         (draw): look at the return value of drawInset and return false if
11325         it also returned false.
11326         (paintRowText): look at the return value of draw and return false if
11327         it also returned false.
11328
11329         * lyxtext.h: added bool return type to drawInset() and draw() so that
11330         if we have a change in the row so that the rowbreak has to be redone
11331         we abort drawing as it will be called again.
11332
11333 2002-05-02  Juergen Vigna  <jug@sad.it>
11334
11335         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11336         a change in the maintext also if we're inside an inset.
11337         (Dispatch): set the cursor again after a break line and after the
11338         screen has been updated as it could be we're in a different row.
11339
11340         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11341         to set the cursor behind the pargraph with > size().
11342         (setCursor): check also for the same paragraph when checking where
11343         to put the cursor if we have a NFR inset.
11344
11345         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11346         parts of layout read further up as it still was in the wrong
11347         position.
11348
11349 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11350
11351         * screen.C (drawFromTo): change sine fullRebreak always return
11352         true.
11353
11354         * buffer.C (parseSingleLyXformat2Token): reindent some
11355
11356         * BufferView_pimpl.C (update): change since fullRebreak always
11357         return true.
11358         (Dispatch): git rid of the last hardcoded "Standard"s.
11359
11360 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * text2.[Ch] (fullRebreak): make it return void now that we always
11363         returned true.
11364
11365 2002-04-30  Juergen Vigna  <jug@sad.it>
11366
11367         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11368         ert compatibility check for "latex" layout.
11369
11370 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11371
11372         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11373         minipages: use col% instead of p%, and also use the current font.
11374         (makeLaTeXFile): Fix use babel condition.
11375         (parseSingleLyXformat2Token): Correct font when reading old floats.
11376
11377 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11378
11379         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11380         inserting list of floats.
11381
11382 2002-04-25  Herbert Voss  <voss@lyx.org>
11383
11384         * MenuBackend.C (expand): don't add the graphics extensions to the
11385         export menu
11386
11387 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11388
11389         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11390         non-existing layout, do not complain if it was the default layout
11391         of the original class (bug #342)
11392
11393 2002-04-24  Juergen Vigna  <jug@sad.it>
11394
11395         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11396         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11397
11398 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11399
11400         * buffer.C (getBibkeyList): If using \bibliography, return the
11401         option field with the reference itself. Enables us to provide natbib
11402         support when using \bibliography.
11403
11404 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11405
11406         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11407
11408         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11409         natbib is provided by the LaTeX class.
11410
11411 2002-04-23  Juergen Vigna  <jug@sad.it>
11412
11413         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11414         Wakeup functions.
11415
11416         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11417
11418 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11419
11420         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11421
11422         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11423         ensuremath around textordmasculine, textordfeminine and
11424         textdegree.
11425
11426 2002-04-19  Juergen Vigna  <jug@sad.it>
11427
11428         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11429         reinitializing the buffer otherwise row-dimensions may be wrong.
11430         (update): reset also the selection cursors if they do exits otherwise
11431         their x/y positions may be wrong.
11432
11433         * text2.C (cursorDown): don't enter the inset if we came from a row
11434         above and are one row over the inset.
11435
11436         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11437         really leaving an inset.
11438
11439 2002-04-18  Juergen Vigna  <jug@sad.it>
11440
11441         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11442         of the selected paragraph does not have the selected layout also if
11443         the last one had!
11444
11445         * text2.C (setLayout): fixed bug which did not change last selected
11446         paragraph.
11447
11448         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11449         changed the read and substituted \\end_float with \\end_inset!
11450
11451         * BufferView_pimpl.C (cursorPrevious):
11452         (cursorNext): fixed to make it work with rows heigher than the work
11453         area without moving the cursor only the draw of the row.
11454         (workAreaMotionNotify): fix jumping over high rows.
11455
11456 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11459         Ressler.
11460
11461 2002-04-16  Juergen Vigna  <jug@sad.it>
11462
11463         * text2.C (setCursor): set also the irow().
11464         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11465         (cursorUp):
11466         (cursorDown): support for locking an inset if the x_fix value goes
11467         inside it. That way I can transverse insets too with cursor up/down.
11468
11469         * lyxrow.h: added irow helper function same as other (i) functions.
11470
11471         * BufferView_pimpl.C (cursorPrevious):
11472         (cursorNext): fixed for insets!
11473
11474 2002-04-15  Juergen Vigna  <jug@sad.it>
11475
11476         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11477         position otherwise it is wrong in some cases.
11478
11479         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11480         inside the inset before the call.
11481
11482 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11483
11484         * buffer.[Ch] (getBibkeyList): make it const.
11485
11486 2002-04-12  Juergen Vigna  <jug@sad.it>
11487
11488         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11489
11490         * text2.C (getCursorX): new helper function
11491         (setCursor): compute also ix_
11492         (setCursorFromCoordinates): set also ix.
11493
11494         * lyxcursor.h: added ix_ and helper functions.
11495
11496         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11497
11498         * buffer.C (insertStringAsLines): dont break paragraph if the this
11499         paragraph is inside an inset which does not permit it!
11500
11501         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11502         also with no chars on this paragraph.
11503         (paintRowText): only paint stuff if it's inside the workarea!
11504
11505         * paragraph.C (breakParagraph): honor keepempty flag and break the
11506         paragraph always below not above.
11507
11508         * BufferView2.C (unlockInset): update the paragraph layout on inset
11509         unlock as we changed paragraph in such a case.
11510
11511         * lyxfind.C (LyXFind): clear the former selection if not found!
11512
11513         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11514         again called in insertChar().
11515
11516         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11517         an inset which uses the whole row!
11518         (rightMargin): ditto.
11519         (insertChar): force a rebreak if we inserted an inset!
11520
11521 2002-03-28  Herbert Voss  <voss@lyx.org>
11522
11523         * lyxlength.[Ch]: add inBP() to get the right PS-point
11524         units (BigPoint). With inPixels we have rounding errors
11525
11526 2002-04-11  Juergen Vigna  <jug@sad.it>
11527
11528         * text2.C (setCursorFromCoordinates): set iy to the right value.
11529         (setCursor): add check if row->previous exists!
11530
11531         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11532         an old float_type as this was the case in the old code!
11533
11534         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11535
11536         * BufferView2.C (showLockedInsetCursor): use iy
11537         (fitLockedInsetCursor): ditto
11538
11539         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11540         locked insets as there we have the right value now.
11541
11542         * lyxcursor.C: added iy_ variable and iy functions to set to the
11543         baseline of cursor-y of the locked inset.
11544
11545         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11546         (setCursor): fixed for insets which need a full row.
11547
11548         * text.C (rowLastPrintable): don't ignore the last space when before
11549         an inset which needs a full row.
11550         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11551         as last character of a row when before a inset which needs a full row.
11552
11553 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11554
11555         * version.C.in: update date
11556
11557         * text2.C (fullRebreak): try to always return true and see what
11558         happens...
11559
11560 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11561
11562         * MenuBackend.C (expand): use Floating::listName
11563
11564         * FloatList.C (FloatList): add listName argument to the built-in
11565         floats
11566
11567         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11568         text associated with the float.
11569
11570 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11571
11572         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11573
11574 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11575
11576         * ShareContainer.h: add a couple of missing typenames.
11577
11578 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11579
11580         * lyxrc.C (getDescription): use _() correctly rather than N_().
11581
11582 2002-03-28  Herbert Voss  <voss@lyx.org>
11583
11584         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11585         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11586
11587 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11588
11589         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11590         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11591
11592 2002-03-29  Juergen Vigna  <jug@sad.it>
11593
11594         * lyxfunc.C (dispatch): add a missing fitCursor call.
11595
11596         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11597         it was scrolled by a cursor move, so return the bool status.
11598
11599         * BufferView.C (fitCursor): return the bool flag also to the outside
11600         world as this is needed.
11601
11602         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11603
11604         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11605         call the edit() as it is not needed (and wrong) IMO.
11606         (workAreaButtonPress): set the screen_first variable before evt.
11607         unlock the inset as this may change screen_first and then we have
11608         a wrong y position for the click!
11609
11610 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11611
11612         * MenuBackend.C (expand): another translation that I missed
11613
11614 2002-03-28  Juergen Vigna  <jug@sad.it>
11615
11616         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11617
11618         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11619
11620 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11621
11622         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11623
11624         * MenuBackend.C (expand): fix export/view/update when there is no
11625         document open.
11626
11627 2002-03-27  Herbert Voss  <voss@lyx.org>
11628
11629         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11630         and text%
11631
11632 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11633
11634         * bufferview_funcs.C (currentState): only show paragraph number
11635         for is DEVEL_VERSION is set.
11636
11637         * lyxfunc.C (dispatch): put warning in INFO channel
11638
11639         * MenuBackend.C (expand): translate the name of floats
11640
11641         * FloatList.C (FloatList): mark the float names for translation
11642
11643         * converter.C (convert): use LibScriptSearch
11644
11645 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11646
11647         * MenuBackend.C (defaults): fix default menu (we might as well get
11648         rid of it...)
11649
11650 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11653         directory.
11654
11655 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11656
11657         * lyxvc.C: reorder includes.
11658
11659 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11662           properly
11663
11664 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * CutAndPaste.C: change layouts earlier on paste
11667           to avoid crashing when calling getFont()
11668
11669 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11670
11671         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11672         irritating #error.
11673
11674 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * WorkArea.C: remove 'Pending' debug message.
11677
11678         * most files: ws cleanup
11679
11680         * buffer.[Ch]: ws changes
11681
11682         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11683
11684 2002-03-21  Juergen Vigna  <jug@sad.it>
11685
11686         * tabular.C (SetMultiColumn): collapse also the contents of the
11687         cells and set the last border right. Added a Buffer const * param.
11688
11689 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11692         linking or not.
11693
11694 2002-03-19  Juergen Vigna  <jug@sad.it>
11695
11696         * text2.C (clearSelection): reset also xsel_cache.
11697
11698         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11699         where it needs to be called (John tells us to do so too :)
11700         (selectionLost): reset sel_cache.
11701
11702         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11703
11704 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11705
11706         * text2.C (setCursorIntern): put debuging code in INSETS channel
11707
11708 2002-03-19  André Pönitz <poenitz@gmx.net>
11709
11710         * lyxfunc.C: tiny whitespace change
11711
11712 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11713
11714         * ToolbarDefaults.C (init):
11715         * LyXAction.C (init):
11716         * commandtags.h:
11717         * BufferView_pimpl.C (Dispatch):
11718         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11719
11720 2002-03-19  Allan Rae  <rae@lyx.org>
11721
11722         * exporter.C (Export): removeAutoInsets before doing anything else.
11723         While I've just introduced a dependency on BufferView this really is
11724         the best place to clean the buffer otherwise you need to cleanup in
11725         a dozen places before calling export or cleanup in a dozen functions
11726         that export calls.
11727
11728         * converter.C (runLaTeX):
11729         (scanLog): Better handling of removeAutoInsets and screen updates.
11730
11731         * lyxfunc.C (dispatch): small whitespace changes
11732
11733 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * WorkArea.C (C_WorkAreaEvent): return a value.
11736         (event_cb): return 1 if we handled the event, 0 otherwise.
11737
11738         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11739
11740 2002-03-18  Juergen Vigna  <jug@sad.it>
11741
11742         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11743         (GetAdditionalWidth): ditto.
11744         (RightLine): ditto.
11745         (LeftLine): ditto.
11746
11747         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11748         inset if we're there actually (probably not used right now but this
11749         is the direction to go for unifying code).
11750         (paste): disable code to clear the selection.
11751
11752         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11753         inside an InsetText and move the check further up as it is in the
11754         wrong place.
11755
11756         * text2.C (pasteSelection): set a selection over the pasted text.
11757
11758 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11759
11760         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11761         and libgraphics to build on Cygwin.
11762
11763 2002-03-15  Juergen Vigna  <jug@sad.it>
11764
11765         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11766         inserting an Inset into the paragraph. I know this is not the best
11767         fix but we already use current_view in CutAndPaste so we will remove
11768         all of it's using at the same time.
11769
11770         * buffer.C (sgmlError): deactivated function till it is rewritten in
11771         the right mode, now it can create problems.
11772
11773         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11774         before accessing it.
11775
11776 2002-03-14  Juergen Vigna  <jug@sad.it>
11777
11778         * undo_funcs.C (textHandleUndo): do the right thing when updating
11779         the inset after the undo/redo.
11780
11781         * text2.C (setCursor): just some testcode for #44 not ready yet.
11782
11783         * undo_funcs.C (textHandleUndo): set the next() and previous()
11784         pointers of the paragraph to 0 before deleting otherwise we have
11785         problems with the Paragraph::[destructor].
11786
11787         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11788         on a paragraph insertion.
11789
11790 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * buffer.C (asciiParagraph): use += operator for char append to
11793         string.
11794
11795         * paragraph.C (getFontSettings): compare >= not just >
11796         (highestFontInRange): ditto
11797         (setFont): ditto
11798
11799 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * paragraph.C: change several algorithm to be more appripriate for
11802         the problem domain. This is lookip in FontList and in the InsetList.
11803
11804 2002-03-13  André Pönitz <poenitz@gmx.net>
11805
11806         * commandtags.h:
11807         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11808
11809 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * commandtags.h:
11812         * LyXAction.C:
11813         * lyxfunc.C:
11814         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11815
11816 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11817
11818         * Painter.C (display): anon helper function, adjust code for this
11819         change.
11820         (pixmap): remove function.
11821
11822         * Painter.h: remove private display variable.
11823
11824         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11825
11826 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11827
11828         * WorkArea.[Ch]: remove figinset_canvas cruft.
11829
11830 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * lyxtextclass.C (operator): add one item cache optimization.
11833
11834         * bufferlist.h: doxy changes
11835
11836         * bufferlist.C: ws changes
11837
11838         * DepTable.[Ch] (ext_exist): place const in the right spot.
11839
11840         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11841         call resizeInsets.
11842         (workAreaExpose): call resizeInsets when the with BufferView changes.
11843         (Dispatch): adjust for protectedBlank removal
11844         (specialChar): call updateInset if the insert went ok.
11845
11846         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11847         specialChar instead.
11848
11849         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11850
11851         * BufferView.h: doxy change
11852
11853         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11854
11855         * lyxtextclass.C (operator[]): remove non-const version
11856         (defaultLayout): remove non-const version
11857
11858 2002-03-12  Juergen Vigna  <jug@sad.it>
11859
11860         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11861         did resize the LyXText too.
11862
11863         * buffer.C (readLyXformat2): set layout information on newly allocated
11864         paragraphs.
11865
11866         * tabular.C (OldFormatRead): set layout information on the paragraph.
11867
11868 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11869
11870         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11871
11872 2002-03-11  Juergen Vigna  <jug@sad.it>
11873
11874         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11875         plainly wrong.
11876         (resizeCurrentBuffer): force also the insets to resize themselfes.
11877         (moveCursorUpdate): fixed up for InsetText.
11878
11879 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11880
11881         * commandtags.h:
11882         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11883         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11884         value of Dialogs::tooltipsEnabled().
11885         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11886
11887 2002-03-08  Juergen Vigna  <jug@sad.it>
11888
11889         * BufferView_pimpl.C (updateInset): update inset inside inset also
11890         if it isn't inside theLockingInset().
11891
11892 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11893
11894         * buffer.C (asciiParagraph): redo some of the word and line length
11895         handling.
11896         (getLists): look for Caption instead of caption.
11897
11898 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11899
11900         * buffer.C (Buffer): initialize niceFile to true
11901         (makeLaTeXFile):
11902         (makeLinuxDocFile):
11903         (makeDocBookFile): make sure niceFile is true on exit
11904
11905 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11908
11909 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11910
11911         * LyXSendto.C: remove.
11912         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11913         * lyx_gui.C: remove now-redundant comment.
11914         * ColorHandler.h: remove forward declaration of class WorkArea.
11915         * lyxfunc.C: remove #include "WorkArea.h".
11916
11917 2002-03-07  Juergen Vigna  <jug@sad.it>
11918
11919         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11920         got moved away with the DEPM and also set the inset_owner always
11921         right which before could have been omitted.
11922
11923 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11926         wanted layout is not found.
11927
11928 2002-03-07  Juergen Vigna  <jug@sad.it>
11929
11930         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11931
11932 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * paragraph.C (breakParagraph): use default layout not layout of
11935         prev paragraph.
11936         (Paragraph): clear ParagraphParameters.
11937
11938 2002-03-06  Juergen Vigna  <jug@sad.it>
11939
11940         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11941         otherwise it would not be a valid lenght. Fixed a special case in
11942         the minipage compatibility read where we end the document with a
11943         minipage.
11944
11945         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11946         was set as it could be 0 for InsetTexts first entry.
11947
11948 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11949
11950         * paragraph.C (writeFile): if layout is empty write out
11951         defaultLayoutName().
11952
11953         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11954         file without named layout we set layout to defaultLayoutName().
11955
11956 2002-03-06  Juergen Vigna  <jug@sad.it>
11957
11958         * CutAndPaste.C (copySelection): set layout for new paragraph.
11959
11960         * text.C (prepareToPrint): leave ERT inset left aligned
11961         (leftMargin): don't indent paragraphs inside ERT insets
11962
11963 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11964
11965         * paragraph.C (breakParagraph): dont call clear do the work manually
11966
11967         * paragraph.[Ch] (clear): remove function
11968
11969 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11970
11971         * paragraph.C (Paragraph): dont call clear, the work has already
11972         been done.
11973
11974         * lyxtextclass.C (operator): assert if n is empty
11975
11976         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11977         work manually instead.
11978
11979 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * BufferView_pimpl.C: protect selectionLost against text == 0
11982
11983 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11984
11985         * text.C (breakParagraph): fix a setting layout to '0' problem.
11986
11987 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11988
11989         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11990         final location of file, for the included files, and graphics.
11991
11992 2002-03-05  Juergen Vigna  <jug@sad.it>
11993
11994         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11995
11996 2002-03-04  Juergen Vigna  <jug@sad.it>
11997
11998         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11999
12000         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12001         last column of multicolumn cells.
12002         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12003
12004 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12005
12006         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12007         file if it doesn't go to a temporary file.
12008
12009         * buffer.C (sgmlOpenTag):
12010         (sgmlCloseTag):  remove extra newline insertion.
12011
12012 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12013
12014         * text.C (getRowNearY): comment out debug msg
12015
12016 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12017
12018         * text2.C: first -> first_y
12019
12020         * text.C (getRowNearY): add some attemts at a possible
12021         optimization, not working.
12022
12023         * tabular.[Ch]: add BufferParams to several function so that newly
12024         created paragraph can be initialized to he default layotu for the
12025         buffers textclass.
12026
12027         * tabular-old.C (ReadOld): add buf->params to call of Init
12028
12029         * screen.C: rename text->first to text->first_y
12030
12031         * paragraph.C (breakParagraph): always set layout in the broken
12032         paragraph
12033
12034         * lyxtextclass.C (Read): remove lowercase
12035         (hasLayout): ditto
12036         (operator): ditto
12037         (delete_layout): ditto
12038
12039         * lyxtext.h: rename first -> first_y
12040
12041         * lyxlayout.C (Read): remove lowercase
12042         (name): ditto
12043         (setName): ditto
12044         (obsoleted_by): ditto
12045
12046         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12047
12048         * buffer.C (insertErtContents): add params are to InsetERT
12049         (parseSingleLyXformat2Token): add code to check if a paragraphs
12050         layout really exist.
12051         (parseSingleLyXformat2Token): add params to several inset
12052         constructors
12053         (asciiParagraph): remove lowercase, do the layout comparisons with
12054         no_case
12055
12056         * BufferView_pimpl.C (cursorNext): first -> first_y
12057         (resizeCurrentBuffer): first -> first_y
12058         (updateScrollbar): first -> first_y
12059         (scrollCB): first -> first_y
12060         (workAreaMotionNotify): first -> first_y
12061         (workAreaButtonPress): first -> first_y
12062         (checkInsetHit): first -> first_y
12063         (cursorPrevious): first -> first_y
12064         (cursorNext): first -> first_y
12065         (Dispatch): add buffer_->params to severl inset contructors
12066
12067 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12068
12069         * lyxlayout.C (Read): remove some debug info that I forgot.
12070
12071         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12072         clean up the code slightly.
12073         (makeLinuxDocFile): ditto
12074         (makeDocBookFile): ditto
12075
12076         * text2.C: layout as string
12077
12078         * text.C: layout as string
12079
12080         * paragraph_pimpl.C: layout as string
12081
12082         * paragraph.[Ch]: layout as string
12083
12084         * lyxtextclasslist.[Ch]: layout as string
12085
12086         * lyxtextclass.[Ch]: layout as string
12087
12088         * lyxtext.h: layout as string
12089
12090         * lyxlayout.[Ch]: layout as string
12091
12092         * lyx_cb.C: layout as string
12093
12094         * bufferview_funcs.C: layout as string
12095
12096         * bufferparams.C: layout as string
12097
12098         * buffer.C: layout as string
12099
12100         * LyXView.[Ch]: layout as string
12101
12102         * LaTeXFeatures.[Ch]: layout as string
12103
12104         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12105
12106         * BufferView_pimpl.C: change current_layout to string, remove
12107         lyx::layout_type.
12108         (Dispatch):
12109         (smartQuote):
12110         (insertInset):
12111         (workAreaButtonRelease): layout as string
12112
12113         * BufferView2.C (unlockInset): adjust
12114
12115         * vspace.C (asLatexCommand): use an explict temp variable.
12116
12117 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * Makefile.am: use FRONTEND_*
12120
12121 2002-03-01  Juergen Vigna  <jug@sad.it>
12122
12123         * tabular.C (SetWidthOfMulticolCell): changed to something better
12124         I hope but still work in progress.
12125         (recalculateMulticolumnsOfColumn): renamed function from
12126         recalculateMulticolCells as it is more appropriate now.
12127         (SetWidthOfCell): calculate multicols better.
12128
12129 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12130
12131         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12132
12133         * lyxfunc.C (processKeySym): print sequence also if it is
12134         `deleted' (complete)
12135
12136         * kbsequence.C (print): print sequence even if it is deleted
12137         (complete would be a better word, actually).
12138
12139         * lyxfunc.C (dispatch): print complete options after a prefix key
12140
12141         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12142
12143 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12144
12145         * text2.C (setCharFont): eliminate setCharFont code duplication.
12146
12147 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12148
12149         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12150         LFUN_TABULAR_FEATURE (bug #177)
12151
12152 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12153
12154         * Makefile.am: remove figure.h
12155
12156 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12157
12158         * Bufferview_pimpl.C:
12159         * CutAndPasteC:
12160         * LaTeX.C:
12161         * LyXSendto.C:
12162         * buffer.C:
12163         * bufferlist.C:
12164         * converter.C:
12165         * language.C:
12166         * lyxfunc.C:
12167         * lyxvc.C:
12168         * paragraph.C:
12169         * text.C:
12170         * text2.C: remove #include "lyx_gui_misc.h".
12171
12172         * LaTeX.C: added #include <cstdio>
12173
12174 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12175
12176         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12177         that the paragraph following this one can have.
12178
12179         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12180
12181         * vspace.C (asLatexCommand): fix bogus gcc warning
12182
12183         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12184
12185 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12186
12187         * text2.C (setLayout): get rid of redundant code
12188
12189 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12190
12191         * text2.C (incDepth): make sure depth cannot be increased beyond
12192         reasonable values.
12193
12194 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12195
12196         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12197         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12198
12199         * PainterBase.h (image):
12200         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12201         a LyXImage const *.
12202
12203 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * BufferView.C:
12206         * BufferView.h:
12207         * BufferView_pimpl.C:
12208         * BufferView_pimpl.h:
12209         * LaTeXFeatures.C:
12210         * LyXAction.C:
12211         * LyXView.C:
12212         * Makefile.am:
12213         * UpdateList.h:
12214         * UpdateList.C:
12215         * buffer.C:
12216         * figure.h:
12217         * figureForm.C:
12218         * figureForm.h:
12219         * figure_form.C:
12220         * figure_form.h:
12221         * lyx_cb.C:
12222         * lyx_gui.C:
12223         * lyx_gui_misc.C:
12224         * lyxfunc.C:
12225         * sp_base.h:
12226         * sp_ispell.h:
12227         * sp_pspell.h:
12228         * sp_spell.C: remove fig inset, and the crap house of
12229           cards that follows it
12230
12231 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12232
12233         * Makefile.am:
12234         * lyxserver.C:
12235         * os2_defines.h:
12236         * os2_errortable.h:
12237         * nt_defines.h: move .h into support/
12238
12239         * vms_defines.h: remove
12240
12241         * WorkArea.C: add space in debug output
12242
12243         * text2.C:
12244         * paragraph.C:
12245         * buffer.C: add WITH_WARNINGS
12246
12247         * vc-backend.h:
12248         * vc-backend.C:
12249         * bufferlist.C: s/retrive/retrieve/, add docs
12250
12251         * vspace.h:
12252         * vspace.C:
12253         * kbmap.h:
12254         * lyxlength.h:
12255         * lyxgluelength.h:
12256         * length_common.h:
12257         * chset.h:
12258         * chset.C: add docs
12259
12260         * lyxgui.C: add ID to X error handler
12261
12262         * lyxtestclass.c: fix typo
12263
12264 2002-02-26  Juergen Vigna  <jug@sad.it>
12265
12266         * tabular_funcs.C (write_attribute): changed so that some default
12267         attributes are not written at all.
12268         (getTokenValue): set default values before trying to read the
12269         value so we have the return value always set as default if we don't
12270         find the token we search for.
12271
12272         * tabular.C (Write): write bools as bools not as strings!
12273
12274 2002-02-22  Juergen Vigna  <jug@sad.it>
12275
12276         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12277         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12278
12279         * text.C (leftMargin): don't add an indent for paragraphs inside
12280         tabular cells (fix #208).
12281
12282 2002-02-21  José Matos  <jamatos@fep.up.pt>
12283
12284         * tabular.C (docBook): fixed support for long tables.
12285
12286 2002-02-20  Juergen Vigna  <jug@sad.it>
12287
12288         * text2.C (getFont): get the drawing font of the Inset if this
12289         paragraph is inside an inset (only important for InsetERT for now).
12290
12291         * buffer.C (insertErtContents): use new lanugage params in ERT
12292         constructor.
12293
12294         * CutAndPaste.C: commenting out seemingly uneeded code.
12295
12296 2002-02-19  Allan Rae  <rae@lyx.org>
12297
12298         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12299         Iterators might be simple to use but they also get invalidated.
12300         (removeAutoInsets): renamed saved cursor tracking variables and added
12301         some comments to clarify what everything does.
12302
12303 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12304
12305         * Chktex.C:
12306         * LaTeX.C:
12307         * LyXSendto.C:
12308         * converter.C:
12309         * lyx_cb.C:
12310         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12311         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12312
12313         * lyxfunc.C:
12314         * vc-backend.h: remove #include "support/syscall.h"
12315
12316         * LaTeX.C:
12317         * LyXSendto.C:
12318         * converter.C: rearrange #includes in Lars' approved fashion.
12319
12320         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12321         forward declare class Timeout in the header file.
12322
12323         * XFormsView.C: changes due to the above.
12324
12325         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12326         similar to LyXView.
12327
12328         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12329         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12330
12331 2002-02-18  José Matos  <jamatos@fep.up.pt>
12332
12333         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12334         insets contents.
12335
12336 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12337
12338         * a lot of small ws changes
12339         * add a lot of using std::XXX
12340         * use std construcs some places where approp.
12341         * use some exisint stuff from lyxfunctional where approp.
12342         * Make file changes to use partial linking (lets test this now...)
12343
12344 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12345
12346         * Chktex.C:
12347         * buffer.C:
12348         remove #include "support/syscontr.h" as it's redundant. Always has been.
12349
12350         * Chktex.C:
12351         * LaTeX.C:
12352         * LyXSendto.C:
12353         * converter.C:
12354         * lyx_cb.C:
12355         * vc-backend.C:
12356         change Systemcalls::System to Systemcalls::Wait and
12357         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12358         No change of functionality, just reflects the stripped down Systemcalls
12359         class.
12360
12361 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12362
12363         * debug.[Ch]: add a GRAPHICS type to the enum.
12364
12365 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12366
12367         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12368
12369         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12370         there is an inset.
12371
12372 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12375         match the changes below.
12376
12377         * text2.C (toggleInset): if there is not editable inset at cursor
12378         position, try to see if cursor is _inside_ a collapsable inset
12379         and close it.
12380
12381 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12382
12383         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12384         document menu has a nice checkbox
12385
12386 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12387
12388         * lyxlength.C (asLatexString): change PW to output as percent of
12389         \textwidth.
12390
12391         * lengthcommon.C: change '%' to 't%'
12392
12393         * lyxfunc.C (dispatch): a few comments from Martin
12394
12395 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * WorkArea.h:
12398         * WorkArea.C:
12399         * BufferView_pimpl.h:
12400         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12401           the X selection.
12402
12403 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12404
12405         * vspace.C (inPixels): fix compiler warning
12406
12407 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12408
12409         * lyxfunc.C (getStatus): fix status message for disabled commands.
12410
12411 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * BufferView_pimpl.C: fix crash on close buffer
12414         during selection (#227)
12415
12416 2002-01-27  Herbert Voss  <voss@lyx.org>
12417
12418         * buffer.C: link old Figure to new graphic inset
12419
12420 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12421
12422         * FontLoader.C (getFontinfo): Change the latex font names in order
12423         to match the names of type1inst.
12424
12425 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12426
12427         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12428
12429         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12430         (extchanged): ditto
12431         (ext_exist): ditto
12432         (remove_files_with_extension): ditto
12433         (remove_file): ditto
12434         (write): ditto
12435
12436         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12437         document is smaller than the work area height. Do not initialize
12438         static variables to 0.
12439
12440 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12441
12442         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12443
12444         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12445         LFUN_LAYOUT_PARAGRAPHS.
12446
12447         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12448         tabular. It is possible to provide a possible cell, which will
12449         typically be the actcell from the corresponding insettabular
12450
12451         * lyxfunc.C (getStatus): small cleanup; disable
12452         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12453         true
12454
12455 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12458
12459         * paragraph.C (startTeXParParams):
12460         (endTeXParParams): new methods. The LaTeX code to
12461         start/end paragraph formatting
12462         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12463         empty (fixes bug #200)
12464
12465         * vspace.C (inPixels): adapt to the change below
12466         (inPixels): [later] more cleanups (remove unused variables)
12467
12468         * lyxlength.C (inPixels): change to use a width and a height as
12469         parameter.
12470
12471 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12472
12473         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12474         Replaced with \paperwidth
12475
12476         * DepTable.C (insert): add std:: qualifier
12477
12478 2002-01-18  Allan Rae  <rae@lyx.org>
12479
12480         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12481         updated also?
12482
12483         * text.C (drawInset): Turned out I didn't know enough about how
12484         rebreaking worked.  This fixes most of the redraw problems.  I see
12485         an occasional cursor trail when a line is broken now and the cursor
12486         placement can seem out by a few pixels also after a rebreak.
12487
12488 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * buffer.C (parseSingleLyXformat2Token): update because minipage
12491         width is now a LyXLength
12492
12493         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12494
12495         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12496         math insets
12497
12498 2002-01-17  Juergen Vigna  <jug@sad.it>
12499
12500         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12501
12502         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12503         is set correctly and the inset is updated correctly.
12504
12505 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12506
12507         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12508         the beginning of the loop.
12509
12510 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * lyxrc.C: improve help for use_scalable_fonts
12513
12514 2002-01-17  Allan Rae  <rae@lyx.org>
12515
12516         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12517
12518 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12521         make sure to set their inset_owner to the right value (bug #171)
12522
12523 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12524
12525         * DepTable.h
12526         * DepTable.C: Implement mtime checking to reduce time spent doing
12527         CRCs.
12528
12529 2002-01-16  Juergen Vigna  <jug@sad.it>
12530
12531         * tabular.C (GetAdditionalHeight): one of error fixed.
12532
12533         * lyxrc.C (output): small fix in writing use_pspell.
12534
12535 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12536
12537         * sp_base.h: #include LString.h
12538
12539 2002-01-16  Allan Rae  <rae@lyx.org>
12540
12541         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12542         Can someone check this please?
12543
12544         * text.C (drawInset): It was possible that p.row would be removed by
12545         breakAgainOneRow upsetting a few other settings.  There may be another
12546         small tweak possible by setting need_break_row = 0 when p.row has been
12547         removed but I don't know enough about the logic here.
12548
12549 2002-01-15  Allan Rae  <rae@lyx.org>
12550
12551         * text.C (insertChar): removed conditional truism.
12552
12553         * BufferView2.C (removeAutoInsets): More tweaks.
12554         cur_par_prev could be a stray pointer.  Check for trailing empty line
12555         in case last line was cur_par and only had an error inset on it.
12556
12557 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12558
12559         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12560         absolute
12561
12562         * vc-backend.C (most methods):
12563         * exporter.C (Export):
12564         * converter.C (convert):
12565         (runLaTeX):
12566         * LyXSendto.C (SendtoApplyCB):
12567         * lyxfunc.C (dispatch):
12568         (menuNew):
12569         (open):
12570         (doImport):
12571         * lyx_cb.C (AutoSave):
12572         (InsertAsciiFile):
12573         * BufferView_pimpl.C (MenuInsertLyXFile):
12574         * buffer.C (runChktex): use Buffer::filePath().
12575
12576         * buffer.h: rename filename to filename_; rename filepath to
12577         filepath_ and make it private
12578         (filePath): new method
12579
12580         * buffer.C (writeFile): use fileName()
12581         (getLatexName):
12582
12583         * lyx_main.C (init): fix starting  of LyX when the binary is a
12584         link from so,ewhere else.
12585
12586         * minibuffer.C: include <cctype> for isprint
12587
12588 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12589
12590         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12591         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12592         name clash with InsetCollapsable's width function.
12593
12594 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * lastfiles.C: include <iterator>
12597
12598 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12601         std::count.
12602
12603         * buffer.C (makeLaTeXFile): ditto.
12604         Also make loop operation more transparent.
12605
12606 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12607
12608         * ToolbarDefaults.C: remove trailing comma closing namespace.
12609
12610         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12611
12612         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12613         as in WorkArea.
12614
12615         * trans.C (Load): comment out unused variable, allowed.
12616
12617 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12618
12619         * minibuffer.[Ch] (append_char): new method to recieve input from the
12620         drop-down completion browser. If a key was pressed, then recieve this
12621         char and append it to the existing string.
12622         (peek_event): modify the positioning data passed to the completion
12623         browser so that it can be placed above the minibuffer rather than below.
12624 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12625
12626         * LyXAction.C (init): alloe error-next for readonly documents.
12627
12628         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12629         count.
12630
12631 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12632
12633         * bufferlist.C (readFile): create the buffer _after_ checking that
12634         the file exists.
12635
12636         * lyxfunc.C (verboseDispatch): fix handling of arguments
12637
12638         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12639
12640         * lyxrc.C: use string::erase() instead of initializing to "".
12641
12642
12643 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12644
12645         * BufferView_pimpl.h:
12646         * BufferView_pimpl.C:
12647         * WorkArea.h:
12648         * WorkArea.C:
12649         * text2.C: tell X when we have made a selection for copying
12650
12651 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12652
12653         * BufferView_pimpl.C (MenuInsertLyXFile):
12654         * lyxfunc.C (menuNew):
12655         (open):
12656         (doImport): add shortcuts to directory buttons
12657
12658         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12659         open a float)
12660
12661         * lyxfunc.C (setStatusMessage):
12662         (getStatusMessage): new methods
12663         (getStatus):use setStatusMessage instead of setErrorMessage
12664         (dispatch): when function is disabled, set error message here
12665         [instead of in getStatus previously]
12666
12667         * BufferView_pimpl.C (workAreaButtonRelease): update
12668         toolbar/menubar here too.
12669
12670 2002-01-13  Allan Rae  <rae@lyx.org>
12671
12672         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12673         Now seems indestructible.  Remaining task is to audit all other
12674         code affected by deleteEmptyParagraphMechanism.  One small quirk
12675         left is that an empty document with an error in the preamble can
12676         be made to report an error but no error box appears.  I don't know
12677         where it goes.
12678         (removeAutoInsets): Improved comments.
12679
12680 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * Thesaurus.h:
12683         * Thesaurus.C: update for Aiksaurus 0.14
12684
12685 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12686
12687         * text2.C (firstParagraph): removed member function, all uses
12688         replaces with ownerParagraph
12689         (redoParagraphs): here
12690         (updateInset): here
12691         (toggleAppendix): here
12692         * BufferView2.C (insertErrors): here
12693         (setCursorFromRow): here
12694
12695 2002-01-13  Allan Rae  <rae@lyx.org>
12696
12697         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12698         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12699         There is still a way to segfault this although you may have to do this
12700         multiple times: Have an InsetERT with an unknown command in it.
12701         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12702         <down-arrow>, <Enter> again, View->DVI, BANG!
12703
12704         * text2.C (setCursor):
12705         (deleteEmptyParagraphMechanism):
12706         * lyxtext.h (setCursor):
12707         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12708         Making use of the return value may help fix other bugs.
12709
12710 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12711
12712         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12713
12714         * LyXView.C (updateMenubar): call MenuBar::update here
12715         (updateToolbar): but not here
12716         (showState): do not update toolbar/menubar
12717
12718         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12719         should need to care about that.
12720
12721         * lyxfunc.C (verboseDispatch): simplify a bit
12722         (getStatus): have a version which takes a pseudoaction, and
12723         another which requires a (kb_action,string).
12724
12725         * LyXAction.C (retrieveActionArg): make it work also when action
12726         is not a pseudo-action.
12727         (getActionName): simplify a bit
12728         (helpText):
12729
12730 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12731
12732         * lyxfunc.C (verboseDispatch): new families of methods with
12733         several ways to specify a command and a bool to indicate whether
12734         the command name and shortcut should be displayed in minibuffer
12735         (eventually, we could extend that to a finer bitmask like
12736         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12737         (dispatch): the pristine dispatch command which just, well,
12738         dispatchs! Note it still sets its result to minibuffer; I'm not
12739         sure we want that.
12740
12741         * lyxfunc.h: remove setHintMessage
12742
12743         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12744
12745 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12746
12747         * BufferView_pimpl.C (specialChar): delete new inset if we have
12748         not been able to insert it.
12749
12750         * kbmap.C: revert to using int instead of kb_action, since all we
12751         are dealing with is pseudo-actions.
12752
12753         * LyXAction.C (searchActionArg): change to return int instead of
12754         kb_action, since the result is a pseudoaction.
12755
12756 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12757
12758         * buffer.C (insertErtContents): Fix (partially) the font bug.
12759
12760 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12761
12762         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12763         as the other one is broken on my machine!
12764
12765 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12766
12767         * commandtags.h:
12768         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12769
12770 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12771
12772         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12773         reflect their actual use. Provide compatibility code for older lyxrc
12774         files.
12775
12776         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12777         FL_NORMAL_STYLE.
12778         change names of popup font variables in line with the changes to lyxrc.C
12779
12780 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12781
12782         * buffer.C (asciiParagraph): avoid outputing a word twice after
12783         an inset.
12784
12785         * lyxrc.C (getDescription): document that document_path and
12786         template_path can be empty.
12787
12788 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12789
12790         * LaTeXFeatures.C (getMacros):
12791         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12792
12793         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12794
12795         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12796         getPackages.
12797         (getPackages): rename feature "floats" to "float". Use an array to
12798         iterate over 'simple' features (i.e. just a \usepackage). Add
12799         handling of "amsmath" (renamed from "amsstyle").
12800
12801 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12802
12803         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12804         features list.
12805
12806 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12807
12808         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12809         FuncStaus::FuncStatus & FuncStaus::some_method().
12810
12811 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12812
12813         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12814         of the func_satus stuff. Edited and massaged in various ways by
12815         JMarc.
12816
12817         * lyxfunc.C (getStatus): use FuncStatus
12818
12819 2002-01-08  Juergen Vigna  <jug@sad.it>
12820
12821         * text.C (nextBreakPoint): use function Inset::isChar().
12822
12823         * paragraph.C (TeXOnePar): use function
12824         Inset::forceDefaultParagraphs.
12825
12826         * buffer.C (latexParagraphs): use function
12827         Inset::forceDefaultParagraphs.
12828
12829 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12830
12831         * lyx_gui.C (init): set the style of the menu popups to
12832         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12833
12834 2002-01-07  Juergen Vigna  <jug@sad.it>
12835
12836         * text.C (setHeightOfRow): small fix
12837         (prepareToPrint): don't look at alignment if we don't have the place
12838         for doing it.
12839
12840 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12841
12842         * box.C: New file. Move the Box methods and functions out of box.h,
12843         following Lars' suggestion.
12844
12845 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12846
12847         * box.h: #include "support/LOstream.h", needed for inlined function.
12848
12849         * lyxtextclass.C:
12850         * lyxtextclasslist.C: added some using std declarations.
12851
12852 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * box.h: make signed dimensions to allow insets wider than
12855           the screen (bug #162)
12856
12857         * BufferView_pimpl.C: add some insetHit debug
12858
12859 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12860
12861         * vc-backend.C: add FIXME
12862
12863 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12864
12865         * lyxfunc.C (getStatus): enable code for showing math font status
12866         in toolbar/menu.
12867
12868 2002-01-07  Juergen Vigna  <jug@sad.it>
12869
12870         * text.C (nextBreakPoint): removed debug output not needed anymore.
12871
12872 2002-01-06  Juergen Vigna  <jug@sad.it>
12873
12874         * text.C (nextBreakPoint): fixed up this function we had this bug
12875         since ever but now hopefully we break row better.
12876         (insertChar): we have to check if an inset is the next char as it
12877         could now happen that a large inset is causing a break.
12878
12879 2002-01-05  Juergen Vigna  <jug@sad.it>
12880
12881         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12882         if it doesn't like to be drawed.
12883
12884 2002-01-04  Juergen Vigna  <jug@sad.it>
12885
12886         * BufferView2.C (lockInset): forgot to set a cursor.
12887
12888         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12889
12890 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12891
12892         * FormMathsPanel.C:
12893         * FormMathsPanel.h
12894         * MathsSymbols.C:
12895         * form_maths_panel.C:
12896         * form_maths_panel.h:
12897         * form_maths_panel.fd: implemented sub- and super- buttons in math
12898         panel.
12899
12900         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12901         (or ^ space) to be used as in TeX (req'd by André).
12902
12903         * lyxfunc.C: Allow ^ and _ again to be used both as
12904         super/subscript (mathed) and as themselves (in text).
12905
12906 2002-01-03  Allan Rae  <rae@lyx.org>
12907
12908         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12909         "LyX" or the filename of the current buffer if it has one.  This is a
12910         modified form of John Levon's patch.
12911
12912         * XFormsView.C (setWindowTitle): also set icon title.
12913
12914         * LyXView.h (setWindowTitle): signature changed.
12915         * XFormsView.h (setWindowTitle): ditto.
12916
12917 2002-01-02  Juergen Vigna  <jug@sad.it>
12918
12919         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12920
12921 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12922
12923         * screen.C (topCursorVisible): introduce a temp var for
12924         text->cursor.row(), handle the case where this row is null. (kindo
12925         hachish)
12926
12927         * text2.C (setCursor): add a couple of asserts.
12928
12929         * paragraph.h (inset_iterator): add -> operator
12930
12931         * paragraph.[Ch] (autoDeleteInsets): remove member function
12932
12933         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12934         cursor pos correctly and handle inset deletion by itself.
12935         (insertErrors): move iterator declaration out of for expression
12936
12937         * lyxtextclass.C: add <algorithm>
12938
12939         * Makefile.am: added the new files to sources, removed layout.C
12940
12941         * layout.C: removed file
12942
12943         * layout.h: remove LYX_DUMMY_LAYOUT
12944
12945         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12946         layout.
12947
12948         * lyxlayout.[Ch]:
12949         * lyxtextclass.[Ch]:
12950         * lyxtextclasslist.[Ch]: new files
12951
12952         * include order changes to a lot of files, also changes because of
12953         the six new files.
12954
12955 2001-12-27  Juergen Vigna  <jug@sad.it>
12956
12957         * buffer.C (asciiParagraph): more fixes.
12958
12959         * tabular.C (ascii): make ascii export support export of only the
12960         data separated by a column-delimiter.
12961         (ascii): better support for ascii export.
12962
12963         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12964
12965 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12966
12967         * tabular_funcs.C: use a "using std::getline" instead of the
12968         previous fix from Angus (necessary for cxx + lyxstring)
12969
12970 2001-12-24  Juergen Vigna  <jug@sad.it>
12971
12972         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12973
12974         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12975         problems. First check a minipage also if we have some ert-contents
12976         (not only on par->size(), second set the right depth of the paragraph
12977         on the relink to the root-paragraph-list!
12978
12979         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12980         which then did not anymore update the main paragraphs on undo/redo!
12981
12982 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12983
12984         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12985         code. Support all font-changing funcs (even those which are not in
12986         menu currently). Support for reporting font settings in
12987         mathed (disabled until Andre provides a function on mathed's side).
12988
12989         * func_status.h (toggle): small helper function to set toggle
12990         state on a flag.
12991
12992 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12993
12994         * tabular_funcs.C: getline -> std::getline
12995
12996 2001-12-21  Juergen Vigna  <jug@sad.it>
12997
12998         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12999         accessed and could be 0 (I couldn't generate this but it seems
13000         Michael could!).
13001
13002 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13005         * tabular_funcs.h: here and include iosfwd
13006
13007 2001-12-20  Juergen Vigna  <jug@sad.it>
13008
13009         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13010         inside inset but undo_par was.
13011
13012 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13013
13014         * Thesaurus.C: always include <config.h> in sources.
13015
13016         * Painter.h:
13017         * lyxlookup.h:
13018         * box.h: do not include <config.h> in header files
13019
13020         * text.C (paintLastRow): remove unused variable
13021
13022         * text.C (transformChar):
13023         (insertChar):
13024         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13025
13026         * Painter.C (text):
13027         * font.C (width): rewrite to use uppercase() instead of
13028         islower/toupper.
13029
13030         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13031
13032 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * lyxfind.C: clean up of find failure position change
13035
13036 2001-12-20  Juergen Vigna  <jug@sad.it>
13037
13038         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13039
13040         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13041         (TeXRow): added to LaTeX a single tabular row.
13042         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13043         (Latex): simplified and finally good LT-h/f support.
13044         (various_functions): just small adaptions for LT-h/f support.
13045
13046         * tabular_funcs.[hC]: added and moved here all not classfunctions
13047         of LyXTabular.
13048
13049 2001-12-19  Juergen Vigna  <jug@sad.it>
13050
13051         * tabular.[Ch]: better support for longtabular options (not finished
13052         yet!)
13053
13054 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13055
13056         * text.C (paintLastRow): use the label font instead of the font of
13057         the last character to compute the size of *_BOX. This makes more
13058         sense and avoids a crash with empty paragraphs.
13059         Use Painter::rectangle to draw EMPTY_BOX.
13060
13061 2001-12-19  Juergen Vigna  <jug@sad.it>
13062
13063         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13064         the paragraphs if the replaced paragraph is not the first one!
13065         Tried to delete not used paragraphs but does not work yet so for
13066         now it's inside #ifdef's and by default off!
13067
13068 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13069
13070         * MenuBackend.C: include "lyx_main.h" instead of declaring
13071         lastfiles (actually was declared as LastFiles* instead of a
13072         scoped_ptr).
13073
13074 2001-12-17  Juergen Vigna  <jug@sad.it>
13075
13076         * tabular.C (AppendColumn): applied John's fix
13077
13078 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13079
13080         * BufferView.h:
13081         * BufferView.C:
13082         * BufferView_pimpl.h:
13083         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13084
13085         * Makefile.am:
13086         * box.h: new start of class for above
13087
13088         * lyxfunc.C: ignore space-only minibuffer dispatches.
13089           Show the command name when it doesn't exist
13090
13091         * minibuffer.C: don't add empty lines to the history
13092
13093         * minibuffer.C: add a space on dropdown completion
13094
13095 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * text.C: fix line above/below drawing in insets
13098
13099 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * lyxlength.C (LyXLength): Initialize private variables.
13102
13103 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13104
13105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13106         when inserting error insets.
13107
13108 2001-12-13  Juergen Vigna  <jug@sad.it>
13109
13110         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13111         actually sometimes the before-paragraph.
13112         (setUndo): don't clear the redostack if we're not actually undoing!
13113
13114 2001-12-06  Juergen Vigna  <jug@sad.it>
13115
13116         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13117         and fixed redoing of main paragraph, so we can use it now ;)
13118
13119         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13120
13121 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13122
13123         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13124         Juergen's request
13125
13126 2001-12-13  André Pönitz <poenitz@gmx.net>
13127
13128         * undostack.[Ch]:
13129         * undo_func.C: minor cleanup
13130
13131 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13132
13133         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13134         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13135         font in urw-fonts package which is marked as -urw-fontspecific and
13136         does not work (incidentally, changing the encoding in the
13137         fonts.dir of this package to -adobe-fontspecific fixes the
13138         problem).
13139
13140         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13141         is a crash when undoing first paragraph (Juergen, please take a
13142         look). THis does not mean the undo fix is wrong, just that it
13143         uncovers problems.
13144
13145         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13146         the (Paragraph*) version when needed instead of duplicating the
13147         code.
13148
13149         * text.C (workWidth): use Inset::parOwner to find out where the
13150         inset has been inserted. This is a huge performance gain for large
13151         documents with lots of insets. If Inset::parOwner is not set, fall
13152         back on the brute force method
13153
13154         * paragraph_pimpl.C (insertInset):
13155         * paragraph.C (Paragraph):
13156         (cutIntoMinibuffer): set parOwner of insets when
13157         inserting/removing them
13158
13159         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13160
13161 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13162
13163         * commandtags.h:
13164         * LyXAction.C:
13165         * lyx_main.C:
13166         * lyxfunc.C:
13167         * mathed/formulabase.C:
13168         * mathed/math_cursor.[Ch]:
13169         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13170
13171
13172 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * lyxlength.[Ch] (operator!=): new function
13175
13176 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13177
13178         * text.C (workWidth): use Inset::parOwner to find out where the
13179         inset has been inserted. This is a huge performance gain for large
13180         documents with lots of insets. If Inset::parOwner is not set, fall
13181         back on the brute force method
13182
13183         * paragraph_pimpl.C (insertInset):
13184         * paragraph.C (Paragraph):
13185         (cutIntoMinibuffer): set parOwner of insets when
13186         inserting/removing them
13187
13188         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13189
13190 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13191
13192         * tabular-old.C (getTokenValue):
13193         * tabular.C (getTokenValue):
13194         (write_attribute): new versions for LyXLength
13195         (everywhere): adjust the use of widths
13196
13197         * tabular.h: change the type of widths from string to LyXLength
13198
13199 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13200
13201         * paragraph.C: fixed missing line number count when exporting
13202         Environments to LaTeX file
13203
13204         * buffer.C: added informational message for checking line numbers.
13205
13206 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13207
13208         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13209         paragraph, do the 'double space' part, but not the 'empty
13210         paragraph' one.
13211
13212         * text.C (workWidth): small optimization
13213         (getLengthMarkerHeight): use minimal size for negative lengths.
13214
13215 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13216
13217         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13218
13219         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13220
13221 2001-12-11  André Pönitz <poenitz@gmx.net>
13222
13223         * FontLoader.C:
13224         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13225
13226 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13227
13228         * text2.C: keep selection on a setFont()
13229
13230 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * lyx_cb.C: another bv->text misuse, from insert label
13233
13234 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * kbsequence.h:
13237         * kbsequence.C: re-instate nmodifier mask
13238
13239 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * lyx_main.h: make lyxGUI private.
13242
13243 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * lyxfind.C: place the cursor correctly on failed search
13246
13247 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13248
13249         * text.C (getLengthMarkerHeight): for small heights, the arrows
13250         are not always on top/bottom of the text
13251         (drawLengthMarker): smaller arrows; take the left margin in
13252         account; draw also vfills.
13253         (paintFirstRow):
13254         (paintLastRow): remove special code for vfill and standard spaces,
13255         since everything is handled in drawLengthMarker now.
13256
13257 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13258
13259         * buffer.C (insertErtContents): try to handle font and language
13260         interaction a bit better.g
13261
13262         * ColorHandler.C (updateColor): change the hash to cover the whole
13263         LColor enum, ws cleanup
13264         (getGCLinepars): ditto
13265         (getGCLinepars): only lookup in the linecache once.
13266
13267 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * iterators.C (operator++): Make the iterator more robust
13270
13271         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13272         (John's patch)
13273         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13274
13275 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13276
13277         * lyxtext.h:
13278         * text.C: better added space drawing
13279
13280 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * LyXView.C:
13283         * BufferView2.C: fix layout combo update on inset unlock
13284
13285 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13286
13287         * Makefile.am: don't compile unused files
13288
13289 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * lyxfunc.C:
13292         * commandtags.h:
13293         * LyXAction.C: remove old LFUN_LAYOUTNO
13294
13295 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13296
13297         * paragraph_pimpl.h:
13298         * paragraph_pimpl.C: isTextAt() doesn't need font param
13299
13300 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * lyxlex.h:
13303         * lyxlex.C: little cleanup
13304
13305 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13306
13307         * BufferView_pimpl.C: fix insertAscii for insets
13308
13309 2001-12-05  Juergen Vigna  <jug@sad.it>
13310
13311         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13312         set the right font on the "multi" paragraph paste!
13313
13314 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13315
13316         * trans_decl.h:
13317         * trans_mgr.[Ch]:
13318         * trans.[Ch]:
13319         * lyxgluelength.C:
13320         * lyxlength.C: remove out-commented code.
13321
13322         * BufferView_pimpl:
13323         * CutAndPaste.C:
13324         * DepTable.C:
13325         * buffer.C:
13326         * chset.C:
13327         * lastfiles.C:
13328         * lyxlex.C:
13329         * lyxlex_pimpl.C:
13330         * lyxserver.C:
13331         * screen.C:
13332         * tabular-old.C:
13333         * tabular.C:
13334         * text.C:
13335         * trans_mgr.C:
13336         * vc-backend.C: change "while(" to "while ("
13337
13338         * lyxlength.[Ch]: add zero function to check if length is zero or
13339         not
13340         * lyxgluelength.C: use it
13341
13342 2001-12-05  Allan Rae  <rae@lyx.org>
13343
13344         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13345         Works for 2.95.3, from what I understand of Garst's reports this should
13346         work for other g++ versions.  We're screwed if the abs(int) definition
13347         changed between bugfix releases of gcc.
13348
13349 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * text.C: fix chapter label offset !
13352
13353 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13354
13355         * lyxtext.h:
13356         * text.C: fix hfill at end of line, clean up
13357
13358 2001-12-04  Juergen Vigna  <jug@sad.it>
13359
13360         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13361         that we force an update of the inset and it's owners if neccessary.
13362
13363 2001-12-03  Juergen Vigna  <jug@sad.it>
13364
13365         * text.C (rowLast): simplified code
13366
13367 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13368
13369         * lyxfunc.C: fix show options on timeout
13370
13371 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * screen.C (topCursorVisible): scroll half a page when the cursor
13374         reached top of bottom of screen
13375
13376 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13377
13378         * minibuffer.C: deactivate on loss of focus
13379
13380 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * vspace.[Ch] (operator!=): add operator.
13383
13384 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13385
13386         * BufferView_pimpl.C: refuse to open an inset when
13387         there's a selection.
13388
13389 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13390
13391         * BufferView_pimpl.C: allow to click on RHS of full row insets
13392
13393 2001-11-30  Juergen Vigna  <jug@sad.it>
13394
13395         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13396         insets for undo reasons.
13397
13398 2001-11-28  André Pönitz <poenitz@gmx.net>
13399
13400         * vspace.[Ch]: cosmetical changes
13401
13402 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * LyXAction.h:
13405         * LyXAction.C:
13406         * lyxfunc.h:
13407         * lyxfunc.C:
13408         * kbmap.h:
13409         * kbmap.C:
13410         * lyxrc.C:
13411         * kbsequence.h:
13412         * kbsequence.C: part re-write of old kb code
13413
13414         * Painter.C:
13415         * WorkArea.C: remove Lgb_bug_find_hack
13416
13417 2001-11-30  José Matos <jamatos@fep.up.pt>
13418
13419         * buffer.C (makeDocBookFile): add a comment to point a hack.
13420         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13421         Fixed a double write of labels.
13422
13423 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13424
13425         * LaTeX.C:
13426         * LaTeX.h Fixed bug in LaTeX class where it would not
13427         re-run latex if no depfiles were changed, but the .dvi was removed.
13428
13429 2001-11-28  André Pönitz <poenitz@gmx.net>
13430
13431         * all the files from the change on 2001/11/26:
13432         use lyx::layout_type instead of LyXTextClass::size_type
13433         use lyx::textclass_type instead of LyXTextClassList::size_type
13434
13435 2001-11-29  Juergen Vigna  <jug@sad.it>
13436
13437         * text.C: added support for paragraph::isFreeSpacing()
13438
13439         * buffer.C: same as above
13440
13441         * paragraph.h: inserted isFreeSpacing() function to enable
13442         FreeSpacing inside InsetERT.
13443
13444         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13445         of the paragraph's in the cut/copy buffer to 0!
13446
13447         * text2.C (removeRow): remove the assert as it can!
13448
13449         * lyxtext.h: added helper function firstRow returning firstrow and
13450         made firstrow private again.
13451
13452         * BufferView2.C (lockInset): don't relock if we're already locked!
13453
13454         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13455         the only paragraph.
13456         (removeRow): added Assert::(firstrow)
13457
13458         * debug.C: forgot to add INSETTEXT here.
13459
13460 2001-11-28  Juergen Vigna  <jug@sad.it>
13461
13462         * sp_spell.C (initialize): changed error text to more general
13463         spellchecker command use (not only ispell!)
13464
13465         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13466
13467         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13468
13469 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13470
13471         * vspace.C: initialise lyxgluelength on failure
13472
13473 2001-11-28  Allan Rae  <rae@lyx.org>
13474
13475         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13476         declaration & definition that looks like a function declaration.
13477
13478 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13479
13480         * BufferView2.C (copy):
13481         (copyEnvironment): do not clear the selection when doing a copy.
13482
13483         * text.C (paintFirstRow): compilation fix
13484
13485 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13486
13487         * tabular.C (Latex): correct line count when writing latex.
13488
13489 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * paragraph_pimpl.h:
13492         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13493           bug a bit
13494
13495 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13496
13497         * text.C:
13498         * LColor.h:
13499         * LColor.C: change vfillline->added_space
13500
13501         * text.C: add markers and text for added space
13502
13503         * vspace.C: fix comment
13504
13505 2001-11-28  André Pönitz <poenitz@gmx.net>
13506
13507         * paragraph.C: whitespace changes
13508         * all the other files from the change on 2001/11/26:
13509         change *::pos_type into lyx::pos_type
13510
13511 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13512
13513         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13514         language of the document when inserting error insets.
13515
13516 2001-11-26  André Pönitz <poenitz@gmx.net>
13517
13518         * BufferView_pimpl.[Ch]:
13519         *       CutAndPaste.C:
13520         * buffer.[Ch]:
13521         * lyxcursor.[Ch]:
13522         * lyxfind.C:
13523         * lyxfunc.C:
13524         * lyxrow.[Ch]:
13525         * paragraph.[Ch]:
13526         * paragraph_pimpl.[Ch]:
13527         * sp_spell.C:
13528         * text.C:
13529         * text2.C: reduce header dependencies, introduce type for positions
13530
13531 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13532
13533         * <various>: change to use Alert.h
13534
13535 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13536
13537         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13538         when encountering an unknown token.
13539         (readLyXformat2): Show an error message if there were unknown tokens.
13540
13541 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * BufferView2.C:
13544         * BufferView_pimpl.C:
13545         * buffer.C:
13546         * paragraph.h:
13547         * text.C:
13548         * text2.C: use par->isInset()
13549
13550 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13551
13552         * paragraph_pimpl.h:
13553         * paragraph_pimpl.C: cleanup
13554
13555 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * text2.C (removeRow):
13558         * text.C (setHeightOfRow): remove useless (and costly) call to
13559         getRow.
13560
13561 2001-11-20  Allan Rae  <rae@lyx.org>
13562
13563         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13564         Now need Inset*::checkInsertChar() to return true for appropriate
13565         cases so that the characters in the minibuffer will actually be
13566         inserted.
13567
13568 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * text.C: change the order of the includes.
13571         (workWidth): initialize it at once.
13572         (workWidth): make maxw unsigned
13573         (setHeightOfRow): remove unused variable (inset)
13574         (selectSelectedWord): remove unused variable (inset)
13575         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13576
13577 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13578
13579         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13580         server is not running.
13581         (openConnection):
13582         (closeConnection): add debug info when server is disabled.
13583
13584         * ColorHandler.C (getGCForeground): send debug message to GUI
13585         channel.
13586
13587         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13588
13589         * kbmap.C (bind): modify because return conventions of
13590         kb_sequence::parse have changed.
13591
13592         * kbsequence.C (parse): only ignore spaces and not any stupid
13593         control character. This avoids tests like s[i] <= ' ', which are
13594         guaranteed to fail with 8bit characters and signed chars.
13595         Change return code to string::npos when there have been no error
13596         (0 was a bad idea when error is at first character)
13597
13598 2001-11-14  José Matos  <jamatos@fep.up.pt>
13599
13600         * buffer.h:
13601         * buffer.C (simpleDocBookOnePar): removed unused argument.
13602
13603 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13604
13605         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13606         insets which are part of a word. Paragraph::isLetter takes care of
13607         that now. Use Paragraph::isInset to identify insets.
13608         (selectSelectedWord): do not test for hyphenation break.
13609
13610         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13611         that protected spaces are considered as spaces.
13612
13613         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13614         Inset::isLetter.
13615
13616 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * lyxserver.h:
13619         * lyxserver.C: fix it. and small cleanup.
13620
13621 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13622
13623         * BufferView_pimpl.C: use inline helpers
13624
13625         * LaTeXFeatures.h:
13626         * LaTeXFeatures.C: fix typos
13627
13628         * Spacing.h:
13629         * Spacing.C: move spacing_string into class
13630
13631         * ToolbarDefaults.C: move stuff into namespace anon
13632
13633         * layout.h: update enum
13634
13635         * lyxfunc.C: use better debug
13636
13637         * minibuffer.h: fix typo
13638
13639         * debug.h:
13640         * debug.C:
13641         * WorkArea.C: add and use Debug::WORKAREA
13642
13643         * lyxtext.h:
13644         * text.C:
13645         * text2.C: code re-organisation, inline helpers
13646
13647 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13648
13649         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13650         std::vector.empty().
13651
13652 2001-11-09  Allan Rae  <rae@lyx.org>
13653
13654         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13655         '\n's after tables.  Tabular and ERT inset work now makes this no
13656         longer necessary.
13657
13658 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13659
13660         * minibuffer.h:
13661         * minibuffer.C: fix crash, improve drop-down completion
13662
13663 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13664
13665         * lyxserver.h:
13666         * lyxserver.C: invalidate fd's when doing endPipe()
13667
13668 2001-11-08  José Matos  <jamatos@fep.up.pt>
13669
13670         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13671         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13672
13673         * paragraph.h:
13674         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13675
13676 2001-11-07  José Matos  <jamatos@fep.up.pt>
13677
13678         * buffer.h:
13679         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13680         const qualifier.
13681
13682         * buffer.C (sgmlOpenTag):
13683         * buffer.C (sgmlCloseTag): removed debug info.
13684
13685         * buffer.h (sgmlOpenTag):
13686         * buffer.h (sgmlCloseTag): made public.
13687
13688 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * buffer.C (saveParamsAsDefaults):
13691         * lyx_cb.C (MenuLayoutSave): remove
13692
13693         * LyXAction.C (init):
13694         * commandtags.h:
13695         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13696
13697 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13698
13699         * buffer.C (setPaperStuff): removed from here...
13700
13701         * bufferparams.C (setPaperStuff): ... and moved there.
13702
13703 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13704
13705         * minibuffer.h:
13706         * minibuffer.C:
13707         * XFormsView.C: add support for drop-down completion
13708
13709 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13712         commands.
13713
13714 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13717         disabled.
13718
13719 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13720
13721         * lyx_main.C: change ref to known bugs
13722
13723 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13724
13725         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13726         to work around older babel problems.
13727
13728 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13729
13730         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13731
13732 2001-10-24  Juergen Vigna  <jug@sad.it>
13733
13734         * tabular-old.C (ReadOld): below variable changes reflected.
13735
13736         * tabular.[Ch]: added ltType struct for longtable header/footer
13737         defines and changed all instances where they are used. Added
13738         future support for double top/bottom rows.
13739
13740 2001-10-24  José Matos  <jamatos@fep.up.pt>
13741
13742         * buffer.h (docbookHandleCaption):
13743         * buffer.C (docbookHandleCaption): removed unused function.
13744         (makeDocBookFile): moved docbook supported version to v4.1.
13745
13746 2001-10-24  José Matos  <jamatos@fep.up.pt>
13747
13748         * tabular.h:
13749         * tabular.C (docbookRow): new function to export docbook code of a row.
13750         (DocBook): now honors the longtable flags.
13751
13752 2001-10-23  José Matos  <jamatos@fep.up.pt>
13753
13754         * LaTeXFeatures.h:
13755         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13756         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13757
13758         * buffer.C (makeLinuxDocFile):
13759         (makeDocBookFile): reworked the preamble, more clean, and with
13760         support for lyx defined entities. Changed the document declaration
13761         to be more XML friendly.
13762
13763         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13764         if we need to output XML that should be done with a filter.
13765
13766 2001-10-22  Juergen Vigna  <jug@sad.it>
13767
13768         * sp_pspell.h (class PSpell): add alive function needed in the
13769         controller to see if the spellchecker could be started.
13770
13771 2001-10-22  Juergen Vigna  <jug@sad.it>
13772
13773         * buffer.C (insertStringAsLines): modify the font for inserting
13774         chars in certain conditions by calling checkInsertChar(font).
13775
13776 2001-10-19  Juergen Vigna  <jug@sad.it>
13777
13778         * text.C (workWidth): use getRow instead of wrong algorithm.
13779         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13780
13781 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * lyxserver.h:
13784         * lyxserver.C:
13785         * lyx_main.h:
13786         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13787
13788 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * text.C (workWidth): do not search for the exact row when
13791         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13792         optimization for big documents.
13793
13794 2001-10-18  Juergen Vigna  <jug@sad.it>
13795
13796         * text.C (workWidth): new function with added Inset * parameter.
13797
13798 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13799
13800         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13801
13802         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13803         change return type of getColumnNearX.
13804
13805
13806         * text.C (changeRegionCase): use uppercase/lowercase instead of
13807         toupper/tolower.
13808         (leftMargin):
13809         (rightMargin): simplify code by factoring out the uses of
13810         textclasslist.
13811         (labelFill):
13812         (numberOfHfills):
13813         (setHeightOfRow):
13814         (appendParagraph): use Paragraph::size_type
13815
13816 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13817
13818         * vspace.C (asLatexString): add a missing break
13819
13820 2001-10-15  Herbert Voss  <voss@perce.de>
13821
13822         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13823
13824 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13825
13826         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13827         is not available.
13828
13829 2001-10-10  André Pönitz <poenitz@gmx.net>
13830
13831         * lyxfunc.C: removed greek_kb_flag.
13832
13833 2001-10-10  Herbert Voss  <voss@perce.de>
13834
13835         * lyx_main.C: delete global string help_lyxdir.
13836
13837 2001-10-09  Herbert Voss  <voss@perce.de>
13838
13839         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13840
13841         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13842
13843         * lyx_main.C: added global string help_lyxdir.
13844
13845         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13846
13847 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13848
13849         * lyxrc.C (set_font_norm_type): support iso8859-4
13850
13851 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13852
13853         * LaTeX.C (deplog): add another regex for MikTeX
13854
13855 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13856
13857         * lyxrc.C (set_font_norm_type): support iso8859-3
13858
13859 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13862
13863         * LaTeXFeatures.C: remove special case of french and index
13864
13865         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13866         before \begin{document}). This solves several incompatibilities.
13867
13868 2001-10-03  Garst Reese  <reese@isn.net>
13869
13870         * lyx_cb.C: change CheckTex error msg.
13871
13872 2001-10-03  José Matos  <jamatos@fep.up.pt>
13873
13874         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13875
13876 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * .cvsignore: update
13879
13880         * lyx_main.C (commandLineVersionInfo): use new style version info.
13881
13882         * buffer.C (writeFile):
13883         (makeLaTeXFile):
13884         (makeLinuxDocFile):
13885         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13886
13887         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13888
13889         * version.h: update to use stuff in version.C
13890
13891         * version.C.in: new file. Contains version information determined
13892         at compile time. This is a merging of version.h and
13893         version_info.h.in.
13894
13895 2001-10-03  Juergen Vigna  <jug@sad.it>
13896
13897         * BufferView_pimpl.C (update): don't change "dirty" status in
13898         updateInset call.
13899
13900 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13901
13902         * WorkArea.C (c-tor): re-position version string slightly.
13903
13904 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13905
13906         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13907         revert to previous code.
13908
13909         WorkArea.[Ch]: (show, destroySplash): methods removed.
13910
13911         WorkArea.C: rework code so that it's an amalgam of the codes before and
13912         after the splash screen was moved to WorkArea.
13913
13914 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13915
13916         * lyxrc.C (read):
13917         * vspace.C (inPixels):
13918         (lyx_advance):
13919         * kbmap.C (bind):
13920         * buffer.C (insertStringAsLines):
13921         (asciiParagraph): fix types to be large enough
13922
13923         * lyxlex_pimpl.h: change member status from short to int
13924
13925         * layout.h: fix type of endlabeltype
13926
13927         * kbmap.C (bind):
13928         * kbsequence.C (parse): change return type to string::size_type
13929
13930         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13931         variable
13932
13933         * Bullet.C (bulletSize):
13934         (bulletEntry): do not use short ints as parameters
13935
13936         * BufferView2.C (insertLyXFile): change a char to an int.
13937
13938         * WorkArea.C (WorkArea): remove unneeded floats in computation
13939
13940 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13941
13942         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13943
13944         * paragraph.C (asString): Do not ignore newline/hfill chars when
13945         copying to the clipboard.
13946
13947 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13948
13949         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13950         after a multi-line inset.
13951
13952 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13953
13954         * paragraph.C (validate): Set NeedLyXFootnoteCode
13955
13956 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13957
13958         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13959         and decrease-error to decrease.
13960
13961 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13962
13963         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13964         it more readable (should be equivalent)
13965
13966 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13967
13968         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13969
13970 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13971
13972         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13973         of a cursor (row, etc.) after a character has been deleted
13974         (deleteEmptyParagraphMechanism): call the method above on _all_
13975         cursors held by the LyXText when a double space has been
13976         detected/deleted.
13977
13978 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13979
13980         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13981         pixmap.
13982         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13983
13984         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13985         background. Use greyOut() and the new show() methods to toggle between
13986         the foreground and background. Add code to remove the splash after
13987         its initial showing.
13988
13989         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13990         (create_forms): no longer call Dialogs::showSplash.
13991
13992 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13993
13994         * .cvsignore: add version_info.h
13995
13996 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13997
13998         * version_info.h.in: new file
13999
14000         * Makefile.am: add version_info.h.in
14001
14002         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14003         version_info.h instead of VERSION_INFO
14004
14005 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14006
14007         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14008         The ERT inset now returns string().
14009
14010 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14011
14012         * lyxtext.h, text.C (selectNextWord): renamed as
14013         selectNextWordToSpellcheck.
14014
14015         * text.C (selectNextWordToSpellcheck): Modified to not select
14016         words inside an ERT inset.
14017
14018 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14019
14020         * lyx_cb.C (MenuLayoutSave): change a bit the question
14021
14022         * sp_base.h: include <sys/types.h>
14023
14024 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14025
14026         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14027
14028 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14029
14030         * several files: fix typos in user-visible strings
14031
14032 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * text2.C (pasteSelection): do not set the selection, since it
14035         will be cleared later. Actually, the intent was to fix the way the
14036         selection was set, but I figured rmoving the code was just as good.
14037
14038 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14039
14040         * FontLoader.C (available): Check if font is available without
14041         loading the font.
14042
14043 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14044
14045         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14046
14047 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * lyxrc.[Ch]: added display_graphics variable and associated code.
14050
14051 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14052
14053         * bufferparams.C (hasClassDefaults): new method. Returns true if
14054         the buffer parameters correspond to known class defaults
14055
14056 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14057
14058         * XFormsView.C (show): set minimum size to the main window.
14059
14060 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * text2.C (copySelection):
14063         (cutSelection):
14064         * lyxfind.C (LyXReplace):
14065         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14066         LyXText::selectionAsString.
14067
14068         * paragraph.C (asString): add "label" argument to the second form
14069
14070         * text2.C (selectionAsString): add "label" argument and pass it to
14071         Paragraph::asString.
14072
14073 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14074
14075         * lyx_main.C (commandLineHelp): remove version information
14076
14077 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14078
14079         * lyx_main.C: add -version commandline option
14080
14081 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14082
14083         * paragraph.h: make the optional constructor arg required instead.
14084         some modifications to other files because of this.
14085
14086         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14087
14088         * lyxserver.C (C_LyXComm_callback): make it static
14089
14090         * lyx_main.C (error_handler): make it static
14091
14092         * lyx_gui.C (LyX_XErrHandler): make it static
14093
14094         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14095
14096         * WorkArea.C: make the extern "C" methods static.
14097
14098         * Makefile.am (lyx_LDADD): simplify
14099
14100 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14101
14102         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14103         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14104
14105         * LyXAction.C (init):
14106         * lyxfunc.C (dispatch): associated code removal.
14107
14108 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * lyxfont.h (isSymbolFont): shut off warning
14111
14112         * text.C (setHeightOfRow):
14113         (getVisibleRow): fix crash with empty paragraphs which have a
14114         bottom line
14115
14116 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14117
14118         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14119         code.
14120
14121 2001-09-04  José Matos  <jamatos@fep.up.pt>
14122         * buffer.C
14123         * buffer.h
14124         * tabular.C (docbook): rename docBook method to docbook.
14125
14126 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14127
14128         * Makefile.am: add dependencies to main.o.
14129
14130 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * FontLoader.C (available): Return false if !lyxrc.use_gui
14133
14134 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14135
14136         * FontInfo.C (query):
14137         * converter.C (view):
14138         * importer.C (Import):
14139         * exporter.C (Export): Can not -> cannot.
14140
14141 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * BufferView_pimpl.C: allow to create index inset even if
14144           string is empty
14145
14146 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14147
14148         * buffer.C (getLists): replace boost::tie code with an explicit pair
14149         as boost::tie can break some compilers.
14150
14151         * iterators.h: Added a std:: declaration to the return type of
14152         ParIterator::size.
14153
14154 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14157           case.
14158
14159 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14160
14161         * iterators.[Ch]: New files. Provide paragraph iterators.
14162
14163         * buffer.C (changeLanguage): Use paragraph iterators.
14164         (isMultiLingual): ditto
14165
14166         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14167
14168 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14169
14170         * FontLoader.C: Support for cmr font.
14171
14172 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14173
14174         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14175         (available): New method.
14176
14177         * FontInfo.C (getFontname): Use scalable fonts even when
14178         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14179         found.
14180
14181 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14182
14183         * converter.C (Formats::view): reverted! Incorrect fix.
14184
14185 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * converter.C (Formats::view): only output the -paper option
14188         if the dvi viewer is xdvi, thereby fixing bug #233429.
14189
14190 2001-08-23  Herbert Voss  <voss@perce>
14191
14192         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14193
14194 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14195
14196         * Spacing.h (Spacing): Set space to Default on in the default
14197         constructor.
14198
14199 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14200
14201         * vc-backend.h (RCS::versionString): add RCS to version
14202         (CVS::versionString): add CVS to version
14203
14204         * vc-backend.C (scanMaster): do not add CVS to version.
14205         (scanMaster): do not add RCS to version
14206
14207         * lyxvc.C (versionString): new method
14208
14209         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14210
14211 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14212
14213         * Spacing.C (set): initialize fval
14214
14215 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14216
14217         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14218         " or \.
14219
14220 2001-08-16  Juergen Vigna  <jug@sad.it>
14221
14222         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14223
14224 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * BufferView_pimpl.C:
14227         * figureForm.C:
14228         * lyxtext.h:
14229         * text2.C: setParagraph takes linespacing now
14230
14231 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * LyxAction.C: add internal LFUN_CITATION_INSERT
14234
14235         * LyXView.C: actually apply fix
14236
14237         * bufferlist.C: fix open non-existent file
14238
14239         * lyxfind.C: fix indentation
14240
14241         * lyxfunc.C: remove unneeded assert, fix typo
14242
14243 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14244
14245         * MenuBackend.C: use "Floatname List"
14246
14247 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14250         when converting LaTeX layout to insetERT.
14251         Generate a non-collapsed float when reading old float
14252
14253 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14254
14255         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14256         ERT insets.
14257
14258 2001-08-13  Juergen Vigna  <jug@sad.it>
14259
14260         * text.C (fill): return 0 instead of 20 as this seems to be the more
14261         correct value.
14262
14263 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14264
14265         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14266         lyxrc.font_norm.
14267
14268 2001-08-13  Juergen Vigna  <jug@sad.it>
14269
14270         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14271         casesensitive off.
14272         (SearchBackward): comment out the unlocking of the inset_owner this
14273         should not be needed!
14274
14275 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * Many files: Remove inherit_language, and add latex_language
14278
14279         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14280         collapsible insets.
14281
14282 2001-08-10  Juergen Vigna  <jug@sad.it>
14283
14284         * text.C (prepareToPrint): fixed hfill-width in draw!
14285
14286         * BufferView2.C (selectLastWord): save the selection cursor as this
14287         now is cleared in the function LyXText::clearSelection!
14288
14289 2001-08-08  Juergen Vigna  <jug@sad.it>
14290
14291         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14292         BACKSPACE type functions.
14293
14294         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14295         is only cutted from the document but not put in the cut-buffer, where
14296         still the old stuff should be.
14297
14298         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14299
14300         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14301
14302         * tabular.C (SetWidthOfCell): fixed special case where the width
14303         was not updated!
14304         (LeftLine): handle '|' in align_special.
14305         (RightLine): ditto
14306         (LeftAlreadyDrawed): ditto
14307         (SetWidthOfCell): ditto
14308
14309 2001-08-07  Juergen Vigna  <jug@sad.it>
14310
14311         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14312
14313 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14314
14315         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14316         * lyxlex.[hC]: ditto
14317
14318 2001-08-06  Juergen Vigna  <jug@sad.it>
14319
14320         * text.C (getVisibleRow): fix up row clearing a bit.
14321
14322 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * minibuffer.C: make sure the X server sees the changes in the input.
14325
14326 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14327
14328         * paragraph.C (getFont): split into...
14329         (getLabelFont): this
14330         (getLayoutFont): and this
14331         * paragraph_pimpl.C (realizeFont): calling this
14332
14333         * text2.C (getFont): split into...
14334         (getLayoutFont): this
14335         (getLabelFont): and this
14336         (realizeFont): all three calling this
14337
14338         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14339         files where used.
14340
14341 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14344
14345 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14346
14347         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14348         layouts from the Quote inset insertion.
14349
14350 2001-08-03  Juergen Vigna  <jug@sad.it>
14351
14352         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14353
14354         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14355         only if status not is already CHANGED_IN_DRAW (second level).
14356
14357         * text.C (draw): don't set the need_break_row when inside an
14358         InsetText LyXText.
14359
14360 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14361
14362         * buffer.C (parseSingleLyXformat2Token): handle more latex
14363         conversion cases.
14364
14365         * bufferview_funcs.[hC]: change function names to
14366         begin with small char, adjust other files.
14367
14368 2001-08-02  André Pönitz <poenitz@gmx.net>
14369
14370         * lyxfunc.C:
14371         BufferView_pimpl.C: remove broken special code for math-greek
14372
14373 2001-08-02  Juergen Vigna  <jug@sad.it>
14374
14375         * BufferView_pimpl.C (update): redone this function so that we
14376         update the text again if there was a CHANGE_IN_DRAW.
14377
14378         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14379         (drawFromTo): added a new internal bool which is used by draw() and
14380         redraw() function.
14381         (general): some cursor drawing problems fixed.
14382
14383 2001-08-01  Juergen Vigna  <jug@sad.it>
14384
14385         * lyxfind.C (LyXFind): fixed
14386         (SearchForward): ditto
14387         (SearchBackward): ditto
14388
14389         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14390         spurius drawing of the cursor in the main area.
14391
14392         * text2.C (status): small fix which could lead to a segfault!
14393         (clearSelection): remove unneeded BufferView param.
14394
14395 2001-08-01  André Pönitz <poenitz@gmx.net>
14396
14397         * lyxfunc.C: small change due to changed mathed interface
14398
14399 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14400
14401         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14402
14403 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14404
14405         * lyxfunc.c: fail gracefully if file doesn't exist
14406
14407         * LyXSendto.C:
14408         * buffer.C:
14409         * lyxfunc.C:
14410         * BufferView_pimpl.C: IsDirWriteable() proto changed
14411
14412         * LyXView.C: fix updateWindowTitle() to store the last title
14413
14414 2001-07-31  Juergen Vigna  <jug@sad.it>
14415
14416         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14417         the font (wrong since using of Paragraph::highestFontInRange).
14418
14419         * paragraph.C (highestFontInRange): added a default_size parameter.
14420
14421         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14422         (setHeightOfRow): reformat
14423
14424 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14425
14426         * converter.[hC] + affected files: move to (inital-char)lowercase
14427         function names.
14428
14429         * ParagraphParameters.C (ParagraphParameters): remove commented code
14430
14431         * PainterBase.[Ch]: remove commented code
14432
14433         * LaTeXFeatures.h: add "bool floats" for float.sty
14434
14435         * LaTeXFeatures.C (LaTeXFeatures): init floats
14436         (require): handle float
14437         (getPackages): do it with floats
14438
14439 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14440
14441         * BufferView_pimpl.C (Dispatch): improve handling of
14442         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14443
14444         * commandtags.h: #include lyxfont.h here temporarily to avoid
14445         keybinding bug.
14446
14447         * bufferlist.h: include LString.h here.
14448
14449 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * text2.C (getStringToIndex): new method.
14452
14453 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14454
14455         * *: Reduced header file dependencies all over.
14456
14457 2001-07-30  Baruch Even  <baruch@lyx.org>
14458
14459         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14460
14461 2001-07-29  Baruch Even  <baruch@lyx.org>
14462
14463         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14464
14465 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14466
14467         * ParameterStruct.h (endif): add a default constructor to make
14468         sure that all variables is initialized.
14469
14470         * ParagraphParameters.C (ParagraphParameters): adjust
14471
14472 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14473
14474         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14475         index; also, check that there is something to index, and that it
14476         does not span over several paragraphs.
14477         (doubleClick): use WHOLE_WORD_STRICT for double click.
14478
14479         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14480
14481         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14482         scheme.
14483
14484 2001-07-26  Baruch Even  <baruch@lyx.org>
14485
14486         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14487         an InsetFig figure, backwards compatible reading of old figure code.
14488
14489 2001-07-27  Juergen Vigna  <jug@sad.it>
14490
14491         * text2.C: font.realize function adaption.
14492
14493         * text.C (draw): add a warnings lyxerr text if needed.
14494
14495         * layout.C: font.realize function adaption.
14496
14497         * language.C: add inherit_language and implement it's handlings
14498
14499         * bufferview_funcs.C (StyleReset): remove language parameter from
14500         font creation (should be language_inherit now).
14501
14502         * bufferparams.C (writeFile): handle ignore_language.
14503
14504         * paragraph.C (getFontSettings): the language has to be resolved
14505         otherwise we have problems in LyXFont!
14506
14507         * lyxfont.C (lyxWriteChanges): added document_language parameter
14508         (update): removed unneeded language parameter
14509
14510         * paragraph.C (validate): fixed wrong output of color-package when
14511         using interface colors for certain fonts in certain environments,
14512         which should not seen as that on the final output.
14513
14514 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14515
14516         * BufferView_pimpl.C:
14517         * Thesaurus.h:
14518         * Thesaurus.C:
14519         * Makefile.am:
14520         * commandtags.h:
14521         * LyXAction.C: add thesaurus support
14522
14523         * lyxfind.h:
14524         * lyxfind.C: add "once" parameter, for thesaurus, to not
14525           move to the next match
14526
14527 2001-07-26  Juergen Vigna  <jug@sad.it>
14528
14529         * lyxfont.C (realize): honor ignore_language too!
14530         (resolved): ditto.
14531
14532         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14533
14534         * text.C (draw): one place more for ignore_language to not draw
14535         itself!
14536
14537 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14538
14539         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14540
14541 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14542
14543         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14544         the minipage conversion problem.
14545
14546 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14547
14548         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14549         insert an inset.
14550
14551 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * BufferView.h: don't forward declare WorkArea
14554
14555         * BufferView.C: don't include WorkArea.h
14556
14557 2001-07-25  André Pönitz <poenitz@gmx.net>
14558
14559         * commandtags.h:
14560         * LyXAction.C:
14561         * lyxfunc.C:  new LFUN 'math-space'
14562
14563         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14564
14565 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14566
14567         * text2.C (toggleInset): call open/close
14568
14569 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * lyxfunc.C (dispatch): add debug for the disabled case
14572
14573         * font.C (buttonText): make similar to rectText
14574
14575         * buffer.C (readInset): comment out parsing of insetlist and
14576         insttheorem
14577
14578         * PainterBase.C (rectText): small correction
14579
14580         * BufferView_pimpl.C: comment out insettheorem and insetlist
14581         * LyXAction.C: ditto
14582         * commandtags.h: ditto
14583
14584 2001-07-24  Juergen Vigna  <jug@sad.it>
14585
14586         * text.C (draw): honor the ignore_language.
14587
14588         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14589
14590 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14591
14592         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14593         char inset.
14594
14595 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14596
14597         * lyxtext.h: remove unused (and unimplemented) methods
14598
14599 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14600
14601         * text.C (getVisibleRow): honor background color
14602
14603         * PainterBase.h:
14604         * Painter.h: remove default color argument for fillRectangle
14605
14606         * text.C (backgroundColor): new method
14607
14608 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14609
14610         * text.C (getVisibleRow): adjust
14611
14612         * font.[Ch] (rectText): new method, metrics
14613         (buttonText): new method, metrics
14614
14615         * PainterBase.[hC]: make rectText and buttonText always draw and take
14616         fewer paramteres.
14617
14618 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14619
14620         * ToolbarDefaults.C (read):
14621         * MenuBackend.C (read): allow escaping in all strings
14622
14623         * BufferView_pimpl.C (insertAndEditInset): new method.
14624         (Dispatch): use insertAndEditInset whenever appropriate.
14625
14626         * BufferView_pimpl.C (insertNote): removed
14627
14628         * BufferView_pimpl.C (smartQuote): new method, moved from
14629         BufferView; if an insetquote cannot be inserted, insert a '"'
14630         character instead.
14631
14632         * BufferView2.C: remove insertCorrectQuote();
14633
14634         * lyxfunc.C (getStatus): Add support for all remaingin
14635         inset-insert lfuns.
14636
14637         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14638
14639         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14640         command (necessary to pass " as parameter of self-insert.
14641
14642         * text.C (selectWordWhenUnderCursor):
14643         (selectWord): add word_location parameter
14644         (selectWordWhenUnderCursor): same + remove special code for word
14645         boundary.
14646         (selectNextWord): use kind() to guess type of insetspecialchar,
14647         not latex().
14648
14649         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14650         (insertErtContents): create ert insets as collapsed.
14651         (readInset): better compatibility code for Info inset.
14652
14653 2001-07-20  Juergen Vigna  <jug@sad.it>
14654
14655         * lyxfunc.C (dispatch): use always LyXFind now!
14656
14657         * text2.C (init): add a reinit flag so that the LyXText can be
14658         reinited instead of deleted and reallocated (used in InsetText).
14659
14660         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14661
14662         * text.C: ditto
14663
14664         * text2.C: ditto
14665
14666 2001-07-18  Juergen Vigna  <jug@sad.it>
14667
14668         * text.C (selectNextWord): handle insets inside inset by calling
14669         always the bv->text functions so that we can go up the_locking_inset!
14670
14671         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14672         in strange locations when inside an inset!
14673
14674         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14675         handling to include insets.
14676
14677         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14678
14679 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14680
14681         * LyXAction.C (init):
14682         * commandtags.h:
14683         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14684         LIGATURE_BREAK, since the name is so stupid.
14685
14686 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14687
14688         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14689         InsetInfos.
14690
14691         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14692
14693         * sp_form.[Ch]: remove.
14694
14695         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14696
14697         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14698         InsetInfo.
14699
14700         * src/buffer.C (readInset): ditto.
14701
14702 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14703
14704         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14705         menuSeparator(), endOfSentenceDot(), ldots() and
14706         hyphenationPoint(), which are therefore removed.
14707         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14708
14709         * LyXAction.C (init):
14710         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14711
14712         * paragraph.C (getWord): removed.
14713
14714         * BufferView_pimpl.C (Dispatch): use last word or selection for
14715         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14716
14717         * lyx_main.C (queryUserLyXDir): do not ask before creating
14718         user_dir, except if it has been named explicitely.
14719
14720 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14721
14722         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14723         a document of zero size.
14724
14725 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14726
14727         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14728         approriately in the c-tor and in require().
14729         (getPackages): output the appropriate LaTeX for natbib support.
14730
14731         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14732         variables "use_natbib" and "use_numerical_citations" when reading the
14733         LyX file.
14734         (readInset): read the various natbib cite commands.
14735         (validate): white-space change.
14736
14737         * bufferparams.[Ch]: new variables "bool use_natbib" and
14738         "bool use_numerical_citations".
14739         (writeFile): output them in the LyX file.
14740
14741 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14742
14743         * lyxfunc.C (getStatus): add support for all the inset insertion
14744         commands.
14745
14746         * text2.C (insertInset):
14747         * paragraph.C (insetAllowed):
14748         * BufferView_pimpl.C (insertInset): update to take in account the
14749         renaming of insertInsetAllowed
14750
14751         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14752
14753         * text2.C (getInset): new method. returns inset at cursor position.
14754
14755         * BufferView_pimpl.C (Dispatch): changes because of this.
14756
14757         * LyXAction.C (init): rename open-stuff to inset-toggle.
14758
14759         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14760
14761         * text2.C (toggleInset): renamed from openStuff; use
14762         Inset::open().
14763
14764 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14765
14766         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14767
14768         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14769
14770 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14771
14772         * buffer.C (readLyXformat2): Add filename to the error dialog
14773
14774 2001-07-18  Juergen Vigna  <jug@sad.it>
14775
14776         * tabular.C (GetCellNumber): put an assert here instead of the check!
14777
14778 2001-07-17  Juergen Vigna  <jug@sad.it>
14779
14780         * BufferView_pimpl.C (toggleSelection): adapted too.
14781
14782         * text.C (selectNextWord): adapted for use with insets.
14783         (selectSelectedWord): ditto
14784
14785 2001-07-17  Juergen Vigna  <jug@sad.it>
14786
14787         * sp_spell.C (PSpell): fix initialitation order.
14788
14789 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14790
14791         * paragraph.C: spacing
14792
14793 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14794
14795         * sp_spell.C: repair language selection for pspell
14796
14797 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14798
14799         * lyxfunc.h: change more methods to begin with lower char.
14800
14801 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14802
14803         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14804         for unknown layouts.
14805
14806 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14807
14808         * buffer.C (readLyXformat2): Generate an error dialog if there are
14809         unknown layouts.
14810
14811 2001-07-16  Juergen Vigna  <jug@sad.it>
14812
14813         * sp_spell.C: always compile ISpell part.
14814
14815         * lyxrc.C: added use_pspell entry and it's handling.
14816
14817 2001-07-13  Juergen Vigna  <jug@sad.it>
14818
14819         * sp_spell.C: removed double includes.
14820
14821 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14822
14823         Consistent use of Lsstream.h:
14824         * Lsstream.h: added using std::stringstream for consistencies sake.
14825
14826         * buffer.C: removed using std::stringstream
14827
14828         * lyxfont.C (stateText):
14829         * paragraph.C (asString):
14830         * text.C (selectNextWord, selectSelectedWord):
14831         * text2.C (setCounter):
14832         * vspace.C (asString, asLatexString):
14833         std::ostringstream -> ostringstream.
14834
14835 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14836
14837         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14838         * commandtags.h: add LFUN_HELP_ABOUTLYX
14839         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14840
14841 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14842
14843         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14844         cursorToggle()
14845         * lyx_gui_misc.C: remove spellchecker
14846         * lyxfunc.C: showSpellchecker
14847         * sp_base.h: added
14848         * sp_ispell.h: added
14849         * sp_pspell.h: added
14850         * sp_spell.C: added
14851         * sp_form.[Ch]: removed
14852         * spellchecker.[Ch]: removed
14853
14854 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14855
14856         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14857         is set.
14858         (simpleTeXSpecialChars): Simply print the input character without
14859         any special translation if pass_thru is set.
14860
14861         * layout.h: Added bool pass_thru to layout class for being able to
14862         implement pass through of a paragraph for Literate Programming.
14863
14864         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14865         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14866         * layout.C (Read): add "passthru" to list of layout tags and add
14867         code to set the pass_thru boolean when it is read.
14868
14869 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14870
14871         * trans_decl.h: remove allowed from KmodInfo
14872
14873         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14874         remove allowed code
14875         (Load): adjust
14876
14877         * paragraph_pimpl.C (erase): use boost::prior
14878
14879         * Painter.C (text): use data() instead of c_str() when length is
14880         also provided.
14881         * WorkArea.C (putClipboard): ditto
14882         * font.h (width): ditto
14883
14884         * BufferView2.C: use it-> instead of (*it). for iterators
14885         * texrow.C: ditto
14886         * paragraph_pimpl.C: ditto
14887         * paragraph.C: ditto
14888         * minibuffer.C: ditto
14889         * language.C: ditto
14890         * kbmap.C: ditto
14891         * encoding.C: ditto
14892         * counters.C: ditto
14893         * converter.C: ditto
14894         * chset.C: ditto
14895         * Variables.C: ditto
14896         * TextCache.C: ditto
14897         * MenuBackend.C: ditto
14898         * LyXAction.C: ditto
14899         * LColor.C: ditto
14900         * FloatList.C: ditto
14901         * DepTable.C: ditto
14902         * ColorHandler.C (LyXColorHandler): ditto
14903
14904 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14907
14908         * text2.C (openStuff): reintroduce this method (which had been
14909         nuked in NEW_INSETS frenzy).
14910
14911         * lyxfunc.C (Dispatch): when an action has not been handled, use
14912         its name in the error message, not its number.
14913
14914         * paragraph.C (inInset): change method name to begin with lowercase.
14915
14916         * undo_funcs.C:
14917         * text2.C: updates because of this.
14918
14919 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14920
14921         * ToolbarDefaults.C (add): add spaces in error message
14922
14923 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14924
14925         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14926         (readLyXformat2): rename return_par to first_par, use lyxlex's
14927         pushToken and remove the manual push handling.
14928         (parseSingleLyXformat2Token): add another ert comp. variable:
14929         in_tabular, rename return_par to first_par. handle newlines better
14930
14931 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14932
14933         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14934
14935 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14936
14937         * text2.C (getParFromID): removed
14938
14939         * buffer.C (getParFromID): new method moved form lyxtext.
14940         * BufferView2.C (insertErrors): adjust
14941         (setCursorFromRow): adjust
14942         * BufferView_pimpl.C (restorePosition): adjust
14943         * lyxfunc.C (Dispatch): adjust
14944         * undo_funcs.C (textUndo): adjust
14945         (textRedo): adjust
14946         (textHandleUndo): adjust
14947         (textHandleUndo): adjust
14948
14949 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14950
14951         * buffer.C: up' the LYX_FORMAT
14952
14953         * lyxfont.h: turn NO_LATEX on as default
14954
14955         * buffer.C (insertErtContents): new methods of tex style compability.
14956         (parseSingleLyXformat2Token): use it several places.
14957         * tabular.C (OldFormatRead): and here
14958
14959 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14960
14961         * text2.C: remove some commented code.
14962         reindent file.
14963
14964         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14965         * trans.C: changes because of the above.
14966
14967 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14968
14969         * text2.C (setCounter): Fix counters bug with bibliography layout.
14970
14971 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14972
14973         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14974         own member functions
14975         (simpleTeXSpecialChars): ditto
14976
14977 2001-07-06  Juergen Vigna  <jug@sad.it>
14978
14979         * a lot of files: changed the access to LyXText::status and the
14980         call of undo-functions.
14981
14982         * undo.[Ch]: added a inset_id to the undo informations.
14983
14984         * undo_funcs.[Ch]: added and moved here all undo functions.
14985
14986         * lyxtext.h: give the status enum a weight, made status_ a private
14987         variable and made accessor functions for it, removed the whole bunch
14988         of undo-functions as they are now in their own file, make some
14989         functions publically available. Added function ownerParagraph with
14990         int parameter.
14991
14992         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14993         made InInset() a const function, added getParFromID() function.
14994
14995         * buffer.[Ch]: added const version for inset_iterator functions,
14996         added getInsetFromID() function.
14997
14998         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14999         changed undo functions for new version.
15000
15001 2001-07-05  Juergen Vigna  <jug@sad.it>
15002
15003         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15004         unknow mechanism does not call the proper constructor but only this
15005         one also if I request the other!?
15006
15007 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15008
15009         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15010
15011         * text2.C (LyXText): use initialization lists.
15012
15013         * lyxtext.h (Selection): initialize set_ and mark_
15014         (init): remove method
15015
15016 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15017
15018         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15019
15020 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15021
15022         * screen.[Ch]: change method names to begin with lowercase
15023
15024         * BufferView_pimpl.C (updateScrollbar): simplify further and
15025         hopefully make it a bit faster.
15026
15027 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15028
15029         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15030         calling directly xforms functions.
15031
15032         * Painter.C (Painter):
15033         * lyx_cb.C (MenuWrite):
15034         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15035         fl_display.
15036
15037         * lyx_gui.C: remove bogus guiruntime extern declaration.
15038
15039 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15042         in NEW_INSETS
15043         (redoDrawingOfParagraph): ditto
15044         (redoParagraphs): ditto
15045         (cutSelection): don't create a object for CutAndPaste use the
15046         static method directly
15047         (pasteSelection): ditto
15048
15049         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15050         LyXview (+ rename)
15051
15052 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * modifications to some other files because of this.
15055
15056         * Makefile.am (lyx_SOURCES): add XFormsView
15057
15058         * XFormsView.[Ch]: new files
15059
15060         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15061         the main window. Move the gui dependent stuff to XFormsView
15062
15063 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * tabular.C (GetCellInset): update cur_cell also in the row/col
15066         version of this function.
15067
15068         * lyxfunc.C: no need to include figure_form.h here.
15069
15070         * FontLoader.h:
15071         * lyxfunc.h:
15072         * lyxscreen.h:
15073         * text2.C:
15074         * lyxvc.C: no need to include forms.h here.
15075
15076 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15077
15078         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15079
15080         * lyxfunc.C (Dispatch):
15081         * Spacing.C (set):
15082         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15083         constructor argument.
15084
15085 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15086
15087         * paragraph.C (Paragraph): dont't clear, and just set layout.
15088         (makeSameLayout): use params's copy contructor.
15089
15090         * ParagraphParameters.[Ch] (makeSame): delete method
15091
15092 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * Variables.[Ch]: fix indentation, rename set to isSet
15095
15096 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15097
15098         * lyxfunc.C (Dispatch): fix typo
15099
15100 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15101
15102         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15103         upper_bound.
15104
15105         * bufferlist.C: include assert.h for emergencyWrite().
15106
15107 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15110           give up at last (bug #425202) !
15111
15112 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15113
15114         * lyx_gui_misc.C:
15115         * sp_form.h:
15116         * sp_form.C:
15117         * spellchecker.h:
15118         * spellchecker.C: strip spellchecker options and bring up
15119           preferences tab instead
15120
15121 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15124         the istringstream constructor
15125
15126 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15127
15128         * paragraph.C (getLayout): fix return value
15129
15130         * paragraph.h: do not declare getLayout as inline.
15131
15132         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15133
15134 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15135
15136         * lyxcursor.h (operator<): new func
15137         (operator>): new func
15138         (operator>=): new func
15139         (operator<=): new func
15140
15141         * text.C (changeCase): use selection.start and selection.end
15142         (changeRegionCase): require from to be <= to. Require par to be a
15143         valid paragraph.
15144
15145         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15146
15147 2001-06-27  Juergen Vigna  <jug@sad.it>
15148
15149         * text.C (cursorLeftOneWord): changed to return the cursor and added
15150         overlay with BufferView * parameter which calls this one.
15151         (getWord): added
15152         (selectWord): use new getWord function.
15153         (changeCase): renamed from changeWordCase as and extended to work
15154         also on selections.
15155
15156         * lyxtext.h: added enum word_location
15157
15158         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15159         changeCase as this operates now also on selections.
15160
15161 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15162
15163         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15164
15165         * many files: send debug output to Debug::INFO instead of
15166         Debug::ANY.
15167
15168         * converter.C (View):
15169         (Convert):
15170         (Move): send debug output to Debug::FILES instead of console.
15171
15172 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15173
15174         * lyxfunc.C (getStatus): use func_status
15175
15176         * func_status.h: new header, describing the results of
15177         LyXFunc::getStatus;
15178
15179         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15180         LFUN_MATH_HALIGN.
15181
15182 2001-06-25  The LyX Project  <jug@sad.it>
15183
15184         * buffer.C (sgmlOpenTag):
15185         (sgmlCloseTag):
15186         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15187
15188 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15189
15190         * text2.C: remove some dead code
15191
15192         * tabular.C (GetCellInset): store the last cell checked (gotten)
15193
15194         * tabular.h: add the helper for the speedup
15195
15196         * lyxtext.h: remove some dead code
15197
15198 2001-06-26  The LyX Project  <Asger>
15199
15200         * paragraph.C: Change export to LaTeX of alignment to
15201         \begin{center} and family for better roundtrip work with reLyX.
15202
15203         * Tune the math drawing a bit.
15204
15205 2001-06-25  The LyX Project  <Asger>
15206
15207         * LColor.C (LColor): New color for math background. New color
15208         for buttons.
15209
15210 2001-06-25  The LyX Project  <jug@sad.it>
15211
15212         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15213
15214         * lyxfunc.C (Open):
15215         * bufferlist.C (newFile): do not restrict to files ending with
15216         .lyx
15217
15218         * BufferView_pimpl.C (MenuInsertLyXFile):
15219
15220 2001-06-24  The LyX Project  <jug@sad.it>
15221
15222         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15223         of compare_no_case
15224
15225 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * lyxtext.h: rename most methods to begin with a small char.
15228         Lots of changes because of this.
15229
15230         * paragraph.C (Paragraph): do not call fitToSize
15231         (erase): call Pimpl::erase
15232         (insertChar): call Pimpl::insertChar
15233         (insertInset): call Pipl::insertInset
15234         (breakParagraph): do not call fitToSize
15235         (breakParagraphConservative): do not call fitToSize
15236         (fitToSize): remove method
15237
15238         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15239
15240 2001-06-24  The LyX Project  <Asger>
15241
15242         * Fix Qt compilation^2
15243
15244 2001-06-24  The LyX Project  <jug@sad.it>
15245
15246         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15247         depthHook(getDepth()-1).
15248
15249         * paragraph.h:
15250         * ParagraphParameters.h:
15251         * ParameterStruct.h: change type of depth to unsigned int ==
15252         depth_type. Many adaptations to other files before of that.
15253
15254 2001-06-24  The LyX Project  <Asger>
15255
15256         * Fix Qt compilation.
15257
15258 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15259
15260         * paragraph.h: renamed several methods to begin with small letter.
15261         several changes to many parts of the code because of this.
15262
15263 2001-06-23  The LyX Project  <jug@sad.it>
15264
15265         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15266         rewritten to discard all double spaces when KeepEmpty is off
15267         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15268         to only handle newlines but not fiddle with spaces and friends.
15269
15270         * lyxfunc.C (MenuNew): when doing 'new from template', use
15271         template_path as default directory
15272
15273 2001-06-23  The LyX Project  <Asger>
15274
15275         * Clean-up of header file includes all over
15276         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15277
15278 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15279
15280         * paragraph.h: renamed from lyxparagraph.h
15281
15282 2001-06-23  Asger  <lyx@violet.home.sad.it>
15283
15284         * Buffer.h: Removed Buffer::resize
15285         * BufferList.h: Removed BufferList::resize
15286         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15287         the document lazily when we change the width, or the font settings.
15288
15289 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15290
15291         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15292
15293 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15294
15295         * buffer.h: remove out of date comment
15296
15297 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15298
15299         * lyxscreen.h:
15300         * screen.C: fix "theoretical" GC leak
15301
15302 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * LaTeX.C (scanAuxFile):
15305         (deplog): remove trailing \r when reading stream (useful under
15306         win32)
15307
15308 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15309
15310         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15311         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15312         and BufferView::theLockingInset(Inset*), so should use them and not
15313         access bv_->text->the_locking_inset directly.
15314
15315         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15316
15317 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15318
15319         * Makefile.am:
15320         * tex-defs.h: remove old unused file
15321
15322 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15323
15324         * BufferView_pimpl.C: fix typo, remove minibuffer message
15325           when buffer has loaded
15326
15327 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15328
15329         * lyxfunc.C (Dispatch): use stringstream
15330         (MenuNew): use stringstream
15331         (Open): use stringstream
15332
15333         * importer.C (Import): use stringstream
15334
15335         * bufferview_funcs.C (CurrentState): use stringstream
15336
15337         * LaTeX.C (run): use stringstream
15338
15339         * BufferView_pimpl.C (savePosition): use stringstream
15340         (restorePosition): use stringstream
15341         (MenuInsertLyXFile): use stringstream
15342
15343 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15344
15345         * BufferView.C:
15346         * Bullet.C:
15347         * ColorHandler.C:
15348         * FontInfo.C:
15349         * FontLoader.C:
15350         * LColor.C:
15351         * LaTeXFeatures.C:
15352         * Painter.C:
15353         * gettext.C:
15354         * lyx_gui_misc.C:
15355         * lyxserver.C:
15356         * vspace.C: removed // -*- C++ -*- as first line.
15357
15358         * lyxfind.h:
15359         * version.h: added // -*- C++ -*- as first line.
15360
15361 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15362
15363         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15364
15365         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15366         of string
15367
15368 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15369
15370         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15371         of floats.
15372
15373 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15374
15375         * gettext.C: include LString.h even when --disable-nls is on.
15376
15377 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15378
15379         * converter.h (Get): changed argument type from int to
15380         FormatList::size_type to avoid unnecessary conversion.
15381
15382         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15383         before using it.
15384
15385 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * gettext.h: include LString.h even when --disable-nls is on.
15388
15389 2001-06-07  Juergen Vigna  <jug@sad.it>
15390
15391         * text.C (BreakAgain): subst spaces with tabs.
15392
15393         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15394         (resizeInsetsLyXText): set force on resizeLyXText.
15395
15396 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15397
15398         * gettext.h (gettext_init):
15399         (locale_init): use a real definition instead of a macro
15400
15401 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15402
15403         * Bufferview_pimpl.C:
15404         * LColor.h:
15405         * LColor.C: further lcolor tidies
15406
15407 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15408
15409         * BufferView_pimpl.C (updateScrollbar): simplify.
15410
15411         * BufferView2.C: don't include insets/insetinfo.h, change
15412         prototype for insertInset and call the Pimpl version. let
15413         updateInset call Pimpl version.
15414
15415         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15416         gotoInset to BufferView::Pimpl
15417
15418 2001-06-01  Juergen Vigna  <jug@sad.it>
15419
15420         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15421         inside a LockingInset (is the update needed at all?).
15422
15423 2001-05-31  Juergen Vigna  <jug@sad.it>
15424
15425         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15426         here not the old one otherwise how should we compare it afterwards
15427         if it's the same!
15428
15429 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15430
15431         * lyxfont.C:
15432         * tabular.C:
15433         * tabular-old.C:
15434         * FontInfo.C: bring C functions into global namespace when
15435         necessary
15436
15437 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15438
15439         * LString.h: make sure config.h has been loaded before LString.h.
15440
15441         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15442         (one for each char read by EatLine!).
15443
15444         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15445         variables.
15446
15447 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15448
15449         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15450         to the same as the par we break from
15451
15452 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15453
15454         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15455
15456         * MenuBackend.C (expand): also create menu entries for wide
15457         versions of the floats.
15458
15459         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15460
15461         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15462
15463         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15464         frontends/Makefile.am
15465
15466         * text2.C: adjust
15467         * text.C: adjust
15468
15469
15470         * tabular.C (getTokenValue): add std::
15471
15472         * tabular-old.C (getTokenValue): add std::
15473         (getTokenValue): ditto
15474         (getTokenValue): ditto
15475
15476         * screen.C (ToggleSelection): adjust
15477
15478         * lyxtext.h: put selection cursors inside a Selection struct.
15479
15480         * lyxfunc.C (moveCursorUpdate): adjust
15481
15482         * lyxfont.C (latexWriteStartChanges): add std::
15483
15484         * lyxfind.C: adjust
15485
15486         * font.h: delete with(char const *, LyXFont const &)
15487
15488         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15489
15490         * FontInfo.C (getFontname): add std::
15491
15492         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15493         (workAreaButtonPress): adjust
15494         (tripleClick): adjust
15495         (update): adjust
15496         (moveCursorUpdate): adjust
15497         (Dispatch): adjust
15498
15499         * BufferView2.C (gotoInset): adjust
15500
15501 2001-05-30  Juergen Vigna  <jug@sad.it>
15502
15503         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15504         to check pspell I add this as default as I now have new pspell
15505         libraries and they seem to use this.
15506
15507 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15508
15509         * text2.C (CutSelection): make the cursor valid before the call to
15510         ClearSelection.
15511
15512 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15513
15514         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15515         relied on 0 terminated strings and other horrors. Bug found due to
15516         the new assert in lyxstring!
15517
15518         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15519         KP_ keys.
15520
15521 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15522
15523         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15524         to latinkeys.bind.
15525
15526         * lyxfunc.C (processKeySym): change method of getting to the
15527         self-insert char.
15528
15529         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15530         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15531         * BufferView_pimpl.[Ch]: here as private methods.
15532
15533 2001-05-28  Juergen Vigna  <jug@sad.it>
15534
15535         * text.C (SetHeightOfRow): added the update() call again as it is
15536         needed to initialize inset dimensions!
15537
15538 2001-05-16  Juergen Vigna  <jug@sad.it>
15539
15540         * text2.C (SetCharFont): Add new function with BufferView * and
15541         bool toggleall parameters for setting insets internal fonts.
15542         (SetFont): Freeze the undo as we may change fonts in Insets and
15543         all this change should be inside only one Undo!
15544
15545         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15546         setting font's in insets as for them we have the SetFont function!
15547
15548 2001-05-15  Juergen Vigna  <jug@sad.it>
15549
15550         * text2.C (ClearSelection): to be sure we REALLY don't have any
15551         selection anymore!
15552
15553         * tabular.C (TeXCellPreamble): fixed the left border problem for
15554         multicolumn cells.
15555
15556 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15557
15558         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15559         dependancy file
15560
15561 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15562
15563         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15564         LFUN_BREAKPARAGRAPH.
15565
15566         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15567         help test to "internal only", similar for LFUN_INSERT_URL
15568
15569         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15570         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15571         auto_region_delete and deadkeys.
15572
15573 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15574
15575         * LColor.h:
15576         * LColor.C: remove some dead entries, tidy a little
15577
15578 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15579
15580         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15581         commented code.
15582         (Dispatch): implement LFUN_ESCAPE
15583
15584         * commandtags.h: add LFUN_ESCAPE
15585
15586         * LyXAction.C (init): add entry for LFUN_ESCAPE
15587
15588         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15589         Remove commented code.
15590         (insertNote): moved here
15591         (open_new_inset): moved here
15592
15593         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15594         BufferView_pimpl
15595
15596 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * kbmap.C (findbinding): clean it up and make it work correctly.
15599
15600         * lyx_main.C (init): do not pass argc and argv as parameters
15601
15602 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15603
15604         * buffer.C: fix path for OS/2 & Win32
15605
15606         * lyx_gui.C:
15607         * lyx_main:
15608         * lyx_main.C: Added os:: class.
15609
15610         * os2_defines.h: update
15611
15612 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15613
15614         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15615         better by trying again with reduced state.
15616
15617 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15618
15619         * lyxrc.C (read): print error about invalid key sequence only when
15620         debugging (because not all latinX keysyms are known to some X
15621         servers)
15622
15623         * kbsequence.C (getiso): add a few std:: qualifiers
15624         (getiso): comment out extra return statement.
15625
15626 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15627
15628         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15629         handling.
15630         (Dispatch): enhance the accent inset a bit. (not perfect)
15631
15632 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15633
15634         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15635
15636 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15637
15638         * bufferlist.C (emergencyWrite): fix assert() call
15639
15640 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15641
15642         * text.C (InsertChar): Added trivial patch to only send the "you
15643         can not do multiple spaces this way" message once during a
15644         session.
15645
15646 2001-05-08  Baruch Even  <baruch@lyx.org>
15647
15648         * Makefile.am: Changed order of libraries to get LyX to link properly
15649         with the gnome frontend.
15650
15651 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * LaTeXFeatures.h: add a std:: qualifier
15654
15655 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15656
15657         * paragraph.C (String): use stringstream
15658
15659 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15660
15661         * paragraph.C (writeFile): remove footflag arg
15662
15663         * buffer.C (makeLaTeXFile): use stringstream
15664         (latexParagraphs): remove footnot gurba
15665
15666         * LaTeXFeatures.C (getPackages): use stringstream
15667         (getMacros): likewise
15668         (getTClassPreamble): likewise
15669         (getFloatDefinitions): new method
15670
15671         * paragraph.C (writeFile): reindent
15672         (Erase): reindent
15673
15674         * WorkArea.h: revert the xpos + etc changes.
15675
15676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15677
15678         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15679
15680         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15681         (pasteSelection): likewise
15682         * text2.C (CreateUndo): likewise
15683
15684 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15685
15686         * minibuffer.C (peek_event): temporarily reduce the functionality
15687         of the minibuffer (to allow args on lfuns)
15688
15689         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15690         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15691
15692         * buffer.C (readInset): add compability reading of old float
15693         lists, add reading of new style float list.
15694         (readInset): avoid reevaluation of inscmd.getCmdName()
15695         (getLists): reindent
15696
15697         * MenuBackend.C (MenuItem): implement parsing of
15698         md_floatlistinsert and md_floatinsert.
15699         (expand::LastFiles): move initalizaton of iterators out of loop,
15700         avoid reevaluation.
15701         (expand::Documents): introduce typdedef vector<string> Strings,
15702         and use it.
15703         (expand::ExportFormats): introduce typedef vector<Format const *>
15704         Formats, and use it.
15705         (expand): implement FloatListInsert and FloatInsert.
15706
15707         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15708         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15709         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15710
15711         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15712         handling.
15713         (Dispatch::LFUN_FLOAT_LIST): implement
15714
15715 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15716
15717         * LaTeX.C (run): Fix problem with --export code.
15718
15719 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15720
15721         * BufferView.[Ch] (workarea): removed.
15722         (getClipboard) new method; wrapper for workarea()->getClipboard()
15723
15724         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15725         bug.
15726
15727         * WorkArea.h (width, height, xpos, ypos): These methods all
15728         returned the dimensions of the work_area sub-area of WorkArea,
15729         resulting in a position error if the WorkArea were resized. Now
15730         return the dimensions of the entire WorkArea.
15731
15732         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15733
15734 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15735
15736         * LaTeX.C (deplog): correct the syntax of regex reg1
15737
15738 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15739
15740         * undo.C: remove !NEW_INSETS cruft
15741
15742 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * text2.C: remove !NEW_INSETS cruft
15745
15746         * text.C: remove !NEW_INSETS cruft
15747
15748         * tabular.C: remove !NEW_INSETS cruft
15749
15750         * spellchecker.C: remove !NEW_INSETS cruft
15751
15752         * lyxtext.h: remove !NEW_INSETS cruft
15753
15754         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15755
15756         * lyxfunc.C: remove !NEW_INSETS cruft
15757
15758         * lyxfind.C: remove !NEW_INSETS cruft
15759
15760         * lyx_cb.C: remove !NEW_INSETS cruft
15761
15762         * figureForm.C: remove  !NEW_INSETS cruft
15763
15764         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15765
15766         * buffer.[Ch]: remove !NEW_INSETS cruft
15767
15768         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15769
15770         * CutAndPaste.C: remove !NEW_INSETS cruft
15771
15772         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15773
15774         * BufferView2.C: remove !NEW_INSETS cruft
15775
15776         * BufferView.h: remove !NEW_INSETS cruft
15777
15778 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15779
15780         * Lsstream.h: include LString.h before the sstream headers to
15781         fix problem with gcc 2.95.3 and lyxstring
15782
15783 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15784
15785         * lyx_main.C: add using directives when needed for C functions
15786         declared in std:: namespace.
15787
15788 2001-04-27  Juergen Vigna  <jug@sad.it>
15789
15790         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15791         (SetHeightOfRow): comment out the update call should not be needed!
15792
15793 2001-04-13  Juergen Vigna  <jug@sad.it>
15794
15795         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15796         (LyXTabular): tried to minimize operator= operations (and realized
15797         hopfully Lars wish).
15798
15799 2001-04-27  Juergen Vigna  <jug@sad.it>
15800
15801         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15802
15803 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15804
15805         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15806
15807         * buffer.C (readInset): hack to make listof algorithm work
15808
15809         * BufferView_pimpl.C: hack to make listof algorithm work
15810
15811 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15812
15813         * LyXAction.C: removed all !NEW_INSETS cruft
15814         (init): moved lfun_item in method
15815
15816         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15817
15818 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15819
15820         * BufferView2.C (theLockingInset): white space.
15821
15822 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15823
15824         * minibuffer.C: include <iostream>
15825
15826         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15827
15828         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15829
15830         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15831
15832         * text.[Ch] (TransposeChars): new method
15833
15834 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15835
15836         * call message directly through LyXView instead of through LyXFunc
15837         * BufferView2.C: adjust
15838         * BufferView_pimpl.C: adjust
15839         * FontLoader.C: adjust
15840         * buffer.C: adjust
15841         * bufferview_funcs.C: adjust
15842         * converter.C: adjust
15843         * figureForm.C: adjust
15844         * importer.C: adjust
15845         * lyx_cb.C: adjust
15846         * lyx_gui_misc.C: adjust
15847         * lyxfunc.C: adjust
15848         * lyxvc.C: adjust
15849         * text2.C: adjust
15850         + more files in subdirs
15851
15852         * lyxparagraph.h (size): move up int file
15853         (GetLayout): ditto
15854
15855         * adjust all uses of Assert to lyx::Assert.
15856
15857         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15858         lyxfunctional in namespace lyx
15859         * layout.C (hasLayout): ditto
15860         (GetLayout): ditto
15861         (GetLayout): ditto
15862         (delete_layout): ditto
15863         (NumberOfClass): ditto
15864         * converter.C (GetFormat): ditto
15865         (GetNumber): ditto
15866         (Add): ditto
15867         (Delete): ditto
15868         (SetViewer): ditto
15869         * bufferlist.C (getFileNames): ditto
15870         (emergencyWriteAll): ditto
15871         (exists): ditto
15872         (getBuffer): ditto
15873         * MenuBackend.C (hasSubmenu): ditto
15874         (hasMenu): ditto
15875         (getMenu): ditto
15876         * BufferView_pimpl.C (getInsetByCode): ditto
15877
15878 2001-04-18  Juergen Vigna  <jug@sad.it>
15879
15880         * vspace.C (asLatexString): fixed the 100% problem.
15881
15882 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * lyxfunc.C (Dispatch):
15885         * minibuffer.C:
15886         * minibuffer.h: add a few std:: qualifiers
15887
15888 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15889
15890         * minibuffer.[Ch]: reimplement so that commands is initiated and
15891         run from lyxfunc, simplified som handling, and made the completion
15892         and history code for complete. wip.
15893
15894         * lyxfunc.C (processKeySym): call message
15895         (miniDispatch): new temporary method
15896         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15897         (LFUN_MESSAGE): implement
15898         (LFUN_MESSAGE_PUSH): implement
15899         (LFUN_MESSAGE_POP): implement
15900         (initMiniBuffer): the initial/defualt minibuffer message.
15901
15902         * lyxfont.[Ch]: inline some more getters
15903
15904         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15905
15906         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15907
15908         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15909         (AutoSave): use LFUN_MESSAGE
15910         (Reconfigure): ditto
15911
15912         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15913
15914         * figureForm.C: use LFUN_MESSAGE
15915
15916         * converter.C (runLaTeX): use LFUN_MESSAGE
15917
15918         * bufferview_funcs.C: use LFUN_MESSAGE
15919         (Melt): ditto
15920         (changeDepth): ditto
15921
15922         * bufferparams.h: use boost::
15923
15924         * bufferlist.h: inherit privately from noncopyable
15925
15926         * bufferlist.C (loadLyXFile): remove some commented code.
15927
15928         * buffer.C (runChktex): use LFUN_MESSAGE
15929
15930         * ShareContainer.h: inherit privately from noncopyable
15931
15932         * ParagraphParameters.[hC] (depth): inline it.
15933
15934         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15935         methods.
15936         (message): new method
15937         (messagePush): ditto
15938         (messagePop): ditto
15939         (show): init minibuffer
15940         (showState): direct call
15941
15942         * LaTeX.[Ch]: inherit privately from noncopyable
15943         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15944         instead of WriteStatus.
15945
15946         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15947
15948         * BufferView_pimpl.C (buffer): don't init minibuffer
15949         (workAreaButtonPress): use LFUN_MESSAGE
15950         (workAreaButtonRelease): ditto
15951         (savePosition): ditto
15952         (restorePosition): ditto
15953         (MenuInsertLyXFile): ditto
15954         (workAreaExpose): don't init minibuffer
15955         (update): remove commented code, simplify
15956
15957         * BufferView2.C (openStuff): use LFUN_MESSAGE
15958         (toggleFloat): ditto
15959         (menuUndo): ditto
15960         (menuRedo): ditto
15961         (copyEnvironment): ditto
15962         (pasteEnvironment): ditto
15963         (copy): ditto
15964         (cut): ditto
15965         (paste): ditto
15966         (gotoInset): ditto
15967         (updateInset): remove some commented code
15968
15969         * lastfiles.h: inherit privately from noncopyable
15970         * layout.h: ditto
15971         * lyx_gui.h: ditto
15972         * lyx_main.h: ditto
15973         * lyxlex.h: ditto
15974         * lyxlex_pimpl.h: ditto
15975
15976         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15977         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15978         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15979
15980         * LyXAction.h: inherit privately from noncopyable, add methods
15981         func_begin, func_end, returning iterators to the func map.
15982
15983         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15984         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15985         (func_begin): new method
15986         (func_end): new method
15987
15988         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15989         and not)
15990         (copySelection): ditto
15991         (pasteSelection): ditto
15992
15993         * BufferView.C: whitespace change
15994         * BufferView.h: inherit privately from noncopyable
15995
15996 2001-04-16  Allan Rae  <rae@lyx.org>
15997
15998         * tabular-old.C (l_getline):
15999         * spellchecker.C (sc_check_word):
16000         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16001         an unrecognised preprocessor directive.  So ensure they're wrapped.
16002
16003 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16004
16005         * src/exporter.C (Export): Give an error message when path to file
16006         contains spaces.
16007
16008 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16009
16010         * LaTeX.C (deplog): Always check that foundfile exists.
16011
16012 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * lyx_main.h:
16015         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16016
16017 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16018
16019         * tabular.[Ch] (getLabelList): implement new method
16020
16021         * minibuffer.h: comment ouf setTiimer
16022
16023         * minibuffer.C (ExecutingCB): constify res
16024         (peek_event): constify s
16025         (Set): constify ntext
16026         (Init): constify nicename
16027
16028         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16029
16030         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16031         (savePosition): use two params to Minibuffer::Set
16032         (restorePosition): ditto
16033
16034 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16035
16036         * lyx_main.C: include language.h
16037
16038         * Makefile.am (lyx_main.o): add language.h
16039
16040 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16041
16042         * exporter.C:
16043         * paragraph.C:
16044         * screen.C:
16045         * tabular.C:
16046         * CutAndPaste.C: include gettext.h
16047
16048         * lyxfont.h: remove old hack with ON and OFF.
16049
16050         * lyxparagraph.h:
16051         * lyxfont.h: do not include language.h...
16052
16053         * BufferView2.C:
16054         * LaTeXFeatures.C:
16055         * Painter.C:
16056         * bufferview_funcs.C:
16057         * font.C:
16058         * lyxfont.C:
16059         * text.C:
16060         * text2.C:
16061         * trans_mgr.C:
16062         * paragraph.C: ... but do it here instead
16063
16064 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16065
16066         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16067
16068         * tabular.C: small reformat
16069
16070         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16071         NEW_INSETS version
16072         (GetChar): ditto
16073         (BreakParagraph): ditto
16074         (SetOnlyLayout): ditto
16075         (SetLayout): ditto
16076
16077         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16078         with one arg less.
16079
16080         * lastfiles.C: removed most using decl, add std:: where needed
16081
16082         * buffer.C: ws changes
16083
16084         * MenuBackend.C (class compare_format): put into anon namespace
16085         (expand): constify label, names, action, action2
16086         (expand):
16087
16088         * text.C (SingleWidth): constify font
16089         (IsBoundary): constify rtl2
16090         (GetVisibleRow): constify ww
16091
16092         * LaTeX.C (deplog): constify logfile
16093
16094         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16095         start_x, end_x
16096         (workAreaExpose): constify widthChange, heightChange
16097
16098         * lyxrow.C (par): moved
16099         (height): moved
16100         (next): moved
16101         * lyxrow.h: as inlines here
16102
16103         * lyxfont.h (shape): moved from lyxfont.C
16104         (emph): moved from lyxfont.C
16105
16106         * lyxfont.C (LyXFont): use initialization list for all
16107         constructors
16108         (shape): move to lyxfont.h as inline
16109         (emph): move to lyxfont.h as inline
16110
16111
16112 2001-04-04  Juergen Vigna  <jug@sad.it>
16113
16114         * vspace.C: had to include stdio.h for use of sscanf
16115
16116 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16117
16118         * BufferView.h:
16119         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16120         independent of xforms.
16121
16122 2001-04-02  Juergen Vigna  <jug@sad.it>
16123
16124         * spellchecker.C: fixed namespace placing!
16125
16126 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16127
16128         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16129         the LyXParagraph * is 0.
16130
16131 2001-03-29  Juergen Vigna  <jug@sad.it>
16132
16133         * vspace.C: added support for %, c%, p%, l%.
16134         (stringFromUnit): added helper function.
16135         (asLatexString): changed to give right results for the %-values.
16136
16137         * buffer.C: convert the widthp in a width%.
16138
16139 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16140
16141         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16142         figureForm.[Ch].
16143
16144         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16145         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16146
16147         * lyx_cb.[Ch]: see above.
16148
16149         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16150         form1.[Ch].
16151
16152         * form1.[Ch]:
16153         * lyx.[Ch]: replaced by figure_form.[Ch].
16154
16155         * lyx_gui.C:
16156         * lyx_gui_misc.C:
16157         * lyxfunc.C: changed headers associated with above changes.
16158
16159 2001-03-27  Juergen Vigna  <jug@sad.it>
16160
16161         * BufferView_pimpl.C: set the temporary cursor right!
16162
16163 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16164
16165         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16166
16167 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16168
16169         * LString.h: removed "using std::getline"!
16170
16171         * BufferView_pimpl.C (Dispatch): changes due to changes in
16172         InsetInclude::Params.
16173
16174         * buffer.C (tag_name): removed redundant break statements as they were
16175         producing lots of warnings with my compiler.
16176
16177 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16178
16179         * LString.h: add "using std::getline" when using the real <string>.
16180
16181 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16182
16183         * buffer.C: removed bitset usage.
16184         PAR_TAG moved to an anonymous name space.
16185         (tag_name): new funtion, also in the anonymous namespace.
16186         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16187         (makeDocBookFile): clean code. Completed transition from string arrays
16188         to string vectors.
16189         (SimpleDocBookOnePar): code clean.
16190
16191 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16192
16193         * tabular.C: add some comments.
16194
16195 2001-03-22  Juergen Vigna  <jug@sad.it>
16196
16197         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16198         compatibility read a bit and fixed bug with minipage in different
16199         depth.
16200
16201 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16202
16203         * buffer.C (pop_tag): removed.
16204         (push_tag): removed.
16205         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16206         array replaced with vector. Added support for CDATA sections.
16207         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16208         at any nest level.
16209         (makeDocBookFile): XML conformant declaration of CDATA section,
16210         fixed bug related to <emphasis> in the first paragraph char.
16211         (sgmlOpenTag): exclude empty tags.
16212         (sgmlCloseTag): ditto.
16213
16214         * buffer.h (pop_tag): removed.
16215         (push_tag): removed.
16216
16217 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16218
16219         * language.h (Languages): added size_type and size().
16220
16221 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16222
16223         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16224         response on compability reading of minipages. One probliem is that
16225         the old usage of minipages was «flertydig»
16226
16227         * several files here and in subdirs: don't use static at file
16228         scope use anon namespaces instead.
16229
16230 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16231
16232         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16233         LaTeX output. This is necessary for Literate document
16234         processing.
16235
16236 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16237
16238         * buffer.C: insert hfill when needed.
16239
16240         * tabular.C (l_getline): use string::erase, small whitespace change.
16241
16242         * BufferView_pimpl.C: try the anon namespace.
16243         * WorkArea.C: ditto
16244
16245 2001-03-16  Juergen Vigna  <jug@sad.it>
16246
16247         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16248         otherwise it won't open options-dialogs.
16249
16250         * buffer.C: honor pextraWidth(p) on converting minipages.
16251
16252         * tabular.C (l_getline): changed the functions to strip trailing \r.
16253
16254 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16255
16256         * BufferView_pimpl.C:
16257         * minibuffer..C: added "using SigC::slot" declaration.
16258
16259 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16260
16261         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16262
16263         * text2.C: ditto
16264
16265         * text.C: ditto
16266
16267         * paragraph.C: ditto
16268
16269         * lyxtext.h: NO_PEXTRA
16270
16271         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16272
16273         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16274         * ParameterStruct.h: ditto
16275         * ParagraphParameters.h: ditto
16276         * lyxparagraph.h: ditto
16277
16278 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16279
16280         * buffer.C: add compability for minipage alignment.
16281         (latexParagraphs): remove unwanted pextra check.
16282
16283         * several files: remove CXX_WORKING_NAMESPACES
16284
16285         * buffer.C (pop_tag): tie is in namespace boost
16286
16287         * BufferView.h: noncopyable is in namespace boost
16288         * lyxlex.h: ditto
16289         * lyx_main.h: ditto
16290         * lyx_gui.h: ditto
16291         * layout.h: ditto
16292         * lastfiles.h: ditto
16293         * bufferlist.h: ditto
16294         * ShareContainer.h: ditto
16295         * LyXView.h: ditto
16296         * LyXAction.h: ditto
16297         * LaTeX.h: ditto
16298
16299 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16300
16301         * Merging changes from BRANCH_MVC back into HEAD.
16302
16303         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16304
16305 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16306
16307         * BufferView_pimpl.C: change from intl.C
16308
16309         * combox.h:
16310         * combox.C:
16311         * Makefile.am: move combox.*
16312
16313         * form1.h:
16314         * form1.C:
16315         * lyx_gui.C:
16316         * intl.h:
16317         * intl.C: remove dialog (covered by prefs)
16318
16319 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16320
16321         * lyxfunc.C (Dispatch): removed redundant break statement.
16322
16323 2001-03-14  Juergen Vigna  <jug@sad.it>
16324
16325         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16326
16327 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16328
16329         * buffer.C: add hack to fix compability reading of minipages.
16330
16331 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16332
16333         * buffer.C (getLists): Cleanup.
16334
16335 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16336
16337         * lyxfont.C (update): don't honor toggleall on font size.
16338
16339 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16340
16341         * bmtable.c:
16342         * bmtable.h:
16343         * Makefile.am: moved to frontends/xforms/
16344
16345         * lyx_gui_misc.C:
16346         * lyxfunc.C:
16347         * BufferView_pimpl.C: changes for moved mathpanel
16348
16349 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16350
16351         * gettext.h: fix gettext_init() in --disable-nls
16352
16353 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16354
16355         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16356
16357 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16358
16359         * lyx.C:
16360         * lyx.h: strip external form
16361
16362 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16363
16364         * BufferView_pimpl.C: add comment, destroySplash()
16365
16366 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16367
16368         * BufferView_pimpl.C:
16369         * LyXAction.C:
16370         * buffer.C:
16371         * commandtags.h:
16372         * lyxfunc.C: use re-worked insetinclude
16373
16374 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16375
16376         * buffer.C: add using std::stringstream.
16377
16378         * lyx_cb.C: readd using std::ios.
16379
16380         * buffer.C: add using std::map.
16381
16382         * BufferView_pimpl.C: add using std::vector.
16383
16384         * ShareContainer.h: add std:: to swap.
16385
16386         * buffer.h: add some typedefs
16387         * buffer.C (getLists): use them
16388         (getLists): renamed from getTocList.
16389         add a counter for the different float types and use it in the
16390         generated string.
16391         (getLists): use the same counter for the NEW_INSETS and the "non"
16392         NEW_INSETS
16393
16394         * lyx_cb.h: remove unused items, includes, using etc.
16395
16396         * ShareContainer.h: remove some commented code, add more comments
16397         and "documentation".
16398
16399 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16400
16401         * buffer.C (getTocList): make the list also when NEW_INSETS is
16402         defined.
16403
16404         * buffer.h: remove TocType
16405
16406         * buffer.C (getTocList): change to return a map<string,
16407         vector<TocItem> >, implement for dynamic number of list.
16408
16409         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16410         * text2.C (PasteSelection): adjust
16411         * CutAndPaste.C (pasteSelection): adjust
16412
16413         * FloatList.C (FloatList): update from the new_insets branch.
16414         * Floating.[Ch]: ditto
16415         * LaTeXFeatures.C: ditto
16416         * buffer.C: ditto
16417         * lyxlex_pimpl.C: ditto
16418
16419         * paragraph.C (Last): remove when NEW_INSETS is defined.
16420
16421         * other file: changes because of the above.
16422
16423 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16424
16425         * lyxparagraph.h: rename next to next_, previous to previous_,
16426         make them private for NEW_INSETS. Rename Next() to next(),
16427         Previous() to previous().
16428
16429         * other files: changes because of the above.
16430
16431 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16432
16433         * BufferView.h:
16434         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16435         problem.
16436
16437 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16438
16439         * main.C (main): pass lyx_localedir to gettext_init().
16440
16441         * gettext.h: remove locale_init and gettext_init macros
16442
16443         * gettext.C (locale_init): new function
16444         (gettext_init): new function
16445
16446         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16447         setlocale().
16448
16449 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16450
16451         * Moved credits to frontends:
16452         * credits.[Ch]: removed
16453         * credits_form.[Ch]: removed
16454         * lyx_gui_misc.C: remove credits stuff
16455         * Makefile.am:
16456
16457 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16458
16459         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16460
16461         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16462         unneeded destructor.
16463
16464         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16465         a standalone pointer again.
16466
16467         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16468
16469 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16470
16471         * Makefile.am:
16472         * filedlg.h:
16473         * filedlg.C:
16474         * LyXAction.C:
16475         * ToolbarDefaults.C:
16476         * bufferlist.C:
16477         * commandtags.h:
16478         * form1.C:
16479         * form1.h:
16480         * lyx_cb.C:
16481         * lyx_cb.h:
16482         * lyxfunc.h:
16483         * lyxfunc.C:
16484         * BufferView_pimpl.C: use new file dialog in GUII
16485
16486         * lyx_cb.h:
16487         * lyx_cb.C: remove LayoutsCB to Toolbar
16488
16489 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16490
16491         * ShareContainer.h (get): add std:: qualifier
16492
16493 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16494
16495         * ShareContainer.h: define a proper ShareContainer::value_type
16496         type (and use typename to please compaq cxx)
16497
16498 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16499
16500         * lyxparagraph.h: move serveral local vars to
16501         ParameterStruct/ParagraphParameters., use ShareContainer in
16502         FontTable., make vars in FontTable private and add getter and
16503         setter.
16504
16505         * paragraph.C: changes because of the above.
16506
16507         * lyxfont.h: remove copy constructor and copy assignment. (the
16508         default ones is ok), move number inside FontBits. move inlines to
16509         lyxfont.C
16510
16511         * lyxfont.C: add number to initializaton of statics, move several
16512         inlines here. constify several local vars. some whitespace
16513         cleanup. Dont hide outerscope variables.
16514
16515         * Spacing.h: add two new constructors to match the set methods.
16516
16517         * ShareContainer.h: new file, will perhaps be moved to support
16518
16519         * ParameterStruct.h: new file
16520
16521         * ParagraphParameters.h: new file
16522
16523         * ParagraphParameters.C: new file
16524
16525         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16526         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16527
16528         * BufferView_pimpl.C: ParagraphParameter changes.
16529         * buffer.C: Likewise.
16530         * bufferview_funcs.C: Likewise.
16531         * text.C: Likewise.
16532         * text2.C: Likewise.
16533
16534 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * lyxfind.C (LyXReplace): do not redefine default argument in
16537         implementation.
16538         (IsStringInText): ditto
16539         (SearchForward): ditto
16540         (SearchBackward): ditto
16541
16542 2001-03-06  Juergen Vigna  <jug@sad.it>
16543
16544         * lyxfind.C (IsStringInText): put parentes around expressions.
16545
16546 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16547
16548         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16549
16550 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16551
16552         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16553
16554         * stl_string_fwd.h: add comment
16555
16556         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16557
16558         * tabular.h:
16559         * tabular.C: remove unused DocBook methods
16560
16561         * intl.C:
16562         * language.C:
16563         * paragraph.C:
16564         * buffer.C:
16565         killed DO_USE_DEFAULT_LANGUAGE
16566
16567 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16568
16569         * lyx_gui.C: do not include language.h.
16570
16571         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16572         arguments in function implementation.
16573
16574 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16575
16576         * BufferView_pimpl.C: add <ctime>
16577
16578 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16579
16580         * BufferView_pimpl.C: add using std::find_if
16581
16582 2001-02-27  José Matos  <jamatos@fep.up.pt>
16583
16584         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16585         by OnlyPath.
16586
16587 2001-02-11  José Matos  <jamatos@fep.up.pt>
16588
16589         * buffer.C (makeDocBookFile): command styles now have a parameter as
16590         "title" by default.
16591
16592 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16593
16594         * layout_forms.[Ch]: removed
16595         * lyx_cb.[Ch]: out character
16596         * lyx_gui.C: out character
16597         * lyx_gui_misc.C: out character
16598         * bufferview_funcs.C: : out character,
16599         added toggleall as parameter in ToggleAndShow
16600
16601 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16602
16603         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16604
16605         * text2.C (SetCurrentFont): Disable number property at boundary.
16606
16607 2001-02-26  Juergen Vigna  <jug@sad.it>
16608
16609         * lyxfunc.C (getStatus): added a string argument override function so
16610         that this is correctly called from LyXFunc::Dispatch if it contains a
16611         do_not_use_argument which is used!
16612         (Dispatch): added check for "custom" export and call appropriate func.
16613
16614 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16615
16616         * lyxrc.C: Add language_command_local, language_use_babel and
16617         language_global_options.
16618
16619         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16620
16621         * buffer.C (makeLaTeXFile): Use language_use_babel and
16622         language_global_options.
16623
16624 2001-02-23  Juergen Vigna  <jug@sad.it>
16625
16626         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16627         which works with LyXText and putted it inside BufferView. Here now we
16628         only call for that part the BufferView::Dispatch() function.
16629
16630         * BufferView.C (Dispatch): added.
16631
16632         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16633         functions which needs to use a LyXText over from LyXFunc.
16634         (MenuInsertLyXFile): added
16635         (getInsetByCode): added
16636         (moveCursorUpdate): added
16637         (static TEXT): added
16638
16639 2001-02-22  Juergen Vigna  <jug@sad.it>
16640
16641         * BufferView_pimpl.C (update): call a status update to see if LyXText
16642         needs it.
16643
16644 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16645
16646         * vc-backend.C (revert): implement for CVS
16647         (getLog): implement for CVS
16648
16649 2001-02-20  Juergen Vigna  <jug@sad.it>
16650
16651         * text2.C (ClearSelection): added BufferView param for inset_owner call
16652
16653         * lyxfunc.C (TEXT): added this function and use it instead of
16654         directly owner->view()-text of getLyXText().
16655
16656 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16657
16658         * src/layout_forms.C: out preamble
16659         * src/layout_forms.h: out preamble
16660         * src/lyx_cb.C: out preamble
16661         * src/lyx_cb.h: out preamble
16662         * src/lyx_gui.C: out preamble
16663         * src/lyx_gui_misc.C: out preamble
16664         * src/lyxfunc.C: connect with guii preamble
16665
16666 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16667
16668         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16669
16670 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16671
16672         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16673         whether to run bibtex.
16674
16675 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16676
16677         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16678
16679 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16680
16681         * Makefile.am (lyx_SOURCES): removed bibforms.h
16682
16683         * vspace.h: doxygen
16684
16685         * text.C (GetVisibleRow): make several local vars const
16686
16687         * tabular.C: small cleanup.
16688
16689         * lyxserver.C (callback): use compare instead of strncmp
16690
16691         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16692         inlines to after class or to paragraph.C
16693
16694         * lyxfont.h: remove friend operator!=
16695
16696         * converter.h: move friend bool operator< to non friend and after
16697         class def.
16698
16699         * combox.h: small cleanup
16700
16701         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16702         to inlines after class def.
16703
16704         * buffer.C (pop_tag): use string operations instead of strcmp
16705
16706         * bmtable.c: doxygen, small cleanup
16707
16708         * LaTeX.h: remove friend operator==
16709
16710 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16711
16712         * screen.C:
16713         * lyxrc.[Ch]:
16714         * lyxfunc.C:
16715         * lyxfont.[Ch]:
16716         * lyx_cb.C:
16717         * intl.[Ch]:
16718         * commandtags.h:
16719         * buffer.C:
16720         * WorkArea.[Ch]:
16721         * LyXAction.C:
16722         * BufferView_pimpl.C:
16723         * BufferView.[Ch]: remove cruft
16724
16725 2001-02-14  Juergen Vigna  <jug@sad.it>
16726
16727         * lyxfunc.C: removed #if 0 unused code
16728
16729         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16730
16731         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16732
16733         * text2.C (SetSelection): added a BufferView * parameter
16734
16735 2001-02-13  Juergen Vigna  <jug@sad.it>
16736
16737         * lyxfunc.C (Dispatch): fixed protected blank problem.
16738         * BufferView2.C (protectedBlank): added LyxText * parameter.
16739
16740         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16741         (AppendColumn): same as above for column_info.
16742
16743         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16744         (moveCursorUpdate): use a LyXText param for support of InsetText.
16745
16746         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16747         (tripleClick): ditto
16748
16749         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16750
16751         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16752
16753         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16754
16755         * text2.C (SetSelection): set correct update status if inset_owner
16756         (ToggleFree): ditto
16757
16758 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16759
16760         * tabular.C: remove some commented code.
16761
16762 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16763
16764         * BufferView_pimpl.C: call hideSplash()
16765
16766         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16767
16768         * include_form.h:
16769         * bibforms.h: remove
16770
16771         * lyxfunc.C:
16772         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16773           add LFUN_CHILD_CREATE
16774
16775         * counters.h: fix tiny typo
16776
16777         * lyx_cb.C:
16778         * lyx.h:
16779         * lyx_gui.C:
16780         * lyx.C: move splash to frontends/xforms/
16781
16782         * lyx_gui_misc.C: move Include and Bibform to frontends
16783
16784         * lyxvc.h: clarify comment
16785
16786         * vspace.C: tiny housekeeping
16787
16788 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16789
16790         * text.C (PrepareToPrint): RTL Fix.
16791
16792         * paragraph.C (GetUChar): New method.
16793         (String):  Use GetUChar.
16794
16795         * buffer.C (asciiParagraph): Use GetUChar.
16796
16797 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16798
16799         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16800
16801 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16802
16803         * buffer.h:
16804         * buffer.C: rename to getLogName(), handle
16805           build log / latex log nicely
16806
16807 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16808
16809         * MenuBackend.C:
16810         * MenuBackend.h: remove support for reference menuitem type.
16811
16812 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16813
16814         * BufferView_pimpl.C: housekeeping
16815         * BufferView_pimpl.h:
16816         * LyXView.h:
16817         * Makefile.am:
16818         * Timeout.C:
16819         * Timeout.h:
16820         * minibuffer.h: move Timeout GUI-I
16821
16822 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16823
16824         * lyxrc.C (read): Update converters data-structures.
16825
16826 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16827
16828         * LaTeX.h (operator!=): add operator != for Aux_Info
16829
16830 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16831
16832         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16833
16834         * LaTeXLog.C: deleted, useful code moved to Buffer
16835
16836         * buffer.h:
16837         * buffer.C: new function getLatexLogName()
16838
16839         * lyx_gui_misc.C:
16840         * lyx_gui.C:
16841         * lyxvc.C:
16842         * lyxvc.h:
16843         * lyxfunc.C: use frontends for LaTeX and VC logs
16844
16845 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16846
16847         * LaTeX.h: yet another std:: that Allan forgot.
16848
16849         * Variables.C (set): renamed from isset(), because this clashes
16850         with some HP-UX macros (grr).
16851
16852 2001-02-06  Allan Rae  <rae@lyx.org>
16853
16854         * LaTeX.h: Another bug fix.  Missing std:: this time.
16855
16856 2001-02-04  Allan Rae  <rae@lyx.org>
16857
16858         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16859         floats problem. I've left it commented out because it's not quite
16860         correct.  It should also test that the current object is a table or
16861         figure inset.  But I haven't gotten around to figuring out how to do
16862         that.  I *think* it'll be something like: "table" == inset.type()
16863
16864         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16865         bool.
16866
16867 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16868
16869         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16870         all the citation/databases/styles in the auxilary file.
16871         (run): Rerun latex if there was a babel language error.
16872
16873 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16874
16875         * text.C (Backspace): Preserve the font when changing newline char
16876         with a space.
16877         (BreakParagraph): If the cursor is before a space, delete the space.
16878
16879         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16880
16881 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16882
16883         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16884         new argument (code).
16885         (ChangeCitationsIfUnique): New method.
16886
16887         * paragraph.C (GetPositionOfInset): Handle bibkey.
16888
16889 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16890
16891         * BufferView_pimpl.h: change type of Position::par_pos to
16892         LyXParagraph::size_type.
16893
16894 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16895
16896         * BufferView_pimpl.C (savePosition, restorePosition): Write
16897         messages to minibuffer.
16898
16899 2001-01-28  José Matos  <jamatos@fep.up.pt>
16900
16901         * buffer.C (makeDocBookFile): adds support for document language.
16902         A silly restriction on the name of LatexCommand types where removed.
16903         Added support for CDATA sections, allows to chars unescaped, used
16904         among others in code, to avoid escape < and >.
16905
16906 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16907
16908         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16909         saved positions instrad of a stack. Furthermore, a position is
16910         stored using paragraph id/paragraph position.
16911
16912         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16913         Remove LFUN_REF_BACK.
16914
16915 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16916
16917         * converter.C (dvipdfm_options): New method.
16918
16919 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16920
16921         * vspace.C (isValidLength): Fix for empty input string.
16922
16923 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16924
16925         * LyXAction.C (init): change description of LFUN_FIGURE to
16926         "Insert Graphics"
16927
16928 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16929
16930         * LaTeX.C: add using directive
16931
16932 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16933
16934         * MenuBackend.C (expand): Fix the sorting of the formats.
16935
16936 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16937
16938         * lyx_main.C: tiny error message fix
16939
16940 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16943         calling fl_initialize(). This fixes the problem with ',' as
16944         decimal separator in text files.
16945
16946 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16947
16948         * trans.C (process): Fix the keymap bug.
16949
16950 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16951
16952         * LaTeX.C (scanAuxFiles): New method. Provides support for
16953         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16954         (scanLogFile) Scan for "run BibTeX" messages.
16955
16956         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16957         OT1 font encoding. Also, load the aecompl package if the ae
16958         package is loaded.
16959
16960         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16961
16962 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16963
16964         * texrow.C (increasePos): turn two error messages into debug
16965         messages.
16966
16967 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16968
16969         * LaTeX.C (scanAux): Handle the \@input macro.
16970         (runBibTeX): Use scanAux().
16971
16972         * language.C (latex_options_): New field.
16973
16974         * LaTeXFeatures.C (getMacros): Add language macros.
16975
16976         * buffer.C (makeLaTeXFile): Small fix.
16977
16978 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16979
16980         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16981
16982         * text2.C: add a using directive.
16983
16984 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16985
16986         * BufferView2.C:
16987         * lyx_gui_misc.h:
16988         * lyxfr1.C:
16989         * lyxfunc.C: kill LyXBell.
16990
16991 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16992
16993         * text.C (IsBoundary): Remove the error message
16994
16995         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16996
16997         * lyxrc.C (setDefaults): Correct initialization value for
16998         font_norm_type.
16999
17000 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17001
17002         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17003         gotoError().
17004
17005         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17006         and GotoNextNote().
17007
17008         * src/LyXAction.C: Added reference-next.
17009
17010         * text.C (InsertChar): Use contains instead of strchr.
17011
17012         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17013
17014 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17015
17016         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17017         alignment commands (when needed).
17018
17019         * text.C (InsertChar): Add ':' to number separator chars.