]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
the convert patch
[lyx.git] / src / ChangeLog
1 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * lyxlayout.[Ch]: change some vars from float to double
4
5         * buffer.C (readFile): make a local var const
6
7         * Several files: use convert<> instead of atoi,strToXXX and friends
8
9 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10
11         * LaTeXFeatures.[Ch]: Add a static list packages_ that
12         holds the contens of packages.lst. New functions getAvailable
13         and isAvailable to parse and check that list, resp.
14
15         * LyXAction.C:
16         * lfuns.h:
17         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
18
19         * bufferparams.[Ch]: new param output_changes.
20
21         * Buffer.C: increase file format to 240.
22         Use output_changes and isVailable.
23
24         * changes.[Ch]:
25         * paragraph.C:
26         * paragraph_pimpl.C: Use output_changes and isVailable.
27
28 2005-01-23  Angus Leeming  <leeming@lyx.org>
29
30         * output_latex.C: #include "insetbibitem.h", rather than
31         forward declare function bibitemWidest.
32
33 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
34
35         * lyx_main.C (init): make it compile on the Mac.
36
37 2005-01-20  Angus Leeming  <leeming@lyx.org>
38
39         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
40         (setLyXMisc): (char string literal) != (char string literal) is
41         performing a comparison on the addresses. Convert one operand
42         explicitly to string to guarantee expected behaviour.
43         From MSVC warning.
44
45 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
46
47         * buffer.C:
48         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
49
50         * output_plaintext.C: remove unneeded #include gzstream.h.
51
52 2005-01-20  Angus Leeming  <leeming@lyx.org>
53
54         * SpellBase.h: rename some of the elements of the Result enum.
55
56         * aspell_local.h:
57         * ispell.h:
58         * pspell.h:
59         * aspell.C (check):
60         * ispell.C (check):
61         * pspell.C (check): ditto
62
63 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
64
65         * buffer.C: add #include <fstream>.
66
67         * lyx_main.C (init): Compile fix.
68
69         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
70
71 2005-01-20  Angus Leeming  <leeming@lyx.org>
72
73         * mover.h: change commentary to reflect the changed meaning of
74         the $$s placeholder.
75
76 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * output_linuxdoc.C (linuxdocParagraphs): silence warning
79
80         * lyxfind.C (MatchString::operator()): remove bogus semicolon
81
82 2005-01-20  Angus Leeming  <leeming@lyx.org>
83
84         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
85         printing diagnostic data by not dereferecing an iterator past the
86         end.
87
88 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
89
90         * buffer.C (readHeader): use "&&" rather than "and".
91
92         * lyxserver.h (inPipeName, outPipeName): make these const.
93
94 2005-01-19  Angus Leeming  <leeming@lyx.org>
95
96         * lyx_main.C (error_handler, init): protect SIGHUP with
97         #ifdef SIGHUP guards.
98
99 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
102
103 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * text.C (setHeightOfRow): add a margin at the top and bottom of
106         the document (bug 1761)
107
108 2005-01-17  Angus Leeming  <leeming@lyx.org>
109
110         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
111         with "python ". Workaround for a brain-dead Windows.
112
113 2005-01-16  Angus Leeming  <leeming@lyx.org>
114
115         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
116         for MacOSX and Windows to use prependEnvPath.
117         Strip out the hard-coded block to add elements to the PATH for
118         MacOSX and replace it with a call to prependEnvPath using the
119         contents of LyXRC::path_prefix.
120         (queryUserLyXDir): strip out the code to run reconfigure, instead
121         returning a boolean indicating the necessity to do so.
122         (reconfigureUserLyXDir): contains the code to reconfigure the
123         user support directory. Is now called after the various LyXRC data
124         files have been read.
125
126         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
127
128 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
129
130         * converter.[Ch] (convert): take a new parameter try_default. Use
131         a default converter (imagemagick) if try_default is true.
132
133 2005-01-13  Angus Leeming  <leeming@lyx.org>
134
135         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
136         os::cygwin_path_fix.
137         (write): output LyXRC::cygwin_path_fix as necessary.
138
139 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
140
141         * lyxrc.h:
142         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
143
144 2005-01-12  Angus Leeming  <leeming@lyx.org>
145
146         * lyx_main.C (init): set the PATH variable to include the
147         directory containing the LyX binary when running on Mac or Windows.
148
149 2005-01-12  Angus Leeming  <leeming@lyx.org>
150
151         * lyx_main.C (init): remove cruft that purports to set the locale
152         dir. It doesn't and is not needed anyway.
153
154 2005-01-10  Angus Leeming  <leeming@lyx.org>
155
156         * Makefile.am: remove the lyx_main.C special casing.
157
158         * BufferView_pimpl.C:
159         * bufferlist.C:
160         * exporter.C:
161         * lyx_cb.C:
162         * lyx_main.C:
163         * lyxfunc.C:
164         * messages.C: use support/package.h to provide the paths to the
165         various directories used by LyX.
166
167 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
168
169         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
170         layout if pasting into an empty paragraph)
171
172 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
173
174         * tex-accent.C: add <string>
175
176 2005-01-06  José Matos  <jamatos@lyx.org>
177
178         * ParagraphParameters.C (write): put every parameter in its own line.
179         * paragraph.C (write): reduce number of consecutive empty lines exported.
180         * buffer.C (LYX_FORMAT): increase file format to 239.
181
182 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
183
184         * everywhere: change support/tostr.h -> support/convert.h
185
186         * tabular.C: make all write_attributes templates, tostr -> convert
187
188         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
189         (emptyTag): and -> &&, and fix type for ret from getChar
190         (getFirstWord): fix type for ret from getChar
191         (onlyText): and -> &&
192         (simpleDocBookOnePar): and not -> && !, fix type for ret from
193         getChar
194
195         * toc.C (goTo, action):
196         * text3.C (dispatch):
197         * text.C (currentState):
198         * tex-accent.C (DoAccent):
199         * sgml.C:
200         * lyxrc.C:
201         * lyxfunc.C (menuNew):
202         * lyxfinc.C (replace):
203         * counters.C (laberItem):
204         * bufferview_funcs.C (font2string):
205         * bufferparams.C (writeFile):
206         * buffer.C (readFile):
207         * Spacing.C (set):
208         * MenuBackend.C: tostr -> convert
209
210         * LaTeX.C (runMessage): fix format
211         (scanAuxFiles): tostr -> convert
212
213         * BufferView_pimpl.C (savePosition): fix format
214         (restorePosition): ditto
215         (dispatch): ditto
216
217 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
218
219         * Spacing.[Ch]: New method getValueAsString().
220
221         * Spacing.[Ch]:
222         * bufferparams.C:
223         * ParagraphParameters.C:
224         * lyxlayout.C:
225         * text.C:
226         * text3.C: store/read spacing value as string.
227
228         * rowpainter.C: change float value (spacing_val) to double.
229
230         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
231         broken custom document spacing).
232
233 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
234
235         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
236         namespace, also more use of temp references and const
237
238         * cursor.[Ch] (getStatus): move to lyxfunc.C
239
240         * bufferparams.C: reformat slightly
241
242         * bufferview_funcs.C (font2string): constify arg
243
244         * changes.C:
245         * converter.C:
246         * counters.C:
247         * bufferlist.C:
248         * buffer_funcs.C: (many funcs): constify arg on function
249         definitions, also make more local vars const, also add ASSERTS on
250         pointer args.
251
252         * buffer.C (LYX_FORMAT): put const in correct place
253         (many funcs): constify arg on function definitions, also make
254         more local vars const
255
256         * aspell_local.h: remove "struct" from typdef setup
257
258         * aspell.C (check): make word_ok const
259         (nextMiss): simplify slightly
260         (error): ditto
261
262 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
263
264         * lyxrc.[Ch]: store all float values as strings.
265         use int (not float) for lyxrc.dpi.
266
267 2005-01-04  Angus Leeming  <leeming@lyx.org>
268
269         * lyx_cb.C (Reconfigure):
270         * lyx_main.C (queryUserLyXDir):
271         to run the <system_lyxdir>/configure correctly on Windows, prefix
272         the path to the script with "sh " when generating the string that
273         is passed to system().
274
275 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
276
277         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
278
279 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * lyxlength.C (asLatexString): get rid of setprecision
282
283 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * text2.C (setLayout): remove unused variable endpit.
286         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
287
288         * paragraph.C (onlyText): remove unused variable style.
289
290         * cursor.C (bruteFind): remove unused variables beg and end.
291
292         * Makefile.am (dist_noinset_DATA): not needed anymore
293
294         * cheaders/*: remove.
295
296 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * text3.C: fix LFUN_MATH_MODE.
299
300 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * buffer_funcs.C (countWords): new function. Counts words between
303         two iterators.
304
305         * BufferView_pimpl.C (getStatus, dispatch): handle
306         LFUN_WORDS_COUNT.
307
308         * LyXAction.C (init):
309         * lfuns.h: add LFUN_WORDS_COUNT.
310
311 2004-12-19  Angus Leeming  <leeming@lyx.org>
312
313         * buffer.C (save): s/slashify_path/internal_path/.
314
315 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
316
317         * lyxfind.C (findChange): do not search for end of pars, because
318         the change tracker cannot handle this (fixes bug 1719).
319
320 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
321
322         * paragraph.[Ch] (autoBreakRows): remove
323
324         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
325
326         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
327         avoid using the paragraph one
328
329         * text2.C (LyXText, insertStringAsLines): adjust
330
331 2004-12-16  Angus Leeming  <leeming@lyx.org>
332
333         * bufferlist.C:
334         * lyx_main.C:
335         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
336
337 2004-12-14  Angus Leeming  <leeming@lyx.org>
338
339         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
340
341         * bufferlist.C (emergencyWrite):
342         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
343         GetEnvPath("HOME").
344
345 2004-12-14  Angus Leeming  <leeming@lyx.org>
346
347         * main.C: (main): no longer pass pointers to os::init.
348
349 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
350
351         * undo.C (textUndoOrRedo): simplify logic, fix a crash
352         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
353
354 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
355
356         * lyxfunc.C:
357         * text3.C: remove selection_possible global flag
358
359 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
360
361         * text2.C (getSelectionSpan): remove
362         (changeDepth, changeDepthAllowed): adjust
363
364 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
365
366         * Makefile.am (BOOST_LIBS): use boost variables
367
368 2004-12-03  José Matos  <jamatos@lyx.org>
369
370         * buffer.C: format up to 238.
371
372 2004-12-03  José Matos  <jamatos@lyx.org>
373
374         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
375
376 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
377
378         * cursor.C (goUpDown): remove call to idxUpDown2
379
380 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
381
382         * tabular.[Ch]: use size_t-like types for cell, row and column
383         indices
384
385 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * lyxfunc.C (getStatus): do not lose previous information when
388         calling BufferView::getStatus; do not set a default "Command
389         disabled" message at the beginning, but just before returning.
390
391 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * cursor.h (getStatus): add better comment from src/cursor.C
394
395 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * text3.C (getStatus): return false when the lfun is not handled
398
399 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
400
401         * broken_headers.h: remove
402
403         * Makefile.am (lyx_SOURCES): remove broken_headers.h
404
405 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
406
407         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
408         offset_ref accessors
409
410         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
411         top_y_, merge fitcursor with update
412         (updateScrollbar, scrollDocView, fitCursor, center, update): new
413         coord scheme
414         (metrics): introduce
415         (workAreaDispatch): adapt to new coord scheme
416         (redoCurrentBuffer): remove
417
418         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
419
420         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
421         CurStatus enum.
422
423         * coordcache.[Ch]: add paragraph cache and helpers
424
425         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
426         adjust everywhere
427
428         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
429         (targetX, setTargetX): introduce
430
431         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
432         baseline -> ascent, as the rest of lyx
433
434         * lyxtext.h: remove redoParagraphs, updateParPositions,
435         fullRebreak, redoParagraphInternal. move dist to anon namespace in
436         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
437         have ascent/descent (ascent is ascent of first par)
438
439         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
440         step of BufferView
441
442         * paragraph.[Ch]: unify dimension handling with the rest of lyx
443
444         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
445
446         * pariterator.C: fix infinite loop introduced in par->pit renaming
447
448         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
449         in insets and LyXText, draw two off-screen paragraphs using
450         NullPainter, and adapt to new coord scheme
451
452         * text.C:
453         * text2.C:
454         * text3.C: adapt lfun handlers to the new coord scheme, which
455         means: there's only guaranteed coord information for onscreen pars
456         plus one above and one below. This implies that one can do search
457         from y coordinates in the range [-1,workHeight]
458
459 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
460
461         * rename a lot of InsetOld to InsetBase
462
463 2004-11-25  Angus Leeming  <leeming@lyx.org>
464
465         * BufferView_pimpl.C:
466         * lyx_cb.C:
467         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
468
469 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
472         call BufferView::getStatus if LCursor::getStatus did nothing
473         (setStatusMessage, getStatusMessage): removed.
474
475         * FuncStatus.C (message): new methods. Used to provide an error
476         message indicating why a command is disabled.
477         (clear, |=, FuncStatus): update for message.
478
479 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
480
481         * lyxfunc.C (dispatch): always call sendDispatchMessage
482
483 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
484
485         * BufferView.C:
486         * BufferView_pimpl.C:
487         * CutAndPaste.C:
488         * FontIterator.C:
489         * buffer.C:
490         * cursor.C:
491         * cursor_slice.[Ch]:
492         * dociterator.[Ch]:
493         * lyxfind.C:
494         * paragraph_funcs.C:
495         * pariterator.C:
496         * rowpainter.C:
497         * text.C:
498         * text2.C:
499         * text3.C:
500         * undo.C: par->pit renaming
501
502 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
503
504         * tabular.C (cellstruct): use initialization, store a shared_ptr
505         to insettext instead of the insettext directly, adjust to fit.
506         (operator=):  new function
507         (swap): new function
508         (rowstruct): use initialization
509         (columnstruct): use initialization
510         (ltType): use initialization
511
512
513         * lyxlength.h (swap): new function
514
515         * LColor.[Ch] (operator=): use the common semantics
516
517 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * lyxfind.C (findNextChange): update the bufferview after setting
520         the selection.
521
522 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
525         number of InsetOptArgs has already been inserted.
526
527         * output_latex.C (latexOptArgInsets): new method. This outputs all
528         the optarg insets, up to the limit defined in the layout file.
529         (optArgInset): removed
530         (TeXOnePar): call latexOptArgInsets; correctly update texrow
531
532 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * paragraph.C (isLetter): remove special spellchecker-related
535         code; return true also for digits
536         (isWord, isKomma): remove
537
538         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
539         * lyxfind.C (MatchString()): use isLetter instead of isWord
540
541 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
542
543         * pariterator.h (operatir=): comment out un-implemented member
544         function.
545
546         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
547         static cast.
548
549 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
550
551         * lyxfont.h: include LColor.h to satisfy concept checks.
552
553 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
554
555         * pariterator.h: add typdefs for value_type, difference_type,
556         pointer and reference to satisfy concept checks. Also add default
557         constructor for same reason.
558
559         * pariterator.C (operator++): add post-increment operator to
560         satisfy concept checks.
561
562         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
563         checks.
564
565         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
566
567         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
568         checks. Also rename base_type to BaseType to follow naming
569         standard better.
570
571         * FloatList.h: include Floating.h to satisfy concept checks.
572
573 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
574
575         * lyxfunc.C (getStatus): when the origin of the request is menu or
576         toolbar, and the LyXView does not have focus, do as if there was
577         no buffer (bug 1720)
578
579         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
580         FuncRequest to individual entries of LFUN_SEQUENCE
581
582 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * output_latex.C (TeXOnePar): override runparams.moving_arg
585         according to the needprotect value of the current paragraph (bug
586         1739)
587
588         * paragraph.C (simpleTeXOnePar): no need to override
589         runparams.moving_args here
590
591 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
592
593         * vspace.C: fix off-by-one-error, related to fix #1682
594
595 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
596
597         * lengthcommon.C: a more general fix for bug 1682
598
599 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
600
601         * text.C (backspace): fix crash
602
603 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
604
605         * format.[Ch] (getFormatFromFile): new method
606         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
607
608 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
609
610         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
611
612 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * lyxfunc.C (dispatch): remove the verbose argument
615         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
616         instead
617
618         * kbmap.C (defkey): set the origin of func to KEYBOARD
619
620         * MenuBackend.C (MenuItem):
621         * ToolbarBackend.C (add): set the origin of func to UI
622
623         * funcrequest.[Ch]: add origin member, which indicates which part
624         of LyX requests an action
625
626 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
627
628         * converter.C (move): don't lie in the error message
629         * converter.h (isReachable, move): document
630
631 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
632
633         * buffer.C: remove unused using lyx::support::atoi
634         * paragraph_funcs.C: ditto
635
636 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
637
638         * bufferlist.C (exists): use bind and equal_to instead of
639         compare_memfun
640         (getBuffer): ditto
641         * lyxtextclasslist.C (NumberOfClass): ditto
642
643         * cursor.C (insert): use for_each instead of explicit for loop
644
645         * bufferlist.C (getFileNames): use std::transform and
646         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
647
648         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
649         for loop
650
651         * buffer.C (changeLanguage): use for_each instead of explicit for
652         loop
653         (hasParWithID): implement using getParFromID
654
655         * LaTeXFeatures.C: ws change only
656
657         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
658         to cleanup a bit.
659
660         * BufferView_pimpl.C (trackChanges): use for_each instead of
661         expilicit for loop
662
663 2004-11-04  André Pönitz  <poenitz@gmx.net>
664
665         * undo.h:
666         * undo.C (textUndoOrRedo): fix crash when creating undo information.
667
668         * dociterator.C (asDocIterator): use hard assert again.
669
670 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * lyxlength.C (asLatexString): rewrite so that it does not use
673         snprintf anymore
674
675 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
676
677         * text3.C (specialChar, dispatch): make sure cursor moves to the
678         right after inserting an inset
679
680 2004-11-02  José Matos  <jamatos@lyx.org>
681
682         * output_docbook.C (docbook):
683         * paragraph.C (getID):
684         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
685         garantee that the output is always legal.
686
687         * tabular.C (docbook):
688         * outputprams.[Ch]: remove mixed contents.
689
690 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
691
692         * text2.C (setCounter): prevent endless loop
693
694 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
695
696         * exporter.C (copyFile): use the mover instead of support::copy()
697         * exporter.C (Export): pass format and latex name to copyFile()
698         * exporter.h (addExternalFile): document
699         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
700
701 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
702
703         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
704
705 2004-10-30  José Matos  <jamatos@lyx.org>
706
707         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
708         text and no inset or font change. This allows to use CDATA
709         sections just for the whole paragraph.
710
711 2004-10-30  José Matos  <jamatos@lyx.org>
712
713         * paragraph.C (getFirstWord): remove unused variable.
714
715 2004-10-30  José Matos  <jamatos@lyx.org>
716
717         * paragraph.C (getFirstWord): the content should always be escaped
718         there.
719         (simpleDocBookOnePar):
720         * output_docbook.C (makeEnvironment): replace reference to CDATA
721         to style pass_thru.
722
723 2004-10-30  José Matos  <jamatos@lyx.org>
724
725         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
726
727 2004-10-30  José Matos  <jamatos@lyx.org>
728
729         * output_docbook.C (makeParagraphs):
730         * paragraph.[Ch] (emptyTag): for docbook and company, if the
731         standard paragraph has only a given type of content drop the wrapper.
732
733 2004-10-29  José Matos  <jamatos@lyx.org>
734
735         * output_docbook.C (makeEnvironment):
736         * sgml.C (openTag):
737         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
738
739 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
740
741         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
742         (cleanID): sanitize any id.
743
744 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
745
746         * buffer.C, lyxlex_pimpl.C:
747         * lyxlex_pimpl.C (setFile):
748         s/getExtFromContents/getFormatFromContents/
749
750 2004-10-28  José Matos  <jamatos@lyx.org>
751
752         * output_docbook.C (makeEnvironment): move id to broadest possible
753         scope.
754
755         * sgml.C (openTag): apply substitution of <> for all attributes.
756
757 2004-10-28  José Matos  <jamatos@lyx.org>
758
759         * buffer.C (makeLinuxDocFile, makeDocBookFile):
760         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
761         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
762
763         * sgml.[Ch]: new version for open and closeTag for paragraph and
764         for strings. Now they handle the ids of paragraphs.
765
766 2004-10-26  Angus Leeming  <leeming@lyx.org>
767
768         * Makefile.am: add mover.[Ch].
769
770         * converter.C (convert, move): use the new Movers to move external
771         files to the temp directory.
772
773         * lyx_main.C (init): ensure that the global system_movers data
774         is initialised.
775
776         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
777         preferences file.
778
779         * mover.[Ch]: new files, defining a Mover as a utility to move an
780         external file between directories and, if necessary, manipulate this
781         file using a helper script.
782
783 2004-10-25  José Matos  <jamatos@lyx.org>
784
785         * output_docbook.C (makeCommand): merge two if's that tested the
786         same condition.
787
788 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * sgml.C (escapeString): fix warning in a better way
791
792 2004-10-25  José Matos  <jamatos@lyx.org>
793
794         * sgml.C (escapeString): import the require boosts header file for
795         tie, and avoid a signed unsigned comparison.
796
797 2004-10-25  José Matos  <jamatos@lyx.org>
798
799         * sgml.h: add #include <string>
800
801 2004-10-25  José Matos  <jamatos@lyx.org>
802
803         * sgml.[Ch] (escapeString): new function to escape all the string.
804
805 2004-10-24  José Matos  <jamatos@lyx.org>
806
807         * paragraph.[Ch] (getFirstWord): new function to get the first
808         word. Useful for description.
809         (simpleDocBookOnePar): remove depth argument, add another that
810         says where to start the paragraph.
811
812         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
813         use the new functions to fix cleanly the support for descriptions.
814
815 2004-10-24  José Matos  <jamatos@lyx.org>
816
817         * buffer.C (makeLinuxDocFile, makeDocBookFile):
818         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
819         * output_linuxdoc.C (linuxdocParagraphs):
820         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
821         add buffer as argument.
822
823 2004-10-24  José Matos  <jamatos@lyx.org>
824
825         * output_docbook.C (makeEnvironment, searchEnvironment): place
826         CDATA inside paragraphs and fix scope for listitems.
827
828 2004-10-24  José Matos  <jamatos@lyx.org>
829
830         * output_docbook.C: remove using statement for stack.
831
832 2004-10-23  José Matos  <jamatos@lyx.org>
833
834         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
835         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
836         docbook. The new scheme is recursive and makes use of iterators, the
837         same as latex export works.
838         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
839         directly with the paragraph contents. This code was moved up to
840         output_docbook.C (docbookParagraphs).
841         * sgml.C (openTag, closeTag): removed unneeded newlines.
842         (closeEnvTags) removed.
843
844 2004-10-23  André Pönitz  <poenitz@gmx.net>
845
846         * undo.C (textUndoOrRedo):
847         * dociterator.C (asDocIterator): work around crash
848
849         * cursor.C (getStatus): replace ASSERT by more verbose error message
850           and manual correction of the problem. Should increase stability
851           while providing more sensible information.
852
853 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
856
857         * bufferlist.C (previous, next): new methods
858
859         * lfuns.h:
860         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
861
862 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
863
864         * buffer.C (makeDocBookFile): add dsssl stylesheet control
865         entities to preamble.
866
867 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
868
869         * messages.C (Pimpl): strip off translation context information
870
871 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
874         the cursor is correct (bug 1694)
875
876 2004-10-13  José Matos  <jamatos@lyx.org>
877
878         * output_docbook.C (docbookParagraphs): fix closing tags in the
879         end of the document.
880
881 2004-10-09  José Matos  <jamatos@lyx.org>
882
883         * buffer.C: format up to 237.
884         * bufferparams.C (write): use tostr to convert booleans to strings.
885
886 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
887
888         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
889
890 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
891
892         * LaTeX.C: implement use of babel language in xindy.
893
894 2004-10-05  José Matos  <jamatos@lyx.org>
895
896         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
897         Add new translators to help reading and writing the lyx file.
898
899 2004-10-05  José Matos  <jamatos@lyx.org>
900
901         * ParagraphParameters.C (read):
902         * text.C (readParToken): replace nexToken by more appropriate lex
903         methods.
904
905 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
906
907         * LaTeX.C (runMakeIndex):
908         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
909         (usually 'makeindex') configurable.
910
911         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
912         with a variable rather than with a number.
913
914 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915
916         * output_latex.C (TeXOnePar): make sure font setting is the first
917         thing that gets output (and the last at the end). Should fix bug
918         1404.
919
920 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
921
922         * pch.h: use proper signal include
923
924         * LaTeX.h: Use preferred calling of Boost.Signal
925         * buffer.h: ditto
926
927 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
928
929         * pch.h: dont include <boost/function/function0.hpp>
930
931         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
932
933         * paragraph_pimpl.h: remove usage of ShareContainer
934
935         * paragraph_pimpl.C: remove initialization of ShareContainer.
936
937 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         Fix bug #1666
940
941         * BufferView.C (putSelectionAt): change the semantics when
942         backwards == true: now, this just swaps cursor and anchor wrt the
943         forward case
944
945         * BufferView.h (putSelectionAt): add some documentation
946
947         * lyxfind.C (findBackwards): rewrite using while(). In particular,
948         make sure backwardChar is done at least once (to avoid getting
949         stuck)
950         (findNextChange): use putSelectionAt in the forward direction
951         (operator()): use Paragraph::isWord
952
953 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
954
955         * Spacing.C (set): c_str fix
956
957 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * lyx_cb.C (Reconfigure): quote the name of configure script in
960         case it contains spaces
961
962 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
963
964         * client: new dir
965
966         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
967         (BOOST_LIBS): use top_buildir when looking for the file
968
969 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
970
971         * pch.h: do not use include boost/format.hpp, multiple symbols
972                 will result (gcc bug)
973
974
975 2004-08-23  José Matos  <jamatos@lyx.org>
976
977         * bufferparams.C (readToken): fix reading of the author field.
978
979 2004-08-20  José Matos  <jamatos@lyx.org>
980
981         * lyxrc.C: remove support/translator.h inclusion since it is not used.
982
983 2004-08-20  José Matos  <jamatos@lyx.org>
984
985         * lyxlex.[Ch] (findToken): remove function.
986
987         * ParagraphParameters.C (findToken):
988         * bufferparams.C (findToken): replace call for previous function
989         with local copy. This local function has one more argument, the
990         read string argument.
991
992 2004-08-16  José Matos  <jamatos@lyx.org>
993
994         * ParagraphParameters.C (write):
995         * Spacing.C (writeFile):
996         * bufferparams.C (writeLaTeX):
997         * lyx_cb.C (Reconfigure):
998         * paragraph.C (write):
999         * tabular.C (write): remove unnecessary space at end of line.
1000
1001
1002 2004-08-16  José Matos  <jamatos@lyx.org>
1003
1004         * text.C (readParagraph): remove debug message.
1005
1006 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1007
1008         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1009         crash
1010
1011         * output_plaintext.C (asciiParagraph): set depth correctly
1012
1013         * outputparams.h: add member depth
1014
1015         * paragraph_funcs.C (ownerPar): remove.
1016
1017         * text2.C (setCounter): remove first_pit; comment out some
1018         non-working code that uses ownerPar
1019
1020         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1021         uses ownerPar
1022
1023 2004-08-16  José Matos  <jamatos@lyx.org>
1024
1025         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1026         For the same level of importance use the same chanel to report problems.
1027         (read): add code to deal with \begin_body and \end_body.
1028
1029
1030 2004-08-15  José Matos  <jamatos@lyx.org>
1031
1032         * lyxlex.C (getString): fix comment, buffer::readBody is now
1033         buffer:readDocument.
1034
1035         * tex-strings.C (string_papersize): Default -> default,
1036         Custom -> custom, for consistency with other options.
1037
1038 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1039
1040         * pch.h: new file
1041
1042         * Makefile.am: support pch
1043
1044 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1045
1046         * text.C (readParToken): remove the static LyXFont variable and
1047         pass it as a parameter instead. This fixes a nasty bug where an
1048         inset will be inserted with a bad font in some situations
1049         (readParagraph): adapt
1050
1051         * text2.C (setCounter): reduce number of calls to pars_[pit]
1052
1053         * text.C (singleWidth): add an assert, fix a test
1054
1055         * rowpainter.C (paintText): reduce number of calls to singleWidth
1056
1057         * paragraph.C (isHfill):
1058         (isNewline): ws only
1059
1060 2004-08-14  André Pönitz  <poenitz@gmx.net>
1061
1062         * text.C:
1063         * text2.C:
1064         * rowpainter.C:
1065         * lyxtext.h (several functions): use a Paragraph & argument
1066         instead of par_type
1067
1068 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1069
1070         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1071
1072         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1073
1074         * text.C (singleWidth): remove useless test
1075
1076 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1077
1078         * tabular.h: remove bogus comments
1079
1080         * tabular.C (getDescentOfRow):
1081         (isPartOfMultiColumn): add assertions
1082
1083         * lyxlength.C (inPixels): remove #warning
1084
1085 2004-08-14  André Pönitz  <poenitz@gmx.net>
1086
1087         * paragraph.h: inline getChar()
1088
1089         * BufferView.h: remove unused declarations
1090
1091 2004-08-14  José Matos  <jamatos@lyx.org>
1092
1093         * Buffer.[Ch] (readDocument): new name for old readBody.
1094         * Buffer.C: new file format, new keywords: \begin_document,
1095         \begin_header, \begin_body, \end_body.
1096
1097         * bufferparams.C (readToken): replace all calls to lex.nextToken
1098         by lex.next(). Do the same to eatLine except where really needed.
1099
1100         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1101         line when writing to the lyx file.
1102
1103         * output_plaintext.C (asciiParagraph): fix Bibliography style
1104         handling.
1105
1106         * text.C (read): fix end of file handling.
1107
1108 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * MenuBackend.C (Menu::operator[]): new method to access
1111         individual menu items
1112         (Menu::hasFunc): new method. search for an item that corresponds
1113         to a given func
1114         (MenuBackend::specialMenu): new method
1115         (MenuBackend::expand): if a special menu has been set, skip
1116         entries whose func() appears in this menu
1117
1118 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1119
1120         * text3.C: use Debug::DEBUG a bit more
1121
1122         * text.C (leftMargin): try to simplify a tiny bit change var x to
1123         l_margin. Dont output the wide margins always.
1124         (rightMargin): no margin in inner texts
1125
1126         * rowpainter.h (nestMargin): new func
1127         (changebarMargin): new func
1128         (rightMargin): new func
1129
1130         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1131         now functions.
1132         (paintLast): ditto
1133
1134         * factory.C (createInset): modify setDrawFrame
1135
1136         * cursor.C: use Debug::DEBUG a bit more
1137
1138 2004-08-14  André Pönitz  <poenitz@gmx.net>
1139
1140         * coordcache.[Ch]:
1141         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1142         cache for all insets in (at least partially) visible (top-level)
1143         paragraphs.
1144
1145         * BufferView_pimpl.C: reset external coord cache before every update.
1146         This means the coord cache only contains valid entries.
1147
1148 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1149
1150         bug 1096
1151         * BufferView_pimpl.C (getInsetByCode): move function out of class
1152         and change in to a template in anon namespace. Also fix to do what
1153         suits us better.
1154
1155 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1156
1157         bug 1305
1158         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1159         of char
1160         (breakParagraph): rename par to par_offset and use a local
1161         reference. Add code to keep the language over a rebreak.
1162         (breakParagraphConservative): rename par to par_offset, use a
1163         local reference
1164         (mergeParagraph): ditto
1165         (outerHook): ditto
1166         (isFirstInSequence): ditto
1167         (outerFont): rename pit to par_offset
1168
1169         * paragraph.C: ws change
1170         * paragraph.h: ditto
1171         * text3.C: ditto
1172         * text.C: ditto
1173
1174 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1175
1176         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1177         treatment for ']'
1178
1179         * paragraph.C (simpleTeXOnePar): when we have a \item with
1180         optional argument, enclose the argument with curly brackets (in
1181         case it contains a closing square bracket)
1182
1183         * text2.C (editXY):
1184         * text2.C (editXY):
1185         * text3.C (checkInsetHit): constify
1186
1187 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1190         documents (bug 1629)
1191
1192 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193
1194         Fix toggling of collapsable insets with the mouse (bug 1558)
1195
1196         * lyxfunc.C (dispatch): adapt to LCursor changes
1197
1198         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1199         make sure that dispatch is not invoked twice
1200
1201         * cursor.C (needsUpdate): new method
1202         (dispatch): return void
1203         (result): new method, to access the DispatchResult of the cursor.
1204
1205 2004-08-13  José Matos  <jamatos@lyx.org>
1206
1207         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1208
1209 2004-08-13  André Pönitz  <poenitz@gmx.net>
1210
1211         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1212
1213         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1214           multiple cells
1215
1216 2004-08-12  André Pönitz  <poenitz@gmx.net>
1217
1218         * text3.C: take out the 'cursor right' form insertInset and only
1219         do it in those places when it is really needed. Fixes crash on
1220         C-m...
1221
1222 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1223
1224         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1225
1226         * BufferView_pimpl.C (setBuffer): initialize the current font of
1227         the underlying LyXText
1228
1229 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * kbsequence.C (print): use UI native formatting for menu
1232         shortcuts
1233
1234         * text.C (insertChar): call Paragraph::insertChar with a font
1235         argument (cosmetic)
1236
1237         * paragraph.C (insertInset, insertChar): the version that takes a
1238         LyXFont argument is now a wrapper around the other one (the
1239         opposite used to be true).
1240
1241         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1242         argument. Font setting is done in Paragraph now.
1243
1244 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1245
1246         * outputparams.h: add new members intitle and lang.
1247
1248         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1249         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1250
1251 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1252
1253         * text3.C (dispatch): remove special handling of button 4 and 5,
1254         it is now taken care of in the frontend code.
1255
1256 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1257
1258         * Spacing.h: add <string> (STLPort compile fix)
1259
1260 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1261
1262         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1263
1264 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1265
1266         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1267         to bool.
1268
1269         * converter.C (showMessage): inherit from unary_function, make
1270         operator() const.
1271
1272         * buffer.C (writeFile): initialize retval
1273
1274         * InsetList.h: rename private variable list to list_
1275         * InsetList.[Ch]: adjust accordingly.
1276
1277 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1278
1279         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1280         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1281         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1282         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1283         * ParagraphParameters.C, LaTeXFeatures.C: replace
1284         "support/std_sstream.h" with <sstream>
1285
1286 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1287
1288         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1289         * lyxsocket.C (LyXServerSocket): ditto
1290         (serverCallback): ditto
1291
1292 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1293
1294         * LaTeXFeatures.C: check release date when loading jurabib.
1295
1296 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1297
1298         * lyxserver.C (startPipe): call register_socket_callback
1299         (endPipe): call unregister_socket_callback
1300
1301 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1302
1303         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1304         (LyXServerSocket): register the callback
1305         (LyXServerSocket): unregister the callback
1306         (fd): delete function
1307         (serverCallback): improve error checking and setup the callbacks.
1308         (dataCallback): change arg to fd.
1309         (writeln): new func (copied fro the client socket) used for server
1310         write to client.
1311         (LyXDataSocket): simplify
1312         (~LyXDataSocket): close ann unregiser callback
1313         (server): delete function
1314         (fd): delete function
1315         (readln): small changes, improve some std::string usage
1316         (writeln): constify a bit
1317
1318 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1319
1320         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1321         Qt frontend
1322
1323 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1324
1325         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1326         after it has been populated
1327
1328 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1329
1330         * text2.C (insertInset): move cursor when inserting inset.
1331
1332 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333
1334         * kbmap.C (findbindings): a couple of new methods. returns a
1335         container of kb_sequence objects. The real work is done by the
1336         private recursive version
1337         (printbindings): uses findbindings to print out a bracketed list
1338         of bindings (renamed from findbinding).
1339
1340         * MenuBackend.C (binding): use kb_keymap::findbindings
1341
1342         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1343
1344 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1345
1346         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1347
1348 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1349
1350         * paragraph.C (isWord): return true on insets that report
1351         isLetter().
1352
1353         * text.C (getWord): use Paragraph::isWord to decide what is in a
1354         word and what is not; fix bug 1609.
1355
1356 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1357
1358         * tex-strings.C: add "none" to string_paperpackages[], fixes
1359         off-by-one-error in the paperpackage selection.
1360
1361         * lyxlex.[Ch]:
1362         * tex-strings.[Ch]: char const * string[n]
1363         -> char const * const string[]
1364
1365 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1366
1367         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1368         command, return early.
1369
1370 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1371
1372         * debug.h: add DEBUG to enum and fix size of ANY.
1373
1374         * debug.C: add support for Debug::DEBUG
1375         (showTags): cast errorTags.level to unsigned int
1376
1377         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1378         (redoCurrentBuffer): ditto
1379         (updateScrollbar): ditto
1380         * cursor.C (dispatch): ditto
1381         * text2.C (setLayout): ditto
1382         (setFont): ditto
1383         (updateCounters): ditto
1384         (editXY): ditto
1385         (deleteEmptyParagraphMechanism): ditto
1386
1387 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1388
1389         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1390         annotations to cleanup the Makefile slightly.
1391
1392 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * lyxrc.C: do not set user_email to a default value but use empty
1395         instead. The entry used to be translated, which does not work
1396         since at the point where lyxrc is constructed there is no
1397         translation service available
1398
1399         * messages.C (getLocaleDir): remove and use directly
1400         lyx_localedir() instead
1401
1402 2004-06-02  Angus Leeming  <leeming@lyx.org>
1403
1404         Fix crash caused by dereferencing null pointer 'exportdata' in
1405         OutputParams by creating a new ExportData variable on the heap,
1406         storing it in a boost::shared_ptr.
1407         The crash was triggered when generating an Instant Preview
1408         of an external inset.
1409
1410         * Makefile.am: add outputparams.C
1411
1412         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1413         (c-tor): allocate memory to it.
1414
1415         * exporter.C (c-tor): associated changes.
1416
1417 2004-06-01  Angus Leeming  <leeming@lyx.org>
1418
1419         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1420         contains data before calling isInset(0). (Bug 1513.)
1421
1422 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1423
1424         * exporter.C (checkOverwrite): new method
1425         * exporter.C (copyFile): new method
1426         * exporter.C (Export): copy referenced files to the document dir
1427         * exporter.[Ch]: new class ExportedFile
1428         * exporter.[Ch]: new class ExportData. Contains currently the
1429         names of referenced external files
1430         * outputparams.h: add exportdata member.
1431
1432 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1433
1434         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1435         version.C-tmp
1436
1437 2004-05-19  Angus Leeming  <leeming@lyx.org>
1438
1439         * LaTeXFeatures.C:
1440         * ToolbarBackend.C:
1441         * bufferparams.C:
1442         * lyxfunc.C: small changes due to the introduction of namespace
1443         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1444
1445 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1446
1447         * text3.C (dispatch): supress update when only moving the cursor
1448         * cursor.C (selHandle): remove commented code
1449
1450 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1451
1452         * paragraph.C (startTeXParParams): correct column count
1453         * CutAndPaste.C (pasteSelection): remove const_cast
1454         * output_docbook.C (docbookParagraphs): remove const_cast
1455         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1456         const_cast and return ParagraphList::const_iterator
1457         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1458         * output_plaintext.C (writeFileAscii): remove const_cast
1459         * paragraph.[Ch] (simpleTeXOnePar): make const
1460         * paragraph_funcs.C (outerPar): use const iterators
1461         * paragraph_pimpl.C (validate): use const iterators
1462         * text.C (setHeightOfRow): use const iterators
1463
1464 2004-05-17  Angus Leeming  <leeming@lyx.org>
1465
1466         * lfuns.h:
1467         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1468
1469         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1470         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1471         if the citation engine has changed.
1472
1473 2004-05-14  José Matos  <jamatos@lyx.org>
1474
1475         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1476         if the textclass does not provide it. Have it different for sgml and
1477         xml.
1478         support the language of document.
1479         * output_docbook.C (docbookParagraphs):
1480         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1481         first anchor as the id of the paragraph, remove special case code.
1482         * sgml.C (escapeChar): escape only < & >.
1483
1484 2004-05-14  Angus Leeming  <leeming@lyx.org>
1485
1486         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1487         dependencies on src/frontends/controllers/biblio.h. Define a
1488         CiteEngine_enum wrapper class to enable the enum to be forward
1489         declared.
1490
1491 2004-05-12  Angus Leeming  <leeming@lyx.org>
1492
1493         * buffer.C: up LYX_FORMAT to 234.
1494         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1495         use_numerical_citations with a single biblio::CiteEngine cite_engine
1496         variable.
1497         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1498
1499 2004-05-13  José Matos  <jamatos@lyx.org>
1500
1501         * converter.h:
1502         * converter.C (Converter, readFlags): add xml member.
1503         * outputparams.h: add XML flavor.
1504         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1505
1506 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1507
1508         * lyxfunc.C (dispatch):
1509         (getStatus): fix handling of LFUN_SEQUENCE
1510
1511 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1512
1513         * debug.C (showLevel): do not forget the end-of-line marker
1514
1515 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1516
1517         * kbmap.C (read): do not stop parsing a bind file when an error
1518         occurs (bug 1575)
1519
1520 2004-04-29  Angus Leeming  <leeming@lyx.org>
1521
1522         * cursor.C:
1523         * factory.C:
1524         * pariterator.C:
1525         * text2.C: wrap a bunch of #warning statements
1526         inside #ifdef WITH_WARNINGS blocks.
1527
1528 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1529
1530         * buffer.C: increment format to 233.
1531
1532 2004-04-28  Angus Leeming  <leeming@lyx.org>
1533
1534         * BufferView_pimpl.C:
1535         * lyxfunc.C:
1536         * text3.C:
1537         s/updateToolbar()/updateToolbars()/
1538         s/Toolbar.h/Toolbars.h/
1539
1540 2004-04-28  Angus Leeming  <leeming@lyx.org>
1541
1542         * BufferView.[Ch] (c-tor):
1543         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1544         No longer passes these data to the WorkArea generator.
1545
1546 2004-04-28  Angus Leeming  <leeming@lyx.org>
1547
1548         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1549
1550 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1551
1552         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1553
1554 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * output_latex.C (TeXEnvironment): make sure that there is a line
1557         break before \end{foo} for the last paragraph of a document
1558         (TeXOnePar): if the paragraph is at the end of the document (or
1559         inset) and the language has to be reset, then make sure that the
1560         line break is _before_ the language command, not after (fixes bug
1561         1225); also make sure that the language reset command is the first
1562         thing after the paragraph (to ensure proper nesting of
1563         environments and thus fix bug 1404)
1564
1565 2004-04-21  John Levon  <levon@movementarian.org>
1566
1567         * ToolbarBackend.h:
1568         * ToolbarBackend.C: make "name" be a programmatic name
1569         and a gui_name field.
1570
1571         * lyxfunc.C: display the minibuffer on M-x
1572
1573 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1574
1575         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1576         (bug 1526)
1577
1578 2004-04-19  Angus Leeming  <leeming@lyx.org>
1579
1580         * BufferView_pimpl.C (setBuffer): changed preview interface.
1581
1582         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1583         possible values.
1584
1585 2004-04-19  John Levon  <levon@movementarian.org>
1586
1587         * BufferView_pimpl.C:
1588         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1589
1590 2004-04-05  Angus Leeming  <leeming@lyx.org>
1591
1592         * text.C (redoParagraphs): add call to updateCounters(), thereby
1593         fixing the missing "Figure #:" label from the caption of a
1594         figure float.
1595
1596 2004-04-13  Angus Leeming  <leeming@lyx.org>
1597
1598         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1599         cursor is clicked out of an inset.
1600
1601 2004-04-13  Angus Leeming  <leeming@lyx.org>
1602
1603         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1604         than an InsetOld one.
1605
1606 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1607
1608         * format.[Ch]: add editor to Format
1609         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1610         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1611
1612 2004-04-08  André Pönitz  <poenitz@gmx.net>
1613
1614         * metricsinfo.h: remove PainterInfo::width member
1615
1616 2004-04-08  Angus Leeming  <leeming@lyx.org>
1617
1618         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1619         "\providecommand" rather than "\newcommand", thereby preventing
1620         clashes with packages that define "\boldsymbol" themselves.
1621         Eg, beamer.
1622
1623 2004-04-08  Angus Leeming  <leeming@lyx.org>
1624
1625         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1626         thereby squashing an unnecessary warning.
1627
1628 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1629
1630         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1631         setBuffer()
1632
1633 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1634
1635         * BufferView.C (setCursor): call redoParagraph (some insets could
1636         have been opened)
1637         (putSelectionAt): remove the 'double update' trick
1638
1639         * BufferView_pimpl.C (fitCursor): call refreshPar
1640         (workAreaDispatch): remove an uneeded update call
1641         (dispatch): remove some manual update calls
1642
1643         * cursor.[Ch]: remove cached_y_, updatePos
1644         (selHandle): set noUpdate when appropriate
1645
1646         * lyxfunc.C (dispatch): track if we need an update
1647
1648         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1649
1650         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1651         (paintSelection): cheap optimization, do not call cursorX when not
1652         needed
1653         (paintPars): change signature
1654         (refreshPar): add
1655         (paintText): adjust
1656         (paintTextInset): adjust
1657
1658         * text.C: adjust
1659
1660 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1661
1662         * lengthcommon.C: compilation fix: remove explicit array size from
1663         unit_name[] and friends
1664
1665 2004-04-05  Angus Leeming  <leeming@lyx.org>
1666
1667         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1668
1669         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1670         present only for the preferences dialog.
1671         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1672
1673 2004-04-05  Angus Leeming  <leeming@lyx.org>
1674
1675         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1676         to enable the frontends to export changes to lyxrc correctly.
1677
1678         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1679
1680 2004-04-07  André Pönitz  <poenitz@gmx.net>
1681
1682         * cursor.[Ch] (selClear, adjust): remove math
1683
1684         * cursor_slice.C: more agressive assert
1685
1686         * lyxfunc.C:
1687         * BufferView_pimpl.C: rework mouse event dispatch
1688
1689         * dociterator.C:
1690         * paragraph.C:
1691         * text2.C:
1692         * text3.C: adjust
1693
1694 2004-04-05  André Pönitz  <poenitz@gmx.net>
1695
1696         * cursor.[Ch] (valign, halign...): remove unneeded functions
1697
1698 2004-04-05  Angus Leeming  <leeming@lyx.org>
1699
1700         * lyxlength.[Ch] (unit_name et al.): const-correct.
1701
1702 2004-04-05  Angus Leeming  <leeming@lyx.org>
1703
1704         * BufferView_pimpl.C:
1705         * buffer.C:
1706         * counters.C:
1707         * cursor.C:
1708         * lyxfunc.C
1709         * paragraph.C:
1710         * pariterator.C:
1711         * text.C:
1712         * text2.C:
1713         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1714
1715 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1716
1717         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1718
1719 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1720
1721         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1722         * BufferView_pimpl.[Ch] (getStatus)
1723         * BufferView.[Ch] (getStatus): add
1724         * lyxfunc.C (getStatus): move lfuns handled in
1725         BufferView::dispatch to te function above
1726         * Cursor.C (setSelection): set selection() = true
1727
1728 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1729
1730         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1731
1732 2004-03-31  Angus Leeming  <leeming@lyx.org>
1733
1734         * lyxfunc.C (dispatch): Fall through to the generic
1735         Dialogs::show("preamble").
1736
1737 2004-03-31  Angus Leeming  <leeming@lyx.org>
1738
1739         * lyxfunc.C (dispatch): Fall through to the generic
1740         Dialogs::show("spellchecker").
1741
1742 2004-03-31  Angus Leeming  <leeming@lyx.org>
1743
1744         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1745         preferences dialog.
1746
1747 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * BufferView.C
1750         * cursor.[Ch]
1751         * dociterator.[Ch]:
1752         * insetiterator.[Ch]:
1753         * lyxfind.C:
1754         * lyxfunc.C:
1755         * pariterator.[Ch]:
1756         * text2.C:
1757         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1758
1759 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1760
1761         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1762         insets where we are putting the cursor.
1763
1764 2004-03-31  Angus Leeming  <leeming@lyx.org>
1765
1766         * lfuns.h:
1767         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1768
1769         * lyxrc.[Ch] (read, write): overloaded member functions taking
1770         a std::[io]stream arguments.
1771
1772         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1773
1774 2004-03-31  Angus Leeming  <leeming@lyx.org>
1775
1776         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1777         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1778
1779         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1780         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1781
1782 2004-03-31  Angus Leeming  <leeming@lyx.org>
1783
1784         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1785         the LFUN_ALL_INSETS_TOGGLE code.
1786
1787 2004-03-30  Angus Leeming  <leeming@lyx.org>
1788
1789         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1790         has died. Fall through to the generic Dialogs::show("document").
1791
1792 2004-03-30  Angus Leeming  <leeming@lyx.org>
1793
1794         * lfuns.h:
1795         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1796         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1797
1798         * lyxfunc.C (getStatus, dispatch): define the actions for these
1799         lfuns. Little more than a cut and pste job from ControlDocument.C
1800
1801         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1802
1803 2004-03-30  Angus Leeming  <leeming@lyx.org>
1804
1805         * lfuns.h:
1806         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1807         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1808
1809         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1810         open/closed state of ollapsable insets. Usage:
1811
1812         all-inset-toggle <state> <name>, where
1813         <state> == "open" || "closed" || "toggle" and
1814         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1815
1816         * lyxtext.h, text2.C (toggleInset): removed.
1817
1818         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1819         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1820         now passes LFUN_INSET_TOGGLE to the found inset.
1821
1822         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1823         is now invoked as "all-insets-toggle toggle branch".
1824
1825 2004-03-30  Angus Leeming  <leeming@lyx.org>
1826
1827         * dociterator.C:
1828         * insetiterator.C:
1829         * pariterator.[Ch]: added/corrected header blurb.
1830
1831 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1832
1833         * dociterator.[Ch]: add an inset_ member
1834         (backwardPos): implemented
1835         (backwardPos, forwardPos): use inset_ when the stack is empty.
1836         (doc_iterator_begin, doc_iterator_end): implemented
1837         * pariterator.[Ch]: adjust, add begin, end
1838         * insetiterator.[Ch]: adjust, add begin, end
1839         * cursor.C:
1840         * document.C:
1841         * BufferView.C:
1842         * BufferView_pimpl.C:
1843         * CutAndPaste.C: adjust
1844
1845 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1846
1847         * buffer.C: increment file format to 232.
1848         * LaTeXFeatures.C: add bibtopic package.
1849         * bufferparams.[Ch]: param \use_bibtopic.
1850
1851         * lyxrc.[Ch]: add lyxrc bibtex_command
1852         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1853
1854         * buffer.C: increment file format to 231.
1855
1856 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1857
1858         * dociterator.C: implement forwardPar
1859         * iterators.[Ch]: remove, replaced by
1860         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1861         * BufferView.C:
1862         * BufferView_pimpl.C:
1863         * CutAndPaste.C:
1864         * buffer.C:
1865         * bufferview_funcs.C:
1866         * cursor.C:
1867         * lyxfind.C
1868         * lyxfunc.C
1869         * paragraph_funcs.C
1870         * toc.C:
1871         * Makefile.am: adjust
1872
1873 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * CutAndPaste.C (pasteSelection): fix 2 crashes
1876         (eraseSelection): fix a crash
1877         * paragraph_funcs.C: remove a warning
1878
1879 2004-03-28  Angus Leeming  <leeming@lyx.org>
1880
1881         * lfuns.h:
1882         * LyXAction.C (init): new LFUN_PRINT.
1883
1884         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1885
1886 2004-03-27  Angus Leeming  <leeming@lyx.org>
1887
1888         * lfuns.h:
1889         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1890
1891         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1892
1893 2004-03-27  Angus Leeming  <leeming@lyx.org>
1894
1895         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1896         insetlist always contains non-null pointers to insets.
1897
1898 2004-03-26  Angus Leeming  <leeming@lyx.org>
1899
1900         * src/BufferView_pimpl.C:
1901         * src/CutAndPaste.C:
1902         * src/buffer.C:
1903         * src/iterators.C:
1904         * src/output_plaintext.C:
1905         * src/outputparams.h:
1906         * src/paragraph_funcs.C:
1907         * src/rowpainter.C:
1908         * src/text.C:
1909         * src/text2.C:
1910         * src/frontends/controllers/ControlErrorList.C:
1911         * src/frontends/gtk/FileDialogPrivate.C:
1912         * src/frontends/gtk/GPainter.C:
1913         * src/frontends/gtk/GToolbar.C:
1914         * src/frontends/qt2/QRef.C:
1915         * src/mathed/math_scriptinset.C: squash compiler warnings.
1916
1917 2004-03-26  Angus Leeming  <leeming@lyx.org>
1918
1919         * ispell.C (LaunchIspell::start):
1920         * lyx_cb.C (AutoSaveBuffer::start):
1921         invoke run(DontWait) rather than runNonBlocking().
1922
1923 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1924
1925         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1926
1927 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * kbsequence.C (print): adjust
1930
1931         * kbmap.C (printKeySym): rename and change signature
1932         (printKey): use LyXKeySym::print()
1933
1934 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1935
1936         * undo.C: add using std::advance to compile for stlport
1937
1938 2004-03-24  Angus Leeming  <leeming@lyx.org>
1939
1940         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1941         it leads to a crash when no buffer is present.
1942
1943 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1944             Martin Vermeer  <martin.vermeer@hut.fi>
1945
1946         * lyxfunc.C (dispatch):
1947         * bufferparams.C (readToken): use the new LColor::setColor
1948
1949         * LColor.[Ch] (setColor): new version that takes two strings as
1950         argument and creates a new color entry if necessary
1951
1952 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1953
1954         * buffer.C (makeLaTeXFile): if the main latex file that is
1955         processed is usually a subdocument of some master, then pretend
1956         for a while that it is actually the master
1957
1958 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1959
1960         * buffer.C (getLabelList):
1961         (getBibkeyList): use getMasterBuffer()
1962         (getMasterBuffer): new method. Returns the main document in the
1963         case where one is using included documents.
1964
1965 2004-03-25  André Pönitz  <poenitz@gmx.net>
1966
1967         * Makefile.am:
1968         * iterators.[Ch]:
1969         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1970
1971         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1972
1973         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1974         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1975
1976         * ParameterStruct.h: merge with ParagraphParameters
1977
1978         * lyxtext.h: remove LyXText::parOffset() and getPar()
1979
1980         * text3.C: Remove all 'manual' update calls. We do now one per user
1981         interaction which is completely sufficient.
1982
1983         * Bidi.C:
1984         * BufferView.[Ch]:
1985         * BufferView_pimpl.C:
1986         * FontIterator.[Ch]:
1987         * MenuBackend.C:
1988         * ParagraphParameters.[Ch]:
1989         * buffer.C:
1990         * buffer.h:
1991         * bufferlist.C:
1992         * cursor.[Ch]:
1993         * cursor_slice.[Ch]:
1994         * dociterator.[Ch]:
1995         * errorlist.[Ch]:
1996         * factory.C:
1997         * lfuns.h:
1998         * lyxfind.C:
1999         * lyxfunc.C:
2000         * output_docbook.[Ch]:
2001         * output_latex.[Ch]:
2002         * output_linuxdoc.[Ch]:
2003         * output_plaintext.[Ch]:
2004         * paragraph.[Ch]:
2005         * paragraph_funcs.[Ch]:
2006         * paragraph_pimpl.[Ch]:
2007         * rowpainter.C:
2008         * tabular.[Ch]:
2009         * text.C:
2010         * text2.C:
2011         * toc.C:
2012         * undo.[Ch]: adjust
2013
2014         * frontends/controllers/ControlDocument.C:
2015         * frontends/controllers/ControlErrorList.C:
2016         * frontends/controllers/ControlSpellchecker.C:
2017         * insets/inset.C:
2018         * insets/inset.h:
2019         * insets/insetbase.h:
2020         * insets/insetbibitem.C:
2021         * insets/insetbox.C:
2022         * insets/insetbranch.C:
2023         * insets/insetcaption.C:
2024         * insets/insetcharstyle.C:
2025         * insets/insetcharstyle.h:
2026         * insets/insetcollapsable.C:
2027         * insets/insetcollapsable.h:
2028         * insets/insetert.C:
2029         * insets/insetfloat.C:
2030         * insets/insetfoot.C:
2031         * insets/insetmarginal.C:
2032         * insets/insetnote.C:
2033         * insets/insetoptarg.C:
2034         * insets/insettabular.C:
2035         * insets/insettext.C:
2036         * insets/insettext.h:
2037         * insets/insetwrap.C:
2038         * mathed/math_mboxinset.C:
2039         * mathed/math_nestinset.C:
2040         * mathed/math_scriptinset.C:
2041         * mathed/math_scriptinset.h:
2042         * support/types.h:
2043
2044 2004-03-24  Angus Leeming  <leeming@lyx.org>
2045
2046         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2047         deal with any child processes that have finished but are waiting to
2048         communicate this fact to the rest of LyX.
2049
2050 2004-03-24  Angus Leeming  <leeming@lyx.org>
2051
2052         64-bit compile fixes.
2053
2054         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2055         (c-tor): pass lyx::pos_types rather than ints.
2056
2057         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2058         lyx::pos_type.
2059
2060         * text.C (Delete): compile fix.
2061         (getPar): ensure that function declaration is the same as that in
2062         the header file.
2063
2064 2004-03-23  Angus Leeming  <leeming@lyx.org>
2065
2066         * ispell.C (LaunchIspell):
2067         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2068         a boost::shred_ptr rather than a std::auto_ptr.
2069
2070 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2071
2072         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2073         handle LFUN_FILE_INSERT_*
2074
2075         * lyxrc.C (setDefaults, getDescription, output, read):
2076         * lyxrc.h: remove ps_command
2077
2078 2004-03-22  Angus Leeming  <leeming@lyx.org>
2079
2080         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2081         Ensure that error_handler is processed once only and that all data
2082         is saved before attempting to output any warning messages.
2083
2084         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2085
2086 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2087
2088         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2089
2090 2004-03-19  André Pönitz  <poenitz@gmx.net>
2091
2092         * cursor.[Ch] (reset): take main text inset as argument
2093
2094         * BufferView: adjust
2095         * BufferView_pimpl.C: adjust
2096
2097         * paragraph.[Ch]: fix completely broken operator=()
2098
2099 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2100
2101         * LColor.C (getFromLyXName): make sure that the color name is used
2102         as lowercase.
2103
2104 2004-03-17  Angus Leeming  <leeming@lyx.org>
2105
2106         * lfuns.h:
2107         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2108
2109         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2110         dialog and to kill a forked process.
2111
2112 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2113
2114         * text2.C (setCursorFromCoordinates): fix font problem
2115
2116 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2117
2118         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2119         bogus "rebuild cursor" code
2120
2121 2004-03-11  André Pönitz  <poenitz@gmx.net>
2122
2123         * buffer.[Ch]: use InsetText instead of LyXText as container for
2124         the main lyx text.
2125
2126         * dociterator.[Ch]: drop the BufferView * member which is not needed
2127         anymore after the change to buffer.C
2128
2129         * paragraph_funcs.C:
2130         * text.C:
2131         * text2.C:
2132         * BufferView.[Ch]:
2133         * BufferView_pimpl.[Ch]:
2134         * cursor.[Ch]:
2135         * cursor_slice.[Ch]: adjust
2136
2137         * text3.C: fix bug in mathDispatch
2138
2139 2004-03-08  André Pönitz  <poenitz@gmx.net>
2140
2141         * undo.[Ch]: use 'StableDocumentIterator' as base for
2142         the Undo struct.
2143
2144 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2145
2146         * LaTeXFeatures.C:
2147         * bufferparams.[Ch]: add jurabib support and param.
2148
2149         * LaTeX.C: add FIXME/comment.
2150
2151 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2152
2153         * buffer.C: increment file format to 230.
2154
2155 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2156
2157         * cursor.C (dispatch): avoid infinite loops
2158
2159 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2160
2161         * rowpainter.C (paintSelection): fix x coordinates
2162
2163 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2164
2165         * text.C (rowBreakPoint): fix breaking before displayed insets
2166
2167 2004-03-01  André Pönitz  <poenitz@gmx.net>
2168
2169         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2170
2171         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2172
2173         * Makefile.am:
2174         * BufferView.C:
2175         * BufferView_pimpl.C:
2176         * buffer.C:
2177         * lyxfind.C:
2178         * lyxfunc.C:
2179         * text.C:
2180         * text2.C:
2181         * text3.C: adjust
2182
2183 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2184
2185         * lyxtext.h:
2186         * text.C:
2187         * text2.C:
2188         * rowpainter.C:
2189         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2190         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2191
2192 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2193
2194         * Bidi.[Ch] (computeTables): const correctness
2195         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2196         fill_hfill, fill_label_hfill and x from Row
2197         * lyxtext.h: prepareToPrint returns a RowMetrics
2198         * rowPainter.C: adjust
2199         * text.C (prepareToPrint): use width, not textWidth. adjust
2200         (redoParagraphInternal, cursorX): adjust
2201         * text2.C (getColumnNearX): adjust
2202         (init): put a default value to the top LyXText::width
2203
2204 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2205
2206         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2207
2208 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2209
2210         * lyxtext.h: add FontIterator class
2211
2212         * text.C (FontIterator, operator*, operator->, operator++): add
2213         (rowBreakPoint, setRowWidth): adjust (fixing a
2214         rebreaking bug)
2215
2216 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * BufferView_pimpl.C (workAreaDispatch): allow also
2219         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2220
2221 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2222
2223         * text.C (rowBreakPoint): fix a bug showing with very large insets
2224
2225 2004-02-25  André Pönitz  <poenitz@gmx.net>
2226
2227         * text3.C:
2228         * cursor.[Ch]: move some mathed specific code to mathed
2229
2230 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2231
2232         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2233         use_tempdir in preferences
2234         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2235         tempfile creation
2236         * lyx_main.C: ensure that tempdir is valid
2237         * lyxlex.h: correct typo
2238         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2239         * paragraph.[Ch] (isMultiLingual): make const
2240         * cursor.[Ch] (openable): make const
2241
2242 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2243
2244         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2245
2246 2004-02-20  André Pönitz  <poenitz@gmx.net>
2247
2248         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2249
2250         * cursor.[Ch]: prepare for localized getStatus()
2251
2252         * lyxtext.h:
2253         * tabular.C:
2254         * text.C:
2255         * text2.C:
2256         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2257
2258 2004-02-20  André Pönitz  <poenitz@gmx.net>
2259
2260         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2261
2262 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * text2.C (setCursorFromCoordinates): switch to absolute coords
2265         (cursorUp): adjust
2266         (cursorDown): adjust
2267         * text3.C (dispatch): adjust
2268
2269 2004-02-16  André Pönitz  <poenitz@gmx.net>
2270
2271         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2272           insets/ChangeLog)
2273
2274         * cursor_slice.[Ch]: remove unneeded acessor function
2275
2276         * lyxtext.h: rename rtl() to isRTL()
2277
2278         * rowpainter.C:
2279         * tabular.C:
2280         * text.C:
2281         * text2.C:
2282         * text3.C: adjust
2283
2284 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2285
2286         * rowpainter.C (paintSelection): coord fix
2287
2288 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2289
2290         * Spacing.C: compile fix
2291
2292 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2293
2294         * cursor.C (dispatch): restore current_ before returning
2295
2296 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2297
2298         * text2.C (cursorUp, cursorDown): fix coords
2299         (moveUp): fix crash
2300
2301 2004-02-12  André Pönitz  <poenitz@gmx.net>
2302
2303         * lyxtext.h:
2304         * text.C:
2305         * text2.C:
2306         * text3.C: add LCursor & parameter to most cursor movement functions
2307           remove usage of LyXText::cursorRow() and cursorPar()
2308
2309         * cursor.[Ch]: add textRow() needed members
2310
2311         * BufferView.C:
2312         * BufferView_pimpl.C:
2313         * paragraph.[Ch]:
2314         * BufferView.C:
2315         * BufferView_pimpl.C: adjust
2316
2317 2004-02-11  André Pönitz  <poenitz@gmx.net>
2318
2319         * lyxfunc.C:
2320         * BufferView.[Ch]:
2321         * BufferView_pimpl.C: shift undo/redo handling
2322
2323         * cursor.[Ch]: fix mathed crash
2324
2325         * lyxfind.C:
2326         * lyxtext.h: move selectionAsText to LCursor
2327
2328         * output_latex.C:
2329         * paragraph.C:
2330         * text.C:
2331         * text2.C:
2332         * text3.C: adjust
2333
2334         * rowpainter.C: fix excessive drawing
2335
2336 2004-02-06  André Pönitz  <poenitz@gmx.net>
2337
2338         * BufferView.[Ch]:
2339         * BufferView_pimpl.[Ch]:
2340         * text3.C: move some text specific LFUN handling
2341
2342 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2343
2344         * text3.C (checkInsetHit): adjust coords
2345         * text2.C (getColumnNearX): adjust coords
2346         (edit): adjust coords
2347         * text.C (getRowNearY): add two asserts
2348
2349 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2350
2351         * converter.C:
2352         * format.C: add using std::distance to compile on gcc 2.95/stlport
2353
2354 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2355
2356         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2357
2358 2004-02-04  André Pönitz  <poenitz@gmx.net>
2359
2360         * BufferView.[Ch] (insertInset):
2361         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2362
2363         * text2.C:
2364         * text3.C: adjust
2365
2366 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2369         on the default clause of the switch
2370         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2371         wasn't catched by LCursor::dispatch
2372
2373 2004-02-03  André Pönitz  <poenitz@gmx.net>
2374
2375         * BufferView.C:
2376         * cursor.[Ch]: some additional asserts
2377
2378         * undo.[Ch]: remove LyXText dependency in interface
2379
2380         * lyxfunc.C: adjust
2381
2382         * lyxtext.h (firstPar, lastPar): remove dead functions
2383
2384         * text.C:
2385         * text2.C:
2386         * text3.C:
2387         * paragraph.[Ch]: adjust
2388
2389 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2390
2391         * lyxfind.C (find): fix argument order in call to ::find
2392
2393 2004-02-02  André Pönitz  <poenitz@gmx.net>
2394
2395         * cursor.[Ch]: remove direct access to anchor
2396
2397         * text.C: remove findText() hack
2398
2399 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2400
2401         * iterators.[Ch] (lockPath): remove in favour of...
2402         * BufferView.[Ch] (setCursor): this addition
2403         * BufferView.C (putSelectionAt): adjust
2404         * undo.C (performUndoOrRedo): adjust
2405         * lyxfunc.C (dispatch): adjust
2406
2407 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2408
2409         * iterators.C (lockPath): add a missing slice
2410         * undo.C (performUndoOrRedo): remove redundant positioning code
2411
2412 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2413
2414         * vc-backend.C (scanMaster): ";" -> ';'
2415
2416 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2417
2418         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2419         std::binary_function
2420
2421         * lyxtextclass.C (compare_name): rename to...
2422         (LayoutNamesEqual): ...this
2423
2424         * lyxlex_pimpl.C (compare_tags): inherit from
2425         std::binary_function, put back into anon namespace
2426
2427         * lyxfind.C (MatchString): inherig from std::binary_function
2428         (findChange): use empty() istead of !size()
2429
2430         * format.C (FormatNamesEqual): new functor
2431         (getFormat): use it
2432         (getNumber): use it
2433         (add): use it
2434         (erase): use it
2435         (setViewer): use it
2436
2437         * converter.C (compare_Converter): rename to...
2438         (ConverterEqual): ...this, and fixup a bit.
2439         (getConverter): use it, and make function const
2440         (getNumber): use it, and make function const
2441         (add): use it
2442         (erase): use it:
2443
2444         * bufferlist.C: add using boost::bind
2445
2446         * MenuBackend.C (MenuNamesEqual): new functor
2447         (hasMenu): use it, and make function const
2448         (hasSubmenu): use nested bind to get rid of compare_memfun.
2449
2450 2004-01-30  André Pönitz  <poenitz@gmx.net>
2451
2452         * BufferView_pimpl.C:
2453         * cursor.C:
2454         * cursor.h:
2455         * cursor_slice.[Ch]:
2456         * lyxfunc.C:
2457         * lyxtext.h:
2458         * paragraph_funcs.C:
2459         * paragraph_funcs.h:
2460         * rowpainter.C:
2461         * text.C:
2462         * text2.C:
2463         * text3.C: move some of the edit(x,y) handling to the insets
2464         some coordinate changes.
2465
2466 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2467
2468         * text.C: add using statements for std::advance and std::distance
2469
2470         * paragraph.C: add using statement for std::distance
2471
2472         * lyxfind.C: add using statement for std::advance
2473
2474         * cursor.C (region): remove std:: from swap
2475         (openable): use nucleus in stead of operator->
2476
2477         * BufferView.C: add using statements for std::distance and std::swap
2478
2479 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2480
2481         * iterators.C: Remove the pimple, move the needed structures to
2482         the header file. Create accessor for the positions stack.
2483         (asPosIterator): remove function
2484
2485         * PosIterator.C (PosIterator): move constructors to top of file
2486         (PosIterator): reimplement the constructor taking a ParIterator in
2487         terms of setFrom.
2488         (setFrom): new function
2489         (operator!=): inline it
2490
2491 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2492
2493         * lyxfind.C (replaceAll): use std::advance
2494
2495         * iterators.h: inherit from std::iterator.
2496
2497         * PosIterator.C (advance, distance): remove
2498         * PosIterator.h: interit from std::iterator.
2499
2500 2004-01-26  André Pönitz  <poenitz@gmx.net>
2501
2502         * BufferView.[Ch]:
2503         * BufferView_pimpl.[Ch]:
2504         * InsetList.[Ch]:
2505         * PosIterator.[Ch]:
2506         * buffer.h:
2507         * bufferview_funcs.C:
2508         * cursor.[Ch]:
2509         * cursor_slice.h:
2510         * factory.[Ch]:
2511         * iterators.[Ch]:
2512         * lyxfind.C:
2513         * lyxfunc.C:
2514         * lyxtext.h:
2515         * output_docbook.C:
2516         * output_latex.C:
2517         * output_linuxdoc.C:
2518         * output_plaintext.C:
2519         * paragraph.[Ch]:
2520         * paragraph_funcs.[Ch]:
2521         * paragraph_pimpl.[Ch]:
2522         * rowpainter.C:
2523         * tabular.C:
2524         * tabular.h:
2525         * text.C:
2526         * text2.C:
2527         * text3.C: more IU:  dumps most of the rest of the mathcursor
2528     implementation into cursor.[Ch]; "globalize" a bit of it.
2529
2530 2004-01-25  Angus Leeming  <leeming@lyx.org>
2531
2532         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2533
2534 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2535
2536         * LaTeXFeatures.h: add nice_ and nice() const
2537         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2538
2539 2004-01-20  André Pönitz  <poenitz@gmx.net>
2540
2541         * BufferView.[Ch]:
2542         * BufferView_pimpl.C:
2543         * PosIterator.C:
2544         * bufferview_funcs.C:
2545         * cursor.[Ch]:
2546         * cursor_slice.[Ch]:
2547         * factory.C:
2548         * iterators.C:
2549         * lyx_cb.C:
2550         * lyxfind.C:
2551         * lyxfunc.C:
2552         * lyxtext.h:
2553         * rowpainter.C:
2554         * text.C:
2555         * text2.C:
2556         * text3.C:
2557         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2558           LCursor and mathcursor parts to LCursor and InsetBase.
2559
2560 2004-01-15  André Pönitz  <poenitz@gmx.net>
2561
2562         * cursor_slice.[Ch]: add a few covienience functions
2563
2564         * funcrequest.[Ch]: remove BufferView * member
2565
2566         * BufferView_pimpl.C:
2567         * cursor.C:
2568         * factory.[Ch]:
2569         * lyxfind.[Ch]:
2570         * lyxfunc.C:
2571         * lyxtext.h:
2572         * text3.C:
2573         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2574
2575 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2576
2577         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2578         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2579
2580 2004-01-13  André Pönitz  <poenitz@gmx.net>
2581
2582         * textcursor.[Ch]:
2583         * lyxtext.h: hide cursor and selection anchor behind accessor function
2584
2585         * BufferView.C:
2586         * BufferView_pimpl.[Ch]:
2587         * PosIterator.C:
2588         * bufferview_funcs.C:
2589         * cursor.h:
2590         * lyxfind.C:
2591         * lyxfunc.C:
2592         * text.C:
2593         * text2.C:
2594         * text3.C:
2595         * undo.C: adjust
2596
2597         * cursor.h:
2598         * cursor_slice.[Ch]: some integer type changes for inset unification
2599
2600         * lyxcursor.[hC]: remove, it's CursorSlice now.
2601
2602         * Makefile.am:
2603         * BufferView_pimpl.[Ch]:
2604         * bufferview_funcs.C:
2605         * cursor_slice.C:
2606         * lyxtext.h:
2607         * text.C:
2608         * text2.C:
2609         * text3.C:
2610         * textcursor.[Ch]: adjust
2611
2612 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2613
2614         * text2.C (undoSpan): add and use
2615         * text.C (breakParagraph): use undoSpan (fix bug 578)
2616         * lyxtext.h: adjust
2617
2618 2004-01-08  Angus Leeming  <leeming@lyx.org>
2619
2620         * BufferView_pimpl.C (MenuInsertLyXFile):
2621         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2622         * lyxfunc.C (menuNew, open, doImport):
2623         FileFilterList change to the FileDialog open and save functions.
2624
2625 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2626
2627         * ShareContainer.h: make isEqual and isUnique adaptable
2628
2629         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2630
2631 2004-01-07  Angus Leeming  <leeming@lyx.org>
2632
2633         * LyXAction.C:
2634         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2635
2636         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2637
2638         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2639         functions replacing find, replace and replaceAll.
2640
2641         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2642         LFUN_WORDFIND(FORWARD|BACKWARD).
2643
2644 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * text.C (breakParagraph): remove an outdated #warning
2647
2648 2004-01-07  André Pönitz  <poenitz@gmx.net>
2649
2650         * lyxfind.C: somewhat clearer logic
2651
2652         * text.C: prevent crash in cursorX on unitialized row cache
2653
2654 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2655
2656         * lyxcursor.[Ch] (operator>): add
2657         * textcursor.C (selStart, selEnd): use std::min and std::max
2658
2659 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2660
2661         * Chktex.C: include boost/format.hpp
2662
2663 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2664
2665         * InsetList.C: replace functor MathcIt with adaptable functor
2666         InsetTablePosLess
2667         (insetIterator): modify accordingly
2668
2669         * BranchList.h: move the BranchNamesEqual functor here from...
2670         * BranchList.C: ... to here
2671
2672         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2673         SameName and match.
2674         (add): replace a finding loop with std::find_if.
2675
2676 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2677
2678         * output_docbook.C: moving LatexParam functionality into
2679         .layout files
2680
2681 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2682
2683         * buffer.C: increment format to 229.
2684
2685 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2686
2687         * LaTeXFeatures.C:
2688         * lyx_sty.[Ch]: remove minipageindent_def
2689
2690         * LyXAction.C:
2691         * factory.C:
2692         * lfuns.h:
2693         * lyxfunc.C:
2694         * text3.C: remove LFUN_INSET_MINIPAGE
2695
2696 2003-12-28  Angus Leeming  <leeming@lyx.org>
2697
2698         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2699
2700 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2701
2702         * text2.C (setParagraph): fix off-by-one crash
2703
2704 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2705
2706         * output_docbook.C: header stuff for AGU
2707
2708 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * text2.C (redoCursor): remove
2711         * text.C:
2712         * text3.C:
2713         * BufferView_pimpl.C: remove calls to redoCursor and
2714         setCursor(cursor.par(), cursor.pos()) all around
2715
2716 2003-12-15  Angus Leeming  <leeming@lyx.org>
2717
2718         * buffer.C: up the format to 228.
2719
2720 2003-12-15  André Pönitz  <poenitz@gmx.net>
2721
2722         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2723         slices
2724
2725         * Makefile.am:
2726
2727         * BufferView_pimpl.C:
2728         * cursor.[Ch]:
2729         * lyxcursor.[Ch]:
2730         * rowpainter.[Ch]:
2731         * lyxtext.h:
2732         * text.C:
2733         * text2.C:
2734         * text3.C: adjust
2735
2736 2003-12-15  Angus Leeming  <leeming@lyx.org>
2737
2738         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2739         than getFromGUIName to manipulate the color.
2740
2741 2003-12-14  Angus Leeming  <leeming@lyx.org>
2742
2743         * BranchList.[Ch]: minimize the API.
2744         (Branch::getBranch, getColor): now return a 'const &'.
2745         (Branch::setSelected) now returns a bool set to true if the
2746         selection status changes.
2747         (BranchList::clear, size, getColor, setColor, setSelected,
2748         allBranches, allSelected, separator): removed.
2749         (BranchList::find): new functions, returning the Branch with
2750         the given name.
2751         (BranchList::add, remove): return a bool indicating that
2752         the operation was successful.
2753
2754         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2755         new InsetBranch::isBranchSlected member function.
2756
2757         * LColor.[Ch]: mimimize the API.
2758         (fill): renamed as addColor and made private.
2759         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2760         versions of these functions taking a string arg have been removed.
2761
2762         * bufferparams.C (readToken):
2763         * lyxfunc.C (dispatch):
2764         * lyxrc.C (read): changes due to the altered BranchList and
2765         LColor APIs.
2766
2767         * factory.C (createInset, readInset): changes due to altered
2768         InsetBranch c-tor.
2769
2770 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2771
2772         * factory.C:
2773         * lyxfunc.C: remove insetminipage. "minipage-insert"
2774         now produces a frameless minipage box inset.
2775
2776 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2777
2778         * textcursor.[Ch] (selStart,selEnd): add new methods
2779         remove selection::start, end, use LyXCursor::operator<
2780         * lyxcursor.[Ch] (operator<): add
2781         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2782         * BufferView.[Ch] (unsetXSel): add
2783         * text2.C (clearSelection): use unsetXSel,adjust
2784         * text.C: adjust
2785         * text3.C: adjust
2786         * rowpainter.C: adjust
2787         * bufferview_funcs.C (put_selection_at): adjust
2788
2789 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2790
2791         * BufferView_pimpl.C: small coord. correction
2792
2793 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2794
2795         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2796         dragging over the splash screen.
2797
2798 2003-12-11  Angus Leeming  <leeming@lyx.org>
2799
2800         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2801         as it is now handled in LyXText::dispatch.
2802
2803         * text3.C (doInsertInset): remove a level of nesting.
2804
2805 2003-12-11  Angus Leeming  <leeming@lyx.org>
2806
2807         * factory.C (createInset): changes due to the changed interface to
2808         InsetCommandMailer::string2params.
2809
2810 2003-12-10  Angus Leeming  <leeming@lyx.org>
2811
2812         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2813         'dialog-show-new-inset <inset name>'
2814
2815 2003-12-10  Angus Leeming  <leeming@lyx.org>
2816
2817         * buffer.C: up the format to 227.
2818
2819         * factory.C: the box inset is now identified simply by 'Box'.
2820
2821 2003-12-10  Angus Leeming  <leeming@lyx.org>
2822
2823         * buffer.C: up the format to 226.
2824
2825         * factory.C: the note inset is now identified simply by 'Note'.
2826
2827 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2828
2829         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2830         when a pit is enough. Standarize a couple of loops.
2831
2832 2003-12-05  Angus Leeming  <leeming@lyx.org>
2833
2834         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2835         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2836         data to the re-worked "log" dialog.
2837
2838 2003-12-03  André Pönitz  <poenitz@gmx.net>
2839
2840         * PosIterator.C:
2841         * iterators.C:
2842         * lyxtext.h:
2843         * output_latex.C:
2844         * paragraph_funcs.C:
2845         * text.C:
2846         * text2.C: use Inset::getText instead of Inset::getParagraph
2847
2848 2003-12-03  André Pönitz  <poenitz@gmx.net>
2849
2850         * buffer.[Ch]:
2851         * lyxtext.h:
2852         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2853         InsetText::read() as LyXText::read()
2854
2855 2003-12-02  Angus Leeming  <leeming@lyx.org>
2856
2857         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2858         type. Add a comment in the implementation that the function uses
2859         the stream's bad() function rather than fail() as the std::streams
2860         would do.
2861
2862 2003-12-02  André Pönitz  <poenitz@gmx.net>
2863
2864         * lyxlex.[Ch]: make interface more similar to std::stream
2865
2866         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2867
2868 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2869
2870         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2871
2872 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2873
2874         * vspace.[Ch]: remove VSpace::NONE
2875
2876 2003-12-01  André Pönitz  <poenitz@gmx.net>
2877
2878         * buffer.[Ch]:
2879         * lyxtext.h: move ParagraphList member to LyXText
2880         rename LyXText::ownerParagraphs to LyXText::paragraph
2881
2882         * CutAndPaste.C:
2883         * bufferview_funcs.C:
2884         * iterators.[Ch]:
2885         * lyx_cb.C:
2886         * paragraph.C:
2887         * rowpainter.C:
2888         * tabular.C:
2889         * text.C:
2890         * text2.C:
2891         * text3.C: adjust
2892
2893         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2894
2895         * undo.C: fix cursor positioning
2896
2897 2003-12-01  John Levon  <levon@movementarian.org>
2898
2899         * BufferView_pimpl.C: fix a crash on exit with
2900         a buffer open
2901
2902 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2903
2904         * BranchList.C: fix setSelected() method.
2905
2906 2003-11-28  André Pönitz  <poenitz@gmx.net>
2907
2908         * ParagraphParameters.[Ch]:
2909         * ParameterStruct.h: remove space above/below from Paragraph to
2910          InsetVSpace
2911
2912         * BufferView_pimpl.C:
2913         * factory.C:
2914         * lyxfunc.C:
2915         * lyxtext.h:
2916         * output_latex.C:
2917         * paragraph.C:
2918         * paragraph_funcs.C:
2919         * rowpainter.[Ch]:
2920         * text.C:
2921         * text2.C:
2922         * text3.C: adjust
2923
2924 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2925
2926         * factory.C: Syntax change for CharStyles
2927
2928 2003-11-28  André Pönitz  <poenitz@gmx.net>
2929
2930         * BufferView.[Ch]:
2931         * BufferView.[Ch]:
2932         * buffer.[Ch]:
2933         * buffer.[Ch]: move LyXText member
2934
2935 2003-11-28  André Pönitz  <poenitz@gmx.net>
2936
2937         * BufferView.[Ch]: make LyXText * text a private member
2938
2939         * BufferView_pimpl.C:
2940         * cursor.C:
2941         * iterators.C:
2942         * lyx_cb.C:
2943         * lyxfind.C:
2944         * lyxtext.h:
2945         * rowpainter.[Ch]:
2946         * text.C:
2947         * text2.C:
2948         * undo.C: adjust
2949
2950         * output_plaintext.C: cleanup
2951
2952 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2953
2954         * buffer.C:
2955         * lyxtextclass.[Ch]: parametrize SGML document header
2956
2957 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2958
2959         * converter.[Ch]:
2960         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2961         getFlavor().
2962
2963 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * text2.C (setFont): rework using PosIterator (no more recursive)
2966         (setCharFont): no more needed
2967         (setLayout): no more selection cursors fiddling (done by redoCursor)
2968         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2969         destroy remaining ones)
2970
2971 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2972
2973         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2974         * lyxtext.h: ditto
2975         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2976         selection cursors
2977         * lyxfunc.C: adjust
2978         * text3.C: adjust + re-allow multi par depth changes
2979         * textcursor.C: simplify a bit
2980
2981 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2982
2983         * src/buffer.C:
2984         * src/lyxlayout.C:
2985         * src/lyxlayout.h:
2986         * src/lyxtext.h:
2987         * src/output_docbook.C:
2988         * src/output_latex.C:
2989         * src/paragraph.C:
2990         * src/paragraph.h:
2991         * src/sgml.C:
2992         * src/sgml.h:
2993         * src/text2.C: Introducing a number of tags parametrizing various
2994         XML formats that we may want to support
2995
2996 2003-11-25  André Pönitz  <poenitz@gmx.net>
2997
2998         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2999
3000         * lyxtext.h (leftMargin/rightMargin): simplify interface
3001
3002         * rowpainter.C:
3003         * text.C:
3004         * text2.C:
3005         * text3.C: adjust
3006
3007 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3008
3009         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3010         master file to any child files. Fixes bug 546.
3011
3012 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3013
3014         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3015
3016 2003-11-24  André Pönitz  <poenitz@gmx.net>
3017
3018         * rowpainter.C: simplification
3019
3020         * text2.C (updateCounters): remove call to redoParagraph on
3021         changed labels as this is far too expensive.
3022
3023 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3024
3025         * converter.C (convert): fix a crash: this function gets
3026         called with buffer == 0 from importer code.
3027
3028 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3029
3030         * text3.C (cursorPrevious): make sure that we do not compare
3031         iterators form different containers.
3032         (cursorNext): ditto
3033
3034         * rowpainter.C (paintSelection): make sure that we do not compare
3035         iterators from different containers.
3036
3037         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3038         iterators from different ParagraphList containers.
3039         [NEXT] ditto
3040
3041         * text2.C (LyXText): change order of initialization slightly
3042         (operator=): new function. copy all variables except cache_par_
3043         (moveUp): make sure that we do not compare iterators from
3044         different ParagraphList constainers.
3045         (moveDown): ditto
3046
3047         * text.C (firstPar): new function
3048         (lastPar): new function
3049         (endPar): new function
3050
3051         * lyxtext.h: move things around and group public functions, public
3052         variables, private functions, private variables
3053
3054 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3055
3056         * factory.C: change call to InsetERT constructor to avoid
3057         additional invocation of method status
3058         * text2.C (toggleInset): remove redundant update() call
3059         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3060         instead of a Bufferview pointer
3061
3062 2003-11-21  André Pönitz  <poenitz@gmx.net>
3063
3064         * rowpainter.C: simplification
3065
3066 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3067
3068         * text3.C (dispatch): make possible to extend a word/row selection
3069         with the mouse
3070
3071 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3072
3073         * lyxtext.h: x0_,y0_ -> xo_,yo_
3074         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3075         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3076         * rowpainter.C (paintRows): paint full paragraphs
3077
3078 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3079
3080         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3081         screen coordinates)
3082
3083 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3084
3085         * lyxtext.h: add x0_, y0_
3086         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3087         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3088
3089 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3090
3091         * text2.C (setCursorIntern): move the x_target update here *
3092         * text3.C: change some bv() to true/false in calls to
3093         cursorUp/Down/Right/Left
3094         * cursor.C: use helper function.
3095
3096 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3097
3098         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3099         * paragraph_funcs.[Ch]: correct comment
3100         * rowpainter.C: do not paint selections away from bv->cursor()
3101         Fix a long standing selection painting bug.
3102         * text3.C: generalize mouse-selection code to LyXTexts other that
3103         top one
3104         * textcursor.C: do not use y coords if we can use par offsets
3105
3106 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3107
3108         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3109         cursor position after e.g. inset insert)
3110
3111 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3112
3113         * lyxfind.C (replace): adjust to locking removal + some
3114         code simplification
3115
3116 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3117
3118         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3119         of the path
3120
3121 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3122
3123         * lyxlayout.[Ch]:
3124         * output_docbook.C: XML sanitation: new layout
3125         parameters InnerTag and CommandDepth
3126
3127 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3128
3129         * BufferView_pimpl.C:
3130         * factory.C:
3131         * text3.C: Fix the insertion and modification of button-style
3132         insets
3133
3134 2003-11-13  André Pönitz  <poenitz@gmx.net>
3135
3136         * InsetList.[Ch]: remove deleteLyXText
3137
3138         * paragraph.[Ch]: cache beginOfBody position
3139
3140         * Bidi.C:
3141         * text.C:
3142         * text2.C:
3143         * text3.C: remove superfluous update() calls
3144
3145         * vspace.C: cleanup
3146
3147 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3148
3149         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3150         * BufferView.C (fitLockedInsetCursor): remove
3151         * cursor.[Ch] (getDim): add
3152         * text.C (getRowNearY): add faster version
3153         * text3.C: remove some update calls
3154
3155 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3156
3157         * LaTeXFeatures.C:
3158         * LyXAction.C:
3159         * MenuBackend.C:
3160         * MenuBackend.h:
3161         * dispatchresult.h:
3162         * factory.C:
3163         * lfuns.h:
3164         * lyxfunc.C:
3165         * lyxtextclass.C:
3166         * lyxtextclass.h:
3167         * text3.C: The Character Style /XML short element patch.
3168
3169 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3170
3171         * text3.C:
3172         * factory.C: Small step to solving 'unable to insert some insets'
3173         problem
3174
3175 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * cursor.[Ch] (updatePos): new function for updating the y
3178         position of the tip inset
3179         * bufferview_funcs.C (put_selection_at):
3180         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3181
3182 2003-11-11  André Pönitz  <poenitz@gmx.net>
3183
3184         * text.C: remove big comment on invalid Paragraph pointers as it is
3185         not valid anymore
3186
3187 2003-11-11  André Pönitz  <poenitz@gmx.net>
3188
3189         * text_funcs.[Ch]: merge with ...
3190
3191         * text.C: ... this
3192
3193         * lyxtext.h:
3194         * text2.C:
3195         * text3.C: adjust
3196
3197         * Makefile.am: remove text_funcs.[Ch]
3198
3199 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3200
3201         * cursor.C (getPos): return absolute cached y coord
3202
3203         * BufferView_pimpl.C (fitCursor): new simplistic code
3204         (workAreaDispatch): add a fitCursor call
3205
3206 2003-11-10  André Pönitz  <poenitz@gmx.net>
3207
3208         * BufferView.[Ch]:
3209         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3210
3211 2003-11-10  André Pönitz  <poenitz@gmx.net>
3212
3213         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3214         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3215         indicate that the cursor needs to leave an inset
3216
3217         * lyxtext.h: remove inset locking
3218
3219         * cursor.[Ch]: re-implement functionality provided by inset locking
3220
3221         * BufferView.[Ch]:
3222         * BufferView_pimpl.[Ch]:
3223         * LyXAction.C:
3224         * bufferview_funcs.[Ch]:
3225         * factory.C:
3226         * funcrequest.[Ch]:
3227         * iterators.C:
3228         * lyx_cb.C:
3229         * lyxfind.C:
3230         * lyxfunc.C:
3231         * text.C:
3232         * text2.C:
3233         * text3.C:
3234         * undo.C: adjust
3235
3236 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3237
3238         * PosIterator.[Ch]: replace the stack with a vector, add inset
3239         accesor
3240         * iterators.[C]: adjust
3241
3242 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3245         replaced
3246         * paragraph_funcs.C (readParToken): put the correct id in the
3247         error item, not the id of the top paragraph
3248
3249 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3250
3251         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3252         * bufferview_funcs.C (put_selection_at): use the above
3253
3254 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3257
3258 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3259
3260         * output_linuxdoc.h:
3261         * output_plaintext.h:
3262         * output.h:
3263         * output_docbook.h: add #include statements
3264
3265 2003-11-05  José Matos  <jamatos@lyx.org>
3266
3267         * output_docbook.[Ch]:
3268         * output_latex.[Ch]:
3269         * output_linuxdoc.[Ch]:
3270         * output_plaintext.[Ch]: New files for output formats.
3271         * output.[Ch]: New file for helper functions.
3272
3273         * buffer.[Ch]:
3274         * paragraph_funcs.[Ch]: output functions moved to new files.
3275
3276         * outputparams.h: rename of latexrunparams.h
3277
3278         * LaTeX.[Ch]:
3279         * buffer.[Ch]:
3280         * bufferlist.[Ch]:
3281         * converter.[Ch]:
3282         * exporter.C:
3283         * paragraph.[Ch]:
3284         * paragraph_funcs.[Ch]:
3285         * paragraph_pimpl.[Ch]:
3286         * tabular.[Ch]: rename ascii to plaintext
3287         and LatexRunParams to OutputParams.
3288
3289 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3290
3291         * iterators.[Ch] (text): require bv argument
3292         * undo.C (recordUndo):
3293         * lyxfunc.C (dispatch):
3294         * bufferview_funcs.C (put_selection_at): adjust
3295
3296 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3297
3298         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3299
3300 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3303         nestings
3304
3305 2003-11-04  André Pönitz  <poenitz@gmx.net>
3306
3307         * cursor.[Ch]: restructure
3308
3309         * BufferView.[Ch]:
3310         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3311
3312         * iterators.[Ch] (asCursor): remove
3313
3314         * lfuns.h: remove LFUN_INSET_EDIT
3315
3316         * lyxfunc.C:
3317         * tabular.C:
3318         * text.C:
3319         * text2.C:
3320         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3321
3322 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3323
3324         * lyxfind.[Ch]: complete overhaul
3325         * BufferView_pimpl.C:
3326         * lyxfunc.C: adjust
3327         * paragraph.[Ch] (insert): add
3328
3329 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3330
3331         * BufferView.[Ch]:
3332         * lyxtext.h:
3333         * text.C: remove dead spellcheck code
3334
3335 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3336
3337         * dispatchresult.h: add a val setter
3338
3339         * cursor.C (dispatch): use a tempvar for data_[i]
3340
3341 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3342
3343         * PosIterator.[Ch]: compile fix
3344
3345 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3346
3347         * text.C (cursorPar): deactivate the cursor cache
3348
3349 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3350
3351         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3352
3353 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3354
3355         * text3.C (dispatch): adjust for new DisptchResult semantics.
3356
3357         * lyxfunc.C (dispatch): handle update when return from
3358         Cursor::dispatch, adjust for new DispatchResult semantics.
3359
3360         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3361         DispatchResult(true) mean to not update. Add class functions for
3362         setting dispatched and update, as well as reading.
3363
3364         * cursor.C (dispatch): don't handle update here
3365
3366 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3367
3368         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3369         * trans_mgr.C: adjust
3370
3371         * paragraph_funcs.C (readParToken): exception safety
3372
3373         * lyxvc.h: store the vcs pointer in a scoped_ptr
3374         * lyxvc.C: adjust
3375
3376         * lyxsocket.C (serverCallback): exception safety
3377
3378         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3379
3380         * ispell.C (clone): make it return a auto_ptr
3381
3382         * factory.C (createInset): exception safety
3383         (readInset): exception safety
3384
3385         * bufferlist.C (newBuffer): exception safety
3386
3387         * Thesaurus.C (Thesaurus): use initialization for aik_
3388
3389         * MenuBackend.C (expandToc): exception safety.
3390
3391 2003-11-03  André Pönitz  <poenitz@gmx.net>
3392
3393         * buffer.C:
3394         * buffer.h:
3395         * bufferview_funcs.C: remove getInsetFromId()
3396
3397         * lyxcursor.[Ch]:
3398         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3399
3400         * lyxfunc.C:
3401         * text2.C:
3402         * text3.C: adjust
3403
3404 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3405
3406         * PosIterator.C (distance, advance): new
3407         * bufferview_funcs.[Ch] (put_selection_at): new
3408         * iterators.[Ch] (lockPath): new
3409
3410 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3411
3412         * iterators.[Ch] (asPosIterator): added
3413         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3414         * PosIterator.[Ch]: added
3415
3416 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * text3.C:
3419         * lyxfunc.C:
3420         * cursor.C (dispatch):
3421         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3422
3423         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3424         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3425         contructor, add a class function dispatched. Remove operator>=
3426
3427 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3428
3429         * debug.C: only use the default constructor for debugstream
3430         (lyxerr) here.
3431
3432         * main.C (main): include debug.h and setup the lyxerr streambuf
3433         here.
3434
3435 2003-10-31  José Matos  <jamatos@lyx.org>
3436
3437         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3438
3439         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3440         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3441         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3442         * paragraph_pimpl.C (simpleTeXSpecialC):
3443         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3444         add LatexRunParams argument.
3445
3446         * exporter.C (Export): change call accordingly.
3447
3448         * latexrunparams.h: add new member to take care of the other backends.
3449 2003-10-30  José Matos  <jamatos@lyx.org>
3450
3451         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3452         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3453         factorise code for paragraph output.
3454         * buffer.[Ch]:
3455         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3456         move functions.
3457
3458 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3459
3460         * text3.C (dispatch):
3461         * lyxfunc.C (dispatch):
3462         * cursor.C (dispatch):
3463         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3464
3465         * dispatchresult.h: make the dispatch_result_t ctor explicit
3466
3467 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3468
3469         * sgml.[Ch]:
3470         * buffer.C: small refactoring of docbook stuff
3471
3472 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3475         meaning.
3476
3477 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3478
3479         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3480         operator dispatch_result_t, and operators for == != and >=
3481
3482         * cursor.C (dispatch): adjust for operator dispatch_result_t
3483         removal. comment out call to update
3484
3485         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3486
3487 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * text3.C:
3490         * text2.C:
3491         * text.C:
3492         * lyxtext.h:
3493         * lyxfunc.C:
3494         * cursor.C:
3495         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3496         (dispatch):
3497
3498         * dispatchresult.h: new file, DispatchResult broken out of
3499         insets/insetbase.h
3500
3501         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3502
3503 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * text.C (rowBreakPoint): put a hack inside #if 0
3506
3507 2003-10-28  André Pönitz  <poenitz@gmx.net>
3508
3509         * lyxtext.h:
3510         * metricsinfo.C:
3511         * paragraph_funcs.C:
3512         * rowpainter.C:
3513         * text.C:
3514         * text2.C: general cleanup (lots of small stuff)
3515
3516 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * text2.C (cursorEnd): simple fix to the "end key goes to one
3519         before the end on last row" bug
3520
3521 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * text.C (backspace): fix the "zombie characters"
3524
3525 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3526
3527         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3528
3529 2003-10-27  André Pönitz  <poenitz@gmx.net>
3530
3531         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3532
3533         * factory.C: handle new InsetPagebreak, InsetLine
3534
3535         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3536         and move handling into new InsetPagebreak, InsetLine
3537
3538         * BufferView_pimpl.C:
3539         * LyXAction.C:
3540         * ParagraphParameters.C:
3541         * ParameterStruct.h:
3542         * lyxfunc.C:
3543         * lyxtext.h:
3544         * paragraph.C:
3545         * paragraph.h:
3546         * paragraph_funcs.C:
3547         * paragraph_pimpl.C:
3548         * rowpainter.C:
3549         * text.C:
3550         * text2.C:
3551         * text3.C: adjust
3552
3553 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * text.C:
3556         * lyxrow_funcs.[Ch]:
3557         * Bidi.C:
3558         * paragraph.C:
3559         * lyxtext.h:
3560         * rowpainter.C:
3561         * text2.C:
3562         * text3.C: remove lastPos uses in favour of Row::endpos
3563
3564 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * undo.C (performUndoOrRedo): fix two crashes by setting a
3567         cursor by hand and reordering some calls. Use bv->lockInset instead
3568         of inset->edit because the latter loses cursor information
3569
3570 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3571
3572         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3573         by Martin
3574         (rowBreakPoint): fix width. change point to point + 1.
3575         Add a missing check.
3576
3577 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3578
3579         * MenuBackend.C:
3580         * lyxfunc.C: fix (at least partly) the problems
3581         with the Nav menu and headers inside branch insets
3582         reported by Kayvan
3583
3584 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3585
3586         * paragraph.C (getChar): add strong asserts
3587
3588         * lyxrow_funcs.C (lastPos): remove hideous hack
3589
3590         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3591         (fill): adjust to that (avoid an infinite loop)
3592
3593 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3594
3595         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3596
3597 2003-10-23  André Pönitz  <poenitz@gmx.net>
3598
3599         * RowList_fwd.h: change list<> to vector<> to gain speed
3600         after suggestion from Alfredo
3601
3602 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3603
3604         * lyxtext.h: move the bidi stuff from here...
3605         * text.C: and here
3606         * text2.C: and here
3607         * Bidi.[Ch]: ... to here
3608
3609 2003-10-23  André Pönitz  <poenitz@gmx.net>
3610
3611         * lyxtext.h:
3612         * text.C (isLastRow, isFirstRow): new functions
3613
3614         * paragraph.h: new width cache member
3615
3616         * rowpainter.C: replace RowList::iterator with Row & where possible
3617
3618         * lyxfunc.C: replace several view()->text with a single call
3619
3620         * toc.C: fix 'unused' warning
3621
3622 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3625         when woring with stream::pos_type
3626         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3627
3628 2003-10-22  André Pönitz  <poenitz@gmx.net>
3629
3630         * lyxtext.h:
3631         * text.C: use Row & instead of RowList::iterator
3632
3633         * lyxrow.h: rename end() to endpos()
3634
3635         * rowpainter.C:
3636         * text.C:
3637         * text2.C: adjust
3638
3639 2003-10-22  Angus Leeming  <leeming@lyx.org>
3640
3641         * buffer.[Ch] (fully_loaded): new member function, returning true
3642         only when the file has been loaded fully.
3643         Used to prevent the premature generation of previews and by the
3644         citation inset to prevent computation of the natbib-style label.
3645
3646         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3647         templates are all set up.
3648
3649         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3650
3651 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3652
3653         * text.C: fixed an "oops" in the "is a bit silly"
3654         bug fix
3655
3656 2003-10-21  André Pönitz  <poenitz@gmx.net>
3657
3658         * FuncStatus.[Ch]: small stuff, whitespace
3659
3660         * lyxfont.[Ch]: operator<<() for debug reasons
3661
3662         * lyxfunc.C:
3663         * lyxrow_funcs.C:
3664         * lyxtext.h: whitespace, spelling
3665
3666         * paragraph.C: naming of variables
3667
3668         * text.C:
3669         * text2.C: small stuff
3670
3671
3672 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3673
3674         * text.C: (1) finish off the inset display() work;
3675         (2) fix the "is a bit silly" bug (accessing char
3676         past end of par).
3677
3678 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3679
3680         * text.C: re-introduce display() for insets, fixing the
3681         various bugs (stretch of line above, math inset
3682         positioning, ...)
3683
3684 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3685
3686         * text.C (rightMargin): remove spurious semicolon
3687
3688         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3689         1415)
3690
3691 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3692
3693         * text3.C: fix one crash due to wrong cursor def
3694
3695 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * vc-backend.C (scanMaster): make the regex static
3698
3699         * LaTeX.C (scanAuxFile): make the regexs static
3700
3701         * text3.C (doInsertInset, dispatch, dispatch):
3702         * text2.C (cursorUp, cursorDown):
3703         * text.C (selectNextWordToSpellcheck):
3704         * BufferView_pimpl.C (dispatch):
3705         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3706
3707 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3708
3709         * lyxsocket.C: include <cerrno>
3710
3711 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * lyxfunc.C (dispatch): remove textcache stuff
3714
3715         * bufferlist.C (release): remove textcache stuff
3716         (closeAll): ditto
3717
3718         * TextCache.C: delete file
3719         * TextCache.h: delete file
3720
3721         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3722
3723         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3724         delete of the bv_->text.
3725         (resizeCurrentBuffer): remove texcache stuff
3726         (workAreaResize): ditto
3727
3728 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3731         action.
3732
3733 2003-10-16  André Pönitz  <poenitz@gmx.net>
3734
3735         * lyxrow.[Ch]:
3736         * paragraph.h:
3737         * rowpainter.C:
3738         * text.C:
3739         * text2.C:
3740         * text3.C: speed up by storing y positions per paragraph plus per-row
3741         offset instead of having a 'full' y position in the row.
3742
3743 2003-10-15  André Pönitz  <poenitz@gmx.net>
3744
3745         * iterators.[Ch]:
3746         * iterators.[Ch]:
3747         * undo.[Ch]: make undo aware of inner insets
3748
3749 2003-10-14  Angus Leeming  <leeming@lyx.org>
3750
3751         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3752         static member functions LyX::ref() and LyX::cref.
3753         (lastfiles): new accessor functions for the new lastfiles_ member var.
3754         (addLyXView, views_): add a new LyXView to the list of views_.
3755         (updateInset): loop over all LyXViews to call their own updateInset
3756         member function, returning a pointer to the Buffer owning the inset.
3757
3758         * BufferView_pimpl.C (loadLyXFile):
3759         * MenuBackend.C (expandLastfiles):
3760         * bufferlist.C (MenuWrite, QuitLyX):
3761         lastfiles is no longer a global variable.
3762         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3763
3764         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3765         static function. Access through LyX::cref().emergencyCleanup().
3766
3767 2003-10-14  André Pönitz  <poenitz@gmx.net>
3768
3769         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3770
3771         * undo.[Ch]: restoring part of 'undo in insets'
3772
3773         * Makefile.am:
3774         * undo_funcs.[Ch]: merge with undo.[Ch]
3775
3776         * tabular.C: small cleansing stuff
3777
3778 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3779
3780         * paragraph_funcs.C (readParToken): report unknown insets as error
3781         boxes. Use the outer paragraph as location (also for unknown
3782         tokens).
3783
3784         * factory.C (readInset): do not abort on reading an unknown inset.
3785         Eat it and return 0.
3786
3787 2003-10-13  Angus Leeming  <leeming@lyx.org>
3788
3789         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3790
3791         * lyxrc.C: displayTranslator is now a function,
3792         declared in GraphicsTypes.h.
3793
3794 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3795
3796         * format.C: new placeholder $$a to pass the socket address.
3797
3798         * bufferlist.[Ch]: new function getBufferFromTmp.
3799
3800         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3801           files in the temporary dir.
3802
3803 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3804
3805         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3806
3807         * Makefile.am: add lyxsocket.[Ch].
3808
3809         * lyx_main.C (error_handler): handle SIGPIPE.
3810
3811 2003-10-13  André Pönitz  <poenitz@gmx.net>
3812
3813         * BufferView_pimpl.C:
3814         * lyxtext.h:
3815         * text.C:
3816         * text2.C:
3817         * text3.C:
3818         * undo_funcs.[Ch]: use paroffset_type instead of
3819           ParagraphList::iterators to prevent multiple conversion
3820           (and get a more robust interface)
3821
3822 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3825         * lyxtext.h: ditto
3826         * text3.C (dispatch): ditto
3827
3828 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3831         move the onlyfile, use onlyfile instead of foundfile in a couple
3832         of places.
3833
3834         * DepTable.C (update): flush the error stream a bit more
3835
3836 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * lyxserver.C (callback): adjust
3839
3840         * lyxfunc.C (getStatus): add a missing brace in commented code
3841         (ensureBufferClean): reindent
3842         (dispatch): delete version taking a string
3843
3844 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * LaTeX.C (deplog): move found file handlig from here...
3847         (handleFoundFile): .. to new function here.
3848         (deplog): make sure to discover several files mentioned on the
3849         same log line.
3850
3851 2003-10-10  André Pönitz  <poenitz@gmx.net>
3852
3853         * lyxfunc.C:
3854         * lyxtext.h:
3855         * tabular.C:
3856         * text.C:
3857         * text2.C:
3858         * text3.C: fix some of the tabular crashes
3859
3860 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3861
3862         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3863
3864         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3865
3866 2003-10-09  André Pönitz  <poenitz@gmx.net>
3867
3868         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3869
3870         * BufferView.C:
3871         * BufferView_pimpl.C:
3872         * bufferview_funcs.C:
3873         * lyx_cb.C:
3874         * lyxcursor.C:
3875         * lyxfind.C:
3876         * lyxfunc.C:
3877         * lyxtext.h:
3878         * text.C:
3879         * text2.C:
3880         * text3.C:
3881         * text_funcs.[Ch]:
3882         * textcursor.[Ch]:
3883         * undo_funcs.C: adjust
3884
3885 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3886
3887         * text2.C (incrementItemDepth): new function, use a backtracking
3888         algorithm to discover the correct item depth.
3889         (resetEnumCounterIfNeeded): new function, use a backtracking
3890         algorithm to discover if counter reset is needed.
3891         (setCounter): use them. Simplify a bit. Add different labels for
3892         different item depths for itemize.
3893
3894         * paragraph.C (Paragraph): remove initialization of enumdepth
3895         (operator=): ditto
3896
3897         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3898         enumerate and itemize. Change the type of itemdepth to signed char.
3899
3900 2003-10-08  André Pönitz  <poenitz@gmx.net>
3901
3902         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3903           thing assignable.
3904         * text.C:
3905         * text2.C: adjust
3906
3907         * tabular.[Ch]: fix crash after 'row-insert'
3908
3909 2003-10-08  Angus Leeming  <leeming@lyx.org>
3910
3911         Fix doxygen warnings.
3912
3913         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3914         Remove CutAndPaste:: prefix from header file declaration.
3915
3916         * LColor.h (fill): remove LColor:: prefix from declaration.
3917
3918         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3919         use lyx::depth_type rather than Paragraph::depth_type so that
3920         header file and .C file match.
3921
3922         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3923
3924         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3925         * aspell.C: \file aspell_local.C -> \file aspell.C
3926         * gettext.C: \file gettext.C -> \file src/gettext.C
3927         * gettext.h: \file gettext.h -> \file src/gettext.h
3928         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3929         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3930         * text.C: \file text.C -> \file src/text.C
3931
3932         * toc.C: move comment so that doxygen is not confused.
3933
3934 2003-10-07  Angus Leeming  <leeming@lyx.org>
3935
3936         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3937
3938 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3939
3940         * aspell.C:
3941         * aspell_local.h: add forgotten std::string's.
3942
3943 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3944
3945         * LaTeXFeatures.C:
3946         * LyXAction.C:
3947         * factory.C:
3948         * lfuns.h:
3949         * lyxfunc.C:
3950         * text3.C: The Box patch. Fancybox support, minipage, parbox
3951
3952 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3953
3954         * CutAndPaste.h:
3955         * DepTable.h:
3956         * FloatList.h:
3957         * LaTeXFeatures.h:
3958         * ParagraphParameters.h:
3959         * TextCache.h:
3960         * Thesaurus.h:
3961         * bufferlist.h:
3962         * exporter.h:
3963         * importer.h:
3964         * lastfiles.h:
3965         * lyxfind.h:
3966         * lyxfont.h:
3967         * lyxlex.h:
3968         * lyxtextclasslist.h:
3969         * messages.h:
3970         * paragraph.h:
3971         * paragraph_pimpl.C:
3972         * textcursor.h: add <string> and other small fixes to make Lars'
3973         std::string patch compile with STLport.
3974
3975 2003-10-06  Angus Leeming  <leeming@lyx.org>
3976
3977         * LColor.h: Add missing #include <string>.
3978
3979 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * All most all file in all subdirs: Make <string> be the prefered
3982         way of getting to std::string, add using declarations.
3983
3984 2003-10-06  André Pönitz  <poenitz@gmx.net>
3985
3986         * metricsinfo.C: initialize LyXFont before changing attribute.
3987         (fixes the 'math in \emph is upright' bug)
3988
3989 2003-10-06  André Pönitz  <poenitz@gmx.net>
3990
3991         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3992
3993 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3994
3995         * graph.C:
3996         * paragraph_pimpl.C: Small fixes to build using STLport
3997
3998 2003-10-02  André Pönitz  <poenitz@gmx.net>
3999
4000         * lyxfunc.C:
4001         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4002
4003 2003-10-01  André Pönitz  <poenitz@gmx.net>
4004
4005         * factory.C: assert early
4006
4007 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4008
4009         * lyx_main.C: remove the global debug object
4010
4011         * debug.h: adjust for new debugstream
4012
4013         * debug.C: adjust for new debugstream and keep the global debug
4014         object here.
4015
4016 2003-09-22  Angus Leeming  <leeming@lyx.org>
4017
4018         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4019         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4020         an incomplete class LyXFont.
4021
4022 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4023
4024         * factory.C: bug fix in branches
4025
4026 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * lyxfunc.C (processKeySym): adjust
4029         (dispatch): adjust
4030         (dispatch): change arg name from ev to func, adjust
4031         (sendDispatchMessage): ditto
4032
4033         * lyx_main.C (defaultKeyBindings): adjust keybindings
4034         (deadKeyBindings): ditto
4035
4036         * kbsequence.C (addkey): return a FuncRequest
4037
4038         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4039
4040         * kbmap.C (bind): take a FuncRequest as arg, adjust
4041         (read): adjust
4042         (lookup): adjust
4043         (defkey): change to take a FuncRequest as arg, adjust
4044         (findbinding): take a FuncRequest as arg, adjust.
4045
4046         * funcrequest.h (operator=): added
4047
4048         * funcrequest.C (FuncRequest): default kb_action changed from
4049         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4050
4051         * buffer.C (dispatch): simplify
4052         (dispatch): adjust to take a FuncRequest as arg, adjust
4053
4054         * boost.C (assertion_failed): change assertion message slightly
4055
4056         * ToolbarBackend.C (read): simplify
4057
4058         * MenuBackend.C (binding): adjust call to findbinding, add a
4059         message if no binding is found.
4060         (read): simplify
4061         (expandToc): correct by adding a empty FuncRequest
4062
4063         * LyXAction.C: include <boost/assert.hpp>
4064         (isPseudoAction): delete function
4065         (LookupFunc): change name to...
4066         (lookupFunc): this. change return type to FuncRequest.
4067         (getActionName): take kb_action as arg, simplify
4068         (funcHasFlag): add an assert, simplify.
4069
4070 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * toc.C (action): return a FuncRequest, simplify
4073
4074         * lyxfunc.C (processKeySym): adjust
4075         (getStatus): delete version that takes an int.
4076         (getStatus): adjust
4077         (dispatch): delete version that takes action as int
4078         (dispatch): adjust
4079         (sendDispatchMessage): simplify and adjust
4080
4081         * funcrequest.C (getArg): take unsigned int as arg
4082
4083         * ToolbarBackend.C (read): adjust
4084         (add): delete version that takes func as a string.
4085         (getIton): take a FuncRequest as arg
4086
4087         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4088         action.
4089
4090         * MenuBackend.C (MenuItem): add a new construct that only takes a
4091         Kind, simplify the constructor use for submenus.
4092         (add): adjust
4093         (expandLastfiles): adjust
4094         (expandDocuments): adjust
4095         (expandFormats): adjust
4096         (expandFloatListInsert): adjust
4097         (expandFloatInsert): adjust
4098         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4099
4100         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4101         Remove class variables lyx_pseudo_map and lyx_arg_map
4102
4103         * LyXAction.C (searchActionArg): delete function
4104         (getPseudoAction): delete function
4105         (retrieveActionArg): delete function
4106         (LookupFunc): make it return kb_action, simplify.
4107         (getActionName): simplify
4108
4109         * factory.C (createInset): fix new bug
4110
4111 2003-09-19  Angus Leeming  <leeming@lyx.org>
4112
4113         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4114         masterFilename_ parameter in the include inset.
4115
4116         * factory.C (createInset): changes due to the changes to InsetInclude.
4117
4118 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4119
4120         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4121
4122 2003-09-18  Angus Leeming  <leeming@lyx.org>
4123
4124         * buffer.C:
4125         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4126         Inset::fillWithBibKeys.
4127         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4128
4129 2003-09-18  Angus Leeming  <leeming@lyx.org>
4130
4131         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4132         variables.
4133         (ctor): pass and store a 'Buffer const &'
4134         (buffer): new member function.
4135
4136         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4137         '*this' to the LaTeXFeatures ctor.
4138
4139 2003-09-18  Angus Leeming  <leeming@lyx.org>
4140
4141         * LColor.h:
4142         * lyxfont.C:
4143         * lyxfont.h:
4144         * lyxtext.h:
4145         * text.C: rename EnumLColor as LColor_color.
4146
4147 2003-09-18  Angus Leeming  <leeming@lyx.org>
4148
4149         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4150         remove #include "insets/insetbase.h" from cursor.h.
4151
4152 2003-09-18  Angus Leeming  <leeming@lyx.org>
4153
4154         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4155         InsetOld_code to remove #include "inset.h".
4156
4157         * iterators.C: add #include "insets/inset.h"
4158
4159 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4160
4161         * BufferView.C: remove more locking stuff that apparently doesn't
4162         do anything sensible.
4163
4164 2003-09-16  André Pönitz  <poenitz@gmx.net>
4165
4166         * paragraph.[Ch]:
4167         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4168           performance boost.
4169
4170 2003-09-16  Angus Leeming  <leeming@lyx.org>
4171
4172         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4173
4174         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4175         arg/return type.
4176
4177         * paragraph.h: remove #include "lyxfont.h". Forward declare
4178         LyXFont_size.
4179
4180 2003-09-16  Angus Leeming  <leeming@lyx.org>
4181
4182         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4183         of support/textutils.h.
4184         (isWord): move the contents of support/textutils.h's IsWordChar here.
4185
4186         * buffer.C:
4187         * lyxfind.C:
4188         * rowpainter.C:
4189         * text.C:
4190         * text2.C: add #include "paragraph.h".
4191
4192         * rowpainter.C:
4193         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4194
4195 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * main.C:
4198         * lyx_main.C:
4199         * lyx_cb.C:
4200         * buffer.C:
4201         * LaTeX.C: use namespace alias for lyx::support::os
4202
4203 2003-09-16  Angus Leeming  <leeming@lyx.org>
4204
4205         * bufferparams.C:
4206         * bufferview_funcs.C:
4207         * factory.C:
4208         * lyxfunc.C:
4209         * paragraph_pimpl.C:
4210         * rowpainter.C:
4211         * text.C: add #include "LColor.h".
4212
4213 2003-09-16  Angus Leeming  <leeming@lyx.org>
4214
4215         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4216         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4217         return LyXFont &.
4218         Store the FontBits::color variable as an int rather than as an
4219         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4220         file.
4221
4222         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4223         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4224         string calls together.
4225
4226         * lyxrc.C: add #include "LColor.h".
4227
4228 2003-09-15  Angus Leeming  <leeming@lyx.org>
4229
4230         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4231         a cow_ptr.
4232
4233 2003-09-15  Angus Leeming  <leeming@lyx.org>
4234
4235         * LColor.h: add an EnumLColor wrapper for LColor::color.
4236
4237         * lyxfont.[Ch] (color, setColor, realColor):
4238         * lyxtext.h, text.C (backgroundColor):
4239         pass EnumLColor args to/from the functions, rather than LColor::color
4240         ones.
4241
4242         * lyxfont.h:
4243         * lyxtext.h: forward declare EnumLColor.
4244
4245         * lyx_main.C: add #include "LColor.h".
4246
4247 2003-09-15  Angus Leeming  <leeming@lyx.org>
4248
4249         * .cvsignore: add lyx-gtk.
4250
4251 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * Chktex.C
4254         * LaTeX.C
4255         * LaTeXFeatures.C
4256         * ParagraphParameters.C
4257         * Spacing.C
4258         * buffer.C
4259         * bufferparams.C
4260         * bufferview_funcs.C
4261         * chset.C
4262         * counters.C
4263         * funcrequest.C
4264         * lyxfont.C
4265         * lyxgluelength.C
4266         * lyxlength.C
4267         * paragraph.C
4268         * paragraph_funcs.C
4269         * text3.C
4270         * vc-backend.C: remove usage of STRCONV
4271
4272 2003-09-15  Angus Leeming  <leeming@lyx.org>
4273
4274         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4275         explicitly define the color passed to the painter.
4276
4277 2003-09-15  Angus Leeming  <leeming@lyx.org>
4278
4279         * bufferparams.C (BufferParams): reorder member initializers to avoid
4280         compiler warning.
4281
4282 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4283
4284         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4285         * text.C (updateRowPositions): remove an unusual nop
4286
4287 2003-09-12  André Pönitz  <poenitz@gmx.net>
4288
4289         * BufferView_pimpl.C:
4290         * Bullet.C:
4291         * layout.h:
4292         * lyxfunc.C:
4293         * lyxlayout.[Ch]:
4294         * lyxtextclass.C:
4295         * rowpainter.C:
4296         * text.C:
4297         * text2.C:
4298         * Counters.[Ch]: finish the 'automatic counters' job
4299
4300 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4301
4302         * aspell.C: include <boost/assert.cpp> (compile fix)
4303
4304 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4305
4306         * boost.C (assertion_failed): use lyx::support::abort instead of
4307         assert.
4308
4309 2003-09-10  Angus Leeming  <leeming@lyx.org>
4310
4311         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4312         with their _fwd progeny.
4313
4314 2003-09-09  Angus Leeming  <leeming@lyx.org>
4315
4316         134 files throughtout the source tree: replace 'using namespace abc;'
4317         directives with the appropriate 'using abc::xyz;' declarations.
4318
4319 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4320
4321         * boost.C (emergencyCleanup): moved here from LAssert.c
4322         (assertion_failed): new function, called by BOOST_ASSERT
4323
4324         * several files: change Assert to BOOST_ASSERT
4325
4326 2003-09-09  Angus Leeming  <leeming@lyx.org>
4327
4328         * buffer.[Ch]: Add an Impl class and move Buffer's member
4329         variables into it. As a result move several header files out of
4330         buffer.h.
4331
4332         Add header files to lots of .C files all over the tree as a result.
4333
4334 2003-09-09  Angus Leeming  <leeming@lyx.org>
4335
4336         * buffer.[Ch]: make Buffer's member variables private. Add
4337         accessor functions.
4338
4339         Lots of changes all over the tree as a result.
4340
4341 2003-09-08  Angus Leeming  <leeming@lyx.org>
4342
4343         * graph.C: #include <config.h>.
4344
4345 2003-09-08  Angus Leeming  <leeming@lyx.org>
4346
4347         * BranchList.C:
4348         * BufferView.C:
4349         * BufferView_pimpl.C:
4350         * CutAndPaste.C:
4351         * DepTable.C:
4352         * LaTeX.C:
4353         * LaTeXFeatures.C:
4354         * LyXAction.C:
4355         * MenuBackend.C:
4356         * TextCache.C:
4357         * aspell.C:
4358         * buffer.C:
4359         * bufferlist.C:
4360         * changes.C:
4361         * chset.C:
4362         * converter.C:
4363         * counters.C:
4364         * debug.C:
4365         * graph.C:
4366         * ispell.C:
4367         * lyx_cb.C:
4368         * lyxfind.C:
4369         * lyxfunc.C:
4370         * lyxlex_pimpl.C:
4371         * lyxrc.C:
4372         * lyxrow.C:
4373         * paragraph.C:
4374         * rowpainter.C:
4375         * texrow.C:
4376         * text.C:
4377         * text2.C:
4378         * toc.C: remove redundant using directives.
4379
4380 2003-09-07  Angus Leeming  <leeming@lyx.org>
4381
4382         * LaTeXFeatures.h: remove #include "support/types.h".
4383         * ToolbarBackend.h: remove #include <algorithm>.
4384         * changes.h: remove #include <ctime>.
4385         * debug.h: remove #include <iosfwd>.
4386         * graph.h: remove #include "support/std_string.h".
4387         * lyx_main.h: remove #include <csignal>.
4388         * lyxlex_pimpl.h: remove #include <fstream>.
4389         * sgml.h: remove #include <algorithm>, <utility>.
4390         * toc.h: remove #include "support/std_ostream.h".
4391         Add #include <iosfwd>.
4392
4393 2003-09-07  Angus Leeming  <leeming@lyx.org>
4394
4395         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4396
4397         * converter.h: forward declare LatexRunParams.
4398         * encoding.h: remove #include "lyxrc.h".
4399         * lyxtext.h: remove #include "LColor.h".
4400         * lyxtextclass.h: remove #include "support/types.h".
4401         * trans.h: remove #include "tex-accent.h".
4402         * trans_mgr.h: remove #include "tex-accent.h".
4403         * insets/inset.h: remove #include "support/types.h", <vector>.
4404         * insets/insetcollapsable.h: remove #include "LColor.h".
4405         * insets/insetinclude.h: remove #include "dimension.h".
4406         * insets/insetlatexaccent.h: remove #include "dimension.h".
4407         * insets/insetoptarg.h:: remove #include "insettext.h".
4408         * insets/insettext.h: remove #include "dimension.h",
4409         <boost/shared_ptr.hpp>
4410
4411         * insets/renderers.h: add #include "dimension.h".
4412         * insets/updatableinset.h: add #include "support/types.h".
4413
4414         * many .C files: Associated changes.
4415
4416 2003-09-06  Angus Leeming  <leeming@lyx.org>
4417
4418         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4419         one, inside testInvariant.
4420
4421         * PrinterParams.C: new file.
4422         * PrinterParams.[Ch]: move the function bodies out of line.
4423
4424 2003-09-06  Angus Leeming  <leeming@lyx.org>
4425
4426         * ParagraphParameters.h: forward declare ParameterStruct rather than
4427         including its header file.
4428         (depth): moved out-of-line.
4429
4430 2003-09-06  Angus Leeming  <leeming@lyx.org>
4431
4432         * BufferView_pimpl.h:
4433         * kbmap.h:
4434         * kbsequence.h:
4435         * lyxfunc.h: forward declare LyXKeySym rather than
4436         #include "frontends/LyXKeySym.h".
4437
4438         * BufferView_pimpl.C:
4439         * kbmap.C:
4440         * kbsequence.C:
4441         * lyxfunc.C: associated changes.
4442
4443 2003-09-06  Angus Leeming  <leeming@lyx.org>
4444
4445         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4446         As a result, can remove the #include "insets/inset.h" from BufferView.h
4447
4448 2003-09-06  Angus Leeming  <leeming@lyx.org>
4449
4450         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4451         As a result, can remove the #include "insets/inset.h" from BufferView.h
4452
4453 2003-09-06  Angus Leeming  <leeming@lyx.org>
4454
4455         * buffer_funcs.C:
4456         * buffer.h:
4457         * bufferlist.C:
4458         * BufferView.C:
4459         * bufferview_funcs.C:
4460         * BufferView_pimpl.C:
4461         * CutAndPaste.C:
4462         * lyx_cb.C:
4463         * lyxfunc.C:
4464         * paragraph.h:
4465         * ParagraphParameters.C:
4466         * tabular.C:
4467         * text3.C:
4468         * toc.C:
4469         * undo_funcs.C:
4470         * frontends/controllers/ControlDocument.C:
4471         * insets/insetcaption.C: rearrange the #includes into some sort of
4472         coherent order.
4473
4474         * buffer.h: remove #includes ErrorList.h, undo.h
4475
4476 2003-09-06  Angus Leeming  <leeming@lyx.org>
4477
4478         * support/types.h: add a 'depth_type' typedef, used to store the
4479         nesting depth of a paragraph.
4480
4481         * paragraph.h:
4482         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4483         defining explicitly.
4484
4485         * buffer.h:
4486         * paragraph_funcs.h:
4487         * ParagraphParameters.h:
4488         * sgml.h: use lyx::depth_type rather than Paragraph or
4489         ParameterStruct's depth_type.
4490
4491         * buffer.h
4492         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4493
4494         * BufferView.C:
4495         * BufferView_pimpl.C:
4496         * CutAndPaste.C:
4497         * ParagraphParameters.C:
4498         * buffer_funcs.C:
4499         * bufferlist.C:
4500         * bufferview_funcs.C:
4501         * lyx_cb.C:
4502         * lyxfunc.C:
4503         * tabular.C:
4504         * text3.C:
4505         * toc.C:
4506         * undo_funcs.C:
4507         * frontends/LyXView.C:
4508         * frontends/controllers/ControlDocument.C:
4509         * frontends/controllers/ControlErrorList.C:
4510         * insets/insetbibitem.C:
4511         * insets/insetbranch.C:
4512         * insets/insetcaption.C:
4513         * insets/insetcollapsable.C:
4514         * insets/insetenv.C:
4515         * insets/insetert.C:
4516         * insets/insetfloat.C:
4517         * insets/insetfoot.C:
4518         * insets/insetfootlike.C:
4519         * insets/insetnewline.C:
4520         * insets/insetquotes.C:
4521         * insets/insettabular.C:
4522         * insets/insettext.C:
4523         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4524
4525         * frontends/controllers/ControlChanges.C: #include "changes.h".
4526
4527 2003-09-06  Angus Leeming  <leeming@lyx.org>
4528
4529         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4530         than #including paragraph.h.
4531
4532         * ParagraphList.h:
4533         * RowList.h: deleted. Superfluous.
4534
4535         * CutAndPaste.h:
4536         * iterators.h:
4537         * lyxcursor.h:
4538         * lyxtext.h:
4539         * text_funcs.h:
4540         * undo.h:
4541         * undo_funcs.h:
4542         * insets/inset.h:
4543         * insets/insettext.h: use ParagraphList_fwd.h rather than
4544         ParagraphList.h.
4545
4546         * paragraph.h: don't forward declare ParagraphList.
4547
4548         * buffer.h:
4549         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4550         rather than ParagraphList.h. paragraph.h is still needed for the
4551         Paragraph::depth_type parameters.
4552
4553         * textcursor.h: enable it to compile stand-alone in light of the
4554         above changes.
4555
4556         * bufferview_funcs.C:
4557         * iterators.C:
4558         * lyxfunc.C:
4559         * lyxrow_funcs.C:
4560         * paragraph.C:
4561         * rowpainter.C:
4562         * text.C:
4563         * text2.C:
4564         * text3.C:
4565         * text_funcs.C:
4566         * textcursor.C:
4567         * undo.C:
4568         * frontends/controllers/ControlParagraph.C:
4569         * frontends/controllers/ControlTabular.C:
4570         * insets/insetmarginal.C:
4571         * insets/insetminipage.C:
4572         * insets/insetnote.C:
4573         * insets/insetoptarg.C: add header files needed to compile again.
4574
4575 2003-09-06  Angus Leeming  <leeming@lyx.org>
4576
4577         * RowList_fwd.h: new file, forward-declaring Row rather than
4578         #including lyxrow.h.
4579
4580         * lyxrow_funcs.h:
4581         * lyxtext.h:
4582         * paragraph.h:
4583         * insets/insettext.h: use it instead of RowList.h
4584
4585         * bufferview_funcs.C:
4586         * lyxfunc.C:
4587         * lyxrow_funcs.C:
4588         * paragraph.C:
4589         * rowpainter.C:
4590         * text.C:
4591         * text2.C:
4592         * text3.C: #include "RowList.h".
4593
4594 2003-09-05  Angus Leeming  <leeming@lyx.org>
4595
4596         * factory.C (createInset):
4597         * vspace.C (c-tor): replace sscanf call with an istringstream.
4598         * ispell.C: re-add missing HP/UX headers.
4599         * lyxserver.C: re-add missing  os2 headers.
4600
4601 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4602
4603         * BranchList.C:
4604         * graph.C:
4605         * ispell.C:
4606         * lastfiles.C:
4607         * lyx_cb.C:
4608         * lyxserver.C:
4609         * texrow.C:
4610         * text3.C: re-add missing system headers, needed for 2.95.2.
4611
4612 2003-09-05  Angus Leeming  <leeming@lyx.org>
4613
4614         Changes most place everywhere due to the removal of using directives
4615         from support/std_sstream.h.
4616
4617 2003-09-05  Angus Leeming  <leeming@lyx.org>
4618
4619         Replace LString.h with support/std_string.h,
4620         Lsstream.h with support/std_sstream.h,
4621         support/LIstream.h with support/std_istream.h,
4622         support/LOstream.h with support/std_ostream.h.
4623
4624         Changes resulting throughout the tree.
4625
4626 2003-09-05  Angus Leeming  <leeming@lyx.org>
4627
4628         * sgml.h: ensure that the header file can be compiled stand-alone.
4629         * *.C: strip out redundant #includes. (320 in total.)
4630
4631 2003-09-04  Angus Leeming  <leeming@lyx.org>
4632
4633         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4634         here (from getPackages).
4635
4636         * debug.[Ch]: add a new EXTERNAL tag.
4637
4638 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4639
4640         * text2.C (cursorEnd): simplify
4641         (setCursor): adjust
4642         (getColumnNearX): adjust
4643
4644         * text.C (computeBidiTables): adjust
4645         (fill): adjust
4646
4647         * rowpainter.C (paintChars): adjust
4648         (paintSelection): adjust
4649         (paintChangeBar): adjust
4650         (paintText): adjust
4651
4652         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4653         lastPos instead.
4654         (numberOfSeparators): adjust
4655
4656 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4657
4658         * LyXAction.C:
4659         * box.[Ch]:
4660         * lfuns.h:
4661         * lyxfunc.C:
4662         * text3.C: Restricts the mouse click functionality
4663         of insets like bibtex, include, toc and floatlist to the visible
4664         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4665         up the dialogs. Cursor has to be in front of the inset (i.e.
4666         start of row) for this to function.
4667
4668 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4669
4670         * bufferview_funcs.C (currentState): output row information
4671
4672 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4673
4674         * bufferview_funcs.C (currentState): output paragraph position
4675
4676 2003-09-04  Angus Leeming  <leeming@lyx.org>
4677
4678         * FloatList.h: move out #include "Floating.h".
4679         * LaTeX.h: move out #include "DepTable.h".
4680         * LyXAction.h: move out #include "funcrequest.h".
4681         * buffer.h: move out #include "author.h", "iterators.h".
4682         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4683         * lyx_main.h: move out #include "errorlist.h".
4684         * lyxfunc.h: move out #include "FuncStatus.h".
4685         * lyxtext: move out #include "lyxcursor.h".
4686         * paragraph_pimpl.h: move out #include "counters.h".
4687
4688 2003-09-03  Angus Leeming  <leeming@lyx.org>
4689
4690         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4691         preamble_snippets list, enabling us to add snippets to the preamble
4692         only if the snippet was not there already.
4693
4694 2003-09-04  Angus Leeming  <leeming@lyx.org>
4695
4696         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4697
4698 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4701         update
4702
4703 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4704
4705         * BranchList.C: point fix, earlier forgotten
4706
4707 2003-09-02  Angus Leeming  <leeming@lyx.org>
4708
4709         * box.C (contains): renamed from 'contained' after a fantastic
4710         amount of hot air.
4711
4712 2003-09-02  John Levon  <levon@movementarian.org>
4713
4714         * BufferView.C:
4715         * lyxcursor.h:
4716         * lyxcursor.C:
4717         * lyxfunc.C:
4718         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4719
4720 2003-09-02  John Levon  <levon@movementarian.org>
4721
4722         * text2.C: simplification of cursorEnd(), including partial
4723         fix for bug 1376
4724
4725 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * buffer.C (readFile): add a space
4728
4729 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4730
4731         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4732
4733 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4734
4735         * buffer.C (readFile): new function, take a filename and a
4736         ParagraphList::iterator
4737         (readFile): adjust
4738         (readFile): adjust, make it private. don't use setStream, make
4739         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4740         always contain the filename.
4741
4742         * BufferView.C (insertLyXFile): simplify and make it work for
4743         gzipped files.
4744
4745 2003-08-30  John Levon  <levon@movementarian.org>
4746
4747         * Makefile.am: fix dist (from Kayvan)
4748
4749 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * most files: change to use const Buffer refs
4752
4753 2003-08-27  André Pönitz  <poenitz@gmx.net>
4754
4755         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4756         on top of ownerPar().
4757
4758 2003-08-27  John Levon  <levon@movementarian.org>
4759
4760         * funcrequest.C: properly initialise POD members
4761
4762 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4763
4764         * lyxtext.h (top_y): move top_y from here
4765         * text.C:
4766         * text2.C:
4767         * text3.C:
4768         * BufferView.[Ch]:
4769         * BufferView_pimpl.[Ch]: to here
4770         * frontends/screen.C:
4771         * insets/insettabular.C:
4772         * insets/insettext.C: adjust
4773         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4774
4775 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * BufferView.[Ch]:
4778         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4779
4780 2003-08-26  André Pönitz  <poenitz@gmx.net>
4781
4782         * paragraph_func.[Ch] (outerPar): new function
4783
4784         * paragraph.C:
4785         * paragraph_funcs.C:
4786         * paragraph_funcs.h:
4787         * paragraph_pimpl.C:
4788         * text2.C: remove Inset::par_owner
4789
4790 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4791
4792         * lyxrow_funcs.C:
4793         * lyxtext.h:
4794         * text.C:
4795         * text2.C: eliminates the needFullRow/display() stuff
4796         altogether, putting the logic in metrics/draw in the insets.
4797
4798 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4799
4800         * text2.C (redoParagraphInternal, redoParagraphs):
4801         * text.C (redoParagraph): add a call to updateRowPositions at the
4802         end of each 'metrics-like' call. Remove all others.
4803         (getRow): remove the 'y-computing' version.
4804         (getRowNearY): do not compute nor return the real y. Solve the
4805         'y < 0' problem and simplify.
4806
4807 2003-08-22  Angus Leeming  <leeming@lyx.org>
4808
4809         * *.[Ch]: clean-up of licence and author blurbs.
4810         Also move config.h out of a few .h files and into a few .C files.
4811
4812 2003-08-22  André Pönitz  <poenitz@gmx.net>
4813
4814         * lyxrow.[Ch]: add x_ and *fill_ members
4815
4816         * lyxtext.h:
4817         * text.C:
4818         * rowpainter.C:
4819         * text2.C: adjust/remove prepareToPrint() calls
4820
4821 2003-08-22  André Pönitz  <poenitz@gmx.net>
4822
4823         * lyxrow.[Ch]: add  end_ member
4824
4825         * lyxrow_funcs.C: use LyXRow::end_
4826
4827         * lyxtext.h (singleWidth): add LyXFont parameter
4828
4829         * rowpainter.C:
4830         * text2.C: adjust LyXText::singleWidth() calls
4831
4832         * text.C (redoParagraph): simplify row breaking logic
4833
4834
4835 2003-08-19  André Pönitz  <poenitz@gmx.net>
4836
4837         * funcrequest.C: initialize button_ member
4838
4839         * text3.C:
4840         * rowpainter.[Ch]: interface consolidation
4841
4842 2003-08-18  André Pönitz  <poenitz@gmx.net>
4843
4844         * BufferView.C:
4845         * BufferView_pimpl.C:
4846         * lyxfind.C:
4847         * paragraph_funcs.C:
4848         * rowpainter.C:
4849         * text3.C: remove LyXScreen::draw() and fitCursor calls
4850
4851         * BranchList.h: remove spurious semicolons
4852
4853         * MenuBackend.C: fix branchlist related crash
4854
4855 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4856
4857         * BranchList.[Ch]:
4858         * InsetList.[Ch]:
4859         * LColor.[Ch]:
4860         * LyXAction.C:
4861         * Makefile.am:
4862         * MenuBackend.[Ch]:
4863         * bufferparams.[Ch]:
4864         * factory.C:
4865         * lfuns.h:
4866         * lyxfunc.C:
4867         * text3.C: implements the 'branch inset'
4868         idea. This allows the output of various versions of a document
4869         from a single source version, selectively outputing or suppressing
4870         output of parts of the text.
4871         This implementation contains a 'branch list editor' in a separate
4872         tab of the document settings dialog. Branches are user definable
4873         and have a "display colour" to distinguish them on-screen.
4874
4875         ColorHandler was somewhat cleaned up.
4876         (1) make possible a dynamically growing LColor list by allowing
4877         the graphic context cache to grow along (vector);
4878         (2) eliminate an IMHO unnecessary step in colour allocation.
4879
4880 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4881
4882         * BufferView_pimpl.C: compile fix
4883
4884 2003-08-15  André Pönitz  <poenitz@gmx.net>
4885
4886         * rowpainter.C: remove extra metrics calls
4887
4888         * lyxtext.h: merge the two constructors into a single one,
4889           pass reference to owner's par list
4890
4891         * BufferView_pimpl.C:
4892         * text.C:
4893         * text2.C: adjust
4894
4895 2003-08-15  André Pönitz  <poenitz@gmx.net>
4896
4897         * lyxrow_funcs.[Ch]:
4898         * lyxtext.h:
4899         * paragraph.h:
4900         * paragraph_funcs.C:
4901         * rowpainter.C:
4902         * text.C:
4903         * text2.C:
4904         * text3.C:
4905         * text_funcs.C: split LyXText::rowlist_ into individual
4906         Paragraph::rows_ chunks
4907
4908         * BufferView.[Ch]:
4909         * BufferView_pimpl.[Ch]:
4910         * lyxfind.C:
4911         * lyxtext.h:
4912         * text3.C: remove toggleSelection()
4913
4914 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4915
4916         * bufferlist.C: beautify two alerts (shorter text of buttons)
4917         * buffer.C: Remove redundant ' ' from message
4918         * tabular.h:
4919         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4920         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4921         rename VALIGN_CENTER to VALIGN_MIDDLE
4922
4923 2003-08-11  André Pönitz  <poenitz@gmx.net>
4924
4925         * lyxtext.h (getPar):
4926         * text.C: new function
4927
4928 2003-08-11  André Pönitz  <poenitz@gmx.net>
4929
4930         * Makefile.am:
4931         * tracer.[Ch]: remove unneeded files
4932
4933         * InsetList.[Ch]: remove resizeInsetsLyXText()
4934
4935         * lyxtext.h:
4936         * text.C:
4937         * text2.C:
4938         * text3.C: merge insertParagraphs() and appendParagraph()
4939         remove breakAgain(), update()
4940
4941         * BufferView_pimpl.[Ch]:
4942         * bufferview_funcs.[Ch]:
4943         * lyxfunc.C:
4944         * paragraph.[Ch]:
4945         * rowpainter.C:
4946         * tabular.C: adjust after text & InsetList changes.
4947
4948 2003-08-08  André Pönitz  <poenitz@gmx.net>
4949
4950         * text.C (insertChar, backspace): replace rowlist fiddling
4951         with rebreak of full par
4952
4953         * lyxtext.h:
4954         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4955         checkParagraph, updateInset): removed
4956
4957 2003-08-07  André Pönitz  <poenitz@gmx.net>
4958
4959         * paragraph.C:
4960         * text3.C: merge some LFUN handlers, remove dead code
4961
4962 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4963
4964         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4965
4966 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4967
4968         * text2.C (DEPM): fix part of bug 1255 and 1256
4969
4970 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4971
4972         * BufferView_pimpl.C (workAreaDispatch): change to use
4973         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4974         that are no mouse related.
4975
4976 2003-08-05  André Pönitz  <poenitz@gmx.net>
4977
4978         * BufferView.[Ch]:
4979         * BufferView_pimpl.[Ch]:
4980         * bufferview_funcs.C:
4981         * text2.C:
4982         * text3.C: rip out "deep update"
4983
4984         * textcursor.[Ch] (last_sel_cursor): remove unused member
4985
4986 2003-08-04  André Pönitz  <poenitz@gmx.net>
4987
4988         * BufferView.[Ch]:
4989         * BufferView_pimpl.[Ch]:
4990         * ParagraphParameters.C:
4991         * bufferview_funcs.C:
4992         * lyx_cb.C:
4993         * lyxfind.C:
4994         * lyxfunc.C:
4995         * text.C:
4996         * text2.C:
4997         * text3.C: replace "complicated" BufferView::update(...) calls with
4998         simpler ones.
4999
5000         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5001
5002 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5003
5004         * Makefile.am (lyx_SOURCES): add paper.h
5005
5006 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5007
5008         * Makefile.am: move things around so that both lyx-qt and
5009         lyx-xforms can be built (according to --with-frontend). Then lyx
5010         is a symbolic link to lyx-[firstfrontend]
5011
5012 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5013
5014         * Always use std::endl with lyxerr
5015
5016 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5017
5018         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5019
5020 2003-08-01  André Pönitz  <poenitz@gmx.net>
5021
5022         * BufferView.[Ch]:
5023         * BufferView_pimpl.[Ch]:
5024         * lyxfunc.C:
5025         * text3.C: merge BufferView::repaint() and BufferView::update()
5026
5027 2003-08-01  José Matos  <jamatos@lyx.org>
5028
5029         * buffer.[Ch]: file_format is no longer a buffer data element.
5030
5031 2003-08-01  André Pönitz  <poenitz@gmx.net>
5032
5033         * BufferView.C:
5034         * lyxtext.h:
5035         * text.C:
5036         * text2.C: make redoParagraph more independent of current cursor
5037
5038         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5039         * text.C:
5040         * text2.C: remove unneeded members
5041
5042 2003-07-30  André Pönitz  <poenitz@gmx.net>
5043
5044         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5045
5046         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5047           create a single function...
5048
5049         * paragraph_funcs.C (moveItem): ... here.
5050
5051         * text.C:
5052           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5053
5054 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5055
5056         * LColor.[Ch]: Add comment and greyedout logical colors.
5057
5058 2003-07-30  André Pönitz  <poenitz@gmx.net>
5059
5060         * tabular.C: don't use Assert too heavily. This crashes where it
5061           shouldn't
5062
5063 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5066         is disabled (bug 1232)
5067
5068 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5069
5070         * factory.C: limited 'arg' scope
5071
5072 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5073
5074         * factory.C: fixed Note submenu issues
5075
5076 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5077
5078         * factory.C: submenu for Note/Comment/Greyedout
5079
5080 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5081
5082         * lyx_main.C (LyX):
5083         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5084
5085 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5086
5087         * LaTeXFeatures.C:
5088         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5089         greyedout. Patch provided by Jürgen Spitzmüller.
5090
5091 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5092
5093         * kbmap.C (read): fix error message when reading bind files
5094
5095 2003-07-29  Angus Leeming  <leeming@lyx.org>
5096
5097         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5098         certainly does not do what it purports to do. I am doing it, and
5099         us, a favour by killing it.
5100
5101 2003-07-28  José Matos  <jamatos@lyx.org>
5102
5103         * buffer.C (readBody, do_writeFile):
5104         * paragraph.C(readParagraph): \end_document replaces \the_end.
5105
5106 2003-07-29  André Pönitz  <poenitz@gmx.net>
5107
5108         * BufferView.[Ch]:
5109         * BufferView_pimpl.[Ch]:
5110         * lyxfunc.C:
5111         * text2.C:
5112         * text3.C:
5113         * textcursor.[Ch]: remove toggleToggle & Co
5114
5115 2003-07-28  José Matos  <jamatos@fep.up.pt>
5116
5117         * buffer.C (readParagraph):
5118         * params_func (readParToken, readParagraph):
5119         * paragraph.C (write): \layout -> \begin_layout.
5120
5121 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * lyxlex_pimpl.C (setFile): clean up slightly.
5124
5125         * bufferparams.h: add compressed var
5126
5127         * buffer_funcs.C (readFile): adjust for LyXLex change
5128         (newFile): ditto + simplify
5129
5130         * buffer.C (writeFile): handle writing of compressed files
5131
5132         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5133         Check if the file is compressed and set a bufferparm if so.
5134
5135         * Makefile.am (lyx_LDADD): remove explicit -lz
5136
5137 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5138
5139         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5140         makeDocBookFile): put the real LyX version in the first line of
5141         the file
5142
5143         * version.h:
5144         * version.C.in: remove lyx_docversion
5145
5146         * tabular.C (write_attribute): add a template-based version to
5147         write enums properly
5148
5149 2003-07-28  André Pönitz  <poenitz@gmx.net>
5150
5151         * lyxtext.h:
5152         * text.C:
5153         * text2.C:
5154         * text3.C: use doubles again for x-coordinates. They are needed.
5155
5156 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * messages.C (getLocaleDir): use lyx_localedir()
5159
5160         * lyxlex_pimpl.C (setFile): compress stuff
5161
5162         * buffer.C (writeFile): add some compression stuff
5163         (do_writeFile): new func, dont call expliti close... will this
5164         breake anything?
5165
5166         * Makefile.am (lyx_LDADD): add -lz
5167
5168 2003-07-28  José Matos  <jamatos@fep.up.pt>
5169
5170         * buffer.C: increment file format.
5171         * paragraph_funcs (readParagraph, readParToken):
5172         * paragraph.C (readParagraph): add \end_layout.
5173
5174 2003-07-27  Angus Leeming  <leeming@lyx.org>
5175
5176         * Makefile.am: remove special casing for configure-time setting of
5177         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5178
5179         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5180         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5181
5182 2003-07-26  André Pönitz  <poenitz@gmx.net>
5183
5184         * paragraph_func.[Ch]:
5185         * paragraph.C (realizeFont): inline it whereever it is used
5186
5187         * rowpainter.C:
5188         * text.C:
5189         * text2.C:
5190         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5191
5192
5193 2003-07-26  André Pönitz  <poenitz@gmx.net>
5194
5195         *       lyxtext.h:
5196         * text.C:
5197         * text2.C: get rid of LyXText::need_break_row
5198
5199 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * toc.[Ch]: put namespace toc inside namespace lyx
5202
5203         * MenuBackend.C (expandToc2): adjust for lyx::toc
5204         (expandToc): ditto
5205
5206         * lyxfunc.C (dispatch): adjust for lyx::find
5207
5208         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5209         lyx::find instead. Reorganize a bit.
5210         (LyXReplace): rename to replace
5211         (LyXFind): rename to find
5212
5213         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5214         (dispatch): ditto
5215
5216 2003-07-26  André Pönitz  <poenitz@gmx.net>
5217
5218         * text.C (setHeightOfRow): restrict scope of temporary variable
5219
5220         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5221           code (never has been used?)
5222
5223 2003-07-27  Asger Alstrup  <alstrup@local>
5224
5225         * text.C (fill): Optimise algorithm to exploit that we can reuse
5226         the LyXFont for many characters.
5227         (setHeightOfRow): Same thing.
5228         (rowBreakPoint): Same thing.
5229
5230 2003-07-26  Asger Alstrup  <alstrup@local>
5231
5232         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5233
5234         * text.C (singleWidth): Spurious font copying in hot-spot
5235         singleWidth avoided. Reorder tests for arabic for efficiency.
5236
5237         * text.C (fill): handle empty paragraphs better.
5238
5239 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5240
5241         * ispell.C:
5242         * encoding.h: add includes
5243
5244         * lyxrc.C: remove reading of bind files
5245
5246         * lyx_main.C (init): setup bindings and menus only if we have a
5247         gui.
5248
5249         * kbmap.C (read): new method. Do the actual reading of bind
5250         files.
5251
5252         * converter.C (dvipdfm_options):
5253         * bufferparams.C:
5254         * lyxrc.C (read):
5255         (output): adapt PAPER_* enums.
5256
5257         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5258
5259         * bufferparams.h: remove paper-related enums from there
5260
5261         * paper.h: New file. A trivial header file to hold paper-related
5262         enums. It should later expand to contain many paper-related
5263         horrors access.
5264
5265         * lyxrc.C: declare extern displayTranslator
5266
5267 2003-07-27  José Matos  <jamatos@fep.up.pt>
5268
5269         * tabular.[Ch] (linuxdoc): add support for tables and figures
5270         (linuxdoc).
5271
5272 2003-07-27  José Matos  <jamatos@fep.up.pt>
5273
5274         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5275         consistency in both functions.
5276         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5277
5278 2003-07-26  Asger Alstrup  <alstrup@local>
5279
5280         * rowpainter.C (paintRows): Change algorithm to work directly on
5281         the insets rather than asking every character in the document
5282         whether its an inset.
5283
5284 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * buffer.C (openFileWrite): factorize some code
5287
5288 2003-07-26  Angus Leeming  <leeming@lyx.org>
5289
5290         * lyx_cb.C:
5291         * lyx_main.[Ch]: replace occurances of system_tempdir with
5292         os::getTmpDir().
5293
5294 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * rename Inset to InsetOld
5297
5298 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5299
5300         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5301         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5302         which I think is a bit clearer. EDIT is gone, since it was
5303         premature optimisation, and broken for mathed anyway.
5304         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5305         with cursor positioning in insets as well (math insets still do not
5306         work, but that's a different story anyway.) It mysteriously
5307         crashes sometimes with undo in the first paragraph, but I'm fairly
5308         confident that this is a compiler bug.
5309
5310 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5311
5312         * paragraph.C (Paragraph): adjust for new clone return type
5313         (operator==): ditto
5314         (copyIntoMinibuffer): ditto
5315
5316 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5317
5318         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5319         by not having a special case, and always doing a full rebreak of
5320         the document after undo.
5321
5322 2003-07-23  Angus Leeming  <leeming@lyx.org>
5323
5324         * factory.C (createInset): InsetExternal::setParams now takes a
5325         Buffer const * arg.
5326
5327 2003-07-23  Angus Leeming  <leeming@lyx.org>
5328
5329         * factory.C (createInset): changed interface to the external and
5330         graphics mailers' string2params functions.
5331
5332 2003-07-23  Angus Leeming  <leeming@lyx.org>
5333
5334         * factory.C (createInset): pass a
5335         Buffer const * parameter to InsetExternalMailer's string2params.
5336
5337 2003-07-22  John Levon  <levon@movementarian.org>
5338
5339         * Thesaurus.h: include the right aiksaurus header
5340
5341 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5342
5343         * MenuBackend.C (expand): check menu shortcuts unconditionally
5344
5345 2003-07-21  Angus Leeming  <leeming@lyx.org>
5346
5347         * factory.C (createInset): pass a
5348         buffer_path parameter to InsetGraphicsMailer's string2params.
5349
5350 2003-07-21  Angus Leeming  <leeming@lyx.org>
5351
5352         * BufferView_pimpl.C (buffer):
5353         * buffer.C (d-tor):
5354         * lyx_main.C (LyX):
5355         * lyxfunc.C (dispatch):
5356         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5357         rather than the grfx shortcut.
5358
5359 2003-07-21  André Pönitz  <poenitz@gmx.net>
5360
5361         * rowpainter.C: remove unused variables
5362
5363         * tabular_funcs.C:
5364         * tabular_funcs.h: move to tabular.C
5365         * Makefile.am: adjust
5366
5367         * tabular.[Ch]: basic optical cleaning
5368
5369         * author.h: pass references, not values
5370
5371 2003-07-18  André Pönitz  <poenitz@gmx.net>
5372
5373         * lyxtext.h:
5374         * metricsinfo.C:
5375         * metricsinfo.h:
5376         * rowpainter.C:
5377         * text.C:
5378         * text2.C:
5379         * text3.C: two-phase drawing for InsetText and InsetTabular
5380         some float -> int changes.
5381
5382 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5383
5384         * lyx_main.C: fix the fix
5385
5386 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * lyx_main.C: fix a crash in batch mode if no files specified
5389         * converter.C: ws
5390
5391 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5392
5393         * format.[Ch] (papersize): moved to BufferParams
5394         * converter.[Ch] (dvips_options): moved to BufferParams
5395         (dvipdfm_options): moved to anon namespace
5396         * bufferparams.[Ch]: added above functions.
5397
5398 2003-07-17  André Pönitz  <poenitz@gmx.net>
5399
5400         * lyxtext.h:
5401         * rowpainter.C:
5402         * text2.C: don't call inset->update() anymore
5403
5404         * metricsinfo.[Ch]: add convenience constructor
5405
5406 2003-07-16  André Pönitz  <poenitz@gmx.net>
5407
5408         * lyxcursor.[Ch]:
5409         * lyxfunc.[Ch]:
5410         * text.C:
5411         * text2.C: replace the LyXCursor::irow_ member with
5412          on-demand computation of the value
5413
5414 2003-07-16  John Levon  <levon@movementarian.org>
5415
5416         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5417
5418 2003-07-15  André Pönitz  <poenitz@gmx.net>
5419
5420         * text.C:
5421         * text2.C: remove no more needed refresh_row
5422
5423 2003-07-15  André Pönitz  <poenitz@gmx.net>
5424
5425         * lyxtext.h:
5426         * rowpainter.C:
5427         * text2.C:
5428         * text3.C: refresh_status tristate -> need_update bool
5429
5430 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5431
5432         * lyxtext.h (init): remove reinit argument (act as if always true)
5433         * text2.C: adjust to that
5434
5435 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5436
5437         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5438         * text3.C: use it to delete selections in some cases
5439         (bugs 441, 673, 702, 954).
5440
5441 2003-07-14  André Pönitz  <poenitz@gmx.net>
5442
5443         * rowpainter.[Ch]: reduce interface
5444
5445 2003-07-14  André Pönitz  <poenitz@gmx.net>
5446
5447         * BufferView_pimpl.C:
5448         * text2.C: adjust after removing unused BufferView * argument
5449
5450 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5451
5452         * text2.C (init): fix a crash fired on resize
5453
5454 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * buffer.[Ch]: added new closing signal
5457         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5458         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5459         BufferView::Pimpl via the closing the signal
5460
5461 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5462
5463         * buffer.[Ch]: take out all bv-related from buffer
5464         * BufferView.C:
5465         * BufferView_pimpl.[Ch]: connect to new signals
5466         * CutAndPaste.C: removed useless asserts
5467         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5468         * lyxvc.[Ch]:
5469         * vc-backend.[Ch]:
5470         * lyxfunc.C: moved view-related funciontality from vc here
5471         * paragraph.C: removed outdated comments
5472         * text.C: ws
5473
5474 2003-07-10  André Pönitz  <poenitz@gmx.net>
5475
5476         * BufferView_pimpl.C:
5477         * tabular.h:
5478         * tabular_funcs.C:
5479         * text.C:
5480         * text2.C: remove InsetText::InnerCache, clean up consequences
5481
5482 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5483
5484         * ispell.C: fix two typos in error messages
5485
5486 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5487
5488         * Extend Note inset to other forms of annotation like Comment
5489         and Greyedout. Right button click gives dialog.
5490
5491         Files modified or added (+):
5492
5493         * insetnote.[Ch]
5494         * FormNote.[Ch]      +
5495         * ControlNote.[Ch]   +
5496         * form_note.fd       +
5497         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5498         frontends/controllers
5499         * xforms/Dialogs.C
5500         * factory.C
5501
5502 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5503
5504         * aspell.C: add missing namespace lyx::support
5505
5506 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5507
5508         * BufferView.[Ch] (newFile): Add
5509         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5510         * LaTeX.[Ch] (message): added this signal and use it
5511         * buffer.[Ch] (busy, message): added these signals and use them
5512         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5513         * converter.C:
5514         * exporter.C:
5515         * format.C:
5516         * importer.C: use buffer signals instead of direct bv calling
5517         * lyx_cb.[Ch] (ShowMessage): removed
5518         * lyx_main.C:
5519         * lyxfunc.C:
5520         * paragraph_funcs.C:
5521         * text2.C: use buffer signals
5522
5523 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * introduce namespace lyx::graphics
5526
5527 2003-07-02  André Pönitz  <poenitz@gmx.net>
5528
5529         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5530
5531 2003-07-01  André Pönitz  <poenitz@gmx.net>
5532
5533         * text.C:
5534         * text2.C:
5535         * text3.C:
5536         * text_funcs.[Ch]:
5537         * textcursor.h:
5538         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5539           text*.C to text_func.C
5540
5541 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * introduce namespace lyx::support
5544
5545 2003-06-30  André Pönitz  <poenitz@gmx.net>
5546
5547         * Chktex.C:
5548         * funcrequest.C:
5549         * lyxtext.h:
5550         * text.C: re-enable --with-included-string
5551
5552 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * textcursor.C: add <config.h>
5555
5556         * text.C (getWord): remove const from word_location arg
5557
5558         * lyxvc.C (getLogFile): fix const type order
5559
5560         * lyxtext.h: remove const from word_location arg, add arg name
5561
5562         * lyxlayout.h: currect type on labeltype.
5563
5564         * importer.C: correct \file
5565
5566         * converter.C (intToFormat): use std:: on ret val, ws changes
5567
5568         * bufferlist.h: correct \file
5569
5570         * buffer.C (makeLinuxDocFile): fix const type order
5571         (makeDocBookFile): ditto
5572         (fillWithBibKeys): use std:: on stdlib args.
5573
5574         * CutAndPaste.C: fix authors.
5575         (availableSelections): use std:: on return vector
5576
5577 2003-06-27  André Pönitz  <poenitz@gmx.net>
5578
5579         * BufferView_pimpl.C:
5580         * bufferview_funcs.C:
5581         * lyxcursor.C:
5582         * lyxcursor.h:
5583         * lyxfunc.C:
5584         * lyxtext.h:
5585         * rowpainter.C:
5586         * text.C:
5587         * text2.C:
5588         * text3.C: remove LyXCursor::row_ member
5589
5590         * lyxtext.h:
5591         * text.C: rename fullRebreak() to partialRebreak() and implement
5592           a fullRebreak() that really bereks fully
5593
5594         * textcursor.h: new struct for cursor-related data
5595
5596 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5597
5598         * lyx_main.C (LyX): get full path of document loaded on the
5599         command line
5600
5601 2003-06-26  André Pönitz  <poenitz@gmx.net>
5602
5603         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5604           remove unused/broken operator>,<,>=.
5605
5606         *       text.C: remove only use of broken operator<= in an Assert().
5607
5608 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5609
5610         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5611         moved errorlist_.clear to showErrorList
5612
5613 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5614
5615         * converter.C (scanLog, runLaTeX):
5616         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5617         move the bv->showErrorList call to the callers
5618         * lyxfunc.C: i.e. here...
5619         * text2.C: and here
5620         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5621         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5622         namespace, the second to...
5623         * buffer_funcs (BufferFormat, parseErrors): added
5624         * errorlist.C (ErrorList(TeXErrors const &)): removed
5625
5626 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5627
5628         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5629
5630 2003-06-24  "Garst R. Reese" <reese@isn.net>
5631
5632         * debug.C: fix typo
5633
5634 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5635
5636         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5637
5638         * version.C.in: change docversion to 1.4
5639
5640 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5641
5642         * buffer.C: fix a bug just introduced
5643
5644 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5645
5646         * buffer.[Ch]: added the parseError signal and use it, removed
5647         sgmlError
5648         * BufferView.[Ch] (addError): moved to ...
5649         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5650         to the Buffer::parseError signal to catch (guess what) parse errors
5651         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5652
5653 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5654
5655         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5656         ability to create a buffer and to return an existing one from
5657         the list. Moved these functions to...
5658         * buffer_funcs.[Ch]: added
5659         * BufferView.[Ch] (loadLyXFile): added
5660         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5661         job removed from bufferlist::loadLyXFile.
5662         * buffer.C (setReadOnly): make it work without view
5663         (i.e added an if (users))
5664
5665 2003-06-19  Angus Leeming  <leeming@lyx.org>
5666
5667         * lfuns.h:
5668         * LyXAction.C (init):
5669         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5670         with LFUN_DIALOG_SHOW <name> <data>.
5671
5672 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5673
5674         * CutAndPaste.C (availableSelections): small compilation fix for
5675         ancient (gcc 2.9x) compilers
5676
5677 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * text3.C (cursorNext): add tmp var
5680
5681         * text2.C (updateCounters): for function calling out of for clause
5682         (replaceSelectionWithString): ditto
5683         (insertStringAsParagraphs): ditto
5684         (getColumnNearX): add tmp var
5685         (setCursorFromCoordinates): add tmp var
5686         (cursorDownParagraph): add tmp var
5687         (deleteEmptyParagraphMechanism): add tmp var
5688
5689         * text.C (insertChar): add tmp var
5690
5691         * rowpainter.C (paintDepthBar): add tmp var
5692
5693         * CutAndPaste.C (availableSelections): potentially check all
5694         paragraphs in a cut to fill the shown strings.
5695
5696 2003-06-18  André Pönitz  <poenitz@gmx.net>
5697
5698         * kbmap.[Ch]: use vector<> instead of list<>
5699
5700 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5701
5702         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5703         pasteSelection with index
5704
5705         * text2.C (pasteSelection): modify, call pasteSelection with index
5706
5707         * paragraph.C (asString): reimplement version with no interval to
5708         call the one with interval.
5709
5710         * lyxtext.h: add index arg to pasteSelection
5711
5712         * MenuBackend.C (MenuItem): handle PasteRecent
5713         (Menu::read::Menutags): add md_pasterecent
5714         (read): handle it
5715         (expandPasteRecent): new function
5716         (expand): use it
5717
5718         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5719
5720         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5721         the limited stack
5722         (availableSelections): new function
5723
5724 2003-06-17  Angus Leeming  <leeming@lyx.org>
5725
5726         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5727
5728 2003-06-17  Angus Leeming  <leeming@lyx.org>
5729
5730         * lfuns.h:
5731         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5732
5733         * lyxfunc.C (dispatch): invoke it.
5734
5735 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5736
5737         * iterators.C (operator++, ParPosition): reintroduce some
5738         const_cast for the benefit of older compilers.
5739
5740 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5741
5742         * text3.C (dispatch): do not modify clipboard when doing
5743         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5744         LFUN_DELETE_SKIP on a selection selection
5745
5746 2003-06-16  André Pönitz  <poenitz@gmx.net>
5747
5748         * BufferView.C:
5749         * buffer.C:
5750         * buffer.h:
5751         * paragraph.C:
5752         * tabular.[Ch]: IU of clone() and getLabelList();
5753
5754 2003-06-13  André Pönitz  <poenitz@gmx.net>
5755
5756         * tabular.h: compactification
5757
5758 2003-06-12  André Pönitz  <poenitz@gmx.net>
5759
5760         * tabular.C:
5761         * tabular.h:
5762         * tabular_funcs.h: some renaming plus whitespace
5763
5764 2003-06-12  André Pönitz  <poenitz@gmx.net>
5765
5766         * BufferView.C:
5767         * BufferView_pimpl.C:
5768         * CutAndPaste.C:
5769         * buffer.C:
5770         * iterators.[Ch]:
5771         * lyxfunc.C:
5772         * text.C:
5773         * toc.C: Return a Paragraph & for ParIterator::operator*()
5774
5775 2003-06-11  John Levon  <levon@movementarian.org>
5776
5777         * lyx_main.C:
5778         * ToolbarBackend.h:
5779         * ToolbarBackend.C: add "Toolbars" section and
5780         put the flags there
5781
5782 2003-06-10  Angus Leeming  <leeming@lyx.org>
5783
5784         * lfuns.h:
5785         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5786
5787         * lyxfunc.C (dispatch): invoke it.
5788
5789 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * main.C: protect <ios> with HAVE_IOS
5792         (main): protect sync_with_stdio with HAVE_IOS
5793
5794 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5795
5796         * text2.C (cutSelection): adjust
5797         (pasteSelection): adjust
5798
5799         * messages.C: handle get of empty string
5800
5801         * main.C (main): use sync_with_stdio(false)
5802
5803         * lyxfunc.C (dispatch): adjust
5804
5805         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5806         (WriteAs): remove unneeded BufferView arg.
5807
5808         * bufferparams.h: use correct types on papersize, papersize2 and
5809         paperpackage.
5810
5811         * bufferparams.C (readToken): adjust for type
5812         (writeLaTeX): add missing cases to switch.
5813
5814         * bufferlist.C (quitWriteBuffer): adjust
5815         (close): adjust
5816
5817         * buffer.C (asciiParagraph): remove some commented code.
5818
5819         * CutAndPaste.C: remove current_view extern variable.
5820         (cutSelection): add BufferParams arg.
5821         (eraseSelection): add BufferParams arg.
5822         (pasteSelection): add Buffer const & arg
5823
5824 2003-06-07  John Levon  <levon@movementarian.org>
5825
5826         * buffer.C:
5827         * paragraph_funcs.C:
5828         * paragraph_pimpl.C:
5829         * text.C:
5830         * text2.C:
5831         * paragraph.h:
5832         * paragraph.C: allow InsetERT to freely space lines,
5833         and some consolidation of code
5834
5835 2003-06-06  José Matos  <jamatos@fep.up.pt>
5836
5837         * buffer.C (makeDocBookFile): fix bug #821
5838
5839 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5840
5841         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5842
5843 2003-06-04  Angus Leeming  <leeming@lyx.org>
5844
5845         * buffer.C: bump format to 224.
5846
5847 2003-06-05  André Pönitz  <poenitz@gmx.net>
5848
5849         * text2.C (redoParagraphs): remove two const_cast<>
5850
5851 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5852
5853         * ParagraphList.h: remove last remnants of NO_STD_LIST
5854
5855 2003-06-03  Angus Leeming  <leeming@lyx.org>
5856
5857         * factory.C (createInset): small change to the way InsetExternal's params
5858         are set.
5859
5860 2003-06-04  André Pönitz  <poenitz@gmx.net>
5861
5862         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5863
5864         * paragraph_pimpl.h:
5865         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5866
5867         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5868
5869         * undo_funcs.C: make some simple cases of undo work again
5870
5871 2003-06-03  John Levon  <levon@movementarian.org>
5872
5873         * ispell.C: HPUX doesn't have sys/select.h
5874         (from Albert Chin)
5875
5876 2003-06-03  John Levon  <levon@movementarian.org>
5877
5878         * CutAndPaste.C: update tabular and include inset
5879         buffer references
5880
5881         * buffer.h:
5882         * paragraph.h:
5883         * paragraph.C: remove owningBuffer(), don't pass Buffer
5884         to clone()
5885
5886         * factory.C: insetGraphicsParams changed
5887
5888 2003-06-02  John Levon  <levon@movementarian.org>
5889
5890         * LyXAction.C:
5891         * factory.C:
5892         * lfuns.h:
5893         * lyxfunc.C:
5894         * text3.C: remove insetparent
5895
5896 2003-06-02  John Levon  <levon@movementarian.org>
5897
5898         * buffer.h:
5899         * buffer.C: fix inset_iterator.end(), move out of line
5900         (bug 1149)
5901
5902 2003-06-01  John Levon  <levon@movementarian.org>
5903
5904         * text3.C: use a proper cut/paste when doing inset
5905         insert (from Jürgen Spitzmüller)
5906
5907 2003-06-01  John Levon  <levon@movementarian.org>
5908
5909         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5910
5911 2003-05-30  André Pönitz  <poenitz@gmx.net>
5912
5913         * rowpainter.C: unify second drawing phase
5914
5915 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916
5917         * trans_mgr.C: remove one case of current_view
5918
5919         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5920
5921         * paragraph_funcs.h: remove paragraph.h include
5922
5923         * paragraph.h: delete NO_STD_LIST stuff
5924
5925         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5926
5927         * buffer.h: remove paragraph.h include
5928
5929         * ParagraphList.C: delete file
5930
5931         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5932
5933         * toc.C (getTocList): adjust
5934
5935         * paragraph_pimpl.C (validate): adjust
5936
5937         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5938
5939         * paragraph.C (Paragraph): adjust
5940         (getPositionOfInset): use const_iterator, adjust
5941         (bibitem): use const_iterator, adjust
5942         (setInsetOwner): adjust
5943
5944         * iterators.C (operator++): adjust
5945
5946         * InsetList.[Ch]: Replace selfmade iterator with standard
5947         vector::iterator also introduce const_iterator. Remove getPos,
5948         getInset and setInset from InsetTable. Adjust accordingly.
5949
5950         * BufferView.C (lockInset): adjust
5951         (ChangeInsets): adjust
5952
5953         * tabular.[Ch]: delete commented same_id functions
5954
5955 2003-05-28  John Levon  <levon@movementarian.org>
5956
5957         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5958
5959 2003-05-28  André Pönitz  <poenitz@gmx.net>
5960
5961         * metricsinfo.[Ch]: remove 'fullredraw' member
5962
5963 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5964
5965         * lyxtextclass.C (operator): remove caching.
5966
5967 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * text3.C: adjust
5970
5971         * text2.C (cursorBottom): adjust
5972         (setCounter): use ParagraphList::find, adjust
5973
5974         * text.C (workWidth): use ParagraphList::find, adjust
5975
5976         * lyxcursor.C (LyXCursor): adjust
5977
5978         * buffer.C (inset_iterator): adjust
5979
5980         * ParagraphList.h: make iterator(value_type) private, make
5981         ParagraphList a friend of iterator.
5982
5983         * ParagraphList.C (find): new function
5984
5985         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5986
5987 2003-05-27  André Pönitz  <poenitz@gmx.net>
5988
5989         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5990
5991 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5992
5993         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5994
5995 2003-05-26  John Levon  <levon@movementarian.org>
5996
5997         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5998
5999 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6000
6001         * remove same_id from function signatures, adjust.
6002
6003 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6006
6007         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6008
6009         * paragraph.C (Paragraph): get rid of same_ids parameter
6010
6011         * ParagraphList.C (insert): adjust
6012         (push_back): adjust
6013
6014 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6015
6016         * paragraph_funcs.C (breakParagraph): adjust
6017         (breakParagraphConservative): adjust
6018
6019         * buffer.C (readParagraph): adjust
6020
6021         * ParagraphList.C (insert): take a reference instead of a pointer
6022         (insert): adjust
6023
6024         * paragraph.[Ch] (id): new function
6025
6026         * bufferlist.C (newFile): adjust
6027
6028         * ParagraphList.C (ParagraphList): adjust
6029         (assign): adjust
6030         (push_back): take a reference instead of a pointer.
6031
6032         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6033
6034         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6035         instead.
6036
6037         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6038         set else use old code.
6039
6040         * ParagraphList.C: remove all NO_NEXT code and only compile this
6041         code of NO_STD_LIST is set.
6042
6043 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6044
6045         * BufferView_pimpl.C:
6046         * TextCache.C:
6047         * TextCache.h:
6048         * bufferlist.C:
6049         * errorlist.h:
6050         * format.C:
6051         * format.h:
6052         * graph.C:
6053         * lyxfunc.C:
6054         * lyxrc.C:
6055         * graphics/GraphicsConverter.C:
6056         * graphics/PreviewLoader.C: header adjustment
6057
6058 2003-05-23  Angus Leeming  <leeming@lyx.org>
6059
6060         * LaTeXFeatures.[Ch] (useBabel): new method.
6061         * bufferparams.C (writeLaTeX): use it.
6062
6063 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * ParagraphList.h (set): remove unused function.
6066
6067 2003-05-23  André Pönitz  <poenitz@gmx.net>
6068
6069         * BufferView.C:
6070         * BufferView_pimpl.C:
6071         * buffer.C:
6072         * buffer.h:
6073         * lyxfunc.C:
6074         * undo_funcs.C: setUndo reworked
6075
6076         * iterators.[Ch]: add access to topmost ParagraphList
6077
6078         * lyxtext.[Ch] (workWidth): add a const
6079
6080 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6081
6082         * texrow.[Ch] (increasePos): remove function
6083         * exporter.C (export): removed unused var and outdated comment
6084
6085 2003-05-23  Angus Leeming  <leeming@lyx.org>
6086
6087         * latexrunparams.h: rename fragile as moving_arg.
6088         * paragraph.C (simpleTeXOnePar): ditto.
6089         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6090
6091 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6094         (createUndo): ditto
6095         (textUndoOrRedo): comment out a currently unused var.
6096
6097         * paragraph.h (NO_NEXT): enable NO_NEXT
6098
6099         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6100
6101         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6102
6103         * exporter.C (Export): adjust for removeAutoInsets removal.
6104
6105         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6106
6107         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6108
6109         * BufferView.[Ch] (removeAutoInsets): delete function
6110
6111 2003-05-22  Angus Leeming  <leeming@lyx.org>
6112
6113         * latexrunparams.h: add a free_spacing variable.
6114
6115         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6116         to pass moving_arg, as the data is stored in runparams.fragile.
6117
6118         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6119         to Inset::latexOptional or to simpleTeXOnePar.
6120
6121         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6122         free_spacing arg to Inset::latexOptional.
6123
6124         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6125         free_spacing arg.
6126
6127 2003-05-22  Angus Leeming  <leeming@lyx.org>
6128
6129         * latexrunparams.h: add fragile and use_babel variables.
6130
6131         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6132         * buffer.C (makeLaTeXFile): store this returned value in
6133         runparams.use_babel, thus passing it to the inset::latex methods.
6134
6135         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6136         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6137
6138         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6139         longer has a fragile arg, as it is stored in runparams.fragile.
6140
6141         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6142         moving_arg parameter as the data is stored in runparams.fragile.
6143
6144         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6145         a fragile parameter as the data is stored in runparams.fragile.
6146
6147 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6150
6151 2003-05-22  Angus Leeming  <leeming@lyx.org>
6152
6153         * latexrunparams.h: add a 'bool nice' which defaults to false.
6154
6155         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6156         now encapsulated within runparams.
6157
6158         * bufferlist.C (updateIncludedTeXfiles):
6159         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6160
6161 2003-05-22  Angus Leeming  <leeming@lyx.org>
6162
6163         * latexrunparams.h: new file containing struct LatexRunParams.
6164         * Makefile.am: add new file.
6165
6166         * LaTeX.[Ch] (c-tor, run):
6167         * buffer.[Ch] (makeLaTeXFile):
6168         * bufferlist.[Ch] (updateIncludedTeXfiles):
6169         * converter.C (convert, scanLog):
6170         * converter.[Ch] (runLaTeX):
6171         * exporter.C (Export):
6172         * paragraph.[Ch] (simpleTeXOnePar):
6173         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6174         * paragraph_funcs.[Ch] (latexParagraphs):
6175         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6176         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6177         pass around a LatexRunParams parameter.
6178
6179 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * paragraph.[Ch]: remove unused constructor
6182
6183         * ParagraphList.C (erase): new function, taking two iterators
6184
6185 2003-05-22  André Pönitz  <poenitz@gmx.net>
6186
6187         * undo_funcs.C: remove duplicated code
6188
6189         * iterator.[Ch]: operator=
6190
6191 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6192
6193         * tabular.C (SetMultiColumn): ws changes
6194
6195         * rowpainter.C (paintFirst): get rid of a ->previous
6196
6197         * lyx_cb.C (getPossibleLabel): parlist simplification
6198
6199         * BufferView.C (ChangeInsets): simplify slightly.
6200
6201 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6202
6203         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6204         * lfuns.h: new LFUN_SPACE
6205         * lyxfunc.C: protected space has a new lfun
6206         * paragraph_funcs.C: read new space insets
6207         * text3.C:
6208         * factory.C: handle new space insets
6209
6210 2003-05-22  André Pönitz  <poenitz@gmx.net>
6211
6212         * BufferView.C:
6213         * BufferView_pimpl.C:
6214         * buffer.[Ch]:
6215         * lyxfunc.C:
6216         * undo_funcs.C: return a ParIterator from getParFromID.
6217
6218         * iterators.[Ch]: add two const's
6219
6220 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * toc.C (getTocList): adjust
6223
6224         * iterators.[Ch]: rework for parlist
6225
6226         * buffer.C (par_iterator_begin): adjust
6227         (par_iterator_end): adjust
6228
6229         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6230
6231         * BufferView.C (removeAutoInsets): adjust
6232         (ChangeInsets): adjust
6233
6234 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6235
6236         * text.C (top_y): fix bug 1110
6237
6238 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6239
6240         * errorlist.[Ch]: added
6241         * buffer.C:
6242         * BufferView.[Ch]:
6243         * BufferView_pimpl.C:
6244         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6245         instead
6246
6247 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * Makefile.am: ensure that lyx is relinked upon changes to the
6250         various "convenience" libs.
6251
6252 2003-05-20  Angus Leeming  <leeming@lyx.org>
6253
6254         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6255         files are compiled in alphabetical order again.
6256
6257         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6258
6259 2003-05-19  Angus Leeming  <leeming@lyx.org>
6260
6261         * gettext.[Ch]: remove "char const * _(char const *)".
6262
6263 2003-05-19  André Pönitz  <poenitz@gmx.net>
6264
6265         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6266
6267         * Makefile.am:
6268         * BufferView.C:
6269         * DepTable.h:
6270         * LaTeXFeatures.C:
6271         * buffer.C:
6272         * lyxfont.C:
6273         * lyxlex.h:
6274         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6275
6276 2003-05-19  André Pönitz  <poenitz@gmx.net>
6277
6278         * buffer.C:
6279         * lyxlayout.[Ch]:
6280         * lyxtextclass.[Ch]:
6281         * paragraph.C:
6282         * paragraph_funcs.[Ch]:
6283         * text2.C:
6284         * text3.C: more insetenv work
6285
6286 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6287
6288         * ParagraphParameters.C (params2string): small bug fixed
6289
6290 2003-05-16  André Pönitz  <poenitz@gmx.net>
6291
6292         * debug.C:
6293         * bufferview_funcs.C: patch from Kornel Benko to prevent
6294           crash when _(...) is called twice in a statement
6295
6296 2003-05-16  André Pönitz  <poenitz@gmx.net>
6297
6298         * BufferView.C:
6299         * lyxfunc.C:
6300         * text.C:
6301         * text2.C:
6302         * text3.C:
6303         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6304
6305 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6306
6307         * lyx_main.C (init): remove spurious static_cast
6308
6309 2003-05-14  André Pönitz  <poenitz@gmx.net>
6310
6311         * BufferView.C: fix format string
6312
6313 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6314
6315         * BufferView.[Ch] (insertErrors): removed
6316         * BufferView.[Ch] (showErrorList): added
6317         * buffer.C (runChkTeX):
6318         * converter.C (scanLog): call showErrorList instead of inserterrors
6319
6320 2003-05-13  André Pönitz  <poenitz@gmx.net>
6321
6322         * BufferView_pimpl.C:
6323         * buffer.C:
6324         * bufferview_func.C:
6325         * MenuBackend.C:
6326         * lyxfunc.C:
6327         * lyxrc.C:
6328         * tex-accent.C:
6329         * text3.C:
6330         * toc.C:
6331         * tabular_funcs.h: tostr() from its own header
6332
6333         * ParagraphParameters.C:
6334         * ToolbarBackend.C:
6335         * bufferparams.C:
6336         * format.C:
6337         * lyxlex_pimpl.C:
6338         * text3.C: STRCONV()
6339
6340 2003-05-12  André Pönitz  <poenitz@gmx.net>
6341
6342         * BufferView.C:
6343         * BufferView_pimpl.C:
6344         * CutAndPaste.C:
6345         * LaTeX.C:
6346         * LaTeXFeatures.C:
6347         * ParagraphParameters.C:
6348         * buffer.C:
6349         * bufferlist.C:
6350         * bufferparams.C:
6351         * bufferview_funcs.C:
6352         * converter.C:
6353         * counters.C:
6354         * debug.C:
6355         * exporter.C:
6356         * format.C:
6357         * importer.C:
6358         * lyx_cb.C:
6359         * lyx_main.C:
6360         * lyxfont.C:
6361         * lyxfunc.C:
6362         * lyxvc.C:
6363         * paragraph.C:
6364         * paragraph_funcs.C:
6365         * tabular.C:
6366         * tabular_funcs.C:
6367         * text2.C:
6368         * text3.C:  boost::format -> bformat  all over the place
6369
6370
6371 2003-05-09  André Pönitz  <poenitz@gmx.net>
6372
6373         * LColor.[Ch]: Pimpl the #include <map> away
6374
6375 2003-05-09  John Levon  <levon@movementarian.org>
6376
6377         * bufferlist.C: never remove emergency saves
6378
6379 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * Makefile.am: better lib building
6382
6383 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6386         instead.
6387         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6388         (simpleTeXSpecialChars): adjust
6389         (simpleTeXSpecialChars): adjust
6390         * paragraph.C (simpleTeXOnePar): adjust
6391         * buffer.C (makeLaTeXFile): adjust
6392
6393         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6394
6395         * text2.C (changeDepth): parlist cleanup
6396         (getColumnNearX): ditto
6397
6398         * rowpainter.C (getLabelFont): parlist cleanup
6399
6400         * bufferlist.C (newFile): parlist cleanup
6401
6402         * CutAndPaste.C (eraseSelection): parlist cleanup
6403
6404         * BufferView_pimpl.C (trackChanges): parlist cleanup
6405         (dispatch): ditto
6406
6407         * BufferView.C (lockInset): parlist cleanup.
6408         (ChangeInsets): ditto
6409
6410 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * CutAndPaste.h: Update file header.
6413
6414         * CutAndPaste.C: Update file header.
6415         Store the parts cut out of the Document in a limited_stack.
6416         (copySelection): adjust
6417         (pasteSelection): new function, takes the index in the limited stack.
6418         (nrOfParagraphs): adjust
6419         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6420         simplify error inset insertion.
6421         (checkPastePossible): adjust
6422
6423 2003-05-06  John Levon  <levon@movementarian.org>
6424
6425         * text2.C: don't cast wrap inset to float
6426
6427 2003-05-05  André Pönitz  <poenitz@gmx.net>
6428
6429         * iterator.C:
6430         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6431
6432         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6433           few naked Paragraph *.
6434
6435 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6436
6437         * bufferparams.C: Output warning if a document with missing
6438         TeX document class is loaded
6439         * exporter.C: Disable TeX exports if the document class is missing
6440         * lyxtextclass.C:
6441         * lyxtextclass.h:
6442         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6443         isTeXClassAvailable()
6444
6445 2003-05-03  John Levon  <levon@movementarian.org>
6446
6447         * BufferView.h:
6448         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6449         explicit cursor show/hide
6450
6451         * BufferView_pimpl.h:
6452         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6453         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6454
6455         * lyxfunc.C: hide cursor before dispatching.
6456
6457         * lyx_cb.C:
6458         * lyxfind.C:
6459         * text.C:
6460         * text3.C: remove explicit cursor hides
6461
6462 2003-05-02  André Pönitz  <poenitz@gmx.net>
6463
6464         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6465
6466         * undo_funcs.C:
6467         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6468           linked lists
6469
6470         * text2.C: tiny whitespace
6471
6472 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6473
6474         * undo_funcs.C: almost only ws changes.
6475
6476         * ParagraphList.C (splice): just return if pl is empty.
6477
6478 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * ParagraphList.C (splice): new function.
6481
6482         * CutAndPaste.C (pasteSelection): use it
6483
6484 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * CutAndPaste.C (pasteSelection): remove the last next and
6487         previous from this file.
6488
6489 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * CutAndPaste.C (pasteSelection): more clean up, user proper
6492         ParagraphList functions for pasteing.
6493
6494         * ParagraphList.C (insert): new function, three arg insert
6495
6496 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * ParagraphList.C (insert): new function, three arg insert
6499
6500         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6501         not on paragraphs.
6502
6503 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6504
6505         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6506
6507 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6510
6511 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6514         (copySelection): clean up a bit.
6515         (pasteSelection): use make_pair
6516
6517         * ParagraphList.C (ParagraphList): implement copy constructor
6518         (operator=): implement, base on copy constructor.
6519         (assign): new func
6520
6521         * paragraph.C (erase): return a bool
6522
6523         * paragraph_pimpl.C (erasePos): remove function, move contents...
6524         (erase): ... here. Return a bool.
6525         (erase): call erase instead of erasePos.
6526
6527 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6528
6529         * ParagraphList.h: define PitPosPair
6530         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6531         ParagraphList, fix a bug on pasting multiple pars
6532         * text2.C: change interface to C&P
6533
6534 2003-04-30  André Pönitz  <poenitz@gmx.net>
6535
6536         * undo_func.C: revert part of yesterday's patch 2
6537
6538 2003-04-30  John Levon  <levon@movementarian.org>
6539
6540         * LColor.C: s/tabular/table/
6541
6542 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * text3.C (dispatch): do not convert iterator -> pointer
6545         * undo_funcs.C (setCursorParUndo): ditto
6546         * text_funcs.C (transposeChars): ditto
6547
6548         * text2.C (setLayout): ws changes only
6549
6550         * text.C (breakParagraph): do not convert iterator -> pointer
6551         (insertChar): ditto
6552         (acceptChange): ditto
6553         (rejectChange): ditto
6554         (changeCase): ditto
6555         (Delete): ditto
6556         (backspace): ditto
6557
6558         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6559         pointer
6560
6561 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * text3.C (gotoInset): YABG (yet another bad getChar)
6564
6565 2003-04-29  André Pönitz  <poenitz@gmx.net>
6566
6567         * paragraph.h: make operator= private unimplemented as long as
6568           it is unusable
6569
6570         * ParagraphList.C: whitespace
6571
6572         * paragraph.[Ch]:
6573         * paragraph_pimpl.[Ch]:
6574         * paragraph_funcs.C:
6575         * CutAndPaste.C:
6576         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6577
6578         * text2.C:
6579           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6580
6581 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6582
6583         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6584         * paragraph.[Ch] (erase):
6585         * paragraph_pimpl.[Ch] (erase): change return type and value
6586         * text2.C (cutSelection): some rework
6587
6588 2003-04-28  John Levon  <levon@movementarian.org>
6589
6590         * bufferlist.C: changes for unsaved changes dialog
6591
6592 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * bufferlist.C (newFile): set language (messages_) for new
6595         documents also.
6596
6597         * buffer.C (readFile): ws changes only.
6598
6599 2003-04-28  André Pönitz  <poenitz@gmx.net>
6600
6601         * undo_funcs.C:
6602         * lyxfunc.C:
6603         * buffer.[Ch]:
6604         * BufferView_pimpl.C:
6605         * BufferView.C: getParFromID related ParagraphList::iterator changes
6606
6607 2003-04-28  André Pönitz  <poenitz@gmx.net>
6608
6609         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6610           Changes
6611
6612 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * messages.C: remove one more localedir class variable.
6615
6616 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * messages.C (getLocaleDir): singleton generation function
6619         (Pimpl): use it.
6620         (Messages): add a default constructor.
6621
6622         * main.C (main): do not setup localedir here, do not call
6623         gettext_init.
6624
6625         * gettext.C (_): use it.
6626         (gettext_init): delete funciton
6627
6628 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * gettext.C (getLyXMessages): new singleton generating function.
6631
6632         * buffer.C (updateDocLang): adjust
6633
6634         * Makefile.am (messages.o): add target
6635         (main.o): remove target
6636
6637 2003-04-27  John Levon  <levon@movementarian.org>
6638
6639         * bufferlist.C:
6640         * lyx_cb.C:
6641         * lyxfunc.C:
6642         * lyxvc.C: specify cancel button in Alert::prompt
6643
6644 2003-04-26  John Levon  <levon@movementarian.org>
6645
6646         * text3.C:
6647         * lyxfunc.C:
6648         * lfuns.h:
6649         * LyXAction.C: add LFUN_INSET_SETTINGS
6650
6651         * lyxfunc.C: don't enable tabular-feature when there's
6652         just any locking inset
6653
6654 2003-04-26  John Levon  <levon@movementarian.org>
6655
6656         * bufferlist.C: re-add Cancel to buffer close question
6657
6658         * lyxfunc.C: fix import UI a bit
6659
6660 2003-04-25  John Levon  <levon@movementarian.org>
6661
6662         * gettext.C: remove the broken asserts for now
6663
6664 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * messages.C: make case where setlocale cannot comply work better.
6667
6668         * buffer.C (updateDocLang): new function
6669         (changeLanguage): use it
6670         (readFile): use it
6671
6672         * text2.C (setCounter): use B_ a bit.
6673
6674         * lyxlayout.C (Read): be sure to trim the label strings.
6675
6676         * messages.C (Messages): fix typo in comment
6677
6678         * buffer.C (readFile): set message_ after file is loaded.
6679         (makeDocBookFile): remove double return
6680         (changeLanguage): reset message_ upon language change.
6681         (B_): new func, use this to get translated buffer strings.
6682
6683         * main.C: add myself and Jean Marc as authors.
6684
6685 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6686
6687         * messages.[hC]: pimplify Messages, and three different pimpls to be
6688         used in different circumstances.
6689
6690         * gettext.[Ch]: change for use with new message code.
6691
6692 2003-04-24 André Pönitz <poenitz@gmx.net>
6693
6694         * factory.C: support for eqref
6695
6696 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * messages.[Ch]: add missing char
6699
6700         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6701
6702         * messages.[Ch]: New files
6703
6704 2003-04-18  John Levon  <levon@movementarian.org>
6705
6706         * BufferView.h:
6707         * BufferView.C:
6708         * BufferView_pimpl.C:
6709         * lfuns.h:
6710         * LyXAction.C:
6711         * lyxtext.h:
6712         * text2.C: remove layout-copy/paste (bug 778)
6713
6714 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6715
6716         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6717
6718 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6719
6720         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6721         if they succeed. Act accordingly.
6722
6723 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * text2.C (setCharFont): adjust
6726         (setCounter): adjust
6727         (insertStringAsLines): adjust
6728
6729         * text.C (leftMargin): adjust
6730         (setHeightOfRow): adjust
6731
6732         * rowpainter.C (paintFirst): adjust
6733         (paintLast): adjust
6734
6735         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6736         (outerHook): ditto
6737         (isFirstInSequence): ditto
6738         (getEndLabel): ditto
6739         (outerFont): adjust
6740
6741         * paragraph.C (getParLanguage): comment out some hard stuff.
6742
6743         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6744         (sgmlError): ditto
6745         (simpleDocBookOnePar): ditto
6746         (makeDocBookFile): use ParagraphList::iterator
6747
6748         * CutAndPaste.C (pasteSelection): adjust
6749
6750 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * text2.C (getFont): adjust
6753         (getLayoutFont): adjust
6754         (getLabelFont): adjust
6755
6756         * paragraph_funcs.C (TeXOnePar): adjust
6757
6758         * buffer.C (simpleLinuxDocOnePar): adjust
6759         (simpleDocBookOnePar): adjust
6760
6761         * CutAndPaste.C (pasteSelection): adjust
6762
6763         * BufferView.C (getEncoding): adjust
6764
6765         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6766
6767 2003-04-16  John Levon  <levon@movementarian.org>
6768
6769         * lyxfind.C: use parlist stuff for search/changes
6770
6771 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6774
6775         * text2.C (deleteEmptyParagraphMechanism): adjust
6776
6777         * text2.[Ch] (ownerParagraph): delete func (both of them
6778
6779 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6782
6783 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6784
6785         * ParagraphList.C: prepare for NO_NEXT
6786
6787 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * text2.C (getFont): adjust
6790         (getLayoutFont): adjust
6791         (getLabelFont): adjust
6792
6793         * paragraph.C (getFont): adjust
6794         (getLabelFont): adjust
6795         (getLayoutFont): adjust
6796
6797         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6798
6799 2003-04-15  John Levon  <levon@movementarian.org>
6800
6801         From Angus Leeming
6802
6803         * lyx_main.C: handle Include in .ui files
6804
6805 2003-04-15  John Levon  <levon@movementarian.org>
6806
6807         * MenuBackend.C: make the doc files length shorter
6808
6809         * ToolbarBackend.h:
6810         * ToolbarBackend.C: handle toolbar placement flags,
6811         Minibuffer
6812
6813 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6814
6815         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6816         adjust
6817
6818         * paragraph_funcs.C (TeXOnePar): adjust
6819
6820         * paragraph.C (getLabelFont): add outerfont arg, adjust
6821         (getLayoutFont): ditto
6822         (simpleTeXOnePar): adjust
6823
6824         * paragraph_pimpl.C (realizeFont): delete func
6825
6826 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6829         row argument, constify cur argument.
6830
6831 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * text2.C (getFont): adjust
6834         (getLayoutFont): adjust
6835         (getLabelFont): adjust
6836
6837         * paragraph_funcs.C (TeXOnePar): adjust
6838         (outerFont): new func...
6839         (realizeFont): ...moved out from here, changed this to facilitate
6840         transition
6841
6842         * paragraph.C (getFont): take outerfont as arg, adjust
6843         (simpleTeXOnePar): add outerfont arg, adjust
6844
6845         * buffer.C (simpleLinuxDocOnePar): adjust
6846         (simpleDocBookOnePar): adjust
6847
6848         * CutAndPaste.C (pasteSelection): adjust
6849
6850         * BufferView.C (getEncoding): adjust
6851
6852 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * text2.C (setCharFont): adjust
6855         (setCounter): adjust
6856
6857         * text.C (leftMargin): adjust
6858         (setHeightOfRow): adjust
6859
6860         * rowpainter.C (paintFirst): adjust
6861         (paintLast): adjust
6862
6863         * paragraph_pimpl.C (realizeFont): adjust
6864
6865         * paragraph.C (isFirstInSequence): move from here...
6866         * paragraph_funcs.C (isFirstInSequence): ...to here
6867
6868         * paragraph.C (outerHook): move from here...
6869         * paragraph_funcs.C (outerHook): ...to here
6870
6871         * paragraph.C (depthHook): move from here...
6872         * paragraph_funcs.C (depthHook): ...to here
6873
6874         * paragraph.C (getEndLabel): move from here...
6875         * paragraph_funcs.C (getEndLabel): ...to here
6876
6877         * text2.C (realizeFont): move from here...
6878         * paragraph_funcs.C (realizeFont): ...to here
6879
6880 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6883
6884 2003-04-14  Angus Leeming  <leeming@lyx.org>
6885
6886         * LColor.[Ch]: scrap LColor mathcursor.
6887
6888 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * lyxlex.[Ch] (text): delete function
6891         * trans.C (Load): adjust
6892         * paragraph_funcs.C (readParToken): adjust
6893
6894 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6895
6896         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6897         vector<char> instead of a char[].
6898
6899         * lyxlex_pimpl.C (getString): adjust
6900         (next): adjust
6901         (lex): use getString
6902         (eatLine): adjust
6903         (nextToken): adjust
6904
6905         * lyxlex.C (text): use pimpl_->getString()
6906         (getBool): ditto
6907         (findToken): ditto
6908
6909 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6910
6911         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6912         (makeFontEntriesLayoutSpecific): temp var for par.size()
6913         (setLayout): temp var for ownerParagraphs().end()
6914         (fullRebreak): temp var for rows().end()
6915         (selectionAsString): temp var for boost::next(startpit), realize
6916         that the while really is a regular for loop.
6917         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6918         setCursor in one place.
6919         (setParagraph): temp vr for ownerParagraphs().end()
6920         (updateCounters): make the while loop a for loop
6921         (cutSelection): temp var for ownerParagraphs().end()
6922         (updateInset): make the do {} while() a regular for loop
6923         (getCursorX): use temp vars
6924         (setCurrentFont): use temp vars
6925         (getColumnNearX): use temp vars
6926
6927 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * text.C (transformChar): use temp var for getChar
6930         (computeBidiTables): use temp var for row->par()
6931         (fill): move temp vars for row->par() and pit->layout() earlier in
6932         the function.
6933         (labelFill): use temp var for row->par()
6934         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6935         asc and desc, realize that pit never changes and that firstpit is
6936         just a duplicate and not needed. Exchange rit->par() with pit in a
6937         lot of places.
6938         (breakAgain): use a temp var for boost::next(rit)
6939         (breakAgainOneRow): ditto
6940         (breakParagraph): use a temp var for rows().begin()
6941         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6942         (cursorRightOneWord): use temp var for cursor.par() and
6943         cursor.pos(), remove usage of tmpcursor.
6944         (cursorLeftOneWord): use temp var for cursor.par() and
6945         cursor.pos() only set cur at end of function.
6946
6947 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * text.C, text2.C: exchange all usage of Paragraph::next with
6950         boost::next(ParagraphList::iterator)
6951
6952         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6953
6954         * text2.C (cursorTop): simplify implementation
6955         (cursorBottom): ditto
6956         (setParagraph): use ParagraphList::iterator
6957         (setCurrentFont): adjust
6958         (getColumnNearX): adjust
6959         (cursorRight): adjust
6960         (cursorLeft): remove usage of Paragraph::previous
6961         (cursorUpParagraph): ditto
6962         (deleteEmptyParagraphMechanism): slight cleanup
6963
6964         * text.C (isBoundary): take a Paragraph const & instead of a
6965         pointer as arg.
6966         (addressBreakPoint): ditto
6967         (leftMargin): remove usage of Paragraph::previous.
6968         (setHeightOfRow): ditto
6969         (cursorLeftOneWord): ditto
6970         (selectNextWordToSpellcheck): ditto
6971         (Delete): ditto
6972         (backspace): ditto
6973         (breakParagraph): remove one usage of Paragraph::next
6974         (redoParagraph): ditto
6975         (acceptChange): ditto
6976         (insertChar): adjust
6977         (rowBreakPoint): adjust
6978
6979         * bufferview_funcs.C (toggleAndShow): adjust
6980
6981 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6982
6983         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6984         methods to access it.
6985         * lyxtext.h:
6986         * text.C: Added updateRowPositions to compute all row positions.
6987         Make top_y and getRowNearY() to use the cached y position
6988
6989 2003-04-11  John Levon  <levon@movementarian.org>
6990
6991         * text.C (rowBreakPoint): reintroduce the labelEnd
6992         checks, code copied from the row fill stuff. Deep voodoo.
6993
6994         * text.C (fill): add a comment and debugging for the
6995         next poor soul.
6996
6997 2003-04-11  John Levon  <levon@movementarian.org>
6998
6999         * text.C: make sure fullrow insets get wrapped to the next line,
7000         even when they're in a manual label
7001
7002 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7003
7004         * text2.C (insertParagraph): make it take ParagraphList::iterator
7005         as arg.
7006         (setLayout): make it return ParagraphList::iterator
7007         (redoParagraphs): ditto
7008         (setCounter): ditto
7009         (checkParagraph): ditto
7010
7011         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7012
7013         * text2.C: adjust several funcs.
7014         (realizeFont): take a ParagraphList::iterator as arg.
7015         (getLayoutFont): ditto
7016         (getLabelFont): ditto
7017         (setCharFont): ditto
7018
7019         * text.C: adjust several funcs.
7020
7021 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7022
7023         * text.C (selectNextWordToSpellcheck): don't accidentally
7024         skip insets
7025
7026 2003-04-10  John Levon  <levon@movementarian.org>
7027
7028         * ToolbarBackend.C (getIcon): special handling for
7029         LFUN_MATH_DELIM
7030
7031 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7032
7033         * text2.C (cursorRight): a getChar assert fixed
7034
7035 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7036
7037         * text2.C (getFont): change to take a ParagraphList::iterator
7038         instead of Paragraph*
7039         Adjust several functions.
7040
7041         * text.C (transformChar): change to take a ParagraphList::iterator
7042         instead of Paragraph*
7043         (singleWidth): ditto
7044         Adjust several functions.
7045
7046         * rowpainter.C: adjust several functions
7047         * rowpainter.h:store a ParagraphList::iterator and not a
7048         Paragraph&.
7049
7050
7051 2003-04-09  John Levon  <levon@movementarian.org>
7052
7053         * lyxfunc.C:
7054         * lfuns.h:
7055         * LyXAction.h:
7056         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7057         and the "help" bits as well
7058
7059 2003-04-09  John Levon  <levon@movementarian.org>
7060
7061         * ToolbarBackend.h:
7062         * ToolbarBackend.C: allow multiple toolbars
7063
7064 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * undo_funcs.C (setCursorParUndo): adjust
7067
7068         * text_funcs.C (transposeChars): adjust
7069
7070         * text3.C (gotoNextInset): adjust
7071         (dispatch): adjust
7072
7073         * text2.C (setLayout): adjust
7074         (changeDepth): adjust
7075         (setFont): adjust
7076         (redoParagraphs): adjust
7077         (selectionAsString): adjust
7078         (setParagraph): adjust
7079         (insertInset): adjust
7080         (cutSelection): adjust
7081         (copySelection): adjust
7082         (pasteSelection): adjust
7083         (insertStringAsLines): adjust
7084         (updateInset): adjust
7085         (setCursor): change to take a ParagraphList::iterator parameter
7086         (setCursorIntern): change to take a ParagraphList::iterator parameter
7087         (setCurrentFont): adjust
7088         (cursorLeft): adjust
7089         (cursorRight): adjust
7090         (deleteEmptyParagraphMechanism): adjust
7091
7092         * text.C (breakParagraph): adjust
7093         (insertChar): adjust
7094         (acceptChange): adjust
7095         (rejectChange): adjust
7096         (selectNextWordToSpellcheck): adjust
7097         (changeCase): adjust
7098         (Delete): adjust
7099         (backspace): adjust
7100
7101         * lyxfind.C (SearchForward): adjust
7102         (SearchBackward): adjust
7103         (nextChange): adjust
7104
7105         * lyxcursor.C (par): adjust
7106
7107         * lyxcursor.h: store a ParagraphList::iterator instead of a
7108         Paragraph*
7109
7110         * lyx_cb.C (getPossibleLabel): adjust
7111
7112         * bufferview_funcs.C (toggleAndShow): adjust
7113
7114         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7115         (dispatch): adjust
7116
7117         * BufferView.C (removeAutoInsets): adjust
7118         (lockedInsetStoreUndo): adjust
7119
7120 2003-04-09  John Levon  <levon@movementarian.org>
7121
7122         * ToolbarBackend.C: try icon without argument
7123         if with argument fails
7124
7125 2003-04-08  John Levon  <levon@movementarian.org>
7126
7127         * ToolbarBackend.h:
7128         * ToolbarBackend.C: add getIcon(), handle tooltip,
7129         and change from "Icon" to "Item".
7130
7131 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7132
7133         * BufferView.C (lockInset): another bad getchar crunched
7134
7135 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7136
7137         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7138         again)
7139
7140 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7141
7142         * lyxfind.C (searchForward, searchBackwards): bug 782
7143
7144 2003-04-07  John Levon  <levon@movementarian.org>
7145
7146         * paragraph.C: remove dead comment
7147
7148         * text.C: remove troublesome depth-fiddling code
7149         in leftMargin() and rightMargin() (bug 1017)
7150
7151         * text.C: fix breaking of rows in nested lists
7152         (bug 1004)
7153
7154         * text2.C (updateCounters): fix up depth values
7155         (bug 1013)
7156
7157 2003-04-07  John Levon  <levon@movementarian.org>
7158
7159         * BufferView_pimpl.C: clear message when doc finishes resizing,
7160         and after a mouse event
7161
7162         * lyxfunc.C: clear message after exiting inset
7163
7164 2003-04-07  John Levon  <levon@movementarian.org>
7165
7166         * bufferview_funcs.C: show math status not outside
7167         status in the statusbar
7168
7169 2003-04-07  John Levon  <levon@movementarian.org>
7170
7171         * lyxfunc.C: note status changed after a depth change
7172
7173 2003-04-04  Angus Leeming  <leeming@lyx.org>
7174
7175         * LaTeX.h: move AuxInfo operator==, != out of line.
7176         Remove LaTeX virtual destructor; nothing derives from it.
7177         Move operator()() out of public area and rename it startscript().
7178         Change protected for private.
7179
7180 2003-04-04  Angus Leeming  <leeming@lyx.org>
7181
7182         * lyxfunc.C:
7183         * text2.C: remove unneeded #includes.
7184
7185 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7186
7187         * text2.C (dEPM): fix the heigth of the next row
7188
7189 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7190
7191         * text.C: squashed an invalid getChar requester + some ws changes
7192
7193 2003-04-03  John Levon  <levon@movementarian.org>
7194
7195         * bufferview_funcs.h:
7196         * bufferview_funcs.C:
7197         * lyxfunc.C:
7198         * lyxtext.h:
7199         * text2.C: make getStatus work for the env depth lfuns
7200
7201 2003-04-03  John Levon  <levon@movementarian.org>
7202
7203         * bufferview_funcs.h:
7204         * bufferview_funcs.C:
7205         * lyxfunc.C:
7206         * lyxtext.h:
7207         * text2.C: parlistize decDepth(), by merging it with incDepth()
7208
7209 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * lyxrow.h: store a ParagraphList::iterator instead of a
7212         Paragraph* and adjust other class functions to suit.
7213
7214         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7215         above.
7216
7217 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7218
7219         * text2.C (setCursor): do not anchor to cursor row for the time being
7220
7221 2003-04-02  John Levon  <levon@movementarian.org>
7222
7223         * LyXAction.C:
7224         * lfuns.h:
7225         * lyx_main.C:
7226         * lyxtext.h:
7227         * text.C:
7228         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7229
7230 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7231
7232         * paragraph.h: make ParagraphList and ParagraphList::iterator
7233         friends of Paragraph.
7234
7235         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7236
7237         * ParagraphList.C: Use the private next_ and previous_ from
7238         Paragraph.
7239
7240 2003-04-01  John Levon  <levon@movementarian.org>
7241
7242         * ToolbarBackend.h:
7243         * ToolbarBackend.C:
7244         * Makefile.am: rename, remove defaults gunk
7245
7246         * MenuBackend.h:
7247         * MenuBackend.C: remove defaults gunk
7248
7249         * Languages.h:
7250         * Languages.C: remove defaults gunk
7251
7252         * lyx_main.h:
7253         * lyx_main.C: error out if files couldn't be found.
7254
7255 2003-04-02  John Levon  <levon@movementarian.org>
7256
7257         * text2.C: make incDepth() use parlist
7258
7259 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * undo_funcs.C (firstUndoParagraph): adjust
7262
7263         * text3.C (gotoInset): adjust
7264         (dispatch): adjust, and rewrite loop.
7265
7266         * text2.C (init): adjust, and rewrite loop.
7267         (redoParagraphs): adjust
7268         (updateInset): adjust, and rewrite loop.
7269         (deleteEmptyParagraphMechanism): adjust
7270
7271         * tabular.C (LyXTabular): adjust
7272         (SetMultiColumn): adjust
7273         (TeXRow): adjust
7274
7275         * lyxtext.[Ch] (ownerParagraph): delete function
7276         (ownerParagraphs): new function returns a ParagraphList.
7277
7278         * BufferView.C (removeAutoInsets): adjust
7279         (insertErrors): adjust
7280         (setCursorFromRow): adjust
7281
7282 2003-04-01  Angus Leeming  <leeming@lyx.org>
7283
7284         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7285         in the frontends.
7286
7287 2003-04-02  John Levon  <levon@movementarian.org>
7288
7289         * lyxtext.h:
7290         * text.C:
7291         * Makefile.am:
7292         * text_funcs.h:
7293         * text_funcs.C: make transposeChars a free function
7294
7295         * lyxrow_funcs.C: remove wrong comment
7296
7297 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7298
7299         * lyxtext.h: adjust
7300         * rowpainter.C: adjust
7301         * text.C: adjust
7302         * text2.C: adjust
7303         * text3.C: adjust
7304
7305         * lyxrow_funcs. [Ch]: new files
7306
7307         * lyxrow.[Ch]: remove next and previous pointers
7308         (next,previous): remove accessor functions
7309         (isParEnd): move to lyxrow_funcs
7310         (lastPos): move to lyxrow_funcs
7311         (nextRowIsAllInset): move to lyxrow_funcs
7312         (lastPrintablePos): move to lyxrow_funcs
7313         (numberOfSeparators): move to lyxrow_funcs
7314         (numberOfHfills): move to lyxrow_funcs
7315         (numberOfLabelHfills): move to lyxrow_funcs
7316         (hfillExpansion): move to lyxrow_funcs
7317
7318         * lyxfunc.C: adjust
7319
7320         * bufferview_funcs.C (toggleAndShow): adjust
7321
7322         * RowList.h: Remove class RowList from file leave just a
7323         std::list<Row>.
7324
7325         * RowList.C: delete file
7326
7327         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7328         and lyxrow_funcs.h
7329
7330 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * text3.C (cursorPrevious): adjust
7333         (cursorNext): adjust
7334         (dispatch): adjust
7335
7336         * text2.C (redoHeightOfParagraph): adjust
7337         (redoDrawingOfParagraph): adjust
7338         (setCursor): adjust
7339
7340         * text.C (breakParagraph): adjust
7341         (insertChar): adjust
7342         (backspace): adjust
7343
7344         * rowpainter.C (RowPainter): adjust
7345         (leftMargin): simplify and adjust
7346         (most rowpainter functions): adjust.
7347
7348         * rowpainter.h: store the row as RowList::iterator not as Row*
7349
7350         * lyxcursor.C (row): taka RowList::iterator as arg
7351         (irow): ditto
7352
7353         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7354         of Row*.
7355
7356 2003-04-01  Angus Leeming  <leeming@lyx.org>
7357
7358         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7359         stuff like bool Bool.
7360
7361 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7362
7363         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7364         rewrite a loop
7365
7366 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7369         RowList::iterator.
7370
7371         * lyxtext.h (rows): drop one version and leve a const variant that
7372         returns a RowList::iterator.
7373
7374 2003-03-31  Angus Leeming  <leeming@lyx.org>
7375
7376         * text.C (fill): ensure that the signature is the same as that in the
7377         header file.
7378
7379 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * text2.C (redoParagraphs): adjust
7382         (updateCounters): adjust
7383         (checkParagraph): adjust
7384         (getColumnNearX): adjust and reformat a bit.
7385
7386         * text.C (top_y): adjust
7387         (workWidth): adjust
7388         (leftMargin): adjust
7389         (prepareToPrint): adjust
7390         (getRow): adjust
7391         (getRowNearY): adjust
7392
7393         * lyxtext.h: make rowlist_ mutable.
7394
7395         * RowList.h: add const_iterator
7396         * RowList.C: adjust for RowList::const_iterator.
7397
7398         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7399         adjust.
7400
7401 2003-03-31  John Levon  <levon@movementarian.org>
7402
7403         * lyxrc.h:
7404         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7405
7406         * lyx_main.C: set default fonts from using lyx_gui funcs
7407
7408         * exporter.C: pdf_mode moved from lyxrc
7409
7410         * lyx_cb.C:
7411         * lyxfunc.C: changes from above
7412
7413 2003-03-31  John Levon  <levon@movementarian.org>
7414
7415         * lyx_main.C: fix to the last fix
7416
7417 2003-03-31  John Levon  <levon@movementarian.org>
7418
7419         * bufferlist.C: "Load original" -> "Load Original"
7420
7421         * converter.C:
7422         * exporter.C:
7423         * importer.C:
7424         * lyx_main.C:
7425         * format.C: more Alert cleanups
7426
7427 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7428
7429         * text2.C (removeParagraph): make it take a RowList::iterator as
7430         arg, adjust.
7431         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7432         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7433
7434         * text.C (anchor_row): make it take a RowList::iterator as arg,
7435         adjust.
7436         (computeBidiTables): make it take a const reference to Row instead
7437         of Row pointer, adjust.
7438         (leftMargin): make it take a RowList::iterator as arg, adjust.
7439         (rowBreakPoint): adjust
7440         (breakAgainOneRow): make it take a RowList::iterator as arg,
7441         adjust.
7442         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7443
7444         * bufferview_funcs.C (toggleAndShow): adjust
7445
7446 2003-03-30  John Levon  <levon@movementarian.org>
7447
7448         * Makefile.am:
7449         * BoostFormat.h:
7450         * boost-inst.C: moved to support
7451
7452         * several files: changes as a result
7453
7454 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7455
7456         * text2.C (LyXText): adjust.
7457         (init): adjust
7458         (removeRow): make it take a RowList::iterator as arg, adjust.
7459         (fullRebreak): adjust
7460         (deleteEmptyParagraphMechanism): adjust
7461         (clearPaint): adjust
7462         (postPaint): adjust
7463
7464         * text.C (top_y): adjust
7465         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7466         (breakAgain): make it take a RowList::iterator as arg, adjust.
7467         (breakParagraph): adjust
7468         (insertChar): adjust
7469         (backspace): adjust
7470
7471         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7472         need_break_row, and refresh_row.
7473
7474         * text3.C (dispatch): adjust
7475
7476         * text2.C (checkParagraph): adjust
7477         (setCursor): adjust
7478         (setCursorFromCoordinates): adjust
7479
7480         * text.C (top_y): adjust
7481         (workWidth): adjust
7482         (getRow): make it return a RowList::iterator, adjust
7483         (getRowNearY): make it return a RowList::iterator, adjust
7484
7485         * text2.C (init): adjust
7486         (insertRow): remove function
7487         (insertParagraph): adjust
7488         (redoParagraphs): adjust
7489         (fullRebreak): adjust
7490         (updateCounters): adjust
7491
7492         * text.C (top_y): rewrite to use RowList iterators.
7493         (top_y): adjust
7494         (setHeightOfRow): rewrite to sue RowList iterators.
7495         (appendParagraph): adjust
7496         (breakAgain): adjust
7497         (breakAgainOneRow): adjust
7498         (breakParagraph): adjust
7499         (getRow): adjust
7500         (getRowNearY): adjust, and remove commented code.
7501
7502         * lyxtext.h (firstRow): delete function
7503         (lastRow): delete function
7504         (rows): new function (const and non-const versions.)
7505         (insertRow): delete function
7506
7507         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7508
7509 2003-03-29  John Levon  <levon@movementarian.org>
7510
7511         * BufferView_pimpl.C: always update scrollbar top
7512         because pasting text when we're anchored could mean we
7513         miss an update altogether
7514
7515 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * text2.C (init): use rowlist_.end() and not 0.
7518         (insertRow): change to take a RowList::iterator as arg, adjust
7519         for this.
7520         (insertParagraph): change to take a RowList::iterator as arg,
7521         adjust for this.
7522         (redoParagraphs): remove some debug msgs.
7523
7524         * text.C (appendParagraph): change to take a RowList::iterator
7525         arg, adjust for this.
7526         (breakAgain): add an assert
7527         (breakAgainOneRow): ditto
7528
7529 2003-03-29  John Levon  <levon@movementarian.org>
7530
7531         * text2.C: do not clear selection after inc/decDepth
7532         (bug 550)
7533
7534 2003-03-29  John Levon  <levon@movementarian.org>
7535
7536         * BufferView.C:
7537         * buffer.C: fix broken strerrors according to Lars
7538
7539 2003-03-29  John Levon  <levon@movementarian.org>
7540
7541         * converters.C: more Alert cleanups
7542
7543 2003-03-29  John Levon  <levon@movementarian.org>
7544
7545         * bufferview_funcs.C: remove pointless Alert
7546
7547         * buffer.C: fix confusing error message when
7548         a template is chmoded 000
7549
7550 2003-03-29  John Levon  <levon@movementarian.org>
7551
7552         * BufferView.C:
7553         * BufferView.h:
7554         * BufferView_pimpl.C: Alert fixes
7555
7556         * Makefile.am:
7557         * tabular.C:
7558         * tabular-old.C: remove unused table compat reading
7559
7560 2003-03-29  John Levon  <levon@movementarian.org>
7561
7562         * BufferView.C:
7563         * buffer.C:
7564         * lyx_cb.h:
7565         * lyx_cb.C: more Alert cleanups
7566
7567         * lyxfunc.C: don't allow chktex if not latex document
7568
7569 2003-03-29  John Levon  <levon@movementarian.org>
7570
7571         * lyx_cb.C:
7572         * BufferView.C:
7573         * buffer.C: warnings pushed down from support/,
7574         kill err_alert
7575
7576 2003-03-29  John Levon  <levon@movementarian.org>
7577
7578         * lyxfunc.C: safety check for C-r (revert)
7579
7580 2003-03-29  John Levon  <levon@movementarian.org>
7581
7582         * bufferlist.h:
7583         * bufferlist.C: several UI fixes using Alert::prompt.
7584         Fix the pointless looping quit code. Fix stupid revert
7585         behaviour (bug 938)
7586
7587         * lyxvc.h:
7588         * lyxvc.C:
7589         * lyx_cb.C: use Alert::prompt
7590
7591         * lyx_main.C: remove a silly question
7592
7593         * lyxfunc.C: remove a couple of silly questions,
7594         use Alert::prompt
7595
7596 2003-03-28  John Levon  <levon@movementarian.org>
7597
7598         * text2.C: fix bug 974 (End on empty par)
7599
7600 2003-03-28  John Levon  <levon@movementarian.org>
7601
7602         * BufferView_pimpl.C:
7603         * LyXAction.C:
7604         * lfuns.h: remove do-nothing math greek lfuns
7605
7606 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * lyxgluelength.h (isValidGlueLength): add default arg on
7609         parameter 2. Remove default arg from friend in class.
7610
7611         * lyxlength.h (isValidLength): add default arg on parameter 2.
7612         Remove default arg from friend in class.
7613
7614         * text2.C (LyXText): adjust, initialize refresh_row.
7615         (init): adjust
7616         (removeRow): adjust
7617         (insertRow): adjust
7618         (insertParagraph): adjst
7619         (redoParagraphs): adjust
7620         (fullRebreak): adjust
7621         (updateCounters): adjust
7622         (deleteEmptyParagraphMechanism): first attempt at fixing a
7623         crashing bug.
7624
7625         * text.C (top_y): adjust
7626         (setHeightOfRow): adjust
7627         (getRow): adjust
7628         (getRowNearY): adjust
7629
7630         * lyxtext.h: include RowList.h
7631         (~LyXText): not needed anymore, deleted.
7632         (firstRow): modify for RowList
7633         (lastRow): new function
7634         Delete firstrow and lastrow class variables, add a Rowlist
7635         rowlist_ class variable.
7636
7637         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7638         paragraph is empty.
7639
7640         * RowList.C (insert): fix case where it == begin().
7641
7642 2003-03-26  Angus Leeming  <leeming@lyx.org>
7643
7644         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7645         the thesaurus dialog.
7646
7647 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7650
7651         * RowList.[Ch]: new files
7652
7653         * ParagraphList.C (erase): handle the case where it == begin
7654         correctly.
7655
7656 2003-03-25  John Levon  <levon@movementarian.org>
7657
7658         * Makefile.am:
7659         * aspell_local.h:
7660         * aspell.C: add new aspell support
7661
7662         * lyxrc.h:
7663         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7664         have it accessible.
7665
7666 2003-03-25  Angus Leeming  <leeming@lyx.org>
7667
7668         * lfuns.h:
7669         * LyXAction.C (init): new LFUN_INSET_INSERT.
7670
7671         * BufferView_pimpl.C (dispatch): split out part of the
7672         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7673
7674         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7675         LFUN_INSET_APPLY.
7676
7677 2003-03-25  Angus Leeming  <leeming@lyx.org>
7678
7679         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7680
7681 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7682
7683         * text2.C:
7684         * text3.C: remove useless row->height(0)
7685
7686 2003-03-25  John Levon  <levon@movementarian.org>
7687
7688         * lyxtext.h:
7689         * text2.C:
7690         * text3.C: rename the refreshing stuff to better names
7691
7692 2003-03-24  John Levon  <levon@movementarian.org>
7693
7694         * BufferView_pimpl.h:
7695         * BufferView_pimpl.C: update layout choice on a mouse
7696         press/release
7697
7698 2003-03-23  John Levon  <levon@movementarian.org>
7699
7700         * Makefile.am: fix commandtags.h reference
7701
7702 2003-03-22  John Levon  <levon@movementarian.org>
7703
7704         * BufferView_pimpl.C:
7705         * lyxtext.h:
7706         * rowpainter.C:
7707         * rowpainter.h:
7708         * text.C:
7709         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7710
7711 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7712
7713         * lyxtext.h:
7714         * text.C: take the rtl methods out of line
7715
7716 2003-03-21 André Pönitz <poenitz@gmx.net>
7717
7718         * metricsinfo.[Ch]: new files containing structures to be passed around
7719         during the two-phase-drawing...
7720
7721 2003-03-21 André Pönitz <poenitz@gmx.net>
7722
7723         * lyxtextclass.C: read 'environment' tag.
7724
7725 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7726
7727         * text2.C (removeRow): fix bug 964
7728
7729 2003-03-20  John Levon  <levon@movementarian.org>
7730
7731         * rowpainter.C:
7732         * text.C:
7733         * text2.C: paint cleanups. Inset::update() dropped font
7734         parameter
7735
7736 2003-03-19  John Levon  <levon@movementarian.org>
7737
7738         * lyxfunc.C: only fitcursor/markDirty if available()
7739
7740 2003-03-19  John Levon  <levon@movementarian.org>
7741
7742         * commandtags.h: rename to ...
7743
7744         * lfuns.h: ... this, and renumber / cleanup
7745
7746 2003-03-19  John Levon  <levon@movementarian.org>
7747
7748         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7749         fit the cursor after an lfun
7750
7751         * BufferView.h:
7752         * BufferView.C:
7753         * BufferView_pimpl.h:
7754         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7755
7756         * LyXAction.C: layout-character should have ReadOnly
7757
7758         * ParagraphParameters.C:
7759         * buffer.C:
7760         * bufferview_funcs.C:
7761         * lyx_cb.C:
7762         * lyxfind.C:
7763         * lyxtext.h:
7764         * text.C:
7765         * text2.C:
7766         * text3.C:
7767         * undo_funcs.C: changes from above
7768
7769 2003-03-18  John Levon  <levon@movementarian.org>
7770
7771         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7772         remove it from update()
7773
7774         * lyxfunc.C: update layout choice after an lfun
7775
7776         * text3.C: remove extra updateLayoutChoice()s
7777
7778 2003-03-18  John Levon  <levon@movementarian.org>
7779
7780         * text.C: top_y change means full repaint, fix
7781         a drawing bug with cursor movement
7782
7783 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7784
7785         * lyxtext.h:
7786         * text.C:
7787         * text2.C: anchor row on setCursor
7788
7789 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7790
7791         * lyxtext.h: remove almost all mutable keywords
7792         * text.C:
7793         * text2.C:
7794         * text3.C: remove const keywords accordingly
7795
7796 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7799         anon namespace
7800         (TeXEnvironment): ditto
7801         (TeXOnePar): ditto
7802
7803 2003-03-17  John Levon  <levon@movementarian.org>
7804
7805         * text.C (rowBreakPoint): remove attempt to fix displayed
7806         math insets inside a manual label
7807
7808 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7809
7810         * lyxtext.h: remove BufferView* as first arg from almost all class
7811         functions.
7812         * other files: adjust.
7813
7814 2003-03-17  John Levon  <levon@movementarian.org>
7815
7816         * lyxtext.h:
7817         * undo_funcs.C:
7818         * text2.C: more paint cleanups
7819
7820         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7821
7822         * rowpainter.h:
7823         * rowpainter.C: remove "smart" background painting code
7824
7825 2003-03-16  John Levon  <levon@movementarian.org>
7826
7827         * lyxtext.h:
7828         * text.C:
7829         * text2.C:
7830         * text3.C: add helper functions for setting refresh_row/y
7831
7832 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7833
7834         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7835         newline inset which *can* get inserted in the pass_thru layouts.
7836         This is primarily for literate documents.
7837
7838 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7839
7840         * buffer.C: increment LYX_FORMAT to 223
7841
7842 2003-03-14 André Pönitz <poenitz@gmx.net>
7843
7844         * textclass.h: prepare for environment handling, ws changes
7845         * lyxlayout.C: read latexheader and latexfooter tags
7846
7847 2003-03-14  John Levon  <levon@movementarian.org>
7848
7849         * text2.C: rewrite ::status() a bit
7850
7851 2003-03-13  John Levon  <levon@movementarian.org>
7852
7853         * lyxtext.h: add some docs
7854
7855 2003-03-13  John Levon  <levon@movementarian.org>
7856
7857         * lyxtext.h:
7858         * text.C:
7859         * text2.C:
7860         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7861
7862 2003-03-13  John Levon  <levon@movementarian.org>
7863
7864         * text3.C: fix appendix redrawing
7865
7866 2003-03-13  John Levon  <levon@movementarian.org>
7867
7868         * text.C (setHeightOfRow):
7869         * rowpainter.h:
7870         * rowpainter.C: make appendix mark have the text
7871           "Appendix" so the user knows what it is
7872
7873         * LColor.h:
7874         * LColor.C: s/appendixline/appendix/ from above
7875
7876 2003-03-13  John Levon  <levon@movementarian.org>
7877
7878         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7879
7880         * text.C: fix a getChar(pos) bug properly
7881
7882 2003-03-13  Angus Leeming  <leeming@lyx.org>
7883
7884         * commandtags.h:
7885         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7886         Probably only temporary. Let's see how things pan out.
7887
7888         * BufferView.C (unlockInset):
7889         * BufferView_pimpl.C (fitCursor):
7890         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7891
7892         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7893         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7894
7895         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7896         new functions that convert ParagraphParameters to and from a string.
7897
7898         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7899         BufferView::Pimpl's dispatch.
7900         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7901
7902 2003-03-13 André Pönitz <poenitz@gmx.net>
7903
7904         * lyxfunc.C:
7905         * text3.C:
7906         * factory.C: make it aware of InsetEnv
7907
7908 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7909
7910         * text2.C (setCursor): never ask for one past last
7911         (setCursor): add some debugging messages.
7912
7913         * text.C (singleWidth): never ask for one past last
7914         (singleWidth): ditto
7915         (leftMargin): ditto
7916         (rightMargin): ditto
7917         (rowBreakPoint): ditto
7918         (setHeightOfRow): ditto
7919         (prepareToPrint): ditto
7920
7921         * rowpainter.C (paintBackground): never ask for one past last
7922         (paintText): never ask for one past last
7923
7924         * paragraph_pimpl.C (getChar): make the assert stricter, never
7925         allow the one past last pos to be taken
7926
7927         * paragraph.C (getChar): ws changes only
7928
7929         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7930         (numberOfSeparators): ditto
7931         (numberOfHfills): ditto
7932
7933 2003-03-12  John Levon  <levon@movementarian.org>
7934
7935         * author.h:
7936         * author.C:
7937         * bufferparams.h:
7938         * bufferparams.C:
7939         * paragraph_funcs.C: fix per-buffer authorlists
7940
7941 2003-03-12  John Levon  <levon@movementarian.org>
7942
7943         * text.C: fix newline in right address
7944
7945 2003-03-12  Angus Leeming  <leeming@lyx.org>
7946
7947         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7948         duplicate those in LyXFunc::dispatch.
7949
7950         * commandtags.h:
7951         * LyXAction.C:
7952         * ToolbarDefaults.C:
7953         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7954         Add LFUN_FONTFREE_UPDATE.
7955
7956         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7957         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7958
7959         * bufferview_func.[Ch]: several new functions to facilliate
7960         transfer of data to and from the character dialog.
7961
7962 2003-03-12  John Levon  <levon@movementarian.org>
7963
7964         * buffer.C:
7965         * paragraph.h:
7966         * paragraph.C:
7967         * paragraph_funcs.C:
7968         * paragraph_pimpl.C:
7969         * sgml.C:
7970         * tabular.C:
7971         * text.C:
7972         * text3.C: remove META_NEWLINE in favour of an inset
7973
7974         * rowpainter.h:
7975         * rowpainter.C: remove paintNewline (done by inset)
7976
7977 2003-03-12  John Levon  <levon@movementarian.org>
7978
7979         * paragraph_pimpl.C: complain about bad getChar()s
7980         for a while at least
7981
7982 2003-03-12  John Levon  <levon@movementarian.org>
7983
7984         * buffer.h:
7985         * buffer.C: move paragraph read into a separate function,
7986         a little renaming to reflect that.
7987
7988         * bufferparams.h:
7989         * bufferparams.C: remove the author_ids map, not necessary now
7990
7991         * factory.h:
7992         * factory.C: moved Buffer::readInset to here
7993
7994         * paragraph_funcs.h:
7995         * paragraph_funcs.C: readParagraph free function moved from
7996         buffer.C
7997
7998         * tabular.C: name change
7999
8000 2003-03-12  John Levon  <levon@movementarian.org>
8001
8002         * buffer.C:
8003         * ParagraphParameters.C: move par params input to
8004         a read() method
8005
8006         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8007         behave like a normal read from the stream wrt reading
8008         a line vs. a \\token
8009
8010 2003-03-12  John Levon  <levon@movementarian.org>
8011
8012         * paragraph.C:
8013         * ParagraphParameters.h:
8014         * ParagraphParameters.C: move output code to a
8015         ::write() method
8016
8017 2003-03-12  John Levon  <levon@movementarian.org>
8018
8019         * BufferView.C (insertLyXFile):
8020         * buffer.h:
8021         * buffer.C:
8022         * tabular.C: use a parlist iterator for creating the
8023           document.
8024
8025 2003-03-12  John Levon  <levon@movementarian.org>
8026
8027         * buffer.C: make current_change static local not
8028           static file-scope
8029
8030 2003-03-12  John Levon  <levon@movementarian.org>
8031
8032         * buffer.C: fix insertStringAsLines for change tracking
8033
8034 2003-03-12  John Levon  <levon@movementarian.org>
8035
8036         * BufferView.C:
8037         * tabular.C:
8038         * buffer.h:
8039         * buffer.C:
8040         * bufferparams.h:
8041         * bufferparams.C: move author list into params. Rename some
8042           functions. Move the header reading into a separate token
8043           loop. Move the header token reading into BufferParams.
8044
8045 2003-03-12  John Levon  <levon@movementarian.org>
8046
8047         * changes.C: put debug inside lyxerr.debugging() checks
8048
8049 2003-03-11 André Pönitz <poenitz@gmx.net>
8050
8051         * factory.C: make it aware of InsetHFill
8052
8053 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8054
8055         * buffer.C (latexParagraphs): move function from here...
8056         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8057         args.
8058
8059 2003-03-10  Angus Leeming  <leeming@lyx.org>
8060
8061         * LyXAction.C (init): fix bug in poplating array with multiple entries
8062         with the same LFUN (spotted by JMarc).
8063
8064 2003-03-10  John Levon  <levon@movementarian.org>
8065
8066         * text.C:
8067         * text2.C: move getColumnNearX() near its
8068         only call site
8069
8070 2003-03-10  John Levon  <levon@movementarian.org>
8071
8072         * text.C: fix break before a minipage
8073
8074 2003-03-10  John Levon  <levon@movementarian.org>
8075
8076         * text.C: fix the last commit
8077
8078 2003-03-09  John Levon  <levon@movementarian.org>
8079
8080         * lyxtext.h:
8081         * text.C:
8082         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8083         bug 365 (don't break before insets unless needed). Don't
8084         return a value > last under any circumstances.
8085
8086 2003-03-09  Angus Leeming  <leeming@lyx.org>
8087
8088         * BufferView_pimpl.C (trackChanges, dispatch): call
8089         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8090
8091 2003-03-09  Angus Leeming  <leeming@lyx.org>
8092
8093         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8094         than Dialogs::showAboutlyx().
8095
8096 2003-03-09  Angus Leeming  <leeming@lyx.org>
8097
8098         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8099         than Dialogs::showTabularCreate().
8100
8101 2003-03-09  John Levon  <levon@movementarian.org>
8102
8103         * lyxtext.h:
8104         * text.C:
8105         * text2.C: 3rd arg to nextBreakPoint was always the same.
8106           Use references.
8107
8108 2003-03-08  John Levon  <levon@movementarian.org>
8109
8110         * lyxrow.C:
8111         * paragraph.C:
8112         * paragraph.h:
8113         * rowpainter.C:
8114         * text.C:
8115         * text2.C: Remove the "main" bit from the "main body"
8116           notion.
8117
8118 2003-03-08  John Levon  <levon@movementarian.org>
8119
8120         * text.C (leftMargin): The left margin of an empty
8121         manual label paragraph should not include the label width
8122         string length.
8123
8124         * text.C (prepareToPrint): don't attempt to measure hfills
8125         for empty manual label paragraphs - the answer should be 0
8126
8127 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * CutAndPaste.C: remove commented code and reindent.
8130
8131 2003-03-08  John Levon  <levon@movementarian.org>
8132
8133         * lyxfunc.h:
8134         * lyxfunc.C: move reloadBuffer()
8135
8136         * BufferView.h:
8137         * BufferView.C: to here
8138
8139         * lyxvc.C: add comment
8140
8141         * vc-backend.h:
8142         * vc-backend.C: call bv->reload() to avoid
8143           getStatus() check on MENURELOAD
8144
8145 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8146
8147         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8148         to an old format .dep file.
8149
8150 2003-03-07  Angus Leeming  <leeming@lyx.org>
8151
8152         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8153         when the LFUN_MOUSE_RELEASE should have been handled by
8154         inset->localDispatch.
8155
8156 2003-03-07  Angus Leeming  <leeming@lyx.org>
8157
8158         * BufferView_pimpl.C (dispatch):
8159         * LyXAction.C (init):
8160         * ToolbarDefaults.C (init):
8161         * commandtags.h:
8162         * lyxfunc.C (getStatus):
8163         remove LFUN_INSET_GRAPHICS.
8164
8165         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8166
8167 2003-03-07  Angus Leeming  <leeming@lyx.org>
8168
8169         * commandtags.h:
8170         * LyXAction.C (init):
8171         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8172
8173         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8174
8175         * commandtags.h:
8176         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8177
8178         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8179         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8180
8181 2003-03-07  Angus Leeming  <leeming@lyx.org>
8182
8183         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8184         remove "ert".
8185
8186 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * ParagraphList.C (front): new function
8189         (back): implement
8190
8191 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8192
8193         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8194         and top_row_offset_. removed var first_y.
8195         * text.C (top_y):
8196         * text2.C (LyXText, removeRow):
8197         * text3.C:
8198         * BufferView_pimpl.C:
8199         use these methods instead of using first_y
8200
8201 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * text2.C (pasteSelection): adjust for checkPastePossible
8204
8205         * CutAndPaste.C: remove Paragraph * buf and replace with
8206         ParagraphList paragraphs.
8207         (DeleteBuffer): delete
8208         (cutSelection): change the tc type to textclass_type
8209         (copySelection): change the tc type to textclass_type
8210         (copySelection): adjust for ParagraphList
8211         (pasteSelection): change the tc type to textclass_type
8212         (pasteSelection): adjust for Paragraphlist
8213         (nrOfParagraphs): simplify for ParagraphList
8214         (checkPastePossible): simplify for ParagraphList
8215         (checkPastePossible): remove unused arg
8216
8217         * ParagraphList.C (insert): handle the case where there are no
8218         paragraphs yet.
8219
8220         * CutAndPaste.h: make CutAndPaste a namespace.
8221
8222         * text3.C (dispatch): adjust
8223
8224         * text.C (breakParagraph): add a ParagraphList as arg
8225
8226         * paragraph_funcs.C (breakParagraph): change to take a
8227         BufferParams and a ParagraphList as args.
8228         (breakParagraphConservative): ditto
8229         (mergeParagraph): ditto
8230         (TeXDeeper): add a ParagraphList arg
8231         (TeXEnvironment): ditto
8232         (TeXOnePar): ditto
8233
8234         * buffer.C (readLyXformat2): adjust
8235         (insertStringAsLines): adjust
8236         (latexParagraphs): adjust
8237
8238         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8239         (cutSelection): adjust
8240         (pasteSelection): adjust
8241
8242         * BufferView_pimpl.C (insertInset): adjust
8243
8244 2003-03-05  Angus Leeming  <leeming@lyx.org>
8245
8246         * commandtags.h:
8247         * LyXAction.C (init):
8248         * BufferView_pimpl.C (dispatch):
8249         * lyxfunc.C (getStatus):
8250         remove LFUN_CHILD_INSERT.
8251
8252         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8253
8254 2003-03-05  Angus Leeming  <leeming@lyx.org>
8255
8256         * commandtags.h:
8257         * LyXAction.C (init):
8258         * src/factory.C (createInset):
8259         * lyxfunc.C (getStatus):
8260         * text3.C (dispatch):
8261         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8262
8263         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8264
8265 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * ParagraphList.C (insert): handle insert right before end()
8268         (erase): fix cases where it can be first or last paragraph.
8269
8270 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8273         Paragraph::next and Paragraph::previous
8274         (TeXOnePar): ditto
8275
8276         * text.C (breakParagraph): adjust
8277
8278         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8279         BufferParams& as arg.
8280         (breakParagraph): use ParagraphList::insert
8281         (breakParagraphConservative): take a Buffer* instead of a
8282         BufferParams& as arg.
8283         (breakParagraphConservative): use ParagraphList::insert.
8284
8285         * buffer.C (insertStringAsLines): un-const it
8286         (insertStringAsLines): adjust
8287
8288         * ParagraphList.C (insert): new function
8289
8290         * CutAndPaste.C (pasteSelection): adjust
8291
8292         * text.C (backspace): adjust
8293
8294         * tabular.C (SetMultiColumn): adjust
8295
8296         * CutAndPaste.C (cutSelection): adjust
8297         (pasteSelection): adjust
8298
8299         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8300         Buffer const * as arg
8301
8302         * ParagraphList.C (erase): new function
8303         * paragraph_funcs.C (mergeParagraph): use it
8304         (mergeParagraph): make it take a Buffer* instead of a
8305         BufferParams* as arg
8306
8307         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8308         as arg
8309         (breakParagraphConservative): ditto
8310
8311         * paragraph.h: remove the breakParagraph friend
8312
8313         * paragraph.C (eraseIntern): new function
8314         (setChange): new function
8315
8316         * paragraph_funcs.C (mergeParagraph): make it take a
8317         ParagraphList::iterator instead of a Paragraph *, adjust
8318         accordingly.
8319
8320         * paragraph.h: move an #endif so that the change tracking stuff
8321         also works in the NO_NEXT case.
8322
8323 2003-03-04  Angus Leeming  <leeming@lyx.org>
8324
8325         * commandtags.h:
8326         * LyXAction.C: new LFUN_INSET_MODIFY.
8327
8328         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8329         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8330
8331 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8332
8333         * several files: ws changes only
8334
8335         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8336         (TeXEnvironment): ditto
8337         (TeXDeeper): ditto
8338
8339         * buffer.C (makeLaTeXFile): adjust
8340         (latexParagraphs): make it take ParagraphList::iterator as args
8341
8342 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8343
8344         * buffer.C (latexParagraphs): adjust
8345
8346         * paragraph.C (TeXOnePar): move function...
8347         (optArgInset): move function...
8348         (TeXEnvironment): move function...
8349         * paragraph_pimpl.C (TeXDeeper): move function...
8350         * paragraph_funcs.C: ...here
8351
8352         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8353
8354 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8355
8356         * buffer.C (readInset): remove compability code for old Figure and
8357         InsetInfo insets
8358
8359 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8360
8361         * buffer.C: ws changes
8362         (readInset):
8363
8364         * BufferView_pimpl.C: ditto
8365         * author.C: ditto
8366         * buffer.h: ditto
8367         * bufferlist.h: ditto
8368         * changes.h: ditto
8369         * lyxfunc.C: ditto
8370
8371 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8372
8373         * converter.[Ch]: split into itself +
8374         * graph.[Ch]
8375         * format.[Ch]
8376         * Makefile.am: += graph.[Ch] + format.[Ch]
8377         * MenuBackend.C
8378         * buffer.C
8379         * exporter.C
8380         * importer.C
8381         * lyx_main.C
8382         * lyxfunc.C
8383         * lyxrc.C: added #include "format.h"
8384
8385 2003-02-27  Angus Leeming  <leeming@lyx.org>
8386
8387         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8388           a label.
8389
8390         * factory.C (createInset): add "label" to the factory.
8391
8392         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8393           string and do no more.
8394
8395 2003-02-27  Angus Leeming  <leeming@lyx.org>
8396
8397         * commandtags.h:
8398         * LyXAction.C (init):
8399         * factory.C (createInset):
8400         * BufferView_pimpl.C (dispatch):
8401           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8402
8403         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8404
8405         * lyxfunc.C (dispatch):
8406         * text3.C (dispatch): pass name to params2string.
8407
8408 2003-02-26  Angus Leeming  <leeming@lyx.org>
8409
8410         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8411           blocks together.
8412           Rearrange the ~includes. Strip out the unnecessary ones.
8413
8414         * factory.C (createInset): reformat.
8415           create new insets for the various LFUN_XYZ_APPLY lfuns.
8416
8417 2003-02-26  John Levon  <levon@movementarian.org>
8418
8419         * lyxrow.h:
8420         * lyxrow.C: add isParStart,isParEnd helpers
8421
8422         * paragraph.h: make isInserted/DeletedText take refs
8423
8424         * paragraph_funcs.h:
8425         * paragraph_funcs.C: remove #if 0'd code
8426
8427         * lyxtext.h:
8428         * text3.C:
8429         * text2.C:
8430         * text.C: use lyxrow helpers above.
8431           Move draw and paint routines to RowPainter.
8432           Make several methods use refs not pointers.
8433           Make backgroundColor() const.
8434           Add markChangeInDraw(), isInInset().
8435           Merge changeRegionCase into changeCase.
8436           Make workWidth() shouldn't-happen code into an Assert.
8437
8438         * rowpainter.h:
8439         * rowpainter.C: new class for painting a row.
8440
8441         * vspace.h:
8442         * vspace.C: make inPixels take a ref
8443
8444 2003-02-26  Angus Leeming  <leeming@lyx.org>
8445
8446         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8447         LFUN_REF_APPLY.
8448
8449 2003-02-25  John Levon  <levon@movementarian.org>
8450
8451         * ispell.C: give the forked command a more accurate name
8452
8453 2003-02-22  John Levon  <levon@movementarian.org>
8454
8455         * toc.h:
8456         * toc.C: make TocItem store an id not a Paragraph *
8457           (bug #913)
8458
8459 2003-02-21  Angus Leeming  <leeming@lyx.org>
8460
8461         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8462           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8463           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8464           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8465           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8466           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8467
8468         * BufferView_pimpl.C (dispatch):
8469         * LyXAction.C (init):
8470         * factory.C (createInset):
8471         * lyxfunc.C (getStatus, dispatch):
8472         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8473
8474 2003-02-21  Angus Leeming  <leeming@lyx.org>
8475
8476         * BufferView_pimpl.C (MenuInsertLyXFile):
8477         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8478         * lyxfunc.C (menuNew, open, doImport):
8479           no longer pass a LyXView & to fileDlg.
8480
8481 2003-02-21  Angus Leeming  <leeming@lyx.org>
8482
8483         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8484         * LyXAction.C: change, BIBKEY to BIBITEM.
8485         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8486         Change InsetBibKey to InsetBibitem.
8487         Change BIBKEY_CODE to BIBITEM_CODE.
8488         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8489         * factory.C: replace insetbib.h with insetbibitem.h.
8490         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8491         * paragraph.C: replace insetbib.h with insetbibitem.h.
8492         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8493         Change bibkey() to bibitem().
8494         * text.C: remove insetbib.h.
8495         * text2.C: replace insetbib.h with insetbibitem.h.
8496         change bibkey() to bibitem().
8497         * text3.C: remove insetbib.h.
8498         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8499
8500 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8501
8502         * lyxrc.C (output): enclose user email in quotes (in case there are
8503         several words)
8504
8505 2003-02-18  John Levon  <levon@movementarian.org>
8506
8507         * buffer.h: add std::
8508
8509 2003-02-17  John Levon  <levon@movementarian.org>
8510
8511         * SpellBase.h:
8512         * ispell.h:
8513         * ispell.C:
8514         * pspell.h:
8515         * pspell.C: reworking. Especially in ispell, a large
8516           number of clean ups and bug fixes.
8517
8518         * lyxfunc.C: fix revert to behave sensibly
8519
8520 2003-02-17 André Pönitz <poenitz@gmx.net>
8521
8522         * LyXAction.C:
8523         * commandtags.h: new LFUN_INSERT_BIBKEY
8524
8525         * layout.h:
8526         * lyxlayout.C:
8527         * buffer.C:
8528         * factory.C:
8529         * text.C:
8530         * text2.C:
8531         * text3.C:
8532         * paragraph.[Ch]:
8533         * paragraph_func.C: remove special bibkey handling
8534
8535 2003-02-17  John Levon  <levon@movementarian.org>
8536
8537         * text.C (Delete): fix case where delete at the end of
8538           the very first paragraph would not merge the pars
8539
8540 2003-02-17  John Levon  <levon@movementarian.org>
8541
8542         * lyxrow.C: fix lastPrintablePos()
8543
8544 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8545
8546         * bufferparams.C (writeLaTeX): add a std:here
8547
8548         * buffer.C: and remove a using directive there
8549
8550 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8551
8552         * buffer.C (makeLaTeXFile): move the code that generates the
8553           preamble...
8554
8555         * bufferparams.C (writeLaTeX): ... in this new method
8556
8557         * LaTeXFeatures.C (getEncodingSet): make const
8558           (getLanguages): make const
8559
8560         * MenuBackend.C (binding): returns the binding associated to this
8561           action
8562           (add): sets the status of each item by calling getStatus. Adds
8563           some intelligence.
8564           (read): add support for OptSubMenu
8565           (expand): remove extra separator at the end of expanded menu
8566
8567 2003-02-15  John Levon  <levon@movementarian.org>
8568
8569         * BufferView.C:
8570         * BufferView_pimpl.C:
8571         * bufferlist.h:
8572         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8573           inset code that had no actual effect. Remove unneeded status
8574           code.
8575
8576 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8577
8578         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8579           in preamble
8580
8581 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8582
8583         * text.C (drawLengthMarker): also draw an arrow marker for
8584           symbolic lengths (medskip...)
8585
8586 2003-02-14  John Levon  <levon@movementarian.org>
8587
8588         * tabular.h:
8589         * tabular.C: better method names
8590
8591 2003-02-14  John Levon  <levon@movementarian.org>
8592
8593         * BufferView_pimpl.C:
8594         * bufferlist.C:
8595         * buffer.C:
8596         * converter.C:
8597         * lyx_cb.C:
8598         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8599           it's a more accurate name. Remove some pointless uses.
8600
8601 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8602
8603         * text2.C (LyXText): change order of initilizers to shut off
8604           warnings
8605
8606 2003-02-14  John Levon  <levon@movementarian.org>
8607
8608         * buffer.C: use ParIterator for getParFromID()
8609
8610         * paragraph.h:
8611         * paragraph.C:
8612         * paragraph_pimpl.h:
8613         * paragraph_pimpl.C: remove unused getParFromID()
8614
8615 2003-02-14  John Levon  <levon@movementarian.org>
8616
8617         * buffer.C: remove some very old #if 0'd parse code
8618
8619 2003-02-13  John Levon  <levon@movementarian.org>
8620
8621         * text.h:
8622         * text.C:
8623         * text2.C: move hfillExpansion(), numberOfSeparators(),
8624           rowLast(), rowLastPrintable(), numberofHfills(),
8625           numberOfLabelHfills() ...
8626
8627         * lyxrow.h:
8628         * lyxrow.C: ... to member functions here.
8629
8630         * paragraph.h:
8631         * paragraph.C:
8632         * lyxtext.h:
8633         * text.C: remove LyXText::beginningOfMainBody(), and call
8634           p->beginningOfMainBody() directly. Move the check for
8635           LABEL_MANUAL into the latter.
8636
8637         * text.h:
8638         * text.C:
8639         * text2.C:
8640         * vspace.C:
8641         * BufferView.h:
8642         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8643
8644         * text.h:
8645         * text.C:
8646         * text2.C:
8647         * text3.C:
8648         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8649           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8650
8651 2003-02-13  John Levon  <levon@movementarian.org>
8652
8653         * CutAndPaste.C: remove debug
8654
8655 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8656
8657         * paragraph.C (asString): remove two unused variables
8658
8659         * lyxtextclass.C (readTitleType):
8660           (Read):
8661           (LyXTextClass): handle new members titletype_ and titlename_
8662
8663         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8664
8665 2003-02-09  John Levon  <levon@movementarian.org>
8666
8667         * buffer.h:
8668         * buffer.C: replace hand-coded list with a map for the dep clean
8669
8670 2003-02-08  John Levon  <levon@movementarian.org>
8671
8672         * LaTeX.C: consolidate code into showRunMessage() helper
8673
8674 2003-02-08  John Levon  <levon@movementarian.org>
8675
8676         * lyxfind.C:
8677         * lyxtext.h:
8678         * text2.C:
8679         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8680           and pass the size in explicitly
8681
8682         * BufferView_pimpl.h:
8683         * BufferView_pimpl.C:
8684         * BufferView.h:
8685         * BufferView.C: add getCurrentChange()
8686
8687         * BufferView_pimpl.h:
8688         * BufferView_pimpl.C: handle change lfuns
8689
8690         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8691           for changes. Mark pasted paragraphs as new.
8692
8693         * support/lyxtime.h:
8694         * support/lyxtime.C:
8695         * DepTable.C: abstract time_t as lyx::time_type
8696
8697         * LColor.h:
8698         * LColor.C: add colours for new text, deleted text, changebars
8699
8700         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8701           package use "usenames" option.
8702
8703         * commandtags.h:
8704         * lyxfunc.C:
8705         * LyXAction.C: add change lfuns
8706
8707         * Makefile.am:
8708         * author.h:
8709         * author.C: author handling
8710
8711         * buffer.h:
8712         * buffer.C: add a per-buffer author list, with first entry as
8713           current author. Handle new .lyx tokens for change tracking. Output
8714           author list to .lyx file. Output dvipost stuff to .tex preamble.
8715           Bump lyx format to 222.
8716
8717         * bufferlist.h:
8718         * bufferlist.C: add setCurrentAuthor() to reset current author details
8719           in all buffers.
8720
8721         * bufferparams.h:
8722         * bufferparams.C: add param for tracking
8723
8724         * bufferview_funcs.C: output change info in minibuffer
8725
8726         * Makefile.am:
8727         * changes.h:
8728         * changes.C: add change-tracking structure
8729
8730         * debug.h:
8731         * debug.C: add CHANGES debug flag
8732
8733         * lyxfind.h:
8734         * lyxfind.C: add code for finding the next change piece
8735
8736         * lyxrc.h:
8737         * lyxrc.C: add user_name and user_email
8738
8739         * lyxrow.h:
8740         * lyxrow.C: add a metric for the top of the text line
8741
8742         * lyxtext.h:
8743         * text.C: implement accept/rejectChange()
8744
8745         * lyxtext.h:
8746         * text.C: paint changebars. Paint new/deleted text in the chosen
8747         colours. Strike through deleted text.
8748
8749         * paragraph.h:
8750         * paragraph.C:
8751         * paragraph_pimpl.h:
8752         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8753           in the current change to the insert functions. Rework erase to
8754           mark text as deleted, adding an eraseIntern() and a range-based
8755           erase(). Implement per-paragraph change lookup and
8756           accept/reject.
8757
8758         * paragraph_funcs.C: Fixup paste for change tracking.
8759
8760         * tabular.C: mark added row/columns as new.
8761
8762         * text.C: fix rowLast() to never return -1. Don't allow
8763           spellchecking of deleted text. Track transpose changes. Don't
8764           allow paragraph break or merge where appropriate.
8765
8766         * text2.C: leave cursor at end of selection after a cut.
8767
8768 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8769
8770         * text.C (getLengthMarkerHeight):
8771         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8772         visible on screen too.
8773
8774 2003-02-07  John Levon  <levon@movementarian.org>
8775
8776         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8777
8778 2003-02-05  Angus Leeming  <leeming@lyx.org>
8779
8780         * lyxserver.C (read_ready): revert my patch of 11 September last year
8781         as it sends PC cpu through the roof. Presumably this means that
8782         the lyxserver will no longer run on an Alpha...
8783
8784 2003-01-30  Angus Leeming  <leeming@lyx.org>
8785
8786         * factory.C (createInset): create an InsetCommandParam of type "index"
8787         and use it to 'do the right thing'.
8788
8789         * text2.C (getStringToIndex): ensure that cursor position is always
8790         reset to the reset_cursor position.
8791
8792 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8793
8794         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8795         disabled.
8796
8797 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8798
8799         * bufferview.C:
8800         * lyxcb.C:
8801         * lyxfunc.C: Output messages with identical spelling, punctuation,
8802         and spaces
8803
8804 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8805
8806         * MenuBackend.C (expandFormats): List only viewable export formats
8807         in "View" menu
8808
8809         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8810         message
8811
8812         * lyxfunc.C (getStatus): Make sure that formats other than
8813         "fax" can also be disabled
8814
8815 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8816
8817         * text3.C (dispatch): put the lfuns that insert insets in 3
8818         groups, and call doInsertInset with appropriate arguments.
8819         (doInsertInset): new function, that creates an inset and inserts
8820         it according to some boolean parameters.
8821
8822 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8823
8824         * buffer.C (readFile): remember to pass on 'par' when calling
8825         readFile recursively.
8826
8827 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8828
8829         * MenuBackend.C (expandFormats): add "..." to import formats.
8830
8831 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8832
8833         * paragraph.C (asString): Remove XForms RTL hacks.
8834
8835 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8836         * buffer.C: fix typo
8837
8838 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8839
8840         * Makefile.am (LIBS): delete var
8841         (lyx_LDADD): add @LIBS@ here instead.
8842
8843 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8844
8845         * Clarify the meaning of "wheel mouse jump"
8846
8847 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8848
8849         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8850         tabular in a float
8851
8852 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8853
8854         * importer.C (Loaders): do not preallocate 3 elements in the
8855         vector, since one ends up with 6 elements otherwise
8856
8857 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8858
8859         * DepTable.C (write): write the file name as last element of the
8860         .dep file (because it may contain spaces)
8861         (read): read info in the right order
8862
8863 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8864
8865         * paragraph_pimpl.C (simpleTeXBlanks):
8866         (simpleTeXSpecialChars):
8867         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8868
8869         * tabular.C (latex): add some missing case statements. Reindent.
8870
8871         * MenuBackend.C (expandToc): remove unused variable.
8872
8873 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8874
8875         * LColor.C:
8876         * LaTeX.C:
8877         * LyXAction.C:
8878         * MenuBackend.C:
8879         * buffer.C:
8880         * exporter.C:
8881         * lyxfunc.C:
8882         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8883         and the like.
8884
8885 2003-01-05  John Levon  <levon@movementarian.org>
8886
8887         * BufferView.h:
8888         * BufferView.C: add getEncoding()
8889
8890         * kbsequence.h:
8891         * kbsequence.C: do not store last keypress
8892
8893         * lyxfunc.h:
8894         * lyxfunc.C: store last keypress here instead. Pass encoding
8895           to getISOEncoded()
8896
8897 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8898
8899         * lyx_main.C (init): remove annoying error message when following
8900         symbolic links (bug #780)
8901
8902 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8903
8904         * text.C (insertChar):
8905         * lyxrc.C (getDescription): remove extra spaces
8906
8907 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8908
8909         * lyxrc.C (getDescription): remove extra spaces
8910
8911 2002-12-20  John Levon  <levon@movementarian.org>
8912
8913         * text3.C: hack fix for page up/down across tall rows
8914
8915 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8916
8917         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8918         not been invoked
8919
8920 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8921
8922         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8923         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8924         thesaurus is not compiled in
8925
8926 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8927
8928         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8929
8930 2002-12-16  Angus Leeming  <leeming@lyx.org>
8931
8932         * lyxrc.[Ch]:
8933         * lyx_main.C (init): remove override_x_deadkeys stuff.
8934
8935 2002-12-12  John Levon  <levon@movementarian.org>
8936
8937         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8938           insert. Only remove shift modifier under strict
8939           circumstances.
8940
8941 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8942
8943         * MenuBackend.C (expandToc): fix crash.
8944
8945 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8946
8947         * MenuBackend.C (expandToc): gettext on float names.
8948
8949 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8950
8951         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8952         implement bool empty() [bug 490]
8953
8954 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8957
8958 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8959
8960         * several files: ws changes
8961
8962 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8963
8964         * text2.C (setCounter): clean up a bit, use boost.format.
8965         (updateCounters): initialize par upon declaration.
8966
8967         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8968         if the layout exists. We do not just store the layout any more.
8969         (SwitchLayoutsBetweenClasses): use boost.format
8970
8971 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8972
8973         * converter.C (convert): if from and to files are the same, use a
8974         temporary files as intermediary
8975
8976 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8977
8978         * commandtags.h:
8979         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8980
8981 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8982
8983         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8984
8985 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8986
8987         * tabular.C (asciiPrintCell): use string(size, char) instead of
8988         explicit loop.
8989
8990         * sgml.C (openTag): fix order of arguments to string constructor
8991         (closeTag): ditto
8992
8993         * lyxfunc.C (dispatch): use boost.format
8994
8995         * lots of files: change "c" -> 'c'
8996
8997 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8998
8999         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9000
9001 2002-11-25  Angus Leeming  <leeming@lyx.org>
9002
9003         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9004
9005         * lyx_main.C (init): compile fix.
9006
9007 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9008
9009         * lyx_cb.C (start): boost.formatify
9010         do not include <iostream>
9011
9012         * lengthcommon.C: ws only
9013
9014         * boost-inst.C,BoostFormat.h: add more explict instantations
9015
9016 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9017
9018         * lots of files: handle USE_BOOST_FORMAT
9019
9020 2002-11-21  John Levon  <levon@movementarian.org>
9021
9022         * pspell.C: fix compile
9023
9024 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * lyxfunc.C (dispatch): use boost::format
9027         (open): ditto
9028         (doImport): ditto
9029
9030         * lyxfont.C (stateText): use boost::format
9031
9032         * lyx_main.C (LyX): use boost::format
9033         (init): ditto
9034         (queryUserLyXDir): ditto
9035         (readRcFile): ditto
9036         (parse_dbg): ditto
9037         (typedef boost::function): use the recommened syntax.
9038
9039         * importer.C (Import): use boost::format
9040
9041         * debug.C (showLevel): use boost::format
9042
9043         * converter.C (view): use boost::format
9044         (convert): ditto
9045         (move): ditto
9046         (scanLog): ditto
9047
9048         * bufferview_funcs.C (currentState): use boost::format
9049
9050         * bufferlist.C (emergencyWrite): use boost::format
9051
9052         * buffer.C (readLyXformat2): use boost::format
9053         (parseSingleLyXformat2Token): ditto
9054
9055         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9056
9057         * LaTeX.C (run): use boost::format
9058
9059         * Chktex.C (scanLogFile): use boost::format
9060
9061         * BufferView_pimpl.C (savePosition): use boost::format
9062         (restorePosition): ditto
9063         (MenuInsertLyXFile): ditto
9064
9065         * BoostFormat.h: help file for explicit instation.
9066
9067 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9068
9069         * tabular.C (latex): Support for block alignment in fixed width
9070         columns.
9071
9072 2002-11-17  John Levon  <levon@movementarian.org>
9073
9074         * BufferView_pimpl.C:
9075         * lyx_cb.C:
9076         * lyxfunc.C: split filedialog into open/save
9077
9078 2002-11-08  Juergen Vigna  <jug@sad.it>
9079
9080         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9081         by my last patch (hopefully).
9082
9083 2002-11-08  John Levon  <levon@movementarian.org>
9084
9085         * iterators.h:
9086         * iterators.C:
9087         * buffer.h:
9088         * buffer.C:
9089         * paragraph.h:
9090         * paragraph.C:
9091         * toc.h:
9092         * toc.C: ParConstIterator, and use it (from Lars)
9093
9094 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9095
9096         * lyxtextclass.[Ch]: revise and add doxygen comments
9097
9098 2002-11-07  John Levon  <levon@movementarian.org>
9099
9100         * text.C: fix progress value for spellchecker
9101
9102         * toc.C: fix navigate menu for insetwrap inside minipage
9103
9104         * paragraph_funcs.C: added FIXME for suspect code
9105
9106 2002-11-07  John Levon  <levon@movementarian.org>
9107
9108         * BufferView_pimpl.C: fix redrawing of insets
9109           on buffer switch
9110
9111 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9112
9113         * text2.C (updateCounters): fix bug 668
9114
9115 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9116
9117         * text3.C (dispatch): Do not make the buffer dirty when moving the
9118         cursor.
9119
9120 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9121
9122         * vc-backend.C: STRCONV
9123         (scanMaster): ditto
9124
9125         * text2.C (setCounter): STRCONV
9126
9127         * paragraph.C (asString): STRCONV
9128
9129         * lyxlength.C (asString): STRCONV
9130         (asLatexString): ditto
9131
9132         * lyxgluelength.C (asString): STRCONV
9133         (asLatexString): ditto
9134
9135         * lyxfunc.C (dispatch): STRCONV
9136         (open): ditto
9137
9138         * lyxfont.C (stateText): STRCONV
9139
9140         * importer.C (Import): STRCONV
9141
9142         * counters.C (labelItem): STRCONV
9143         (numberLabel): ditto
9144         (numberLabel): remove unused ostringstream o
9145
9146         * chset.C: STRCONV
9147         (loadFile): ditto
9148
9149         * bufferview_funcs.C (currentState): STRCONV
9150
9151         * buffer.C (readFile): STRCONV
9152         (asciiParagraph): ditto
9153         (makeLaTeXFile): ditto
9154
9155         * Spacing.C (writeEnvirBegin): STRCONV
9156
9157         * LaTeXFeatures.C (getLanguages): STRCONV
9158         (getPackages): ditto
9159         (getMacros): ditto
9160         (getBabelOptions): ditto
9161         (getTClassPreamble): ditto
9162         (getLyXSGMLEntities): ditto
9163         (getIncludedFiles): ditto
9164
9165         * LaTeX.C: STRCONV
9166         (run): ditto
9167         (scanAuxFile): ditto
9168         (deplog): ditto
9169
9170         * LString.h: add the STRCONV macros
9171
9172         * BufferView_pimpl.C (savePosition): STRCONV
9173         (restorePosition): ditto
9174         (MenuInsertLyXFile): ditto
9175
9176         * vc-backend.C (scanMaster): change from submatch[...] to
9177         submatch.str(...)
9178
9179         * funcrequest.C: include config.h
9180
9181         * factory.C: include config.h
9182
9183         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9184
9185         * box.C: include config.h
9186
9187         * LaTeX.C (scanAuxFile): change from submatch[...] to
9188         submatch.str(...)
9189         (deplog): ditto
9190
9191 2002-10-25  Angus Leeming  <leeming@lyx.org>
9192
9193         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9194
9195         * ispell.[Ch] (setError): new method.
9196         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9197         Use setError() insetead of goto END.
9198
9199         * lyx_cb.C (AutoSave): move out child process into new class
9200         AutoSaveBuffer.
9201
9202 2002-10-30  John Levon  <levon@movementarian.org>
9203
9204         * text3.C: make start appendix undoable
9205
9206 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9207
9208         * lyxlength.C (inPixels): Fix returned value.
9209
9210         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9211         environment.
9212
9213 2002-10-24  Angus Leeming  <leeming@lyx.org>
9214
9215         * lyxgluelength.h: no need to forward declare BufferParams
9216         or BufferView, so don't.
9217
9218 2002-10-21  John Levon  <levon@movementarian.org>
9219
9220         * BufferView.C: menuUndo ->undo, redo
9221
9222         * BufferView.h: document, remove dead, make some methods private
9223
9224         * paragraph_funcs.h:
9225         * paragraph_funcs.C:
9226         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9227
9228         * buffer.h:
9229         * buffer.C:
9230         * sgml.h:
9231         * sgml.C: move sgml open/close tag into sgml.C
9232
9233         * bufferview_funcs.h: unused prototype
9234
9235         * lyxfunc.h:
9236         * lyxfunc.C: remove unused
9237
9238         * lyxtext.h:
9239         * text.C: remove unused
9240
9241 2002-10-21  John Levon  <levon@movementarian.org>
9242
9243         * BufferView.h:
9244         * BufferView.C:
9245         * BufferView_pimpl.h:
9246         * BufferView_pimpl.C: fix mouse wheel handling based on
9247           patch from Darren Freeman
9248
9249 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9250
9251         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9252
9253 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9254
9255         * lyxlength.C (inPixels): Fix hanfling of negative length.
9256         Fix LyXLength::MU case.
9257
9258 2002-10-16  John Levon  <levon@movementarian.org>
9259
9260         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9261
9262 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9263
9264         * converter.C (view): add support for $$i (file name) and $$p
9265         (file path) for the viewer command. If $$i is not specified, then
9266         it is appended to the command (for compatibility with old syntax)
9267
9268 2002-10-14  Juergen Vigna  <jug@sad.it>
9269
9270         * undo_funcs.C (textHandleUndo): alter the order in which the
9271         new undopar is added to the LyXText, as we have to set first
9272         the right prev/next and then add it as otherwise the rebuild of
9273         LyXText is not correct. Also reset the cursor to the right paragraph,
9274         with this IMO we could remove the hack in "redoParagraphs()".
9275
9276 2002-10-09  Angus Leeming  <leeming@lyx.org>
9277
9278         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9279         to turn off an optimisation if a new inset is to be inserted.
9280
9281 2002-10-11 André Pönitz <poenitz@gmx.net>
9282
9283         * lyxtext.h: make some functions public to allow access
9284         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9285
9286 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9287
9288         * text3.C (dispatch): when changing layout, avoid an infinite loop
9289         [bug #652]
9290
9291 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9292
9293         * lyxrc.C (read): treat a viewer or converter command of "none" as
9294         if it were empty.
9295
9296         * MenuBackend.C (expandFormats): for an update, also allow the
9297         formats that are not viewable
9298
9299         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9300         script if it is newer than the lyxrc.defaults in user directory
9301
9302 2002-10-07 André Pönitz <poenitz@gmx.net>
9303
9304         * text.C: Vitaly Lipatov's small i18n fix
9305
9306 2002-09-25  Angus Leeming  <leeming@lyx.org>
9307
9308         * ispell.h: doxygen fix.
9309
9310 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9311
9312         * buffer.h (readFile): Add a new argument to the method, to allow
9313         reading of old-format templates.
9314
9315 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9316
9317         * toc.C (getTocList): Get TOC from InsetWrap.
9318
9319 2002-09-16  John Levon  <levon@movementarian.org>
9320
9321         * lyxfunc.C: check tabular for cut/copy too
9322
9323 2002-09-12  John Levon  <levon@movementarian.org>
9324
9325         * LyXAction.C: tidy
9326
9327         * factory.h:
9328         * factory.C: add header
9329
9330         * paragraph_funcs.h:
9331         * paragraph_funcs.C: cleanup
9332
9333 2002-09-11  John Levon  <levon@movementarian.org>
9334
9335         * PrinterParams.h: odd/even default to true
9336
9337 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9338
9339         * PrinterParams.h: update printer parameters for new xforms dialog
9340
9341 2002-09-11  Angus Leeming  <leeming@lyx.org>
9342
9343         * lyxserver.C (read_ready): re-write to make it more transparent
9344         and to make it work in coherent fashion under Tru64 Unix.
9345
9346 2002-09-11  André Pönitz <poenitz@gmx.net>
9347
9348         * commandtags.h:
9349         * LyXAction.C:
9350         * text3.C: implement LFUN_WORDSEL
9351
9352 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9353
9354         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9355         make floatlist_ a boost::shared_ptr<FloatList>
9356
9357         * lyxtextclass.C: include FloatList.h
9358         (LyXTextClass): initialize floatlist_
9359         (TextClassTags): add TC_NOFLOAT
9360         (Read): match "nofloat" to TC_NOFLOAT and use it.
9361         (readFloat): modify call to floatlist_
9362         (floats): ditto
9363         (floats): ditto
9364
9365         * FloatList.[Ch] (FloatList): remove commented out float
9366         initialization.
9367         (erase): new function
9368
9369 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9370
9371         * MenuBackend.C (expandToc): fix crash when there is no document
9372         open
9373
9374 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9375
9376         * many files: Add insetwrap.
9377
9378 2002-09-09  John Levon  <levon@movementarian.org>
9379
9380         * text2.C: remove confusing and awkward depth wraparound
9381
9382 2002-09-09  John Levon  <levon@movementarian.org>
9383
9384         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9385
9386         * buffer.h:
9387         * buffer.C: remove getIncludeonlyList()
9388
9389         * paragraph.C:
9390         * lyxfunc.C: remove headers
9391
9392 2002-09-09  Juergen Vigna  <jug@sad.it>
9393
9394         * text.C (getColumnNearX): fix form Michael this is most
9395         probably a cut&paste bug.
9396
9397 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9398
9399         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9400
9401         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9402         references, ws changes.
9403
9404         * text2.C (init): update counters after init
9405         (insertParagraph): no need to set counter on idividual paragraphs.
9406         (setCounter): access the counters object in the textclass object
9407         on in the buffer object.
9408         (updateCounters): ditto
9409
9410         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9411         shared_ptr<Counters> to avoid loading counters.h in all
9412         compilation units.
9413         (LyXTextClass): initialize ctrs_
9414         (TextClassTags): add TC_COUNTER, and ...
9415         (Read): use it here.
9416         (CounterTags): new tags
9417         (readCounter): new function
9418         (counters): new funtion
9419         (defaultLayoutName): return a const reference
9420
9421         * counters.C (Counters): remove contructor
9422         (newCounter): remove a couple of unneeded statements.
9423         (newCounter): simplify a bit.
9424         (numberLabel): some small formatting changes.
9425
9426         * buffer.[Ch]: remove all traces of counters, move the Counters
9427         object to the LyXTextClass.
9428
9429 2002-09-06  Alain Castera  <castera@in2p3.fr>
9430
9431         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9432         package to set the horizontal alignment on fixed width columns.
9433
9434         * lyx_sty.C:
9435         * lyx_sty.h: added tabularnewline macro def.
9436
9437         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9438
9439 2002-09-06  John Levon  <levon@movementarian.org>
9440
9441         * LyXAction.C: tooltips for sub/superscript
9442
9443         * MenuBackend.C: a bit more verbose
9444
9445         * lyxfunc.C: tiny clean
9446
9447         * undo_funcs.C: document undo_frozen
9448
9449 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9450
9451         * counters.C (Counters): add missing algorithm counter.
9452
9453         * text2.C (setCounter): lookup the counter with layouts latexname
9454         instead of by section number.
9455         (setCounter): use a hackish way to lookup the correct enum
9456         counter.
9457         a float name->type change
9458         reset enum couners with counter name directly instead of depth value.
9459
9460         * counters.C (Counters): remove the push_backs, change to use the
9461         float type not the float name.
9462         (labelItem): remove unused string, float name->type change
9463
9464         * counters.h: don't include vector, loose the enums and sects vectors
9465
9466 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9467
9468         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9469         (Read): add float->TC_FLOAT to textclassTags
9470         (Read): and handle it in the switch
9471         (readFloat): new function
9472
9473         * FloatList.C (FloatList): comment out the hardcoded float
9474         definitions.
9475
9476         * lyxlayout.h: ws change.
9477
9478 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9479
9480         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9481
9482 2002-09-03  Angus Leeming  <leeming@lyx.org>
9483
9484         * BufferView_pimpl.h: qualified name is not allowed in member
9485         declaration: WorkArea & Pimpl::workarea() const;
9486
9487         * factory.C: added using std::endl directive.
9488
9489         * text3.C: added using std::find and std::vector directives.
9490
9491 2002-08-29  André Pönitz <poenitz@gmx.net>
9492
9493         * lyxtext.h:
9494         * text2.C: remove unused member number_of_rows
9495
9496         * Makefile.am:
9497         * BufferView2.C: remove file, move contents to...
9498         * BufferView.C: ... here
9499
9500         * BufferView_pimpl.C:
9501         * factory.C: move more inset creation to factory
9502
9503         * vspace.C: avoid direct usage of LyXText, ws changes
9504
9505         * BufferView.[Ch]:
9506                 don't provide direct access to WorkArea, use two simple
9507                 acessors haveSelction() and workHeight() instead
9508
9509
9510 2002-08-29  John Levon  <levon@movementarian.org>
9511
9512         * BufferView_pimpl.C (dispatch): do not continue when
9513           no buffer
9514
9515 2002-08-28  André Pönitz <poenitz@gmx.net>
9516
9517         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9518
9519         * BufferView.h:
9520         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9521
9522 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9523
9524         * buffer.C: increment LYX_FORMAT to 221
9525
9526         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9527         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9528
9529         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9530
9531         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9532
9533 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9534
9535         * factory.C (createInset): use LyXTextClass::floats
9536
9537         * MenuBackend.C (expandFloatListInsert):
9538         (expandFloatInsert):
9539         (expandToc):
9540
9541         * text2.C (setCounter):
9542
9543         * LaTeXFeatures.C (useFloat):
9544         (getFloatDefinitions):
9545
9546         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9547
9548         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9549         floatlist_, with accessor floats().
9550
9551         * FloatList.h: remove global FloatList
9552
9553 2002-08-26  André Pönitz <poenitz@gmx.net>
9554
9555         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9556
9557         * BufferView.h:
9558         * BufferView2.C:
9559         * BufferView_pimpl.C:
9560         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9561
9562 2002-08-25  John Levon  <levon@movementarian.org>
9563
9564         * LyXAction.C: fix margin note description
9565
9566 2002-08-24  John Levon  <levon@movementarian.org>
9567
9568         * buffer.C:
9569         * bufferlist.C:
9570         * bufferview_funcs.C:
9571         * lyxfont.C:
9572         * undo_funcs.C: cleanups
9573
9574         * lyxfunc.C: disable CUT/COPY when no selection
9575
9576 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9577
9578         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9579         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9580
9581         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9582         Add backward compatibility to "mono", "gray" and "no".
9583
9584 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9585
9586         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9587         (and file_format >= 200).
9588
9589 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9590
9591         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9592
9593 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9594
9595         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9596
9597 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9598
9599         * BufferView_pimpl.C:
9600         * LyXAction.C:
9601         * buffer.C:
9602         * commandtags.h:
9603         * lyxfunc.C:
9604         * paragraph.[Ch]:
9605         * text2.C:
9606         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9607         inset and code to make it  work with the paragraph code. The inset
9608         can be anywhere in the paragraph, but will only do the expected
9609         thing in LaTeX if the layout file contains the parameter line
9610                         OptionalArgs    1
9611         (or more generally, a nonzero value) for that layout.
9612
9613 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9614
9615         * paragraph.h: remove the declaration of undefined counters class
9616         function.
9617
9618 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9619
9620         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9621         Dr. Richard Hawkins.
9622
9623 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9624
9625         * paragraph_funcs.h: remove some unneeded includes
9626
9627         * text.C (backspace): pasteParagraph now in global scipe
9628
9629         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9630         (pasteSelection): ditto
9631
9632         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9633         * paragraph_funcs.C (pasteParagraph): ... here
9634
9635 2002-08-20  André Pönitz <poenitz@gmx.net>
9636
9637         * commandtags.h: new LFUNs for swapping/copying table row/colums
9638
9639         * LyXAction.C:
9640         * lyxfunc.C: support for new lfuns
9641
9642 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9643
9644         * tabular.C:
9645         * buffer.[Ch]: remove NO_COMPABILITY stuff
9646
9647 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9648
9649         * boost.C (throw_exception): new file, with helper function for
9650         boost compiled without exceptions.
9651
9652         * paragraph.h:
9653         * lyxlength.C:
9654         * buffer.C:
9655         * ParameterStruct.h:
9656         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9657
9658         * bufferlist.C (emergencyWriteAll): use boost bind
9659
9660         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9661
9662         * text.C: include paragraph_funcs.h
9663         (breakParagraph): breakParagraph is now in global scope
9664
9665         * paragraph_funcs.[Ch]: new files
9666
9667         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9668         global scope
9669
9670         * buffer.C: include paragraph_funcs.h
9671         (insertStringAsLines): breakParagraph is now in global scope
9672
9673         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9674         paragraph_funcs.C
9675
9676         * CutAndPaste.C: include paragraph_funcs.h
9677         (cutSelection): breakParagraphConservative is now in global scope
9678         (pasteSelection): ditto
9679
9680         * buffer.h: declare oprator== and operator!= for
9681         Buffer::inset_iterator
9682
9683         * bufferlist.C (emergencyWrite): don't use fmt(...)
9684
9685         * text3.C: add using std::endl
9686
9687         * BufferView.C (moveCursorUpdate): remove default arg
9688
9689 2002-08-20  André Pönitz <poenitz@gmx.net>
9690
9691         * buffer.[Ch]: move inline functions to .C
9692
9693         * BufferView2.C:
9694         * BufferView_pimpl.C:
9695         * text.C:
9696         * buffer.[Ch]: use improved inset_iterator
9697
9698         * buffer.C:
9699         * paragraph.[Ch]: write one paragraph at a time
9700
9701 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9702
9703         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9704         style if style is not specified.
9705
9706 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * text2.C (setCounter): when searching for right label for a
9709         caption, make sure to recurse to parent insets (so that a caption
9710         in a minipage in a figure float works) (bug #568)
9711
9712 2002-08-20  André Pönitz <poenitz@gmx.net>
9713
9714         * text3.C: new file for LyXText::dispatch() and helpers
9715
9716         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9717
9718         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9719
9720 2002-08-19  André Pönitz <poenitz@gmx.net>
9721
9722         * lyxtext.h:
9723         * text.C: new LyXText::dispatch()
9724
9725         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9726
9727 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9728
9729         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9730
9731         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9732         Hebrew text.
9733
9734 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9735
9736         * Makefile.am: use $(variables) instead of @substitutions@
9737
9738 2002-08-15  André Pönitz <poenitz@gmx.net>
9739
9740         * lyxfunc.C:
9741         * BufferView_pimpl.C: streamlining mathed <-> outer world
9742         interaction
9743
9744         * commandtags.h:
9745         * LyXAction.C: remove unused LFUN_MATH
9746
9747 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9748
9749         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9750
9751 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9752
9753         * paragraph.C (Paragraph): reformat a bit
9754         (cutIntoMinibuffer): use builtin InsetList function instad of
9755         doing it manually.
9756         (getInset): ditto
9757
9758         * buffer.C: include boost/bind.hpp, add using std::for_each
9759         (writeFileAscii): use ParagraphList iterators
9760         (validate): use for_each for validate traversal of paragraphs
9761         (getBibkeyList): use ParagraphList iterators
9762         (resizeInsets): use for_each to resizeInsetsLyXText for all
9763         paragraphs.
9764         (getParFromID): use ParagraphList iterators
9765
9766         * BufferView2.C (lockInset): use paragraph list and iterators
9767
9768 2002-08-14  John Levon  <levon@movementarian.org>
9769
9770         * lyxserver.C: remove spurious xforms include
9771
9772 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9773
9774         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9775
9776 2002-08-13  André Pönitz <poenitz@gmx.net>
9777
9778         * LyXAction.[Ch]:
9779         * lyxfunc.C: further cleaning
9780
9781 2002-08-13  André Pönitz <poenitz@gmx.net>
9782
9783         * funcrequest.h: new constructor
9784
9785         * funcrequest.C: move stuff here from .h
9786
9787         * Makefile.am:
9788         * BufferView_pimpl.C:
9789         * LyXAction.C:
9790         * toc.C:
9791         * lyxfunc.C: subsequent changes
9792
9793         * lyxfunc.h: new view() member function
9794
9795         * lyxfunc.C: subsequent changes
9796
9797 2002-08-13  Angus Leeming  <leeming@lyx.org>
9798
9799         * BufferView2.C:
9800         * BufferView_pimpl.C:
9801         * buffer.C:
9802         * converter.C:
9803         * importer.C:
9804         * lyxfunc.C:
9805         * lyxvc.C:
9806         * toc.C:
9807         * vc-backend.C:
9808         changes due to the changed LyXView interface that now returns references
9809         to member variables not pointers.
9810
9811 2002-08-13  Angus Leeming  <leeming@lyx.org>
9812
9813         * WordLangTuple (word, lang_code): return references to strings,
9814         not strings.
9815
9816         * BufferView.h:
9817         * SpellBase.h:
9818         * lyxtext.h: forward-declare WordLangTuple.
9819
9820         * BufferView2.C:
9821         * ispell.C:
9822         * pspell.C:
9823         * text.C: #include "WordLangTuple.h".
9824
9825         * lyxtext.h:
9826         * text.C: (selectNextWordToSpellcheck): constify return type.
9827
9828 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9829
9830         * buffer.C:
9831         * buffer.h:
9832         * lyxtext.h:
9833         * paragraph.C:
9834         * paragraph_pimpl.h:
9835         * text.C:
9836         * text2.C:
9837         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9838         suggested by Angus.
9839         Made updateCounter always count from start of buffer, and removed
9840         second argument (par).
9841         Reverted floats number display to '#'. Perhaps I'll try again when the
9842         code base is sanitized a bit.
9843
9844 2002-08-12  Angus Leeming  <leeming@lyx.org>
9845
9846         * buffer.[Ch] (getLabelList): constify.
9847
9848 2002-08-07  André Pönitz <poenitz@gmx.net>
9849
9850         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9851
9852         * funcrequest.h: extension to keep mouse (x,y) position
9853
9854 2002-08-12  Juergen Vigna  <jug@sad.it>
9855
9856         * BufferView2.C (insertErrors): forbid undo when inserting error
9857         insets.
9858
9859         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9860
9861 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9862
9863         * ParagraphList.[Ch]: new files
9864
9865         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9866
9867         * BufferView2.C (lockInset): ParagraphList changes
9868         * toc.C: ditto
9869         * text2.C: ditto
9870         * bufferlist.C: ditto
9871         * buffer.h: ditto
9872         * buffer.C: ditto
9873
9874 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9875
9876         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9877         unused class variable counter_,
9878
9879         * paragraph.[Ch] (getFirstCounter): delete unused function
9880
9881         * counters.C: include LAssert.h
9882         (reset): add a new function with no arg, change other version to
9883         not have def. arg and to not allow empty arg.
9884
9885         * text2.C (setCounter): remove empty arg from call to Counters::reset
9886
9887 2002-08-11  John Levon  <levon@movementarian.org>
9888
9889         * Makefile.am: add WordLangTuple.h
9890
9891 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9892
9893         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9894         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9895
9896         * insets/insettext.C: InsetList changes
9897
9898         * graphics/GraphicsSupport.C (operator()): InsetList changes
9899
9900         * toc.C (getTocList): InsetList changes
9901
9902         * paragraph_pimpl.[Ch]: InsetList changes
9903
9904         * paragraph.[Ch]: InsetList changes
9905
9906         * buffer.C (inset_iterator): InsetList changes
9907         (setParagraph): ditto
9908         * buffer.h (inset_iterator): ditto
9909         * iterators.C (operator++): ditto
9910         * iterators.h: ditto
9911
9912         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9913
9914         * InsetList.[Ch]: new files, most InsetList handling moved out of
9915         paragraph.C.
9916
9917         * BufferView2.C (removeAutoInsets): InsetList changes
9918         (lockInset): ditto
9919         (ChangeInsets): ditto
9920
9921 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9922
9923         * paragraph_pimpl.h (empty): new function
9924
9925         * paragraph.[Ch] (empty): new function
9926
9927         * other files: use the new Paragraph::empty function
9928
9929 2002-08-09  John Levon  <levon@movementarian.org>
9930
9931         * lyxtext.h: remove unused refresh_height
9932
9933 2002-08-09  John Levon  <levon@movementarian.org>
9934
9935         * Makefile.am:
9936         * sgml.h:
9937         * sgml.C:
9938         * buffer.C:
9939         * paragraph.h:
9940         * paragraph.C: move sgml char escaping out of paragraph
9941
9942         * paragraph.h:
9943         * paragraph.C: remove id setter
9944
9945         * buffer.C:
9946         * paragraph.C:
9947         * paragraph_pimpl.C: remove dead tex_code_break_column
9948
9949         * bufferview_funcs.C: small cleanup
9950
9951         * lyxfunc.C: remove dead proto
9952
9953         * lyxtext.h: make some stuff private. Remove some dead stuff.
9954
9955         * lyxgluelength.C: make as[LyX]String() readable
9956
9957 2002-08-08  John Levon  <levon@movementarian.org>
9958
9959         * LyXAction.h:
9960         * LyXAction.C:
9961         * MenuBackend.C:
9962         * ToolbarDefaults.C:
9963         * lyxfunc.C:
9964         * lyxrc.C:
9965         * toc.C: lyxaction cleanup
9966
9967 2002-08-08  John Levon  <levon@movementarian.org>
9968
9969         * BufferView2.C: small cleanup
9970
9971         * lyxfind.h:
9972         * lyxfind.C: move unnecessary header into the .C
9973
9974 2002-08-08  John Levon  <levon@movementarian.org>
9975
9976         * funcrequest.h: just tedious nonsense
9977
9978         * lyx_main.h:
9979         * lyx_main.C: cleanups
9980
9981         * buffer.C:
9982         * vspace.C: remove dead header lyx_main.h
9983
9984 2002-08-07  Angus Leeming  <leeming@lyx.org>
9985
9986         * Paragraph.[Ch]:
9987         * paragraph_pimpl.h:
9988         Forward declare class Counters in paragraph.h by moving the ctrs member
9989         variable into Paragraph::Pimpl.
9990         (counters): new method, returning a reference to pimpl_->ctrs.
9991
9992         * text2.C: ensuing changes.
9993
9994 2002-08-07  John Levon  <levon@movementarian.org>
9995
9996         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9997
9998         * BufferView_pimpl.C: announce X selection on double/triple
9999           click
10000
10001         * lyx_main.C: use correct bool in batch dispatch
10002
10003         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10004
10005 2002-08-07  André Pönitz <poenitz@gmx.net>
10006
10007         * funcrequest.h: new class to wrap a kb_action and its argument
10008
10009         * BufferView.[Ch]:
10010         * BufferView_pimpl[Ch]:
10011         * LaTeX.C:
10012         * LyXAction.[Ch]:
10013         * lyxfunc.[Ch]:
10014         * lyxrc.C: subsequent changes
10015
10016
10017 2002-08-07  John Levon  <levon@movementarian.org>
10018
10019         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10020           document options change.
10021
10022 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10023
10024         * counters.[Ch]
10025         * text2.C
10026         * paragraph.[Ch]
10027         * makefile.am: move counters functionality over from
10028         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10029
10030 2002-08-06  John Levon  <levon@movementarian.org>
10031
10032         * WordLangTuple.h: new file for word + language code tuple
10033
10034         * SpellBase.h:
10035         * pspell.h:
10036         * pspell.C:
10037         * ispell.h:
10038         * ispell.C:
10039         * lyxtext.h:
10040         * text.C:
10041         * text2.C:
10042         * BufferView.h:
10043         * BufferView2.C: use WordLangTuple
10044
10045         * layout.h:
10046         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10047
10048 2002-08-06  John Levon  <levon@movementarian.org>
10049
10050         * lyx_main.C: fix cmdline batch handling
10051
10052 2002-08-06  André Pönitz <poenitz@gmx.net>
10053
10054         * lyxrc.C: set default for show_banner to true
10055
10056 2002-08-06  John Levon  <levon@movementarian.org>
10057
10058         * pspell.C: fix a crash, and allow new aspell to work
10059
10060 2002-08-06  John Levon  <levon@movementarian.org>
10061
10062         * lyxfunc.C:
10063         * kbmap.C: small cleanup
10064
10065         * vspace.h:
10066         * vspace.C: add const
10067
10068 2002-08-05  John Levon  <levon@movementarian.org>
10069
10070         * LyXAction.C: back to tabular-insert
10071
10072 2002-08-04  John Levon  <levon@movementarian.org>
10073
10074         * BufferView.h:
10075         * BufferView.C: cosmetic change
10076
10077         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10078
10079         * bufferlist.C:
10080         * buffer.h:
10081         * buffer.C:
10082         * lyxcb.h:
10083         * lyxcb.C:
10084         * lyxserver.C:
10085         * lyxvc.C:
10086         * vc-backend.C:
10087         * BufferView2.C: purge all "Lyx" not "LyX" strings
10088
10089         * lyxcursor.h:
10090         * lyxcursor.C: attempt to add some documentation
10091
10092         * lyxfunc.C:
10093         * commandtags.h:
10094         * LyXAction.C:
10095         * ToolbarDefaults.C:
10096         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10097           merge with LFUN_TABULAR_INSERT
10098
10099         * Makefile.am:
10100         * SpellBase.h:
10101         * ispell.h:
10102         * ispell.C:
10103         * pspell.h:
10104         * pspell.C: split up i/pspell implementations into separate
10105           files, many cleanups
10106
10107         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10108
10109         * text2.C: some cleanup
10110
10111         * lyxfunc.C: don't check for isp_command == "none" any more, it
10112           didn't make any sense
10113
10114 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10115
10116         * counters.[Ch]
10117         * text2.C
10118         * paragraph.[Ch]
10119         * makefile.am: move counters functionality over
10120         from text2.C/paragraph.[Ch] to counters.[Ch], and
10121         make proper C++.
10122 2002-08-02  John Levon  <levon@movementarian.org>
10123
10124         * buffer.C: s/lyxconvert/lyx2lyx/
10125
10126 2002-08-02  Angus Leeming  <leeming@lyx.org>
10127
10128         * lyxlex.C: revert John's change as it breaks reading of the user
10129         preamble.
10130
10131 2002-08-02  Angus Leeming  <leeming@lyx.org>
10132
10133         * importer.C (Import):
10134         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10135         changes due to LyXView::view() now returning a boost::shared_ptr.
10136
10137 2002-08-02  John Levon  <levon@movementarian.org>
10138
10139         * lyxlex.C: small cleanup
10140
10141 2002-08-02  John Levon  <levon@movementarian.org>
10142
10143         * text2.C (status): small cleanup, no logic change
10144
10145 2002-08-01  John Levon  <levon@movementarian.org>
10146
10147         * buffer.h:
10148         * buffer.C (writeFile): don't output alerts, caller
10149           handles this
10150
10151         * bufferlist.C:
10152         * lyx_cb.C: from above
10153
10154         * lyxfunc.C: allow to open non-existent files
10155
10156 2002-07-31  John Levon  <levon@movementarian.org>
10157
10158         * lyxserver.C: don't let incidental errors get
10159           in the way (errno)
10160
10161 2002-07-30  John Levon  <levon@movementarian.org>
10162
10163         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10164
10165 2002-07-30  John Levon  <levon@movementarian.org>
10166
10167         * lyxserver.h:
10168         * lyxserver.C: remove I/O callback too
10169
10170 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10171
10172         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10173         log.
10174
10175 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10176
10177         * many files: strip,frontStrip -> trim,ltrim,rtrim
10178
10179 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10180
10181         * PrinterParams.h: remove extern containsOnly, and include
10182         support/lstrings.h instead.
10183
10184         * LaTeX.C (scanAuxFile): modify because of strip changes
10185         (deplog): ditto
10186         * buffer.C (makeLaTeXFile): ditto
10187         * bufferparams.C (writeFile): ditt
10188         * lyxfont.C (stateText): ditto
10189         * lyxserver.C (read_ready): ditto
10190         * vc-backend.C (scanMaster): ditto
10191
10192         * BufferView_pimpl.h: ws changes
10193
10194         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10195
10196 2002-07-26  André Pönitz <poenitz@gmx.net>
10197
10198         * kb_sequence.C: remove unnedred usings
10199
10200 2002-07-26  Juergen Vigna  <jug@sad.it>
10201
10202         * lyxfind.C (LyXReplace): we have to check better if the returned
10203         text is not of theLockingInset()->getLockingInset().
10204
10205 2002-07-25  Juergen Vigna  <jug@sad.it>
10206
10207         * lyxfind.C (LyXReplace): don't replace if we don't get the
10208         right LyXText.
10209
10210         * undo_funcs.C (createUndo): remove debugging code.
10211
10212 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10213
10214         * buffer.C (parseSingleLyXformat2Token): Use default placement
10215         when reading old floats.
10216
10217         * FloatList.C (FloatList): Change the default placement of figure
10218         and tables to "tbp".
10219
10220 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10221
10222         * MenuBackend.C: using std::max
10223
10224 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10225
10226         * MenuBackend.C (expandToc):
10227         (expandToc2): code moved from xforms menu frontend. It is now
10228         generic and TOCs are transparent to menu frontends.
10229
10230 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10231
10232         * toc.C (getTocList): protect against buf=0
10233
10234         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10235         Menu as first parameter. Now, this calls itself recursively to
10236         expand a whole tree (this will be useful for TOC handling)
10237         (expandFloatInsert): remove 'wide' version of floats
10238
10239         * MenuBackend.h (submenuname): returns the name of the submenu.
10240         (submenu): returns the submenu itself, provided it has been
10241         created by MenuBackend::expand
10242
10243 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10244
10245         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10246         insets which have noFontChange == true. (bug #172)
10247
10248 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10249
10250         * BufferView_pimpl.C: add connection objects and use them...
10251         (Pimpl): here.
10252
10253 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10254
10255         * MenuBackend.C (expandLastfiles):
10256         (expandDocuments):
10257         (expandFormats):
10258         (expandFloatListInsert):
10259         (expandFloatInsert):
10260         (expand): split expand in parts
10261
10262 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10263
10264         * lyx_gui.C: use lyx_gui::exit()
10265
10266 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10267
10268         * LyXAction.C: show the failing pseudo action
10269
10270 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10271
10272         * buffer.C (readFile): Run the lyxconvert script in order to read
10273         old files.
10274
10275 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10276
10277         * LyXAction.C:
10278         * commandtags.h:
10279         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10280
10281 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * LyXAction.C:
10284         * commandtags.h:
10285         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10286
10287 2002-07-22  Herbert Voss  <voss@lyx.org>
10288
10289         * lengthcommon.C:
10290         * lyxlength.[Ch]: add support for the vertical lengths
10291
10292 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10293
10294         * toc.[Ch]: std:: fixes
10295
10296 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * lyxrc.C: do not include lyx_main.h
10299
10300         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10301         for layouts
10302
10303         * lyxrc.C:
10304         * encoding.C:
10305         * bufferlist.C:
10306         * BufferView2.C: include "lyxlex.h"
10307
10308         * tabular.h:
10309         * bufferparams.h: do not #include "lyxlex.h"
10310
10311         * lyxtextclasslist.C (Add): remove method
10312         (classlist): renamed to classlist_
10313
10314         * paragraph_pimpl.C:
10315         * paragraph.C:
10316         * text2.C:
10317         * CutAndPaste.C:
10318         * bufferview_funcs.C:
10319         * bufferlist.C:
10320         * text.C:
10321         * LaTeXFeatures.C:
10322         * buffer.C:
10323         * toc.C (getTocList): use BufferParams::getLyXTextClass
10324
10325         * toc.C (getTocList): use InsetFloat::addToToc
10326
10327         * toc.[Ch]: new files, containing helper functions to handle table
10328         of contents
10329
10330         * lyxfunc.C (dispatch): no need to remove spaces around command
10331         given as a string
10332         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10333         first command of the sequence; it is not very clever, but I do not
10334         have a better idea, actually
10335
10336         * LyXAction.C (LookupFunc): make sure to remove space at the
10337         beginning and end of the command
10338
10339 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * MenuBackend.C (getMenubar): new method: return the menubar of
10342         this menu set
10343         (read): treat differently reading of menu and menubar (in
10344         particular, the menubar has no name now)
10345         (Menu::menubar): remove
10346
10347         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10348         saving is finished
10349
10350 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10351
10352         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10353         a bibitem inset in a RTL paragraph.
10354
10355 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10356
10357         * paragraph_pimpl.C: constify
10358
10359         * BufferView_pimpl.C:
10360         * LaTeX.C:
10361         * lyxfunc.C: fix dispatch in a nicer way
10362
10363 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * lyxfunc.C (dispatch):
10366         * BufferView_pimpl.C:
10367         * BufferView_pimpl.h:
10368         * BufferView.C:
10369         * BufferView.h: rename Dispatch() to dispatch()
10370
10371         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10372
10373         * lyxlayout.C (Read): honor DependsOn tag
10374
10375         * lyxlayout.[Ch] (depends_on): new method
10376
10377         * version.C.in: update lyx_docversion
10378
10379         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10380
10381         * paragraph.C (validate): remove from here...
10382         * paragraph_pimpl.C (validate): ... and move here
10383         (isTextAt): make it const
10384
10385         * buffer.C (getLists): ws cleanup
10386
10387 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10388
10389         * language.C (read): Use iso8859-1 encoding in latex_lang
10390         (this prevents LyX from crashing when using iso10646-1 encoding).
10391
10392 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10393
10394         * text2.C (toggleInset): if cursor is inside an inset, close the
10395         inset and leave cursor _after_ it
10396
10397 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10398
10399         * lyxfunc.C: move minibuffer completion handling out of here
10400
10401 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * BufferView_pimpl.C:
10404         * LaTeX.C: fix dispatch calls
10405
10406 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10407
10408         * text.C (drawChars): Fix Arabic text rendering.
10409
10410 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * LyXAction.C:
10413         * commandtags.h:
10414         * lyxfunc.C: remove message-push/pop
10415
10416         * lyxserver.C:
10417         * lyxfunc.h:
10418         * lyxfunc.C: rationalise some code by removing verboseDispatch
10419           in favour of a bool argument to dispatch()
10420
10421 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10422
10423         * lyx_main.C (init): make sure to read symlinks as absolute paths
10424
10425 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * lyxfunc.h:
10428         * lyxfunc.C: no need for commandshortcut to be a member
10429
10430 2002-07-15  André Pönitz <poenitz@gmx.net>
10431
10432         * converter.C: add support for $$s (scripts from lib/scripts dir)
10433         * lyx_main.C: white space
10434
10435 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * bufferlist.C:
10438         * lyxrc.h:
10439         * lyxrc.C: remove second exit confirmation
10440
10441 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * BufferView.h:
10444         * BufferView.C:
10445         * BufferView2.C:
10446         * BufferView_pimpl.h:
10447         * BufferView_pimpl.C:
10448         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10449
10450 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10451
10452         * MenuBackend.C (expand): add numeric shortcuts to document menu
10453
10454         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10455
10456 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10457
10458         * lyxfont.C (setLyXFamily):
10459         (setLyXSeries):
10460         (setLyXShape):
10461         (setLyXSize):
10462         (setLyXMisc):
10463         (lyxRead):
10464         * debug.C (value):
10465         * buffer.C (asciiParagraph): use ascii_lowercase
10466
10467 2002-07-15  Mike Fabian  <mfabian@suse.de>
10468
10469         * lyxlex_pimpl.C (search_kw):
10470         * lyxlex.C (getLongString):
10471         * converter.h (operator<):
10472         * converter.C (operator<):
10473         * buffer.C (parseSingleLyXformat2Token):
10474         (asciiParagraph):
10475         * ToolbarDefaults.C (read):
10476         * MenuBackend.C (checkShortcuts):
10477         (read):
10478         * LColor.C (getFromGUIName):
10479         (getFromLyXName): use the compare_ascii_no_case instead of
10480         compare_no_case, because in turkish, 'i' is not the lowercase
10481         version of 'I', and thus turkish locale breaks parsing of tags.
10482
10483 2002-07-16  Angus Leeming  <leeming@lyx.org>
10484
10485         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10486         now takes a Buffer const & argument.
10487
10488 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * BufferView.C (resize): check there's a buffer to resize
10491
10492 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * lyxfunc.C: remove dead code
10495
10496         * lyxserver.h:
10497         * lyxserver.C: use lyx_guii::set_read_callback
10498
10499 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10500
10501         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10502         an inset in a RTL paragraph.
10503
10504 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * lyxfunc.C: repaint after a font size update
10507
10508 2002-07-15  André Pönitz <poenitz@gmx.net>
10509
10510         * lyxlength.C: inBP should be able to return negative values
10511
10512 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * lyxfunc.C: use lyx_gui::update_fonts()
10515
10516 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * lyxfunc.C: use lyx_gui::update_color()
10519
10520 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * bufferlist.C:
10523         * lyxfunc.h:
10524         * lyxfunc.C:
10525         * lyxrc.h:
10526         * lyxrc.C: remove file->new asks for name option, and let
10527           buffer-new take an argument
10528
10529 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * BufferView_pimpl.C: remove unneeded extra repaint()
10532
10533 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10534
10535         * LyXAction.C: allow command-sequence with NoBuffer
10536
10537         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10538
10539 2002-07-10  Angus Leeming  <leeming@lyx.org>
10540
10541         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10542
10543 2002-07-09  Angus Leeming  <leeming@lyx.org>
10544
10545         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10546
10547 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * lengthcommon.h: whitespace
10550
10551         * lyxfunc.C: update scrollbar after goto paragraph
10552
10553         * lyxtext.h: factor out page break drawing, and fix it so
10554           page break/added space paints as selected nicely
10555
10556 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * BufferView_pimpl.C: add FIXMEs, clean up a little
10559
10560 2002-07-09  André Pönitz <poenitz@gmx.net>
10561
10562         * lyxfont.[Ch]: support for wasy symbols
10563
10564 2002-07-08  André Pönitz <poenitz@gmx.net>
10565
10566         * BufferView_pimpl.C: apply John's patch for #93.
10567
10568 2002-07-05  Angus Leeming  <leeming@lyx.org>
10569
10570         * BufferView_pimpl.C (buffer): generate previews if desired.
10571
10572         * LColor.h: add "preview" to the color enum.
10573
10574         * LColor.C (LColor): add a corresponding entry to the items array.
10575
10576         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10577         with this buffer.
10578
10579 2002-07-05  Angus Leeming  <leeming@lyx.org>
10580
10581         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10582         The body of the code is now in the method that is passed an ostream &
10583         rather than a file name.
10584         Pass an additional only_preamble parameter, useful for the forthcoming
10585         preview stuff.
10586
10587 2002-07-03  André Pönitz <poenitz@gmx.net>
10588
10589         * lyxfunc.C: simplify getStatus() a bit for math stuff
10590
10591 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10592
10593         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10594
10595 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10596
10597         * text.C (changeRegionCase): do not change case of all the
10598         document when region ends at paragraph end (bug #461)
10599
10600 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10601
10602         * paragraph.C (startTeXParParams):
10603         (endTeXParParams): add \protect when necessary
10604
10605 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10606
10607         * BufferView_pimpl.C (workAreaExpose): remove warning
10608
10609 2002-06-27  Angus Leeming  <leeming@lyx.org>
10610
10611         * Makefile.am: add lyxlayout_ptr_fwd.h.
10612
10613 2002-06-26  André Pönitz <poenitz@gmx.net>
10614
10615         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10616
10617 2002-06-25  Angus Leeming  <leeming@lyx.org>
10618
10619         * lyxfunc.C (dispatch): Comment out the call to
10620         grfx::GCache::changeDisplay. The method no longer exists now that the
10621         pixmap generation part of the graphics loader has been moved into
10622         InsetGraphics.
10623
10624 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10625
10626         * text2.C: layout as layout
10627
10628         * text.C: layout as layout
10629
10630         * tabular.C (OldFormatRead): layout as layout
10631
10632         * paragraph_pimpl.C (TeXDeeper): layout as layout
10633         (realizeFont): layout as layout
10634
10635         * paragraph.C (writeFile): layout as layout
10636         (validate): layout as layout
10637         (getFont): layout as layout
10638         (getLabelFont): layout as layout
10639         (getLayoutFont): layout as layout
10640         (breakParagraph): layout as layout
10641         (stripLeadingSpaces): layout as layout
10642         (getEndLabel): layout as layout
10643         (getMaxDepthAfter): layout as layout
10644         (applyLayout): layout as layout
10645         (TeXOnePar): layout as layout
10646         (simpleTeXOnePar): layout as layout
10647         (TeXEnvironment): layout as layout
10648         (layout): layout as layout
10649         (layout): layout as layout
10650
10651         * lyxtextclass.C (compare_name): new functor to work with
10652         shared_ptr, layout as layout
10653         (Read): layout as layout
10654         (hasLayout): layout as layout
10655         (operator): layout as layout
10656         (delete_layout): layout as layout
10657         (defaultLayout): layout as layout
10658
10659         * lyxlayout_ptr_fwd.h: new file
10660
10661         * lyxlayout.C (Read): layout as layout
10662
10663         * lyx_cb.C (MenuInsertLabel): layout as layout
10664
10665         * bufferlist.C (newFile): layout as layout
10666
10667         * buffer.C (readLyXformat2): layout as layout
10668         (parseSingleLyXformat2Token): layout as layout
10669         (insertStringAsLines): layout as layout
10670         (asciiParagraph): layout as layout
10671         (latexParagraphs): layout as layout
10672         (makeLinuxDocFile): layout as layout
10673         (simpleLinuxDocOnePar): layout as layout
10674         (makeDocBookFile): layout as layout
10675         (simpleDocBookOnePar): layout as layout
10676         (getLists): layout as layout
10677
10678         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10679
10680         * CutAndPaste.C (cutSelection): layout as layout
10681         (pasteSelection): layout as layout
10682         (SwitchLayoutsBetweenClasses): layout as layout
10683
10684         * BufferView_pimpl.C (Dispatch): layout as layout
10685         (smartQuote): layout as layout
10686
10687         * BufferView2.C (unlockInset): layout as layout
10688
10689 2002-06-24  André Pönitz <poenitz@gmx.net>
10690
10691         * lyxfunc.C: fix #487
10692
10693 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * lyxrc.h:
10696         * lyxrc.C:
10697         * lyxfunc.C: remove display_shortcuts, show_banner
10698
10699 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * Buffer_pimpl.C: oops, update on resize
10702
10703 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * buffer.C:
10706         * converter.C:
10707         * exporter.C:
10708         * lyxfunc.C:
10709         * BufferView.h:
10710         * BufferView.C: use repaint()
10711
10712         * BufferView_pimpl.h:
10713         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10714           as it's a clearer description. Remove superfluous
10715           redraws.
10716
10717 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * text.C: fix bug 488. Not ideal, but getting
10720           getWord() to work properly for the insets that
10721           matter is more difficult ...
10722
10723 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * BufferView_pimpl.C:
10726         * LyXAction.C:
10727         * commandtags.h:
10728         * lyxfunc.C: remove the six million index lyxfuncs to just
10729           one, and DTRT (bug 458)
10730
10731 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * BufferView.h:
10734         * BufferView.C:
10735         * BufferView_pimpl.h:
10736         * BufferView_pimpl.C: clean up resize() stuff,
10737           and unnecessary updateScreen()s
10738
10739 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10740
10741         * BufferView.h:
10742         * BufferView.C:
10743         * BufferView_pimpl.h:
10744         * BufferView_pimpl.C:
10745         * lyxfind.h:
10746         * lyxfind.C:
10747         * minibuffer.C: remove focus management of workarea,
10748           not needed. Use screen's greyOut()
10749
10750 2002-06-17  Herbert Voss  <voss@lyx.org>
10751
10752         * converter.C: (convert) do not post a message, when converting
10753         fails, let the calling function decide what to do in this case
10754
10755 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10756
10757         * lyxfunc.C: tidy up a little
10758
10759 2002-06-16    <alstrup@diku.dk>
10760
10761         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10762         Got rid of FORMS_H_LOCATION include. Now we are
10763         GUII.
10764
10765 2002-06-15  LyX Development team  <lyx@rilke>
10766
10767         * buffer.[Ch] (sgmlOpenTag):
10768         (sgmlCloseTag): Added support for avoiding pernicious mixed
10769         content. Return number of lines written.
10770
10771         (makeLinuxDocFile):
10772         (makeDocBookFile): Fixed calls to sgml*Tag.
10773         Simple white space clean.
10774
10775         (simpleDocBookOnePar): Simple white space clean.
10776
10777         * tabular.[Ch] (docBook): Renamed to docbook and got another
10778         argument to related with the pernicious mixed content.
10779
10780         (docbookRow): Fixed calls for docbook inset method.
10781
10782 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10783
10784         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10785         so it's X11 independent.
10786
10787         * kb*.[Ch]: ditto.
10788
10789         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10790
10791 2002-06-15  Lyx Development team  <lyx@electronia>
10792
10793         * intl.h: Renamed getTrans to getTransManager.
10794
10795 2002-06-14  Angus Leeming  <leeming@lyx.org>
10796
10797         * Makefile.am: nuke forgotten stl_string_fwd.h.
10798
10799 2002-06-12  Angus Leeming  <leeming@lyx.org>
10800
10801         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10802
10803 2002-06-13  Angus Leeming  <leeming@lyx.org>
10804
10805         * LaTeX.C:
10806         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10807
10808 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10809
10810         * kbmap.C (getiso): add support for cyrillic and greek
10811
10812 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * BufferView.h:
10815         * BufferView.C:
10816         * BufferView_pimpl.h:
10817         * BufferView_pimpl.C: move bogus scrolling logic
10818           to xforms
10819
10820 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * lyxfunc.C:
10823         * BufferView_pimpl.C: view->resize() change
10824
10825 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * BufferView_pimpl.C: topCursorVisible
10828           prototype change
10829
10830 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * Makefile.am:
10833         * lyx_gui.h:
10834         * lyx_gui.C: move to frontends/
10835
10836         * main.C:
10837         * lyx_main.h:
10838         * lyx_main.C: changes from above
10839
10840 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * intl.C:
10843         * intl.h:
10844         * kbmap.C:
10845         * kbsequence.C:
10846         * lyx_cb.C:
10847         * lyx_main.C: minor tidy
10848
10849 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * BufferView_pimpl.h:
10852         * BufferView_pimpl.C:
10853         * BufferView.h:
10854         * BufferView.C: make painter() const,
10855           remove dead code
10856
10857         * BufferView2.C: use screen() accessor
10858
10859         * lyx_main.h:
10860         * lyx_main.C: some minor cleanup
10861
10862 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10863
10864         * BufferView_pimpl.h:
10865         * BufferView_pimpl.C: remove enter/leaveView,
10866           use workHeight()
10867
10868 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * BufferView.h:
10871         * BufferView.C:
10872         * BufferView2.C:
10873         * BufferView_pimpl.h:
10874         * BufferView_pimpl.C: only construct screen once,
10875           rename
10876
10877         * lyxrc.C: remove pointless comment
10878
10879 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10880
10881         * BufferView.h:
10882         * BufferView.C: remove active() and belowMouse()
10883
10884         * BufferView_pimpl.h:
10885         * BufferView_pimpl.C: use workarea() not workarea_,
10886           and make it use a scoped_ptr instead
10887
10888 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10889
10890         * lyx_gui.C: add debug message on BadWindow
10891
10892 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * sp_spell.C: fdopen is not part of the C++ standard.
10895
10896         * paragraph.C (InsetIterator): use >= instead of ==
10897
10898 2002-06-07  Angus Leeming  <leeming@lyx.org>
10899
10900         Fixes needed to compile with Compaq cxx 6.5.
10901         * BufferView_pimpl.C:
10902         * DepTable.C:
10903         * buffer.C:
10904         * converter.C:
10905         * encoding.C:
10906         * lyx_gui.C:
10907         * lyx_main.C:
10908         * lyxtextclasslist.C:
10909         * minibuffer.C:
10910         * sp_spell.C:
10911         * tabular_funcs.C:
10912         * vc-backend.C:
10913         all c-library variables have been moved into namespace std. Wrap
10914         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10915
10916         * lyxlength.C:
10917         * tabular-old.C:
10918         * tabular.C:
10919         Add a using std::abs declaration.
10920
10921         * kbmap.h (modifier_pair):
10922         * paragraph.h (InsetTable, InsetList):
10923         * lyxfont.h (FontBits):
10924         type definition made public.
10925
10926         * bufferlist.C (emergencyWriteAll): the compiler complains that
10927         there is more than one possible lyx::class_fun template to choose from.
10928         I re-named the void specialisation as lyx::void_class_fun.
10929
10930         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10931
10932         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10933         the compiler is is unable to find tostr in write_attribute.
10934
10935 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10936
10937         * buffer.C (sgmlError): hide #warning
10938
10939 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * xtl/*: get rid of xtl, which is not in use anyway
10942
10943         * LyXAction.C (init):
10944         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10945         were unimplemented xtl experimentation
10946
10947 2002-06-04  André Pönitz <poenitz@gmx.net>
10948
10949         * lyxfunc.C: disable array operation on simple formulae
10950
10951 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10952
10953         * converter.C: constify a bit
10954
10955 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * lyx_gui.C: check xforms version correctly
10958
10959 2002-04-30  Herbert Voss  <voss@lyx.org>
10960
10961         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10962         "keep" option
10963
10964 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10965
10966         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10967           attempt to register it with a VCS)
10968
10969 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10970
10971         * lyx_main.C (init): honor variables LYX_DIR_13x and
10972         LYX_USERDIR_13x
10973
10974 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10975
10976         * buffer.h:
10977         * buffer.C:
10978         * lyx_main.C: fix a crash on bad command line,
10979           and give a useful exit status on error
10980
10981         * lyxfunc.C (doImport): allow -i lyx to work
10982
10983 2002-03-30  André Pönitz <poenitz@gmx.net>
10984
10985         * lyxfunc.C: mathed font changes
10986
10987 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10988
10989         * LaTeX.C:
10990         * importer.h:
10991         * importer.C:
10992         * lyx_sty.h:
10993         * lyx_sty.C:
10994         * lyxlex.C:
10995         * lyxrow.h:
10996         * lyxtext.h:
10997         * paragraph.h:
10998         * paragraph.C:
10999         * texrow.h:
11000         * texrow.C:
11001         * text.C:
11002         * trans_mgr.h: srcdocs, and some minor cleanups
11003
11004 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11005
11006         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11007         call getFont all the time)
11008
11009 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * switch from SigC signals to boost::signals
11012
11013 2002-05-29  André Pönitz <poenitz@gmx.net>
11014
11015         * paragraph_pimpl.C (getChar): don't call size() too often...
11016
11017 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11018
11019         * paragraph_pimpl.C (insertChar): do not try to update tables when
11020         appending (pos == size())
11021
11022         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11023         in order to reduce drastically the number of comparisons needed to
11024         parse a large document
11025
11026 2002-05-29  André Pönitz <poenitz@gmx.net>
11027
11028         * text.C:
11029         * text2.C:
11030         * lyxtextclass.C:
11031         * sp_pspell.h:
11032         * textclasslist.[Ch]:
11033         * sp_ispell.h: whitespace change
11034
11035 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11036
11037         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11038         lyxaction directly now.
11039
11040 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11041
11042         * trans.C:
11043         * lyxfont.C:
11044         * lyxvc.C: remove unused headers
11045
11046 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * Makefile.am:
11049         * buffer.h:
11050         * undostack.h:
11051         * undostack.C:
11052         * undo_funcs.h:
11053         * undo_funcs.C: some cleanups. Use shared_ptr
11054           and a template for the undo stacks.
11055
11056 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * BufferView_pimpl.h:
11059         * BufferView_pimpl.C:
11060         * kbmap.h:
11061         * kbmap.C:
11062         * kbsequence.h:
11063         * kbsequence.C:
11064         * lyxfunc.h:
11065         * lyxfunc.C:
11066         * text2.C: use key_state/mouse_state
11067
11068 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11069
11070         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11071         and LSubstring
11072
11073         * chset.C: change include order
11074         (loadFile): use boost regex and get rid of LRegex and LSubstring
11075
11076         * Makefile.am (BOOST_LIBS): new variable
11077         (lyx_LDADD): use it
11078
11079         * LaTeX.C: change include order.
11080         (scanAuxFile): use boost regex and get rid of LRegex and
11081         LSubstring
11082         (deplog): ditto
11083
11084 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * ColorHandler.h:
11087         * ColorHandler.C:
11088         * FontInfo.h:
11089         * FontInfo.C: moved to frontends/xforms/
11090
11091         * FontLoader.h:
11092         * FontLoader.C: moved into frontends for GUIIzation
11093
11094         * Makefile.am:
11095         * lyx_gui.C:
11096         * lyxfont.C:
11097         * lyxfunc.C: changes from above
11098
11099 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11100
11101         * LColor.C: remove spurious X include
11102
11103         * BufferView_pimpl.C:
11104         * Makefile.am:
11105         * font.h:
11106         * font.C:
11107         * text.C:
11108         * text2.C: move font metrics to frontends/
11109
11110 2002-05-24  Juergen Vigna  <jug@sad.it>
11111
11112         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11113         setting the undo_cursor.
11114
11115         * ParagraphParameters.h: include local includes first.
11116
11117 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * BufferView_pimpl.C:
11120         * BufferView_pimpl.h:
11121         * Makefile.am:
11122         * WorkArea.h:
11123         * WorkArea.C:
11124         * screen.C: move WorkArea into frontends/
11125
11126         * lyxscreen.h:
11127         * screen.C:
11128         * text.C:
11129         * BufferView.C:
11130         * BufferView2.C: move LyXScreen into frontends/
11131
11132         * lyxlookup.h:
11133         * lyxlookup.C:
11134         * lyx_gui.C: move lyxlookup into frontends/xforms/
11135
11136 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * BufferView2.C:
11139         * BufferView_pimpl.C:
11140         * FontLoader.C:
11141         * LyXView.h:
11142         * LyXView.C:
11143         * Makefile.am:
11144         * WorkArea.C:
11145         * XFormsView.h:
11146         * XFormsView.C:
11147         * buffer.C:
11148         * bufferlist.C:
11149         * bufferview_funcs.C:
11150         * converter.C:
11151         * importer.C:
11152         * lyx_cb.C:
11153         * lyx_gui.C:
11154         * lyx_main.C:
11155         * lyx_find.C:
11156         * lyxfunc.C:
11157         * lyxvc.C:
11158         * minibuffer.C:
11159         * text.C:
11160         * text2.C:
11161         * trans.C:
11162         * vc-backend.C: move LyX/XFormsView into frontends/
11163
11164 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * Makefile.am:
11167         * PainterBase.C:
11168         * PainterBase.h:
11169         * Painter.C:
11170         * Painter.h:
11171         * WorkArea.C:
11172         * WorkArea.h:
11173         * screen.C:
11174         * tabular.C:
11175         * text.C:
11176         * text2.C: move Painter to frontends/
11177
11178 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11179
11180         * buffer.C: comment out some some code that depend upon lyx_format
11181         < 220
11182
11183         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11184         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11185
11186         * buffer.h (NO_COMPABILITY): turn off compability
11187
11188         * ColorHandler.C: include scoped_array.hpp
11189
11190         * font.C: Use more specific smart_ptr header.
11191         * Painter.C: ditto
11192         * gettext.C: ditto
11193         * ShareContainer.h: ditto
11194         * lyx_main.h: ditto
11195         * kbmap.h: ditto
11196         * FontInfo.h: ditto
11197         * BufferView_pimpl.h: ditto
11198         * ColorHandler.h: ditto
11199
11200         * kbmap.C (defkey): change call to shared_ptr::reset
11201
11202 2002-05-21  Juergen Vigna  <jug@sad.it>
11203
11204         * buffer.C (insertErtContents): fix to insert ert asis if it is
11205         non empty. Skip it completely if it contains only whitespaces.
11206
11207 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * BufferView_pimpl.C:
11210         * BufferView2.C: clear selection on paste (bug 393)
11211
11212 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * DepTable.C: include ctime
11215
11216 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11217
11218         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11219
11220 2002-05-14  Juergen Vigna  <jug@sad.it>
11221
11222         * text.C (breakParagraph): fixed function to honor the keepempty
11223         layout in the right maner and also to permit the right breaking
11224         algorithm on empty or non empyt keepempty paragraphs.
11225
11226         * paragraph.C (breakParagraph): we have to check also if the par
11227         is really empty (!size()) for isempty otherwise we do the wrong
11228         paragraph break.
11229
11230 2002-05-10  Juergen Vigna  <jug@sad.it>
11231
11232         * buffer.[Ch] : The following are only changes to the ert
11233         compatibility read reading old LaTeX layout and font stuff and
11234         convert it to ERTInsets.
11235
11236         * buffer.h: added isErtInset().
11237
11238         * buffer.C (struct ErtComp): add a fromlayout bool to check
11239         if we're inside a LaTeX layout.
11240         (isErtInset): new helper function.
11241         (insertErtContents): look for other ert insets before this one
11242         and insert the contents there, so that we don't have subsequent
11243         ERT insets with nothing between them. This way we create only one
11244         inset with multiple paragraphs. Also check if we don't insert only
11245         spaces ' ' as they are ignored anyway afterwards in the .tex file
11246         so if we have only spaces we will ignore this latex part in the
11247         new file.
11248         (parseSingleLyXformat2Token \\layout): better compatibility when
11249         reading layout-latex stuff.
11250         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11251         language tag.
11252         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11253         stuff after reading the inset only get the information back from
11254         the stack.
11255
11256 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11257
11258         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11259
11260         * LaTeXFeatures.C (getBabelOptions): New method.
11261
11262 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * BufferView_pimpl.C (Dispatch): work around missing argument for
11265         'layout'
11266
11267 2002-05-08  Juergen Vigna  <jug@sad.it>
11268
11269         * text.C (leftMargin): handle paragraph leftindent.
11270
11271         * paragraph.C (writeFile): write the new \\leftindent tag.
11272         (validate): handle leftindent code.
11273         (TeXEnvironment): handle paragraphleftindent code again.
11274
11275         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11276
11277         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11278         for paragrap_extra indent code and new token \\leftindent.
11279         (latexParagraphs): handle the leftindent as environment.
11280
11281         * ParameterStruct.h: added leftindent support.
11282
11283         * ParagraphParameters.C (leftIndent): added support functions for
11284         the paragraph left indent.
11285
11286         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11287         more appropriate.
11288
11289 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11290
11291         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11292         inside insetERT.
11293
11294         * text.C (computeBidiTables): No bidi in insetERT.
11295
11296         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11297         in RTL documents.
11298
11299 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11300
11301         * version.C.in: pre 5
11302
11303 2002-05-02  José Matos  <jamatos@fep.up.pt>
11304         * buffer.C (makeDocBookFile): white space changes, add newline to
11305         command styles.
11306         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11307
11308         * tabular.C (docBook): fix typo.
11309
11310 2002-05-03  Juergen Vigna  <jug@sad.it>
11311
11312         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11313         change in LyXText as we can not be sure it was not freed.
11314         (drawOneRow): remove unused code.
11315
11316         * text.C (drawInset): redo the calculation of the need_break_row as
11317         it could have a row which was already freed.
11318         (draw): look at the return value of drawInset and return false if
11319         it also returned false.
11320         (paintRowText): look at the return value of draw and return false if
11321         it also returned false.
11322
11323         * lyxtext.h: added bool return type to drawInset() and draw() so that
11324         if we have a change in the row so that the rowbreak has to be redone
11325         we abort drawing as it will be called again.
11326
11327 2002-05-02  Juergen Vigna  <jug@sad.it>
11328
11329         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11330         a change in the maintext also if we're inside an inset.
11331         (Dispatch): set the cursor again after a break line and after the
11332         screen has been updated as it could be we're in a different row.
11333
11334         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11335         to set the cursor behind the pargraph with > size().
11336         (setCursor): check also for the same paragraph when checking where
11337         to put the cursor if we have a NFR inset.
11338
11339         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11340         parts of layout read further up as it still was in the wrong
11341         position.
11342
11343 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * screen.C (drawFromTo): change sine fullRebreak always return
11346         true.
11347
11348         * buffer.C (parseSingleLyXformat2Token): reindent some
11349
11350         * BufferView_pimpl.C (update): change since fullRebreak always
11351         return true.
11352         (Dispatch): git rid of the last hardcoded "Standard"s.
11353
11354 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11355
11356         * text2.[Ch] (fullRebreak): make it return void now that we always
11357         returned true.
11358
11359 2002-04-30  Juergen Vigna  <jug@sad.it>
11360
11361         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11362         ert compatibility check for "latex" layout.
11363
11364 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11365
11366         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11367         minipages: use col% instead of p%, and also use the current font.
11368         (makeLaTeXFile): Fix use babel condition.
11369         (parseSingleLyXformat2Token): Correct font when reading old floats.
11370
11371 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11372
11373         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11374         inserting list of floats.
11375
11376 2002-04-25  Herbert Voss  <voss@lyx.org>
11377
11378         * MenuBackend.C (expand): don't add the graphics extensions to the
11379         export menu
11380
11381 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11384         non-existing layout, do not complain if it was the default layout
11385         of the original class (bug #342)
11386
11387 2002-04-24  Juergen Vigna  <jug@sad.it>
11388
11389         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11390         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11391
11392 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11393
11394         * buffer.C (getBibkeyList): If using \bibliography, return the
11395         option field with the reference itself. Enables us to provide natbib
11396         support when using \bibliography.
11397
11398 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11399
11400         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11401
11402         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11403         natbib is provided by the LaTeX class.
11404
11405 2002-04-23  Juergen Vigna  <jug@sad.it>
11406
11407         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11408         Wakeup functions.
11409
11410         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11411
11412 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11413
11414         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11415
11416         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11417         ensuremath around textordmasculine, textordfeminine and
11418         textdegree.
11419
11420 2002-04-19  Juergen Vigna  <jug@sad.it>
11421
11422         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11423         reinitializing the buffer otherwise row-dimensions may be wrong.
11424         (update): reset also the selection cursors if they do exits otherwise
11425         their x/y positions may be wrong.
11426
11427         * text2.C (cursorDown): don't enter the inset if we came from a row
11428         above and are one row over the inset.
11429
11430         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11431         really leaving an inset.
11432
11433 2002-04-18  Juergen Vigna  <jug@sad.it>
11434
11435         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11436         of the selected paragraph does not have the selected layout also if
11437         the last one had!
11438
11439         * text2.C (setLayout): fixed bug which did not change last selected
11440         paragraph.
11441
11442         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11443         changed the read and substituted \\end_float with \\end_inset!
11444
11445         * BufferView_pimpl.C (cursorPrevious):
11446         (cursorNext): fixed to make it work with rows heigher than the work
11447         area without moving the cursor only the draw of the row.
11448         (workAreaMotionNotify): fix jumping over high rows.
11449
11450 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11453         Ressler.
11454
11455 2002-04-16  Juergen Vigna  <jug@sad.it>
11456
11457         * text2.C (setCursor): set also the irow().
11458         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11459         (cursorUp):
11460         (cursorDown): support for locking an inset if the x_fix value goes
11461         inside it. That way I can transverse insets too with cursor up/down.
11462
11463         * lyxrow.h: added irow helper function same as other (i) functions.
11464
11465         * BufferView_pimpl.C (cursorPrevious):
11466         (cursorNext): fixed for insets!
11467
11468 2002-04-15  Juergen Vigna  <jug@sad.it>
11469
11470         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11471         position otherwise it is wrong in some cases.
11472
11473         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11474         inside the inset before the call.
11475
11476 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11477
11478         * buffer.[Ch] (getBibkeyList): make it const.
11479
11480 2002-04-12  Juergen Vigna  <jug@sad.it>
11481
11482         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11483
11484         * text2.C (getCursorX): new helper function
11485         (setCursor): compute also ix_
11486         (setCursorFromCoordinates): set also ix.
11487
11488         * lyxcursor.h: added ix_ and helper functions.
11489
11490         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11491
11492         * buffer.C (insertStringAsLines): dont break paragraph if the this
11493         paragraph is inside an inset which does not permit it!
11494
11495         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11496         also with no chars on this paragraph.
11497         (paintRowText): only paint stuff if it's inside the workarea!
11498
11499         * paragraph.C (breakParagraph): honor keepempty flag and break the
11500         paragraph always below not above.
11501
11502         * BufferView2.C (unlockInset): update the paragraph layout on inset
11503         unlock as we changed paragraph in such a case.
11504
11505         * lyxfind.C (LyXFind): clear the former selection if not found!
11506
11507         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11508         again called in insertChar().
11509
11510         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11511         an inset which uses the whole row!
11512         (rightMargin): ditto.
11513         (insertChar): force a rebreak if we inserted an inset!
11514
11515 2002-03-28  Herbert Voss  <voss@lyx.org>
11516
11517         * lyxlength.[Ch]: add inBP() to get the right PS-point
11518         units (BigPoint). With inPixels we have rounding errors
11519
11520 2002-04-11  Juergen Vigna  <jug@sad.it>
11521
11522         * text2.C (setCursorFromCoordinates): set iy to the right value.
11523         (setCursor): add check if row->previous exists!
11524
11525         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11526         an old float_type as this was the case in the old code!
11527
11528         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11529
11530         * BufferView2.C (showLockedInsetCursor): use iy
11531         (fitLockedInsetCursor): ditto
11532
11533         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11534         locked insets as there we have the right value now.
11535
11536         * lyxcursor.C: added iy_ variable and iy functions to set to the
11537         baseline of cursor-y of the locked inset.
11538
11539         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11540         (setCursor): fixed for insets which need a full row.
11541
11542         * text.C (rowLastPrintable): don't ignore the last space when before
11543         an inset which needs a full row.
11544         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11545         as last character of a row when before a inset which needs a full row.
11546
11547 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11548
11549         * version.C.in: update date
11550
11551         * text2.C (fullRebreak): try to always return true and see what
11552         happens...
11553
11554 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11555
11556         * MenuBackend.C (expand): use Floating::listName
11557
11558         * FloatList.C (FloatList): add listName argument to the built-in
11559         floats
11560
11561         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11562         text associated with the float.
11563
11564 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11565
11566         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11567
11568 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11569
11570         * ShareContainer.h: add a couple of missing typenames.
11571
11572 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11573
11574         * lyxrc.C (getDescription): use _() correctly rather than N_().
11575
11576 2002-03-28  Herbert Voss  <voss@lyx.org>
11577
11578         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11579         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11580
11581 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11582
11583         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11584         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11585
11586 2002-03-29  Juergen Vigna  <jug@sad.it>
11587
11588         * lyxfunc.C (dispatch): add a missing fitCursor call.
11589
11590         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11591         it was scrolled by a cursor move, so return the bool status.
11592
11593         * BufferView.C (fitCursor): return the bool flag also to the outside
11594         world as this is needed.
11595
11596         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11597
11598         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11599         call the edit() as it is not needed (and wrong) IMO.
11600         (workAreaButtonPress): set the screen_first variable before evt.
11601         unlock the inset as this may change screen_first and then we have
11602         a wrong y position for the click!
11603
11604 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11605
11606         * MenuBackend.C (expand): another translation that I missed
11607
11608 2002-03-28  Juergen Vigna  <jug@sad.it>
11609
11610         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11611
11612         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11613
11614 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11617
11618         * MenuBackend.C (expand): fix export/view/update when there is no
11619         document open.
11620
11621 2002-03-27  Herbert Voss  <voss@lyx.org>
11622
11623         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11624         and text%
11625
11626 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11627
11628         * bufferview_funcs.C (currentState): only show paragraph number
11629         for is DEVEL_VERSION is set.
11630
11631         * lyxfunc.C (dispatch): put warning in INFO channel
11632
11633         * MenuBackend.C (expand): translate the name of floats
11634
11635         * FloatList.C (FloatList): mark the float names for translation
11636
11637         * converter.C (convert): use LibScriptSearch
11638
11639 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11640
11641         * MenuBackend.C (defaults): fix default menu (we might as well get
11642         rid of it...)
11643
11644 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11647         directory.
11648
11649 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11650
11651         * lyxvc.C: reorder includes.
11652
11653 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11656           properly
11657
11658 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11659
11660         * CutAndPaste.C: change layouts earlier on paste
11661           to avoid crashing when calling getFont()
11662
11663 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11664
11665         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11666         irritating #error.
11667
11668 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * WorkArea.C: remove 'Pending' debug message.
11671
11672         * most files: ws cleanup
11673
11674         * buffer.[Ch]: ws changes
11675
11676         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11677
11678 2002-03-21  Juergen Vigna  <jug@sad.it>
11679
11680         * tabular.C (SetMultiColumn): collapse also the contents of the
11681         cells and set the last border right. Added a Buffer const * param.
11682
11683 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11686         linking or not.
11687
11688 2002-03-19  Juergen Vigna  <jug@sad.it>
11689
11690         * text2.C (clearSelection): reset also xsel_cache.
11691
11692         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11693         where it needs to be called (John tells us to do so too :)
11694         (selectionLost): reset sel_cache.
11695
11696         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11697
11698 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * text2.C (setCursorIntern): put debuging code in INSETS channel
11701
11702 2002-03-19  André Pönitz <poenitz@gmx.net>
11703
11704         * lyxfunc.C: tiny whitespace change
11705
11706 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11707
11708         * ToolbarDefaults.C (init):
11709         * LyXAction.C (init):
11710         * commandtags.h:
11711         * BufferView_pimpl.C (Dispatch):
11712         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11713
11714 2002-03-19  Allan Rae  <rae@lyx.org>
11715
11716         * exporter.C (Export): removeAutoInsets before doing anything else.
11717         While I've just introduced a dependency on BufferView this really is
11718         the best place to clean the buffer otherwise you need to cleanup in
11719         a dozen places before calling export or cleanup in a dozen functions
11720         that export calls.
11721
11722         * converter.C (runLaTeX):
11723         (scanLog): Better handling of removeAutoInsets and screen updates.
11724
11725         * lyxfunc.C (dispatch): small whitespace changes
11726
11727 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11728
11729         * WorkArea.C (C_WorkAreaEvent): return a value.
11730         (event_cb): return 1 if we handled the event, 0 otherwise.
11731
11732         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11733
11734 2002-03-18  Juergen Vigna  <jug@sad.it>
11735
11736         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11737         (GetAdditionalWidth): ditto.
11738         (RightLine): ditto.
11739         (LeftLine): ditto.
11740
11741         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11742         inset if we're there actually (probably not used right now but this
11743         is the direction to go for unifying code).
11744         (paste): disable code to clear the selection.
11745
11746         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11747         inside an InsetText and move the check further up as it is in the
11748         wrong place.
11749
11750         * text2.C (pasteSelection): set a selection over the pasted text.
11751
11752 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11753
11754         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11755         and libgraphics to build on Cygwin.
11756
11757 2002-03-15  Juergen Vigna  <jug@sad.it>
11758
11759         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11760         inserting an Inset into the paragraph. I know this is not the best
11761         fix but we already use current_view in CutAndPaste so we will remove
11762         all of it's using at the same time.
11763
11764         * buffer.C (sgmlError): deactivated function till it is rewritten in
11765         the right mode, now it can create problems.
11766
11767         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11768         before accessing it.
11769
11770 2002-03-14  Juergen Vigna  <jug@sad.it>
11771
11772         * undo_funcs.C (textHandleUndo): do the right thing when updating
11773         the inset after the undo/redo.
11774
11775         * text2.C (setCursor): just some testcode for #44 not ready yet.
11776
11777         * undo_funcs.C (textHandleUndo): set the next() and previous()
11778         pointers of the paragraph to 0 before deleting otherwise we have
11779         problems with the Paragraph::[destructor].
11780
11781         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11782         on a paragraph insertion.
11783
11784 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * buffer.C (asciiParagraph): use += operator for char append to
11787         string.
11788
11789         * paragraph.C (getFontSettings): compare >= not just >
11790         (highestFontInRange): ditto
11791         (setFont): ditto
11792
11793 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * paragraph.C: change several algorithm to be more appripriate for
11796         the problem domain. This is lookip in FontList and in the InsetList.
11797
11798 2002-03-13  André Pönitz <poenitz@gmx.net>
11799
11800         * commandtags.h:
11801         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11802
11803 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * commandtags.h:
11806         * LyXAction.C:
11807         * lyxfunc.C:
11808         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11809
11810 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * Painter.C (display): anon helper function, adjust code for this
11813         change.
11814         (pixmap): remove function.
11815
11816         * Painter.h: remove private display variable.
11817
11818         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11819
11820 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11821
11822         * WorkArea.[Ch]: remove figinset_canvas cruft.
11823
11824 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * lyxtextclass.C (operator): add one item cache optimization.
11827
11828         * bufferlist.h: doxy changes
11829
11830         * bufferlist.C: ws changes
11831
11832         * DepTable.[Ch] (ext_exist): place const in the right spot.
11833
11834         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11835         call resizeInsets.
11836         (workAreaExpose): call resizeInsets when the with BufferView changes.
11837         (Dispatch): adjust for protectedBlank removal
11838         (specialChar): call updateInset if the insert went ok.
11839
11840         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11841         specialChar instead.
11842
11843         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11844
11845         * BufferView.h: doxy change
11846
11847         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11848
11849         * lyxtextclass.C (operator[]): remove non-const version
11850         (defaultLayout): remove non-const version
11851
11852 2002-03-12  Juergen Vigna  <jug@sad.it>
11853
11854         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11855         did resize the LyXText too.
11856
11857         * buffer.C (readLyXformat2): set layout information on newly allocated
11858         paragraphs.
11859
11860         * tabular.C (OldFormatRead): set layout information on the paragraph.
11861
11862 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11863
11864         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11865
11866 2002-03-11  Juergen Vigna  <jug@sad.it>
11867
11868         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11869         plainly wrong.
11870         (resizeCurrentBuffer): force also the insets to resize themselfes.
11871         (moveCursorUpdate): fixed up for InsetText.
11872
11873 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * commandtags.h:
11876         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11877         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11878         value of Dialogs::tooltipsEnabled().
11879         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11880
11881 2002-03-08  Juergen Vigna  <jug@sad.it>
11882
11883         * BufferView_pimpl.C (updateInset): update inset inside inset also
11884         if it isn't inside theLockingInset().
11885
11886 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11887
11888         * buffer.C (asciiParagraph): redo some of the word and line length
11889         handling.
11890         (getLists): look for Caption instead of caption.
11891
11892 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * buffer.C (Buffer): initialize niceFile to true
11895         (makeLaTeXFile):
11896         (makeLinuxDocFile):
11897         (makeDocBookFile): make sure niceFile is true on exit
11898
11899 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11900
11901         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11902
11903 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11904
11905         * LyXSendto.C: remove.
11906         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11907         * lyx_gui.C: remove now-redundant comment.
11908         * ColorHandler.h: remove forward declaration of class WorkArea.
11909         * lyxfunc.C: remove #include "WorkArea.h".
11910
11911 2002-03-07  Juergen Vigna  <jug@sad.it>
11912
11913         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11914         got moved away with the DEPM and also set the inset_owner always
11915         right which before could have been omitted.
11916
11917 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11920         wanted layout is not found.
11921
11922 2002-03-07  Juergen Vigna  <jug@sad.it>
11923
11924         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11925
11926 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * paragraph.C (breakParagraph): use default layout not layout of
11929         prev paragraph.
11930         (Paragraph): clear ParagraphParameters.
11931
11932 2002-03-06  Juergen Vigna  <jug@sad.it>
11933
11934         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11935         otherwise it would not be a valid lenght. Fixed a special case in
11936         the minipage compatibility read where we end the document with a
11937         minipage.
11938
11939         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11940         was set as it could be 0 for InsetTexts first entry.
11941
11942 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11943
11944         * paragraph.C (writeFile): if layout is empty write out
11945         defaultLayoutName().
11946
11947         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11948         file without named layout we set layout to defaultLayoutName().
11949
11950 2002-03-06  Juergen Vigna  <jug@sad.it>
11951
11952         * CutAndPaste.C (copySelection): set layout for new paragraph.
11953
11954         * text.C (prepareToPrint): leave ERT inset left aligned
11955         (leftMargin): don't indent paragraphs inside ERT insets
11956
11957 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11958
11959         * paragraph.C (breakParagraph): dont call clear do the work manually
11960
11961         * paragraph.[Ch] (clear): remove function
11962
11963 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11964
11965         * paragraph.C (Paragraph): dont call clear, the work has already
11966         been done.
11967
11968         * lyxtextclass.C (operator): assert if n is empty
11969
11970         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11971         work manually instead.
11972
11973 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * BufferView_pimpl.C: protect selectionLost against text == 0
11976
11977 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * text.C (breakParagraph): fix a setting layout to '0' problem.
11980
11981 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11982
11983         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11984         final location of file, for the included files, and graphics.
11985
11986 2002-03-05  Juergen Vigna  <jug@sad.it>
11987
11988         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11989
11990 2002-03-04  Juergen Vigna  <jug@sad.it>
11991
11992         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11993
11994         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11995         last column of multicolumn cells.
11996         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11997
11998 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11999
12000         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12001         file if it doesn't go to a temporary file.
12002
12003         * buffer.C (sgmlOpenTag):
12004         (sgmlCloseTag):  remove extra newline insertion.
12005
12006 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12007
12008         * text.C (getRowNearY): comment out debug msg
12009
12010 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * text2.C: first -> first_y
12013
12014         * text.C (getRowNearY): add some attemts at a possible
12015         optimization, not working.
12016
12017         * tabular.[Ch]: add BufferParams to several function so that newly
12018         created paragraph can be initialized to he default layotu for the
12019         buffers textclass.
12020
12021         * tabular-old.C (ReadOld): add buf->params to call of Init
12022
12023         * screen.C: rename text->first to text->first_y
12024
12025         * paragraph.C (breakParagraph): always set layout in the broken
12026         paragraph
12027
12028         * lyxtextclass.C (Read): remove lowercase
12029         (hasLayout): ditto
12030         (operator): ditto
12031         (delete_layout): ditto
12032
12033         * lyxtext.h: rename first -> first_y
12034
12035         * lyxlayout.C (Read): remove lowercase
12036         (name): ditto
12037         (setName): ditto
12038         (obsoleted_by): ditto
12039
12040         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12041
12042         * buffer.C (insertErtContents): add params are to InsetERT
12043         (parseSingleLyXformat2Token): add code to check if a paragraphs
12044         layout really exist.
12045         (parseSingleLyXformat2Token): add params to several inset
12046         constructors
12047         (asciiParagraph): remove lowercase, do the layout comparisons with
12048         no_case
12049
12050         * BufferView_pimpl.C (cursorNext): first -> first_y
12051         (resizeCurrentBuffer): first -> first_y
12052         (updateScrollbar): first -> first_y
12053         (scrollCB): first -> first_y
12054         (workAreaMotionNotify): first -> first_y
12055         (workAreaButtonPress): first -> first_y
12056         (checkInsetHit): first -> first_y
12057         (cursorPrevious): first -> first_y
12058         (cursorNext): first -> first_y
12059         (Dispatch): add buffer_->params to severl inset contructors
12060
12061 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12062
12063         * lyxlayout.C (Read): remove some debug info that I forgot.
12064
12065         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12066         clean up the code slightly.
12067         (makeLinuxDocFile): ditto
12068         (makeDocBookFile): ditto
12069
12070         * text2.C: layout as string
12071
12072         * text.C: layout as string
12073
12074         * paragraph_pimpl.C: layout as string
12075
12076         * paragraph.[Ch]: layout as string
12077
12078         * lyxtextclasslist.[Ch]: layout as string
12079
12080         * lyxtextclass.[Ch]: layout as string
12081
12082         * lyxtext.h: layout as string
12083
12084         * lyxlayout.[Ch]: layout as string
12085
12086         * lyx_cb.C: layout as string
12087
12088         * bufferview_funcs.C: layout as string
12089
12090         * bufferparams.C: layout as string
12091
12092         * buffer.C: layout as string
12093
12094         * LyXView.[Ch]: layout as string
12095
12096         * LaTeXFeatures.[Ch]: layout as string
12097
12098         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12099
12100         * BufferView_pimpl.C: change current_layout to string, remove
12101         lyx::layout_type.
12102         (Dispatch):
12103         (smartQuote):
12104         (insertInset):
12105         (workAreaButtonRelease): layout as string
12106
12107         * BufferView2.C (unlockInset): adjust
12108
12109         * vspace.C (asLatexCommand): use an explict temp variable.
12110
12111 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * Makefile.am: use FRONTEND_*
12114
12115 2002-03-01  Juergen Vigna  <jug@sad.it>
12116
12117         * tabular.C (SetWidthOfMulticolCell): changed to something better
12118         I hope but still work in progress.
12119         (recalculateMulticolumnsOfColumn): renamed function from
12120         recalculateMulticolCells as it is more appropriate now.
12121         (SetWidthOfCell): calculate multicols better.
12122
12123 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12124
12125         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12126
12127         * lyxfunc.C (processKeySym): print sequence also if it is
12128         `deleted' (complete)
12129
12130         * kbsequence.C (print): print sequence even if it is deleted
12131         (complete would be a better word, actually).
12132
12133         * lyxfunc.C (dispatch): print complete options after a prefix key
12134
12135         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12136
12137 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12138
12139         * text2.C (setCharFont): eliminate setCharFont code duplication.
12140
12141 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12142
12143         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12144         LFUN_TABULAR_FEATURE (bug #177)
12145
12146 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12147
12148         * Makefile.am: remove figure.h
12149
12150 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12151
12152         * Bufferview_pimpl.C:
12153         * CutAndPasteC:
12154         * LaTeX.C:
12155         * LyXSendto.C:
12156         * buffer.C:
12157         * bufferlist.C:
12158         * converter.C:
12159         * language.C:
12160         * lyxfunc.C:
12161         * lyxvc.C:
12162         * paragraph.C:
12163         * text.C:
12164         * text2.C: remove #include "lyx_gui_misc.h".
12165
12166         * LaTeX.C: added #include <cstdio>
12167
12168 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12169
12170         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12171         that the paragraph following this one can have.
12172
12173         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12174
12175         * vspace.C (asLatexCommand): fix bogus gcc warning
12176
12177         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12178
12179 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12180
12181         * text2.C (setLayout): get rid of redundant code
12182
12183 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12184
12185         * text2.C (incDepth): make sure depth cannot be increased beyond
12186         reasonable values.
12187
12188 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12189
12190         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12191         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12192
12193         * PainterBase.h (image):
12194         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12195         a LyXImage const *.
12196
12197 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * BufferView.C:
12200         * BufferView.h:
12201         * BufferView_pimpl.C:
12202         * BufferView_pimpl.h:
12203         * LaTeXFeatures.C:
12204         * LyXAction.C:
12205         * LyXView.C:
12206         * Makefile.am:
12207         * UpdateList.h:
12208         * UpdateList.C:
12209         * buffer.C:
12210         * figure.h:
12211         * figureForm.C:
12212         * figureForm.h:
12213         * figure_form.C:
12214         * figure_form.h:
12215         * lyx_cb.C:
12216         * lyx_gui.C:
12217         * lyx_gui_misc.C:
12218         * lyxfunc.C:
12219         * sp_base.h:
12220         * sp_ispell.h:
12221         * sp_pspell.h:
12222         * sp_spell.C: remove fig inset, and the crap house of
12223           cards that follows it
12224
12225 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12226
12227         * Makefile.am:
12228         * lyxserver.C:
12229         * os2_defines.h:
12230         * os2_errortable.h:
12231         * nt_defines.h: move .h into support/
12232
12233         * vms_defines.h: remove
12234
12235         * WorkArea.C: add space in debug output
12236
12237         * text2.C:
12238         * paragraph.C:
12239         * buffer.C: add WITH_WARNINGS
12240
12241         * vc-backend.h:
12242         * vc-backend.C:
12243         * bufferlist.C: s/retrive/retrieve/, add docs
12244
12245         * vspace.h:
12246         * vspace.C:
12247         * kbmap.h:
12248         * lyxlength.h:
12249         * lyxgluelength.h:
12250         * length_common.h:
12251         * chset.h:
12252         * chset.C: add docs
12253
12254         * lyxgui.C: add ID to X error handler
12255
12256         * lyxtestclass.c: fix typo
12257
12258 2002-02-26  Juergen Vigna  <jug@sad.it>
12259
12260         * tabular_funcs.C (write_attribute): changed so that some default
12261         attributes are not written at all.
12262         (getTokenValue): set default values before trying to read the
12263         value so we have the return value always set as default if we don't
12264         find the token we search for.
12265
12266         * tabular.C (Write): write bools as bools not as strings!
12267
12268 2002-02-22  Juergen Vigna  <jug@sad.it>
12269
12270         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12271         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12272
12273         * text.C (leftMargin): don't add an indent for paragraphs inside
12274         tabular cells (fix #208).
12275
12276 2002-02-21  José Matos  <jamatos@fep.up.pt>
12277
12278         * tabular.C (docBook): fixed support for long tables.
12279
12280 2002-02-20  Juergen Vigna  <jug@sad.it>
12281
12282         * text2.C (getFont): get the drawing font of the Inset if this
12283         paragraph is inside an inset (only important for InsetERT for now).
12284
12285         * buffer.C (insertErtContents): use new lanugage params in ERT
12286         constructor.
12287
12288         * CutAndPaste.C: commenting out seemingly uneeded code.
12289
12290 2002-02-19  Allan Rae  <rae@lyx.org>
12291
12292         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12293         Iterators might be simple to use but they also get invalidated.
12294         (removeAutoInsets): renamed saved cursor tracking variables and added
12295         some comments to clarify what everything does.
12296
12297 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12298
12299         * Chktex.C:
12300         * LaTeX.C:
12301         * LyXSendto.C:
12302         * converter.C:
12303         * lyx_cb.C:
12304         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12305         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12306
12307         * lyxfunc.C:
12308         * vc-backend.h: remove #include "support/syscall.h"
12309
12310         * LaTeX.C:
12311         * LyXSendto.C:
12312         * converter.C: rearrange #includes in Lars' approved fashion.
12313
12314         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12315         forward declare class Timeout in the header file.
12316
12317         * XFormsView.C: changes due to the above.
12318
12319         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12320         similar to LyXView.
12321
12322         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12323         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12324
12325 2002-02-18  José Matos  <jamatos@fep.up.pt>
12326
12327         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12328         insets contents.
12329
12330 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12331
12332         * a lot of small ws changes
12333         * add a lot of using std::XXX
12334         * use std construcs some places where approp.
12335         * use some exisint stuff from lyxfunctional where approp.
12336         * Make file changes to use partial linking (lets test this now...)
12337
12338 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12339
12340         * Chktex.C:
12341         * buffer.C:
12342         remove #include "support/syscontr.h" as it's redundant. Always has been.
12343
12344         * Chktex.C:
12345         * LaTeX.C:
12346         * LyXSendto.C:
12347         * converter.C:
12348         * lyx_cb.C:
12349         * vc-backend.C:
12350         change Systemcalls::System to Systemcalls::Wait and
12351         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12352         No change of functionality, just reflects the stripped down Systemcalls
12353         class.
12354
12355 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12356
12357         * debug.[Ch]: add a GRAPHICS type to the enum.
12358
12359 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12360
12361         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12362
12363         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12364         there is an inset.
12365
12366 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12367
12368         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12369         match the changes below.
12370
12371         * text2.C (toggleInset): if there is not editable inset at cursor
12372         position, try to see if cursor is _inside_ a collapsable inset
12373         and close it.
12374
12375 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12376
12377         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12378         document menu has a nice checkbox
12379
12380 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12381
12382         * lyxlength.C (asLatexString): change PW to output as percent of
12383         \textwidth.
12384
12385         * lengthcommon.C: change '%' to 't%'
12386
12387         * lyxfunc.C (dispatch): a few comments from Martin
12388
12389 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * WorkArea.h:
12392         * WorkArea.C:
12393         * BufferView_pimpl.h:
12394         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12395           the X selection.
12396
12397 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12398
12399         * vspace.C (inPixels): fix compiler warning
12400
12401 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12402
12403         * lyxfunc.C (getStatus): fix status message for disabled commands.
12404
12405 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * BufferView_pimpl.C: fix crash on close buffer
12408         during selection (#227)
12409
12410 2002-01-27  Herbert Voss  <voss@lyx.org>
12411
12412         * buffer.C: link old Figure to new graphic inset
12413
12414 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12415
12416         * FontLoader.C (getFontinfo): Change the latex font names in order
12417         to match the names of type1inst.
12418
12419 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12420
12421         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12422
12423         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12424         (extchanged): ditto
12425         (ext_exist): ditto
12426         (remove_files_with_extension): ditto
12427         (remove_file): ditto
12428         (write): ditto
12429
12430         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12431         document is smaller than the work area height. Do not initialize
12432         static variables to 0.
12433
12434 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12435
12436         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12437
12438         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12439         LFUN_LAYOUT_PARAGRAPHS.
12440
12441         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12442         tabular. It is possible to provide a possible cell, which will
12443         typically be the actcell from the corresponding insettabular
12444
12445         * lyxfunc.C (getStatus): small cleanup; disable
12446         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12447         true
12448
12449 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12450
12451         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12452
12453         * paragraph.C (startTeXParParams):
12454         (endTeXParParams): new methods. The LaTeX code to
12455         start/end paragraph formatting
12456         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12457         empty (fixes bug #200)
12458
12459         * vspace.C (inPixels): adapt to the change below
12460         (inPixels): [later] more cleanups (remove unused variables)
12461
12462         * lyxlength.C (inPixels): change to use a width and a height as
12463         parameter.
12464
12465 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12466
12467         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12468         Replaced with \paperwidth
12469
12470         * DepTable.C (insert): add std:: qualifier
12471
12472 2002-01-18  Allan Rae  <rae@lyx.org>
12473
12474         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12475         updated also?
12476
12477         * text.C (drawInset): Turned out I didn't know enough about how
12478         rebreaking worked.  This fixes most of the redraw problems.  I see
12479         an occasional cursor trail when a line is broken now and the cursor
12480         placement can seem out by a few pixels also after a rebreak.
12481
12482 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12483
12484         * buffer.C (parseSingleLyXformat2Token): update because minipage
12485         width is now a LyXLength
12486
12487         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12488
12489         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12490         math insets
12491
12492 2002-01-17  Juergen Vigna  <jug@sad.it>
12493
12494         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12495
12496         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12497         is set correctly and the inset is updated correctly.
12498
12499 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12500
12501         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12502         the beginning of the loop.
12503
12504 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12505
12506         * lyxrc.C: improve help for use_scalable_fonts
12507
12508 2002-01-17  Allan Rae  <rae@lyx.org>
12509
12510         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12511
12512 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12513
12514         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12515         make sure to set their inset_owner to the right value (bug #171)
12516
12517 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12518
12519         * DepTable.h
12520         * DepTable.C: Implement mtime checking to reduce time spent doing
12521         CRCs.
12522
12523 2002-01-16  Juergen Vigna  <jug@sad.it>
12524
12525         * tabular.C (GetAdditionalHeight): one of error fixed.
12526
12527         * lyxrc.C (output): small fix in writing use_pspell.
12528
12529 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * sp_base.h: #include LString.h
12532
12533 2002-01-16  Allan Rae  <rae@lyx.org>
12534
12535         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12536         Can someone check this please?
12537
12538         * text.C (drawInset): It was possible that p.row would be removed by
12539         breakAgainOneRow upsetting a few other settings.  There may be another
12540         small tweak possible by setting need_break_row = 0 when p.row has been
12541         removed but I don't know enough about the logic here.
12542
12543 2002-01-15  Allan Rae  <rae@lyx.org>
12544
12545         * text.C (insertChar): removed conditional truism.
12546
12547         * BufferView2.C (removeAutoInsets): More tweaks.
12548         cur_par_prev could be a stray pointer.  Check for trailing empty line
12549         in case last line was cur_par and only had an error inset on it.
12550
12551 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12552
12553         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12554         absolute
12555
12556         * vc-backend.C (most methods):
12557         * exporter.C (Export):
12558         * converter.C (convert):
12559         (runLaTeX):
12560         * LyXSendto.C (SendtoApplyCB):
12561         * lyxfunc.C (dispatch):
12562         (menuNew):
12563         (open):
12564         (doImport):
12565         * lyx_cb.C (AutoSave):
12566         (InsertAsciiFile):
12567         * BufferView_pimpl.C (MenuInsertLyXFile):
12568         * buffer.C (runChktex): use Buffer::filePath().
12569
12570         * buffer.h: rename filename to filename_; rename filepath to
12571         filepath_ and make it private
12572         (filePath): new method
12573
12574         * buffer.C (writeFile): use fileName()
12575         (getLatexName):
12576
12577         * lyx_main.C (init): fix starting  of LyX when the binary is a
12578         link from so,ewhere else.
12579
12580         * minibuffer.C: include <cctype> for isprint
12581
12582 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12583
12584         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12585         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12586         name clash with InsetCollapsable's width function.
12587
12588 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * lastfiles.C: include <iterator>
12591
12592 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12593
12594         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12595         std::count.
12596
12597         * buffer.C (makeLaTeXFile): ditto.
12598         Also make loop operation more transparent.
12599
12600 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12601
12602         * ToolbarDefaults.C: remove trailing comma closing namespace.
12603
12604         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12605
12606         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12607         as in WorkArea.
12608
12609         * trans.C (Load): comment out unused variable, allowed.
12610
12611 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12612
12613         * minibuffer.[Ch] (append_char): new method to recieve input from the
12614         drop-down completion browser. If a key was pressed, then recieve this
12615         char and append it to the existing string.
12616         (peek_event): modify the positioning data passed to the completion
12617         browser so that it can be placed above the minibuffer rather than below.
12618 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12619
12620         * LyXAction.C (init): alloe error-next for readonly documents.
12621
12622         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12623         count.
12624
12625 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12626
12627         * bufferlist.C (readFile): create the buffer _after_ checking that
12628         the file exists.
12629
12630         * lyxfunc.C (verboseDispatch): fix handling of arguments
12631
12632         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12633
12634         * lyxrc.C: use string::erase() instead of initializing to "".
12635
12636
12637 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * BufferView_pimpl.h:
12640         * BufferView_pimpl.C:
12641         * WorkArea.h:
12642         * WorkArea.C:
12643         * text2.C: tell X when we have made a selection for copying
12644
12645 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12646
12647         * BufferView_pimpl.C (MenuInsertLyXFile):
12648         * lyxfunc.C (menuNew):
12649         (open):
12650         (doImport): add shortcuts to directory buttons
12651
12652         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12653         open a float)
12654
12655         * lyxfunc.C (setStatusMessage):
12656         (getStatusMessage): new methods
12657         (getStatus):use setStatusMessage instead of setErrorMessage
12658         (dispatch): when function is disabled, set error message here
12659         [instead of in getStatus previously]
12660
12661         * BufferView_pimpl.C (workAreaButtonRelease): update
12662         toolbar/menubar here too.
12663
12664 2002-01-13  Allan Rae  <rae@lyx.org>
12665
12666         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12667         Now seems indestructible.  Remaining task is to audit all other
12668         code affected by deleteEmptyParagraphMechanism.  One small quirk
12669         left is that an empty document with an error in the preamble can
12670         be made to report an error but no error box appears.  I don't know
12671         where it goes.
12672         (removeAutoInsets): Improved comments.
12673
12674 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * Thesaurus.h:
12677         * Thesaurus.C: update for Aiksaurus 0.14
12678
12679 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * text2.C (firstParagraph): removed member function, all uses
12682         replaces with ownerParagraph
12683         (redoParagraphs): here
12684         (updateInset): here
12685         (toggleAppendix): here
12686         * BufferView2.C (insertErrors): here
12687         (setCursorFromRow): here
12688
12689 2002-01-13  Allan Rae  <rae@lyx.org>
12690
12691         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12692         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12693         There is still a way to segfault this although you may have to do this
12694         multiple times: Have an InsetERT with an unknown command in it.
12695         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12696         <down-arrow>, <Enter> again, View->DVI, BANG!
12697
12698         * text2.C (setCursor):
12699         (deleteEmptyParagraphMechanism):
12700         * lyxtext.h (setCursor):
12701         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12702         Making use of the return value may help fix other bugs.
12703
12704 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12705
12706         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12707
12708         * LyXView.C (updateMenubar): call MenuBar::update here
12709         (updateToolbar): but not here
12710         (showState): do not update toolbar/menubar
12711
12712         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12713         should need to care about that.
12714
12715         * lyxfunc.C (verboseDispatch): simplify a bit
12716         (getStatus): have a version which takes a pseudoaction, and
12717         another which requires a (kb_action,string).
12718
12719         * LyXAction.C (retrieveActionArg): make it work also when action
12720         is not a pseudo-action.
12721         (getActionName): simplify a bit
12722         (helpText):
12723
12724 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12725
12726         * lyxfunc.C (verboseDispatch): new families of methods with
12727         several ways to specify a command and a bool to indicate whether
12728         the command name and shortcut should be displayed in minibuffer
12729         (eventually, we could extend that to a finer bitmask like
12730         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12731         (dispatch): the pristine dispatch command which just, well,
12732         dispatchs! Note it still sets its result to minibuffer; I'm not
12733         sure we want that.
12734
12735         * lyxfunc.h: remove setHintMessage
12736
12737         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12738
12739 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12740
12741         * BufferView_pimpl.C (specialChar): delete new inset if we have
12742         not been able to insert it.
12743
12744         * kbmap.C: revert to using int instead of kb_action, since all we
12745         are dealing with is pseudo-actions.
12746
12747         * LyXAction.C (searchActionArg): change to return int instead of
12748         kb_action, since the result is a pseudoaction.
12749
12750 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12751
12752         * buffer.C (insertErtContents): Fix (partially) the font bug.
12753
12754 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12755
12756         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12757         as the other one is broken on my machine!
12758
12759 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12760
12761         * commandtags.h:
12762         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12763
12764 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12765
12766         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12767         reflect their actual use. Provide compatibility code for older lyxrc
12768         files.
12769
12770         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12771         FL_NORMAL_STYLE.
12772         change names of popup font variables in line with the changes to lyxrc.C
12773
12774 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * buffer.C (asciiParagraph): avoid outputing a word twice after
12777         an inset.
12778
12779         * lyxrc.C (getDescription): document that document_path and
12780         template_path can be empty.
12781
12782 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12783
12784         * LaTeXFeatures.C (getMacros):
12785         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12786
12787         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12788
12789         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12790         getPackages.
12791         (getPackages): rename feature "floats" to "float". Use an array to
12792         iterate over 'simple' features (i.e. just a \usepackage). Add
12793         handling of "amsmath" (renamed from "amsstyle").
12794
12795 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12796
12797         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12798         features list.
12799
12800 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12801
12802         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12803         FuncStaus::FuncStatus & FuncStaus::some_method().
12804
12805 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12806
12807         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12808         of the func_satus stuff. Edited and massaged in various ways by
12809         JMarc.
12810
12811         * lyxfunc.C (getStatus): use FuncStatus
12812
12813 2002-01-08  Juergen Vigna  <jug@sad.it>
12814
12815         * text.C (nextBreakPoint): use function Inset::isChar().
12816
12817         * paragraph.C (TeXOnePar): use function
12818         Inset::forceDefaultParagraphs.
12819
12820         * buffer.C (latexParagraphs): use function
12821         Inset::forceDefaultParagraphs.
12822
12823 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12824
12825         * lyx_gui.C (init): set the style of the menu popups to
12826         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12827
12828 2002-01-07  Juergen Vigna  <jug@sad.it>
12829
12830         * text.C (setHeightOfRow): small fix
12831         (prepareToPrint): don't look at alignment if we don't have the place
12832         for doing it.
12833
12834 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12835
12836         * box.C: New file. Move the Box methods and functions out of box.h,
12837         following Lars' suggestion.
12838
12839 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12840
12841         * box.h: #include "support/LOstream.h", needed for inlined function.
12842
12843         * lyxtextclass.C:
12844         * lyxtextclasslist.C: added some using std declarations.
12845
12846 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12847
12848         * box.h: make signed dimensions to allow insets wider than
12849           the screen (bug #162)
12850
12851         * BufferView_pimpl.C: add some insetHit debug
12852
12853 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12854
12855         * vc-backend.C: add FIXME
12856
12857 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12858
12859         * lyxfunc.C (getStatus): enable code for showing math font status
12860         in toolbar/menu.
12861
12862 2002-01-07  Juergen Vigna  <jug@sad.it>
12863
12864         * text.C (nextBreakPoint): removed debug output not needed anymore.
12865
12866 2002-01-06  Juergen Vigna  <jug@sad.it>
12867
12868         * text.C (nextBreakPoint): fixed up this function we had this bug
12869         since ever but now hopefully we break row better.
12870         (insertChar): we have to check if an inset is the next char as it
12871         could now happen that a large inset is causing a break.
12872
12873 2002-01-05  Juergen Vigna  <jug@sad.it>
12874
12875         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12876         if it doesn't like to be drawed.
12877
12878 2002-01-04  Juergen Vigna  <jug@sad.it>
12879
12880         * BufferView2.C (lockInset): forgot to set a cursor.
12881
12882         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12883
12884 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12885
12886         * FormMathsPanel.C:
12887         * FormMathsPanel.h
12888         * MathsSymbols.C:
12889         * form_maths_panel.C:
12890         * form_maths_panel.h:
12891         * form_maths_panel.fd: implemented sub- and super- buttons in math
12892         panel.
12893
12894         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12895         (or ^ space) to be used as in TeX (req'd by André).
12896
12897         * lyxfunc.C: Allow ^ and _ again to be used both as
12898         super/subscript (mathed) and as themselves (in text).
12899
12900 2002-01-03  Allan Rae  <rae@lyx.org>
12901
12902         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12903         "LyX" or the filename of the current buffer if it has one.  This is a
12904         modified form of John Levon's patch.
12905
12906         * XFormsView.C (setWindowTitle): also set icon title.
12907
12908         * LyXView.h (setWindowTitle): signature changed.
12909         * XFormsView.h (setWindowTitle): ditto.
12910
12911 2002-01-02  Juergen Vigna  <jug@sad.it>
12912
12913         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12914
12915 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * screen.C (topCursorVisible): introduce a temp var for
12918         text->cursor.row(), handle the case where this row is null. (kindo
12919         hachish)
12920
12921         * text2.C (setCursor): add a couple of asserts.
12922
12923         * paragraph.h (inset_iterator): add -> operator
12924
12925         * paragraph.[Ch] (autoDeleteInsets): remove member function
12926
12927         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12928         cursor pos correctly and handle inset deletion by itself.
12929         (insertErrors): move iterator declaration out of for expression
12930
12931         * lyxtextclass.C: add <algorithm>
12932
12933         * Makefile.am: added the new files to sources, removed layout.C
12934
12935         * layout.C: removed file
12936
12937         * layout.h: remove LYX_DUMMY_LAYOUT
12938
12939         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12940         layout.
12941
12942         * lyxlayout.[Ch]:
12943         * lyxtextclass.[Ch]:
12944         * lyxtextclasslist.[Ch]: new files
12945
12946         * include order changes to a lot of files, also changes because of
12947         the six new files.
12948
12949 2001-12-27  Juergen Vigna  <jug@sad.it>
12950
12951         * buffer.C (asciiParagraph): more fixes.
12952
12953         * tabular.C (ascii): make ascii export support export of only the
12954         data separated by a column-delimiter.
12955         (ascii): better support for ascii export.
12956
12957         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12958
12959 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12960
12961         * tabular_funcs.C: use a "using std::getline" instead of the
12962         previous fix from Angus (necessary for cxx + lyxstring)
12963
12964 2001-12-24  Juergen Vigna  <jug@sad.it>
12965
12966         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12967
12968         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12969         problems. First check a minipage also if we have some ert-contents
12970         (not only on par->size(), second set the right depth of the paragraph
12971         on the relink to the root-paragraph-list!
12972
12973         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12974         which then did not anymore update the main paragraphs on undo/redo!
12975
12976 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12977
12978         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12979         code. Support all font-changing funcs (even those which are not in
12980         menu currently). Support for reporting font settings in
12981         mathed (disabled until Andre provides a function on mathed's side).
12982
12983         * func_status.h (toggle): small helper function to set toggle
12984         state on a flag.
12985
12986 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12987
12988         * tabular_funcs.C: getline -> std::getline
12989
12990 2001-12-21  Juergen Vigna  <jug@sad.it>
12991
12992         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12993         accessed and could be 0 (I couldn't generate this but it seems
12994         Michael could!).
12995
12996 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12997
12998         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12999         * tabular_funcs.h: here and include iosfwd
13000
13001 2001-12-20  Juergen Vigna  <jug@sad.it>
13002
13003         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13004         inside inset but undo_par was.
13005
13006 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13007
13008         * Thesaurus.C: always include <config.h> in sources.
13009
13010         * Painter.h:
13011         * lyxlookup.h:
13012         * box.h: do not include <config.h> in header files
13013
13014         * text.C (paintLastRow): remove unused variable
13015
13016         * text.C (transformChar):
13017         (insertChar):
13018         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13019
13020         * Painter.C (text):
13021         * font.C (width): rewrite to use uppercase() instead of
13022         islower/toupper.
13023
13024         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13025
13026 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13027
13028         * lyxfind.C: clean up of find failure position change
13029
13030 2001-12-20  Juergen Vigna  <jug@sad.it>
13031
13032         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13033
13034         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13035         (TeXRow): added to LaTeX a single tabular row.
13036         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13037         (Latex): simplified and finally good LT-h/f support.
13038         (various_functions): just small adaptions for LT-h/f support.
13039
13040         * tabular_funcs.[hC]: added and moved here all not classfunctions
13041         of LyXTabular.
13042
13043 2001-12-19  Juergen Vigna  <jug@sad.it>
13044
13045         * tabular.[Ch]: better support for longtabular options (not finished
13046         yet!)
13047
13048 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13049
13050         * text.C (paintLastRow): use the label font instead of the font of
13051         the last character to compute the size of *_BOX. This makes more
13052         sense and avoids a crash with empty paragraphs.
13053         Use Painter::rectangle to draw EMPTY_BOX.
13054
13055 2001-12-19  Juergen Vigna  <jug@sad.it>
13056
13057         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13058         the paragraphs if the replaced paragraph is not the first one!
13059         Tried to delete not used paragraphs but does not work yet so for
13060         now it's inside #ifdef's and by default off!
13061
13062 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13063
13064         * MenuBackend.C: include "lyx_main.h" instead of declaring
13065         lastfiles (actually was declared as LastFiles* instead of a
13066         scoped_ptr).
13067
13068 2001-12-17  Juergen Vigna  <jug@sad.it>
13069
13070         * tabular.C (AppendColumn): applied John's fix
13071
13072 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13073
13074         * BufferView.h:
13075         * BufferView.C:
13076         * BufferView_pimpl.h:
13077         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13078
13079         * Makefile.am:
13080         * box.h: new start of class for above
13081
13082         * lyxfunc.C: ignore space-only minibuffer dispatches.
13083           Show the command name when it doesn't exist
13084
13085         * minibuffer.C: don't add empty lines to the history
13086
13087         * minibuffer.C: add a space on dropdown completion
13088
13089 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13090
13091         * text.C: fix line above/below drawing in insets
13092
13093 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13094
13095         * lyxlength.C (LyXLength): Initialize private variables.
13096
13097 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13098
13099         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13100         when inserting error insets.
13101
13102 2001-12-13  Juergen Vigna  <jug@sad.it>
13103
13104         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13105         actually sometimes the before-paragraph.
13106         (setUndo): don't clear the redostack if we're not actually undoing!
13107
13108 2001-12-06  Juergen Vigna  <jug@sad.it>
13109
13110         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13111         and fixed redoing of main paragraph, so we can use it now ;)
13112
13113         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13114
13115 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13116
13117         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13118         Juergen's request
13119
13120 2001-12-13  André Pönitz <poenitz@gmx.net>
13121
13122         * undostack.[Ch]:
13123         * undo_func.C: minor cleanup
13124
13125 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13126
13127         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13128         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13129         font in urw-fonts package which is marked as -urw-fontspecific and
13130         does not work (incidentally, changing the encoding in the
13131         fonts.dir of this package to -adobe-fontspecific fixes the
13132         problem).
13133
13134         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13135         is a crash when undoing first paragraph (Juergen, please take a
13136         look). THis does not mean the undo fix is wrong, just that it
13137         uncovers problems.
13138
13139         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13140         the (Paragraph*) version when needed instead of duplicating the
13141         code.
13142
13143         * text.C (workWidth): use Inset::parOwner to find out where the
13144         inset has been inserted. This is a huge performance gain for large
13145         documents with lots of insets. If Inset::parOwner is not set, fall
13146         back on the brute force method
13147
13148         * paragraph_pimpl.C (insertInset):
13149         * paragraph.C (Paragraph):
13150         (cutIntoMinibuffer): set parOwner of insets when
13151         inserting/removing them
13152
13153         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13154
13155 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13156
13157         * commandtags.h:
13158         * LyXAction.C:
13159         * lyx_main.C:
13160         * lyxfunc.C:
13161         * mathed/formulabase.C:
13162         * mathed/math_cursor.[Ch]:
13163         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13164
13165
13166 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * lyxlength.[Ch] (operator!=): new function
13169
13170 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13171
13172         * text.C (workWidth): use Inset::parOwner to find out where the
13173         inset has been inserted. This is a huge performance gain for large
13174         documents with lots of insets. If Inset::parOwner is not set, fall
13175         back on the brute force method
13176
13177         * paragraph_pimpl.C (insertInset):
13178         * paragraph.C (Paragraph):
13179         (cutIntoMinibuffer): set parOwner of insets when
13180         inserting/removing them
13181
13182         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13183
13184 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13185
13186         * tabular-old.C (getTokenValue):
13187         * tabular.C (getTokenValue):
13188         (write_attribute): new versions for LyXLength
13189         (everywhere): adjust the use of widths
13190
13191         * tabular.h: change the type of widths from string to LyXLength
13192
13193 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13194
13195         * paragraph.C: fixed missing line number count when exporting
13196         Environments to LaTeX file
13197
13198         * buffer.C: added informational message for checking line numbers.
13199
13200 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13201
13202         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13203         paragraph, do the 'double space' part, but not the 'empty
13204         paragraph' one.
13205
13206         * text.C (workWidth): small optimization
13207         (getLengthMarkerHeight): use minimal size for negative lengths.
13208
13209 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13210
13211         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13212
13213         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13214
13215 2001-12-11  André Pönitz <poenitz@gmx.net>
13216
13217         * FontLoader.C:
13218         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13219
13220 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13221
13222         * text2.C: keep selection on a setFont()
13223
13224 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13225
13226         * lyx_cb.C: another bv->text misuse, from insert label
13227
13228 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * kbsequence.h:
13231         * kbsequence.C: re-instate nmodifier mask
13232
13233 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13234
13235         * lyx_main.h: make lyxGUI private.
13236
13237 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13238
13239         * lyxfind.C: place the cursor correctly on failed search
13240
13241 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13242
13243         * text.C (getLengthMarkerHeight): for small heights, the arrows
13244         are not always on top/bottom of the text
13245         (drawLengthMarker): smaller arrows; take the left margin in
13246         account; draw also vfills.
13247         (paintFirstRow):
13248         (paintLastRow): remove special code for vfill and standard spaces,
13249         since everything is handled in drawLengthMarker now.
13250
13251 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * buffer.C (insertErtContents): try to handle font and language
13254         interaction a bit better.g
13255
13256         * ColorHandler.C (updateColor): change the hash to cover the whole
13257         LColor enum, ws cleanup
13258         (getGCLinepars): ditto
13259         (getGCLinepars): only lookup in the linecache once.
13260
13261 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13262
13263         * iterators.C (operator++): Make the iterator more robust
13264
13265         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13266         (John's patch)
13267         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13268
13269 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13270
13271         * lyxtext.h:
13272         * text.C: better added space drawing
13273
13274 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13275
13276         * LyXView.C:
13277         * BufferView2.C: fix layout combo update on inset unlock
13278
13279 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13280
13281         * Makefile.am: don't compile unused files
13282
13283 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13284
13285         * lyxfunc.C:
13286         * commandtags.h:
13287         * LyXAction.C: remove old LFUN_LAYOUTNO
13288
13289 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * paragraph_pimpl.h:
13292         * paragraph_pimpl.C: isTextAt() doesn't need font param
13293
13294 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13295
13296         * lyxlex.h:
13297         * lyxlex.C: little cleanup
13298
13299 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13300
13301         * BufferView_pimpl.C: fix insertAscii for insets
13302
13303 2001-12-05  Juergen Vigna  <jug@sad.it>
13304
13305         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13306         set the right font on the "multi" paragraph paste!
13307
13308 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * trans_decl.h:
13311         * trans_mgr.[Ch]:
13312         * trans.[Ch]:
13313         * lyxgluelength.C:
13314         * lyxlength.C: remove out-commented code.
13315
13316         * BufferView_pimpl:
13317         * CutAndPaste.C:
13318         * DepTable.C:
13319         * buffer.C:
13320         * chset.C:
13321         * lastfiles.C:
13322         * lyxlex.C:
13323         * lyxlex_pimpl.C:
13324         * lyxserver.C:
13325         * screen.C:
13326         * tabular-old.C:
13327         * tabular.C:
13328         * text.C:
13329         * trans_mgr.C:
13330         * vc-backend.C: change "while(" to "while ("
13331
13332         * lyxlength.[Ch]: add zero function to check if length is zero or
13333         not
13334         * lyxgluelength.C: use it
13335
13336 2001-12-05  Allan Rae  <rae@lyx.org>
13337
13338         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13339         Works for 2.95.3, from what I understand of Garst's reports this should
13340         work for other g++ versions.  We're screwed if the abs(int) definition
13341         changed between bugfix releases of gcc.
13342
13343 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13344
13345         * text.C: fix chapter label offset !
13346
13347 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13348
13349         * lyxtext.h:
13350         * text.C: fix hfill at end of line, clean up
13351
13352 2001-12-04  Juergen Vigna  <jug@sad.it>
13353
13354         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13355         that we force an update of the inset and it's owners if neccessary.
13356
13357 2001-12-03  Juergen Vigna  <jug@sad.it>
13358
13359         * text.C (rowLast): simplified code
13360
13361 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13362
13363         * lyxfunc.C: fix show options on timeout
13364
13365 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * screen.C (topCursorVisible): scroll half a page when the cursor
13368         reached top of bottom of screen
13369
13370 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * minibuffer.C: deactivate on loss of focus
13373
13374 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13375
13376         * vspace.[Ch] (operator!=): add operator.
13377
13378 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13379
13380         * BufferView_pimpl.C: refuse to open an inset when
13381         there's a selection.
13382
13383 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13384
13385         * BufferView_pimpl.C: allow to click on RHS of full row insets
13386
13387 2001-11-30  Juergen Vigna  <jug@sad.it>
13388
13389         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13390         insets for undo reasons.
13391
13392 2001-11-28  André Pönitz <poenitz@gmx.net>
13393
13394         * vspace.[Ch]: cosmetical changes
13395
13396 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * LyXAction.h:
13399         * LyXAction.C:
13400         * lyxfunc.h:
13401         * lyxfunc.C:
13402         * kbmap.h:
13403         * kbmap.C:
13404         * lyxrc.C:
13405         * kbsequence.h:
13406         * kbsequence.C: part re-write of old kb code
13407
13408         * Painter.C:
13409         * WorkArea.C: remove Lgb_bug_find_hack
13410
13411 2001-11-30  José Matos <jamatos@fep.up.pt>
13412
13413         * buffer.C (makeDocBookFile): add a comment to point a hack.
13414         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13415         Fixed a double write of labels.
13416
13417 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13418
13419         * LaTeX.C:
13420         * LaTeX.h Fixed bug in LaTeX class where it would not
13421         re-run latex if no depfiles were changed, but the .dvi was removed.
13422
13423 2001-11-28  André Pönitz <poenitz@gmx.net>
13424
13425         * all the files from the change on 2001/11/26:
13426         use lyx::layout_type instead of LyXTextClass::size_type
13427         use lyx::textclass_type instead of LyXTextClassList::size_type
13428
13429 2001-11-29  Juergen Vigna  <jug@sad.it>
13430
13431         * text.C: added support for paragraph::isFreeSpacing()
13432
13433         * buffer.C: same as above
13434
13435         * paragraph.h: inserted isFreeSpacing() function to enable
13436         FreeSpacing inside InsetERT.
13437
13438         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13439         of the paragraph's in the cut/copy buffer to 0!
13440
13441         * text2.C (removeRow): remove the assert as it can!
13442
13443         * lyxtext.h: added helper function firstRow returning firstrow and
13444         made firstrow private again.
13445
13446         * BufferView2.C (lockInset): don't relock if we're already locked!
13447
13448         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13449         the only paragraph.
13450         (removeRow): added Assert::(firstrow)
13451
13452         * debug.C: forgot to add INSETTEXT here.
13453
13454 2001-11-28  Juergen Vigna  <jug@sad.it>
13455
13456         * sp_spell.C (initialize): changed error text to more general
13457         spellchecker command use (not only ispell!)
13458
13459         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13460
13461         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13462
13463 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13464
13465         * vspace.C: initialise lyxgluelength on failure
13466
13467 2001-11-28  Allan Rae  <rae@lyx.org>
13468
13469         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13470         declaration & definition that looks like a function declaration.
13471
13472 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * BufferView2.C (copy):
13475         (copyEnvironment): do not clear the selection when doing a copy.
13476
13477         * text.C (paintFirstRow): compilation fix
13478
13479 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13480
13481         * tabular.C (Latex): correct line count when writing latex.
13482
13483 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * paragraph_pimpl.h:
13486         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13487           bug a bit
13488
13489 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * text.C:
13492         * LColor.h:
13493         * LColor.C: change vfillline->added_space
13494
13495         * text.C: add markers and text for added space
13496
13497         * vspace.C: fix comment
13498
13499 2001-11-28  André Pönitz <poenitz@gmx.net>
13500
13501         * paragraph.C: whitespace changes
13502         * all the other files from the change on 2001/11/26:
13503         change *::pos_type into lyx::pos_type
13504
13505 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13506
13507         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13508         language of the document when inserting error insets.
13509
13510 2001-11-26  André Pönitz <poenitz@gmx.net>
13511
13512         * BufferView_pimpl.[Ch]:
13513         *       CutAndPaste.C:
13514         * buffer.[Ch]:
13515         * lyxcursor.[Ch]:
13516         * lyxfind.C:
13517         * lyxfunc.C:
13518         * lyxrow.[Ch]:
13519         * paragraph.[Ch]:
13520         * paragraph_pimpl.[Ch]:
13521         * sp_spell.C:
13522         * text.C:
13523         * text2.C: reduce header dependencies, introduce type for positions
13524
13525 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * <various>: change to use Alert.h
13528
13529 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13530
13531         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13532         when encountering an unknown token.
13533         (readLyXformat2): Show an error message if there were unknown tokens.
13534
13535 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13536
13537         * BufferView2.C:
13538         * BufferView_pimpl.C:
13539         * buffer.C:
13540         * paragraph.h:
13541         * text.C:
13542         * text2.C: use par->isInset()
13543
13544 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13545
13546         * paragraph_pimpl.h:
13547         * paragraph_pimpl.C: cleanup
13548
13549 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13550
13551         * text2.C (removeRow):
13552         * text.C (setHeightOfRow): remove useless (and costly) call to
13553         getRow.
13554
13555 2001-11-20  Allan Rae  <rae@lyx.org>
13556
13557         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13558         Now need Inset*::checkInsertChar() to return true for appropriate
13559         cases so that the characters in the minibuffer will actually be
13560         inserted.
13561
13562 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563
13564         * text.C: change the order of the includes.
13565         (workWidth): initialize it at once.
13566         (workWidth): make maxw unsigned
13567         (setHeightOfRow): remove unused variable (inset)
13568         (selectSelectedWord): remove unused variable (inset)
13569         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13570
13571 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13572
13573         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13574         server is not running.
13575         (openConnection):
13576         (closeConnection): add debug info when server is disabled.
13577
13578         * ColorHandler.C (getGCForeground): send debug message to GUI
13579         channel.
13580
13581         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13582
13583         * kbmap.C (bind): modify because return conventions of
13584         kb_sequence::parse have changed.
13585
13586         * kbsequence.C (parse): only ignore spaces and not any stupid
13587         control character. This avoids tests like s[i] <= ' ', which are
13588         guaranteed to fail with 8bit characters and signed chars.
13589         Change return code to string::npos when there have been no error
13590         (0 was a bad idea when error is at first character)
13591
13592 2001-11-14  José Matos  <jamatos@fep.up.pt>
13593
13594         * buffer.h:
13595         * buffer.C (simpleDocBookOnePar): removed unused argument.
13596
13597 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13598
13599         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13600         insets which are part of a word. Paragraph::isLetter takes care of
13601         that now. Use Paragraph::isInset to identify insets.
13602         (selectSelectedWord): do not test for hyphenation break.
13603
13604         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13605         that protected spaces are considered as spaces.
13606
13607         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13608         Inset::isLetter.
13609
13610 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13611
13612         * lyxserver.h:
13613         * lyxserver.C: fix it. and small cleanup.
13614
13615 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * BufferView_pimpl.C: use inline helpers
13618
13619         * LaTeXFeatures.h:
13620         * LaTeXFeatures.C: fix typos
13621
13622         * Spacing.h:
13623         * Spacing.C: move spacing_string into class
13624
13625         * ToolbarDefaults.C: move stuff into namespace anon
13626
13627         * layout.h: update enum
13628
13629         * lyxfunc.C: use better debug
13630
13631         * minibuffer.h: fix typo
13632
13633         * debug.h:
13634         * debug.C:
13635         * WorkArea.C: add and use Debug::WORKAREA
13636
13637         * lyxtext.h:
13638         * text.C:
13639         * text2.C: code re-organisation, inline helpers
13640
13641 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13642
13643         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13644         std::vector.empty().
13645
13646 2001-11-09  Allan Rae  <rae@lyx.org>
13647
13648         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13649         '\n's after tables.  Tabular and ERT inset work now makes this no
13650         longer necessary.
13651
13652 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13653
13654         * minibuffer.h:
13655         * minibuffer.C: fix crash, improve drop-down completion
13656
13657 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13658
13659         * lyxserver.h:
13660         * lyxserver.C: invalidate fd's when doing endPipe()
13661
13662 2001-11-08  José Matos  <jamatos@fep.up.pt>
13663
13664         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13665         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13666
13667         * paragraph.h:
13668         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13669
13670 2001-11-07  José Matos  <jamatos@fep.up.pt>
13671
13672         * buffer.h:
13673         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13674         const qualifier.
13675
13676         * buffer.C (sgmlOpenTag):
13677         * buffer.C (sgmlCloseTag): removed debug info.
13678
13679         * buffer.h (sgmlOpenTag):
13680         * buffer.h (sgmlCloseTag): made public.
13681
13682 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * buffer.C (saveParamsAsDefaults):
13685         * lyx_cb.C (MenuLayoutSave): remove
13686
13687         * LyXAction.C (init):
13688         * commandtags.h:
13689         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13690
13691 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * buffer.C (setPaperStuff): removed from here...
13694
13695         * bufferparams.C (setPaperStuff): ... and moved there.
13696
13697 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13698
13699         * minibuffer.h:
13700         * minibuffer.C:
13701         * XFormsView.C: add support for drop-down completion
13702
13703 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13704
13705         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13706         commands.
13707
13708 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13709
13710         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13711         disabled.
13712
13713 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13714
13715         * lyx_main.C: change ref to known bugs
13716
13717 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13718
13719         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13720         to work around older babel problems.
13721
13722 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13723
13724         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13725
13726 2001-10-24  Juergen Vigna  <jug@sad.it>
13727
13728         * tabular-old.C (ReadOld): below variable changes reflected.
13729
13730         * tabular.[Ch]: added ltType struct for longtable header/footer
13731         defines and changed all instances where they are used. Added
13732         future support for double top/bottom rows.
13733
13734 2001-10-24  José Matos  <jamatos@fep.up.pt>
13735
13736         * buffer.h (docbookHandleCaption):
13737         * buffer.C (docbookHandleCaption): removed unused function.
13738         (makeDocBookFile): moved docbook supported version to v4.1.
13739
13740 2001-10-24  José Matos  <jamatos@fep.up.pt>
13741
13742         * tabular.h:
13743         * tabular.C (docbookRow): new function to export docbook code of a row.
13744         (DocBook): now honors the longtable flags.
13745
13746 2001-10-23  José Matos  <jamatos@fep.up.pt>
13747
13748         * LaTeXFeatures.h:
13749         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13750         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13751
13752         * buffer.C (makeLinuxDocFile):
13753         (makeDocBookFile): reworked the preamble, more clean, and with
13754         support for lyx defined entities. Changed the document declaration
13755         to be more XML friendly.
13756
13757         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13758         if we need to output XML that should be done with a filter.
13759
13760 2001-10-22  Juergen Vigna  <jug@sad.it>
13761
13762         * sp_pspell.h (class PSpell): add alive function needed in the
13763         controller to see if the spellchecker could be started.
13764
13765 2001-10-22  Juergen Vigna  <jug@sad.it>
13766
13767         * buffer.C (insertStringAsLines): modify the font for inserting
13768         chars in certain conditions by calling checkInsertChar(font).
13769
13770 2001-10-19  Juergen Vigna  <jug@sad.it>
13771
13772         * text.C (workWidth): use getRow instead of wrong algorithm.
13773         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13774
13775 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13776
13777         * lyxserver.h:
13778         * lyxserver.C:
13779         * lyx_main.h:
13780         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13781
13782 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13783
13784         * text.C (workWidth): do not search for the exact row when
13785         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13786         optimization for big documents.
13787
13788 2001-10-18  Juergen Vigna  <jug@sad.it>
13789
13790         * text.C (workWidth): new function with added Inset * parameter.
13791
13792 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13793
13794         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13795
13796         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13797         change return type of getColumnNearX.
13798
13799
13800         * text.C (changeRegionCase): use uppercase/lowercase instead of
13801         toupper/tolower.
13802         (leftMargin):
13803         (rightMargin): simplify code by factoring out the uses of
13804         textclasslist.
13805         (labelFill):
13806         (numberOfHfills):
13807         (setHeightOfRow):
13808         (appendParagraph): use Paragraph::size_type
13809
13810 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13811
13812         * vspace.C (asLatexString): add a missing break
13813
13814 2001-10-15  Herbert Voss  <voss@perce.de>
13815
13816         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13817
13818 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13821         is not available.
13822
13823 2001-10-10  André Pönitz <poenitz@gmx.net>
13824
13825         * lyxfunc.C: removed greek_kb_flag.
13826
13827 2001-10-10  Herbert Voss  <voss@perce.de>
13828
13829         * lyx_main.C: delete global string help_lyxdir.
13830
13831 2001-10-09  Herbert Voss  <voss@perce.de>
13832
13833         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13834
13835         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13836
13837         * lyx_main.C: added global string help_lyxdir.
13838
13839         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13840
13841 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13842
13843         * lyxrc.C (set_font_norm_type): support iso8859-4
13844
13845 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13846
13847         * LaTeX.C (deplog): add another regex for MikTeX
13848
13849 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13850
13851         * lyxrc.C (set_font_norm_type): support iso8859-3
13852
13853 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13854
13855         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13856
13857         * LaTeXFeatures.C: remove special case of french and index
13858
13859         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13860         before \begin{document}). This solves several incompatibilities.
13861
13862 2001-10-03  Garst Reese  <reese@isn.net>
13863
13864         * lyx_cb.C: change CheckTex error msg.
13865
13866 2001-10-03  José Matos  <jamatos@fep.up.pt>
13867
13868         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13869
13870 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13871
13872         * .cvsignore: update
13873
13874         * lyx_main.C (commandLineVersionInfo): use new style version info.
13875
13876         * buffer.C (writeFile):
13877         (makeLaTeXFile):
13878         (makeLinuxDocFile):
13879         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13880
13881         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13882
13883         * version.h: update to use stuff in version.C
13884
13885         * version.C.in: new file. Contains version information determined
13886         at compile time. This is a merging of version.h and
13887         version_info.h.in.
13888
13889 2001-10-03  Juergen Vigna  <jug@sad.it>
13890
13891         * BufferView_pimpl.C (update): don't change "dirty" status in
13892         updateInset call.
13893
13894 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13895
13896         * WorkArea.C (c-tor): re-position version string slightly.
13897
13898 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13899
13900         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13901         revert to previous code.
13902
13903         WorkArea.[Ch]: (show, destroySplash): methods removed.
13904
13905         WorkArea.C: rework code so that it's an amalgam of the codes before and
13906         after the splash screen was moved to WorkArea.
13907
13908 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13909
13910         * lyxrc.C (read):
13911         * vspace.C (inPixels):
13912         (lyx_advance):
13913         * kbmap.C (bind):
13914         * buffer.C (insertStringAsLines):
13915         (asciiParagraph): fix types to be large enough
13916
13917         * lyxlex_pimpl.h: change member status from short to int
13918
13919         * layout.h: fix type of endlabeltype
13920
13921         * kbmap.C (bind):
13922         * kbsequence.C (parse): change return type to string::size_type
13923
13924         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13925         variable
13926
13927         * Bullet.C (bulletSize):
13928         (bulletEntry): do not use short ints as parameters
13929
13930         * BufferView2.C (insertLyXFile): change a char to an int.
13931
13932         * WorkArea.C (WorkArea): remove unneeded floats in computation
13933
13934 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13935
13936         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13937
13938         * paragraph.C (asString): Do not ignore newline/hfill chars when
13939         copying to the clipboard.
13940
13941 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13942
13943         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13944         after a multi-line inset.
13945
13946 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * paragraph.C (validate): Set NeedLyXFootnoteCode
13949
13950 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13951
13952         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13953         and decrease-error to decrease.
13954
13955 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13958         it more readable (should be equivalent)
13959
13960 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13961
13962         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13963
13964 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13965
13966         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13967         of a cursor (row, etc.) after a character has been deleted
13968         (deleteEmptyParagraphMechanism): call the method above on _all_
13969         cursors held by the LyXText when a double space has been
13970         detected/deleted.
13971
13972 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13973
13974         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13975         pixmap.
13976         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13977
13978         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13979         background. Use greyOut() and the new show() methods to toggle between
13980         the foreground and background. Add code to remove the splash after
13981         its initial showing.
13982
13983         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13984         (create_forms): no longer call Dialogs::showSplash.
13985
13986 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * .cvsignore: add version_info.h
13989
13990 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * version_info.h.in: new file
13993
13994         * Makefile.am: add version_info.h.in
13995
13996         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13997         version_info.h instead of VERSION_INFO
13998
13999 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14002         The ERT inset now returns string().
14003
14004 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14005
14006         * lyxtext.h, text.C (selectNextWord): renamed as
14007         selectNextWordToSpellcheck.
14008
14009         * text.C (selectNextWordToSpellcheck): Modified to not select
14010         words inside an ERT inset.
14011
14012 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14013
14014         * lyx_cb.C (MenuLayoutSave): change a bit the question
14015
14016         * sp_base.h: include <sys/types.h>
14017
14018 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14019
14020         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14021
14022 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14023
14024         * several files: fix typos in user-visible strings
14025
14026 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14027
14028         * text2.C (pasteSelection): do not set the selection, since it
14029         will be cleared later. Actually, the intent was to fix the way the
14030         selection was set, but I figured rmoving the code was just as good.
14031
14032 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14033
14034         * FontLoader.C (available): Check if font is available without
14035         loading the font.
14036
14037 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14038
14039         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14040
14041 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14042
14043         * lyxrc.[Ch]: added display_graphics variable and associated code.
14044
14045 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14046
14047         * bufferparams.C (hasClassDefaults): new method. Returns true if
14048         the buffer parameters correspond to known class defaults
14049
14050 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14051
14052         * XFormsView.C (show): set minimum size to the main window.
14053
14054 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14055
14056         * text2.C (copySelection):
14057         (cutSelection):
14058         * lyxfind.C (LyXReplace):
14059         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14060         LyXText::selectionAsString.
14061
14062         * paragraph.C (asString): add "label" argument to the second form
14063
14064         * text2.C (selectionAsString): add "label" argument and pass it to
14065         Paragraph::asString.
14066
14067 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14068
14069         * lyx_main.C (commandLineHelp): remove version information
14070
14071 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14072
14073         * lyx_main.C: add -version commandline option
14074
14075 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14076
14077         * paragraph.h: make the optional constructor arg required instead.
14078         some modifications to other files because of this.
14079
14080         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14081
14082         * lyxserver.C (C_LyXComm_callback): make it static
14083
14084         * lyx_main.C (error_handler): make it static
14085
14086         * lyx_gui.C (LyX_XErrHandler): make it static
14087
14088         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14089
14090         * WorkArea.C: make the extern "C" methods static.
14091
14092         * Makefile.am (lyx_LDADD): simplify
14093
14094 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14095
14096         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14097         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14098
14099         * LyXAction.C (init):
14100         * lyxfunc.C (dispatch): associated code removal.
14101
14102 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14103
14104         * lyxfont.h (isSymbolFont): shut off warning
14105
14106         * text.C (setHeightOfRow):
14107         (getVisibleRow): fix crash with empty paragraphs which have a
14108         bottom line
14109
14110 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14111
14112         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14113         code.
14114
14115 2001-09-04  José Matos  <jamatos@fep.up.pt>
14116         * buffer.C
14117         * buffer.h
14118         * tabular.C (docbook): rename docBook method to docbook.
14119
14120 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14121
14122         * Makefile.am: add dependencies to main.o.
14123
14124 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14125
14126         * FontLoader.C (available): Return false if !lyxrc.use_gui
14127
14128 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14129
14130         * FontInfo.C (query):
14131         * converter.C (view):
14132         * importer.C (Import):
14133         * exporter.C (Export): Can not -> cannot.
14134
14135 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * BufferView_pimpl.C: allow to create index inset even if
14138           string is empty
14139
14140 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14141
14142         * buffer.C (getLists): replace boost::tie code with an explicit pair
14143         as boost::tie can break some compilers.
14144
14145         * iterators.h: Added a std:: declaration to the return type of
14146         ParIterator::size.
14147
14148 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14149
14150         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14151           case.
14152
14153 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14154
14155         * iterators.[Ch]: New files. Provide paragraph iterators.
14156
14157         * buffer.C (changeLanguage): Use paragraph iterators.
14158         (isMultiLingual): ditto
14159
14160         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14161
14162 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14163
14164         * FontLoader.C: Support for cmr font.
14165
14166 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14167
14168         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14169         (available): New method.
14170
14171         * FontInfo.C (getFontname): Use scalable fonts even when
14172         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14173         found.
14174
14175 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14176
14177         * converter.C (Formats::view): reverted! Incorrect fix.
14178
14179 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14180
14181         * converter.C (Formats::view): only output the -paper option
14182         if the dvi viewer is xdvi, thereby fixing bug #233429.
14183
14184 2001-08-23  Herbert Voss  <voss@perce>
14185
14186         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14187
14188 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14189
14190         * Spacing.h (Spacing): Set space to Default on in the default
14191         constructor.
14192
14193 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14194
14195         * vc-backend.h (RCS::versionString): add RCS to version
14196         (CVS::versionString): add CVS to version
14197
14198         * vc-backend.C (scanMaster): do not add CVS to version.
14199         (scanMaster): do not add RCS to version
14200
14201         * lyxvc.C (versionString): new method
14202
14203         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14204
14205 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14206
14207         * Spacing.C (set): initialize fval
14208
14209 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14210
14211         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14212         " or \.
14213
14214 2001-08-16  Juergen Vigna  <jug@sad.it>
14215
14216         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14217
14218 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14219
14220         * BufferView_pimpl.C:
14221         * figureForm.C:
14222         * lyxtext.h:
14223         * text2.C: setParagraph takes linespacing now
14224
14225 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14226
14227         * LyxAction.C: add internal LFUN_CITATION_INSERT
14228
14229         * LyXView.C: actually apply fix
14230
14231         * bufferlist.C: fix open non-existent file
14232
14233         * lyxfind.C: fix indentation
14234
14235         * lyxfunc.C: remove unneeded assert, fix typo
14236
14237 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14238
14239         * MenuBackend.C: use "Floatname List"
14240
14241 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14242
14243         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14244         when converting LaTeX layout to insetERT.
14245         Generate a non-collapsed float when reading old float
14246
14247 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14250         ERT insets.
14251
14252 2001-08-13  Juergen Vigna  <jug@sad.it>
14253
14254         * text.C (fill): return 0 instead of 20 as this seems to be the more
14255         correct value.
14256
14257 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14258
14259         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14260         lyxrc.font_norm.
14261
14262 2001-08-13  Juergen Vigna  <jug@sad.it>
14263
14264         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14265         casesensitive off.
14266         (SearchBackward): comment out the unlocking of the inset_owner this
14267         should not be needed!
14268
14269 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14270
14271         * Many files: Remove inherit_language, and add latex_language
14272
14273         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14274         collapsible insets.
14275
14276 2001-08-10  Juergen Vigna  <jug@sad.it>
14277
14278         * text.C (prepareToPrint): fixed hfill-width in draw!
14279
14280         * BufferView2.C (selectLastWord): save the selection cursor as this
14281         now is cleared in the function LyXText::clearSelection!
14282
14283 2001-08-08  Juergen Vigna  <jug@sad.it>
14284
14285         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14286         BACKSPACE type functions.
14287
14288         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14289         is only cutted from the document but not put in the cut-buffer, where
14290         still the old stuff should be.
14291
14292         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14293
14294         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14295
14296         * tabular.C (SetWidthOfCell): fixed special case where the width
14297         was not updated!
14298         (LeftLine): handle '|' in align_special.
14299         (RightLine): ditto
14300         (LeftAlreadyDrawed): ditto
14301         (SetWidthOfCell): ditto
14302
14303 2001-08-07  Juergen Vigna  <jug@sad.it>
14304
14305         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14306
14307 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14308
14309         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14310         * lyxlex.[hC]: ditto
14311
14312 2001-08-06  Juergen Vigna  <jug@sad.it>
14313
14314         * text.C (getVisibleRow): fix up row clearing a bit.
14315
14316 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14317
14318         * minibuffer.C: make sure the X server sees the changes in the input.
14319
14320 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14321
14322         * paragraph.C (getFont): split into...
14323         (getLabelFont): this
14324         (getLayoutFont): and this
14325         * paragraph_pimpl.C (realizeFont): calling this
14326
14327         * text2.C (getFont): split into...
14328         (getLayoutFont): this
14329         (getLabelFont): and this
14330         (realizeFont): all three calling this
14331
14332         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14333         files where used.
14334
14335 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14336
14337         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14338
14339 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14340
14341         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14342         layouts from the Quote inset insertion.
14343
14344 2001-08-03  Juergen Vigna  <jug@sad.it>
14345
14346         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14347
14348         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14349         only if status not is already CHANGED_IN_DRAW (second level).
14350
14351         * text.C (draw): don't set the need_break_row when inside an
14352         InsetText LyXText.
14353
14354 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * buffer.C (parseSingleLyXformat2Token): handle more latex
14357         conversion cases.
14358
14359         * bufferview_funcs.[hC]: change function names to
14360         begin with small char, adjust other files.
14361
14362 2001-08-02  André Pönitz <poenitz@gmx.net>
14363
14364         * lyxfunc.C:
14365         BufferView_pimpl.C: remove broken special code for math-greek
14366
14367 2001-08-02  Juergen Vigna  <jug@sad.it>
14368
14369         * BufferView_pimpl.C (update): redone this function so that we
14370         update the text again if there was a CHANGE_IN_DRAW.
14371
14372         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14373         (drawFromTo): added a new internal bool which is used by draw() and
14374         redraw() function.
14375         (general): some cursor drawing problems fixed.
14376
14377 2001-08-01  Juergen Vigna  <jug@sad.it>
14378
14379         * lyxfind.C (LyXFind): fixed
14380         (SearchForward): ditto
14381         (SearchBackward): ditto
14382
14383         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14384         spurius drawing of the cursor in the main area.
14385
14386         * text2.C (status): small fix which could lead to a segfault!
14387         (clearSelection): remove unneeded BufferView param.
14388
14389 2001-08-01  André Pönitz <poenitz@gmx.net>
14390
14391         * lyxfunc.C: small change due to changed mathed interface
14392
14393 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14394
14395         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14396
14397 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14398
14399         * lyxfunc.c: fail gracefully if file doesn't exist
14400
14401         * LyXSendto.C:
14402         * buffer.C:
14403         * lyxfunc.C:
14404         * BufferView_pimpl.C: IsDirWriteable() proto changed
14405
14406         * LyXView.C: fix updateWindowTitle() to store the last title
14407
14408 2001-07-31  Juergen Vigna  <jug@sad.it>
14409
14410         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14411         the font (wrong since using of Paragraph::highestFontInRange).
14412
14413         * paragraph.C (highestFontInRange): added a default_size parameter.
14414
14415         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14416         (setHeightOfRow): reformat
14417
14418 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14419
14420         * converter.[hC] + affected files: move to (inital-char)lowercase
14421         function names.
14422
14423         * ParagraphParameters.C (ParagraphParameters): remove commented code
14424
14425         * PainterBase.[Ch]: remove commented code
14426
14427         * LaTeXFeatures.h: add "bool floats" for float.sty
14428
14429         * LaTeXFeatures.C (LaTeXFeatures): init floats
14430         (require): handle float
14431         (getPackages): do it with floats
14432
14433 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14434
14435         * BufferView_pimpl.C (Dispatch): improve handling of
14436         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14437
14438         * commandtags.h: #include lyxfont.h here temporarily to avoid
14439         keybinding bug.
14440
14441         * bufferlist.h: include LString.h here.
14442
14443 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14444
14445         * text2.C (getStringToIndex): new method.
14446
14447 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14448
14449         * *: Reduced header file dependencies all over.
14450
14451 2001-07-30  Baruch Even  <baruch@lyx.org>
14452
14453         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14454
14455 2001-07-29  Baruch Even  <baruch@lyx.org>
14456
14457         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14458
14459 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14460
14461         * ParameterStruct.h (endif): add a default constructor to make
14462         sure that all variables is initialized.
14463
14464         * ParagraphParameters.C (ParagraphParameters): adjust
14465
14466 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14467
14468         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14469         index; also, check that there is something to index, and that it
14470         does not span over several paragraphs.
14471         (doubleClick): use WHOLE_WORD_STRICT for double click.
14472
14473         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14474
14475         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14476         scheme.
14477
14478 2001-07-26  Baruch Even  <baruch@lyx.org>
14479
14480         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14481         an InsetFig figure, backwards compatible reading of old figure code.
14482
14483 2001-07-27  Juergen Vigna  <jug@sad.it>
14484
14485         * text2.C: font.realize function adaption.
14486
14487         * text.C (draw): add a warnings lyxerr text if needed.
14488
14489         * layout.C: font.realize function adaption.
14490
14491         * language.C: add inherit_language and implement it's handlings
14492
14493         * bufferview_funcs.C (StyleReset): remove language parameter from
14494         font creation (should be language_inherit now).
14495
14496         * bufferparams.C (writeFile): handle ignore_language.
14497
14498         * paragraph.C (getFontSettings): the language has to be resolved
14499         otherwise we have problems in LyXFont!
14500
14501         * lyxfont.C (lyxWriteChanges): added document_language parameter
14502         (update): removed unneeded language parameter
14503
14504         * paragraph.C (validate): fixed wrong output of color-package when
14505         using interface colors for certain fonts in certain environments,
14506         which should not seen as that on the final output.
14507
14508 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14509
14510         * BufferView_pimpl.C:
14511         * Thesaurus.h:
14512         * Thesaurus.C:
14513         * Makefile.am:
14514         * commandtags.h:
14515         * LyXAction.C: add thesaurus support
14516
14517         * lyxfind.h:
14518         * lyxfind.C: add "once" parameter, for thesaurus, to not
14519           move to the next match
14520
14521 2001-07-26  Juergen Vigna  <jug@sad.it>
14522
14523         * lyxfont.C (realize): honor ignore_language too!
14524         (resolved): ditto.
14525
14526         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14527
14528         * text.C (draw): one place more for ignore_language to not draw
14529         itself!
14530
14531 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14532
14533         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14534
14535 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14536
14537         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14538         the minipage conversion problem.
14539
14540 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14541
14542         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14543         insert an inset.
14544
14545 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14546
14547         * BufferView.h: don't forward declare WorkArea
14548
14549         * BufferView.C: don't include WorkArea.h
14550
14551 2001-07-25  André Pönitz <poenitz@gmx.net>
14552
14553         * commandtags.h:
14554         * LyXAction.C:
14555         * lyxfunc.C:  new LFUN 'math-space'
14556
14557         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14558
14559 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14560
14561         * text2.C (toggleInset): call open/close
14562
14563 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14564
14565         * lyxfunc.C (dispatch): add debug for the disabled case
14566
14567         * font.C (buttonText): make similar to rectText
14568
14569         * buffer.C (readInset): comment out parsing of insetlist and
14570         insttheorem
14571
14572         * PainterBase.C (rectText): small correction
14573
14574         * BufferView_pimpl.C: comment out insettheorem and insetlist
14575         * LyXAction.C: ditto
14576         * commandtags.h: ditto
14577
14578 2001-07-24  Juergen Vigna  <jug@sad.it>
14579
14580         * text.C (draw): honor the ignore_language.
14581
14582         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14583
14584 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14587         char inset.
14588
14589 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14590
14591         * lyxtext.h: remove unused (and unimplemented) methods
14592
14593 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14594
14595         * text.C (getVisibleRow): honor background color
14596
14597         * PainterBase.h:
14598         * Painter.h: remove default color argument for fillRectangle
14599
14600         * text.C (backgroundColor): new method
14601
14602 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * text.C (getVisibleRow): adjust
14605
14606         * font.[Ch] (rectText): new method, metrics
14607         (buttonText): new method, metrics
14608
14609         * PainterBase.[hC]: make rectText and buttonText always draw and take
14610         fewer paramteres.
14611
14612 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14613
14614         * ToolbarDefaults.C (read):
14615         * MenuBackend.C (read): allow escaping in all strings
14616
14617         * BufferView_pimpl.C (insertAndEditInset): new method.
14618         (Dispatch): use insertAndEditInset whenever appropriate.
14619
14620         * BufferView_pimpl.C (insertNote): removed
14621
14622         * BufferView_pimpl.C (smartQuote): new method, moved from
14623         BufferView; if an insetquote cannot be inserted, insert a '"'
14624         character instead.
14625
14626         * BufferView2.C: remove insertCorrectQuote();
14627
14628         * lyxfunc.C (getStatus): Add support for all remaingin
14629         inset-insert lfuns.
14630
14631         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14632
14633         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14634         command (necessary to pass " as parameter of self-insert.
14635
14636         * text.C (selectWordWhenUnderCursor):
14637         (selectWord): add word_location parameter
14638         (selectWordWhenUnderCursor): same + remove special code for word
14639         boundary.
14640         (selectNextWord): use kind() to guess type of insetspecialchar,
14641         not latex().
14642
14643         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14644         (insertErtContents): create ert insets as collapsed.
14645         (readInset): better compatibility code for Info inset.
14646
14647 2001-07-20  Juergen Vigna  <jug@sad.it>
14648
14649         * lyxfunc.C (dispatch): use always LyXFind now!
14650
14651         * text2.C (init): add a reinit flag so that the LyXText can be
14652         reinited instead of deleted and reallocated (used in InsetText).
14653
14654         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14655
14656         * text.C: ditto
14657
14658         * text2.C: ditto
14659
14660 2001-07-18  Juergen Vigna  <jug@sad.it>
14661
14662         * text.C (selectNextWord): handle insets inside inset by calling
14663         always the bv->text functions so that we can go up the_locking_inset!
14664
14665         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14666         in strange locations when inside an inset!
14667
14668         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14669         handling to include insets.
14670
14671         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14672
14673 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14674
14675         * LyXAction.C (init):
14676         * commandtags.h:
14677         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14678         LIGATURE_BREAK, since the name is so stupid.
14679
14680 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14681
14682         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14683         InsetInfos.
14684
14685         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14686
14687         * sp_form.[Ch]: remove.
14688
14689         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14690
14691         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14692         InsetInfo.
14693
14694         * src/buffer.C (readInset): ditto.
14695
14696 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14697
14698         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14699         menuSeparator(), endOfSentenceDot(), ldots() and
14700         hyphenationPoint(), which are therefore removed.
14701         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14702
14703         * LyXAction.C (init):
14704         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14705
14706         * paragraph.C (getWord): removed.
14707
14708         * BufferView_pimpl.C (Dispatch): use last word or selection for
14709         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14710
14711         * lyx_main.C (queryUserLyXDir): do not ask before creating
14712         user_dir, except if it has been named explicitely.
14713
14714 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14715
14716         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14717         a document of zero size.
14718
14719 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14720
14721         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14722         approriately in the c-tor and in require().
14723         (getPackages): output the appropriate LaTeX for natbib support.
14724
14725         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14726         variables "use_natbib" and "use_numerical_citations" when reading the
14727         LyX file.
14728         (readInset): read the various natbib cite commands.
14729         (validate): white-space change.
14730
14731         * bufferparams.[Ch]: new variables "bool use_natbib" and
14732         "bool use_numerical_citations".
14733         (writeFile): output them in the LyX file.
14734
14735 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14736
14737         * lyxfunc.C (getStatus): add support for all the inset insertion
14738         commands.
14739
14740         * text2.C (insertInset):
14741         * paragraph.C (insetAllowed):
14742         * BufferView_pimpl.C (insertInset): update to take in account the
14743         renaming of insertInsetAllowed
14744
14745         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14746
14747         * text2.C (getInset): new method. returns inset at cursor position.
14748
14749         * BufferView_pimpl.C (Dispatch): changes because of this.
14750
14751         * LyXAction.C (init): rename open-stuff to inset-toggle.
14752
14753         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14754
14755         * text2.C (toggleInset): renamed from openStuff; use
14756         Inset::open().
14757
14758 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14759
14760         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14761
14762         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14763
14764 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14765
14766         * buffer.C (readLyXformat2): Add filename to the error dialog
14767
14768 2001-07-18  Juergen Vigna  <jug@sad.it>
14769
14770         * tabular.C (GetCellNumber): put an assert here instead of the check!
14771
14772 2001-07-17  Juergen Vigna  <jug@sad.it>
14773
14774         * BufferView_pimpl.C (toggleSelection): adapted too.
14775
14776         * text.C (selectNextWord): adapted for use with insets.
14777         (selectSelectedWord): ditto
14778
14779 2001-07-17  Juergen Vigna  <jug@sad.it>
14780
14781         * sp_spell.C (PSpell): fix initialitation order.
14782
14783 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * paragraph.C: spacing
14786
14787 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14788
14789         * sp_spell.C: repair language selection for pspell
14790
14791 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14792
14793         * lyxfunc.h: change more methods to begin with lower char.
14794
14795 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14796
14797         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14798         for unknown layouts.
14799
14800 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14801
14802         * buffer.C (readLyXformat2): Generate an error dialog if there are
14803         unknown layouts.
14804
14805 2001-07-16  Juergen Vigna  <jug@sad.it>
14806
14807         * sp_spell.C: always compile ISpell part.
14808
14809         * lyxrc.C: added use_pspell entry and it's handling.
14810
14811 2001-07-13  Juergen Vigna  <jug@sad.it>
14812
14813         * sp_spell.C: removed double includes.
14814
14815 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14816
14817         Consistent use of Lsstream.h:
14818         * Lsstream.h: added using std::stringstream for consistencies sake.
14819
14820         * buffer.C: removed using std::stringstream
14821
14822         * lyxfont.C (stateText):
14823         * paragraph.C (asString):
14824         * text.C (selectNextWord, selectSelectedWord):
14825         * text2.C (setCounter):
14826         * vspace.C (asString, asLatexString):
14827         std::ostringstream -> ostringstream.
14828
14829 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14830
14831         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14832         * commandtags.h: add LFUN_HELP_ABOUTLYX
14833         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14834
14835 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14836
14837         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14838         cursorToggle()
14839         * lyx_gui_misc.C: remove spellchecker
14840         * lyxfunc.C: showSpellchecker
14841         * sp_base.h: added
14842         * sp_ispell.h: added
14843         * sp_pspell.h: added
14844         * sp_spell.C: added
14845         * sp_form.[Ch]: removed
14846         * spellchecker.[Ch]: removed
14847
14848 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14849
14850         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14851         is set.
14852         (simpleTeXSpecialChars): Simply print the input character without
14853         any special translation if pass_thru is set.
14854
14855         * layout.h: Added bool pass_thru to layout class for being able to
14856         implement pass through of a paragraph for Literate Programming.
14857
14858         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14859         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14860         * layout.C (Read): add "passthru" to list of layout tags and add
14861         code to set the pass_thru boolean when it is read.
14862
14863 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14864
14865         * trans_decl.h: remove allowed from KmodInfo
14866
14867         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14868         remove allowed code
14869         (Load): adjust
14870
14871         * paragraph_pimpl.C (erase): use boost::prior
14872
14873         * Painter.C (text): use data() instead of c_str() when length is
14874         also provided.
14875         * WorkArea.C (putClipboard): ditto
14876         * font.h (width): ditto
14877
14878         * BufferView2.C: use it-> instead of (*it). for iterators
14879         * texrow.C: ditto
14880         * paragraph_pimpl.C: ditto
14881         * paragraph.C: ditto
14882         * minibuffer.C: ditto
14883         * language.C: ditto
14884         * kbmap.C: ditto
14885         * encoding.C: ditto
14886         * counters.C: ditto
14887         * converter.C: ditto
14888         * chset.C: ditto
14889         * Variables.C: ditto
14890         * TextCache.C: ditto
14891         * MenuBackend.C: ditto
14892         * LyXAction.C: ditto
14893         * LColor.C: ditto
14894         * FloatList.C: ditto
14895         * DepTable.C: ditto
14896         * ColorHandler.C (LyXColorHandler): ditto
14897
14898 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14899
14900         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14901
14902         * text2.C (openStuff): reintroduce this method (which had been
14903         nuked in NEW_INSETS frenzy).
14904
14905         * lyxfunc.C (Dispatch): when an action has not been handled, use
14906         its name in the error message, not its number.
14907
14908         * paragraph.C (inInset): change method name to begin with lowercase.
14909
14910         * undo_funcs.C:
14911         * text2.C: updates because of this.
14912
14913 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14914
14915         * ToolbarDefaults.C (add): add spaces in error message
14916
14917 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14918
14919         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14920         (readLyXformat2): rename return_par to first_par, use lyxlex's
14921         pushToken and remove the manual push handling.
14922         (parseSingleLyXformat2Token): add another ert comp. variable:
14923         in_tabular, rename return_par to first_par. handle newlines better
14924
14925 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14926
14927         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14928
14929 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14930
14931         * text2.C (getParFromID): removed
14932
14933         * buffer.C (getParFromID): new method moved form lyxtext.
14934         * BufferView2.C (insertErrors): adjust
14935         (setCursorFromRow): adjust
14936         * BufferView_pimpl.C (restorePosition): adjust
14937         * lyxfunc.C (Dispatch): adjust
14938         * undo_funcs.C (textUndo): adjust
14939         (textRedo): adjust
14940         (textHandleUndo): adjust
14941         (textHandleUndo): adjust
14942
14943 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14944
14945         * buffer.C: up' the LYX_FORMAT
14946
14947         * lyxfont.h: turn NO_LATEX on as default
14948
14949         * buffer.C (insertErtContents): new methods of tex style compability.
14950         (parseSingleLyXformat2Token): use it several places.
14951         * tabular.C (OldFormatRead): and here
14952
14953 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * text2.C: remove some commented code.
14956         reindent file.
14957
14958         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14959         * trans.C: changes because of the above.
14960
14961 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14962
14963         * text2.C (setCounter): Fix counters bug with bibliography layout.
14964
14965 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14968         own member functions
14969         (simpleTeXSpecialChars): ditto
14970
14971 2001-07-06  Juergen Vigna  <jug@sad.it>
14972
14973         * a lot of files: changed the access to LyXText::status and the
14974         call of undo-functions.
14975
14976         * undo.[Ch]: added a inset_id to the undo informations.
14977
14978         * undo_funcs.[Ch]: added and moved here all undo functions.
14979
14980         * lyxtext.h: give the status enum a weight, made status_ a private
14981         variable and made accessor functions for it, removed the whole bunch
14982         of undo-functions as they are now in their own file, make some
14983         functions publically available. Added function ownerParagraph with
14984         int parameter.
14985
14986         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14987         made InInset() a const function, added getParFromID() function.
14988
14989         * buffer.[Ch]: added const version for inset_iterator functions,
14990         added getInsetFromID() function.
14991
14992         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14993         changed undo functions for new version.
14994
14995 2001-07-05  Juergen Vigna  <jug@sad.it>
14996
14997         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14998         unknow mechanism does not call the proper constructor but only this
14999         one also if I request the other!?
15000
15001 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15004
15005         * text2.C (LyXText): use initialization lists.
15006
15007         * lyxtext.h (Selection): initialize set_ and mark_
15008         (init): remove method
15009
15010 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15013
15014 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15015
15016         * screen.[Ch]: change method names to begin with lowercase
15017
15018         * BufferView_pimpl.C (updateScrollbar): simplify further and
15019         hopefully make it a bit faster.
15020
15021 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15022
15023         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15024         calling directly xforms functions.
15025
15026         * Painter.C (Painter):
15027         * lyx_cb.C (MenuWrite):
15028         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15029         fl_display.
15030
15031         * lyx_gui.C: remove bogus guiruntime extern declaration.
15032
15033 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15034
15035         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15036         in NEW_INSETS
15037         (redoDrawingOfParagraph): ditto
15038         (redoParagraphs): ditto
15039         (cutSelection): don't create a object for CutAndPaste use the
15040         static method directly
15041         (pasteSelection): ditto
15042
15043         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15044         LyXview (+ rename)
15045
15046 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15047
15048         * modifications to some other files because of this.
15049
15050         * Makefile.am (lyx_SOURCES): add XFormsView
15051
15052         * XFormsView.[Ch]: new files
15053
15054         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15055         the main window. Move the gui dependent stuff to XFormsView
15056
15057 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15058
15059         * tabular.C (GetCellInset): update cur_cell also in the row/col
15060         version of this function.
15061
15062         * lyxfunc.C: no need to include figure_form.h here.
15063
15064         * FontLoader.h:
15065         * lyxfunc.h:
15066         * lyxscreen.h:
15067         * text2.C:
15068         * lyxvc.C: no need to include forms.h here.
15069
15070 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15071
15072         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15073
15074         * lyxfunc.C (Dispatch):
15075         * Spacing.C (set):
15076         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15077         constructor argument.
15078
15079 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15080
15081         * paragraph.C (Paragraph): dont't clear, and just set layout.
15082         (makeSameLayout): use params's copy contructor.
15083
15084         * ParagraphParameters.[Ch] (makeSame): delete method
15085
15086 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15087
15088         * Variables.[Ch]: fix indentation, rename set to isSet
15089
15090 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15091
15092         * lyxfunc.C (Dispatch): fix typo
15093
15094 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15095
15096         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15097         upper_bound.
15098
15099         * bufferlist.C: include assert.h for emergencyWrite().
15100
15101 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15102
15103         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15104           give up at last (bug #425202) !
15105
15106 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * lyx_gui_misc.C:
15109         * sp_form.h:
15110         * sp_form.C:
15111         * spellchecker.h:
15112         * spellchecker.C: strip spellchecker options and bring up
15113           preferences tab instead
15114
15115 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15116
15117         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15118         the istringstream constructor
15119
15120 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15121
15122         * paragraph.C (getLayout): fix return value
15123
15124         * paragraph.h: do not declare getLayout as inline.
15125
15126         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15127
15128 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15129
15130         * lyxcursor.h (operator<): new func
15131         (operator>): new func
15132         (operator>=): new func
15133         (operator<=): new func
15134
15135         * text.C (changeCase): use selection.start and selection.end
15136         (changeRegionCase): require from to be <= to. Require par to be a
15137         valid paragraph.
15138
15139         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15140
15141 2001-06-27  Juergen Vigna  <jug@sad.it>
15142
15143         * text.C (cursorLeftOneWord): changed to return the cursor and added
15144         overlay with BufferView * parameter which calls this one.
15145         (getWord): added
15146         (selectWord): use new getWord function.
15147         (changeCase): renamed from changeWordCase as and extended to work
15148         also on selections.
15149
15150         * lyxtext.h: added enum word_location
15151
15152         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15153         changeCase as this operates now also on selections.
15154
15155 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15156
15157         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15158
15159         * many files: send debug output to Debug::INFO instead of
15160         Debug::ANY.
15161
15162         * converter.C (View):
15163         (Convert):
15164         (Move): send debug output to Debug::FILES instead of console.
15165
15166 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15167
15168         * lyxfunc.C (getStatus): use func_status
15169
15170         * func_status.h: new header, describing the results of
15171         LyXFunc::getStatus;
15172
15173         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15174         LFUN_MATH_HALIGN.
15175
15176 2001-06-25  The LyX Project  <jug@sad.it>
15177
15178         * buffer.C (sgmlOpenTag):
15179         (sgmlCloseTag):
15180         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15181
15182 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15183
15184         * text2.C: remove some dead code
15185
15186         * tabular.C (GetCellInset): store the last cell checked (gotten)
15187
15188         * tabular.h: add the helper for the speedup
15189
15190         * lyxtext.h: remove some dead code
15191
15192 2001-06-26  The LyX Project  <Asger>
15193
15194         * paragraph.C: Change export to LaTeX of alignment to
15195         \begin{center} and family for better roundtrip work with reLyX.
15196
15197         * Tune the math drawing a bit.
15198
15199 2001-06-25  The LyX Project  <Asger>
15200
15201         * LColor.C (LColor): New color for math background. New color
15202         for buttons.
15203
15204 2001-06-25  The LyX Project  <jug@sad.it>
15205
15206         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15207
15208         * lyxfunc.C (Open):
15209         * bufferlist.C (newFile): do not restrict to files ending with
15210         .lyx
15211
15212         * BufferView_pimpl.C (MenuInsertLyXFile):
15213
15214 2001-06-24  The LyX Project  <jug@sad.it>
15215
15216         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15217         of compare_no_case
15218
15219 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * lyxtext.h: rename most methods to begin with a small char.
15222         Lots of changes because of this.
15223
15224         * paragraph.C (Paragraph): do not call fitToSize
15225         (erase): call Pimpl::erase
15226         (insertChar): call Pimpl::insertChar
15227         (insertInset): call Pipl::insertInset
15228         (breakParagraph): do not call fitToSize
15229         (breakParagraphConservative): do not call fitToSize
15230         (fitToSize): remove method
15231
15232         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15233
15234 2001-06-24  The LyX Project  <Asger>
15235
15236         * Fix Qt compilation^2
15237
15238 2001-06-24  The LyX Project  <jug@sad.it>
15239
15240         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15241         depthHook(getDepth()-1).
15242
15243         * paragraph.h:
15244         * ParagraphParameters.h:
15245         * ParameterStruct.h: change type of depth to unsigned int ==
15246         depth_type. Many adaptations to other files before of that.
15247
15248 2001-06-24  The LyX Project  <Asger>
15249
15250         * Fix Qt compilation.
15251
15252 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15253
15254         * paragraph.h: renamed several methods to begin with small letter.
15255         several changes to many parts of the code because of this.
15256
15257 2001-06-23  The LyX Project  <jug@sad.it>
15258
15259         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15260         rewritten to discard all double spaces when KeepEmpty is off
15261         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15262         to only handle newlines but not fiddle with spaces and friends.
15263
15264         * lyxfunc.C (MenuNew): when doing 'new from template', use
15265         template_path as default directory
15266
15267 2001-06-23  The LyX Project  <Asger>
15268
15269         * Clean-up of header file includes all over
15270         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15271
15272 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15273
15274         * paragraph.h: renamed from lyxparagraph.h
15275
15276 2001-06-23  Asger  <lyx@violet.home.sad.it>
15277
15278         * Buffer.h: Removed Buffer::resize
15279         * BufferList.h: Removed BufferList::resize
15280         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15281         the document lazily when we change the width, or the font settings.
15282
15283 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15284
15285         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15286
15287 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15288
15289         * buffer.h: remove out of date comment
15290
15291 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15292
15293         * lyxscreen.h:
15294         * screen.C: fix "theoretical" GC leak
15295
15296 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15297
15298         * LaTeX.C (scanAuxFile):
15299         (deplog): remove trailing \r when reading stream (useful under
15300         win32)
15301
15302 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15303
15304         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15305         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15306         and BufferView::theLockingInset(Inset*), so should use them and not
15307         access bv_->text->the_locking_inset directly.
15308
15309         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15310
15311 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15312
15313         * Makefile.am:
15314         * tex-defs.h: remove old unused file
15315
15316 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15317
15318         * BufferView_pimpl.C: fix typo, remove minibuffer message
15319           when buffer has loaded
15320
15321 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15322
15323         * lyxfunc.C (Dispatch): use stringstream
15324         (MenuNew): use stringstream
15325         (Open): use stringstream
15326
15327         * importer.C (Import): use stringstream
15328
15329         * bufferview_funcs.C (CurrentState): use stringstream
15330
15331         * LaTeX.C (run): use stringstream
15332
15333         * BufferView_pimpl.C (savePosition): use stringstream
15334         (restorePosition): use stringstream
15335         (MenuInsertLyXFile): use stringstream
15336
15337 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15338
15339         * BufferView.C:
15340         * Bullet.C:
15341         * ColorHandler.C:
15342         * FontInfo.C:
15343         * FontLoader.C:
15344         * LColor.C:
15345         * LaTeXFeatures.C:
15346         * Painter.C:
15347         * gettext.C:
15348         * lyx_gui_misc.C:
15349         * lyxserver.C:
15350         * vspace.C: removed // -*- C++ -*- as first line.
15351
15352         * lyxfind.h:
15353         * version.h: added // -*- C++ -*- as first line.
15354
15355 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15356
15357         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15358
15359         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15360         of string
15361
15362 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15363
15364         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15365         of floats.
15366
15367 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15368
15369         * gettext.C: include LString.h even when --disable-nls is on.
15370
15371 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15372
15373         * converter.h (Get): changed argument type from int to
15374         FormatList::size_type to avoid unnecessary conversion.
15375
15376         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15377         before using it.
15378
15379 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * gettext.h: include LString.h even when --disable-nls is on.
15382
15383 2001-06-07  Juergen Vigna  <jug@sad.it>
15384
15385         * text.C (BreakAgain): subst spaces with tabs.
15386
15387         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15388         (resizeInsetsLyXText): set force on resizeLyXText.
15389
15390 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * gettext.h (gettext_init):
15393         (locale_init): use a real definition instead of a macro
15394
15395 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15396
15397         * Bufferview_pimpl.C:
15398         * LColor.h:
15399         * LColor.C: further lcolor tidies
15400
15401 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15402
15403         * BufferView_pimpl.C (updateScrollbar): simplify.
15404
15405         * BufferView2.C: don't include insets/insetinfo.h, change
15406         prototype for insertInset and call the Pimpl version. let
15407         updateInset call Pimpl version.
15408
15409         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15410         gotoInset to BufferView::Pimpl
15411
15412 2001-06-01  Juergen Vigna  <jug@sad.it>
15413
15414         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15415         inside a LockingInset (is the update needed at all?).
15416
15417 2001-05-31  Juergen Vigna  <jug@sad.it>
15418
15419         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15420         here not the old one otherwise how should we compare it afterwards
15421         if it's the same!
15422
15423 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15424
15425         * lyxfont.C:
15426         * tabular.C:
15427         * tabular-old.C:
15428         * FontInfo.C: bring C functions into global namespace when
15429         necessary
15430
15431 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15432
15433         * LString.h: make sure config.h has been loaded before LString.h.
15434
15435         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15436         (one for each char read by EatLine!).
15437
15438         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15439         variables.
15440
15441 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15442
15443         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15444         to the same as the par we break from
15445
15446 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15447
15448         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15449
15450         * MenuBackend.C (expand): also create menu entries for wide
15451         versions of the floats.
15452
15453         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15454
15455         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15456
15457         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15458         frontends/Makefile.am
15459
15460         * text2.C: adjust
15461         * text.C: adjust
15462
15463
15464         * tabular.C (getTokenValue): add std::
15465
15466         * tabular-old.C (getTokenValue): add std::
15467         (getTokenValue): ditto
15468         (getTokenValue): ditto
15469
15470         * screen.C (ToggleSelection): adjust
15471
15472         * lyxtext.h: put selection cursors inside a Selection struct.
15473
15474         * lyxfunc.C (moveCursorUpdate): adjust
15475
15476         * lyxfont.C (latexWriteStartChanges): add std::
15477
15478         * lyxfind.C: adjust
15479
15480         * font.h: delete with(char const *, LyXFont const &)
15481
15482         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15483
15484         * FontInfo.C (getFontname): add std::
15485
15486         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15487         (workAreaButtonPress): adjust
15488         (tripleClick): adjust
15489         (update): adjust
15490         (moveCursorUpdate): adjust
15491         (Dispatch): adjust
15492
15493         * BufferView2.C (gotoInset): adjust
15494
15495 2001-05-30  Juergen Vigna  <jug@sad.it>
15496
15497         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15498         to check pspell I add this as default as I now have new pspell
15499         libraries and they seem to use this.
15500
15501 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15502
15503         * text2.C (CutSelection): make the cursor valid before the call to
15504         ClearSelection.
15505
15506 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15507
15508         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15509         relied on 0 terminated strings and other horrors. Bug found due to
15510         the new assert in lyxstring!
15511
15512         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15513         KP_ keys.
15514
15515 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15518         to latinkeys.bind.
15519
15520         * lyxfunc.C (processKeySym): change method of getting to the
15521         self-insert char.
15522
15523         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15524         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15525         * BufferView_pimpl.[Ch]: here as private methods.
15526
15527 2001-05-28  Juergen Vigna  <jug@sad.it>
15528
15529         * text.C (SetHeightOfRow): added the update() call again as it is
15530         needed to initialize inset dimensions!
15531
15532 2001-05-16  Juergen Vigna  <jug@sad.it>
15533
15534         * text2.C (SetCharFont): Add new function with BufferView * and
15535         bool toggleall parameters for setting insets internal fonts.
15536         (SetFont): Freeze the undo as we may change fonts in Insets and
15537         all this change should be inside only one Undo!
15538
15539         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15540         setting font's in insets as for them we have the SetFont function!
15541
15542 2001-05-15  Juergen Vigna  <jug@sad.it>
15543
15544         * text2.C (ClearSelection): to be sure we REALLY don't have any
15545         selection anymore!
15546
15547         * tabular.C (TeXCellPreamble): fixed the left border problem for
15548         multicolumn cells.
15549
15550 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15551
15552         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15553         dependancy file
15554
15555 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15558         LFUN_BREAKPARAGRAPH.
15559
15560         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15561         help test to "internal only", similar for LFUN_INSERT_URL
15562
15563         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15564         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15565         auto_region_delete and deadkeys.
15566
15567 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15568
15569         * LColor.h:
15570         * LColor.C: remove some dead entries, tidy a little
15571
15572 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15573
15574         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15575         commented code.
15576         (Dispatch): implement LFUN_ESCAPE
15577
15578         * commandtags.h: add LFUN_ESCAPE
15579
15580         * LyXAction.C (init): add entry for LFUN_ESCAPE
15581
15582         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15583         Remove commented code.
15584         (insertNote): moved here
15585         (open_new_inset): moved here
15586
15587         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15588         BufferView_pimpl
15589
15590 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15591
15592         * kbmap.C (findbinding): clean it up and make it work correctly.
15593
15594         * lyx_main.C (init): do not pass argc and argv as parameters
15595
15596 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15597
15598         * buffer.C: fix path for OS/2 & Win32
15599
15600         * lyx_gui.C:
15601         * lyx_main:
15602         * lyx_main.C: Added os:: class.
15603
15604         * os2_defines.h: update
15605
15606 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15607
15608         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15609         better by trying again with reduced state.
15610
15611 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * lyxrc.C (read): print error about invalid key sequence only when
15614         debugging (because not all latinX keysyms are known to some X
15615         servers)
15616
15617         * kbsequence.C (getiso): add a few std:: qualifiers
15618         (getiso): comment out extra return statement.
15619
15620 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15621
15622         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15623         handling.
15624         (Dispatch): enhance the accent inset a bit. (not perfect)
15625
15626 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15627
15628         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15629
15630 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15631
15632         * bufferlist.C (emergencyWrite): fix assert() call
15633
15634 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15635
15636         * text.C (InsertChar): Added trivial patch to only send the "you
15637         can not do multiple spaces this way" message once during a
15638         session.
15639
15640 2001-05-08  Baruch Even  <baruch@lyx.org>
15641
15642         * Makefile.am: Changed order of libraries to get LyX to link properly
15643         with the gnome frontend.
15644
15645 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15646
15647         * LaTeXFeatures.h: add a std:: qualifier
15648
15649 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15650
15651         * paragraph.C (String): use stringstream
15652
15653 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15654
15655         * paragraph.C (writeFile): remove footflag arg
15656
15657         * buffer.C (makeLaTeXFile): use stringstream
15658         (latexParagraphs): remove footnot gurba
15659
15660         * LaTeXFeatures.C (getPackages): use stringstream
15661         (getMacros): likewise
15662         (getTClassPreamble): likewise
15663         (getFloatDefinitions): new method
15664
15665         * paragraph.C (writeFile): reindent
15666         (Erase): reindent
15667
15668         * WorkArea.h: revert the xpos + etc changes.
15669
15670         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15671
15672         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15673
15674         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15675         (pasteSelection): likewise
15676         * text2.C (CreateUndo): likewise
15677
15678 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15679
15680         * minibuffer.C (peek_event): temporarily reduce the functionality
15681         of the minibuffer (to allow args on lfuns)
15682
15683         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15684         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15685
15686         * buffer.C (readInset): add compability reading of old float
15687         lists, add reading of new style float list.
15688         (readInset): avoid reevaluation of inscmd.getCmdName()
15689         (getLists): reindent
15690
15691         * MenuBackend.C (MenuItem): implement parsing of
15692         md_floatlistinsert and md_floatinsert.
15693         (expand::LastFiles): move initalizaton of iterators out of loop,
15694         avoid reevaluation.
15695         (expand::Documents): introduce typdedef vector<string> Strings,
15696         and use it.
15697         (expand::ExportFormats): introduce typedef vector<Format const *>
15698         Formats, and use it.
15699         (expand): implement FloatListInsert and FloatInsert.
15700
15701         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15702         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15703         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15704
15705         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15706         handling.
15707         (Dispatch::LFUN_FLOAT_LIST): implement
15708
15709 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15710
15711         * LaTeX.C (run): Fix problem with --export code.
15712
15713 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15714
15715         * BufferView.[Ch] (workarea): removed.
15716         (getClipboard) new method; wrapper for workarea()->getClipboard()
15717
15718         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15719         bug.
15720
15721         * WorkArea.h (width, height, xpos, ypos): These methods all
15722         returned the dimensions of the work_area sub-area of WorkArea,
15723         resulting in a position error if the WorkArea were resized. Now
15724         return the dimensions of the entire WorkArea.
15725
15726         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15727
15728 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15729
15730         * LaTeX.C (deplog): correct the syntax of regex reg1
15731
15732 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15733
15734         * undo.C: remove !NEW_INSETS cruft
15735
15736 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15737
15738         * text2.C: remove !NEW_INSETS cruft
15739
15740         * text.C: remove !NEW_INSETS cruft
15741
15742         * tabular.C: remove !NEW_INSETS cruft
15743
15744         * spellchecker.C: remove !NEW_INSETS cruft
15745
15746         * lyxtext.h: remove !NEW_INSETS cruft
15747
15748         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15749
15750         * lyxfunc.C: remove !NEW_INSETS cruft
15751
15752         * lyxfind.C: remove !NEW_INSETS cruft
15753
15754         * lyx_cb.C: remove !NEW_INSETS cruft
15755
15756         * figureForm.C: remove  !NEW_INSETS cruft
15757
15758         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15759
15760         * buffer.[Ch]: remove !NEW_INSETS cruft
15761
15762         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15763
15764         * CutAndPaste.C: remove !NEW_INSETS cruft
15765
15766         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15767
15768         * BufferView2.C: remove !NEW_INSETS cruft
15769
15770         * BufferView.h: remove !NEW_INSETS cruft
15771
15772 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * Lsstream.h: include LString.h before the sstream headers to
15775         fix problem with gcc 2.95.3 and lyxstring
15776
15777 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15778
15779         * lyx_main.C: add using directives when needed for C functions
15780         declared in std:: namespace.
15781
15782 2001-04-27  Juergen Vigna  <jug@sad.it>
15783
15784         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15785         (SetHeightOfRow): comment out the update call should not be needed!
15786
15787 2001-04-13  Juergen Vigna  <jug@sad.it>
15788
15789         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15790         (LyXTabular): tried to minimize operator= operations (and realized
15791         hopfully Lars wish).
15792
15793 2001-04-27  Juergen Vigna  <jug@sad.it>
15794
15795         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15796
15797 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15800
15801         * buffer.C (readInset): hack to make listof algorithm work
15802
15803         * BufferView_pimpl.C: hack to make listof algorithm work
15804
15805 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15806
15807         * LyXAction.C: removed all !NEW_INSETS cruft
15808         (init): moved lfun_item in method
15809
15810         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15811
15812 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15813
15814         * BufferView2.C (theLockingInset): white space.
15815
15816 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15817
15818         * minibuffer.C: include <iostream>
15819
15820         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15821
15822         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15823
15824         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15825
15826         * text.[Ch] (TransposeChars): new method
15827
15828 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15829
15830         * call message directly through LyXView instead of through LyXFunc
15831         * BufferView2.C: adjust
15832         * BufferView_pimpl.C: adjust
15833         * FontLoader.C: adjust
15834         * buffer.C: adjust
15835         * bufferview_funcs.C: adjust
15836         * converter.C: adjust
15837         * figureForm.C: adjust
15838         * importer.C: adjust
15839         * lyx_cb.C: adjust
15840         * lyx_gui_misc.C: adjust
15841         * lyxfunc.C: adjust
15842         * lyxvc.C: adjust
15843         * text2.C: adjust
15844         + more files in subdirs
15845
15846         * lyxparagraph.h (size): move up int file
15847         (GetLayout): ditto
15848
15849         * adjust all uses of Assert to lyx::Assert.
15850
15851         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15852         lyxfunctional in namespace lyx
15853         * layout.C (hasLayout): ditto
15854         (GetLayout): ditto
15855         (GetLayout): ditto
15856         (delete_layout): ditto
15857         (NumberOfClass): ditto
15858         * converter.C (GetFormat): ditto
15859         (GetNumber): ditto
15860         (Add): ditto
15861         (Delete): ditto
15862         (SetViewer): ditto
15863         * bufferlist.C (getFileNames): ditto
15864         (emergencyWriteAll): ditto
15865         (exists): ditto
15866         (getBuffer): ditto
15867         * MenuBackend.C (hasSubmenu): ditto
15868         (hasMenu): ditto
15869         (getMenu): ditto
15870         * BufferView_pimpl.C (getInsetByCode): ditto
15871
15872 2001-04-18  Juergen Vigna  <jug@sad.it>
15873
15874         * vspace.C (asLatexString): fixed the 100% problem.
15875
15876 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15877
15878         * lyxfunc.C (Dispatch):
15879         * minibuffer.C:
15880         * minibuffer.h: add a few std:: qualifiers
15881
15882 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15883
15884         * minibuffer.[Ch]: reimplement so that commands is initiated and
15885         run from lyxfunc, simplified som handling, and made the completion
15886         and history code for complete. wip.
15887
15888         * lyxfunc.C (processKeySym): call message
15889         (miniDispatch): new temporary method
15890         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15891         (LFUN_MESSAGE): implement
15892         (LFUN_MESSAGE_PUSH): implement
15893         (LFUN_MESSAGE_POP): implement
15894         (initMiniBuffer): the initial/defualt minibuffer message.
15895
15896         * lyxfont.[Ch]: inline some more getters
15897
15898         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15899
15900         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15901
15902         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15903         (AutoSave): use LFUN_MESSAGE
15904         (Reconfigure): ditto
15905
15906         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15907
15908         * figureForm.C: use LFUN_MESSAGE
15909
15910         * converter.C (runLaTeX): use LFUN_MESSAGE
15911
15912         * bufferview_funcs.C: use LFUN_MESSAGE
15913         (Melt): ditto
15914         (changeDepth): ditto
15915
15916         * bufferparams.h: use boost::
15917
15918         * bufferlist.h: inherit privately from noncopyable
15919
15920         * bufferlist.C (loadLyXFile): remove some commented code.
15921
15922         * buffer.C (runChktex): use LFUN_MESSAGE
15923
15924         * ShareContainer.h: inherit privately from noncopyable
15925
15926         * ParagraphParameters.[hC] (depth): inline it.
15927
15928         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15929         methods.
15930         (message): new method
15931         (messagePush): ditto
15932         (messagePop): ditto
15933         (show): init minibuffer
15934         (showState): direct call
15935
15936         * LaTeX.[Ch]: inherit privately from noncopyable
15937         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15938         instead of WriteStatus.
15939
15940         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15941
15942         * BufferView_pimpl.C (buffer): don't init minibuffer
15943         (workAreaButtonPress): use LFUN_MESSAGE
15944         (workAreaButtonRelease): ditto
15945         (savePosition): ditto
15946         (restorePosition): ditto
15947         (MenuInsertLyXFile): ditto
15948         (workAreaExpose): don't init minibuffer
15949         (update): remove commented code, simplify
15950
15951         * BufferView2.C (openStuff): use LFUN_MESSAGE
15952         (toggleFloat): ditto
15953         (menuUndo): ditto
15954         (menuRedo): ditto
15955         (copyEnvironment): ditto
15956         (pasteEnvironment): ditto
15957         (copy): ditto
15958         (cut): ditto
15959         (paste): ditto
15960         (gotoInset): ditto
15961         (updateInset): remove some commented code
15962
15963         * lastfiles.h: inherit privately from noncopyable
15964         * layout.h: ditto
15965         * lyx_gui.h: ditto
15966         * lyx_main.h: ditto
15967         * lyxlex.h: ditto
15968         * lyxlex_pimpl.h: ditto
15969
15970         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15971         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15972         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15973
15974         * LyXAction.h: inherit privately from noncopyable, add methods
15975         func_begin, func_end, returning iterators to the func map.
15976
15977         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15978         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15979         (func_begin): new method
15980         (func_end): new method
15981
15982         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15983         and not)
15984         (copySelection): ditto
15985         (pasteSelection): ditto
15986
15987         * BufferView.C: whitespace change
15988         * BufferView.h: inherit privately from noncopyable
15989
15990 2001-04-16  Allan Rae  <rae@lyx.org>
15991
15992         * tabular-old.C (l_getline):
15993         * spellchecker.C (sc_check_word):
15994         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15995         an unrecognised preprocessor directive.  So ensure they're wrapped.
15996
15997 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15998
15999         * src/exporter.C (Export): Give an error message when path to file
16000         contains spaces.
16001
16002 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16003
16004         * LaTeX.C (deplog): Always check that foundfile exists.
16005
16006 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16007
16008         * lyx_main.h:
16009         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16010
16011 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16012
16013         * tabular.[Ch] (getLabelList): implement new method
16014
16015         * minibuffer.h: comment ouf setTiimer
16016
16017         * minibuffer.C (ExecutingCB): constify res
16018         (peek_event): constify s
16019         (Set): constify ntext
16020         (Init): constify nicename
16021
16022         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16023
16024         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16025         (savePosition): use two params to Minibuffer::Set
16026         (restorePosition): ditto
16027
16028 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * lyx_main.C: include language.h
16031
16032         * Makefile.am (lyx_main.o): add language.h
16033
16034 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16035
16036         * exporter.C:
16037         * paragraph.C:
16038         * screen.C:
16039         * tabular.C:
16040         * CutAndPaste.C: include gettext.h
16041
16042         * lyxfont.h: remove old hack with ON and OFF.
16043
16044         * lyxparagraph.h:
16045         * lyxfont.h: do not include language.h...
16046
16047         * BufferView2.C:
16048         * LaTeXFeatures.C:
16049         * Painter.C:
16050         * bufferview_funcs.C:
16051         * font.C:
16052         * lyxfont.C:
16053         * text.C:
16054         * text2.C:
16055         * trans_mgr.C:
16056         * paragraph.C: ... but do it here instead
16057
16058 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16059
16060         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16061
16062         * tabular.C: small reformat
16063
16064         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16065         NEW_INSETS version
16066         (GetChar): ditto
16067         (BreakParagraph): ditto
16068         (SetOnlyLayout): ditto
16069         (SetLayout): ditto
16070
16071         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16072         with one arg less.
16073
16074         * lastfiles.C: removed most using decl, add std:: where needed
16075
16076         * buffer.C: ws changes
16077
16078         * MenuBackend.C (class compare_format): put into anon namespace
16079         (expand): constify label, names, action, action2
16080         (expand):
16081
16082         * text.C (SingleWidth): constify font
16083         (IsBoundary): constify rtl2
16084         (GetVisibleRow): constify ww
16085
16086         * LaTeX.C (deplog): constify logfile
16087
16088         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16089         start_x, end_x
16090         (workAreaExpose): constify widthChange, heightChange
16091
16092         * lyxrow.C (par): moved
16093         (height): moved
16094         (next): moved
16095         * lyxrow.h: as inlines here
16096
16097         * lyxfont.h (shape): moved from lyxfont.C
16098         (emph): moved from lyxfont.C
16099
16100         * lyxfont.C (LyXFont): use initialization list for all
16101         constructors
16102         (shape): move to lyxfont.h as inline
16103         (emph): move to lyxfont.h as inline
16104
16105
16106 2001-04-04  Juergen Vigna  <jug@sad.it>
16107
16108         * vspace.C: had to include stdio.h for use of sscanf
16109
16110 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16111
16112         * BufferView.h:
16113         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16114         independent of xforms.
16115
16116 2001-04-02  Juergen Vigna  <jug@sad.it>
16117
16118         * spellchecker.C: fixed namespace placing!
16119
16120 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16121
16122         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16123         the LyXParagraph * is 0.
16124
16125 2001-03-29  Juergen Vigna  <jug@sad.it>
16126
16127         * vspace.C: added support for %, c%, p%, l%.
16128         (stringFromUnit): added helper function.
16129         (asLatexString): changed to give right results for the %-values.
16130
16131         * buffer.C: convert the widthp in a width%.
16132
16133 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16134
16135         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16136         figureForm.[Ch].
16137
16138         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16139         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16140
16141         * lyx_cb.[Ch]: see above.
16142
16143         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16144         form1.[Ch].
16145
16146         * form1.[Ch]:
16147         * lyx.[Ch]: replaced by figure_form.[Ch].
16148
16149         * lyx_gui.C:
16150         * lyx_gui_misc.C:
16151         * lyxfunc.C: changed headers associated with above changes.
16152
16153 2001-03-27  Juergen Vigna  <jug@sad.it>
16154
16155         * BufferView_pimpl.C: set the temporary cursor right!
16156
16157 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16158
16159         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16160
16161 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16162
16163         * LString.h: removed "using std::getline"!
16164
16165         * BufferView_pimpl.C (Dispatch): changes due to changes in
16166         InsetInclude::Params.
16167
16168         * buffer.C (tag_name): removed redundant break statements as they were
16169         producing lots of warnings with my compiler.
16170
16171 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16172
16173         * LString.h: add "using std::getline" when using the real <string>.
16174
16175 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16176
16177         * buffer.C: removed bitset usage.
16178         PAR_TAG moved to an anonymous name space.
16179         (tag_name): new funtion, also in the anonymous namespace.
16180         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16181         (makeDocBookFile): clean code. Completed transition from string arrays
16182         to string vectors.
16183         (SimpleDocBookOnePar): code clean.
16184
16185 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16186
16187         * tabular.C: add some comments.
16188
16189 2001-03-22  Juergen Vigna  <jug@sad.it>
16190
16191         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16192         compatibility read a bit and fixed bug with minipage in different
16193         depth.
16194
16195 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16196
16197         * buffer.C (pop_tag): removed.
16198         (push_tag): removed.
16199         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16200         array replaced with vector. Added support for CDATA sections.
16201         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16202         at any nest level.
16203         (makeDocBookFile): XML conformant declaration of CDATA section,
16204         fixed bug related to <emphasis> in the first paragraph char.
16205         (sgmlOpenTag): exclude empty tags.
16206         (sgmlCloseTag): ditto.
16207
16208         * buffer.h (pop_tag): removed.
16209         (push_tag): removed.
16210
16211 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16212
16213         * language.h (Languages): added size_type and size().
16214
16215 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16216
16217         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16218         response on compability reading of minipages. One probliem is that
16219         the old usage of minipages was «flertydig»
16220
16221         * several files here and in subdirs: don't use static at file
16222         scope use anon namespaces instead.
16223
16224 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16225
16226         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16227         LaTeX output. This is necessary for Literate document
16228         processing.
16229
16230 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16231
16232         * buffer.C: insert hfill when needed.
16233
16234         * tabular.C (l_getline): use string::erase, small whitespace change.
16235
16236         * BufferView_pimpl.C: try the anon namespace.
16237         * WorkArea.C: ditto
16238
16239 2001-03-16  Juergen Vigna  <jug@sad.it>
16240
16241         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16242         otherwise it won't open options-dialogs.
16243
16244         * buffer.C: honor pextraWidth(p) on converting minipages.
16245
16246         * tabular.C (l_getline): changed the functions to strip trailing \r.
16247
16248 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16249
16250         * BufferView_pimpl.C:
16251         * minibuffer..C: added "using SigC::slot" declaration.
16252
16253 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16254
16255         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16256
16257         * text2.C: ditto
16258
16259         * text.C: ditto
16260
16261         * paragraph.C: ditto
16262
16263         * lyxtext.h: NO_PEXTRA
16264
16265         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16266
16267         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16268         * ParameterStruct.h: ditto
16269         * ParagraphParameters.h: ditto
16270         * lyxparagraph.h: ditto
16271
16272 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16273
16274         * buffer.C: add compability for minipage alignment.
16275         (latexParagraphs): remove unwanted pextra check.
16276
16277         * several files: remove CXX_WORKING_NAMESPACES
16278
16279         * buffer.C (pop_tag): tie is in namespace boost
16280
16281         * BufferView.h: noncopyable is in namespace boost
16282         * lyxlex.h: ditto
16283         * lyx_main.h: ditto
16284         * lyx_gui.h: ditto
16285         * layout.h: ditto
16286         * lastfiles.h: ditto
16287         * bufferlist.h: ditto
16288         * ShareContainer.h: ditto
16289         * LyXView.h: ditto
16290         * LyXAction.h: ditto
16291         * LaTeX.h: ditto
16292
16293 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16294
16295         * Merging changes from BRANCH_MVC back into HEAD.
16296
16297         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16298
16299 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16300
16301         * BufferView_pimpl.C: change from intl.C
16302
16303         * combox.h:
16304         * combox.C:
16305         * Makefile.am: move combox.*
16306
16307         * form1.h:
16308         * form1.C:
16309         * lyx_gui.C:
16310         * intl.h:
16311         * intl.C: remove dialog (covered by prefs)
16312
16313 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16314
16315         * lyxfunc.C (Dispatch): removed redundant break statement.
16316
16317 2001-03-14  Juergen Vigna  <jug@sad.it>
16318
16319         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16320
16321 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16322
16323         * buffer.C: add hack to fix compability reading of minipages.
16324
16325 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16326
16327         * buffer.C (getLists): Cleanup.
16328
16329 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * lyxfont.C (update): don't honor toggleall on font size.
16332
16333 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16334
16335         * bmtable.c:
16336         * bmtable.h:
16337         * Makefile.am: moved to frontends/xforms/
16338
16339         * lyx_gui_misc.C:
16340         * lyxfunc.C:
16341         * BufferView_pimpl.C: changes for moved mathpanel
16342
16343 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16344
16345         * gettext.h: fix gettext_init() in --disable-nls
16346
16347 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16348
16349         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16350
16351 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16352
16353         * lyx.C:
16354         * lyx.h: strip external form
16355
16356 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16357
16358         * BufferView_pimpl.C: add comment, destroySplash()
16359
16360 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16361
16362         * BufferView_pimpl.C:
16363         * LyXAction.C:
16364         * buffer.C:
16365         * commandtags.h:
16366         * lyxfunc.C: use re-worked insetinclude
16367
16368 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16369
16370         * buffer.C: add using std::stringstream.
16371
16372         * lyx_cb.C: readd using std::ios.
16373
16374         * buffer.C: add using std::map.
16375
16376         * BufferView_pimpl.C: add using std::vector.
16377
16378         * ShareContainer.h: add std:: to swap.
16379
16380         * buffer.h: add some typedefs
16381         * buffer.C (getLists): use them
16382         (getLists): renamed from getTocList.
16383         add a counter for the different float types and use it in the
16384         generated string.
16385         (getLists): use the same counter for the NEW_INSETS and the "non"
16386         NEW_INSETS
16387
16388         * lyx_cb.h: remove unused items, includes, using etc.
16389
16390         * ShareContainer.h: remove some commented code, add more comments
16391         and "documentation".
16392
16393 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16394
16395         * buffer.C (getTocList): make the list also when NEW_INSETS is
16396         defined.
16397
16398         * buffer.h: remove TocType
16399
16400         * buffer.C (getTocList): change to return a map<string,
16401         vector<TocItem> >, implement for dynamic number of list.
16402
16403         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16404         * text2.C (PasteSelection): adjust
16405         * CutAndPaste.C (pasteSelection): adjust
16406
16407         * FloatList.C (FloatList): update from the new_insets branch.
16408         * Floating.[Ch]: ditto
16409         * LaTeXFeatures.C: ditto
16410         * buffer.C: ditto
16411         * lyxlex_pimpl.C: ditto
16412
16413         * paragraph.C (Last): remove when NEW_INSETS is defined.
16414
16415         * other file: changes because of the above.
16416
16417 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16418
16419         * lyxparagraph.h: rename next to next_, previous to previous_,
16420         make them private for NEW_INSETS. Rename Next() to next(),
16421         Previous() to previous().
16422
16423         * other files: changes because of the above.
16424
16425 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16426
16427         * BufferView.h:
16428         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16429         problem.
16430
16431 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16432
16433         * main.C (main): pass lyx_localedir to gettext_init().
16434
16435         * gettext.h: remove locale_init and gettext_init macros
16436
16437         * gettext.C (locale_init): new function
16438         (gettext_init): new function
16439
16440         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16441         setlocale().
16442
16443 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16444
16445         * Moved credits to frontends:
16446         * credits.[Ch]: removed
16447         * credits_form.[Ch]: removed
16448         * lyx_gui_misc.C: remove credits stuff
16449         * Makefile.am:
16450
16451 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16452
16453         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16454
16455         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16456         unneeded destructor.
16457
16458         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16459         a standalone pointer again.
16460
16461         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16462
16463 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16464
16465         * Makefile.am:
16466         * filedlg.h:
16467         * filedlg.C:
16468         * LyXAction.C:
16469         * ToolbarDefaults.C:
16470         * bufferlist.C:
16471         * commandtags.h:
16472         * form1.C:
16473         * form1.h:
16474         * lyx_cb.C:
16475         * lyx_cb.h:
16476         * lyxfunc.h:
16477         * lyxfunc.C:
16478         * BufferView_pimpl.C: use new file dialog in GUII
16479
16480         * lyx_cb.h:
16481         * lyx_cb.C: remove LayoutsCB to Toolbar
16482
16483 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16484
16485         * ShareContainer.h (get): add std:: qualifier
16486
16487 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16488
16489         * ShareContainer.h: define a proper ShareContainer::value_type
16490         type (and use typename to please compaq cxx)
16491
16492 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16493
16494         * lyxparagraph.h: move serveral local vars to
16495         ParameterStruct/ParagraphParameters., use ShareContainer in
16496         FontTable., make vars in FontTable private and add getter and
16497         setter.
16498
16499         * paragraph.C: changes because of the above.
16500
16501         * lyxfont.h: remove copy constructor and copy assignment. (the
16502         default ones is ok), move number inside FontBits. move inlines to
16503         lyxfont.C
16504
16505         * lyxfont.C: add number to initializaton of statics, move several
16506         inlines here. constify several local vars. some whitespace
16507         cleanup. Dont hide outerscope variables.
16508
16509         * Spacing.h: add two new constructors to match the set methods.
16510
16511         * ShareContainer.h: new file, will perhaps be moved to support
16512
16513         * ParameterStruct.h: new file
16514
16515         * ParagraphParameters.h: new file
16516
16517         * ParagraphParameters.C: new file
16518
16519         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16520         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16521
16522         * BufferView_pimpl.C: ParagraphParameter changes.
16523         * buffer.C: Likewise.
16524         * bufferview_funcs.C: Likewise.
16525         * text.C: Likewise.
16526         * text2.C: Likewise.
16527
16528 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16529
16530         * lyxfind.C (LyXReplace): do not redefine default argument in
16531         implementation.
16532         (IsStringInText): ditto
16533         (SearchForward): ditto
16534         (SearchBackward): ditto
16535
16536 2001-03-06  Juergen Vigna  <jug@sad.it>
16537
16538         * lyxfind.C (IsStringInText): put parentes around expressions.
16539
16540 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16541
16542         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16543
16544 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16545
16546         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16547
16548         * stl_string_fwd.h: add comment
16549
16550         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16551
16552         * tabular.h:
16553         * tabular.C: remove unused DocBook methods
16554
16555         * intl.C:
16556         * language.C:
16557         * paragraph.C:
16558         * buffer.C:
16559         killed DO_USE_DEFAULT_LANGUAGE
16560
16561 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16562
16563         * lyx_gui.C: do not include language.h.
16564
16565         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16566         arguments in function implementation.
16567
16568 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16569
16570         * BufferView_pimpl.C: add <ctime>
16571
16572 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16573
16574         * BufferView_pimpl.C: add using std::find_if
16575
16576 2001-02-27  José Matos  <jamatos@fep.up.pt>
16577
16578         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16579         by OnlyPath.
16580
16581 2001-02-11  José Matos  <jamatos@fep.up.pt>
16582
16583         * buffer.C (makeDocBookFile): command styles now have a parameter as
16584         "title" by default.
16585
16586 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16587
16588         * layout_forms.[Ch]: removed
16589         * lyx_cb.[Ch]: out character
16590         * lyx_gui.C: out character
16591         * lyx_gui_misc.C: out character
16592         * bufferview_funcs.C: : out character,
16593         added toggleall as parameter in ToggleAndShow
16594
16595 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16596
16597         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16598
16599         * text2.C (SetCurrentFont): Disable number property at boundary.
16600
16601 2001-02-26  Juergen Vigna  <jug@sad.it>
16602
16603         * lyxfunc.C (getStatus): added a string argument override function so
16604         that this is correctly called from LyXFunc::Dispatch if it contains a
16605         do_not_use_argument which is used!
16606         (Dispatch): added check for "custom" export and call appropriate func.
16607
16608 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16609
16610         * lyxrc.C: Add language_command_local, language_use_babel and
16611         language_global_options.
16612
16613         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16614
16615         * buffer.C (makeLaTeXFile): Use language_use_babel and
16616         language_global_options.
16617
16618 2001-02-23  Juergen Vigna  <jug@sad.it>
16619
16620         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16621         which works with LyXText and putted it inside BufferView. Here now we
16622         only call for that part the BufferView::Dispatch() function.
16623
16624         * BufferView.C (Dispatch): added.
16625
16626         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16627         functions which needs to use a LyXText over from LyXFunc.
16628         (MenuInsertLyXFile): added
16629         (getInsetByCode): added
16630         (moveCursorUpdate): added
16631         (static TEXT): added
16632
16633 2001-02-22  Juergen Vigna  <jug@sad.it>
16634
16635         * BufferView_pimpl.C (update): call a status update to see if LyXText
16636         needs it.
16637
16638 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16639
16640         * vc-backend.C (revert): implement for CVS
16641         (getLog): implement for CVS
16642
16643 2001-02-20  Juergen Vigna  <jug@sad.it>
16644
16645         * text2.C (ClearSelection): added BufferView param for inset_owner call
16646
16647         * lyxfunc.C (TEXT): added this function and use it instead of
16648         directly owner->view()-text of getLyXText().
16649
16650 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16651
16652         * src/layout_forms.C: out preamble
16653         * src/layout_forms.h: out preamble
16654         * src/lyx_cb.C: out preamble
16655         * src/lyx_cb.h: out preamble
16656         * src/lyx_gui.C: out preamble
16657         * src/lyx_gui_misc.C: out preamble
16658         * src/lyxfunc.C: connect with guii preamble
16659
16660 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16661
16662         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16663
16664 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16665
16666         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16667         whether to run bibtex.
16668
16669 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16670
16671         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16672
16673 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16674
16675         * Makefile.am (lyx_SOURCES): removed bibforms.h
16676
16677         * vspace.h: doxygen
16678
16679         * text.C (GetVisibleRow): make several local vars const
16680
16681         * tabular.C: small cleanup.
16682
16683         * lyxserver.C (callback): use compare instead of strncmp
16684
16685         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16686         inlines to after class or to paragraph.C
16687
16688         * lyxfont.h: remove friend operator!=
16689
16690         * converter.h: move friend bool operator< to non friend and after
16691         class def.
16692
16693         * combox.h: small cleanup
16694
16695         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16696         to inlines after class def.
16697
16698         * buffer.C (pop_tag): use string operations instead of strcmp
16699
16700         * bmtable.c: doxygen, small cleanup
16701
16702         * LaTeX.h: remove friend operator==
16703
16704 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16705
16706         * screen.C:
16707         * lyxrc.[Ch]:
16708         * lyxfunc.C:
16709         * lyxfont.[Ch]:
16710         * lyx_cb.C:
16711         * intl.[Ch]:
16712         * commandtags.h:
16713         * buffer.C:
16714         * WorkArea.[Ch]:
16715         * LyXAction.C:
16716         * BufferView_pimpl.C:
16717         * BufferView.[Ch]: remove cruft
16718
16719 2001-02-14  Juergen Vigna  <jug@sad.it>
16720
16721         * lyxfunc.C: removed #if 0 unused code
16722
16723         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16724
16725         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16726
16727         * text2.C (SetSelection): added a BufferView * parameter
16728
16729 2001-02-13  Juergen Vigna  <jug@sad.it>
16730
16731         * lyxfunc.C (Dispatch): fixed protected blank problem.
16732         * BufferView2.C (protectedBlank): added LyxText * parameter.
16733
16734         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16735         (AppendColumn): same as above for column_info.
16736
16737         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16738         (moveCursorUpdate): use a LyXText param for support of InsetText.
16739
16740         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16741         (tripleClick): ditto
16742
16743         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16744
16745         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16746
16747         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16748
16749         * text2.C (SetSelection): set correct update status if inset_owner
16750         (ToggleFree): ditto
16751
16752 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16753
16754         * tabular.C: remove some commented code.
16755
16756 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16757
16758         * BufferView_pimpl.C: call hideSplash()
16759
16760         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16761
16762         * include_form.h:
16763         * bibforms.h: remove
16764
16765         * lyxfunc.C:
16766         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16767           add LFUN_CHILD_CREATE
16768
16769         * counters.h: fix tiny typo
16770
16771         * lyx_cb.C:
16772         * lyx.h:
16773         * lyx_gui.C:
16774         * lyx.C: move splash to frontends/xforms/
16775
16776         * lyx_gui_misc.C: move Include and Bibform to frontends
16777
16778         * lyxvc.h: clarify comment
16779
16780         * vspace.C: tiny housekeeping
16781
16782 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16783
16784         * text.C (PrepareToPrint): RTL Fix.
16785
16786         * paragraph.C (GetUChar): New method.
16787         (String):  Use GetUChar.
16788
16789         * buffer.C (asciiParagraph): Use GetUChar.
16790
16791 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16792
16793         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16794
16795 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16796
16797         * buffer.h:
16798         * buffer.C: rename to getLogName(), handle
16799           build log / latex log nicely
16800
16801 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16802
16803         * MenuBackend.C:
16804         * MenuBackend.h: remove support for reference menuitem type.
16805
16806 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16807
16808         * BufferView_pimpl.C: housekeeping
16809         * BufferView_pimpl.h:
16810         * LyXView.h:
16811         * Makefile.am:
16812         * Timeout.C:
16813         * Timeout.h:
16814         * minibuffer.h: move Timeout GUI-I
16815
16816 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16817
16818         * lyxrc.C (read): Update converters data-structures.
16819
16820 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16821
16822         * LaTeX.h (operator!=): add operator != for Aux_Info
16823
16824 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16825
16826         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16827
16828         * LaTeXLog.C: deleted, useful code moved to Buffer
16829
16830         * buffer.h:
16831         * buffer.C: new function getLatexLogName()
16832
16833         * lyx_gui_misc.C:
16834         * lyx_gui.C:
16835         * lyxvc.C:
16836         * lyxvc.h:
16837         * lyxfunc.C: use frontends for LaTeX and VC logs
16838
16839 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16840
16841         * LaTeX.h: yet another std:: that Allan forgot.
16842
16843         * Variables.C (set): renamed from isset(), because this clashes
16844         with some HP-UX macros (grr).
16845
16846 2001-02-06  Allan Rae  <rae@lyx.org>
16847
16848         * LaTeX.h: Another bug fix.  Missing std:: this time.
16849
16850 2001-02-04  Allan Rae  <rae@lyx.org>
16851
16852         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16853         floats problem. I've left it commented out because it's not quite
16854         correct.  It should also test that the current object is a table or
16855         figure inset.  But I haven't gotten around to figuring out how to do
16856         that.  I *think* it'll be something like: "table" == inset.type()
16857
16858         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16859         bool.
16860
16861 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16862
16863         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16864         all the citation/databases/styles in the auxilary file.
16865         (run): Rerun latex if there was a babel language error.
16866
16867 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16868
16869         * text.C (Backspace): Preserve the font when changing newline char
16870         with a space.
16871         (BreakParagraph): If the cursor is before a space, delete the space.
16872
16873         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16874
16875 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16876
16877         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16878         new argument (code).
16879         (ChangeCitationsIfUnique): New method.
16880
16881         * paragraph.C (GetPositionOfInset): Handle bibkey.
16882
16883 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16884
16885         * BufferView_pimpl.h: change type of Position::par_pos to
16886         LyXParagraph::size_type.
16887
16888 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16889
16890         * BufferView_pimpl.C (savePosition, restorePosition): Write
16891         messages to minibuffer.
16892
16893 2001-01-28  José Matos  <jamatos@fep.up.pt>
16894
16895         * buffer.C (makeDocBookFile): adds support for document language.
16896         A silly restriction on the name of LatexCommand types where removed.
16897         Added support for CDATA sections, allows to chars unescaped, used
16898         among others in code, to avoid escape < and >.
16899
16900 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16901
16902         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16903         saved positions instrad of a stack. Furthermore, a position is
16904         stored using paragraph id/paragraph position.
16905
16906         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16907         Remove LFUN_REF_BACK.
16908
16909 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16910
16911         * converter.C (dvipdfm_options): New method.
16912
16913 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16914
16915         * vspace.C (isValidLength): Fix for empty input string.
16916
16917 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16918
16919         * LyXAction.C (init): change description of LFUN_FIGURE to
16920         "Insert Graphics"
16921
16922 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16923
16924         * LaTeX.C: add using directive
16925
16926 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16927
16928         * MenuBackend.C (expand): Fix the sorting of the formats.
16929
16930 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16931
16932         * lyx_main.C: tiny error message fix
16933
16934 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16935
16936         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16937         calling fl_initialize(). This fixes the problem with ',' as
16938         decimal separator in text files.
16939
16940 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16941
16942         * trans.C (process): Fix the keymap bug.
16943
16944 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16945
16946         * LaTeX.C (scanAuxFiles): New method. Provides support for
16947         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16948         (scanLogFile) Scan for "run BibTeX" messages.
16949
16950         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16951         OT1 font encoding. Also, load the aecompl package if the ae
16952         package is loaded.
16953
16954         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16955
16956 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16957
16958         * texrow.C (increasePos): turn two error messages into debug
16959         messages.
16960
16961 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16962
16963         * LaTeX.C (scanAux): Handle the \@input macro.
16964         (runBibTeX): Use scanAux().
16965
16966         * language.C (latex_options_): New field.
16967
16968         * LaTeXFeatures.C (getMacros): Add language macros.
16969
16970         * buffer.C (makeLaTeXFile): Small fix.
16971
16972 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16973
16974         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16975
16976         * text2.C: add a using directive.
16977
16978 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16979
16980         * BufferView2.C:
16981         * lyx_gui_misc.h:
16982         * lyxfr1.C:
16983         * lyxfunc.C: kill LyXBell.
16984
16985 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16986
16987         * text.C (IsBoundary): Remove the error message
16988
16989         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16990
16991         * lyxrc.C (setDefaults): Correct initialization value for
16992         font_norm_type.
16993
16994 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16995
16996         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16997         gotoError().
16998
16999         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17000         and GotoNextNote().
17001
17002         * src/LyXAction.C: Added reference-next.
17003
17004         * text.C (InsertChar): Use contains instead of strchr.
17005
17006         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17007
17008 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17009
17010         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17011         alignment commands (when needed).
17012
17013         * text.C (InsertChar): Add ':' to number separator chars.