]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
3c3841742c672da9d687451a8c06d1d108cbc6ba
[lyx.git] / src / ChangeLog
1 2005-01-23  Angus Leeming  <leeming@lyx.org>
2
3         * output_latex.C: #include "insetbibitem.h", rather than
4         forward declare function bibitemWidest.
5
6 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
7
8         * lyx_main.C (init): make it compile on the Mac.
9
10 2005-01-20  Angus Leeming  <leeming@lyx.org>
11
12         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize) 
13         (setLyXMisc): (char string literal) != (char string literal) is
14         performing a comparison on the addresses. Convert one operand
15         explicitly to string to guarantee expected behaviour.
16         From MSVC warning.
17
18 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
19
20         * buffer.C:
21         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
22
23         * output_plaintext.C: remove unneeded #include gzstream.h.
24         
25 2005-01-20  Angus Leeming  <leeming@lyx.org>
26
27         * SpellBase.h: rename some of the elements of the Result enum.
28
29         * aspell_local.h:
30         * ispell.h:
31         * pspell.h:
32         * aspell.C (check):
33         * ispell.C (check):
34         * pspell.C (check): ditto
35
36 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
37
38         * buffer.C: add #include <fstream>.
39
40         * lyx_main.C (init): Compile fix.
41
42         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
43
44 2005-01-20  Angus Leeming  <leeming@lyx.org>
45
46         * mover.h: change commentary to reflect the changed meaning of
47         the $$s placeholder.
48
49 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
50
51         * output_linuxdoc.C (linuxdocParagraphs): silence warning
52
53         * lyxfind.C (MatchString::operator()): remove bogus semicolon
54
55 2005-01-20  Angus Leeming  <leeming@lyx.org>
56
57         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
58         printing diagnostic data by not dereferecing an iterator past the
59         end.
60
61 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
62
63         * buffer.C (readHeader): use "&&" rather than "and".
64
65         * lyxserver.h (inPipeName, outPipeName): make these const.
66
67 2005-01-19  Angus Leeming  <leeming@lyx.org>
68
69         * lyx_main.C (error_handler, init): protect SIGHUP with
70         #ifdef SIGHUP guards.
71
72 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
75
76 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * text.C (setHeightOfRow): add a margin at the top and bottom of
79         the document (bug 1761)
80
81 2005-01-17  Angus Leeming  <leeming@lyx.org>
82
83         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
84         with "python ". Workaround for a brain-dead Windows.
85
86 2005-01-16  Angus Leeming  <leeming@lyx.org>
87
88         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
89         for MacOSX and Windows to use prependEnvPath.
90         Strip out the hard-coded block to add elements to the PATH for
91         MacOSX and replace it with a call to prependEnvPath using the
92         contents of LyXRC::path_prefix.
93         (queryUserLyXDir): strip out the code to run reconfigure, instead
94         returning a boolean indicating the necessity to do so.
95         (reconfigureUserLyXDir): contains the code to reconfigure the
96         user support directory. Is now called after the various LyXRC data
97         files have been read.
98
99         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
100
101 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
102
103         * converter.[Ch] (convert): take a new parameter try_default. Use
104         a default converter (imagemagick) if try_default is true.
105
106 2005-01-13  Angus Leeming  <leeming@lyx.org>
107
108         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
109         os::cygwin_path_fix.
110         (write): output LyXRC::cygwin_path_fix as necessary.
111
112 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
113
114         * lyxrc.h:
115         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
116
117 2005-01-12  Angus Leeming  <leeming@lyx.org>
118
119         * lyx_main.C (init): set the PATH variable to include the
120         directory containing the LyX binary when running on Mac or Windows.
121
122 2005-01-12  Angus Leeming  <leeming@lyx.org>
123
124         * lyx_main.C (init): remove cruft that purports to set the locale
125         dir. It doesn't and is not needed anyway.
126
127 2005-01-10  Angus Leeming  <leeming@lyx.org>
128
129         * Makefile.am: remove the lyx_main.C special casing.
130
131         * BufferView_pimpl.C:
132         * bufferlist.C:
133         * exporter.C:
134         * lyx_cb.C:
135         * lyx_main.C:
136         * lyxfunc.C:
137         * messages.C: use support/package.h to provide the paths to the
138         various directories used by LyX.
139
140 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
141
142         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
143         layout if pasting into an empty paragraph)
144
145 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
146
147         * tex-accent.C: add <string>
148
149 2005-01-06  José Matos  <jamatos@lyx.org>
150
151         * ParagraphParameters.C (write): put every parameter in its own line.
152         * paragraph.C (write): reduce number of consecutive empty lines exported.
153         * buffer.C (LYX_FORMAT): increase file format to 239.
154
155 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
156
157         * everywhere: change support/tostr.h -> support/convert.h
158
159         * tabular.C: make all write_attributes templates, tostr -> convert
160
161         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
162         (emptyTag): and -> &&, and fix type for ret from getChar
163         (getFirstWord): fix type for ret from getChar
164         (onlyText): and -> &&
165         (simpleDocBookOnePar): and not -> && !, fix type for ret from
166         getChar
167
168         * toc.C (goTo, action):
169         * text3.C (dispatch):
170         * text.C (currentState):
171         * tex-accent.C (DoAccent):
172         * sgml.C:
173         * lyxrc.C:
174         * lyxfunc.C (menuNew):
175         * lyxfinc.C (replace):
176         * counters.C (laberItem):
177         * bufferview_funcs.C (font2string):
178         * bufferparams.C (writeFile):
179         * buffer.C (readFile):
180         * Spacing.C (set):
181         * MenuBackend.C: tostr -> convert
182
183         * LaTeX.C (runMessage): fix format
184         (scanAuxFiles): tostr -> convert
185
186         * BufferView_pimpl.C (savePosition): fix format
187         (restorePosition): ditto
188         (dispatch): ditto
189
190 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
191
192         * Spacing.[Ch]: New method getValueAsString().
193
194         * Spacing.[Ch]:
195         * bufferparams.C:
196         * ParagraphParameters.C:
197         * lyxlayout.C:
198         * text.C:
199         * text3.C: store/read spacing value as string.
200
201         * rowpainter.C: change float value (spacing_val) to double.
202
203         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
204         broken custom document spacing).
205
206 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
207
208         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
209         namespace, also more use of temp references and const
210
211         * cursor.[Ch] (getStatus): move to lyxfunc.C
212
213         * bufferparams.C: reformat slightly
214
215         * bufferview_funcs.C (font2string): constify arg
216
217         * changes.C:
218         * converter.C:
219         * counters.C:
220         * bufferlist.C:
221         * buffer_funcs.C: (many funcs): constify arg on function
222         definitions, also make more local vars const, also add ASSERTS on
223         pointer args.
224
225         * buffer.C (LYX_FORMAT): put const in correct place
226         (many funcs): constify arg on function definitions, also make
227         more local vars const
228
229         * aspell_local.h: remove "struct" from typdef setup
230
231         * aspell.C (check): make word_ok const
232         (nextMiss): simplify slightly
233         (error): ditto
234
235 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
236
237         * lyxrc.[Ch]: store all float values as strings.
238         use int (not float) for lyxrc.dpi.
239
240 2005-01-04  Angus Leeming  <leeming@lyx.org>
241
242         * lyx_cb.C (Reconfigure):
243         * lyx_main.C (queryUserLyXDir):
244         to run the <system_lyxdir>/configure correctly on Windows, prefix
245         the path to the script with "sh " when generating the string that
246         is passed to system().
247
248 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
249
250         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
251
252 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * lyxlength.C (asLatexString): get rid of setprecision
255
256 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * text2.C (setLayout): remove unused variable endpit.
259         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
260
261         * paragraph.C (onlyText): remove unused variable style.
262
263         * cursor.C (bruteFind): remove unused variables beg and end.
264
265         * Makefile.am (dist_noinset_DATA): not needed anymore
266
267         * cheaders/*: remove.
268
269 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
270
271         * text3.C: fix LFUN_MATH_MODE.
272
273 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * buffer_funcs.C (countWords): new function. Counts words between
276         two iterators.
277
278         * BufferView_pimpl.C (getStatus, dispatch): handle
279         LFUN_WORDS_COUNT.
280
281         * LyXAction.C (init):
282         * lfuns.h: add LFUN_WORDS_COUNT.
283
284 2004-12-19  Angus Leeming  <leeming@lyx.org>
285
286         * buffer.C (save): s/slashify_path/internal_path/.
287
288 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
289
290         * lyxfind.C (findChange): do not search for end of pars, because
291         the change tracker cannot handle this (fixes bug 1719).
292
293 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
294
295         * paragraph.[Ch] (autoBreakRows): remove
296
297         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
298
299         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
300         avoid using the paragraph one
301
302         * text2.C (LyXText, insertStringAsLines): adjust
303
304 2004-12-16  Angus Leeming  <leeming@lyx.org>
305
306         * bufferlist.C:
307         * lyx_main.C:
308         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
309
310 2004-12-14  Angus Leeming  <leeming@lyx.org>
311
312         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
313
314         * bufferlist.C (emergencyWrite):
315         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
316         GetEnvPath("HOME").
317
318 2004-12-14  Angus Leeming  <leeming@lyx.org>
319
320         * main.C: (main): no longer pass pointers to os::init.
321
322 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
323
324         * undo.C (textUndoOrRedo): simplify logic, fix a crash
325         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
326
327 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
328
329         * lyxfunc.C:
330         * text3.C: remove selection_possible global flag
331
332 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
333
334         * text2.C (getSelectionSpan): remove
335         (changeDepth, changeDepthAllowed): adjust
336
337 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
338
339         * Makefile.am (BOOST_LIBS): use boost variables
340
341 2004-12-03  José Matos  <jamatos@lyx.org>
342
343         * buffer.C: format up to 238.
344
345 2004-12-03  José Matos  <jamatos@lyx.org>
346
347         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
348
349 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
350
351         * cursor.C (goUpDown): remove call to idxUpDown2
352
353 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
354
355         * tabular.[Ch]: use size_t-like types for cell, row and column
356         indices
357
358 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * lyxfunc.C (getStatus): do not lose previous information when
361         calling BufferView::getStatus; do not set a default "Command
362         disabled" message at the beginning, but just before returning.
363
364 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
365
366         * cursor.h (getStatus): add better comment from src/cursor.C
367
368 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * text3.C (getStatus): return false when the lfun is not handled
371
372 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * broken_headers.h: remove
375
376         * Makefile.am (lyx_SOURCES): remove broken_headers.h
377
378 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
379
380         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
381         offset_ref accessors
382
383         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
384         top_y_, merge fitcursor with update
385         (updateScrollbar, scrollDocView, fitCursor, center, update): new
386         coord scheme
387         (metrics): introduce
388         (workAreaDispatch): adapt to new coord scheme
389         (redoCurrentBuffer): remove
390
391         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
392
393         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
394         CurStatus enum.
395
396         * coordcache.[Ch]: add paragraph cache and helpers
397
398         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
399         adjust everywhere
400
401         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
402         (targetX, setTargetX): introduce
403
404         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
405         baseline -> ascent, as the rest of lyx
406
407         * lyxtext.h: remove redoParagraphs, updateParPositions,
408         fullRebreak, redoParagraphInternal. move dist to anon namespace in
409         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
410         have ascent/descent (ascent is ascent of first par)
411
412         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
413         step of BufferView
414
415         * paragraph.[Ch]: unify dimension handling with the rest of lyx
416
417         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
418
419         * pariterator.C: fix infinite loop introduced in par->pit renaming
420
421         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
422         in insets and LyXText, draw two off-screen paragraphs using
423         NullPainter, and adapt to new coord scheme
424
425         * text.C:
426         * text2.C:
427         * text3.C: adapt lfun handlers to the new coord scheme, which
428         means: there's only guaranteed coord information for onscreen pars
429         plus one above and one below. This implies that one can do search
430         from y coordinates in the range [-1,workHeight]
431
432 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
433
434         * rename a lot of InsetOld to InsetBase
435
436 2004-11-25  Angus Leeming  <leeming@lyx.org>
437
438         * BufferView_pimpl.C:
439         * lyx_cb.C:
440         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
441
442 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
445         call BufferView::getStatus if LCursor::getStatus did nothing
446         (setStatusMessage, getStatusMessage): removed.
447
448         * FuncStatus.C (message): new methods. Used to provide an error
449         message indicating why a command is disabled.
450         (clear, |=, FuncStatus): update for message.
451
452 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
453
454         * lyxfunc.C (dispatch): always call sendDispatchMessage
455
456 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * BufferView.C:
459         * BufferView_pimpl.C:
460         * CutAndPaste.C:
461         * FontIterator.C:
462         * buffer.C:
463         * cursor.C:
464         * cursor_slice.[Ch]:
465         * dociterator.[Ch]:
466         * lyxfind.C:
467         * paragraph_funcs.C:
468         * pariterator.C:
469         * rowpainter.C:
470         * text.C:
471         * text2.C:
472         * text3.C:
473         * undo.C: par->pit renaming
474
475 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
476
477         * tabular.C (cellstruct): use initialization, store a shared_ptr
478         to insettext instead of the insettext directly, adjust to fit.
479         (operator=):  new function
480         (swap): new function
481         (rowstruct): use initialization
482         (columnstruct): use initialization
483         (ltType): use initialization
484
485
486         * lyxlength.h (swap): new function
487
488         * LColor.[Ch] (operator=): use the common semantics
489
490 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * lyxfind.C (findNextChange): update the bufferview after setting
493         the selection.
494
495 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
498         number of InsetOptArgs has already been inserted.
499
500         * output_latex.C (latexOptArgInsets): new method. This outputs all
501         the optarg insets, up to the limit defined in the layout file.
502         (optArgInset): removed
503         (TeXOnePar): call latexOptArgInsets; correctly update texrow
504
505 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * paragraph.C (isLetter): remove special spellchecker-related
508         code; return true also for digits
509         (isWord, isKomma): remove
510
511         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
512         * lyxfind.C (MatchString()): use isLetter instead of isWord
513
514 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
515
516         * pariterator.h (operatir=): comment out un-implemented member
517         function.
518
519         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
520         static cast.
521
522 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
523
524         * lyxfont.h: include LColor.h to satisfy concept checks.
525
526 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
527
528         * pariterator.h: add typdefs for value_type, difference_type,
529         pointer and reference to satisfy concept checks. Also add default
530         constructor for same reason.
531
532         * pariterator.C (operator++): add post-increment operator to
533         satisfy concept checks.
534
535         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
536         checks.
537
538         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
539
540         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
541         checks. Also rename base_type to BaseType to follow naming
542         standard better.
543
544         * FloatList.h: include Floating.h to satisfy concept checks.
545
546 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * lyxfunc.C (getStatus): when the origin of the request is menu or
549         toolbar, and the LyXView does not have focus, do as if there was
550         no buffer (bug 1720)
551
552         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
553         FuncRequest to individual entries of LFUN_SEQUENCE
554
555 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * output_latex.C (TeXOnePar): override runparams.moving_arg
558         according to the needprotect value of the current paragraph (bug
559         1739)
560
561         * paragraph.C (simpleTeXOnePar): no need to override
562         runparams.moving_args here
563
564 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
565
566         * vspace.C: fix off-by-one-error, related to fix #1682
567
568 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
569
570         * lengthcommon.C: a more general fix for bug 1682
571
572 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
573
574         * text.C (backspace): fix crash
575
576 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
577
578         * format.[Ch] (getFormatFromFile): new method
579         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
580
581 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
582
583         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
584
585 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
586
587         * lyxfunc.C (dispatch): remove the verbose argument
588         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
589         instead
590
591         * kbmap.C (defkey): set the origin of func to KEYBOARD
592
593         * MenuBackend.C (MenuItem):
594         * ToolbarBackend.C (add): set the origin of func to UI
595
596         * funcrequest.[Ch]: add origin member, which indicates which part
597         of LyX requests an action
598
599 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
600
601         * converter.C (move): don't lie in the error message
602         * converter.h (isReachable, move): document
603
604 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
605
606         * buffer.C: remove unused using lyx::support::atoi
607         * paragraph_funcs.C: ditto
608
609 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
610
611         * bufferlist.C (exists): use bind and equal_to instead of
612         compare_memfun
613         (getBuffer): ditto
614         * lyxtextclasslist.C (NumberOfClass): ditto
615
616         * cursor.C (insert): use for_each instead of explicit for loop
617
618         * bufferlist.C (getFileNames): use std::transform and
619         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
620
621         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
622         for loop
623
624         * buffer.C (changeLanguage): use for_each instead of explicit for
625         loop
626         (hasParWithID): implement using getParFromID
627
628         * LaTeXFeatures.C: ws change only
629
630         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
631         to cleanup a bit.
632
633         * BufferView_pimpl.C (trackChanges): use for_each instead of
634         expilicit for loop
635
636 2004-11-04  André Pönitz  <poenitz@gmx.net>
637
638         * undo.h:
639         * undo.C (textUndoOrRedo): fix crash when creating undo information.
640
641         * dociterator.C (asDocIterator): use hard assert again.
642
643 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
644
645         * lyxlength.C (asLatexString): rewrite so that it does not use
646         snprintf anymore
647
648 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
649
650         * text3.C (specialChar, dispatch): make sure cursor moves to the
651         right after inserting an inset
652
653 2004-11-02  José Matos  <jamatos@lyx.org>
654
655         * output_docbook.C (docbook):
656         * paragraph.C (getID):
657         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
658         garantee that the output is always legal.
659
660         * tabular.C (docbook):
661         * outputprams.[Ch]: remove mixed contents.
662
663 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
664
665         * text2.C (setCounter): prevent endless loop
666
667 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
668
669         * exporter.C (copyFile): use the mover instead of support::copy()
670         * exporter.C (Export): pass format and latex name to copyFile()
671         * exporter.h (addExternalFile): document
672         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
673
674 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
675
676         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
677
678 2004-10-30  José Matos  <jamatos@lyx.org>
679
680         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
681         text and no inset or font change. This allows to use CDATA
682         sections just for the whole paragraph.
683
684 2004-10-30  José Matos  <jamatos@lyx.org>
685
686         * paragraph.C (getFirstWord): remove unused variable.
687
688 2004-10-30  José Matos  <jamatos@lyx.org>
689
690         * paragraph.C (getFirstWord): the content should always be escaped
691         there.
692         (simpleDocBookOnePar):
693         * output_docbook.C (makeEnvironment): replace reference to CDATA
694         to style pass_thru.
695
696 2004-10-30  José Matos  <jamatos@lyx.org>
697
698         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
699
700 2004-10-30  José Matos  <jamatos@lyx.org>
701
702         * output_docbook.C (makeParagraphs):
703         * paragraph.[Ch] (emptyTag): for docbook and company, if the
704         standard paragraph has only a given type of content drop the wrapper.
705
706 2004-10-29  José Matos  <jamatos@lyx.org>
707
708         * output_docbook.C (makeEnvironment):
709         * sgml.C (openTag):
710         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
711
712 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
713
714         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
715         (cleanID): sanitize any id.
716
717 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
718
719         * buffer.C, lyxlex_pimpl.C:
720         * lyxlex_pimpl.C (setFile):
721         s/getExtFromContents/getFormatFromContents/
722
723 2004-10-28  José Matos  <jamatos@lyx.org>
724
725         * output_docbook.C (makeEnvironment): move id to broadest possible
726         scope.
727
728         * sgml.C (openTag): apply substitution of <> for all attributes.
729
730 2004-10-28  José Matos  <jamatos@lyx.org>
731
732         * buffer.C (makeLinuxDocFile, makeDocBookFile):
733         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
734         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
735
736         * sgml.[Ch]: new version for open and closeTag for paragraph and
737         for strings. Now they handle the ids of paragraphs.
738
739 2004-10-26  Angus Leeming  <leeming@lyx.org>
740
741         * Makefile.am: add mover.[Ch].
742
743         * converter.C (convert, move): use the new Movers to move external
744         files to the temp directory.
745
746         * lyx_main.C (init): ensure that the global system_movers data
747         is initialised.
748
749         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
750         preferences file.
751
752         * mover.[Ch]: new files, defining a Mover as a utility to move an
753         external file between directories and, if necessary, manipulate this
754         file using a helper script.
755
756 2004-10-25  José Matos  <jamatos@lyx.org>
757
758         * output_docbook.C (makeCommand): merge two if's that tested the
759         same condition.
760
761 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * sgml.C (escapeString): fix warning in a better way
764
765 2004-10-25  José Matos  <jamatos@lyx.org>
766
767         * sgml.C (escapeString): import the require boosts header file for
768         tie, and avoid a signed unsigned comparison.
769
770 2004-10-25  José Matos  <jamatos@lyx.org>
771
772         * sgml.h: add #include <string>
773
774 2004-10-25  José Matos  <jamatos@lyx.org>
775
776         * sgml.[Ch] (escapeString): new function to escape all the string.
777
778 2004-10-24  José Matos  <jamatos@lyx.org>
779
780         * paragraph.[Ch] (getFirstWord): new function to get the first
781         word. Useful for description.
782         (simpleDocBookOnePar): remove depth argument, add another that
783         says where to start the paragraph.
784
785         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
786         use the new functions to fix cleanly the support for descriptions.
787
788 2004-10-24  José Matos  <jamatos@lyx.org>
789
790         * buffer.C (makeLinuxDocFile, makeDocBookFile):
791         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
792         * output_linuxdoc.C (linuxdocParagraphs):
793         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
794         add buffer as argument.
795
796 2004-10-24  José Matos  <jamatos@lyx.org>
797
798         * output_docbook.C (makeEnvironment, searchEnvironment): place
799         CDATA inside paragraphs and fix scope for listitems.
800
801 2004-10-24  José Matos  <jamatos@lyx.org>
802
803         * output_docbook.C: remove using statement for stack.
804
805 2004-10-23  José Matos  <jamatos@lyx.org>
806
807         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
808         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
809         docbook. The new scheme is recursive and makes use of iterators, the
810         same as latex export works.
811         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
812         directly with the paragraph contents. This code was moved up to
813         output_docbook.C (docbookParagraphs).
814         * sgml.C (openTag, closeTag): removed unneeded newlines.
815         (closeEnvTags) removed.
816
817 2004-10-23  André Pönitz  <poenitz@gmx.net>
818
819         * undo.C (textUndoOrRedo):
820         * dociterator.C (asDocIterator): work around crash
821
822         * cursor.C (getStatus): replace ASSERT by more verbose error message
823           and manual correction of the problem. Should increase stability
824           while providing more sensible information.
825
826 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827
828         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
829
830         * bufferlist.C (previous, next): new methods
831
832         * lfuns.h:
833         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
834
835 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
836
837         * buffer.C (makeDocBookFile): add dsssl stylesheet control
838         entities to preamble.
839
840 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
841
842         * messages.C (Pimpl): strip off translation context information
843
844 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
845
846         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
847         the cursor is correct (bug 1694)
848
849 2004-10-13  José Matos  <jamatos@lyx.org>
850
851         * output_docbook.C (docbookParagraphs): fix closing tags in the
852         end of the document.
853
854 2004-10-09  José Matos  <jamatos@lyx.org>
855
856         * buffer.C: format up to 237.
857         * bufferparams.C (write): use tostr to convert booleans to strings.
858
859 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
860
861         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
862
863 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
864
865         * LaTeX.C: implement use of babel language in xindy.
866
867 2004-10-05  José Matos  <jamatos@lyx.org>
868
869         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
870         Add new translators to help reading and writing the lyx file.
871
872 2004-10-05  José Matos  <jamatos@lyx.org>
873
874         * ParagraphParameters.C (read):
875         * text.C (readParToken): replace nexToken by more appropriate lex
876         methods.
877
878 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
879
880         * LaTeX.C (runMakeIndex):
881         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
882         (usually 'makeindex') configurable.
883
884         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
885         with a variable rather than with a number.
886
887 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * output_latex.C (TeXOnePar): make sure font setting is the first
890         thing that gets output (and the last at the end). Should fix bug
891         1404.
892
893 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
894
895         * pch.h: use proper signal include
896
897         * LaTeX.h: Use preferred calling of Boost.Signal
898         * buffer.h: ditto
899
900 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
901
902         * pch.h: dont include <boost/function/function0.hpp>
903
904         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
905
906         * paragraph_pimpl.h: remove usage of ShareContainer
907
908         * paragraph_pimpl.C: remove initialization of ShareContainer.
909
910 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
911
912         Fix bug #1666
913
914         * BufferView.C (putSelectionAt): change the semantics when
915         backwards == true: now, this just swaps cursor and anchor wrt the
916         forward case
917
918         * BufferView.h (putSelectionAt): add some documentation
919
920         * lyxfind.C (findBackwards): rewrite using while(). In particular,
921         make sure backwardChar is done at least once (to avoid getting
922         stuck)
923         (findNextChange): use putSelectionAt in the forward direction
924         (operator()): use Paragraph::isWord
925
926 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * Spacing.C (set): c_str fix
929
930 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
931
932         * lyx_cb.C (Reconfigure): quote the name of configure script in
933         case it contains spaces
934
935 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
936
937         * client: new dir
938
939         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
940         (BOOST_LIBS): use top_buildir when looking for the file
941
942 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
943
944         * pch.h: do not use include boost/format.hpp, multiple symbols
945                 will result (gcc bug)
946
947
948 2004-08-23  José Matos  <jamatos@lyx.org>
949
950         * bufferparams.C (readToken): fix reading of the author field.
951
952 2004-08-20  José Matos  <jamatos@lyx.org>
953
954         * lyxrc.C: remove support/translator.h inclusion since it is not used.
955
956 2004-08-20  José Matos  <jamatos@lyx.org>
957
958         * lyxlex.[Ch] (findToken): remove function.
959
960         * ParagraphParameters.C (findToken):
961         * bufferparams.C (findToken): replace call for previous function
962         with local copy. This local function has one more argument, the
963         read string argument.
964
965 2004-08-16  José Matos  <jamatos@lyx.org>
966
967         * ParagraphParameters.C (write):
968         * Spacing.C (writeFile):
969         * bufferparams.C (writeLaTeX):
970         * lyx_cb.C (Reconfigure):
971         * paragraph.C (write):
972         * tabular.C (write): remove unnecessary space at end of line.
973
974
975 2004-08-16  José Matos  <jamatos@lyx.org>
976
977         * text.C (readParagraph): remove debug message.
978
979 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
982         crash
983
984         * output_plaintext.C (asciiParagraph): set depth correctly
985
986         * outputparams.h: add member depth
987
988         * paragraph_funcs.C (ownerPar): remove.
989
990         * text2.C (setCounter): remove first_pit; comment out some
991         non-working code that uses ownerPar
992
993         * BufferView.C (getParentLanguage): remove. Not used anymore, and
994         uses ownerPar
995
996 2004-08-16  José Matos  <jamatos@lyx.org>
997
998         * text.C (readParToken, readParagraph, read): report all unknown tokens.
999         For the same level of importance use the same chanel to report problems.
1000         (read): add code to deal with \begin_body and \end_body.
1001
1002
1003 2004-08-15  José Matos  <jamatos@lyx.org>
1004
1005         * lyxlex.C (getString): fix comment, buffer::readBody is now
1006         buffer:readDocument.
1007
1008         * tex-strings.C (string_papersize): Default -> default,
1009         Custom -> custom, for consistency with other options.
1010
1011 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1012
1013         * pch.h: new file
1014
1015         * Makefile.am: support pch
1016
1017 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1018
1019         * text.C (readParToken): remove the static LyXFont variable and
1020         pass it as a parameter instead. This fixes a nasty bug where an
1021         inset will be inserted with a bad font in some situations
1022         (readParagraph): adapt
1023
1024         * text2.C (setCounter): reduce number of calls to pars_[pit]
1025
1026         * text.C (singleWidth): add an assert, fix a test
1027
1028         * rowpainter.C (paintText): reduce number of calls to singleWidth
1029
1030         * paragraph.C (isHfill):
1031         (isNewline): ws only
1032
1033 2004-08-14  André Pönitz  <poenitz@gmx.net>
1034
1035         * text.C:
1036         * text2.C:
1037         * rowpainter.C:
1038         * lyxtext.h (several functions): use a Paragraph & argument
1039         instead of par_type
1040
1041 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1044
1045         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1046
1047         * text.C (singleWidth): remove useless test
1048
1049 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * tabular.h: remove bogus comments
1052
1053         * tabular.C (getDescentOfRow):
1054         (isPartOfMultiColumn): add assertions
1055
1056         * lyxlength.C (inPixels): remove #warning
1057
1058 2004-08-14  André Pönitz  <poenitz@gmx.net>
1059
1060         * paragraph.h: inline getChar()
1061
1062         * BufferView.h: remove unused declarations
1063
1064 2004-08-14  José Matos  <jamatos@lyx.org>
1065
1066         * Buffer.[Ch] (readDocument): new name for old readBody.
1067         * Buffer.C: new file format, new keywords: \begin_document,
1068         \begin_header, \begin_body, \end_body.
1069
1070         * bufferparams.C (readToken): replace all calls to lex.nextToken
1071         by lex.next(). Do the same to eatLine except where really needed.
1072
1073         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1074         line when writing to the lyx file.
1075
1076         * output_plaintext.C (asciiParagraph): fix Bibliography style
1077         handling.
1078
1079         * text.C (read): fix end of file handling.
1080
1081 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1082
1083         * MenuBackend.C (Menu::operator[]): new method to access
1084         individual menu items
1085         (Menu::hasFunc): new method. search for an item that corresponds
1086         to a given func
1087         (MenuBackend::specialMenu): new method
1088         (MenuBackend::expand): if a special menu has been set, skip
1089         entries whose func() appears in this menu
1090
1091 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1092
1093         * text3.C: use Debug::DEBUG a bit more
1094
1095         * text.C (leftMargin): try to simplify a tiny bit change var x to
1096         l_margin. Dont output the wide margins always.
1097         (rightMargin): no margin in inner texts
1098
1099         * rowpainter.h (nestMargin): new func
1100         (changebarMargin): new func
1101         (rightMargin): new func
1102
1103         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1104         now functions.
1105         (paintLast): ditto
1106
1107         * factory.C (createInset): modify setDrawFrame
1108
1109         * cursor.C: use Debug::DEBUG a bit more
1110
1111 2004-08-14  André Pönitz  <poenitz@gmx.net>
1112
1113         * coordcache.[Ch]:
1114         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1115         cache for all insets in (at least partially) visible (top-level)
1116         paragraphs.
1117
1118         * BufferView_pimpl.C: reset external coord cache before every update.
1119         This means the coord cache only contains valid entries.
1120
1121 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1122
1123         bug 1096
1124         * BufferView_pimpl.C (getInsetByCode): move function out of class
1125         and change in to a template in anon namespace. Also fix to do what
1126         suits us better.
1127
1128 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1129
1130         bug 1305
1131         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1132         of char
1133         (breakParagraph): rename par to par_offset and use a local
1134         reference. Add code to keep the language over a rebreak.
1135         (breakParagraphConservative): rename par to par_offset, use a
1136         local reference
1137         (mergeParagraph): ditto
1138         (outerHook): ditto
1139         (isFirstInSequence): ditto
1140         (outerFont): rename pit to par_offset
1141
1142         * paragraph.C: ws change
1143         * paragraph.h: ditto
1144         * text3.C: ditto
1145         * text.C: ditto
1146
1147 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1150         treatment for ']'
1151
1152         * paragraph.C (simpleTeXOnePar): when we have a \item with
1153         optional argument, enclose the argument with curly brackets (in
1154         case it contains a closing square bracket)
1155
1156         * text2.C (editXY):
1157         * text2.C (editXY):
1158         * text3.C (checkInsetHit): constify
1159
1160 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1163         documents (bug 1629)
1164
1165 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1166
1167         Fix toggling of collapsable insets with the mouse (bug 1558)
1168
1169         * lyxfunc.C (dispatch): adapt to LCursor changes
1170
1171         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1172         make sure that dispatch is not invoked twice
1173
1174         * cursor.C (needsUpdate): new method
1175         (dispatch): return void
1176         (result): new method, to access the DispatchResult of the cursor.
1177
1178 2004-08-13  José Matos  <jamatos@lyx.org>
1179
1180         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1181
1182 2004-08-13  André Pönitz  <poenitz@gmx.net>
1183
1184         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1185
1186         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1187           multiple cells
1188
1189 2004-08-12  André Pönitz  <poenitz@gmx.net>
1190
1191         * text3.C: take out the 'cursor right' form insertInset and only
1192         do it in those places when it is really needed. Fixes crash on
1193         C-m...
1194
1195 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1196
1197         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1198
1199         * BufferView_pimpl.C (setBuffer): initialize the current font of
1200         the underlying LyXText
1201
1202 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1203
1204         * kbsequence.C (print): use UI native formatting for menu
1205         shortcuts
1206
1207         * text.C (insertChar): call Paragraph::insertChar with a font
1208         argument (cosmetic)
1209
1210         * paragraph.C (insertInset, insertChar): the version that takes a
1211         LyXFont argument is now a wrapper around the other one (the
1212         opposite used to be true).
1213
1214         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1215         argument. Font setting is done in Paragraph now.
1216
1217 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1218
1219         * outputparams.h: add new members intitle and lang.
1220
1221         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1222         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1223
1224 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1225
1226         * text3.C (dispatch): remove special handling of button 4 and 5,
1227         it is now taken care of in the frontend code.
1228
1229 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1230
1231         * Spacing.h: add <string> (STLPort compile fix)
1232
1233 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1234
1235         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1236
1237 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1238
1239         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1240         to bool.
1241
1242         * converter.C (showMessage): inherit from unary_function, make
1243         operator() const.
1244
1245         * buffer.C (writeFile): initialize retval
1246
1247         * InsetList.h: rename private variable list to list_
1248         * InsetList.[Ch]: adjust accordingly.
1249
1250 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1251
1252         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1253         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1254         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1255         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1256         * ParagraphParameters.C, LaTeXFeatures.C: replace
1257         "support/std_sstream.h" with <sstream>
1258
1259 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1260
1261         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1262         * lyxsocket.C (LyXServerSocket): ditto
1263         (serverCallback): ditto
1264
1265 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1266
1267         * LaTeXFeatures.C: check release date when loading jurabib.
1268
1269 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1270
1271         * lyxserver.C (startPipe): call register_socket_callback
1272         (endPipe): call unregister_socket_callback
1273
1274 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1275
1276         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1277         (LyXServerSocket): register the callback
1278         (LyXServerSocket): unregister the callback
1279         (fd): delete function
1280         (serverCallback): improve error checking and setup the callbacks.
1281         (dataCallback): change arg to fd.
1282         (writeln): new func (copied fro the client socket) used for server
1283         write to client.
1284         (LyXDataSocket): simplify
1285         (~LyXDataSocket): close ann unregiser callback
1286         (server): delete function
1287         (fd): delete function
1288         (readln): small changes, improve some std::string usage
1289         (writeln): constify a bit
1290
1291 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1294         Qt frontend
1295
1296 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1299         after it has been populated
1300
1301 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1302
1303         * text2.C (insertInset): move cursor when inserting inset.
1304
1305 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1306
1307         * kbmap.C (findbindings): a couple of new methods. returns a
1308         container of kb_sequence objects. The real work is done by the
1309         private recursive version
1310         (printbindings): uses findbindings to print out a bracketed list
1311         of bindings (renamed from findbinding).
1312
1313         * MenuBackend.C (binding): use kb_keymap::findbindings
1314
1315         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1316
1317 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1318
1319         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1320
1321 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1322
1323         * paragraph.C (isWord): return true on insets that report
1324         isLetter().
1325
1326         * text.C (getWord): use Paragraph::isWord to decide what is in a
1327         word and what is not; fix bug 1609.
1328
1329 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1330
1331         * tex-strings.C: add "none" to string_paperpackages[], fixes
1332         off-by-one-error in the paperpackage selection.
1333
1334         * lyxlex.[Ch]:
1335         * tex-strings.[Ch]: char const * string[n]
1336         -> char const * const string[]
1337
1338 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1339
1340         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1341         command, return early.
1342
1343 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1344
1345         * debug.h: add DEBUG to enum and fix size of ANY.
1346
1347         * debug.C: add support for Debug::DEBUG
1348         (showTags): cast errorTags.level to unsigned int
1349
1350         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1351         (redoCurrentBuffer): ditto
1352         (updateScrollbar): ditto
1353         * cursor.C (dispatch): ditto
1354         * text2.C (setLayout): ditto
1355         (setFont): ditto
1356         (updateCounters): ditto
1357         (editXY): ditto
1358         (deleteEmptyParagraphMechanism): ditto
1359
1360 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1361
1362         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1363         annotations to cleanup the Makefile slightly.
1364
1365 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1366
1367         * lyxrc.C: do not set user_email to a default value but use empty
1368         instead. The entry used to be translated, which does not work
1369         since at the point where lyxrc is constructed there is no
1370         translation service available
1371
1372         * messages.C (getLocaleDir): remove and use directly
1373         lyx_localedir() instead
1374
1375 2004-06-02  Angus Leeming  <leeming@lyx.org>
1376
1377         Fix crash caused by dereferencing null pointer 'exportdata' in
1378         OutputParams by creating a new ExportData variable on the heap,
1379         storing it in a boost::shared_ptr.
1380         The crash was triggered when generating an Instant Preview
1381         of an external inset.
1382
1383         * Makefile.am: add outputparams.C
1384
1385         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1386         (c-tor): allocate memory to it.
1387
1388         * exporter.C (c-tor): associated changes.
1389
1390 2004-06-01  Angus Leeming  <leeming@lyx.org>
1391
1392         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1393         contains data before calling isInset(0). (Bug 1513.)
1394
1395 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1396
1397         * exporter.C (checkOverwrite): new method
1398         * exporter.C (copyFile): new method
1399         * exporter.C (Export): copy referenced files to the document dir
1400         * exporter.[Ch]: new class ExportedFile
1401         * exporter.[Ch]: new class ExportData. Contains currently the
1402         names of referenced external files
1403         * outputparams.h: add exportdata member.
1404
1405 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1406
1407         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1408         version.C-tmp
1409
1410 2004-05-19  Angus Leeming  <leeming@lyx.org>
1411
1412         * LaTeXFeatures.C:
1413         * ToolbarBackend.C:
1414         * bufferparams.C:
1415         * lyxfunc.C: small changes due to the introduction of namespace
1416         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1417
1418 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1419
1420         * text3.C (dispatch): supress update when only moving the cursor
1421         * cursor.C (selHandle): remove commented code
1422
1423 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1424
1425         * paragraph.C (startTeXParParams): correct column count
1426         * CutAndPaste.C (pasteSelection): remove const_cast
1427         * output_docbook.C (docbookParagraphs): remove const_cast
1428         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1429         const_cast and return ParagraphList::const_iterator
1430         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1431         * output_plaintext.C (writeFileAscii): remove const_cast
1432         * paragraph.[Ch] (simpleTeXOnePar): make const
1433         * paragraph_funcs.C (outerPar): use const iterators
1434         * paragraph_pimpl.C (validate): use const iterators
1435         * text.C (setHeightOfRow): use const iterators
1436
1437 2004-05-17  Angus Leeming  <leeming@lyx.org>
1438
1439         * lfuns.h:
1440         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1441
1442         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1443         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1444         if the citation engine has changed.
1445
1446 2004-05-14  José Matos  <jamatos@lyx.org>
1447
1448         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1449         if the textclass does not provide it. Have it different for sgml and
1450         xml.
1451         support the language of document.
1452         * output_docbook.C (docbookParagraphs):
1453         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1454         first anchor as the id of the paragraph, remove special case code.
1455         * sgml.C (escapeChar): escape only < & >.
1456
1457 2004-05-14  Angus Leeming  <leeming@lyx.org>
1458
1459         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1460         dependencies on src/frontends/controllers/biblio.h. Define a
1461         CiteEngine_enum wrapper class to enable the enum to be forward
1462         declared.
1463
1464 2004-05-12  Angus Leeming  <leeming@lyx.org>
1465
1466         * buffer.C: up LYX_FORMAT to 234.
1467         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1468         use_numerical_citations with a single biblio::CiteEngine cite_engine
1469         variable.
1470         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1471
1472 2004-05-13  José Matos  <jamatos@lyx.org>
1473
1474         * converter.h:
1475         * converter.C (Converter, readFlags): add xml member.
1476         * outputparams.h: add XML flavor.
1477         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1478
1479 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * lyxfunc.C (dispatch):
1482         (getStatus): fix handling of LFUN_SEQUENCE
1483
1484 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1485
1486         * debug.C (showLevel): do not forget the end-of-line marker
1487
1488 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * kbmap.C (read): do not stop parsing a bind file when an error
1491         occurs (bug 1575)
1492
1493 2004-04-29  Angus Leeming  <leeming@lyx.org>
1494
1495         * cursor.C:
1496         * factory.C:
1497         * pariterator.C:
1498         * text2.C: wrap a bunch of #warning statements
1499         inside #ifdef WITH_WARNINGS blocks.
1500
1501 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1502
1503         * buffer.C: increment format to 233.
1504
1505 2004-04-28  Angus Leeming  <leeming@lyx.org>
1506
1507         * BufferView_pimpl.C:
1508         * lyxfunc.C:
1509         * text3.C:
1510         s/updateToolbar()/updateToolbars()/
1511         s/Toolbar.h/Toolbars.h/
1512
1513 2004-04-28  Angus Leeming  <leeming@lyx.org>
1514
1515         * BufferView.[Ch] (c-tor):
1516         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1517         No longer passes these data to the WorkArea generator.
1518
1519 2004-04-28  Angus Leeming  <leeming@lyx.org>
1520
1521         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1522
1523 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1524
1525         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1526
1527 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1528
1529         * output_latex.C (TeXEnvironment): make sure that there is a line
1530         break before \end{foo} for the last paragraph of a document
1531         (TeXOnePar): if the paragraph is at the end of the document (or
1532         inset) and the language has to be reset, then make sure that the
1533         line break is _before_ the language command, not after (fixes bug
1534         1225); also make sure that the language reset command is the first
1535         thing after the paragraph (to ensure proper nesting of
1536         environments and thus fix bug 1404)
1537
1538 2004-04-21  John Levon  <levon@movementarian.org>
1539
1540         * ToolbarBackend.h:
1541         * ToolbarBackend.C: make "name" be a programmatic name
1542         and a gui_name field.
1543
1544         * lyxfunc.C: display the minibuffer on M-x
1545
1546 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1549         (bug 1526)
1550
1551 2004-04-19  Angus Leeming  <leeming@lyx.org>
1552
1553         * BufferView_pimpl.C (setBuffer): changed preview interface.
1554
1555         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1556         possible values.
1557
1558 2004-04-19  John Levon  <levon@movementarian.org>
1559
1560         * BufferView_pimpl.C:
1561         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1562
1563 2004-04-05  Angus Leeming  <leeming@lyx.org>
1564
1565         * text.C (redoParagraphs): add call to updateCounters(), thereby
1566         fixing the missing "Figure #:" label from the caption of a
1567         figure float.
1568
1569 2004-04-13  Angus Leeming  <leeming@lyx.org>
1570
1571         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1572         cursor is clicked out of an inset.
1573
1574 2004-04-13  Angus Leeming  <leeming@lyx.org>
1575
1576         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1577         than an InsetOld one.
1578
1579 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1580
1581         * format.[Ch]: add editor to Format
1582         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1583         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1584
1585 2004-04-08  André Pönitz  <poenitz@gmx.net>
1586
1587         * metricsinfo.h: remove PainterInfo::width member
1588
1589 2004-04-08  Angus Leeming  <leeming@lyx.org>
1590
1591         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1592         "\providecommand" rather than "\newcommand", thereby preventing
1593         clashes with packages that define "\boldsymbol" themselves.
1594         Eg, beamer.
1595
1596 2004-04-08  Angus Leeming  <leeming@lyx.org>
1597
1598         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1599         thereby squashing an unnecessary warning.
1600
1601 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1602
1603         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1604         setBuffer()
1605
1606 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1607
1608         * BufferView.C (setCursor): call redoParagraph (some insets could
1609         have been opened)
1610         (putSelectionAt): remove the 'double update' trick
1611
1612         * BufferView_pimpl.C (fitCursor): call refreshPar
1613         (workAreaDispatch): remove an uneeded update call
1614         (dispatch): remove some manual update calls
1615
1616         * cursor.[Ch]: remove cached_y_, updatePos
1617         (selHandle): set noUpdate when appropriate
1618
1619         * lyxfunc.C (dispatch): track if we need an update
1620
1621         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1622
1623         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1624         (paintSelection): cheap optimization, do not call cursorX when not
1625         needed
1626         (paintPars): change signature
1627         (refreshPar): add
1628         (paintText): adjust
1629         (paintTextInset): adjust
1630
1631         * text.C: adjust
1632
1633 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1634
1635         * lengthcommon.C: compilation fix: remove explicit array size from
1636         unit_name[] and friends
1637
1638 2004-04-05  Angus Leeming  <leeming@lyx.org>
1639
1640         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1641
1642         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1643         present only for the preferences dialog.
1644         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1645
1646 2004-04-05  Angus Leeming  <leeming@lyx.org>
1647
1648         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1649         to enable the frontends to export changes to lyxrc correctly.
1650
1651         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1652
1653 2004-04-07  André Pönitz  <poenitz@gmx.net>
1654
1655         * cursor.[Ch] (selClear, adjust): remove math
1656
1657         * cursor_slice.C: more agressive assert
1658
1659         * lyxfunc.C:
1660         * BufferView_pimpl.C: rework mouse event dispatch
1661
1662         * dociterator.C:
1663         * paragraph.C:
1664         * text2.C:
1665         * text3.C: adjust
1666
1667 2004-04-05  André Pönitz  <poenitz@gmx.net>
1668
1669         * cursor.[Ch] (valign, halign...): remove unneeded functions
1670
1671 2004-04-05  Angus Leeming  <leeming@lyx.org>
1672
1673         * lyxlength.[Ch] (unit_name et al.): const-correct.
1674
1675 2004-04-05  Angus Leeming  <leeming@lyx.org>
1676
1677         * BufferView_pimpl.C:
1678         * buffer.C:
1679         * counters.C:
1680         * cursor.C:
1681         * lyxfunc.C
1682         * paragraph.C:
1683         * pariterator.C:
1684         * text.C:
1685         * text2.C:
1686         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1687
1688 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1691
1692 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1695         * BufferView_pimpl.[Ch] (getStatus)
1696         * BufferView.[Ch] (getStatus): add
1697         * lyxfunc.C (getStatus): move lfuns handled in
1698         BufferView::dispatch to te function above
1699         * Cursor.C (setSelection): set selection() = true
1700
1701 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1702
1703         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1704
1705 2004-03-31  Angus Leeming  <leeming@lyx.org>
1706
1707         * lyxfunc.C (dispatch): Fall through to the generic
1708         Dialogs::show("preamble").
1709
1710 2004-03-31  Angus Leeming  <leeming@lyx.org>
1711
1712         * lyxfunc.C (dispatch): Fall through to the generic
1713         Dialogs::show("spellchecker").
1714
1715 2004-03-31  Angus Leeming  <leeming@lyx.org>
1716
1717         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1718         preferences dialog.
1719
1720 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * BufferView.C
1723         * cursor.[Ch]
1724         * dociterator.[Ch]:
1725         * insetiterator.[Ch]:
1726         * lyxfind.C:
1727         * lyxfunc.C:
1728         * pariterator.[Ch]:
1729         * text2.C:
1730         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1731
1732 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1733
1734         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1735         insets where we are putting the cursor.
1736
1737 2004-03-31  Angus Leeming  <leeming@lyx.org>
1738
1739         * lfuns.h:
1740         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1741
1742         * lyxrc.[Ch] (read, write): overloaded member functions taking
1743         a std::[io]stream arguments.
1744
1745         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1746
1747 2004-03-31  Angus Leeming  <leeming@lyx.org>
1748
1749         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1750         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1751
1752         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1753         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1754
1755 2004-03-31  Angus Leeming  <leeming@lyx.org>
1756
1757         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1758         the LFUN_ALL_INSETS_TOGGLE code.
1759
1760 2004-03-30  Angus Leeming  <leeming@lyx.org>
1761
1762         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1763         has died. Fall through to the generic Dialogs::show("document").
1764
1765 2004-03-30  Angus Leeming  <leeming@lyx.org>
1766
1767         * lfuns.h:
1768         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1769         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1770
1771         * lyxfunc.C (getStatus, dispatch): define the actions for these
1772         lfuns. Little more than a cut and pste job from ControlDocument.C
1773
1774         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1775
1776 2004-03-30  Angus Leeming  <leeming@lyx.org>
1777
1778         * lfuns.h:
1779         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1780         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1781
1782         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1783         open/closed state of ollapsable insets. Usage:
1784
1785         all-inset-toggle <state> <name>, where
1786         <state> == "open" || "closed" || "toggle" and
1787         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1788
1789         * lyxtext.h, text2.C (toggleInset): removed.
1790
1791         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1792         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1793         now passes LFUN_INSET_TOGGLE to the found inset.
1794
1795         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1796         is now invoked as "all-insets-toggle toggle branch".
1797
1798 2004-03-30  Angus Leeming  <leeming@lyx.org>
1799
1800         * dociterator.C:
1801         * insetiterator.C:
1802         * pariterator.[Ch]: added/corrected header blurb.
1803
1804 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1805
1806         * dociterator.[Ch]: add an inset_ member
1807         (backwardPos): implemented
1808         (backwardPos, forwardPos): use inset_ when the stack is empty.
1809         (doc_iterator_begin, doc_iterator_end): implemented
1810         * pariterator.[Ch]: adjust, add begin, end
1811         * insetiterator.[Ch]: adjust, add begin, end
1812         * cursor.C:
1813         * document.C:
1814         * BufferView.C:
1815         * BufferView_pimpl.C:
1816         * CutAndPaste.C: adjust
1817
1818 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1819
1820         * buffer.C: increment file format to 232.
1821         * LaTeXFeatures.C: add bibtopic package.
1822         * bufferparams.[Ch]: param \use_bibtopic.
1823
1824         * lyxrc.[Ch]: add lyxrc bibtex_command
1825         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1826
1827         * buffer.C: increment file format to 231.
1828
1829 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * dociterator.C: implement forwardPar
1832         * iterators.[Ch]: remove, replaced by
1833         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1834         * BufferView.C:
1835         * BufferView_pimpl.C:
1836         * CutAndPaste.C:
1837         * buffer.C:
1838         * bufferview_funcs.C:
1839         * cursor.C:
1840         * lyxfind.C
1841         * lyxfunc.C
1842         * paragraph_funcs.C
1843         * toc.C:
1844         * Makefile.am: adjust
1845
1846 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1847
1848         * CutAndPaste.C (pasteSelection): fix 2 crashes
1849         (eraseSelection): fix a crash
1850         * paragraph_funcs.C: remove a warning
1851
1852 2004-03-28  Angus Leeming  <leeming@lyx.org>
1853
1854         * lfuns.h:
1855         * LyXAction.C (init): new LFUN_PRINT.
1856
1857         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1858
1859 2004-03-27  Angus Leeming  <leeming@lyx.org>
1860
1861         * lfuns.h:
1862         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1863
1864         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1865
1866 2004-03-27  Angus Leeming  <leeming@lyx.org>
1867
1868         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1869         insetlist always contains non-null pointers to insets.
1870
1871 2004-03-26  Angus Leeming  <leeming@lyx.org>
1872
1873         * src/BufferView_pimpl.C:
1874         * src/CutAndPaste.C:
1875         * src/buffer.C:
1876         * src/iterators.C:
1877         * src/output_plaintext.C:
1878         * src/outputparams.h:
1879         * src/paragraph_funcs.C:
1880         * src/rowpainter.C:
1881         * src/text.C:
1882         * src/text2.C:
1883         * src/frontends/controllers/ControlErrorList.C:
1884         * src/frontends/gtk/FileDialogPrivate.C:
1885         * src/frontends/gtk/GPainter.C:
1886         * src/frontends/gtk/GToolbar.C:
1887         * src/frontends/qt2/QRef.C:
1888         * src/mathed/math_scriptinset.C: squash compiler warnings.
1889
1890 2004-03-26  Angus Leeming  <leeming@lyx.org>
1891
1892         * ispell.C (LaunchIspell::start):
1893         * lyx_cb.C (AutoSaveBuffer::start):
1894         invoke run(DontWait) rather than runNonBlocking().
1895
1896 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1897
1898         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1899
1900 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1901
1902         * kbsequence.C (print): adjust
1903
1904         * kbmap.C (printKeySym): rename and change signature
1905         (printKey): use LyXKeySym::print()
1906
1907 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1908
1909         * undo.C: add using std::advance to compile for stlport
1910
1911 2004-03-24  Angus Leeming  <leeming@lyx.org>
1912
1913         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1914         it leads to a crash when no buffer is present.
1915
1916 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1917             Martin Vermeer  <martin.vermeer@hut.fi>
1918
1919         * lyxfunc.C (dispatch):
1920         * bufferparams.C (readToken): use the new LColor::setColor
1921
1922         * LColor.[Ch] (setColor): new version that takes two strings as
1923         argument and creates a new color entry if necessary
1924
1925 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1926
1927         * buffer.C (makeLaTeXFile): if the main latex file that is
1928         processed is usually a subdocument of some master, then pretend
1929         for a while that it is actually the master
1930
1931 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1932
1933         * buffer.C (getLabelList):
1934         (getBibkeyList): use getMasterBuffer()
1935         (getMasterBuffer): new method. Returns the main document in the
1936         case where one is using included documents.
1937
1938 2004-03-25  André Pönitz  <poenitz@gmx.net>
1939
1940         * Makefile.am:
1941         * iterators.[Ch]:
1942         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1943
1944         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1945
1946         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1947         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1948
1949         * ParameterStruct.h: merge with ParagraphParameters
1950
1951         * lyxtext.h: remove LyXText::parOffset() and getPar()
1952
1953         * text3.C: Remove all 'manual' update calls. We do now one per user
1954         interaction which is completely sufficient.
1955
1956         * Bidi.C:
1957         * BufferView.[Ch]:
1958         * BufferView_pimpl.C:
1959         * FontIterator.[Ch]:
1960         * MenuBackend.C:
1961         * ParagraphParameters.[Ch]:
1962         * buffer.C:
1963         * buffer.h:
1964         * bufferlist.C:
1965         * cursor.[Ch]:
1966         * cursor_slice.[Ch]:
1967         * dociterator.[Ch]:
1968         * errorlist.[Ch]:
1969         * factory.C:
1970         * lfuns.h:
1971         * lyxfind.C:
1972         * lyxfunc.C:
1973         * output_docbook.[Ch]:
1974         * output_latex.[Ch]:
1975         * output_linuxdoc.[Ch]:
1976         * output_plaintext.[Ch]:
1977         * paragraph.[Ch]:
1978         * paragraph_funcs.[Ch]:
1979         * paragraph_pimpl.[Ch]:
1980         * rowpainter.C:
1981         * tabular.[Ch]:
1982         * text.C:
1983         * text2.C:
1984         * toc.C:
1985         * undo.[Ch]: adjust
1986
1987         * frontends/controllers/ControlDocument.C:
1988         * frontends/controllers/ControlErrorList.C:
1989         * frontends/controllers/ControlSpellchecker.C:
1990         * insets/inset.C:
1991         * insets/inset.h:
1992         * insets/insetbase.h:
1993         * insets/insetbibitem.C:
1994         * insets/insetbox.C:
1995         * insets/insetbranch.C:
1996         * insets/insetcaption.C:
1997         * insets/insetcharstyle.C:
1998         * insets/insetcharstyle.h:
1999         * insets/insetcollapsable.C:
2000         * insets/insetcollapsable.h:
2001         * insets/insetert.C:
2002         * insets/insetfloat.C:
2003         * insets/insetfoot.C:
2004         * insets/insetmarginal.C:
2005         * insets/insetnote.C:
2006         * insets/insetoptarg.C:
2007         * insets/insettabular.C:
2008         * insets/insettext.C:
2009         * insets/insettext.h:
2010         * insets/insetwrap.C:
2011         * mathed/math_mboxinset.C:
2012         * mathed/math_nestinset.C:
2013         * mathed/math_scriptinset.C:
2014         * mathed/math_scriptinset.h:
2015         * support/types.h:
2016
2017 2004-03-24  Angus Leeming  <leeming@lyx.org>
2018
2019         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2020         deal with any child processes that have finished but are waiting to
2021         communicate this fact to the rest of LyX.
2022
2023 2004-03-24  Angus Leeming  <leeming@lyx.org>
2024
2025         64-bit compile fixes.
2026
2027         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2028         (c-tor): pass lyx::pos_types rather than ints.
2029
2030         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2031         lyx::pos_type.
2032
2033         * text.C (Delete): compile fix.
2034         (getPar): ensure that function declaration is the same as that in
2035         the header file.
2036
2037 2004-03-23  Angus Leeming  <leeming@lyx.org>
2038
2039         * ispell.C (LaunchIspell):
2040         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2041         a boost::shred_ptr rather than a std::auto_ptr.
2042
2043 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2046         handle LFUN_FILE_INSERT_*
2047
2048         * lyxrc.C (setDefaults, getDescription, output, read):
2049         * lyxrc.h: remove ps_command
2050
2051 2004-03-22  Angus Leeming  <leeming@lyx.org>
2052
2053         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2054         Ensure that error_handler is processed once only and that all data
2055         is saved before attempting to output any warning messages.
2056
2057         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2058
2059 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2060
2061         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2062
2063 2004-03-19  André Pönitz  <poenitz@gmx.net>
2064
2065         * cursor.[Ch] (reset): take main text inset as argument
2066
2067         * BufferView: adjust
2068         * BufferView_pimpl.C: adjust
2069
2070         * paragraph.[Ch]: fix completely broken operator=()
2071
2072 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073
2074         * LColor.C (getFromLyXName): make sure that the color name is used
2075         as lowercase.
2076
2077 2004-03-17  Angus Leeming  <leeming@lyx.org>
2078
2079         * lfuns.h:
2080         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2081
2082         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2083         dialog and to kill a forked process.
2084
2085 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2086
2087         * text2.C (setCursorFromCoordinates): fix font problem
2088
2089 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2090
2091         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2092         bogus "rebuild cursor" code
2093
2094 2004-03-11  André Pönitz  <poenitz@gmx.net>
2095
2096         * buffer.[Ch]: use InsetText instead of LyXText as container for
2097         the main lyx text.
2098
2099         * dociterator.[Ch]: drop the BufferView * member which is not needed
2100         anymore after the change to buffer.C
2101
2102         * paragraph_funcs.C:
2103         * text.C:
2104         * text2.C:
2105         * BufferView.[Ch]:
2106         * BufferView_pimpl.[Ch]:
2107         * cursor.[Ch]:
2108         * cursor_slice.[Ch]: adjust
2109
2110         * text3.C: fix bug in mathDispatch
2111
2112 2004-03-08  André Pönitz  <poenitz@gmx.net>
2113
2114         * undo.[Ch]: use 'StableDocumentIterator' as base for
2115         the Undo struct.
2116
2117 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2118
2119         * LaTeXFeatures.C:
2120         * bufferparams.[Ch]: add jurabib support and param.
2121
2122         * LaTeX.C: add FIXME/comment.
2123
2124 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2125
2126         * buffer.C: increment file format to 230.
2127
2128 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * cursor.C (dispatch): avoid infinite loops
2131
2132 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2133
2134         * rowpainter.C (paintSelection): fix x coordinates
2135
2136 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2137
2138         * text.C (rowBreakPoint): fix breaking before displayed insets
2139
2140 2004-03-01  André Pönitz  <poenitz@gmx.net>
2141
2142         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2143
2144         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2145
2146         * Makefile.am:
2147         * BufferView.C:
2148         * BufferView_pimpl.C:
2149         * buffer.C:
2150         * lyxfind.C:
2151         * lyxfunc.C:
2152         * text.C:
2153         * text2.C:
2154         * text3.C: adjust
2155
2156 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2157
2158         * lyxtext.h:
2159         * text.C:
2160         * text2.C:
2161         * rowpainter.C:
2162         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2163         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2164
2165 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2166
2167         * Bidi.[Ch] (computeTables): const correctness
2168         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2169         fill_hfill, fill_label_hfill and x from Row
2170         * lyxtext.h: prepareToPrint returns a RowMetrics
2171         * rowPainter.C: adjust
2172         * text.C (prepareToPrint): use width, not textWidth. adjust
2173         (redoParagraphInternal, cursorX): adjust
2174         * text2.C (getColumnNearX): adjust
2175         (init): put a default value to the top LyXText::width
2176
2177 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2178
2179         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2180
2181 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2182
2183         * lyxtext.h: add FontIterator class
2184
2185         * text.C (FontIterator, operator*, operator->, operator++): add
2186         (rowBreakPoint, setRowWidth): adjust (fixing a
2187         rebreaking bug)
2188
2189 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2190
2191         * BufferView_pimpl.C (workAreaDispatch): allow also
2192         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2193
2194 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2195
2196         * text.C (rowBreakPoint): fix a bug showing with very large insets
2197
2198 2004-02-25  André Pönitz  <poenitz@gmx.net>
2199
2200         * text3.C:
2201         * cursor.[Ch]: move some mathed specific code to mathed
2202
2203 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2204
2205         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2206         use_tempdir in preferences
2207         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2208         tempfile creation
2209         * lyx_main.C: ensure that tempdir is valid
2210         * lyxlex.h: correct typo
2211         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2212         * paragraph.[Ch] (isMultiLingual): make const
2213         * cursor.[Ch] (openable): make const
2214
2215 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2216
2217         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2218
2219 2004-02-20  André Pönitz  <poenitz@gmx.net>
2220
2221         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2222
2223         * cursor.[Ch]: prepare for localized getStatus()
2224
2225         * lyxtext.h:
2226         * tabular.C:
2227         * text.C:
2228         * text2.C:
2229         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2230
2231 2004-02-20  André Pönitz  <poenitz@gmx.net>
2232
2233         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2234
2235 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2236
2237         * text2.C (setCursorFromCoordinates): switch to absolute coords
2238         (cursorUp): adjust
2239         (cursorDown): adjust
2240         * text3.C (dispatch): adjust
2241
2242 2004-02-16  André Pönitz  <poenitz@gmx.net>
2243
2244         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2245           insets/ChangeLog)
2246
2247         * cursor_slice.[Ch]: remove unneeded acessor function
2248
2249         * lyxtext.h: rename rtl() to isRTL()
2250
2251         * rowpainter.C:
2252         * tabular.C:
2253         * text.C:
2254         * text2.C:
2255         * text3.C: adjust
2256
2257 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2258
2259         * rowpainter.C (paintSelection): coord fix
2260
2261 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2262
2263         * Spacing.C: compile fix
2264
2265 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2266
2267         * cursor.C (dispatch): restore current_ before returning
2268
2269 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * text2.C (cursorUp, cursorDown): fix coords
2272         (moveUp): fix crash
2273
2274 2004-02-12  André Pönitz  <poenitz@gmx.net>
2275
2276         * lyxtext.h:
2277         * text.C:
2278         * text2.C:
2279         * text3.C: add LCursor & parameter to most cursor movement functions
2280           remove usage of LyXText::cursorRow() and cursorPar()
2281
2282         * cursor.[Ch]: add textRow() needed members
2283
2284         * BufferView.C:
2285         * BufferView_pimpl.C:
2286         * paragraph.[Ch]:
2287         * BufferView.C:
2288         * BufferView_pimpl.C: adjust
2289
2290 2004-02-11  André Pönitz  <poenitz@gmx.net>
2291
2292         * lyxfunc.C:
2293         * BufferView.[Ch]:
2294         * BufferView_pimpl.C: shift undo/redo handling
2295
2296         * cursor.[Ch]: fix mathed crash
2297
2298         * lyxfind.C:
2299         * lyxtext.h: move selectionAsText to LCursor
2300
2301         * output_latex.C:
2302         * paragraph.C:
2303         * text.C:
2304         * text2.C:
2305         * text3.C: adjust
2306
2307         * rowpainter.C: fix excessive drawing
2308
2309 2004-02-06  André Pönitz  <poenitz@gmx.net>
2310
2311         * BufferView.[Ch]:
2312         * BufferView_pimpl.[Ch]:
2313         * text3.C: move some text specific LFUN handling
2314
2315 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2316
2317         * text3.C (checkInsetHit): adjust coords
2318         * text2.C (getColumnNearX): adjust coords
2319         (edit): adjust coords
2320         * text.C (getRowNearY): add two asserts
2321
2322 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2323
2324         * converter.C:
2325         * format.C: add using std::distance to compile on gcc 2.95/stlport
2326
2327 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2328
2329         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2330
2331 2004-02-04  André Pönitz  <poenitz@gmx.net>
2332
2333         * BufferView.[Ch] (insertInset):
2334         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2335
2336         * text2.C:
2337         * text3.C: adjust
2338
2339 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2340
2341         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2342         on the default clause of the switch
2343         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2344         wasn't catched by LCursor::dispatch
2345
2346 2004-02-03  André Pönitz  <poenitz@gmx.net>
2347
2348         * BufferView.C:
2349         * cursor.[Ch]: some additional asserts
2350
2351         * undo.[Ch]: remove LyXText dependency in interface
2352
2353         * lyxfunc.C: adjust
2354
2355         * lyxtext.h (firstPar, lastPar): remove dead functions
2356
2357         * text.C:
2358         * text2.C:
2359         * text3.C:
2360         * paragraph.[Ch]: adjust
2361
2362 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2363
2364         * lyxfind.C (find): fix argument order in call to ::find
2365
2366 2004-02-02  André Pönitz  <poenitz@gmx.net>
2367
2368         * cursor.[Ch]: remove direct access to anchor
2369
2370         * text.C: remove findText() hack
2371
2372 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2373
2374         * iterators.[Ch] (lockPath): remove in favour of...
2375         * BufferView.[Ch] (setCursor): this addition
2376         * BufferView.C (putSelectionAt): adjust
2377         * undo.C (performUndoOrRedo): adjust
2378         * lyxfunc.C (dispatch): adjust
2379
2380 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2381
2382         * iterators.C (lockPath): add a missing slice
2383         * undo.C (performUndoOrRedo): remove redundant positioning code
2384
2385 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2386
2387         * vc-backend.C (scanMaster): ";" -> ';'
2388
2389 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2390
2391         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2392         std::binary_function
2393
2394         * lyxtextclass.C (compare_name): rename to...
2395         (LayoutNamesEqual): ...this
2396
2397         * lyxlex_pimpl.C (compare_tags): inherit from
2398         std::binary_function, put back into anon namespace
2399
2400         * lyxfind.C (MatchString): inherig from std::binary_function
2401         (findChange): use empty() istead of !size()
2402
2403         * format.C (FormatNamesEqual): new functor
2404         (getFormat): use it
2405         (getNumber): use it
2406         (add): use it
2407         (erase): use it
2408         (setViewer): use it
2409
2410         * converter.C (compare_Converter): rename to...
2411         (ConverterEqual): ...this, and fixup a bit.
2412         (getConverter): use it, and make function const
2413         (getNumber): use it, and make function const
2414         (add): use it
2415         (erase): use it:
2416
2417         * bufferlist.C: add using boost::bind
2418
2419         * MenuBackend.C (MenuNamesEqual): new functor
2420         (hasMenu): use it, and make function const
2421         (hasSubmenu): use nested bind to get rid of compare_memfun.
2422
2423 2004-01-30  André Pönitz  <poenitz@gmx.net>
2424
2425         * BufferView_pimpl.C:
2426         * cursor.C:
2427         * cursor.h:
2428         * cursor_slice.[Ch]:
2429         * lyxfunc.C:
2430         * lyxtext.h:
2431         * paragraph_funcs.C:
2432         * paragraph_funcs.h:
2433         * rowpainter.C:
2434         * text.C:
2435         * text2.C:
2436         * text3.C: move some of the edit(x,y) handling to the insets
2437         some coordinate changes.
2438
2439 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2440
2441         * text.C: add using statements for std::advance and std::distance
2442
2443         * paragraph.C: add using statement for std::distance
2444
2445         * lyxfind.C: add using statement for std::advance
2446
2447         * cursor.C (region): remove std:: from swap
2448         (openable): use nucleus in stead of operator->
2449
2450         * BufferView.C: add using statements for std::distance and std::swap
2451
2452 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2453
2454         * iterators.C: Remove the pimple, move the needed structures to
2455         the header file. Create accessor for the positions stack.
2456         (asPosIterator): remove function
2457
2458         * PosIterator.C (PosIterator): move constructors to top of file
2459         (PosIterator): reimplement the constructor taking a ParIterator in
2460         terms of setFrom.
2461         (setFrom): new function
2462         (operator!=): inline it
2463
2464 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2465
2466         * lyxfind.C (replaceAll): use std::advance
2467
2468         * iterators.h: inherit from std::iterator.
2469
2470         * PosIterator.C (advance, distance): remove
2471         * PosIterator.h: interit from std::iterator.
2472
2473 2004-01-26  André Pönitz  <poenitz@gmx.net>
2474
2475         * BufferView.[Ch]:
2476         * BufferView_pimpl.[Ch]:
2477         * InsetList.[Ch]:
2478         * PosIterator.[Ch]:
2479         * buffer.h:
2480         * bufferview_funcs.C:
2481         * cursor.[Ch]:
2482         * cursor_slice.h:
2483         * factory.[Ch]:
2484         * iterators.[Ch]:
2485         * lyxfind.C:
2486         * lyxfunc.C:
2487         * lyxtext.h:
2488         * output_docbook.C:
2489         * output_latex.C:
2490         * output_linuxdoc.C:
2491         * output_plaintext.C:
2492         * paragraph.[Ch]:
2493         * paragraph_funcs.[Ch]:
2494         * paragraph_pimpl.[Ch]:
2495         * rowpainter.C:
2496         * tabular.C:
2497         * tabular.h:
2498         * text.C:
2499         * text2.C:
2500         * text3.C: more IU:  dumps most of the rest of the mathcursor
2501     implementation into cursor.[Ch]; "globalize" a bit of it.
2502
2503 2004-01-25  Angus Leeming  <leeming@lyx.org>
2504
2505         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2506
2507 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2508
2509         * LaTeXFeatures.h: add nice_ and nice() const
2510         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2511
2512 2004-01-20  André Pönitz  <poenitz@gmx.net>
2513
2514         * BufferView.[Ch]:
2515         * BufferView_pimpl.C:
2516         * PosIterator.C:
2517         * bufferview_funcs.C:
2518         * cursor.[Ch]:
2519         * cursor_slice.[Ch]:
2520         * factory.C:
2521         * iterators.C:
2522         * lyx_cb.C:
2523         * lyxfind.C:
2524         * lyxfunc.C:
2525         * lyxtext.h:
2526         * rowpainter.C:
2527         * text.C:
2528         * text2.C:
2529         * text3.C:
2530         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2531           LCursor and mathcursor parts to LCursor and InsetBase.
2532
2533 2004-01-15  André Pönitz  <poenitz@gmx.net>
2534
2535         * cursor_slice.[Ch]: add a few covienience functions
2536
2537         * funcrequest.[Ch]: remove BufferView * member
2538
2539         * BufferView_pimpl.C:
2540         * cursor.C:
2541         * factory.[Ch]:
2542         * lyxfind.[Ch]:
2543         * lyxfunc.C:
2544         * lyxtext.h:
2545         * text3.C:
2546         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2547
2548 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2551         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2552
2553 2004-01-13  André Pönitz  <poenitz@gmx.net>
2554
2555         * textcursor.[Ch]:
2556         * lyxtext.h: hide cursor and selection anchor behind accessor function
2557
2558         * BufferView.C:
2559         * BufferView_pimpl.[Ch]:
2560         * PosIterator.C:
2561         * bufferview_funcs.C:
2562         * cursor.h:
2563         * lyxfind.C:
2564         * lyxfunc.C:
2565         * text.C:
2566         * text2.C:
2567         * text3.C:
2568         * undo.C: adjust
2569
2570         * cursor.h:
2571         * cursor_slice.[Ch]: some integer type changes for inset unification
2572
2573         * lyxcursor.[hC]: remove, it's CursorSlice now.
2574
2575         * Makefile.am:
2576         * BufferView_pimpl.[Ch]:
2577         * bufferview_funcs.C:
2578         * cursor_slice.C:
2579         * lyxtext.h:
2580         * text.C:
2581         * text2.C:
2582         * text3.C:
2583         * textcursor.[Ch]: adjust
2584
2585 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * text2.C (undoSpan): add and use
2588         * text.C (breakParagraph): use undoSpan (fix bug 578)
2589         * lyxtext.h: adjust
2590
2591 2004-01-08  Angus Leeming  <leeming@lyx.org>
2592
2593         * BufferView_pimpl.C (MenuInsertLyXFile):
2594         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2595         * lyxfunc.C (menuNew, open, doImport):
2596         FileFilterList change to the FileDialog open and save functions.
2597
2598 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2599
2600         * ShareContainer.h: make isEqual and isUnique adaptable
2601
2602         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2603
2604 2004-01-07  Angus Leeming  <leeming@lyx.org>
2605
2606         * LyXAction.C:
2607         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2608
2609         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2610
2611         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2612         functions replacing find, replace and replaceAll.
2613
2614         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2615         LFUN_WORDFIND(FORWARD|BACKWARD).
2616
2617 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2618
2619         * text.C (breakParagraph): remove an outdated #warning
2620
2621 2004-01-07  André Pönitz  <poenitz@gmx.net>
2622
2623         * lyxfind.C: somewhat clearer logic
2624
2625         * text.C: prevent crash in cursorX on unitialized row cache
2626
2627 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2628
2629         * lyxcursor.[Ch] (operator>): add
2630         * textcursor.C (selStart, selEnd): use std::min and std::max
2631
2632 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2633
2634         * Chktex.C: include boost/format.hpp
2635
2636 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2637
2638         * InsetList.C: replace functor MathcIt with adaptable functor
2639         InsetTablePosLess
2640         (insetIterator): modify accordingly
2641
2642         * BranchList.h: move the BranchNamesEqual functor here from...
2643         * BranchList.C: ... to here
2644
2645         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2646         SameName and match.
2647         (add): replace a finding loop with std::find_if.
2648
2649 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2650
2651         * output_docbook.C: moving LatexParam functionality into
2652         .layout files
2653
2654 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2655
2656         * buffer.C: increment format to 229.
2657
2658 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2659
2660         * LaTeXFeatures.C:
2661         * lyx_sty.[Ch]: remove minipageindent_def
2662
2663         * LyXAction.C:
2664         * factory.C:
2665         * lfuns.h:
2666         * lyxfunc.C:
2667         * text3.C: remove LFUN_INSET_MINIPAGE
2668
2669 2003-12-28  Angus Leeming  <leeming@lyx.org>
2670
2671         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2672
2673 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2674
2675         * text2.C (setParagraph): fix off-by-one crash
2676
2677 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2678
2679         * output_docbook.C: header stuff for AGU
2680
2681 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2682
2683         * text2.C (redoCursor): remove
2684         * text.C:
2685         * text3.C:
2686         * BufferView_pimpl.C: remove calls to redoCursor and
2687         setCursor(cursor.par(), cursor.pos()) all around
2688
2689 2003-12-15  Angus Leeming  <leeming@lyx.org>
2690
2691         * buffer.C: up the format to 228.
2692
2693 2003-12-15  André Pönitz  <poenitz@gmx.net>
2694
2695         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2696         slices
2697
2698         * Makefile.am:
2699
2700         * BufferView_pimpl.C:
2701         * cursor.[Ch]:
2702         * lyxcursor.[Ch]:
2703         * rowpainter.[Ch]:
2704         * lyxtext.h:
2705         * text.C:
2706         * text2.C:
2707         * text3.C: adjust
2708
2709 2003-12-15  Angus Leeming  <leeming@lyx.org>
2710
2711         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2712         than getFromGUIName to manipulate the color.
2713
2714 2003-12-14  Angus Leeming  <leeming@lyx.org>
2715
2716         * BranchList.[Ch]: minimize the API.
2717         (Branch::getBranch, getColor): now return a 'const &'.
2718         (Branch::setSelected) now returns a bool set to true if the
2719         selection status changes.
2720         (BranchList::clear, size, getColor, setColor, setSelected,
2721         allBranches, allSelected, separator): removed.
2722         (BranchList::find): new functions, returning the Branch with
2723         the given name.
2724         (BranchList::add, remove): return a bool indicating that
2725         the operation was successful.
2726
2727         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2728         new InsetBranch::isBranchSlected member function.
2729
2730         * LColor.[Ch]: mimimize the API.
2731         (fill): renamed as addColor and made private.
2732         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2733         versions of these functions taking a string arg have been removed.
2734
2735         * bufferparams.C (readToken):
2736         * lyxfunc.C (dispatch):
2737         * lyxrc.C (read): changes due to the altered BranchList and
2738         LColor APIs.
2739
2740         * factory.C (createInset, readInset): changes due to altered
2741         InsetBranch c-tor.
2742
2743 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2744
2745         * factory.C:
2746         * lyxfunc.C: remove insetminipage. "minipage-insert"
2747         now produces a frameless minipage box inset.
2748
2749 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2750
2751         * textcursor.[Ch] (selStart,selEnd): add new methods
2752         remove selection::start, end, use LyXCursor::operator<
2753         * lyxcursor.[Ch] (operator<): add
2754         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2755         * BufferView.[Ch] (unsetXSel): add
2756         * text2.C (clearSelection): use unsetXSel,adjust
2757         * text.C: adjust
2758         * text3.C: adjust
2759         * rowpainter.C: adjust
2760         * bufferview_funcs.C (put_selection_at): adjust
2761
2762 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2763
2764         * BufferView_pimpl.C: small coord. correction
2765
2766 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2767
2768         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2769         dragging over the splash screen.
2770
2771 2003-12-11  Angus Leeming  <leeming@lyx.org>
2772
2773         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2774         as it is now handled in LyXText::dispatch.
2775
2776         * text3.C (doInsertInset): remove a level of nesting.
2777
2778 2003-12-11  Angus Leeming  <leeming@lyx.org>
2779
2780         * factory.C (createInset): changes due to the changed interface to
2781         InsetCommandMailer::string2params.
2782
2783 2003-12-10  Angus Leeming  <leeming@lyx.org>
2784
2785         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2786         'dialog-show-new-inset <inset name>'
2787
2788 2003-12-10  Angus Leeming  <leeming@lyx.org>
2789
2790         * buffer.C: up the format to 227.
2791
2792         * factory.C: the box inset is now identified simply by 'Box'.
2793
2794 2003-12-10  Angus Leeming  <leeming@lyx.org>
2795
2796         * buffer.C: up the format to 226.
2797
2798         * factory.C: the note inset is now identified simply by 'Note'.
2799
2800 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2801
2802         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2803         when a pit is enough. Standarize a couple of loops.
2804
2805 2003-12-05  Angus Leeming  <leeming@lyx.org>
2806
2807         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2808         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2809         data to the re-worked "log" dialog.
2810
2811 2003-12-03  André Pönitz  <poenitz@gmx.net>
2812
2813         * PosIterator.C:
2814         * iterators.C:
2815         * lyxtext.h:
2816         * output_latex.C:
2817         * paragraph_funcs.C:
2818         * text.C:
2819         * text2.C: use Inset::getText instead of Inset::getParagraph
2820
2821 2003-12-03  André Pönitz  <poenitz@gmx.net>
2822
2823         * buffer.[Ch]:
2824         * lyxtext.h:
2825         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2826         InsetText::read() as LyXText::read()
2827
2828 2003-12-02  Angus Leeming  <leeming@lyx.org>
2829
2830         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2831         type. Add a comment in the implementation that the function uses
2832         the stream's bad() function rather than fail() as the std::streams
2833         would do.
2834
2835 2003-12-02  André Pönitz  <poenitz@gmx.net>
2836
2837         * lyxlex.[Ch]: make interface more similar to std::stream
2838
2839         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2840
2841 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2842
2843         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2844
2845 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2846
2847         * vspace.[Ch]: remove VSpace::NONE
2848
2849 2003-12-01  André Pönitz  <poenitz@gmx.net>
2850
2851         * buffer.[Ch]:
2852         * lyxtext.h: move ParagraphList member to LyXText
2853         rename LyXText::ownerParagraphs to LyXText::paragraph
2854
2855         * CutAndPaste.C:
2856         * bufferview_funcs.C:
2857         * iterators.[Ch]:
2858         * lyx_cb.C:
2859         * paragraph.C:
2860         * rowpainter.C:
2861         * tabular.C:
2862         * text.C:
2863         * text2.C:
2864         * text3.C: adjust
2865
2866         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2867
2868         * undo.C: fix cursor positioning
2869
2870 2003-12-01  John Levon  <levon@movementarian.org>
2871
2872         * BufferView_pimpl.C: fix a crash on exit with
2873         a buffer open
2874
2875 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2876
2877         * BranchList.C: fix setSelected() method.
2878
2879 2003-11-28  André Pönitz  <poenitz@gmx.net>
2880
2881         * ParagraphParameters.[Ch]:
2882         * ParameterStruct.h: remove space above/below from Paragraph to
2883          InsetVSpace
2884
2885         * BufferView_pimpl.C:
2886         * factory.C:
2887         * lyxfunc.C:
2888         * lyxtext.h:
2889         * output_latex.C:
2890         * paragraph.C:
2891         * paragraph_funcs.C:
2892         * rowpainter.[Ch]:
2893         * text.C:
2894         * text2.C:
2895         * text3.C: adjust
2896
2897 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2898
2899         * factory.C: Syntax change for CharStyles
2900
2901 2003-11-28  André Pönitz  <poenitz@gmx.net>
2902
2903         * BufferView.[Ch]:
2904         * BufferView.[Ch]:
2905         * buffer.[Ch]:
2906         * buffer.[Ch]: move LyXText member
2907
2908 2003-11-28  André Pönitz  <poenitz@gmx.net>
2909
2910         * BufferView.[Ch]: make LyXText * text a private member
2911
2912         * BufferView_pimpl.C:
2913         * cursor.C:
2914         * iterators.C:
2915         * lyx_cb.C:
2916         * lyxfind.C:
2917         * lyxtext.h:
2918         * rowpainter.[Ch]:
2919         * text.C:
2920         * text2.C:
2921         * undo.C: adjust
2922
2923         * output_plaintext.C: cleanup
2924
2925 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2926
2927         * buffer.C:
2928         * lyxtextclass.[Ch]: parametrize SGML document header
2929
2930 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2931
2932         * converter.[Ch]:
2933         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2934         getFlavor().
2935
2936 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2937
2938         * text2.C (setFont): rework using PosIterator (no more recursive)
2939         (setCharFont): no more needed
2940         (setLayout): no more selection cursors fiddling (done by redoCursor)
2941         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2942         destroy remaining ones)
2943
2944 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2945
2946         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2947         * lyxtext.h: ditto
2948         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2949         selection cursors
2950         * lyxfunc.C: adjust
2951         * text3.C: adjust + re-allow multi par depth changes
2952         * textcursor.C: simplify a bit
2953
2954 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2955
2956         * src/buffer.C:
2957         * src/lyxlayout.C:
2958         * src/lyxlayout.h:
2959         * src/lyxtext.h:
2960         * src/output_docbook.C:
2961         * src/output_latex.C:
2962         * src/paragraph.C:
2963         * src/paragraph.h:
2964         * src/sgml.C:
2965         * src/sgml.h:
2966         * src/text2.C: Introducing a number of tags parametrizing various
2967         XML formats that we may want to support
2968
2969 2003-11-25  André Pönitz  <poenitz@gmx.net>
2970
2971         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2972
2973         * lyxtext.h (leftMargin/rightMargin): simplify interface
2974
2975         * rowpainter.C:
2976         * text.C:
2977         * text2.C:
2978         * text3.C: adjust
2979
2980 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2981
2982         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2983         master file to any child files. Fixes bug 546.
2984
2985 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2986
2987         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2988
2989 2003-11-24  André Pönitz  <poenitz@gmx.net>
2990
2991         * rowpainter.C: simplification
2992
2993         * text2.C (updateCounters): remove call to redoParagraph on
2994         changed labels as this is far too expensive.
2995
2996 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2997
2998         * converter.C (convert): fix a crash: this function gets
2999         called with buffer == 0 from importer code.
3000
3001 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3002
3003         * text3.C (cursorPrevious): make sure that we do not compare
3004         iterators form different containers.
3005         (cursorNext): ditto
3006
3007         * rowpainter.C (paintSelection): make sure that we do not compare
3008         iterators from different containers.
3009
3010         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3011         iterators from different ParagraphList containers.
3012         [NEXT] ditto
3013
3014         * text2.C (LyXText): change order of initialization slightly
3015         (operator=): new function. copy all variables except cache_par_
3016         (moveUp): make sure that we do not compare iterators from
3017         different ParagraphList constainers.
3018         (moveDown): ditto
3019
3020         * text.C (firstPar): new function
3021         (lastPar): new function
3022         (endPar): new function
3023
3024         * lyxtext.h: move things around and group public functions, public
3025         variables, private functions, private variables
3026
3027 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3028
3029         * factory.C: change call to InsetERT constructor to avoid
3030         additional invocation of method status
3031         * text2.C (toggleInset): remove redundant update() call
3032         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3033         instead of a Bufferview pointer
3034
3035 2003-11-21  André Pönitz  <poenitz@gmx.net>
3036
3037         * rowpainter.C: simplification
3038
3039 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3040
3041         * text3.C (dispatch): make possible to extend a word/row selection
3042         with the mouse
3043
3044 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3045
3046         * lyxtext.h: x0_,y0_ -> xo_,yo_
3047         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3048         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3049         * rowpainter.C (paintRows): paint full paragraphs
3050
3051 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3052
3053         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3054         screen coordinates)
3055
3056 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3057
3058         * lyxtext.h: add x0_, y0_
3059         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3060         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3061
3062 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3063
3064         * text2.C (setCursorIntern): move the x_target update here *
3065         * text3.C: change some bv() to true/false in calls to
3066         cursorUp/Down/Right/Left
3067         * cursor.C: use helper function.
3068
3069 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3070
3071         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3072         * paragraph_funcs.[Ch]: correct comment
3073         * rowpainter.C: do not paint selections away from bv->cursor()
3074         Fix a long standing selection painting bug.
3075         * text3.C: generalize mouse-selection code to LyXTexts other that
3076         top one
3077         * textcursor.C: do not use y coords if we can use par offsets
3078
3079 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3080
3081         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3082         cursor position after e.g. inset insert)
3083
3084 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * lyxfind.C (replace): adjust to locking removal + some
3087         code simplification
3088
3089 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3090
3091         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3092         of the path
3093
3094 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3095
3096         * lyxlayout.[Ch]:
3097         * output_docbook.C: XML sanitation: new layout
3098         parameters InnerTag and CommandDepth
3099
3100 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3101
3102         * BufferView_pimpl.C:
3103         * factory.C:
3104         * text3.C: Fix the insertion and modification of button-style
3105         insets
3106
3107 2003-11-13  André Pönitz  <poenitz@gmx.net>
3108
3109         * InsetList.[Ch]: remove deleteLyXText
3110
3111         * paragraph.[Ch]: cache beginOfBody position
3112
3113         * Bidi.C:
3114         * text.C:
3115         * text2.C:
3116         * text3.C: remove superfluous update() calls
3117
3118         * vspace.C: cleanup
3119
3120 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3121
3122         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3123         * BufferView.C (fitLockedInsetCursor): remove
3124         * cursor.[Ch] (getDim): add
3125         * text.C (getRowNearY): add faster version
3126         * text3.C: remove some update calls
3127
3128 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3129
3130         * LaTeXFeatures.C:
3131         * LyXAction.C:
3132         * MenuBackend.C:
3133         * MenuBackend.h:
3134         * dispatchresult.h:
3135         * factory.C:
3136         * lfuns.h:
3137         * lyxfunc.C:
3138         * lyxtextclass.C:
3139         * lyxtextclass.h:
3140         * text3.C: The Character Style /XML short element patch.
3141
3142 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3143
3144         * text3.C:
3145         * factory.C: Small step to solving 'unable to insert some insets'
3146         problem
3147
3148 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3149
3150         * cursor.[Ch] (updatePos): new function for updating the y
3151         position of the tip inset
3152         * bufferview_funcs.C (put_selection_at):
3153         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3154
3155 2003-11-11  André Pönitz  <poenitz@gmx.net>
3156
3157         * text.C: remove big comment on invalid Paragraph pointers as it is
3158         not valid anymore
3159
3160 2003-11-11  André Pönitz  <poenitz@gmx.net>
3161
3162         * text_funcs.[Ch]: merge with ...
3163
3164         * text.C: ... this
3165
3166         * lyxtext.h:
3167         * text2.C:
3168         * text3.C: adjust
3169
3170         * Makefile.am: remove text_funcs.[Ch]
3171
3172 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3173
3174         * cursor.C (getPos): return absolute cached y coord
3175
3176         * BufferView_pimpl.C (fitCursor): new simplistic code
3177         (workAreaDispatch): add a fitCursor call
3178
3179 2003-11-10  André Pönitz  <poenitz@gmx.net>
3180
3181         * BufferView.[Ch]:
3182         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3183
3184 2003-11-10  André Pönitz  <poenitz@gmx.net>
3185
3186         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3187         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3188         indicate that the cursor needs to leave an inset
3189
3190         * lyxtext.h: remove inset locking
3191
3192         * cursor.[Ch]: re-implement functionality provided by inset locking
3193
3194         * BufferView.[Ch]:
3195         * BufferView_pimpl.[Ch]:
3196         * LyXAction.C:
3197         * bufferview_funcs.[Ch]:
3198         * factory.C:
3199         * funcrequest.[Ch]:
3200         * iterators.C:
3201         * lyx_cb.C:
3202         * lyxfind.C:
3203         * lyxfunc.C:
3204         * text.C:
3205         * text2.C:
3206         * text3.C:
3207         * undo.C: adjust
3208
3209 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * PosIterator.[Ch]: replace the stack with a vector, add inset
3212         accesor
3213         * iterators.[C]: adjust
3214
3215 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3218         replaced
3219         * paragraph_funcs.C (readParToken): put the correct id in the
3220         error item, not the id of the top paragraph
3221
3222 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3223
3224         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3225         * bufferview_funcs.C (put_selection_at): use the above
3226
3227 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3230
3231 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3232
3233         * output_linuxdoc.h:
3234         * output_plaintext.h:
3235         * output.h:
3236         * output_docbook.h: add #include statements
3237
3238 2003-11-05  José Matos  <jamatos@lyx.org>
3239
3240         * output_docbook.[Ch]:
3241         * output_latex.[Ch]:
3242         * output_linuxdoc.[Ch]:
3243         * output_plaintext.[Ch]: New files for output formats.
3244         * output.[Ch]: New file for helper functions.
3245
3246         * buffer.[Ch]:
3247         * paragraph_funcs.[Ch]: output functions moved to new files.
3248
3249         * outputparams.h: rename of latexrunparams.h
3250
3251         * LaTeX.[Ch]:
3252         * buffer.[Ch]:
3253         * bufferlist.[Ch]:
3254         * converter.[Ch]:
3255         * exporter.C:
3256         * paragraph.[Ch]:
3257         * paragraph_funcs.[Ch]:
3258         * paragraph_pimpl.[Ch]:
3259         * tabular.[Ch]: rename ascii to plaintext
3260         and LatexRunParams to OutputParams.
3261
3262 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3263
3264         * iterators.[Ch] (text): require bv argument
3265         * undo.C (recordUndo):
3266         * lyxfunc.C (dispatch):
3267         * bufferview_funcs.C (put_selection_at): adjust
3268
3269 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3270
3271         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3272
3273 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3274
3275         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3276         nestings
3277
3278 2003-11-04  André Pönitz  <poenitz@gmx.net>
3279
3280         * cursor.[Ch]: restructure
3281
3282         * BufferView.[Ch]:
3283         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3284
3285         * iterators.[Ch] (asCursor): remove
3286
3287         * lfuns.h: remove LFUN_INSET_EDIT
3288
3289         * lyxfunc.C:
3290         * tabular.C:
3291         * text.C:
3292         * text2.C:
3293         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3294
3295 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3296
3297         * lyxfind.[Ch]: complete overhaul
3298         * BufferView_pimpl.C:
3299         * lyxfunc.C: adjust
3300         * paragraph.[Ch] (insert): add
3301
3302 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3303
3304         * BufferView.[Ch]:
3305         * lyxtext.h:
3306         * text.C: remove dead spellcheck code
3307
3308 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * dispatchresult.h: add a val setter
3311
3312         * cursor.C (dispatch): use a tempvar for data_[i]
3313
3314 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3315
3316         * PosIterator.[Ch]: compile fix
3317
3318 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3319
3320         * text.C (cursorPar): deactivate the cursor cache
3321
3322 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3323
3324         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3325
3326 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * text3.C (dispatch): adjust for new DisptchResult semantics.
3329
3330         * lyxfunc.C (dispatch): handle update when return from
3331         Cursor::dispatch, adjust for new DispatchResult semantics.
3332
3333         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3334         DispatchResult(true) mean to not update. Add class functions for
3335         setting dispatched and update, as well as reading.
3336
3337         * cursor.C (dispatch): don't handle update here
3338
3339 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3340
3341         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3342         * trans_mgr.C: adjust
3343
3344         * paragraph_funcs.C (readParToken): exception safety
3345
3346         * lyxvc.h: store the vcs pointer in a scoped_ptr
3347         * lyxvc.C: adjust
3348
3349         * lyxsocket.C (serverCallback): exception safety
3350
3351         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3352
3353         * ispell.C (clone): make it return a auto_ptr
3354
3355         * factory.C (createInset): exception safety
3356         (readInset): exception safety
3357
3358         * bufferlist.C (newBuffer): exception safety
3359
3360         * Thesaurus.C (Thesaurus): use initialization for aik_
3361
3362         * MenuBackend.C (expandToc): exception safety.
3363
3364 2003-11-03  André Pönitz  <poenitz@gmx.net>
3365
3366         * buffer.C:
3367         * buffer.h:
3368         * bufferview_funcs.C: remove getInsetFromId()
3369
3370         * lyxcursor.[Ch]:
3371         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3372
3373         * lyxfunc.C:
3374         * text2.C:
3375         * text3.C: adjust
3376
3377 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * PosIterator.C (distance, advance): new
3380         * bufferview_funcs.[Ch] (put_selection_at): new
3381         * iterators.[Ch] (lockPath): new
3382
3383 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3384
3385         * iterators.[Ch] (asPosIterator): added
3386         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3387         * PosIterator.[Ch]: added
3388
3389 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * text3.C:
3392         * lyxfunc.C:
3393         * cursor.C (dispatch):
3394         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3395
3396         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3397         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3398         contructor, add a class function dispatched. Remove operator>=
3399
3400 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3401
3402         * debug.C: only use the default constructor for debugstream
3403         (lyxerr) here.
3404
3405         * main.C (main): include debug.h and setup the lyxerr streambuf
3406         here.
3407
3408 2003-10-31  José Matos  <jamatos@lyx.org>
3409
3410         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3411
3412         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3413         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3414         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3415         * paragraph_pimpl.C (simpleTeXSpecialC):
3416         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3417         add LatexRunParams argument.
3418
3419         * exporter.C (Export): change call accordingly.
3420
3421         * latexrunparams.h: add new member to take care of the other backends.
3422 2003-10-30  José Matos  <jamatos@lyx.org>
3423
3424         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3425         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3426         factorise code for paragraph output.
3427         * buffer.[Ch]:
3428         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3429         move functions.
3430
3431 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3432
3433         * text3.C (dispatch):
3434         * lyxfunc.C (dispatch):
3435         * cursor.C (dispatch):
3436         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3437
3438         * dispatchresult.h: make the dispatch_result_t ctor explicit
3439
3440 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3441
3442         * sgml.[Ch]:
3443         * buffer.C: small refactoring of docbook stuff
3444
3445 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3448         meaning.
3449
3450 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3453         operator dispatch_result_t, and operators for == != and >=
3454
3455         * cursor.C (dispatch): adjust for operator dispatch_result_t
3456         removal. comment out call to update
3457
3458         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3459
3460 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * text3.C:
3463         * text2.C:
3464         * text.C:
3465         * lyxtext.h:
3466         * lyxfunc.C:
3467         * cursor.C:
3468         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3469         (dispatch):
3470
3471         * dispatchresult.h: new file, DispatchResult broken out of
3472         insets/insetbase.h
3473
3474         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3475
3476 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3477
3478         * text.C (rowBreakPoint): put a hack inside #if 0
3479
3480 2003-10-28  André Pönitz  <poenitz@gmx.net>
3481
3482         * lyxtext.h:
3483         * metricsinfo.C:
3484         * paragraph_funcs.C:
3485         * rowpainter.C:
3486         * text.C:
3487         * text2.C: general cleanup (lots of small stuff)
3488
3489 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * text2.C (cursorEnd): simple fix to the "end key goes to one
3492         before the end on last row" bug
3493
3494 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3495
3496         * text.C (backspace): fix the "zombie characters"
3497
3498 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3499
3500         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3501
3502 2003-10-27  André Pönitz  <poenitz@gmx.net>
3503
3504         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3505
3506         * factory.C: handle new InsetPagebreak, InsetLine
3507
3508         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3509         and move handling into new InsetPagebreak, InsetLine
3510
3511         * BufferView_pimpl.C:
3512         * LyXAction.C:
3513         * ParagraphParameters.C:
3514         * ParameterStruct.h:
3515         * lyxfunc.C:
3516         * lyxtext.h:
3517         * paragraph.C:
3518         * paragraph.h:
3519         * paragraph_funcs.C:
3520         * paragraph_pimpl.C:
3521         * rowpainter.C:
3522         * text.C:
3523         * text2.C:
3524         * text3.C: adjust
3525
3526 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3527
3528         * text.C:
3529         * lyxrow_funcs.[Ch]:
3530         * Bidi.C:
3531         * paragraph.C:
3532         * lyxtext.h:
3533         * rowpainter.C:
3534         * text2.C:
3535         * text3.C: remove lastPos uses in favour of Row::endpos
3536
3537 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3538
3539         * undo.C (performUndoOrRedo): fix two crashes by setting a
3540         cursor by hand and reordering some calls. Use bv->lockInset instead
3541         of inset->edit because the latter loses cursor information
3542
3543 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3544
3545         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3546         by Martin
3547         (rowBreakPoint): fix width. change point to point + 1.
3548         Add a missing check.
3549
3550 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3551
3552         * MenuBackend.C:
3553         * lyxfunc.C: fix (at least partly) the problems
3554         with the Nav menu and headers inside branch insets
3555         reported by Kayvan
3556
3557 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3558
3559         * paragraph.C (getChar): add strong asserts
3560
3561         * lyxrow_funcs.C (lastPos): remove hideous hack
3562
3563         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3564         (fill): adjust to that (avoid an infinite loop)
3565
3566 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3567
3568         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3569
3570 2003-10-23  André Pönitz  <poenitz@gmx.net>
3571
3572         * RowList_fwd.h: change list<> to vector<> to gain speed
3573         after suggestion from Alfredo
3574
3575 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3576
3577         * lyxtext.h: move the bidi stuff from here...
3578         * text.C: and here
3579         * text2.C: and here
3580         * Bidi.[Ch]: ... to here
3581
3582 2003-10-23  André Pönitz  <poenitz@gmx.net>
3583
3584         * lyxtext.h:
3585         * text.C (isLastRow, isFirstRow): new functions
3586
3587         * paragraph.h: new width cache member
3588
3589         * rowpainter.C: replace RowList::iterator with Row & where possible
3590
3591         * lyxfunc.C: replace several view()->text with a single call
3592
3593         * toc.C: fix 'unused' warning
3594
3595 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3596
3597         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3598         when woring with stream::pos_type
3599         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3600
3601 2003-10-22  André Pönitz  <poenitz@gmx.net>
3602
3603         * lyxtext.h:
3604         * text.C: use Row & instead of RowList::iterator
3605
3606         * lyxrow.h: rename end() to endpos()
3607
3608         * rowpainter.C:
3609         * text.C:
3610         * text2.C: adjust
3611
3612 2003-10-22  Angus Leeming  <leeming@lyx.org>
3613
3614         * buffer.[Ch] (fully_loaded): new member function, returning true
3615         only when the file has been loaded fully.
3616         Used to prevent the premature generation of previews and by the
3617         citation inset to prevent computation of the natbib-style label.
3618
3619         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3620         templates are all set up.
3621
3622         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3623
3624 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3625
3626         * text.C: fixed an "oops" in the "is a bit silly"
3627         bug fix
3628
3629 2003-10-21  André Pönitz  <poenitz@gmx.net>
3630
3631         * FuncStatus.[Ch]: small stuff, whitespace
3632
3633         * lyxfont.[Ch]: operator<<() for debug reasons
3634
3635         * lyxfunc.C:
3636         * lyxrow_funcs.C:
3637         * lyxtext.h: whitespace, spelling
3638
3639         * paragraph.C: naming of variables
3640
3641         * text.C:
3642         * text2.C: small stuff
3643
3644
3645 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3646
3647         * text.C: (1) finish off the inset display() work;
3648         (2) fix the "is a bit silly" bug (accessing char
3649         past end of par).
3650
3651 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3652
3653         * text.C: re-introduce display() for insets, fixing the
3654         various bugs (stretch of line above, math inset
3655         positioning, ...)
3656
3657 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3658
3659         * text.C (rightMargin): remove spurious semicolon
3660
3661         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3662         1415)
3663
3664 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3665
3666         * text3.C: fix one crash due to wrong cursor def
3667
3668 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3669
3670         * vc-backend.C (scanMaster): make the regex static
3671
3672         * LaTeX.C (scanAuxFile): make the regexs static
3673
3674         * text3.C (doInsertInset, dispatch, dispatch):
3675         * text2.C (cursorUp, cursorDown):
3676         * text.C (selectNextWordToSpellcheck):
3677         * BufferView_pimpl.C (dispatch):
3678         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3679
3680 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3681
3682         * lyxsocket.C: include <cerrno>
3683
3684 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * lyxfunc.C (dispatch): remove textcache stuff
3687
3688         * bufferlist.C (release): remove textcache stuff
3689         (closeAll): ditto
3690
3691         * TextCache.C: delete file
3692         * TextCache.h: delete file
3693
3694         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3695
3696         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3697         delete of the bv_->text.
3698         (resizeCurrentBuffer): remove texcache stuff
3699         (workAreaResize): ditto
3700
3701 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3704         action.
3705
3706 2003-10-16  André Pönitz  <poenitz@gmx.net>
3707
3708         * lyxrow.[Ch]:
3709         * paragraph.h:
3710         * rowpainter.C:
3711         * text.C:
3712         * text2.C:
3713         * text3.C: speed up by storing y positions per paragraph plus per-row
3714         offset instead of having a 'full' y position in the row.
3715
3716 2003-10-15  André Pönitz  <poenitz@gmx.net>
3717
3718         * iterators.[Ch]:
3719         * iterators.[Ch]:
3720         * undo.[Ch]: make undo aware of inner insets
3721
3722 2003-10-14  Angus Leeming  <leeming@lyx.org>
3723
3724         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3725         static member functions LyX::ref() and LyX::cref.
3726         (lastfiles): new accessor functions for the new lastfiles_ member var.
3727         (addLyXView, views_): add a new LyXView to the list of views_.
3728         (updateInset): loop over all LyXViews to call their own updateInset
3729         member function, returning a pointer to the Buffer owning the inset.
3730
3731         * BufferView_pimpl.C (loadLyXFile):
3732         * MenuBackend.C (expandLastfiles):
3733         * bufferlist.C (MenuWrite, QuitLyX):
3734         lastfiles is no longer a global variable.
3735         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3736
3737         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3738         static function. Access through LyX::cref().emergencyCleanup().
3739
3740 2003-10-14  André Pönitz  <poenitz@gmx.net>
3741
3742         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3743
3744         * undo.[Ch]: restoring part of 'undo in insets'
3745
3746         * Makefile.am:
3747         * undo_funcs.[Ch]: merge with undo.[Ch]
3748
3749         * tabular.C: small cleansing stuff
3750
3751 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * paragraph_funcs.C (readParToken): report unknown insets as error
3754         boxes. Use the outer paragraph as location (also for unknown
3755         tokens).
3756
3757         * factory.C (readInset): do not abort on reading an unknown inset.
3758         Eat it and return 0.
3759
3760 2003-10-13  Angus Leeming  <leeming@lyx.org>
3761
3762         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3763
3764         * lyxrc.C: displayTranslator is now a function,
3765         declared in GraphicsTypes.h.
3766
3767 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3768
3769         * format.C: new placeholder $$a to pass the socket address.
3770
3771         * bufferlist.[Ch]: new function getBufferFromTmp.
3772
3773         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3774           files in the temporary dir.
3775
3776 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3777
3778         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3779
3780         * Makefile.am: add lyxsocket.[Ch].
3781
3782         * lyx_main.C (error_handler): handle SIGPIPE.
3783
3784 2003-10-13  André Pönitz  <poenitz@gmx.net>
3785
3786         * BufferView_pimpl.C:
3787         * lyxtext.h:
3788         * text.C:
3789         * text2.C:
3790         * text3.C:
3791         * undo_funcs.[Ch]: use paroffset_type instead of
3792           ParagraphList::iterators to prevent multiple conversion
3793           (and get a more robust interface)
3794
3795 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3796
3797         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3798         * lyxtext.h: ditto
3799         * text3.C (dispatch): ditto
3800
3801 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3802
3803         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3804         move the onlyfile, use onlyfile instead of foundfile in a couple
3805         of places.
3806
3807         * DepTable.C (update): flush the error stream a bit more
3808
3809 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * lyxserver.C (callback): adjust
3812
3813         * lyxfunc.C (getStatus): add a missing brace in commented code
3814         (ensureBufferClean): reindent
3815         (dispatch): delete version taking a string
3816
3817 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3818
3819         * LaTeX.C (deplog): move found file handlig from here...
3820         (handleFoundFile): .. to new function here.
3821         (deplog): make sure to discover several files mentioned on the
3822         same log line.
3823
3824 2003-10-10  André Pönitz  <poenitz@gmx.net>
3825
3826         * lyxfunc.C:
3827         * lyxtext.h:
3828         * tabular.C:
3829         * text.C:
3830         * text2.C:
3831         * text3.C: fix some of the tabular crashes
3832
3833 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3834
3835         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3836
3837         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3838
3839 2003-10-09  André Pönitz  <poenitz@gmx.net>
3840
3841         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3842
3843         * BufferView.C:
3844         * BufferView_pimpl.C:
3845         * bufferview_funcs.C:
3846         * lyx_cb.C:
3847         * lyxcursor.C:
3848         * lyxfind.C:
3849         * lyxfunc.C:
3850         * lyxtext.h:
3851         * text.C:
3852         * text2.C:
3853         * text3.C:
3854         * text_funcs.[Ch]:
3855         * textcursor.[Ch]:
3856         * undo_funcs.C: adjust
3857
3858 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * text2.C (incrementItemDepth): new function, use a backtracking
3861         algorithm to discover the correct item depth.
3862         (resetEnumCounterIfNeeded): new function, use a backtracking
3863         algorithm to discover if counter reset is needed.
3864         (setCounter): use them. Simplify a bit. Add different labels for
3865         different item depths for itemize.
3866
3867         * paragraph.C (Paragraph): remove initialization of enumdepth
3868         (operator=): ditto
3869
3870         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3871         enumerate and itemize. Change the type of itemdepth to signed char.
3872
3873 2003-10-08  André Pönitz  <poenitz@gmx.net>
3874
3875         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3876           thing assignable.
3877         * text.C:
3878         * text2.C: adjust
3879
3880         * tabular.[Ch]: fix crash after 'row-insert'
3881
3882 2003-10-08  Angus Leeming  <leeming@lyx.org>
3883
3884         Fix doxygen warnings.
3885
3886         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3887         Remove CutAndPaste:: prefix from header file declaration.
3888
3889         * LColor.h (fill): remove LColor:: prefix from declaration.
3890
3891         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3892         use lyx::depth_type rather than Paragraph::depth_type so that
3893         header file and .C file match.
3894
3895         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3896
3897         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3898         * aspell.C: \file aspell_local.C -> \file aspell.C
3899         * gettext.C: \file gettext.C -> \file src/gettext.C
3900         * gettext.h: \file gettext.h -> \file src/gettext.h
3901         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3902         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3903         * text.C: \file text.C -> \file src/text.C
3904
3905         * toc.C: move comment so that doxygen is not confused.
3906
3907 2003-10-07  Angus Leeming  <leeming@lyx.org>
3908
3909         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3910
3911 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3912
3913         * aspell.C:
3914         * aspell_local.h: add forgotten std::string's.
3915
3916 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3917
3918         * LaTeXFeatures.C:
3919         * LyXAction.C:
3920         * factory.C:
3921         * lfuns.h:
3922         * lyxfunc.C:
3923         * text3.C: The Box patch. Fancybox support, minipage, parbox
3924
3925 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3926
3927         * CutAndPaste.h:
3928         * DepTable.h:
3929         * FloatList.h:
3930         * LaTeXFeatures.h:
3931         * ParagraphParameters.h:
3932         * TextCache.h:
3933         * Thesaurus.h:
3934         * bufferlist.h:
3935         * exporter.h:
3936         * importer.h:
3937         * lastfiles.h:
3938         * lyxfind.h:
3939         * lyxfont.h:
3940         * lyxlex.h:
3941         * lyxtextclasslist.h:
3942         * messages.h:
3943         * paragraph.h:
3944         * paragraph_pimpl.C:
3945         * textcursor.h: add <string> and other small fixes to make Lars'
3946         std::string patch compile with STLport.
3947
3948 2003-10-06  Angus Leeming  <leeming@lyx.org>
3949
3950         * LColor.h: Add missing #include <string>.
3951
3952 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * All most all file in all subdirs: Make <string> be the prefered
3955         way of getting to std::string, add using declarations.
3956
3957 2003-10-06  André Pönitz  <poenitz@gmx.net>
3958
3959         * metricsinfo.C: initialize LyXFont before changing attribute.
3960         (fixes the 'math in \emph is upright' bug)
3961
3962 2003-10-06  André Pönitz  <poenitz@gmx.net>
3963
3964         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3965
3966 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3967
3968         * graph.C:
3969         * paragraph_pimpl.C: Small fixes to build using STLport
3970
3971 2003-10-02  André Pönitz  <poenitz@gmx.net>
3972
3973         * lyxfunc.C:
3974         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3975
3976 2003-10-01  André Pönitz  <poenitz@gmx.net>
3977
3978         * factory.C: assert early
3979
3980 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * lyx_main.C: remove the global debug object
3983
3984         * debug.h: adjust for new debugstream
3985
3986         * debug.C: adjust for new debugstream and keep the global debug
3987         object here.
3988
3989 2003-09-22  Angus Leeming  <leeming@lyx.org>
3990
3991         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3992         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3993         an incomplete class LyXFont.
3994
3995 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3996
3997         * factory.C: bug fix in branches
3998
3999 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * lyxfunc.C (processKeySym): adjust
4002         (dispatch): adjust
4003         (dispatch): change arg name from ev to func, adjust
4004         (sendDispatchMessage): ditto
4005
4006         * lyx_main.C (defaultKeyBindings): adjust keybindings
4007         (deadKeyBindings): ditto
4008
4009         * kbsequence.C (addkey): return a FuncRequest
4010
4011         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4012
4013         * kbmap.C (bind): take a FuncRequest as arg, adjust
4014         (read): adjust
4015         (lookup): adjust
4016         (defkey): change to take a FuncRequest as arg, adjust
4017         (findbinding): take a FuncRequest as arg, adjust.
4018
4019         * funcrequest.h (operator=): added
4020
4021         * funcrequest.C (FuncRequest): default kb_action changed from
4022         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4023
4024         * buffer.C (dispatch): simplify
4025         (dispatch): adjust to take a FuncRequest as arg, adjust
4026
4027         * boost.C (assertion_failed): change assertion message slightly
4028
4029         * ToolbarBackend.C (read): simplify
4030
4031         * MenuBackend.C (binding): adjust call to findbinding, add a
4032         message if no binding is found.
4033         (read): simplify
4034         (expandToc): correct by adding a empty FuncRequest
4035
4036         * LyXAction.C: include <boost/assert.hpp>
4037         (isPseudoAction): delete function
4038         (LookupFunc): change name to...
4039         (lookupFunc): this. change return type to FuncRequest.
4040         (getActionName): take kb_action as arg, simplify
4041         (funcHasFlag): add an assert, simplify.
4042
4043 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * toc.C (action): return a FuncRequest, simplify
4046
4047         * lyxfunc.C (processKeySym): adjust
4048         (getStatus): delete version that takes an int.
4049         (getStatus): adjust
4050         (dispatch): delete version that takes action as int
4051         (dispatch): adjust
4052         (sendDispatchMessage): simplify and adjust
4053
4054         * funcrequest.C (getArg): take unsigned int as arg
4055
4056         * ToolbarBackend.C (read): adjust
4057         (add): delete version that takes func as a string.
4058         (getIton): take a FuncRequest as arg
4059
4060         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4061         action.
4062
4063         * MenuBackend.C (MenuItem): add a new construct that only takes a
4064         Kind, simplify the constructor use for submenus.
4065         (add): adjust
4066         (expandLastfiles): adjust
4067         (expandDocuments): adjust
4068         (expandFormats): adjust
4069         (expandFloatListInsert): adjust
4070         (expandFloatInsert): adjust
4071         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4072
4073         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4074         Remove class variables lyx_pseudo_map and lyx_arg_map
4075
4076         * LyXAction.C (searchActionArg): delete function
4077         (getPseudoAction): delete function
4078         (retrieveActionArg): delete function
4079         (LookupFunc): make it return kb_action, simplify.
4080         (getActionName): simplify
4081
4082         * factory.C (createInset): fix new bug
4083
4084 2003-09-19  Angus Leeming  <leeming@lyx.org>
4085
4086         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4087         masterFilename_ parameter in the include inset.
4088
4089         * factory.C (createInset): changes due to the changes to InsetInclude.
4090
4091 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4092
4093         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4094
4095 2003-09-18  Angus Leeming  <leeming@lyx.org>
4096
4097         * buffer.C:
4098         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4099         Inset::fillWithBibKeys.
4100         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4101
4102 2003-09-18  Angus Leeming  <leeming@lyx.org>
4103
4104         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4105         variables.
4106         (ctor): pass and store a 'Buffer const &'
4107         (buffer): new member function.
4108
4109         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4110         '*this' to the LaTeXFeatures ctor.
4111
4112 2003-09-18  Angus Leeming  <leeming@lyx.org>
4113
4114         * LColor.h:
4115         * lyxfont.C:
4116         * lyxfont.h:
4117         * lyxtext.h:
4118         * text.C: rename EnumLColor as LColor_color.
4119
4120 2003-09-18  Angus Leeming  <leeming@lyx.org>
4121
4122         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4123         remove #include "insets/insetbase.h" from cursor.h.
4124
4125 2003-09-18  Angus Leeming  <leeming@lyx.org>
4126
4127         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4128         InsetOld_code to remove #include "inset.h".
4129
4130         * iterators.C: add #include "insets/inset.h"
4131
4132 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4133
4134         * BufferView.C: remove more locking stuff that apparently doesn't
4135         do anything sensible.
4136
4137 2003-09-16  André Pönitz  <poenitz@gmx.net>
4138
4139         * paragraph.[Ch]:
4140         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4141           performance boost.
4142
4143 2003-09-16  Angus Leeming  <leeming@lyx.org>
4144
4145         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4146
4147         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4148         arg/return type.
4149
4150         * paragraph.h: remove #include "lyxfont.h". Forward declare
4151         LyXFont_size.
4152
4153 2003-09-16  Angus Leeming  <leeming@lyx.org>
4154
4155         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4156         of support/textutils.h.
4157         (isWord): move the contents of support/textutils.h's IsWordChar here.
4158
4159         * buffer.C:
4160         * lyxfind.C:
4161         * rowpainter.C:
4162         * text.C:
4163         * text2.C: add #include "paragraph.h".
4164
4165         * rowpainter.C:
4166         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4167
4168 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * main.C:
4171         * lyx_main.C:
4172         * lyx_cb.C:
4173         * buffer.C:
4174         * LaTeX.C: use namespace alias for lyx::support::os
4175
4176 2003-09-16  Angus Leeming  <leeming@lyx.org>
4177
4178         * bufferparams.C:
4179         * bufferview_funcs.C:
4180         * factory.C:
4181         * lyxfunc.C:
4182         * paragraph_pimpl.C:
4183         * rowpainter.C:
4184         * text.C: add #include "LColor.h".
4185
4186 2003-09-16  Angus Leeming  <leeming@lyx.org>
4187
4188         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4189         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4190         return LyXFont &.
4191         Store the FontBits::color variable as an int rather than as an
4192         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4193         file.
4194
4195         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4196         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4197         string calls together.
4198
4199         * lyxrc.C: add #include "LColor.h".
4200
4201 2003-09-15  Angus Leeming  <leeming@lyx.org>
4202
4203         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4204         a cow_ptr.
4205
4206 2003-09-15  Angus Leeming  <leeming@lyx.org>
4207
4208         * LColor.h: add an EnumLColor wrapper for LColor::color.
4209
4210         * lyxfont.[Ch] (color, setColor, realColor):
4211         * lyxtext.h, text.C (backgroundColor):
4212         pass EnumLColor args to/from the functions, rather than LColor::color
4213         ones.
4214
4215         * lyxfont.h:
4216         * lyxtext.h: forward declare EnumLColor.
4217
4218         * lyx_main.C: add #include "LColor.h".
4219
4220 2003-09-15  Angus Leeming  <leeming@lyx.org>
4221
4222         * .cvsignore: add lyx-gtk.
4223
4224 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4225
4226         * Chktex.C
4227         * LaTeX.C
4228         * LaTeXFeatures.C
4229         * ParagraphParameters.C
4230         * Spacing.C
4231         * buffer.C
4232         * bufferparams.C
4233         * bufferview_funcs.C
4234         * chset.C
4235         * counters.C
4236         * funcrequest.C
4237         * lyxfont.C
4238         * lyxgluelength.C
4239         * lyxlength.C
4240         * paragraph.C
4241         * paragraph_funcs.C
4242         * text3.C
4243         * vc-backend.C: remove usage of STRCONV
4244
4245 2003-09-15  Angus Leeming  <leeming@lyx.org>
4246
4247         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4248         explicitly define the color passed to the painter.
4249
4250 2003-09-15  Angus Leeming  <leeming@lyx.org>
4251
4252         * bufferparams.C (BufferParams): reorder member initializers to avoid
4253         compiler warning.
4254
4255 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4256
4257         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4258         * text.C (updateRowPositions): remove an unusual nop
4259
4260 2003-09-12  André Pönitz  <poenitz@gmx.net>
4261
4262         * BufferView_pimpl.C:
4263         * Bullet.C:
4264         * layout.h:
4265         * lyxfunc.C:
4266         * lyxlayout.[Ch]:
4267         * lyxtextclass.C:
4268         * rowpainter.C:
4269         * text.C:
4270         * text2.C:
4271         * Counters.[Ch]: finish the 'automatic counters' job
4272
4273 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4274
4275         * aspell.C: include <boost/assert.cpp> (compile fix)
4276
4277 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4278
4279         * boost.C (assertion_failed): use lyx::support::abort instead of
4280         assert.
4281
4282 2003-09-10  Angus Leeming  <leeming@lyx.org>
4283
4284         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4285         with their _fwd progeny.
4286
4287 2003-09-09  Angus Leeming  <leeming@lyx.org>
4288
4289         134 files throughtout the source tree: replace 'using namespace abc;'
4290         directives with the appropriate 'using abc::xyz;' declarations.
4291
4292 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4293
4294         * boost.C (emergencyCleanup): moved here from LAssert.c
4295         (assertion_failed): new function, called by BOOST_ASSERT
4296
4297         * several files: change Assert to BOOST_ASSERT
4298
4299 2003-09-09  Angus Leeming  <leeming@lyx.org>
4300
4301         * buffer.[Ch]: Add an Impl class and move Buffer's member
4302         variables into it. As a result move several header files out of
4303         buffer.h.
4304
4305         Add header files to lots of .C files all over the tree as a result.
4306
4307 2003-09-09  Angus Leeming  <leeming@lyx.org>
4308
4309         * buffer.[Ch]: make Buffer's member variables private. Add
4310         accessor functions.
4311
4312         Lots of changes all over the tree as a result.
4313
4314 2003-09-08  Angus Leeming  <leeming@lyx.org>
4315
4316         * graph.C: #include <config.h>.
4317
4318 2003-09-08  Angus Leeming  <leeming@lyx.org>
4319
4320         * BranchList.C:
4321         * BufferView.C:
4322         * BufferView_pimpl.C:
4323         * CutAndPaste.C:
4324         * DepTable.C:
4325         * LaTeX.C:
4326         * LaTeXFeatures.C:
4327         * LyXAction.C:
4328         * MenuBackend.C:
4329         * TextCache.C:
4330         * aspell.C:
4331         * buffer.C:
4332         * bufferlist.C:
4333         * changes.C:
4334         * chset.C:
4335         * converter.C:
4336         * counters.C:
4337         * debug.C:
4338         * graph.C:
4339         * ispell.C:
4340         * lyx_cb.C:
4341         * lyxfind.C:
4342         * lyxfunc.C:
4343         * lyxlex_pimpl.C:
4344         * lyxrc.C:
4345         * lyxrow.C:
4346         * paragraph.C:
4347         * rowpainter.C:
4348         * texrow.C:
4349         * text.C:
4350         * text2.C:
4351         * toc.C: remove redundant using directives.
4352
4353 2003-09-07  Angus Leeming  <leeming@lyx.org>
4354
4355         * LaTeXFeatures.h: remove #include "support/types.h".
4356         * ToolbarBackend.h: remove #include <algorithm>.
4357         * changes.h: remove #include <ctime>.
4358         * debug.h: remove #include <iosfwd>.
4359         * graph.h: remove #include "support/std_string.h".
4360         * lyx_main.h: remove #include <csignal>.
4361         * lyxlex_pimpl.h: remove #include <fstream>.
4362         * sgml.h: remove #include <algorithm>, <utility>.
4363         * toc.h: remove #include "support/std_ostream.h".
4364         Add #include <iosfwd>.
4365
4366 2003-09-07  Angus Leeming  <leeming@lyx.org>
4367
4368         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4369
4370         * converter.h: forward declare LatexRunParams.
4371         * encoding.h: remove #include "lyxrc.h".
4372         * lyxtext.h: remove #include "LColor.h".
4373         * lyxtextclass.h: remove #include "support/types.h".
4374         * trans.h: remove #include "tex-accent.h".
4375         * trans_mgr.h: remove #include "tex-accent.h".
4376         * insets/inset.h: remove #include "support/types.h", <vector>.
4377         * insets/insetcollapsable.h: remove #include "LColor.h".
4378         * insets/insetinclude.h: remove #include "dimension.h".
4379         * insets/insetlatexaccent.h: remove #include "dimension.h".
4380         * insets/insetoptarg.h:: remove #include "insettext.h".
4381         * insets/insettext.h: remove #include "dimension.h",
4382         <boost/shared_ptr.hpp>
4383
4384         * insets/renderers.h: add #include "dimension.h".
4385         * insets/updatableinset.h: add #include "support/types.h".
4386
4387         * many .C files: Associated changes.
4388
4389 2003-09-06  Angus Leeming  <leeming@lyx.org>
4390
4391         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4392         one, inside testInvariant.
4393
4394         * PrinterParams.C: new file.
4395         * PrinterParams.[Ch]: move the function bodies out of line.
4396
4397 2003-09-06  Angus Leeming  <leeming@lyx.org>
4398
4399         * ParagraphParameters.h: forward declare ParameterStruct rather than
4400         including its header file.
4401         (depth): moved out-of-line.
4402
4403 2003-09-06  Angus Leeming  <leeming@lyx.org>
4404
4405         * BufferView_pimpl.h:
4406         * kbmap.h:
4407         * kbsequence.h:
4408         * lyxfunc.h: forward declare LyXKeySym rather than
4409         #include "frontends/LyXKeySym.h".
4410
4411         * BufferView_pimpl.C:
4412         * kbmap.C:
4413         * kbsequence.C:
4414         * lyxfunc.C: associated changes.
4415
4416 2003-09-06  Angus Leeming  <leeming@lyx.org>
4417
4418         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4419         As a result, can remove the #include "insets/inset.h" from BufferView.h
4420
4421 2003-09-06  Angus Leeming  <leeming@lyx.org>
4422
4423         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4424         As a result, can remove the #include "insets/inset.h" from BufferView.h
4425
4426 2003-09-06  Angus Leeming  <leeming@lyx.org>
4427
4428         * buffer_funcs.C:
4429         * buffer.h:
4430         * bufferlist.C:
4431         * BufferView.C:
4432         * bufferview_funcs.C:
4433         * BufferView_pimpl.C:
4434         * CutAndPaste.C:
4435         * lyx_cb.C:
4436         * lyxfunc.C:
4437         * paragraph.h:
4438         * ParagraphParameters.C:
4439         * tabular.C:
4440         * text3.C:
4441         * toc.C:
4442         * undo_funcs.C:
4443         * frontends/controllers/ControlDocument.C:
4444         * insets/insetcaption.C: rearrange the #includes into some sort of
4445         coherent order.
4446
4447         * buffer.h: remove #includes ErrorList.h, undo.h
4448
4449 2003-09-06  Angus Leeming  <leeming@lyx.org>
4450
4451         * support/types.h: add a 'depth_type' typedef, used to store the
4452         nesting depth of a paragraph.
4453
4454         * paragraph.h:
4455         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4456         defining explicitly.
4457
4458         * buffer.h:
4459         * paragraph_funcs.h:
4460         * ParagraphParameters.h:
4461         * sgml.h: use lyx::depth_type rather than Paragraph or
4462         ParameterStruct's depth_type.
4463
4464         * buffer.h
4465         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4466
4467         * BufferView.C:
4468         * BufferView_pimpl.C:
4469         * CutAndPaste.C:
4470         * ParagraphParameters.C:
4471         * buffer_funcs.C:
4472         * bufferlist.C:
4473         * bufferview_funcs.C:
4474         * lyx_cb.C:
4475         * lyxfunc.C:
4476         * tabular.C:
4477         * text3.C:
4478         * toc.C:
4479         * undo_funcs.C:
4480         * frontends/LyXView.C:
4481         * frontends/controllers/ControlDocument.C:
4482         * frontends/controllers/ControlErrorList.C:
4483         * insets/insetbibitem.C:
4484         * insets/insetbranch.C:
4485         * insets/insetcaption.C:
4486         * insets/insetcollapsable.C:
4487         * insets/insetenv.C:
4488         * insets/insetert.C:
4489         * insets/insetfloat.C:
4490         * insets/insetfoot.C:
4491         * insets/insetfootlike.C:
4492         * insets/insetnewline.C:
4493         * insets/insetquotes.C:
4494         * insets/insettabular.C:
4495         * insets/insettext.C:
4496         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4497
4498         * frontends/controllers/ControlChanges.C: #include "changes.h".
4499
4500 2003-09-06  Angus Leeming  <leeming@lyx.org>
4501
4502         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4503         than #including paragraph.h.
4504
4505         * ParagraphList.h:
4506         * RowList.h: deleted. Superfluous.
4507
4508         * CutAndPaste.h:
4509         * iterators.h:
4510         * lyxcursor.h:
4511         * lyxtext.h:
4512         * text_funcs.h:
4513         * undo.h:
4514         * undo_funcs.h:
4515         * insets/inset.h:
4516         * insets/insettext.h: use ParagraphList_fwd.h rather than
4517         ParagraphList.h.
4518
4519         * paragraph.h: don't forward declare ParagraphList.
4520
4521         * buffer.h:
4522         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4523         rather than ParagraphList.h. paragraph.h is still needed for the
4524         Paragraph::depth_type parameters.
4525
4526         * textcursor.h: enable it to compile stand-alone in light of the
4527         above changes.
4528
4529         * bufferview_funcs.C:
4530         * iterators.C:
4531         * lyxfunc.C:
4532         * lyxrow_funcs.C:
4533         * paragraph.C:
4534         * rowpainter.C:
4535         * text.C:
4536         * text2.C:
4537         * text3.C:
4538         * text_funcs.C:
4539         * textcursor.C:
4540         * undo.C:
4541         * frontends/controllers/ControlParagraph.C:
4542         * frontends/controllers/ControlTabular.C:
4543         * insets/insetmarginal.C:
4544         * insets/insetminipage.C:
4545         * insets/insetnote.C:
4546         * insets/insetoptarg.C: add header files needed to compile again.
4547
4548 2003-09-06  Angus Leeming  <leeming@lyx.org>
4549
4550         * RowList_fwd.h: new file, forward-declaring Row rather than
4551         #including lyxrow.h.
4552
4553         * lyxrow_funcs.h:
4554         * lyxtext.h:
4555         * paragraph.h:
4556         * insets/insettext.h: use it instead of RowList.h
4557
4558         * bufferview_funcs.C:
4559         * lyxfunc.C:
4560         * lyxrow_funcs.C:
4561         * paragraph.C:
4562         * rowpainter.C:
4563         * text.C:
4564         * text2.C:
4565         * text3.C: #include "RowList.h".
4566
4567 2003-09-05  Angus Leeming  <leeming@lyx.org>
4568
4569         * factory.C (createInset):
4570         * vspace.C (c-tor): replace sscanf call with an istringstream.
4571         * ispell.C: re-add missing HP/UX headers.
4572         * lyxserver.C: re-add missing  os2 headers.
4573
4574 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4575
4576         * BranchList.C:
4577         * graph.C:
4578         * ispell.C:
4579         * lastfiles.C:
4580         * lyx_cb.C:
4581         * lyxserver.C:
4582         * texrow.C:
4583         * text3.C: re-add missing system headers, needed for 2.95.2.
4584
4585 2003-09-05  Angus Leeming  <leeming@lyx.org>
4586
4587         Changes most place everywhere due to the removal of using directives
4588         from support/std_sstream.h.
4589
4590 2003-09-05  Angus Leeming  <leeming@lyx.org>
4591
4592         Replace LString.h with support/std_string.h,
4593         Lsstream.h with support/std_sstream.h,
4594         support/LIstream.h with support/std_istream.h,
4595         support/LOstream.h with support/std_ostream.h.
4596
4597         Changes resulting throughout the tree.
4598
4599 2003-09-05  Angus Leeming  <leeming@lyx.org>
4600
4601         * sgml.h: ensure that the header file can be compiled stand-alone.
4602         * *.C: strip out redundant #includes. (320 in total.)
4603
4604 2003-09-04  Angus Leeming  <leeming@lyx.org>
4605
4606         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4607         here (from getPackages).
4608
4609         * debug.[Ch]: add a new EXTERNAL tag.
4610
4611 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4612
4613         * text2.C (cursorEnd): simplify
4614         (setCursor): adjust
4615         (getColumnNearX): adjust
4616
4617         * text.C (computeBidiTables): adjust
4618         (fill): adjust
4619
4620         * rowpainter.C (paintChars): adjust
4621         (paintSelection): adjust
4622         (paintChangeBar): adjust
4623         (paintText): adjust
4624
4625         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4626         lastPos instead.
4627         (numberOfSeparators): adjust
4628
4629 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4630
4631         * LyXAction.C:
4632         * box.[Ch]:
4633         * lfuns.h:
4634         * lyxfunc.C:
4635         * text3.C: Restricts the mouse click functionality
4636         of insets like bibtex, include, toc and floatlist to the visible
4637         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4638         up the dialogs. Cursor has to be in front of the inset (i.e.
4639         start of row) for this to function.
4640
4641 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4642
4643         * bufferview_funcs.C (currentState): output row information
4644
4645 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4646
4647         * bufferview_funcs.C (currentState): output paragraph position
4648
4649 2003-09-04  Angus Leeming  <leeming@lyx.org>
4650
4651         * FloatList.h: move out #include "Floating.h".
4652         * LaTeX.h: move out #include "DepTable.h".
4653         * LyXAction.h: move out #include "funcrequest.h".
4654         * buffer.h: move out #include "author.h", "iterators.h".
4655         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4656         * lyx_main.h: move out #include "errorlist.h".
4657         * lyxfunc.h: move out #include "FuncStatus.h".
4658         * lyxtext: move out #include "lyxcursor.h".
4659         * paragraph_pimpl.h: move out #include "counters.h".
4660
4661 2003-09-03  Angus Leeming  <leeming@lyx.org>
4662
4663         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4664         preamble_snippets list, enabling us to add snippets to the preamble
4665         only if the snippet was not there already.
4666
4667 2003-09-04  Angus Leeming  <leeming@lyx.org>
4668
4669         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4670
4671 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4674         update
4675
4676 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4677
4678         * BranchList.C: point fix, earlier forgotten
4679
4680 2003-09-02  Angus Leeming  <leeming@lyx.org>
4681
4682         * box.C (contains): renamed from 'contained' after a fantastic
4683         amount of hot air.
4684
4685 2003-09-02  John Levon  <levon@movementarian.org>
4686
4687         * BufferView.C:
4688         * lyxcursor.h:
4689         * lyxcursor.C:
4690         * lyxfunc.C:
4691         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4692
4693 2003-09-02  John Levon  <levon@movementarian.org>
4694
4695         * text2.C: simplification of cursorEnd(), including partial
4696         fix for bug 1376
4697
4698 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * buffer.C (readFile): add a space
4701
4702 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4703
4704         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4705
4706 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * buffer.C (readFile): new function, take a filename and a
4709         ParagraphList::iterator
4710         (readFile): adjust
4711         (readFile): adjust, make it private. don't use setStream, make
4712         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4713         always contain the filename.
4714
4715         * BufferView.C (insertLyXFile): simplify and make it work for
4716         gzipped files.
4717
4718 2003-08-30  John Levon  <levon@movementarian.org>
4719
4720         * Makefile.am: fix dist (from Kayvan)
4721
4722 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * most files: change to use const Buffer refs
4725
4726 2003-08-27  André Pönitz  <poenitz@gmx.net>
4727
4728         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4729         on top of ownerPar().
4730
4731 2003-08-27  John Levon  <levon@movementarian.org>
4732
4733         * funcrequest.C: properly initialise POD members
4734
4735 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4736
4737         * lyxtext.h (top_y): move top_y from here
4738         * text.C:
4739         * text2.C:
4740         * text3.C:
4741         * BufferView.[Ch]:
4742         * BufferView_pimpl.[Ch]: to here
4743         * frontends/screen.C:
4744         * insets/insettabular.C:
4745         * insets/insettext.C: adjust
4746         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4747
4748 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4749
4750         * BufferView.[Ch]:
4751         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4752
4753 2003-08-26  André Pönitz  <poenitz@gmx.net>
4754
4755         * paragraph_func.[Ch] (outerPar): new function
4756
4757         * paragraph.C:
4758         * paragraph_funcs.C:
4759         * paragraph_funcs.h:
4760         * paragraph_pimpl.C:
4761         * text2.C: remove Inset::par_owner
4762
4763 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4764
4765         * lyxrow_funcs.C:
4766         * lyxtext.h:
4767         * text.C:
4768         * text2.C: eliminates the needFullRow/display() stuff
4769         altogether, putting the logic in metrics/draw in the insets.
4770
4771 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4772
4773         * text2.C (redoParagraphInternal, redoParagraphs):
4774         * text.C (redoParagraph): add a call to updateRowPositions at the
4775         end of each 'metrics-like' call. Remove all others.
4776         (getRow): remove the 'y-computing' version.
4777         (getRowNearY): do not compute nor return the real y. Solve the
4778         'y < 0' problem and simplify.
4779
4780 2003-08-22  Angus Leeming  <leeming@lyx.org>
4781
4782         * *.[Ch]: clean-up of licence and author blurbs.
4783         Also move config.h out of a few .h files and into a few .C files.
4784
4785 2003-08-22  André Pönitz  <poenitz@gmx.net>
4786
4787         * lyxrow.[Ch]: add x_ and *fill_ members
4788
4789         * lyxtext.h:
4790         * text.C:
4791         * rowpainter.C:
4792         * text2.C: adjust/remove prepareToPrint() calls
4793
4794 2003-08-22  André Pönitz  <poenitz@gmx.net>
4795
4796         * lyxrow.[Ch]: add  end_ member
4797
4798         * lyxrow_funcs.C: use LyXRow::end_
4799
4800         * lyxtext.h (singleWidth): add LyXFont parameter
4801
4802         * rowpainter.C:
4803         * text2.C: adjust LyXText::singleWidth() calls
4804
4805         * text.C (redoParagraph): simplify row breaking logic
4806
4807
4808 2003-08-19  André Pönitz  <poenitz@gmx.net>
4809
4810         * funcrequest.C: initialize button_ member
4811
4812         * text3.C:
4813         * rowpainter.[Ch]: interface consolidation
4814
4815 2003-08-18  André Pönitz  <poenitz@gmx.net>
4816
4817         * BufferView.C:
4818         * BufferView_pimpl.C:
4819         * lyxfind.C:
4820         * paragraph_funcs.C:
4821         * rowpainter.C:
4822         * text3.C: remove LyXScreen::draw() and fitCursor calls
4823
4824         * BranchList.h: remove spurious semicolons
4825
4826         * MenuBackend.C: fix branchlist related crash
4827
4828 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4829
4830         * BranchList.[Ch]:
4831         * InsetList.[Ch]:
4832         * LColor.[Ch]:
4833         * LyXAction.C:
4834         * Makefile.am:
4835         * MenuBackend.[Ch]:
4836         * bufferparams.[Ch]:
4837         * factory.C:
4838         * lfuns.h:
4839         * lyxfunc.C:
4840         * text3.C: implements the 'branch inset'
4841         idea. This allows the output of various versions of a document
4842         from a single source version, selectively outputing or suppressing
4843         output of parts of the text.
4844         This implementation contains a 'branch list editor' in a separate
4845         tab of the document settings dialog. Branches are user definable
4846         and have a "display colour" to distinguish them on-screen.
4847
4848         ColorHandler was somewhat cleaned up.
4849         (1) make possible a dynamically growing LColor list by allowing
4850         the graphic context cache to grow along (vector);
4851         (2) eliminate an IMHO unnecessary step in colour allocation.
4852
4853 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4854
4855         * BufferView_pimpl.C: compile fix
4856
4857 2003-08-15  André Pönitz  <poenitz@gmx.net>
4858
4859         * rowpainter.C: remove extra metrics calls
4860
4861         * lyxtext.h: merge the two constructors into a single one,
4862           pass reference to owner's par list
4863
4864         * BufferView_pimpl.C:
4865         * text.C:
4866         * text2.C: adjust
4867
4868 2003-08-15  André Pönitz  <poenitz@gmx.net>
4869
4870         * lyxrow_funcs.[Ch]:
4871         * lyxtext.h:
4872         * paragraph.h:
4873         * paragraph_funcs.C:
4874         * rowpainter.C:
4875         * text.C:
4876         * text2.C:
4877         * text3.C:
4878         * text_funcs.C: split LyXText::rowlist_ into individual
4879         Paragraph::rows_ chunks
4880
4881         * BufferView.[Ch]:
4882         * BufferView_pimpl.[Ch]:
4883         * lyxfind.C:
4884         * lyxtext.h:
4885         * text3.C: remove toggleSelection()
4886
4887 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4888
4889         * bufferlist.C: beautify two alerts (shorter text of buttons)
4890         * buffer.C: Remove redundant ' ' from message
4891         * tabular.h:
4892         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4893         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4894         rename VALIGN_CENTER to VALIGN_MIDDLE
4895
4896 2003-08-11  André Pönitz  <poenitz@gmx.net>
4897
4898         * lyxtext.h (getPar):
4899         * text.C: new function
4900
4901 2003-08-11  André Pönitz  <poenitz@gmx.net>
4902
4903         * Makefile.am:
4904         * tracer.[Ch]: remove unneeded files
4905
4906         * InsetList.[Ch]: remove resizeInsetsLyXText()
4907
4908         * lyxtext.h:
4909         * text.C:
4910         * text2.C:
4911         * text3.C: merge insertParagraphs() and appendParagraph()
4912         remove breakAgain(), update()
4913
4914         * BufferView_pimpl.[Ch]:
4915         * bufferview_funcs.[Ch]:
4916         * lyxfunc.C:
4917         * paragraph.[Ch]:
4918         * rowpainter.C:
4919         * tabular.C: adjust after text & InsetList changes.
4920
4921 2003-08-08  André Pönitz  <poenitz@gmx.net>
4922
4923         * text.C (insertChar, backspace): replace rowlist fiddling
4924         with rebreak of full par
4925
4926         * lyxtext.h:
4927         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4928         checkParagraph, updateInset): removed
4929
4930 2003-08-07  André Pönitz  <poenitz@gmx.net>
4931
4932         * paragraph.C:
4933         * text3.C: merge some LFUN handlers, remove dead code
4934
4935 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4936
4937         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4938
4939 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4940
4941         * text2.C (DEPM): fix part of bug 1255 and 1256
4942
4943 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4944
4945         * BufferView_pimpl.C (workAreaDispatch): change to use
4946         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4947         that are no mouse related.
4948
4949 2003-08-05  André Pönitz  <poenitz@gmx.net>
4950
4951         * BufferView.[Ch]:
4952         * BufferView_pimpl.[Ch]:
4953         * bufferview_funcs.C:
4954         * text2.C:
4955         * text3.C: rip out "deep update"
4956
4957         * textcursor.[Ch] (last_sel_cursor): remove unused member
4958
4959 2003-08-04  André Pönitz  <poenitz@gmx.net>
4960
4961         * BufferView.[Ch]:
4962         * BufferView_pimpl.[Ch]:
4963         * ParagraphParameters.C:
4964         * bufferview_funcs.C:
4965         * lyx_cb.C:
4966         * lyxfind.C:
4967         * lyxfunc.C:
4968         * text.C:
4969         * text2.C:
4970         * text3.C: replace "complicated" BufferView::update(...) calls with
4971         simpler ones.
4972
4973         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4974
4975 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4976
4977         * Makefile.am (lyx_SOURCES): add paper.h
4978
4979 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4980
4981         * Makefile.am: move things around so that both lyx-qt and
4982         lyx-xforms can be built (according to --with-frontend). Then lyx
4983         is a symbolic link to lyx-[firstfrontend]
4984
4985 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4986
4987         * Always use std::endl with lyxerr
4988
4989 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4990
4991         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4992
4993 2003-08-01  André Pönitz  <poenitz@gmx.net>
4994
4995         * BufferView.[Ch]:
4996         * BufferView_pimpl.[Ch]:
4997         * lyxfunc.C:
4998         * text3.C: merge BufferView::repaint() and BufferView::update()
4999
5000 2003-08-01  José Matos  <jamatos@lyx.org>
5001
5002         * buffer.[Ch]: file_format is no longer a buffer data element.
5003
5004 2003-08-01  André Pönitz  <poenitz@gmx.net>
5005
5006         * BufferView.C:
5007         * lyxtext.h:
5008         * text.C:
5009         * text2.C: make redoParagraph more independent of current cursor
5010
5011         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5012         * text.C:
5013         * text2.C: remove unneeded members
5014
5015 2003-07-30  André Pönitz  <poenitz@gmx.net>
5016
5017         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5018
5019         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5020           create a single function...
5021
5022         * paragraph_funcs.C (moveItem): ... here.
5023
5024         * text.C:
5025           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5026
5027 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5028
5029         * LColor.[Ch]: Add comment and greyedout logical colors.
5030
5031 2003-07-30  André Pönitz  <poenitz@gmx.net>
5032
5033         * tabular.C: don't use Assert too heavily. This crashes where it
5034           shouldn't
5035
5036 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5039         is disabled (bug 1232)
5040
5041 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5042
5043         * factory.C: limited 'arg' scope
5044
5045 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5046
5047         * factory.C: fixed Note submenu issues
5048
5049 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5050
5051         * factory.C: submenu for Note/Comment/Greyedout
5052
5053 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5054
5055         * lyx_main.C (LyX):
5056         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5057
5058 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5059
5060         * LaTeXFeatures.C:
5061         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5062         greyedout. Patch provided by Jürgen Spitzmüller.
5063
5064 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5065
5066         * kbmap.C (read): fix error message when reading bind files
5067
5068 2003-07-29  Angus Leeming  <leeming@lyx.org>
5069
5070         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5071         certainly does not do what it purports to do. I am doing it, and
5072         us, a favour by killing it.
5073
5074 2003-07-28  José Matos  <jamatos@lyx.org>
5075
5076         * buffer.C (readBody, do_writeFile):
5077         * paragraph.C(readParagraph): \end_document replaces \the_end.
5078
5079 2003-07-29  André Pönitz  <poenitz@gmx.net>
5080
5081         * BufferView.[Ch]:
5082         * BufferView_pimpl.[Ch]:
5083         * lyxfunc.C:
5084         * text2.C:
5085         * text3.C:
5086         * textcursor.[Ch]: remove toggleToggle & Co
5087
5088 2003-07-28  José Matos  <jamatos@fep.up.pt>
5089
5090         * buffer.C (readParagraph):
5091         * params_func (readParToken, readParagraph):
5092         * paragraph.C (write): \layout -> \begin_layout.
5093
5094 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * lyxlex_pimpl.C (setFile): clean up slightly.
5097
5098         * bufferparams.h: add compressed var
5099
5100         * buffer_funcs.C (readFile): adjust for LyXLex change
5101         (newFile): ditto + simplify
5102
5103         * buffer.C (writeFile): handle writing of compressed files
5104
5105         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5106         Check if the file is compressed and set a bufferparm if so.
5107
5108         * Makefile.am (lyx_LDADD): remove explicit -lz
5109
5110 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5111
5112         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5113         makeDocBookFile): put the real LyX version in the first line of
5114         the file
5115
5116         * version.h:
5117         * version.C.in: remove lyx_docversion
5118
5119         * tabular.C (write_attribute): add a template-based version to
5120         write enums properly
5121
5122 2003-07-28  André Pönitz  <poenitz@gmx.net>
5123
5124         * lyxtext.h:
5125         * text.C:
5126         * text2.C:
5127         * text3.C: use doubles again for x-coordinates. They are needed.
5128
5129 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * messages.C (getLocaleDir): use lyx_localedir()
5132
5133         * lyxlex_pimpl.C (setFile): compress stuff
5134
5135         * buffer.C (writeFile): add some compression stuff
5136         (do_writeFile): new func, dont call expliti close... will this
5137         breake anything?
5138
5139         * Makefile.am (lyx_LDADD): add -lz
5140
5141 2003-07-28  José Matos  <jamatos@fep.up.pt>
5142
5143         * buffer.C: increment file format.
5144         * paragraph_funcs (readParagraph, readParToken):
5145         * paragraph.C (readParagraph): add \end_layout.
5146
5147 2003-07-27  Angus Leeming  <leeming@lyx.org>
5148
5149         * Makefile.am: remove special casing for configure-time setting of
5150         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5151
5152         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5153         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5154
5155 2003-07-26  André Pönitz  <poenitz@gmx.net>
5156
5157         * paragraph_func.[Ch]:
5158         * paragraph.C (realizeFont): inline it whereever it is used
5159
5160         * rowpainter.C:
5161         * text.C:
5162         * text2.C:
5163         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5164
5165
5166 2003-07-26  André Pönitz  <poenitz@gmx.net>
5167
5168         *       lyxtext.h:
5169         * text.C:
5170         * text2.C: get rid of LyXText::need_break_row
5171
5172 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * toc.[Ch]: put namespace toc inside namespace lyx
5175
5176         * MenuBackend.C (expandToc2): adjust for lyx::toc
5177         (expandToc): ditto
5178
5179         * lyxfunc.C (dispatch): adjust for lyx::find
5180
5181         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5182         lyx::find instead. Reorganize a bit.
5183         (LyXReplace): rename to replace
5184         (LyXFind): rename to find
5185
5186         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5187         (dispatch): ditto
5188
5189 2003-07-26  André Pönitz  <poenitz@gmx.net>
5190
5191         * text.C (setHeightOfRow): restrict scope of temporary variable
5192
5193         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5194           code (never has been used?)
5195
5196 2003-07-27  Asger Alstrup  <alstrup@local>
5197
5198         * text.C (fill): Optimise algorithm to exploit that we can reuse
5199         the LyXFont for many characters.
5200         (setHeightOfRow): Same thing.
5201         (rowBreakPoint): Same thing.
5202
5203 2003-07-26  Asger Alstrup  <alstrup@local>
5204
5205         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5206
5207         * text.C (singleWidth): Spurious font copying in hot-spot
5208         singleWidth avoided. Reorder tests for arabic for efficiency.
5209
5210         * text.C (fill): handle empty paragraphs better.
5211
5212 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5213
5214         * ispell.C:
5215         * encoding.h: add includes
5216
5217         * lyxrc.C: remove reading of bind files
5218
5219         * lyx_main.C (init): setup bindings and menus only if we have a
5220         gui.
5221
5222         * kbmap.C (read): new method. Do the actual reading of bind
5223         files.
5224
5225         * converter.C (dvipdfm_options):
5226         * bufferparams.C:
5227         * lyxrc.C (read):
5228         (output): adapt PAPER_* enums.
5229
5230         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5231
5232         * bufferparams.h: remove paper-related enums from there
5233
5234         * paper.h: New file. A trivial header file to hold paper-related
5235         enums. It should later expand to contain many paper-related
5236         horrors access.
5237
5238         * lyxrc.C: declare extern displayTranslator
5239
5240 2003-07-27  José Matos  <jamatos@fep.up.pt>
5241
5242         * tabular.[Ch] (linuxdoc): add support for tables and figures
5243         (linuxdoc).
5244
5245 2003-07-27  José Matos  <jamatos@fep.up.pt>
5246
5247         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5248         consistency in both functions.
5249         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5250
5251 2003-07-26  Asger Alstrup  <alstrup@local>
5252
5253         * rowpainter.C (paintRows): Change algorithm to work directly on
5254         the insets rather than asking every character in the document
5255         whether its an inset.
5256
5257 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5258
5259         * buffer.C (openFileWrite): factorize some code
5260
5261 2003-07-26  Angus Leeming  <leeming@lyx.org>
5262
5263         * lyx_cb.C:
5264         * lyx_main.[Ch]: replace occurances of system_tempdir with
5265         os::getTmpDir().
5266
5267 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * rename Inset to InsetOld
5270
5271 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5272
5273         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5274         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5275         which I think is a bit clearer. EDIT is gone, since it was
5276         premature optimisation, and broken for mathed anyway.
5277         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5278         with cursor positioning in insets as well (math insets still do not
5279         work, but that's a different story anyway.) It mysteriously
5280         crashes sometimes with undo in the first paragraph, but I'm fairly
5281         confident that this is a compiler bug.
5282
5283 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5284
5285         * paragraph.C (Paragraph): adjust for new clone return type
5286         (operator==): ditto
5287         (copyIntoMinibuffer): ditto
5288
5289 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5290
5291         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5292         by not having a special case, and always doing a full rebreak of
5293         the document after undo.
5294
5295 2003-07-23  Angus Leeming  <leeming@lyx.org>
5296
5297         * factory.C (createInset): InsetExternal::setParams now takes a
5298         Buffer const * arg.
5299
5300 2003-07-23  Angus Leeming  <leeming@lyx.org>
5301
5302         * factory.C (createInset): changed interface to the external and
5303         graphics mailers' string2params functions.
5304
5305 2003-07-23  Angus Leeming  <leeming@lyx.org>
5306
5307         * factory.C (createInset): pass a
5308         Buffer const * parameter to InsetExternalMailer's string2params.
5309
5310 2003-07-22  John Levon  <levon@movementarian.org>
5311
5312         * Thesaurus.h: include the right aiksaurus header
5313
5314 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5315
5316         * MenuBackend.C (expand): check menu shortcuts unconditionally
5317
5318 2003-07-21  Angus Leeming  <leeming@lyx.org>
5319
5320         * factory.C (createInset): pass a
5321         buffer_path parameter to InsetGraphicsMailer's string2params.
5322
5323 2003-07-21  Angus Leeming  <leeming@lyx.org>
5324
5325         * BufferView_pimpl.C (buffer):
5326         * buffer.C (d-tor):
5327         * lyx_main.C (LyX):
5328         * lyxfunc.C (dispatch):
5329         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5330         rather than the grfx shortcut.
5331
5332 2003-07-21  André Pönitz  <poenitz@gmx.net>
5333
5334         * rowpainter.C: remove unused variables
5335
5336         * tabular_funcs.C:
5337         * tabular_funcs.h: move to tabular.C
5338         * Makefile.am: adjust
5339
5340         * tabular.[Ch]: basic optical cleaning
5341
5342         * author.h: pass references, not values
5343
5344 2003-07-18  André Pönitz  <poenitz@gmx.net>
5345
5346         * lyxtext.h:
5347         * metricsinfo.C:
5348         * metricsinfo.h:
5349         * rowpainter.C:
5350         * text.C:
5351         * text2.C:
5352         * text3.C: two-phase drawing for InsetText and InsetTabular
5353         some float -> int changes.
5354
5355 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * lyx_main.C: fix the fix
5358
5359 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * lyx_main.C: fix a crash in batch mode if no files specified
5362         * converter.C: ws
5363
5364 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5365
5366         * format.[Ch] (papersize): moved to BufferParams
5367         * converter.[Ch] (dvips_options): moved to BufferParams
5368         (dvipdfm_options): moved to anon namespace
5369         * bufferparams.[Ch]: added above functions.
5370
5371 2003-07-17  André Pönitz  <poenitz@gmx.net>
5372
5373         * lyxtext.h:
5374         * rowpainter.C:
5375         * text2.C: don't call inset->update() anymore
5376
5377         * metricsinfo.[Ch]: add convenience constructor
5378
5379 2003-07-16  André Pönitz  <poenitz@gmx.net>
5380
5381         * lyxcursor.[Ch]:
5382         * lyxfunc.[Ch]:
5383         * text.C:
5384         * text2.C: replace the LyXCursor::irow_ member with
5385          on-demand computation of the value
5386
5387 2003-07-16  John Levon  <levon@movementarian.org>
5388
5389         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5390
5391 2003-07-15  André Pönitz  <poenitz@gmx.net>
5392
5393         * text.C:
5394         * text2.C: remove no more needed refresh_row
5395
5396 2003-07-15  André Pönitz  <poenitz@gmx.net>
5397
5398         * lyxtext.h:
5399         * rowpainter.C:
5400         * text2.C:
5401         * text3.C: refresh_status tristate -> need_update bool
5402
5403 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5404
5405         * lyxtext.h (init): remove reinit argument (act as if always true)
5406         * text2.C: adjust to that
5407
5408 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5409
5410         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5411         * text3.C: use it to delete selections in some cases
5412         (bugs 441, 673, 702, 954).
5413
5414 2003-07-14  André Pönitz  <poenitz@gmx.net>
5415
5416         * rowpainter.[Ch]: reduce interface
5417
5418 2003-07-14  André Pönitz  <poenitz@gmx.net>
5419
5420         * BufferView_pimpl.C:
5421         * text2.C: adjust after removing unused BufferView * argument
5422
5423 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5424
5425         * text2.C (init): fix a crash fired on resize
5426
5427 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5428
5429         * buffer.[Ch]: added new closing signal
5430         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5431         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5432         BufferView::Pimpl via the closing the signal
5433
5434 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * buffer.[Ch]: take out all bv-related from buffer
5437         * BufferView.C:
5438         * BufferView_pimpl.[Ch]: connect to new signals
5439         * CutAndPaste.C: removed useless asserts
5440         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5441         * lyxvc.[Ch]:
5442         * vc-backend.[Ch]:
5443         * lyxfunc.C: moved view-related funciontality from vc here
5444         * paragraph.C: removed outdated comments
5445         * text.C: ws
5446
5447 2003-07-10  André Pönitz  <poenitz@gmx.net>
5448
5449         * BufferView_pimpl.C:
5450         * tabular.h:
5451         * tabular_funcs.C:
5452         * text.C:
5453         * text2.C: remove InsetText::InnerCache, clean up consequences
5454
5455 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5456
5457         * ispell.C: fix two typos in error messages
5458
5459 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5460
5461         * Extend Note inset to other forms of annotation like Comment
5462         and Greyedout. Right button click gives dialog.
5463
5464         Files modified or added (+):
5465
5466         * insetnote.[Ch]
5467         * FormNote.[Ch]      +
5468         * ControlNote.[Ch]   +
5469         * form_note.fd       +
5470         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5471         frontends/controllers
5472         * xforms/Dialogs.C
5473         * factory.C
5474
5475 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5476
5477         * aspell.C: add missing namespace lyx::support
5478
5479 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5480
5481         * BufferView.[Ch] (newFile): Add
5482         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5483         * LaTeX.[Ch] (message): added this signal and use it
5484         * buffer.[Ch] (busy, message): added these signals and use them
5485         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5486         * converter.C:
5487         * exporter.C:
5488         * format.C:
5489         * importer.C: use buffer signals instead of direct bv calling
5490         * lyx_cb.[Ch] (ShowMessage): removed
5491         * lyx_main.C:
5492         * lyxfunc.C:
5493         * paragraph_funcs.C:
5494         * text2.C: use buffer signals
5495
5496 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * introduce namespace lyx::graphics
5499
5500 2003-07-02  André Pönitz  <poenitz@gmx.net>
5501
5502         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5503
5504 2003-07-01  André Pönitz  <poenitz@gmx.net>
5505
5506         * text.C:
5507         * text2.C:
5508         * text3.C:
5509         * text_funcs.[Ch]:
5510         * textcursor.h:
5511         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5512           text*.C to text_func.C
5513
5514 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5515
5516         * introduce namespace lyx::support
5517
5518 2003-06-30  André Pönitz  <poenitz@gmx.net>
5519
5520         * Chktex.C:
5521         * funcrequest.C:
5522         * lyxtext.h:
5523         * text.C: re-enable --with-included-string
5524
5525 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * textcursor.C: add <config.h>
5528
5529         * text.C (getWord): remove const from word_location arg
5530
5531         * lyxvc.C (getLogFile): fix const type order
5532
5533         * lyxtext.h: remove const from word_location arg, add arg name
5534
5535         * lyxlayout.h: currect type on labeltype.
5536
5537         * importer.C: correct \file
5538
5539         * converter.C (intToFormat): use std:: on ret val, ws changes
5540
5541         * bufferlist.h: correct \file
5542
5543         * buffer.C (makeLinuxDocFile): fix const type order
5544         (makeDocBookFile): ditto
5545         (fillWithBibKeys): use std:: on stdlib args.
5546
5547         * CutAndPaste.C: fix authors.
5548         (availableSelections): use std:: on return vector
5549
5550 2003-06-27  André Pönitz  <poenitz@gmx.net>
5551
5552         * BufferView_pimpl.C:
5553         * bufferview_funcs.C:
5554         * lyxcursor.C:
5555         * lyxcursor.h:
5556         * lyxfunc.C:
5557         * lyxtext.h:
5558         * rowpainter.C:
5559         * text.C:
5560         * text2.C:
5561         * text3.C: remove LyXCursor::row_ member
5562
5563         * lyxtext.h:
5564         * text.C: rename fullRebreak() to partialRebreak() and implement
5565           a fullRebreak() that really bereks fully
5566
5567         * textcursor.h: new struct for cursor-related data
5568
5569 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5570
5571         * lyx_main.C (LyX): get full path of document loaded on the
5572         command line
5573
5574 2003-06-26  André Pönitz  <poenitz@gmx.net>
5575
5576         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5577           remove unused/broken operator>,<,>=.
5578
5579         *       text.C: remove only use of broken operator<= in an Assert().
5580
5581 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5582
5583         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5584         moved errorlist_.clear to showErrorList
5585
5586 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5587
5588         * converter.C (scanLog, runLaTeX):
5589         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5590         move the bv->showErrorList call to the callers
5591         * lyxfunc.C: i.e. here...
5592         * text2.C: and here
5593         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5594         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5595         namespace, the second to...
5596         * buffer_funcs (BufferFormat, parseErrors): added
5597         * errorlist.C (ErrorList(TeXErrors const &)): removed
5598
5599 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5600
5601         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5602
5603 2003-06-24  "Garst R. Reese" <reese@isn.net>
5604
5605         * debug.C: fix typo
5606
5607 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5608
5609         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5610
5611         * version.C.in: change docversion to 1.4
5612
5613 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * buffer.C: fix a bug just introduced
5616
5617 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5618
5619         * buffer.[Ch]: added the parseError signal and use it, removed
5620         sgmlError
5621         * BufferView.[Ch] (addError): moved to ...
5622         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5623         to the Buffer::parseError signal to catch (guess what) parse errors
5624         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5625
5626 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5627
5628         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5629         ability to create a buffer and to return an existing one from
5630         the list. Moved these functions to...
5631         * buffer_funcs.[Ch]: added
5632         * BufferView.[Ch] (loadLyXFile): added
5633         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5634         job removed from bufferlist::loadLyXFile.
5635         * buffer.C (setReadOnly): make it work without view
5636         (i.e added an if (users))
5637
5638 2003-06-19  Angus Leeming  <leeming@lyx.org>
5639
5640         * lfuns.h:
5641         * LyXAction.C (init):
5642         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5643         with LFUN_DIALOG_SHOW <name> <data>.
5644
5645 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5646
5647         * CutAndPaste.C (availableSelections): small compilation fix for
5648         ancient (gcc 2.9x) compilers
5649
5650 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * text3.C (cursorNext): add tmp var
5653
5654         * text2.C (updateCounters): for function calling out of for clause
5655         (replaceSelectionWithString): ditto
5656         (insertStringAsParagraphs): ditto
5657         (getColumnNearX): add tmp var
5658         (setCursorFromCoordinates): add tmp var
5659         (cursorDownParagraph): add tmp var
5660         (deleteEmptyParagraphMechanism): add tmp var
5661
5662         * text.C (insertChar): add tmp var
5663
5664         * rowpainter.C (paintDepthBar): add tmp var
5665
5666         * CutAndPaste.C (availableSelections): potentially check all
5667         paragraphs in a cut to fill the shown strings.
5668
5669 2003-06-18  André Pönitz  <poenitz@gmx.net>
5670
5671         * kbmap.[Ch]: use vector<> instead of list<>
5672
5673 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5674
5675         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5676         pasteSelection with index
5677
5678         * text2.C (pasteSelection): modify, call pasteSelection with index
5679
5680         * paragraph.C (asString): reimplement version with no interval to
5681         call the one with interval.
5682
5683         * lyxtext.h: add index arg to pasteSelection
5684
5685         * MenuBackend.C (MenuItem): handle PasteRecent
5686         (Menu::read::Menutags): add md_pasterecent
5687         (read): handle it
5688         (expandPasteRecent): new function
5689         (expand): use it
5690
5691         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5692
5693         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5694         the limited stack
5695         (availableSelections): new function
5696
5697 2003-06-17  Angus Leeming  <leeming@lyx.org>
5698
5699         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5700
5701 2003-06-17  Angus Leeming  <leeming@lyx.org>
5702
5703         * lfuns.h:
5704         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5705
5706         * lyxfunc.C (dispatch): invoke it.
5707
5708 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5709
5710         * iterators.C (operator++, ParPosition): reintroduce some
5711         const_cast for the benefit of older compilers.
5712
5713 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5714
5715         * text3.C (dispatch): do not modify clipboard when doing
5716         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5717         LFUN_DELETE_SKIP on a selection selection
5718
5719 2003-06-16  André Pönitz  <poenitz@gmx.net>
5720
5721         * BufferView.C:
5722         * buffer.C:
5723         * buffer.h:
5724         * paragraph.C:
5725         * tabular.[Ch]: IU of clone() and getLabelList();
5726
5727 2003-06-13  André Pönitz  <poenitz@gmx.net>
5728
5729         * tabular.h: compactification
5730
5731 2003-06-12  André Pönitz  <poenitz@gmx.net>
5732
5733         * tabular.C:
5734         * tabular.h:
5735         * tabular_funcs.h: some renaming plus whitespace
5736
5737 2003-06-12  André Pönitz  <poenitz@gmx.net>
5738
5739         * BufferView.C:
5740         * BufferView_pimpl.C:
5741         * CutAndPaste.C:
5742         * buffer.C:
5743         * iterators.[Ch]:
5744         * lyxfunc.C:
5745         * text.C:
5746         * toc.C: Return a Paragraph & for ParIterator::operator*()
5747
5748 2003-06-11  John Levon  <levon@movementarian.org>
5749
5750         * lyx_main.C:
5751         * ToolbarBackend.h:
5752         * ToolbarBackend.C: add "Toolbars" section and
5753         put the flags there
5754
5755 2003-06-10  Angus Leeming  <leeming@lyx.org>
5756
5757         * lfuns.h:
5758         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5759
5760         * lyxfunc.C (dispatch): invoke it.
5761
5762 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5763
5764         * main.C: protect <ios> with HAVE_IOS
5765         (main): protect sync_with_stdio with HAVE_IOS
5766
5767 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5768
5769         * text2.C (cutSelection): adjust
5770         (pasteSelection): adjust
5771
5772         * messages.C: handle get of empty string
5773
5774         * main.C (main): use sync_with_stdio(false)
5775
5776         * lyxfunc.C (dispatch): adjust
5777
5778         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5779         (WriteAs): remove unneeded BufferView arg.
5780
5781         * bufferparams.h: use correct types on papersize, papersize2 and
5782         paperpackage.
5783
5784         * bufferparams.C (readToken): adjust for type
5785         (writeLaTeX): add missing cases to switch.
5786
5787         * bufferlist.C (quitWriteBuffer): adjust
5788         (close): adjust
5789
5790         * buffer.C (asciiParagraph): remove some commented code.
5791
5792         * CutAndPaste.C: remove current_view extern variable.
5793         (cutSelection): add BufferParams arg.
5794         (eraseSelection): add BufferParams arg.
5795         (pasteSelection): add Buffer const & arg
5796
5797 2003-06-07  John Levon  <levon@movementarian.org>
5798
5799         * buffer.C:
5800         * paragraph_funcs.C:
5801         * paragraph_pimpl.C:
5802         * text.C:
5803         * text2.C:
5804         * paragraph.h:
5805         * paragraph.C: allow InsetERT to freely space lines,
5806         and some consolidation of code
5807
5808 2003-06-06  José Matos  <jamatos@fep.up.pt>
5809
5810         * buffer.C (makeDocBookFile): fix bug #821
5811
5812 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5813
5814         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5815
5816 2003-06-04  Angus Leeming  <leeming@lyx.org>
5817
5818         * buffer.C: bump format to 224.
5819
5820 2003-06-05  André Pönitz  <poenitz@gmx.net>
5821
5822         * text2.C (redoParagraphs): remove two const_cast<>
5823
5824 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5825
5826         * ParagraphList.h: remove last remnants of NO_STD_LIST
5827
5828 2003-06-03  Angus Leeming  <leeming@lyx.org>
5829
5830         * factory.C (createInset): small change to the way InsetExternal's params
5831         are set.
5832
5833 2003-06-04  André Pönitz  <poenitz@gmx.net>
5834
5835         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5836
5837         * paragraph_pimpl.h:
5838         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5839
5840         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5841
5842         * undo_funcs.C: make some simple cases of undo work again
5843
5844 2003-06-03  John Levon  <levon@movementarian.org>
5845
5846         * ispell.C: HPUX doesn't have sys/select.h
5847         (from Albert Chin)
5848
5849 2003-06-03  John Levon  <levon@movementarian.org>
5850
5851         * CutAndPaste.C: update tabular and include inset
5852         buffer references
5853
5854         * buffer.h:
5855         * paragraph.h:
5856         * paragraph.C: remove owningBuffer(), don't pass Buffer
5857         to clone()
5858
5859         * factory.C: insetGraphicsParams changed
5860
5861 2003-06-02  John Levon  <levon@movementarian.org>
5862
5863         * LyXAction.C:
5864         * factory.C:
5865         * lfuns.h:
5866         * lyxfunc.C:
5867         * text3.C: remove insetparent
5868
5869 2003-06-02  John Levon  <levon@movementarian.org>
5870
5871         * buffer.h:
5872         * buffer.C: fix inset_iterator.end(), move out of line
5873         (bug 1149)
5874
5875 2003-06-01  John Levon  <levon@movementarian.org>
5876
5877         * text3.C: use a proper cut/paste when doing inset
5878         insert (from Jürgen Spitzmüller)
5879
5880 2003-06-01  John Levon  <levon@movementarian.org>
5881
5882         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5883
5884 2003-05-30  André Pönitz  <poenitz@gmx.net>
5885
5886         * rowpainter.C: unify second drawing phase
5887
5888 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * trans_mgr.C: remove one case of current_view
5891
5892         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5893
5894         * paragraph_funcs.h: remove paragraph.h include
5895
5896         * paragraph.h: delete NO_STD_LIST stuff
5897
5898         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5899
5900         * buffer.h: remove paragraph.h include
5901
5902         * ParagraphList.C: delete file
5903
5904         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5905
5906         * toc.C (getTocList): adjust
5907
5908         * paragraph_pimpl.C (validate): adjust
5909
5910         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5911
5912         * paragraph.C (Paragraph): adjust
5913         (getPositionOfInset): use const_iterator, adjust
5914         (bibitem): use const_iterator, adjust
5915         (setInsetOwner): adjust
5916
5917         * iterators.C (operator++): adjust
5918
5919         * InsetList.[Ch]: Replace selfmade iterator with standard
5920         vector::iterator also introduce const_iterator. Remove getPos,
5921         getInset and setInset from InsetTable. Adjust accordingly.
5922
5923         * BufferView.C (lockInset): adjust
5924         (ChangeInsets): adjust
5925
5926         * tabular.[Ch]: delete commented same_id functions
5927
5928 2003-05-28  John Levon  <levon@movementarian.org>
5929
5930         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5931
5932 2003-05-28  André Pönitz  <poenitz@gmx.net>
5933
5934         * metricsinfo.[Ch]: remove 'fullredraw' member
5935
5936 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5937
5938         * lyxtextclass.C (operator): remove caching.
5939
5940 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5941
5942         * text3.C: adjust
5943
5944         * text2.C (cursorBottom): adjust
5945         (setCounter): use ParagraphList::find, adjust
5946
5947         * text.C (workWidth): use ParagraphList::find, adjust
5948
5949         * lyxcursor.C (LyXCursor): adjust
5950
5951         * buffer.C (inset_iterator): adjust
5952
5953         * ParagraphList.h: make iterator(value_type) private, make
5954         ParagraphList a friend of iterator.
5955
5956         * ParagraphList.C (find): new function
5957
5958         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5959
5960 2003-05-27  André Pönitz  <poenitz@gmx.net>
5961
5962         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5963
5964 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5965
5966         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5967
5968 2003-05-26  John Levon  <levon@movementarian.org>
5969
5970         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5971
5972 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5973
5974         * remove same_id from function signatures, adjust.
5975
5976 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5977
5978         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5979
5980         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5981
5982         * paragraph.C (Paragraph): get rid of same_ids parameter
5983
5984         * ParagraphList.C (insert): adjust
5985         (push_back): adjust
5986
5987 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5988
5989         * paragraph_funcs.C (breakParagraph): adjust
5990         (breakParagraphConservative): adjust
5991
5992         * buffer.C (readParagraph): adjust
5993
5994         * ParagraphList.C (insert): take a reference instead of a pointer
5995         (insert): adjust
5996
5997         * paragraph.[Ch] (id): new function
5998
5999         * bufferlist.C (newFile): adjust
6000
6001         * ParagraphList.C (ParagraphList): adjust
6002         (assign): adjust
6003         (push_back): take a reference instead of a pointer.
6004
6005         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6006
6007         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6008         instead.
6009
6010         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6011         set else use old code.
6012
6013         * ParagraphList.C: remove all NO_NEXT code and only compile this
6014         code of NO_STD_LIST is set.
6015
6016 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6017
6018         * BufferView_pimpl.C:
6019         * TextCache.C:
6020         * TextCache.h:
6021         * bufferlist.C:
6022         * errorlist.h:
6023         * format.C:
6024         * format.h:
6025         * graph.C:
6026         * lyxfunc.C:
6027         * lyxrc.C:
6028         * graphics/GraphicsConverter.C:
6029         * graphics/PreviewLoader.C: header adjustment
6030
6031 2003-05-23  Angus Leeming  <leeming@lyx.org>
6032
6033         * LaTeXFeatures.[Ch] (useBabel): new method.
6034         * bufferparams.C (writeLaTeX): use it.
6035
6036 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * ParagraphList.h (set): remove unused function.
6039
6040 2003-05-23  André Pönitz  <poenitz@gmx.net>
6041
6042         * BufferView.C:
6043         * BufferView_pimpl.C:
6044         * buffer.C:
6045         * buffer.h:
6046         * lyxfunc.C:
6047         * undo_funcs.C: setUndo reworked
6048
6049         * iterators.[Ch]: add access to topmost ParagraphList
6050
6051         * lyxtext.[Ch] (workWidth): add a const
6052
6053 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6054
6055         * texrow.[Ch] (increasePos): remove function
6056         * exporter.C (export): removed unused var and outdated comment
6057
6058 2003-05-23  Angus Leeming  <leeming@lyx.org>
6059
6060         * latexrunparams.h: rename fragile as moving_arg.
6061         * paragraph.C (simpleTeXOnePar): ditto.
6062         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6063
6064 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6067         (createUndo): ditto
6068         (textUndoOrRedo): comment out a currently unused var.
6069
6070         * paragraph.h (NO_NEXT): enable NO_NEXT
6071
6072         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6073
6074         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6075
6076         * exporter.C (Export): adjust for removeAutoInsets removal.
6077
6078         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6079
6080         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6081
6082         * BufferView.[Ch] (removeAutoInsets): delete function
6083
6084 2003-05-22  Angus Leeming  <leeming@lyx.org>
6085
6086         * latexrunparams.h: add a free_spacing variable.
6087
6088         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6089         to pass moving_arg, as the data is stored in runparams.fragile.
6090
6091         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6092         to Inset::latexOptional or to simpleTeXOnePar.
6093
6094         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6095         free_spacing arg to Inset::latexOptional.
6096
6097         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6098         free_spacing arg.
6099
6100 2003-05-22  Angus Leeming  <leeming@lyx.org>
6101
6102         * latexrunparams.h: add fragile and use_babel variables.
6103
6104         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6105         * buffer.C (makeLaTeXFile): store this returned value in
6106         runparams.use_babel, thus passing it to the inset::latex methods.
6107
6108         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6109         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6110
6111         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6112         longer has a fragile arg, as it is stored in runparams.fragile.
6113
6114         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6115         moving_arg parameter as the data is stored in runparams.fragile.
6116
6117         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6118         a fragile parameter as the data is stored in runparams.fragile.
6119
6120 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6123
6124 2003-05-22  Angus Leeming  <leeming@lyx.org>
6125
6126         * latexrunparams.h: add a 'bool nice' which defaults to false.
6127
6128         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6129         now encapsulated within runparams.
6130
6131         * bufferlist.C (updateIncludedTeXfiles):
6132         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6133
6134 2003-05-22  Angus Leeming  <leeming@lyx.org>
6135
6136         * latexrunparams.h: new file containing struct LatexRunParams.
6137         * Makefile.am: add new file.
6138
6139         * LaTeX.[Ch] (c-tor, run):
6140         * buffer.[Ch] (makeLaTeXFile):
6141         * bufferlist.[Ch] (updateIncludedTeXfiles):
6142         * converter.C (convert, scanLog):
6143         * converter.[Ch] (runLaTeX):
6144         * exporter.C (Export):
6145         * paragraph.[Ch] (simpleTeXOnePar):
6146         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6147         * paragraph_funcs.[Ch] (latexParagraphs):
6148         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6149         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6150         pass around a LatexRunParams parameter.
6151
6152 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6153
6154         * paragraph.[Ch]: remove unused constructor
6155
6156         * ParagraphList.C (erase): new function, taking two iterators
6157
6158 2003-05-22  André Pönitz  <poenitz@gmx.net>
6159
6160         * undo_funcs.C: remove duplicated code
6161
6162         * iterator.[Ch]: operator=
6163
6164 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * tabular.C (SetMultiColumn): ws changes
6167
6168         * rowpainter.C (paintFirst): get rid of a ->previous
6169
6170         * lyx_cb.C (getPossibleLabel): parlist simplification
6171
6172         * BufferView.C (ChangeInsets): simplify slightly.
6173
6174 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6175
6176         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6177         * lfuns.h: new LFUN_SPACE
6178         * lyxfunc.C: protected space has a new lfun
6179         * paragraph_funcs.C: read new space insets
6180         * text3.C:
6181         * factory.C: handle new space insets
6182
6183 2003-05-22  André Pönitz  <poenitz@gmx.net>
6184
6185         * BufferView.C:
6186         * BufferView_pimpl.C:
6187         * buffer.[Ch]:
6188         * lyxfunc.C:
6189         * undo_funcs.C: return a ParIterator from getParFromID.
6190
6191         * iterators.[Ch]: add two const's
6192
6193 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * toc.C (getTocList): adjust
6196
6197         * iterators.[Ch]: rework for parlist
6198
6199         * buffer.C (par_iterator_begin): adjust
6200         (par_iterator_end): adjust
6201
6202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6203
6204         * BufferView.C (removeAutoInsets): adjust
6205         (ChangeInsets): adjust
6206
6207 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6208
6209         * text.C (top_y): fix bug 1110
6210
6211 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6212
6213         * errorlist.[Ch]: added
6214         * buffer.C:
6215         * BufferView.[Ch]:
6216         * BufferView_pimpl.C:
6217         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6218         instead
6219
6220 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * Makefile.am: ensure that lyx is relinked upon changes to the
6223         various "convenience" libs.
6224
6225 2003-05-20  Angus Leeming  <leeming@lyx.org>
6226
6227         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6228         files are compiled in alphabetical order again.
6229
6230         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6231
6232 2003-05-19  Angus Leeming  <leeming@lyx.org>
6233
6234         * gettext.[Ch]: remove "char const * _(char const *)".
6235
6236 2003-05-19  André Pönitz  <poenitz@gmx.net>
6237
6238         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6239
6240         * Makefile.am:
6241         * BufferView.C:
6242         * DepTable.h:
6243         * LaTeXFeatures.C:
6244         * buffer.C:
6245         * lyxfont.C:
6246         * lyxlex.h:
6247         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6248
6249 2003-05-19  André Pönitz  <poenitz@gmx.net>
6250
6251         * buffer.C:
6252         * lyxlayout.[Ch]:
6253         * lyxtextclass.[Ch]:
6254         * paragraph.C:
6255         * paragraph_funcs.[Ch]:
6256         * text2.C:
6257         * text3.C: more insetenv work
6258
6259 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6260
6261         * ParagraphParameters.C (params2string): small bug fixed
6262
6263 2003-05-16  André Pönitz  <poenitz@gmx.net>
6264
6265         * debug.C:
6266         * bufferview_funcs.C: patch from Kornel Benko to prevent
6267           crash when _(...) is called twice in a statement
6268
6269 2003-05-16  André Pönitz  <poenitz@gmx.net>
6270
6271         * BufferView.C:
6272         * lyxfunc.C:
6273         * text.C:
6274         * text2.C:
6275         * text3.C:
6276         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6277
6278 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6279
6280         * lyx_main.C (init): remove spurious static_cast
6281
6282 2003-05-14  André Pönitz  <poenitz@gmx.net>
6283
6284         * BufferView.C: fix format string
6285
6286 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6287
6288         * BufferView.[Ch] (insertErrors): removed
6289         * BufferView.[Ch] (showErrorList): added
6290         * buffer.C (runChkTeX):
6291         * converter.C (scanLog): call showErrorList instead of inserterrors
6292
6293 2003-05-13  André Pönitz  <poenitz@gmx.net>
6294
6295         * BufferView_pimpl.C:
6296         * buffer.C:
6297         * bufferview_func.C:
6298         * MenuBackend.C:
6299         * lyxfunc.C:
6300         * lyxrc.C:
6301         * tex-accent.C:
6302         * text3.C:
6303         * toc.C:
6304         * tabular_funcs.h: tostr() from its own header
6305
6306         * ParagraphParameters.C:
6307         * ToolbarBackend.C:
6308         * bufferparams.C:
6309         * format.C:
6310         * lyxlex_pimpl.C:
6311         * text3.C: STRCONV()
6312
6313 2003-05-12  André Pönitz  <poenitz@gmx.net>
6314
6315         * BufferView.C:
6316         * BufferView_pimpl.C:
6317         * CutAndPaste.C:
6318         * LaTeX.C:
6319         * LaTeXFeatures.C:
6320         * ParagraphParameters.C:
6321         * buffer.C:
6322         * bufferlist.C:
6323         * bufferparams.C:
6324         * bufferview_funcs.C:
6325         * converter.C:
6326         * counters.C:
6327         * debug.C:
6328         * exporter.C:
6329         * format.C:
6330         * importer.C:
6331         * lyx_cb.C:
6332         * lyx_main.C:
6333         * lyxfont.C:
6334         * lyxfunc.C:
6335         * lyxvc.C:
6336         * paragraph.C:
6337         * paragraph_funcs.C:
6338         * tabular.C:
6339         * tabular_funcs.C:
6340         * text2.C:
6341         * text3.C:  boost::format -> bformat  all over the place
6342
6343
6344 2003-05-09  André Pönitz  <poenitz@gmx.net>
6345
6346         * LColor.[Ch]: Pimpl the #include <map> away
6347
6348 2003-05-09  John Levon  <levon@movementarian.org>
6349
6350         * bufferlist.C: never remove emergency saves
6351
6352 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * Makefile.am: better lib building
6355
6356 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6357
6358         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6359         instead.
6360         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6361         (simpleTeXSpecialChars): adjust
6362         (simpleTeXSpecialChars): adjust
6363         * paragraph.C (simpleTeXOnePar): adjust
6364         * buffer.C (makeLaTeXFile): adjust
6365
6366         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6367
6368         * text2.C (changeDepth): parlist cleanup
6369         (getColumnNearX): ditto
6370
6371         * rowpainter.C (getLabelFont): parlist cleanup
6372
6373         * bufferlist.C (newFile): parlist cleanup
6374
6375         * CutAndPaste.C (eraseSelection): parlist cleanup
6376
6377         * BufferView_pimpl.C (trackChanges): parlist cleanup
6378         (dispatch): ditto
6379
6380         * BufferView.C (lockInset): parlist cleanup.
6381         (ChangeInsets): ditto
6382
6383 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * CutAndPaste.h: Update file header.
6386
6387         * CutAndPaste.C: Update file header.
6388         Store the parts cut out of the Document in a limited_stack.
6389         (copySelection): adjust
6390         (pasteSelection): new function, takes the index in the limited stack.
6391         (nrOfParagraphs): adjust
6392         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6393         simplify error inset insertion.
6394         (checkPastePossible): adjust
6395
6396 2003-05-06  John Levon  <levon@movementarian.org>
6397
6398         * text2.C: don't cast wrap inset to float
6399
6400 2003-05-05  André Pönitz  <poenitz@gmx.net>
6401
6402         * iterator.C:
6403         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6404
6405         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6406           few naked Paragraph *.
6407
6408 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6409
6410         * bufferparams.C: Output warning if a document with missing
6411         TeX document class is loaded
6412         * exporter.C: Disable TeX exports if the document class is missing
6413         * lyxtextclass.C:
6414         * lyxtextclass.h:
6415         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6416         isTeXClassAvailable()
6417
6418 2003-05-03  John Levon  <levon@movementarian.org>
6419
6420         * BufferView.h:
6421         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6422         explicit cursor show/hide
6423
6424         * BufferView_pimpl.h:
6425         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6426         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6427
6428         * lyxfunc.C: hide cursor before dispatching.
6429
6430         * lyx_cb.C:
6431         * lyxfind.C:
6432         * text.C:
6433         * text3.C: remove explicit cursor hides
6434
6435 2003-05-02  André Pönitz  <poenitz@gmx.net>
6436
6437         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6438
6439         * undo_funcs.C:
6440         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6441           linked lists
6442
6443         * text2.C: tiny whitespace
6444
6445 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * undo_funcs.C: almost only ws changes.
6448
6449         * ParagraphList.C (splice): just return if pl is empty.
6450
6451 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * ParagraphList.C (splice): new function.
6454
6455         * CutAndPaste.C (pasteSelection): use it
6456
6457 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6458
6459         * CutAndPaste.C (pasteSelection): remove the last next and
6460         previous from this file.
6461
6462 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * CutAndPaste.C (pasteSelection): more clean up, user proper
6465         ParagraphList functions for pasteing.
6466
6467         * ParagraphList.C (insert): new function, three arg insert
6468
6469 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * ParagraphList.C (insert): new function, three arg insert
6472
6473         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6474         not on paragraphs.
6475
6476 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6479
6480 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6483
6484 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6487         (copySelection): clean up a bit.
6488         (pasteSelection): use make_pair
6489
6490         * ParagraphList.C (ParagraphList): implement copy constructor
6491         (operator=): implement, base on copy constructor.
6492         (assign): new func
6493
6494         * paragraph.C (erase): return a bool
6495
6496         * paragraph_pimpl.C (erasePos): remove function, move contents...
6497         (erase): ... here. Return a bool.
6498         (erase): call erase instead of erasePos.
6499
6500 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * ParagraphList.h: define PitPosPair
6503         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6504         ParagraphList, fix a bug on pasting multiple pars
6505         * text2.C: change interface to C&P
6506
6507 2003-04-30  André Pönitz  <poenitz@gmx.net>
6508
6509         * undo_func.C: revert part of yesterday's patch 2
6510
6511 2003-04-30  John Levon  <levon@movementarian.org>
6512
6513         * LColor.C: s/tabular/table/
6514
6515 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * text3.C (dispatch): do not convert iterator -> pointer
6518         * undo_funcs.C (setCursorParUndo): ditto
6519         * text_funcs.C (transposeChars): ditto
6520
6521         * text2.C (setLayout): ws changes only
6522
6523         * text.C (breakParagraph): do not convert iterator -> pointer
6524         (insertChar): ditto
6525         (acceptChange): ditto
6526         (rejectChange): ditto
6527         (changeCase): ditto
6528         (Delete): ditto
6529         (backspace): ditto
6530
6531         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6532         pointer
6533
6534 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6535
6536         * text3.C (gotoInset): YABG (yet another bad getChar)
6537
6538 2003-04-29  André Pönitz  <poenitz@gmx.net>
6539
6540         * paragraph.h: make operator= private unimplemented as long as
6541           it is unusable
6542
6543         * ParagraphList.C: whitespace
6544
6545         * paragraph.[Ch]:
6546         * paragraph_pimpl.[Ch]:
6547         * paragraph_funcs.C:
6548         * CutAndPaste.C:
6549         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6550
6551         * text2.C:
6552           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6553
6554 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6555
6556         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6557         * paragraph.[Ch] (erase):
6558         * paragraph_pimpl.[Ch] (erase): change return type and value
6559         * text2.C (cutSelection): some rework
6560
6561 2003-04-28  John Levon  <levon@movementarian.org>
6562
6563         * bufferlist.C: changes for unsaved changes dialog
6564
6565 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * bufferlist.C (newFile): set language (messages_) for new
6568         documents also.
6569
6570         * buffer.C (readFile): ws changes only.
6571
6572 2003-04-28  André Pönitz  <poenitz@gmx.net>
6573
6574         * undo_funcs.C:
6575         * lyxfunc.C:
6576         * buffer.[Ch]:
6577         * BufferView_pimpl.C:
6578         * BufferView.C: getParFromID related ParagraphList::iterator changes
6579
6580 2003-04-28  André Pönitz  <poenitz@gmx.net>
6581
6582         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6583           Changes
6584
6585 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * messages.C: remove one more localedir class variable.
6588
6589 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * messages.C (getLocaleDir): singleton generation function
6592         (Pimpl): use it.
6593         (Messages): add a default constructor.
6594
6595         * main.C (main): do not setup localedir here, do not call
6596         gettext_init.
6597
6598         * gettext.C (_): use it.
6599         (gettext_init): delete funciton
6600
6601 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * gettext.C (getLyXMessages): new singleton generating function.
6604
6605         * buffer.C (updateDocLang): adjust
6606
6607         * Makefile.am (messages.o): add target
6608         (main.o): remove target
6609
6610 2003-04-27  John Levon  <levon@movementarian.org>
6611
6612         * bufferlist.C:
6613         * lyx_cb.C:
6614         * lyxfunc.C:
6615         * lyxvc.C: specify cancel button in Alert::prompt
6616
6617 2003-04-26  John Levon  <levon@movementarian.org>
6618
6619         * text3.C:
6620         * lyxfunc.C:
6621         * lfuns.h:
6622         * LyXAction.C: add LFUN_INSET_SETTINGS
6623
6624         * lyxfunc.C: don't enable tabular-feature when there's
6625         just any locking inset
6626
6627 2003-04-26  John Levon  <levon@movementarian.org>
6628
6629         * bufferlist.C: re-add Cancel to buffer close question
6630
6631         * lyxfunc.C: fix import UI a bit
6632
6633 2003-04-25  John Levon  <levon@movementarian.org>
6634
6635         * gettext.C: remove the broken asserts for now
6636
6637 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * messages.C: make case where setlocale cannot comply work better.
6640
6641         * buffer.C (updateDocLang): new function
6642         (changeLanguage): use it
6643         (readFile): use it
6644
6645         * text2.C (setCounter): use B_ a bit.
6646
6647         * lyxlayout.C (Read): be sure to trim the label strings.
6648
6649         * messages.C (Messages): fix typo in comment
6650
6651         * buffer.C (readFile): set message_ after file is loaded.
6652         (makeDocBookFile): remove double return
6653         (changeLanguage): reset message_ upon language change.
6654         (B_): new func, use this to get translated buffer strings.
6655
6656         * main.C: add myself and Jean Marc as authors.
6657
6658 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * messages.[hC]: pimplify Messages, and three different pimpls to be
6661         used in different circumstances.
6662
6663         * gettext.[Ch]: change for use with new message code.
6664
6665 2003-04-24 André Pönitz <poenitz@gmx.net>
6666
6667         * factory.C: support for eqref
6668
6669 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * messages.[Ch]: add missing char
6672
6673         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6674
6675         * messages.[Ch]: New files
6676
6677 2003-04-18  John Levon  <levon@movementarian.org>
6678
6679         * BufferView.h:
6680         * BufferView.C:
6681         * BufferView_pimpl.C:
6682         * lfuns.h:
6683         * LyXAction.C:
6684         * lyxtext.h:
6685         * text2.C: remove layout-copy/paste (bug 778)
6686
6687 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6688
6689         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6690
6691 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6692
6693         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6694         if they succeed. Act accordingly.
6695
6696 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * text2.C (setCharFont): adjust
6699         (setCounter): adjust
6700         (insertStringAsLines): adjust
6701
6702         * text.C (leftMargin): adjust
6703         (setHeightOfRow): adjust
6704
6705         * rowpainter.C (paintFirst): adjust
6706         (paintLast): adjust
6707
6708         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6709         (outerHook): ditto
6710         (isFirstInSequence): ditto
6711         (getEndLabel): ditto
6712         (outerFont): adjust
6713
6714         * paragraph.C (getParLanguage): comment out some hard stuff.
6715
6716         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6717         (sgmlError): ditto
6718         (simpleDocBookOnePar): ditto
6719         (makeDocBookFile): use ParagraphList::iterator
6720
6721         * CutAndPaste.C (pasteSelection): adjust
6722
6723 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * text2.C (getFont): adjust
6726         (getLayoutFont): adjust
6727         (getLabelFont): adjust
6728
6729         * paragraph_funcs.C (TeXOnePar): adjust
6730
6731         * buffer.C (simpleLinuxDocOnePar): adjust
6732         (simpleDocBookOnePar): adjust
6733
6734         * CutAndPaste.C (pasteSelection): adjust
6735
6736         * BufferView.C (getEncoding): adjust
6737
6738         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6739
6740 2003-04-16  John Levon  <levon@movementarian.org>
6741
6742         * lyxfind.C: use parlist stuff for search/changes
6743
6744 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6747
6748         * text2.C (deleteEmptyParagraphMechanism): adjust
6749
6750         * text2.[Ch] (ownerParagraph): delete func (both of them
6751
6752 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6753
6754         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6755
6756 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * ParagraphList.C: prepare for NO_NEXT
6759
6760 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6761
6762         * text2.C (getFont): adjust
6763         (getLayoutFont): adjust
6764         (getLabelFont): adjust
6765
6766         * paragraph.C (getFont): adjust
6767         (getLabelFont): adjust
6768         (getLayoutFont): adjust
6769
6770         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6771
6772 2003-04-15  John Levon  <levon@movementarian.org>
6773
6774         From Angus Leeming
6775
6776         * lyx_main.C: handle Include in .ui files
6777
6778 2003-04-15  John Levon  <levon@movementarian.org>
6779
6780         * MenuBackend.C: make the doc files length shorter
6781
6782         * ToolbarBackend.h:
6783         * ToolbarBackend.C: handle toolbar placement flags,
6784         Minibuffer
6785
6786 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6789         adjust
6790
6791         * paragraph_funcs.C (TeXOnePar): adjust
6792
6793         * paragraph.C (getLabelFont): add outerfont arg, adjust
6794         (getLayoutFont): ditto
6795         (simpleTeXOnePar): adjust
6796
6797         * paragraph_pimpl.C (realizeFont): delete func
6798
6799 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6800
6801         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6802         row argument, constify cur argument.
6803
6804 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * text2.C (getFont): adjust
6807         (getLayoutFont): adjust
6808         (getLabelFont): adjust
6809
6810         * paragraph_funcs.C (TeXOnePar): adjust
6811         (outerFont): new func...
6812         (realizeFont): ...moved out from here, changed this to facilitate
6813         transition
6814
6815         * paragraph.C (getFont): take outerfont as arg, adjust
6816         (simpleTeXOnePar): add outerfont arg, adjust
6817
6818         * buffer.C (simpleLinuxDocOnePar): adjust
6819         (simpleDocBookOnePar): adjust
6820
6821         * CutAndPaste.C (pasteSelection): adjust
6822
6823         * BufferView.C (getEncoding): adjust
6824
6825 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * text2.C (setCharFont): adjust
6828         (setCounter): adjust
6829
6830         * text.C (leftMargin): adjust
6831         (setHeightOfRow): adjust
6832
6833         * rowpainter.C (paintFirst): adjust
6834         (paintLast): adjust
6835
6836         * paragraph_pimpl.C (realizeFont): adjust
6837
6838         * paragraph.C (isFirstInSequence): move from here...
6839         * paragraph_funcs.C (isFirstInSequence): ...to here
6840
6841         * paragraph.C (outerHook): move from here...
6842         * paragraph_funcs.C (outerHook): ...to here
6843
6844         * paragraph.C (depthHook): move from here...
6845         * paragraph_funcs.C (depthHook): ...to here
6846
6847         * paragraph.C (getEndLabel): move from here...
6848         * paragraph_funcs.C (getEndLabel): ...to here
6849
6850         * text2.C (realizeFont): move from here...
6851         * paragraph_funcs.C (realizeFont): ...to here
6852
6853 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6854
6855         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6856
6857 2003-04-14  Angus Leeming  <leeming@lyx.org>
6858
6859         * LColor.[Ch]: scrap LColor mathcursor.
6860
6861 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * lyxlex.[Ch] (text): delete function
6864         * trans.C (Load): adjust
6865         * paragraph_funcs.C (readParToken): adjust
6866
6867 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6870         vector<char> instead of a char[].
6871
6872         * lyxlex_pimpl.C (getString): adjust
6873         (next): adjust
6874         (lex): use getString
6875         (eatLine): adjust
6876         (nextToken): adjust
6877
6878         * lyxlex.C (text): use pimpl_->getString()
6879         (getBool): ditto
6880         (findToken): ditto
6881
6882 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6885         (makeFontEntriesLayoutSpecific): temp var for par.size()
6886         (setLayout): temp var for ownerParagraphs().end()
6887         (fullRebreak): temp var for rows().end()
6888         (selectionAsString): temp var for boost::next(startpit), realize
6889         that the while really is a regular for loop.
6890         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6891         setCursor in one place.
6892         (setParagraph): temp vr for ownerParagraphs().end()
6893         (updateCounters): make the while loop a for loop
6894         (cutSelection): temp var for ownerParagraphs().end()
6895         (updateInset): make the do {} while() a regular for loop
6896         (getCursorX): use temp vars
6897         (setCurrentFont): use temp vars
6898         (getColumnNearX): use temp vars
6899
6900 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * text.C (transformChar): use temp var for getChar
6903         (computeBidiTables): use temp var for row->par()
6904         (fill): move temp vars for row->par() and pit->layout() earlier in
6905         the function.
6906         (labelFill): use temp var for row->par()
6907         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6908         asc and desc, realize that pit never changes and that firstpit is
6909         just a duplicate and not needed. Exchange rit->par() with pit in a
6910         lot of places.
6911         (breakAgain): use a temp var for boost::next(rit)
6912         (breakAgainOneRow): ditto
6913         (breakParagraph): use a temp var for rows().begin()
6914         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6915         (cursorRightOneWord): use temp var for cursor.par() and
6916         cursor.pos(), remove usage of tmpcursor.
6917         (cursorLeftOneWord): use temp var for cursor.par() and
6918         cursor.pos() only set cur at end of function.
6919
6920 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * text.C, text2.C: exchange all usage of Paragraph::next with
6923         boost::next(ParagraphList::iterator)
6924
6925         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6926
6927         * text2.C (cursorTop): simplify implementation
6928         (cursorBottom): ditto
6929         (setParagraph): use ParagraphList::iterator
6930         (setCurrentFont): adjust
6931         (getColumnNearX): adjust
6932         (cursorRight): adjust
6933         (cursorLeft): remove usage of Paragraph::previous
6934         (cursorUpParagraph): ditto
6935         (deleteEmptyParagraphMechanism): slight cleanup
6936
6937         * text.C (isBoundary): take a Paragraph const & instead of a
6938         pointer as arg.
6939         (addressBreakPoint): ditto
6940         (leftMargin): remove usage of Paragraph::previous.
6941         (setHeightOfRow): ditto
6942         (cursorLeftOneWord): ditto
6943         (selectNextWordToSpellcheck): ditto
6944         (Delete): ditto
6945         (backspace): ditto
6946         (breakParagraph): remove one usage of Paragraph::next
6947         (redoParagraph): ditto
6948         (acceptChange): ditto
6949         (insertChar): adjust
6950         (rowBreakPoint): adjust
6951
6952         * bufferview_funcs.C (toggleAndShow): adjust
6953
6954 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6955
6956         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6957         methods to access it.
6958         * lyxtext.h:
6959         * text.C: Added updateRowPositions to compute all row positions.
6960         Make top_y and getRowNearY() to use the cached y position
6961
6962 2003-04-11  John Levon  <levon@movementarian.org>
6963
6964         * text.C (rowBreakPoint): reintroduce the labelEnd
6965         checks, code copied from the row fill stuff. Deep voodoo.
6966
6967         * text.C (fill): add a comment and debugging for the
6968         next poor soul.
6969
6970 2003-04-11  John Levon  <levon@movementarian.org>
6971
6972         * text.C: make sure fullrow insets get wrapped to the next line,
6973         even when they're in a manual label
6974
6975 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * text2.C (insertParagraph): make it take ParagraphList::iterator
6978         as arg.
6979         (setLayout): make it return ParagraphList::iterator
6980         (redoParagraphs): ditto
6981         (setCounter): ditto
6982         (checkParagraph): ditto
6983
6984         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6985
6986         * text2.C: adjust several funcs.
6987         (realizeFont): take a ParagraphList::iterator as arg.
6988         (getLayoutFont): ditto
6989         (getLabelFont): ditto
6990         (setCharFont): ditto
6991
6992         * text.C: adjust several funcs.
6993
6994 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6995
6996         * text.C (selectNextWordToSpellcheck): don't accidentally
6997         skip insets
6998
6999 2003-04-10  John Levon  <levon@movementarian.org>
7000
7001         * ToolbarBackend.C (getIcon): special handling for
7002         LFUN_MATH_DELIM
7003
7004 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7005
7006         * text2.C (cursorRight): a getChar assert fixed
7007
7008 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7009
7010         * text2.C (getFont): change to take a ParagraphList::iterator
7011         instead of Paragraph*
7012         Adjust several functions.
7013
7014         * text.C (transformChar): change to take a ParagraphList::iterator
7015         instead of Paragraph*
7016         (singleWidth): ditto
7017         Adjust several functions.
7018
7019         * rowpainter.C: adjust several functions
7020         * rowpainter.h:store a ParagraphList::iterator and not a
7021         Paragraph&.
7022
7023
7024 2003-04-09  John Levon  <levon@movementarian.org>
7025
7026         * lyxfunc.C:
7027         * lfuns.h:
7028         * LyXAction.h:
7029         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7030         and the "help" bits as well
7031
7032 2003-04-09  John Levon  <levon@movementarian.org>
7033
7034         * ToolbarBackend.h:
7035         * ToolbarBackend.C: allow multiple toolbars
7036
7037 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7038
7039         * undo_funcs.C (setCursorParUndo): adjust
7040
7041         * text_funcs.C (transposeChars): adjust
7042
7043         * text3.C (gotoNextInset): adjust
7044         (dispatch): adjust
7045
7046         * text2.C (setLayout): adjust
7047         (changeDepth): adjust
7048         (setFont): adjust
7049         (redoParagraphs): adjust
7050         (selectionAsString): adjust
7051         (setParagraph): adjust
7052         (insertInset): adjust
7053         (cutSelection): adjust
7054         (copySelection): adjust
7055         (pasteSelection): adjust
7056         (insertStringAsLines): adjust
7057         (updateInset): adjust
7058         (setCursor): change to take a ParagraphList::iterator parameter
7059         (setCursorIntern): change to take a ParagraphList::iterator parameter
7060         (setCurrentFont): adjust
7061         (cursorLeft): adjust
7062         (cursorRight): adjust
7063         (deleteEmptyParagraphMechanism): adjust
7064
7065         * text.C (breakParagraph): adjust
7066         (insertChar): adjust
7067         (acceptChange): adjust
7068         (rejectChange): adjust
7069         (selectNextWordToSpellcheck): adjust
7070         (changeCase): adjust
7071         (Delete): adjust
7072         (backspace): adjust
7073
7074         * lyxfind.C (SearchForward): adjust
7075         (SearchBackward): adjust
7076         (nextChange): adjust
7077
7078         * lyxcursor.C (par): adjust
7079
7080         * lyxcursor.h: store a ParagraphList::iterator instead of a
7081         Paragraph*
7082
7083         * lyx_cb.C (getPossibleLabel): adjust
7084
7085         * bufferview_funcs.C (toggleAndShow): adjust
7086
7087         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7088         (dispatch): adjust
7089
7090         * BufferView.C (removeAutoInsets): adjust
7091         (lockedInsetStoreUndo): adjust
7092
7093 2003-04-09  John Levon  <levon@movementarian.org>
7094
7095         * ToolbarBackend.C: try icon without argument
7096         if with argument fails
7097
7098 2003-04-08  John Levon  <levon@movementarian.org>
7099
7100         * ToolbarBackend.h:
7101         * ToolbarBackend.C: add getIcon(), handle tooltip,
7102         and change from "Icon" to "Item".
7103
7104 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7105
7106         * BufferView.C (lockInset): another bad getchar crunched
7107
7108 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7109
7110         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7111         again)
7112
7113 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7114
7115         * lyxfind.C (searchForward, searchBackwards): bug 782
7116
7117 2003-04-07  John Levon  <levon@movementarian.org>
7118
7119         * paragraph.C: remove dead comment
7120
7121         * text.C: remove troublesome depth-fiddling code
7122         in leftMargin() and rightMargin() (bug 1017)
7123
7124         * text.C: fix breaking of rows in nested lists
7125         (bug 1004)
7126
7127         * text2.C (updateCounters): fix up depth values
7128         (bug 1013)
7129
7130 2003-04-07  John Levon  <levon@movementarian.org>
7131
7132         * BufferView_pimpl.C: clear message when doc finishes resizing,
7133         and after a mouse event
7134
7135         * lyxfunc.C: clear message after exiting inset
7136
7137 2003-04-07  John Levon  <levon@movementarian.org>
7138
7139         * bufferview_funcs.C: show math status not outside
7140         status in the statusbar
7141
7142 2003-04-07  John Levon  <levon@movementarian.org>
7143
7144         * lyxfunc.C: note status changed after a depth change
7145
7146 2003-04-04  Angus Leeming  <leeming@lyx.org>
7147
7148         * LaTeX.h: move AuxInfo operator==, != out of line.
7149         Remove LaTeX virtual destructor; nothing derives from it.
7150         Move operator()() out of public area and rename it startscript().
7151         Change protected for private.
7152
7153 2003-04-04  Angus Leeming  <leeming@lyx.org>
7154
7155         * lyxfunc.C:
7156         * text2.C: remove unneeded #includes.
7157
7158 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7159
7160         * text2.C (dEPM): fix the heigth of the next row
7161
7162 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7163
7164         * text.C: squashed an invalid getChar requester + some ws changes
7165
7166 2003-04-03  John Levon  <levon@movementarian.org>
7167
7168         * bufferview_funcs.h:
7169         * bufferview_funcs.C:
7170         * lyxfunc.C:
7171         * lyxtext.h:
7172         * text2.C: make getStatus work for the env depth lfuns
7173
7174 2003-04-03  John Levon  <levon@movementarian.org>
7175
7176         * bufferview_funcs.h:
7177         * bufferview_funcs.C:
7178         * lyxfunc.C:
7179         * lyxtext.h:
7180         * text2.C: parlistize decDepth(), by merging it with incDepth()
7181
7182 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7183
7184         * lyxrow.h: store a ParagraphList::iterator instead of a
7185         Paragraph* and adjust other class functions to suit.
7186
7187         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7188         above.
7189
7190 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * text2.C (setCursor): do not anchor to cursor row for the time being
7193
7194 2003-04-02  John Levon  <levon@movementarian.org>
7195
7196         * LyXAction.C:
7197         * lfuns.h:
7198         * lyx_main.C:
7199         * lyxtext.h:
7200         * text.C:
7201         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7202
7203 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7204
7205         * paragraph.h: make ParagraphList and ParagraphList::iterator
7206         friends of Paragraph.
7207
7208         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7209
7210         * ParagraphList.C: Use the private next_ and previous_ from
7211         Paragraph.
7212
7213 2003-04-01  John Levon  <levon@movementarian.org>
7214
7215         * ToolbarBackend.h:
7216         * ToolbarBackend.C:
7217         * Makefile.am: rename, remove defaults gunk
7218
7219         * MenuBackend.h:
7220         * MenuBackend.C: remove defaults gunk
7221
7222         * Languages.h:
7223         * Languages.C: remove defaults gunk
7224
7225         * lyx_main.h:
7226         * lyx_main.C: error out if files couldn't be found.
7227
7228 2003-04-02  John Levon  <levon@movementarian.org>
7229
7230         * text2.C: make incDepth() use parlist
7231
7232 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7233
7234         * undo_funcs.C (firstUndoParagraph): adjust
7235
7236         * text3.C (gotoInset): adjust
7237         (dispatch): adjust, and rewrite loop.
7238
7239         * text2.C (init): adjust, and rewrite loop.
7240         (redoParagraphs): adjust
7241         (updateInset): adjust, and rewrite loop.
7242         (deleteEmptyParagraphMechanism): adjust
7243
7244         * tabular.C (LyXTabular): adjust
7245         (SetMultiColumn): adjust
7246         (TeXRow): adjust
7247
7248         * lyxtext.[Ch] (ownerParagraph): delete function
7249         (ownerParagraphs): new function returns a ParagraphList.
7250
7251         * BufferView.C (removeAutoInsets): adjust
7252         (insertErrors): adjust
7253         (setCursorFromRow): adjust
7254
7255 2003-04-01  Angus Leeming  <leeming@lyx.org>
7256
7257         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7258         in the frontends.
7259
7260 2003-04-02  John Levon  <levon@movementarian.org>
7261
7262         * lyxtext.h:
7263         * text.C:
7264         * Makefile.am:
7265         * text_funcs.h:
7266         * text_funcs.C: make transposeChars a free function
7267
7268         * lyxrow_funcs.C: remove wrong comment
7269
7270 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * lyxtext.h: adjust
7273         * rowpainter.C: adjust
7274         * text.C: adjust
7275         * text2.C: adjust
7276         * text3.C: adjust
7277
7278         * lyxrow_funcs. [Ch]: new files
7279
7280         * lyxrow.[Ch]: remove next and previous pointers
7281         (next,previous): remove accessor functions
7282         (isParEnd): move to lyxrow_funcs
7283         (lastPos): move to lyxrow_funcs
7284         (nextRowIsAllInset): move to lyxrow_funcs
7285         (lastPrintablePos): move to lyxrow_funcs
7286         (numberOfSeparators): move to lyxrow_funcs
7287         (numberOfHfills): move to lyxrow_funcs
7288         (numberOfLabelHfills): move to lyxrow_funcs
7289         (hfillExpansion): move to lyxrow_funcs
7290
7291         * lyxfunc.C: adjust
7292
7293         * bufferview_funcs.C (toggleAndShow): adjust
7294
7295         * RowList.h: Remove class RowList from file leave just a
7296         std::list<Row>.
7297
7298         * RowList.C: delete file
7299
7300         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7301         and lyxrow_funcs.h
7302
7303 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * text3.C (cursorPrevious): adjust
7306         (cursorNext): adjust
7307         (dispatch): adjust
7308
7309         * text2.C (redoHeightOfParagraph): adjust
7310         (redoDrawingOfParagraph): adjust
7311         (setCursor): adjust
7312
7313         * text.C (breakParagraph): adjust
7314         (insertChar): adjust
7315         (backspace): adjust
7316
7317         * rowpainter.C (RowPainter): adjust
7318         (leftMargin): simplify and adjust
7319         (most rowpainter functions): adjust.
7320
7321         * rowpainter.h: store the row as RowList::iterator not as Row*
7322
7323         * lyxcursor.C (row): taka RowList::iterator as arg
7324         (irow): ditto
7325
7326         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7327         of Row*.
7328
7329 2003-04-01  Angus Leeming  <leeming@lyx.org>
7330
7331         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7332         stuff like bool Bool.
7333
7334 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7335
7336         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7337         rewrite a loop
7338
7339 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7340
7341         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7342         RowList::iterator.
7343
7344         * lyxtext.h (rows): drop one version and leve a const variant that
7345         returns a RowList::iterator.
7346
7347 2003-03-31  Angus Leeming  <leeming@lyx.org>
7348
7349         * text.C (fill): ensure that the signature is the same as that in the
7350         header file.
7351
7352 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * text2.C (redoParagraphs): adjust
7355         (updateCounters): adjust
7356         (checkParagraph): adjust
7357         (getColumnNearX): adjust and reformat a bit.
7358
7359         * text.C (top_y): adjust
7360         (workWidth): adjust
7361         (leftMargin): adjust
7362         (prepareToPrint): adjust
7363         (getRow): adjust
7364         (getRowNearY): adjust
7365
7366         * lyxtext.h: make rowlist_ mutable.
7367
7368         * RowList.h: add const_iterator
7369         * RowList.C: adjust for RowList::const_iterator.
7370
7371         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7372         adjust.
7373
7374 2003-03-31  John Levon  <levon@movementarian.org>
7375
7376         * lyxrc.h:
7377         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7378
7379         * lyx_main.C: set default fonts from using lyx_gui funcs
7380
7381         * exporter.C: pdf_mode moved from lyxrc
7382
7383         * lyx_cb.C:
7384         * lyxfunc.C: changes from above
7385
7386 2003-03-31  John Levon  <levon@movementarian.org>
7387
7388         * lyx_main.C: fix to the last fix
7389
7390 2003-03-31  John Levon  <levon@movementarian.org>
7391
7392         * bufferlist.C: "Load original" -> "Load Original"
7393
7394         * converter.C:
7395         * exporter.C:
7396         * importer.C:
7397         * lyx_main.C:
7398         * format.C: more Alert cleanups
7399
7400 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * text2.C (removeParagraph): make it take a RowList::iterator as
7403         arg, adjust.
7404         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7405         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7406
7407         * text.C (anchor_row): make it take a RowList::iterator as arg,
7408         adjust.
7409         (computeBidiTables): make it take a const reference to Row instead
7410         of Row pointer, adjust.
7411         (leftMargin): make it take a RowList::iterator as arg, adjust.
7412         (rowBreakPoint): adjust
7413         (breakAgainOneRow): make it take a RowList::iterator as arg,
7414         adjust.
7415         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7416
7417         * bufferview_funcs.C (toggleAndShow): adjust
7418
7419 2003-03-30  John Levon  <levon@movementarian.org>
7420
7421         * Makefile.am:
7422         * BoostFormat.h:
7423         * boost-inst.C: moved to support
7424
7425         * several files: changes as a result
7426
7427 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7428
7429         * text2.C (LyXText): adjust.
7430         (init): adjust
7431         (removeRow): make it take a RowList::iterator as arg, adjust.
7432         (fullRebreak): adjust
7433         (deleteEmptyParagraphMechanism): adjust
7434         (clearPaint): adjust
7435         (postPaint): adjust
7436
7437         * text.C (top_y): adjust
7438         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7439         (breakAgain): make it take a RowList::iterator as arg, adjust.
7440         (breakParagraph): adjust
7441         (insertChar): adjust
7442         (backspace): adjust
7443
7444         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7445         need_break_row, and refresh_row.
7446
7447         * text3.C (dispatch): adjust
7448
7449         * text2.C (checkParagraph): adjust
7450         (setCursor): adjust
7451         (setCursorFromCoordinates): adjust
7452
7453         * text.C (top_y): adjust
7454         (workWidth): adjust
7455         (getRow): make it return a RowList::iterator, adjust
7456         (getRowNearY): make it return a RowList::iterator, adjust
7457
7458         * text2.C (init): adjust
7459         (insertRow): remove function
7460         (insertParagraph): adjust
7461         (redoParagraphs): adjust
7462         (fullRebreak): adjust
7463         (updateCounters): adjust
7464
7465         * text.C (top_y): rewrite to use RowList iterators.
7466         (top_y): adjust
7467         (setHeightOfRow): rewrite to sue RowList iterators.
7468         (appendParagraph): adjust
7469         (breakAgain): adjust
7470         (breakAgainOneRow): adjust
7471         (breakParagraph): adjust
7472         (getRow): adjust
7473         (getRowNearY): adjust, and remove commented code.
7474
7475         * lyxtext.h (firstRow): delete function
7476         (lastRow): delete function
7477         (rows): new function (const and non-const versions.)
7478         (insertRow): delete function
7479
7480         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7481
7482 2003-03-29  John Levon  <levon@movementarian.org>
7483
7484         * BufferView_pimpl.C: always update scrollbar top
7485         because pasting text when we're anchored could mean we
7486         miss an update altogether
7487
7488 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7489
7490         * text2.C (init): use rowlist_.end() and not 0.
7491         (insertRow): change to take a RowList::iterator as arg, adjust
7492         for this.
7493         (insertParagraph): change to take a RowList::iterator as arg,
7494         adjust for this.
7495         (redoParagraphs): remove some debug msgs.
7496
7497         * text.C (appendParagraph): change to take a RowList::iterator
7498         arg, adjust for this.
7499         (breakAgain): add an assert
7500         (breakAgainOneRow): ditto
7501
7502 2003-03-29  John Levon  <levon@movementarian.org>
7503
7504         * text2.C: do not clear selection after inc/decDepth
7505         (bug 550)
7506
7507 2003-03-29  John Levon  <levon@movementarian.org>
7508
7509         * BufferView.C:
7510         * buffer.C: fix broken strerrors according to Lars
7511
7512 2003-03-29  John Levon  <levon@movementarian.org>
7513
7514         * converters.C: more Alert cleanups
7515
7516 2003-03-29  John Levon  <levon@movementarian.org>
7517
7518         * bufferview_funcs.C: remove pointless Alert
7519
7520         * buffer.C: fix confusing error message when
7521         a template is chmoded 000
7522
7523 2003-03-29  John Levon  <levon@movementarian.org>
7524
7525         * BufferView.C:
7526         * BufferView.h:
7527         * BufferView_pimpl.C: Alert fixes
7528
7529         * Makefile.am:
7530         * tabular.C:
7531         * tabular-old.C: remove unused table compat reading
7532
7533 2003-03-29  John Levon  <levon@movementarian.org>
7534
7535         * BufferView.C:
7536         * buffer.C:
7537         * lyx_cb.h:
7538         * lyx_cb.C: more Alert cleanups
7539
7540         * lyxfunc.C: don't allow chktex if not latex document
7541
7542 2003-03-29  John Levon  <levon@movementarian.org>
7543
7544         * lyx_cb.C:
7545         * BufferView.C:
7546         * buffer.C: warnings pushed down from support/,
7547         kill err_alert
7548
7549 2003-03-29  John Levon  <levon@movementarian.org>
7550
7551         * lyxfunc.C: safety check for C-r (revert)
7552
7553 2003-03-29  John Levon  <levon@movementarian.org>
7554
7555         * bufferlist.h:
7556         * bufferlist.C: several UI fixes using Alert::prompt.
7557         Fix the pointless looping quit code. Fix stupid revert
7558         behaviour (bug 938)
7559
7560         * lyxvc.h:
7561         * lyxvc.C:
7562         * lyx_cb.C: use Alert::prompt
7563
7564         * lyx_main.C: remove a silly question
7565
7566         * lyxfunc.C: remove a couple of silly questions,
7567         use Alert::prompt
7568
7569 2003-03-28  John Levon  <levon@movementarian.org>
7570
7571         * text2.C: fix bug 974 (End on empty par)
7572
7573 2003-03-28  John Levon  <levon@movementarian.org>
7574
7575         * BufferView_pimpl.C:
7576         * LyXAction.C:
7577         * lfuns.h: remove do-nothing math greek lfuns
7578
7579 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * lyxgluelength.h (isValidGlueLength): add default arg on
7582         parameter 2. Remove default arg from friend in class.
7583
7584         * lyxlength.h (isValidLength): add default arg on parameter 2.
7585         Remove default arg from friend in class.
7586
7587         * text2.C (LyXText): adjust, initialize refresh_row.
7588         (init): adjust
7589         (removeRow): adjust
7590         (insertRow): adjust
7591         (insertParagraph): adjst
7592         (redoParagraphs): adjust
7593         (fullRebreak): adjust
7594         (updateCounters): adjust
7595         (deleteEmptyParagraphMechanism): first attempt at fixing a
7596         crashing bug.
7597
7598         * text.C (top_y): adjust
7599         (setHeightOfRow): adjust
7600         (getRow): adjust
7601         (getRowNearY): adjust
7602
7603         * lyxtext.h: include RowList.h
7604         (~LyXText): not needed anymore, deleted.
7605         (firstRow): modify for RowList
7606         (lastRow): new function
7607         Delete firstrow and lastrow class variables, add a Rowlist
7608         rowlist_ class variable.
7609
7610         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7611         paragraph is empty.
7612
7613         * RowList.C (insert): fix case where it == begin().
7614
7615 2003-03-26  Angus Leeming  <leeming@lyx.org>
7616
7617         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7618         the thesaurus dialog.
7619
7620 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7623
7624         * RowList.[Ch]: new files
7625
7626         * ParagraphList.C (erase): handle the case where it == begin
7627         correctly.
7628
7629 2003-03-25  John Levon  <levon@movementarian.org>
7630
7631         * Makefile.am:
7632         * aspell_local.h:
7633         * aspell.C: add new aspell support
7634
7635         * lyxrc.h:
7636         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7637         have it accessible.
7638
7639 2003-03-25  Angus Leeming  <leeming@lyx.org>
7640
7641         * lfuns.h:
7642         * LyXAction.C (init): new LFUN_INSET_INSERT.
7643
7644         * BufferView_pimpl.C (dispatch): split out part of the
7645         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7646
7647         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7648         LFUN_INSET_APPLY.
7649
7650 2003-03-25  Angus Leeming  <leeming@lyx.org>
7651
7652         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7653
7654 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7655
7656         * text2.C:
7657         * text3.C: remove useless row->height(0)
7658
7659 2003-03-25  John Levon  <levon@movementarian.org>
7660
7661         * lyxtext.h:
7662         * text2.C:
7663         * text3.C: rename the refreshing stuff to better names
7664
7665 2003-03-24  John Levon  <levon@movementarian.org>
7666
7667         * BufferView_pimpl.h:
7668         * BufferView_pimpl.C: update layout choice on a mouse
7669         press/release
7670
7671 2003-03-23  John Levon  <levon@movementarian.org>
7672
7673         * Makefile.am: fix commandtags.h reference
7674
7675 2003-03-22  John Levon  <levon@movementarian.org>
7676
7677         * BufferView_pimpl.C:
7678         * lyxtext.h:
7679         * rowpainter.C:
7680         * rowpainter.h:
7681         * text.C:
7682         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7683
7684 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7685
7686         * lyxtext.h:
7687         * text.C: take the rtl methods out of line
7688
7689 2003-03-21 André Pönitz <poenitz@gmx.net>
7690
7691         * metricsinfo.[Ch]: new files containing structures to be passed around
7692         during the two-phase-drawing...
7693
7694 2003-03-21 André Pönitz <poenitz@gmx.net>
7695
7696         * lyxtextclass.C: read 'environment' tag.
7697
7698 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7699
7700         * text2.C (removeRow): fix bug 964
7701
7702 2003-03-20  John Levon  <levon@movementarian.org>
7703
7704         * rowpainter.C:
7705         * text.C:
7706         * text2.C: paint cleanups. Inset::update() dropped font
7707         parameter
7708
7709 2003-03-19  John Levon  <levon@movementarian.org>
7710
7711         * lyxfunc.C: only fitcursor/markDirty if available()
7712
7713 2003-03-19  John Levon  <levon@movementarian.org>
7714
7715         * commandtags.h: rename to ...
7716
7717         * lfuns.h: ... this, and renumber / cleanup
7718
7719 2003-03-19  John Levon  <levon@movementarian.org>
7720
7721         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7722         fit the cursor after an lfun
7723
7724         * BufferView.h:
7725         * BufferView.C:
7726         * BufferView_pimpl.h:
7727         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7728
7729         * LyXAction.C: layout-character should have ReadOnly
7730
7731         * ParagraphParameters.C:
7732         * buffer.C:
7733         * bufferview_funcs.C:
7734         * lyx_cb.C:
7735         * lyxfind.C:
7736         * lyxtext.h:
7737         * text.C:
7738         * text2.C:
7739         * text3.C:
7740         * undo_funcs.C: changes from above
7741
7742 2003-03-18  John Levon  <levon@movementarian.org>
7743
7744         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7745         remove it from update()
7746
7747         * lyxfunc.C: update layout choice after an lfun
7748
7749         * text3.C: remove extra updateLayoutChoice()s
7750
7751 2003-03-18  John Levon  <levon@movementarian.org>
7752
7753         * text.C: top_y change means full repaint, fix
7754         a drawing bug with cursor movement
7755
7756 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7757
7758         * lyxtext.h:
7759         * text.C:
7760         * text2.C: anchor row on setCursor
7761
7762 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7763
7764         * lyxtext.h: remove almost all mutable keywords
7765         * text.C:
7766         * text2.C:
7767         * text3.C: remove const keywords accordingly
7768
7769 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7772         anon namespace
7773         (TeXEnvironment): ditto
7774         (TeXOnePar): ditto
7775
7776 2003-03-17  John Levon  <levon@movementarian.org>
7777
7778         * text.C (rowBreakPoint): remove attempt to fix displayed
7779         math insets inside a manual label
7780
7781 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * lyxtext.h: remove BufferView* as first arg from almost all class
7784         functions.
7785         * other files: adjust.
7786
7787 2003-03-17  John Levon  <levon@movementarian.org>
7788
7789         * lyxtext.h:
7790         * undo_funcs.C:
7791         * text2.C: more paint cleanups
7792
7793         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7794
7795         * rowpainter.h:
7796         * rowpainter.C: remove "smart" background painting code
7797
7798 2003-03-16  John Levon  <levon@movementarian.org>
7799
7800         * lyxtext.h:
7801         * text.C:
7802         * text2.C:
7803         * text3.C: add helper functions for setting refresh_row/y
7804
7805 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7806
7807         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7808         newline inset which *can* get inserted in the pass_thru layouts.
7809         This is primarily for literate documents.
7810
7811 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7812
7813         * buffer.C: increment LYX_FORMAT to 223
7814
7815 2003-03-14 André Pönitz <poenitz@gmx.net>
7816
7817         * textclass.h: prepare for environment handling, ws changes
7818         * lyxlayout.C: read latexheader and latexfooter tags
7819
7820 2003-03-14  John Levon  <levon@movementarian.org>
7821
7822         * text2.C: rewrite ::status() a bit
7823
7824 2003-03-13  John Levon  <levon@movementarian.org>
7825
7826         * lyxtext.h: add some docs
7827
7828 2003-03-13  John Levon  <levon@movementarian.org>
7829
7830         * lyxtext.h:
7831         * text.C:
7832         * text2.C:
7833         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7834
7835 2003-03-13  John Levon  <levon@movementarian.org>
7836
7837         * text3.C: fix appendix redrawing
7838
7839 2003-03-13  John Levon  <levon@movementarian.org>
7840
7841         * text.C (setHeightOfRow):
7842         * rowpainter.h:
7843         * rowpainter.C: make appendix mark have the text
7844           "Appendix" so the user knows what it is
7845
7846         * LColor.h:
7847         * LColor.C: s/appendixline/appendix/ from above
7848
7849 2003-03-13  John Levon  <levon@movementarian.org>
7850
7851         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7852
7853         * text.C: fix a getChar(pos) bug properly
7854
7855 2003-03-13  Angus Leeming  <leeming@lyx.org>
7856
7857         * commandtags.h:
7858         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7859         Probably only temporary. Let's see how things pan out.
7860
7861         * BufferView.C (unlockInset):
7862         * BufferView_pimpl.C (fitCursor):
7863         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7864
7865         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7866         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7867
7868         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7869         new functions that convert ParagraphParameters to and from a string.
7870
7871         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7872         BufferView::Pimpl's dispatch.
7873         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7874
7875 2003-03-13 André Pönitz <poenitz@gmx.net>
7876
7877         * lyxfunc.C:
7878         * text3.C:
7879         * factory.C: make it aware of InsetEnv
7880
7881 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7882
7883         * text2.C (setCursor): never ask for one past last
7884         (setCursor): add some debugging messages.
7885
7886         * text.C (singleWidth): never ask for one past last
7887         (singleWidth): ditto
7888         (leftMargin): ditto
7889         (rightMargin): ditto
7890         (rowBreakPoint): ditto
7891         (setHeightOfRow): ditto
7892         (prepareToPrint): ditto
7893
7894         * rowpainter.C (paintBackground): never ask for one past last
7895         (paintText): never ask for one past last
7896
7897         * paragraph_pimpl.C (getChar): make the assert stricter, never
7898         allow the one past last pos to be taken
7899
7900         * paragraph.C (getChar): ws changes only
7901
7902         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7903         (numberOfSeparators): ditto
7904         (numberOfHfills): ditto
7905
7906 2003-03-12  John Levon  <levon@movementarian.org>
7907
7908         * author.h:
7909         * author.C:
7910         * bufferparams.h:
7911         * bufferparams.C:
7912         * paragraph_funcs.C: fix per-buffer authorlists
7913
7914 2003-03-12  John Levon  <levon@movementarian.org>
7915
7916         * text.C: fix newline in right address
7917
7918 2003-03-12  Angus Leeming  <leeming@lyx.org>
7919
7920         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7921         duplicate those in LyXFunc::dispatch.
7922
7923         * commandtags.h:
7924         * LyXAction.C:
7925         * ToolbarDefaults.C:
7926         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7927         Add LFUN_FONTFREE_UPDATE.
7928
7929         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7930         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7931
7932         * bufferview_func.[Ch]: several new functions to facilliate
7933         transfer of data to and from the character dialog.
7934
7935 2003-03-12  John Levon  <levon@movementarian.org>
7936
7937         * buffer.C:
7938         * paragraph.h:
7939         * paragraph.C:
7940         * paragraph_funcs.C:
7941         * paragraph_pimpl.C:
7942         * sgml.C:
7943         * tabular.C:
7944         * text.C:
7945         * text3.C: remove META_NEWLINE in favour of an inset
7946
7947         * rowpainter.h:
7948         * rowpainter.C: remove paintNewline (done by inset)
7949
7950 2003-03-12  John Levon  <levon@movementarian.org>
7951
7952         * paragraph_pimpl.C: complain about bad getChar()s
7953         for a while at least
7954
7955 2003-03-12  John Levon  <levon@movementarian.org>
7956
7957         * buffer.h:
7958         * buffer.C: move paragraph read into a separate function,
7959         a little renaming to reflect that.
7960
7961         * bufferparams.h:
7962         * bufferparams.C: remove the author_ids map, not necessary now
7963
7964         * factory.h:
7965         * factory.C: moved Buffer::readInset to here
7966
7967         * paragraph_funcs.h:
7968         * paragraph_funcs.C: readParagraph free function moved from
7969         buffer.C
7970
7971         * tabular.C: name change
7972
7973 2003-03-12  John Levon  <levon@movementarian.org>
7974
7975         * buffer.C:
7976         * ParagraphParameters.C: move par params input to
7977         a read() method
7978
7979         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7980         behave like a normal read from the stream wrt reading
7981         a line vs. a \\token
7982
7983 2003-03-12  John Levon  <levon@movementarian.org>
7984
7985         * paragraph.C:
7986         * ParagraphParameters.h:
7987         * ParagraphParameters.C: move output code to a
7988         ::write() method
7989
7990 2003-03-12  John Levon  <levon@movementarian.org>
7991
7992         * BufferView.C (insertLyXFile):
7993         * buffer.h:
7994         * buffer.C:
7995         * tabular.C: use a parlist iterator for creating the
7996           document.
7997
7998 2003-03-12  John Levon  <levon@movementarian.org>
7999
8000         * buffer.C: make current_change static local not
8001           static file-scope
8002
8003 2003-03-12  John Levon  <levon@movementarian.org>
8004
8005         * buffer.C: fix insertStringAsLines for change tracking
8006
8007 2003-03-12  John Levon  <levon@movementarian.org>
8008
8009         * BufferView.C:
8010         * tabular.C:
8011         * buffer.h:
8012         * buffer.C:
8013         * bufferparams.h:
8014         * bufferparams.C: move author list into params. Rename some
8015           functions. Move the header reading into a separate token
8016           loop. Move the header token reading into BufferParams.
8017
8018 2003-03-12  John Levon  <levon@movementarian.org>
8019
8020         * changes.C: put debug inside lyxerr.debugging() checks
8021
8022 2003-03-11 André Pönitz <poenitz@gmx.net>
8023
8024         * factory.C: make it aware of InsetHFill
8025
8026 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8027
8028         * buffer.C (latexParagraphs): move function from here...
8029         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8030         args.
8031
8032 2003-03-10  Angus Leeming  <leeming@lyx.org>
8033
8034         * LyXAction.C (init): fix bug in poplating array with multiple entries
8035         with the same LFUN (spotted by JMarc).
8036
8037 2003-03-10  John Levon  <levon@movementarian.org>
8038
8039         * text.C:
8040         * text2.C: move getColumnNearX() near its
8041         only call site
8042
8043 2003-03-10  John Levon  <levon@movementarian.org>
8044
8045         * text.C: fix break before a minipage
8046
8047 2003-03-10  John Levon  <levon@movementarian.org>
8048
8049         * text.C: fix the last commit
8050
8051 2003-03-09  John Levon  <levon@movementarian.org>
8052
8053         * lyxtext.h:
8054         * text.C:
8055         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8056         bug 365 (don't break before insets unless needed). Don't
8057         return a value > last under any circumstances.
8058
8059 2003-03-09  Angus Leeming  <leeming@lyx.org>
8060
8061         * BufferView_pimpl.C (trackChanges, dispatch): call
8062         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8063
8064 2003-03-09  Angus Leeming  <leeming@lyx.org>
8065
8066         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8067         than Dialogs::showAboutlyx().
8068
8069 2003-03-09  Angus Leeming  <leeming@lyx.org>
8070
8071         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8072         than Dialogs::showTabularCreate().
8073
8074 2003-03-09  John Levon  <levon@movementarian.org>
8075
8076         * lyxtext.h:
8077         * text.C:
8078         * text2.C: 3rd arg to nextBreakPoint was always the same.
8079           Use references.
8080
8081 2003-03-08  John Levon  <levon@movementarian.org>
8082
8083         * lyxrow.C:
8084         * paragraph.C:
8085         * paragraph.h:
8086         * rowpainter.C:
8087         * text.C:
8088         * text2.C: Remove the "main" bit from the "main body"
8089           notion.
8090
8091 2003-03-08  John Levon  <levon@movementarian.org>
8092
8093         * text.C (leftMargin): The left margin of an empty
8094         manual label paragraph should not include the label width
8095         string length.
8096
8097         * text.C (prepareToPrint): don't attempt to measure hfills
8098         for empty manual label paragraphs - the answer should be 0
8099
8100 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * CutAndPaste.C: remove commented code and reindent.
8103
8104 2003-03-08  John Levon  <levon@movementarian.org>
8105
8106         * lyxfunc.h:
8107         * lyxfunc.C: move reloadBuffer()
8108
8109         * BufferView.h:
8110         * BufferView.C: to here
8111
8112         * lyxvc.C: add comment
8113
8114         * vc-backend.h:
8115         * vc-backend.C: call bv->reload() to avoid
8116           getStatus() check on MENURELOAD
8117
8118 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8119
8120         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8121         to an old format .dep file.
8122
8123 2003-03-07  Angus Leeming  <leeming@lyx.org>
8124
8125         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8126         when the LFUN_MOUSE_RELEASE should have been handled by
8127         inset->localDispatch.
8128
8129 2003-03-07  Angus Leeming  <leeming@lyx.org>
8130
8131         * BufferView_pimpl.C (dispatch):
8132         * LyXAction.C (init):
8133         * ToolbarDefaults.C (init):
8134         * commandtags.h:
8135         * lyxfunc.C (getStatus):
8136         remove LFUN_INSET_GRAPHICS.
8137
8138         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8139
8140 2003-03-07  Angus Leeming  <leeming@lyx.org>
8141
8142         * commandtags.h:
8143         * LyXAction.C (init):
8144         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8145
8146         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8147
8148         * commandtags.h:
8149         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8150
8151         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8152         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8153
8154 2003-03-07  Angus Leeming  <leeming@lyx.org>
8155
8156         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8157         remove "ert".
8158
8159 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * ParagraphList.C (front): new function
8162         (back): implement
8163
8164 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8165
8166         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8167         and top_row_offset_. removed var first_y.
8168         * text.C (top_y):
8169         * text2.C (LyXText, removeRow):
8170         * text3.C:
8171         * BufferView_pimpl.C:
8172         use these methods instead of using first_y
8173
8174 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * text2.C (pasteSelection): adjust for checkPastePossible
8177
8178         * CutAndPaste.C: remove Paragraph * buf and replace with
8179         ParagraphList paragraphs.
8180         (DeleteBuffer): delete
8181         (cutSelection): change the tc type to textclass_type
8182         (copySelection): change the tc type to textclass_type
8183         (copySelection): adjust for ParagraphList
8184         (pasteSelection): change the tc type to textclass_type
8185         (pasteSelection): adjust for Paragraphlist
8186         (nrOfParagraphs): simplify for ParagraphList
8187         (checkPastePossible): simplify for ParagraphList
8188         (checkPastePossible): remove unused arg
8189
8190         * ParagraphList.C (insert): handle the case where there are no
8191         paragraphs yet.
8192
8193         * CutAndPaste.h: make CutAndPaste a namespace.
8194
8195         * text3.C (dispatch): adjust
8196
8197         * text.C (breakParagraph): add a ParagraphList as arg
8198
8199         * paragraph_funcs.C (breakParagraph): change to take a
8200         BufferParams and a ParagraphList as args.
8201         (breakParagraphConservative): ditto
8202         (mergeParagraph): ditto
8203         (TeXDeeper): add a ParagraphList arg
8204         (TeXEnvironment): ditto
8205         (TeXOnePar): ditto
8206
8207         * buffer.C (readLyXformat2): adjust
8208         (insertStringAsLines): adjust
8209         (latexParagraphs): adjust
8210
8211         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8212         (cutSelection): adjust
8213         (pasteSelection): adjust
8214
8215         * BufferView_pimpl.C (insertInset): adjust
8216
8217 2003-03-05  Angus Leeming  <leeming@lyx.org>
8218
8219         * commandtags.h:
8220         * LyXAction.C (init):
8221         * BufferView_pimpl.C (dispatch):
8222         * lyxfunc.C (getStatus):
8223         remove LFUN_CHILD_INSERT.
8224
8225         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8226
8227 2003-03-05  Angus Leeming  <leeming@lyx.org>
8228
8229         * commandtags.h:
8230         * LyXAction.C (init):
8231         * src/factory.C (createInset):
8232         * lyxfunc.C (getStatus):
8233         * text3.C (dispatch):
8234         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8235
8236         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8237
8238 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * ParagraphList.C (insert): handle insert right before end()
8241         (erase): fix cases where it can be first or last paragraph.
8242
8243 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8246         Paragraph::next and Paragraph::previous
8247         (TeXOnePar): ditto
8248
8249         * text.C (breakParagraph): adjust
8250
8251         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8252         BufferParams& as arg.
8253         (breakParagraph): use ParagraphList::insert
8254         (breakParagraphConservative): take a Buffer* instead of a
8255         BufferParams& as arg.
8256         (breakParagraphConservative): use ParagraphList::insert.
8257
8258         * buffer.C (insertStringAsLines): un-const it
8259         (insertStringAsLines): adjust
8260
8261         * ParagraphList.C (insert): new function
8262
8263         * CutAndPaste.C (pasteSelection): adjust
8264
8265         * text.C (backspace): adjust
8266
8267         * tabular.C (SetMultiColumn): adjust
8268
8269         * CutAndPaste.C (cutSelection): adjust
8270         (pasteSelection): adjust
8271
8272         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8273         Buffer const * as arg
8274
8275         * ParagraphList.C (erase): new function
8276         * paragraph_funcs.C (mergeParagraph): use it
8277         (mergeParagraph): make it take a Buffer* instead of a
8278         BufferParams* as arg
8279
8280         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8281         as arg
8282         (breakParagraphConservative): ditto
8283
8284         * paragraph.h: remove the breakParagraph friend
8285
8286         * paragraph.C (eraseIntern): new function
8287         (setChange): new function
8288
8289         * paragraph_funcs.C (mergeParagraph): make it take a
8290         ParagraphList::iterator instead of a Paragraph *, adjust
8291         accordingly.
8292
8293         * paragraph.h: move an #endif so that the change tracking stuff
8294         also works in the NO_NEXT case.
8295
8296 2003-03-04  Angus Leeming  <leeming@lyx.org>
8297
8298         * commandtags.h:
8299         * LyXAction.C: new LFUN_INSET_MODIFY.
8300
8301         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8302         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8303
8304 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * several files: ws changes only
8307
8308         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8309         (TeXEnvironment): ditto
8310         (TeXDeeper): ditto
8311
8312         * buffer.C (makeLaTeXFile): adjust
8313         (latexParagraphs): make it take ParagraphList::iterator as args
8314
8315 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * buffer.C (latexParagraphs): adjust
8318
8319         * paragraph.C (TeXOnePar): move function...
8320         (optArgInset): move function...
8321         (TeXEnvironment): move function...
8322         * paragraph_pimpl.C (TeXDeeper): move function...
8323         * paragraph_funcs.C: ...here
8324
8325         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8326
8327 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8328
8329         * buffer.C (readInset): remove compability code for old Figure and
8330         InsetInfo insets
8331
8332 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8333
8334         * buffer.C: ws changes
8335         (readInset):
8336
8337         * BufferView_pimpl.C: ditto
8338         * author.C: ditto
8339         * buffer.h: ditto
8340         * bufferlist.h: ditto
8341         * changes.h: ditto
8342         * lyxfunc.C: ditto
8343
8344 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8345
8346         * converter.[Ch]: split into itself +
8347         * graph.[Ch]
8348         * format.[Ch]
8349         * Makefile.am: += graph.[Ch] + format.[Ch]
8350         * MenuBackend.C
8351         * buffer.C
8352         * exporter.C
8353         * importer.C
8354         * lyx_main.C
8355         * lyxfunc.C
8356         * lyxrc.C: added #include "format.h"
8357
8358 2003-02-27  Angus Leeming  <leeming@lyx.org>
8359
8360         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8361           a label.
8362
8363         * factory.C (createInset): add "label" to the factory.
8364
8365         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8366           string and do no more.
8367
8368 2003-02-27  Angus Leeming  <leeming@lyx.org>
8369
8370         * commandtags.h:
8371         * LyXAction.C (init):
8372         * factory.C (createInset):
8373         * BufferView_pimpl.C (dispatch):
8374           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8375
8376         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8377
8378         * lyxfunc.C (dispatch):
8379         * text3.C (dispatch): pass name to params2string.
8380
8381 2003-02-26  Angus Leeming  <leeming@lyx.org>
8382
8383         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8384           blocks together.
8385           Rearrange the ~includes. Strip out the unnecessary ones.
8386
8387         * factory.C (createInset): reformat.
8388           create new insets for the various LFUN_XYZ_APPLY lfuns.
8389
8390 2003-02-26  John Levon  <levon@movementarian.org>
8391
8392         * lyxrow.h:
8393         * lyxrow.C: add isParStart,isParEnd helpers
8394
8395         * paragraph.h: make isInserted/DeletedText take refs
8396
8397         * paragraph_funcs.h:
8398         * paragraph_funcs.C: remove #if 0'd code
8399
8400         * lyxtext.h:
8401         * text3.C:
8402         * text2.C:
8403         * text.C: use lyxrow helpers above.
8404           Move draw and paint routines to RowPainter.
8405           Make several methods use refs not pointers.
8406           Make backgroundColor() const.
8407           Add markChangeInDraw(), isInInset().
8408           Merge changeRegionCase into changeCase.
8409           Make workWidth() shouldn't-happen code into an Assert.
8410
8411         * rowpainter.h:
8412         * rowpainter.C: new class for painting a row.
8413
8414         * vspace.h:
8415         * vspace.C: make inPixels take a ref
8416
8417 2003-02-26  Angus Leeming  <leeming@lyx.org>
8418
8419         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8420         LFUN_REF_APPLY.
8421
8422 2003-02-25  John Levon  <levon@movementarian.org>
8423
8424         * ispell.C: give the forked command a more accurate name
8425
8426 2003-02-22  John Levon  <levon@movementarian.org>
8427
8428         * toc.h:
8429         * toc.C: make TocItem store an id not a Paragraph *
8430           (bug #913)
8431
8432 2003-02-21  Angus Leeming  <leeming@lyx.org>
8433
8434         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8435           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8436           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8437           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8438           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8439           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8440
8441         * BufferView_pimpl.C (dispatch):
8442         * LyXAction.C (init):
8443         * factory.C (createInset):
8444         * lyxfunc.C (getStatus, dispatch):
8445         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8446
8447 2003-02-21  Angus Leeming  <leeming@lyx.org>
8448
8449         * BufferView_pimpl.C (MenuInsertLyXFile):
8450         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8451         * lyxfunc.C (menuNew, open, doImport):
8452           no longer pass a LyXView & to fileDlg.
8453
8454 2003-02-21  Angus Leeming  <leeming@lyx.org>
8455
8456         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8457         * LyXAction.C: change, BIBKEY to BIBITEM.
8458         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8459         Change InsetBibKey to InsetBibitem.
8460         Change BIBKEY_CODE to BIBITEM_CODE.
8461         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8462         * factory.C: replace insetbib.h with insetbibitem.h.
8463         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8464         * paragraph.C: replace insetbib.h with insetbibitem.h.
8465         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8466         Change bibkey() to bibitem().
8467         * text.C: remove insetbib.h.
8468         * text2.C: replace insetbib.h with insetbibitem.h.
8469         change bibkey() to bibitem().
8470         * text3.C: remove insetbib.h.
8471         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8472
8473 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8474
8475         * lyxrc.C (output): enclose user email in quotes (in case there are
8476         several words)
8477
8478 2003-02-18  John Levon  <levon@movementarian.org>
8479
8480         * buffer.h: add std::
8481
8482 2003-02-17  John Levon  <levon@movementarian.org>
8483
8484         * SpellBase.h:
8485         * ispell.h:
8486         * ispell.C:
8487         * pspell.h:
8488         * pspell.C: reworking. Especially in ispell, a large
8489           number of clean ups and bug fixes.
8490
8491         * lyxfunc.C: fix revert to behave sensibly
8492
8493 2003-02-17 André Pönitz <poenitz@gmx.net>
8494
8495         * LyXAction.C:
8496         * commandtags.h: new LFUN_INSERT_BIBKEY
8497
8498         * layout.h:
8499         * lyxlayout.C:
8500         * buffer.C:
8501         * factory.C:
8502         * text.C:
8503         * text2.C:
8504         * text3.C:
8505         * paragraph.[Ch]:
8506         * paragraph_func.C: remove special bibkey handling
8507
8508 2003-02-17  John Levon  <levon@movementarian.org>
8509
8510         * text.C (Delete): fix case where delete at the end of
8511           the very first paragraph would not merge the pars
8512
8513 2003-02-17  John Levon  <levon@movementarian.org>
8514
8515         * lyxrow.C: fix lastPrintablePos()
8516
8517 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8518
8519         * bufferparams.C (writeLaTeX): add a std:here
8520
8521         * buffer.C: and remove a using directive there
8522
8523 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * buffer.C (makeLaTeXFile): move the code that generates the
8526           preamble...
8527
8528         * bufferparams.C (writeLaTeX): ... in this new method
8529
8530         * LaTeXFeatures.C (getEncodingSet): make const
8531           (getLanguages): make const
8532
8533         * MenuBackend.C (binding): returns the binding associated to this
8534           action
8535           (add): sets the status of each item by calling getStatus. Adds
8536           some intelligence.
8537           (read): add support for OptSubMenu
8538           (expand): remove extra separator at the end of expanded menu
8539
8540 2003-02-15  John Levon  <levon@movementarian.org>
8541
8542         * BufferView.C:
8543         * BufferView_pimpl.C:
8544         * bufferlist.h:
8545         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8546           inset code that had no actual effect. Remove unneeded status
8547           code.
8548
8549 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8550
8551         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8552           in preamble
8553
8554 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8555
8556         * text.C (drawLengthMarker): also draw an arrow marker for
8557           symbolic lengths (medskip...)
8558
8559 2003-02-14  John Levon  <levon@movementarian.org>
8560
8561         * tabular.h:
8562         * tabular.C: better method names
8563
8564 2003-02-14  John Levon  <levon@movementarian.org>
8565
8566         * BufferView_pimpl.C:
8567         * bufferlist.C:
8568         * buffer.C:
8569         * converter.C:
8570         * lyx_cb.C:
8571         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8572           it's a more accurate name. Remove some pointless uses.
8573
8574 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8575
8576         * text2.C (LyXText): change order of initilizers to shut off
8577           warnings
8578
8579 2003-02-14  John Levon  <levon@movementarian.org>
8580
8581         * buffer.C: use ParIterator for getParFromID()
8582
8583         * paragraph.h:
8584         * paragraph.C:
8585         * paragraph_pimpl.h:
8586         * paragraph_pimpl.C: remove unused getParFromID()
8587
8588 2003-02-14  John Levon  <levon@movementarian.org>
8589
8590         * buffer.C: remove some very old #if 0'd parse code
8591
8592 2003-02-13  John Levon  <levon@movementarian.org>
8593
8594         * text.h:
8595         * text.C:
8596         * text2.C: move hfillExpansion(), numberOfSeparators(),
8597           rowLast(), rowLastPrintable(), numberofHfills(),
8598           numberOfLabelHfills() ...
8599
8600         * lyxrow.h:
8601         * lyxrow.C: ... to member functions here.
8602
8603         * paragraph.h:
8604         * paragraph.C:
8605         * lyxtext.h:
8606         * text.C: remove LyXText::beginningOfMainBody(), and call
8607           p->beginningOfMainBody() directly. Move the check for
8608           LABEL_MANUAL into the latter.
8609
8610         * text.h:
8611         * text.C:
8612         * text2.C:
8613         * vspace.C:
8614         * BufferView.h:
8615         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8616
8617         * text.h:
8618         * text.C:
8619         * text2.C:
8620         * text3.C:
8621         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8622           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8623
8624 2003-02-13  John Levon  <levon@movementarian.org>
8625
8626         * CutAndPaste.C: remove debug
8627
8628 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8629
8630         * paragraph.C (asString): remove two unused variables
8631
8632         * lyxtextclass.C (readTitleType):
8633           (Read):
8634           (LyXTextClass): handle new members titletype_ and titlename_
8635
8636         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8637
8638 2003-02-09  John Levon  <levon@movementarian.org>
8639
8640         * buffer.h:
8641         * buffer.C: replace hand-coded list with a map for the dep clean
8642
8643 2003-02-08  John Levon  <levon@movementarian.org>
8644
8645         * LaTeX.C: consolidate code into showRunMessage() helper
8646
8647 2003-02-08  John Levon  <levon@movementarian.org>
8648
8649         * lyxfind.C:
8650         * lyxtext.h:
8651         * text2.C:
8652         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8653           and pass the size in explicitly
8654
8655         * BufferView_pimpl.h:
8656         * BufferView_pimpl.C:
8657         * BufferView.h:
8658         * BufferView.C: add getCurrentChange()
8659
8660         * BufferView_pimpl.h:
8661         * BufferView_pimpl.C: handle change lfuns
8662
8663         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8664           for changes. Mark pasted paragraphs as new.
8665
8666         * support/lyxtime.h:
8667         * support/lyxtime.C:
8668         * DepTable.C: abstract time_t as lyx::time_type
8669
8670         * LColor.h:
8671         * LColor.C: add colours for new text, deleted text, changebars
8672
8673         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8674           package use "usenames" option.
8675
8676         * commandtags.h:
8677         * lyxfunc.C:
8678         * LyXAction.C: add change lfuns
8679
8680         * Makefile.am:
8681         * author.h:
8682         * author.C: author handling
8683
8684         * buffer.h:
8685         * buffer.C: add a per-buffer author list, with first entry as
8686           current author. Handle new .lyx tokens for change tracking. Output
8687           author list to .lyx file. Output dvipost stuff to .tex preamble.
8688           Bump lyx format to 222.
8689
8690         * bufferlist.h:
8691         * bufferlist.C: add setCurrentAuthor() to reset current author details
8692           in all buffers.
8693
8694         * bufferparams.h:
8695         * bufferparams.C: add param for tracking
8696
8697         * bufferview_funcs.C: output change info in minibuffer
8698
8699         * Makefile.am:
8700         * changes.h:
8701         * changes.C: add change-tracking structure
8702
8703         * debug.h:
8704         * debug.C: add CHANGES debug flag
8705
8706         * lyxfind.h:
8707         * lyxfind.C: add code for finding the next change piece
8708
8709         * lyxrc.h:
8710         * lyxrc.C: add user_name and user_email
8711
8712         * lyxrow.h:
8713         * lyxrow.C: add a metric for the top of the text line
8714
8715         * lyxtext.h:
8716         * text.C: implement accept/rejectChange()
8717
8718         * lyxtext.h:
8719         * text.C: paint changebars. Paint new/deleted text in the chosen
8720         colours. Strike through deleted text.
8721
8722         * paragraph.h:
8723         * paragraph.C:
8724         * paragraph_pimpl.h:
8725         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8726           in the current change to the insert functions. Rework erase to
8727           mark text as deleted, adding an eraseIntern() and a range-based
8728           erase(). Implement per-paragraph change lookup and
8729           accept/reject.
8730
8731         * paragraph_funcs.C: Fixup paste for change tracking.
8732
8733         * tabular.C: mark added row/columns as new.
8734
8735         * text.C: fix rowLast() to never return -1. Don't allow
8736           spellchecking of deleted text. Track transpose changes. Don't
8737           allow paragraph break or merge where appropriate.
8738
8739         * text2.C: leave cursor at end of selection after a cut.
8740
8741 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8742
8743         * text.C (getLengthMarkerHeight):
8744         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8745         visible on screen too.
8746
8747 2003-02-07  John Levon  <levon@movementarian.org>
8748
8749         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8750
8751 2003-02-05  Angus Leeming  <leeming@lyx.org>
8752
8753         * lyxserver.C (read_ready): revert my patch of 11 September last year
8754         as it sends PC cpu through the roof. Presumably this means that
8755         the lyxserver will no longer run on an Alpha...
8756
8757 2003-01-30  Angus Leeming  <leeming@lyx.org>
8758
8759         * factory.C (createInset): create an InsetCommandParam of type "index"
8760         and use it to 'do the right thing'.
8761
8762         * text2.C (getStringToIndex): ensure that cursor position is always
8763         reset to the reset_cursor position.
8764
8765 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8766
8767         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8768         disabled.
8769
8770 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8771
8772         * bufferview.C:
8773         * lyxcb.C:
8774         * lyxfunc.C: Output messages with identical spelling, punctuation,
8775         and spaces
8776
8777 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8778
8779         * MenuBackend.C (expandFormats): List only viewable export formats
8780         in "View" menu
8781
8782         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8783         message
8784
8785         * lyxfunc.C (getStatus): Make sure that formats other than
8786         "fax" can also be disabled
8787
8788 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8789
8790         * text3.C (dispatch): put the lfuns that insert insets in 3
8791         groups, and call doInsertInset with appropriate arguments.
8792         (doInsertInset): new function, that creates an inset and inserts
8793         it according to some boolean parameters.
8794
8795 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * buffer.C (readFile): remember to pass on 'par' when calling
8798         readFile recursively.
8799
8800 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8801
8802         * MenuBackend.C (expandFormats): add "..." to import formats.
8803
8804 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8805
8806         * paragraph.C (asString): Remove XForms RTL hacks.
8807
8808 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8809         * buffer.C: fix typo
8810
8811 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * Makefile.am (LIBS): delete var
8814         (lyx_LDADD): add @LIBS@ here instead.
8815
8816 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8817
8818         * Clarify the meaning of "wheel mouse jump"
8819
8820 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8821
8822         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8823         tabular in a float
8824
8825 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8826
8827         * importer.C (Loaders): do not preallocate 3 elements in the
8828         vector, since one ends up with 6 elements otherwise
8829
8830 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8831
8832         * DepTable.C (write): write the file name as last element of the
8833         .dep file (because it may contain spaces)
8834         (read): read info in the right order
8835
8836 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8837
8838         * paragraph_pimpl.C (simpleTeXBlanks):
8839         (simpleTeXSpecialChars):
8840         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8841
8842         * tabular.C (latex): add some missing case statements. Reindent.
8843
8844         * MenuBackend.C (expandToc): remove unused variable.
8845
8846 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8847
8848         * LColor.C:
8849         * LaTeX.C:
8850         * LyXAction.C:
8851         * MenuBackend.C:
8852         * buffer.C:
8853         * exporter.C:
8854         * lyxfunc.C:
8855         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8856         and the like.
8857
8858 2003-01-05  John Levon  <levon@movementarian.org>
8859
8860         * BufferView.h:
8861         * BufferView.C: add getEncoding()
8862
8863         * kbsequence.h:
8864         * kbsequence.C: do not store last keypress
8865
8866         * lyxfunc.h:
8867         * lyxfunc.C: store last keypress here instead. Pass encoding
8868           to getISOEncoded()
8869
8870 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8871
8872         * lyx_main.C (init): remove annoying error message when following
8873         symbolic links (bug #780)
8874
8875 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8876
8877         * text.C (insertChar):
8878         * lyxrc.C (getDescription): remove extra spaces
8879
8880 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8881
8882         * lyxrc.C (getDescription): remove extra spaces
8883
8884 2002-12-20  John Levon  <levon@movementarian.org>
8885
8886         * text3.C: hack fix for page up/down across tall rows
8887
8888 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8889
8890         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8891         not been invoked
8892
8893 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8894
8895         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8896         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8897         thesaurus is not compiled in
8898
8899 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8900
8901         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8902
8903 2002-12-16  Angus Leeming  <leeming@lyx.org>
8904
8905         * lyxrc.[Ch]:
8906         * lyx_main.C (init): remove override_x_deadkeys stuff.
8907
8908 2002-12-12  John Levon  <levon@movementarian.org>
8909
8910         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8911           insert. Only remove shift modifier under strict
8912           circumstances.
8913
8914 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8915
8916         * MenuBackend.C (expandToc): fix crash.
8917
8918 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919
8920         * MenuBackend.C (expandToc): gettext on float names.
8921
8922 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8923
8924         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8925         implement bool empty() [bug 490]
8926
8927 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8928
8929         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8930
8931 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8932
8933         * several files: ws changes
8934
8935 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8936
8937         * text2.C (setCounter): clean up a bit, use boost.format.
8938         (updateCounters): initialize par upon declaration.
8939
8940         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8941         if the layout exists. We do not just store the layout any more.
8942         (SwitchLayoutsBetweenClasses): use boost.format
8943
8944 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8945
8946         * converter.C (convert): if from and to files are the same, use a
8947         temporary files as intermediary
8948
8949 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8950
8951         * commandtags.h:
8952         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8953
8954 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8955
8956         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8957
8958 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8959
8960         * tabular.C (asciiPrintCell): use string(size, char) instead of
8961         explicit loop.
8962
8963         * sgml.C (openTag): fix order of arguments to string constructor
8964         (closeTag): ditto
8965
8966         * lyxfunc.C (dispatch): use boost.format
8967
8968         * lots of files: change "c" -> 'c'
8969
8970 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8971
8972         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8973
8974 2002-11-25  Angus Leeming  <leeming@lyx.org>
8975
8976         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8977
8978         * lyx_main.C (init): compile fix.
8979
8980 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8981
8982         * lyx_cb.C (start): boost.formatify
8983         do not include <iostream>
8984
8985         * lengthcommon.C: ws only
8986
8987         * boost-inst.C,BoostFormat.h: add more explict instantations
8988
8989 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8990
8991         * lots of files: handle USE_BOOST_FORMAT
8992
8993 2002-11-21  John Levon  <levon@movementarian.org>
8994
8995         * pspell.C: fix compile
8996
8997 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8998
8999         * lyxfunc.C (dispatch): use boost::format
9000         (open): ditto
9001         (doImport): ditto
9002
9003         * lyxfont.C (stateText): use boost::format
9004
9005         * lyx_main.C (LyX): use boost::format
9006         (init): ditto
9007         (queryUserLyXDir): ditto
9008         (readRcFile): ditto
9009         (parse_dbg): ditto
9010         (typedef boost::function): use the recommened syntax.
9011
9012         * importer.C (Import): use boost::format
9013
9014         * debug.C (showLevel): use boost::format
9015
9016         * converter.C (view): use boost::format
9017         (convert): ditto
9018         (move): ditto
9019         (scanLog): ditto
9020
9021         * bufferview_funcs.C (currentState): use boost::format
9022
9023         * bufferlist.C (emergencyWrite): use boost::format
9024
9025         * buffer.C (readLyXformat2): use boost::format
9026         (parseSingleLyXformat2Token): ditto
9027
9028         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9029
9030         * LaTeX.C (run): use boost::format
9031
9032         * Chktex.C (scanLogFile): use boost::format
9033
9034         * BufferView_pimpl.C (savePosition): use boost::format
9035         (restorePosition): ditto
9036         (MenuInsertLyXFile): ditto
9037
9038         * BoostFormat.h: help file for explicit instation.
9039
9040 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9041
9042         * tabular.C (latex): Support for block alignment in fixed width
9043         columns.
9044
9045 2002-11-17  John Levon  <levon@movementarian.org>
9046
9047         * BufferView_pimpl.C:
9048         * lyx_cb.C:
9049         * lyxfunc.C: split filedialog into open/save
9050
9051 2002-11-08  Juergen Vigna  <jug@sad.it>
9052
9053         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9054         by my last patch (hopefully).
9055
9056 2002-11-08  John Levon  <levon@movementarian.org>
9057
9058         * iterators.h:
9059         * iterators.C:
9060         * buffer.h:
9061         * buffer.C:
9062         * paragraph.h:
9063         * paragraph.C:
9064         * toc.h:
9065         * toc.C: ParConstIterator, and use it (from Lars)
9066
9067 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9068
9069         * lyxtextclass.[Ch]: revise and add doxygen comments
9070
9071 2002-11-07  John Levon  <levon@movementarian.org>
9072
9073         * text.C: fix progress value for spellchecker
9074
9075         * toc.C: fix navigate menu for insetwrap inside minipage
9076
9077         * paragraph_funcs.C: added FIXME for suspect code
9078
9079 2002-11-07  John Levon  <levon@movementarian.org>
9080
9081         * BufferView_pimpl.C: fix redrawing of insets
9082           on buffer switch
9083
9084 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9085
9086         * text2.C (updateCounters): fix bug 668
9087
9088 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9089
9090         * text3.C (dispatch): Do not make the buffer dirty when moving the
9091         cursor.
9092
9093 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9094
9095         * vc-backend.C: STRCONV
9096         (scanMaster): ditto
9097
9098         * text2.C (setCounter): STRCONV
9099
9100         * paragraph.C (asString): STRCONV
9101
9102         * lyxlength.C (asString): STRCONV
9103         (asLatexString): ditto
9104
9105         * lyxgluelength.C (asString): STRCONV
9106         (asLatexString): ditto
9107
9108         * lyxfunc.C (dispatch): STRCONV
9109         (open): ditto
9110
9111         * lyxfont.C (stateText): STRCONV
9112
9113         * importer.C (Import): STRCONV
9114
9115         * counters.C (labelItem): STRCONV
9116         (numberLabel): ditto
9117         (numberLabel): remove unused ostringstream o
9118
9119         * chset.C: STRCONV
9120         (loadFile): ditto
9121
9122         * bufferview_funcs.C (currentState): STRCONV
9123
9124         * buffer.C (readFile): STRCONV
9125         (asciiParagraph): ditto
9126         (makeLaTeXFile): ditto
9127
9128         * Spacing.C (writeEnvirBegin): STRCONV
9129
9130         * LaTeXFeatures.C (getLanguages): STRCONV
9131         (getPackages): ditto
9132         (getMacros): ditto
9133         (getBabelOptions): ditto
9134         (getTClassPreamble): ditto
9135         (getLyXSGMLEntities): ditto
9136         (getIncludedFiles): ditto
9137
9138         * LaTeX.C: STRCONV
9139         (run): ditto
9140         (scanAuxFile): ditto
9141         (deplog): ditto
9142
9143         * LString.h: add the STRCONV macros
9144
9145         * BufferView_pimpl.C (savePosition): STRCONV
9146         (restorePosition): ditto
9147         (MenuInsertLyXFile): ditto
9148
9149         * vc-backend.C (scanMaster): change from submatch[...] to
9150         submatch.str(...)
9151
9152         * funcrequest.C: include config.h
9153
9154         * factory.C: include config.h
9155
9156         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9157
9158         * box.C: include config.h
9159
9160         * LaTeX.C (scanAuxFile): change from submatch[...] to
9161         submatch.str(...)
9162         (deplog): ditto
9163
9164 2002-10-25  Angus Leeming  <leeming@lyx.org>
9165
9166         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9167
9168         * ispell.[Ch] (setError): new method.
9169         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9170         Use setError() insetead of goto END.
9171
9172         * lyx_cb.C (AutoSave): move out child process into new class
9173         AutoSaveBuffer.
9174
9175 2002-10-30  John Levon  <levon@movementarian.org>
9176
9177         * text3.C: make start appendix undoable
9178
9179 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9180
9181         * lyxlength.C (inPixels): Fix returned value.
9182
9183         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9184         environment.
9185
9186 2002-10-24  Angus Leeming  <leeming@lyx.org>
9187
9188         * lyxgluelength.h: no need to forward declare BufferParams
9189         or BufferView, so don't.
9190
9191 2002-10-21  John Levon  <levon@movementarian.org>
9192
9193         * BufferView.C: menuUndo ->undo, redo
9194
9195         * BufferView.h: document, remove dead, make some methods private
9196
9197         * paragraph_funcs.h:
9198         * paragraph_funcs.C:
9199         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9200
9201         * buffer.h:
9202         * buffer.C:
9203         * sgml.h:
9204         * sgml.C: move sgml open/close tag into sgml.C
9205
9206         * bufferview_funcs.h: unused prototype
9207
9208         * lyxfunc.h:
9209         * lyxfunc.C: remove unused
9210
9211         * lyxtext.h:
9212         * text.C: remove unused
9213
9214 2002-10-21  John Levon  <levon@movementarian.org>
9215
9216         * BufferView.h:
9217         * BufferView.C:
9218         * BufferView_pimpl.h:
9219         * BufferView_pimpl.C: fix mouse wheel handling based on
9220           patch from Darren Freeman
9221
9222 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9223
9224         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9225
9226 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9227
9228         * lyxlength.C (inPixels): Fix hanfling of negative length.
9229         Fix LyXLength::MU case.
9230
9231 2002-10-16  John Levon  <levon@movementarian.org>
9232
9233         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9234
9235 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9236
9237         * converter.C (view): add support for $$i (file name) and $$p
9238         (file path) for the viewer command. If $$i is not specified, then
9239         it is appended to the command (for compatibility with old syntax)
9240
9241 2002-10-14  Juergen Vigna  <jug@sad.it>
9242
9243         * undo_funcs.C (textHandleUndo): alter the order in which the
9244         new undopar is added to the LyXText, as we have to set first
9245         the right prev/next and then add it as otherwise the rebuild of
9246         LyXText is not correct. Also reset the cursor to the right paragraph,
9247         with this IMO we could remove the hack in "redoParagraphs()".
9248
9249 2002-10-09  Angus Leeming  <leeming@lyx.org>
9250
9251         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9252         to turn off an optimisation if a new inset is to be inserted.
9253
9254 2002-10-11 André Pönitz <poenitz@gmx.net>
9255
9256         * lyxtext.h: make some functions public to allow access
9257         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9258
9259 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9260
9261         * text3.C (dispatch): when changing layout, avoid an infinite loop
9262         [bug #652]
9263
9264 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9265
9266         * lyxrc.C (read): treat a viewer or converter command of "none" as
9267         if it were empty.
9268
9269         * MenuBackend.C (expandFormats): for an update, also allow the
9270         formats that are not viewable
9271
9272         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9273         script if it is newer than the lyxrc.defaults in user directory
9274
9275 2002-10-07 André Pönitz <poenitz@gmx.net>
9276
9277         * text.C: Vitaly Lipatov's small i18n fix
9278
9279 2002-09-25  Angus Leeming  <leeming@lyx.org>
9280
9281         * ispell.h: doxygen fix.
9282
9283 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9284
9285         * buffer.h (readFile): Add a new argument to the method, to allow
9286         reading of old-format templates.
9287
9288 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9289
9290         * toc.C (getTocList): Get TOC from InsetWrap.
9291
9292 2002-09-16  John Levon  <levon@movementarian.org>
9293
9294         * lyxfunc.C: check tabular for cut/copy too
9295
9296 2002-09-12  John Levon  <levon@movementarian.org>
9297
9298         * LyXAction.C: tidy
9299
9300         * factory.h:
9301         * factory.C: add header
9302
9303         * paragraph_funcs.h:
9304         * paragraph_funcs.C: cleanup
9305
9306 2002-09-11  John Levon  <levon@movementarian.org>
9307
9308         * PrinterParams.h: odd/even default to true
9309
9310 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9311
9312         * PrinterParams.h: update printer parameters for new xforms dialog
9313
9314 2002-09-11  Angus Leeming  <leeming@lyx.org>
9315
9316         * lyxserver.C (read_ready): re-write to make it more transparent
9317         and to make it work in coherent fashion under Tru64 Unix.
9318
9319 2002-09-11  André Pönitz <poenitz@gmx.net>
9320
9321         * commandtags.h:
9322         * LyXAction.C:
9323         * text3.C: implement LFUN_WORDSEL
9324
9325 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9326
9327         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9328         make floatlist_ a boost::shared_ptr<FloatList>
9329
9330         * lyxtextclass.C: include FloatList.h
9331         (LyXTextClass): initialize floatlist_
9332         (TextClassTags): add TC_NOFLOAT
9333         (Read): match "nofloat" to TC_NOFLOAT and use it.
9334         (readFloat): modify call to floatlist_
9335         (floats): ditto
9336         (floats): ditto
9337
9338         * FloatList.[Ch] (FloatList): remove commented out float
9339         initialization.
9340         (erase): new function
9341
9342 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9343
9344         * MenuBackend.C (expandToc): fix crash when there is no document
9345         open
9346
9347 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9348
9349         * many files: Add insetwrap.
9350
9351 2002-09-09  John Levon  <levon@movementarian.org>
9352
9353         * text2.C: remove confusing and awkward depth wraparound
9354
9355 2002-09-09  John Levon  <levon@movementarian.org>
9356
9357         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9358
9359         * buffer.h:
9360         * buffer.C: remove getIncludeonlyList()
9361
9362         * paragraph.C:
9363         * lyxfunc.C: remove headers
9364
9365 2002-09-09  Juergen Vigna  <jug@sad.it>
9366
9367         * text.C (getColumnNearX): fix form Michael this is most
9368         probably a cut&paste bug.
9369
9370 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9371
9372         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9373
9374         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9375         references, ws changes.
9376
9377         * text2.C (init): update counters after init
9378         (insertParagraph): no need to set counter on idividual paragraphs.
9379         (setCounter): access the counters object in the textclass object
9380         on in the buffer object.
9381         (updateCounters): ditto
9382
9383         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9384         shared_ptr<Counters> to avoid loading counters.h in all
9385         compilation units.
9386         (LyXTextClass): initialize ctrs_
9387         (TextClassTags): add TC_COUNTER, and ...
9388         (Read): use it here.
9389         (CounterTags): new tags
9390         (readCounter): new function
9391         (counters): new funtion
9392         (defaultLayoutName): return a const reference
9393
9394         * counters.C (Counters): remove contructor
9395         (newCounter): remove a couple of unneeded statements.
9396         (newCounter): simplify a bit.
9397         (numberLabel): some small formatting changes.
9398
9399         * buffer.[Ch]: remove all traces of counters, move the Counters
9400         object to the LyXTextClass.
9401
9402 2002-09-06  Alain Castera  <castera@in2p3.fr>
9403
9404         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9405         package to set the horizontal alignment on fixed width columns.
9406
9407         * lyx_sty.C:
9408         * lyx_sty.h: added tabularnewline macro def.
9409
9410         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9411
9412 2002-09-06  John Levon  <levon@movementarian.org>
9413
9414         * LyXAction.C: tooltips for sub/superscript
9415
9416         * MenuBackend.C: a bit more verbose
9417
9418         * lyxfunc.C: tiny clean
9419
9420         * undo_funcs.C: document undo_frozen
9421
9422 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9423
9424         * counters.C (Counters): add missing algorithm counter.
9425
9426         * text2.C (setCounter): lookup the counter with layouts latexname
9427         instead of by section number.
9428         (setCounter): use a hackish way to lookup the correct enum
9429         counter.
9430         a float name->type change
9431         reset enum couners with counter name directly instead of depth value.
9432
9433         * counters.C (Counters): remove the push_backs, change to use the
9434         float type not the float name.
9435         (labelItem): remove unused string, float name->type change
9436
9437         * counters.h: don't include vector, loose the enums and sects vectors
9438
9439 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9440
9441         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9442         (Read): add float->TC_FLOAT to textclassTags
9443         (Read): and handle it in the switch
9444         (readFloat): new function
9445
9446         * FloatList.C (FloatList): comment out the hardcoded float
9447         definitions.
9448
9449         * lyxlayout.h: ws change.
9450
9451 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9452
9453         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9454
9455 2002-09-03  Angus Leeming  <leeming@lyx.org>
9456
9457         * BufferView_pimpl.h: qualified name is not allowed in member
9458         declaration: WorkArea & Pimpl::workarea() const;
9459
9460         * factory.C: added using std::endl directive.
9461
9462         * text3.C: added using std::find and std::vector directives.
9463
9464 2002-08-29  André Pönitz <poenitz@gmx.net>
9465
9466         * lyxtext.h:
9467         * text2.C: remove unused member number_of_rows
9468
9469         * Makefile.am:
9470         * BufferView2.C: remove file, move contents to...
9471         * BufferView.C: ... here
9472
9473         * BufferView_pimpl.C:
9474         * factory.C: move more inset creation to factory
9475
9476         * vspace.C: avoid direct usage of LyXText, ws changes
9477
9478         * BufferView.[Ch]:
9479                 don't provide direct access to WorkArea, use two simple
9480                 acessors haveSelction() and workHeight() instead
9481
9482
9483 2002-08-29  John Levon  <levon@movementarian.org>
9484
9485         * BufferView_pimpl.C (dispatch): do not continue when
9486           no buffer
9487
9488 2002-08-28  André Pönitz <poenitz@gmx.net>
9489
9490         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9491
9492         * BufferView.h:
9493         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9494
9495 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9496
9497         * buffer.C: increment LYX_FORMAT to 221
9498
9499         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9500         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9501
9502         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9503
9504         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9505
9506 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * factory.C (createInset): use LyXTextClass::floats
9509
9510         * MenuBackend.C (expandFloatListInsert):
9511         (expandFloatInsert):
9512         (expandToc):
9513
9514         * text2.C (setCounter):
9515
9516         * LaTeXFeatures.C (useFloat):
9517         (getFloatDefinitions):
9518
9519         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9520
9521         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9522         floatlist_, with accessor floats().
9523
9524         * FloatList.h: remove global FloatList
9525
9526 2002-08-26  André Pönitz <poenitz@gmx.net>
9527
9528         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9529
9530         * BufferView.h:
9531         * BufferView2.C:
9532         * BufferView_pimpl.C:
9533         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9534
9535 2002-08-25  John Levon  <levon@movementarian.org>
9536
9537         * LyXAction.C: fix margin note description
9538
9539 2002-08-24  John Levon  <levon@movementarian.org>
9540
9541         * buffer.C:
9542         * bufferlist.C:
9543         * bufferview_funcs.C:
9544         * lyxfont.C:
9545         * undo_funcs.C: cleanups
9546
9547         * lyxfunc.C: disable CUT/COPY when no selection
9548
9549 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9550
9551         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9552         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9553
9554         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9555         Add backward compatibility to "mono", "gray" and "no".
9556
9557 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9558
9559         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9560         (and file_format >= 200).
9561
9562 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9563
9564         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9565
9566 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9567
9568         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9569
9570 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9571
9572         * BufferView_pimpl.C:
9573         * LyXAction.C:
9574         * buffer.C:
9575         * commandtags.h:
9576         * lyxfunc.C:
9577         * paragraph.[Ch]:
9578         * text2.C:
9579         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9580         inset and code to make it  work with the paragraph code. The inset
9581         can be anywhere in the paragraph, but will only do the expected
9582         thing in LaTeX if the layout file contains the parameter line
9583                         OptionalArgs    1
9584         (or more generally, a nonzero value) for that layout.
9585
9586 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9587
9588         * paragraph.h: remove the declaration of undefined counters class
9589         function.
9590
9591 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9592
9593         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9594         Dr. Richard Hawkins.
9595
9596 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9597
9598         * paragraph_funcs.h: remove some unneeded includes
9599
9600         * text.C (backspace): pasteParagraph now in global scipe
9601
9602         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9603         (pasteSelection): ditto
9604
9605         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9606         * paragraph_funcs.C (pasteParagraph): ... here
9607
9608 2002-08-20  André Pönitz <poenitz@gmx.net>
9609
9610         * commandtags.h: new LFUNs for swapping/copying table row/colums
9611
9612         * LyXAction.C:
9613         * lyxfunc.C: support for new lfuns
9614
9615 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9616
9617         * tabular.C:
9618         * buffer.[Ch]: remove NO_COMPABILITY stuff
9619
9620 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9621
9622         * boost.C (throw_exception): new file, with helper function for
9623         boost compiled without exceptions.
9624
9625         * paragraph.h:
9626         * lyxlength.C:
9627         * buffer.C:
9628         * ParameterStruct.h:
9629         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9630
9631         * bufferlist.C (emergencyWriteAll): use boost bind
9632
9633         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9634
9635         * text.C: include paragraph_funcs.h
9636         (breakParagraph): breakParagraph is now in global scope
9637
9638         * paragraph_funcs.[Ch]: new files
9639
9640         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9641         global scope
9642
9643         * buffer.C: include paragraph_funcs.h
9644         (insertStringAsLines): breakParagraph is now in global scope
9645
9646         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9647         paragraph_funcs.C
9648
9649         * CutAndPaste.C: include paragraph_funcs.h
9650         (cutSelection): breakParagraphConservative is now in global scope
9651         (pasteSelection): ditto
9652
9653         * buffer.h: declare oprator== and operator!= for
9654         Buffer::inset_iterator
9655
9656         * bufferlist.C (emergencyWrite): don't use fmt(...)
9657
9658         * text3.C: add using std::endl
9659
9660         * BufferView.C (moveCursorUpdate): remove default arg
9661
9662 2002-08-20  André Pönitz <poenitz@gmx.net>
9663
9664         * buffer.[Ch]: move inline functions to .C
9665
9666         * BufferView2.C:
9667         * BufferView_pimpl.C:
9668         * text.C:
9669         * buffer.[Ch]: use improved inset_iterator
9670
9671         * buffer.C:
9672         * paragraph.[Ch]: write one paragraph at a time
9673
9674 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9675
9676         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9677         style if style is not specified.
9678
9679 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9680
9681         * text2.C (setCounter): when searching for right label for a
9682         caption, make sure to recurse to parent insets (so that a caption
9683         in a minipage in a figure float works) (bug #568)
9684
9685 2002-08-20  André Pönitz <poenitz@gmx.net>
9686
9687         * text3.C: new file for LyXText::dispatch() and helpers
9688
9689         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9690
9691         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9692
9693 2002-08-19  André Pönitz <poenitz@gmx.net>
9694
9695         * lyxtext.h:
9696         * text.C: new LyXText::dispatch()
9697
9698         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9699
9700 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9701
9702         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9703
9704         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9705         Hebrew text.
9706
9707 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9708
9709         * Makefile.am: use $(variables) instead of @substitutions@
9710
9711 2002-08-15  André Pönitz <poenitz@gmx.net>
9712
9713         * lyxfunc.C:
9714         * BufferView_pimpl.C: streamlining mathed <-> outer world
9715         interaction
9716
9717         * commandtags.h:
9718         * LyXAction.C: remove unused LFUN_MATH
9719
9720 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9721
9722         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9723
9724 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9725
9726         * paragraph.C (Paragraph): reformat a bit
9727         (cutIntoMinibuffer): use builtin InsetList function instad of
9728         doing it manually.
9729         (getInset): ditto
9730
9731         * buffer.C: include boost/bind.hpp, add using std::for_each
9732         (writeFileAscii): use ParagraphList iterators
9733         (validate): use for_each for validate traversal of paragraphs
9734         (getBibkeyList): use ParagraphList iterators
9735         (resizeInsets): use for_each to resizeInsetsLyXText for all
9736         paragraphs.
9737         (getParFromID): use ParagraphList iterators
9738
9739         * BufferView2.C (lockInset): use paragraph list and iterators
9740
9741 2002-08-14  John Levon  <levon@movementarian.org>
9742
9743         * lyxserver.C: remove spurious xforms include
9744
9745 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9748
9749 2002-08-13  André Pönitz <poenitz@gmx.net>
9750
9751         * LyXAction.[Ch]:
9752         * lyxfunc.C: further cleaning
9753
9754 2002-08-13  André Pönitz <poenitz@gmx.net>
9755
9756         * funcrequest.h: new constructor
9757
9758         * funcrequest.C: move stuff here from .h
9759
9760         * Makefile.am:
9761         * BufferView_pimpl.C:
9762         * LyXAction.C:
9763         * toc.C:
9764         * lyxfunc.C: subsequent changes
9765
9766         * lyxfunc.h: new view() member function
9767
9768         * lyxfunc.C: subsequent changes
9769
9770 2002-08-13  Angus Leeming  <leeming@lyx.org>
9771
9772         * BufferView2.C:
9773         * BufferView_pimpl.C:
9774         * buffer.C:
9775         * converter.C:
9776         * importer.C:
9777         * lyxfunc.C:
9778         * lyxvc.C:
9779         * toc.C:
9780         * vc-backend.C:
9781         changes due to the changed LyXView interface that now returns references
9782         to member variables not pointers.
9783
9784 2002-08-13  Angus Leeming  <leeming@lyx.org>
9785
9786         * WordLangTuple (word, lang_code): return references to strings,
9787         not strings.
9788
9789         * BufferView.h:
9790         * SpellBase.h:
9791         * lyxtext.h: forward-declare WordLangTuple.
9792
9793         * BufferView2.C:
9794         * ispell.C:
9795         * pspell.C:
9796         * text.C: #include "WordLangTuple.h".
9797
9798         * lyxtext.h:
9799         * text.C: (selectNextWordToSpellcheck): constify return type.
9800
9801 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9802
9803         * buffer.C:
9804         * buffer.h:
9805         * lyxtext.h:
9806         * paragraph.C:
9807         * paragraph_pimpl.h:
9808         * text.C:
9809         * text2.C:
9810         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9811         suggested by Angus.
9812         Made updateCounter always count from start of buffer, and removed
9813         second argument (par).
9814         Reverted floats number display to '#'. Perhaps I'll try again when the
9815         code base is sanitized a bit.
9816
9817 2002-08-12  Angus Leeming  <leeming@lyx.org>
9818
9819         * buffer.[Ch] (getLabelList): constify.
9820
9821 2002-08-07  André Pönitz <poenitz@gmx.net>
9822
9823         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9824
9825         * funcrequest.h: extension to keep mouse (x,y) position
9826
9827 2002-08-12  Juergen Vigna  <jug@sad.it>
9828
9829         * BufferView2.C (insertErrors): forbid undo when inserting error
9830         insets.
9831
9832         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9833
9834 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9835
9836         * ParagraphList.[Ch]: new files
9837
9838         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9839
9840         * BufferView2.C (lockInset): ParagraphList changes
9841         * toc.C: ditto
9842         * text2.C: ditto
9843         * bufferlist.C: ditto
9844         * buffer.h: ditto
9845         * buffer.C: ditto
9846
9847 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9848
9849         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9850         unused class variable counter_,
9851
9852         * paragraph.[Ch] (getFirstCounter): delete unused function
9853
9854         * counters.C: include LAssert.h
9855         (reset): add a new function with no arg, change other version to
9856         not have def. arg and to not allow empty arg.
9857
9858         * text2.C (setCounter): remove empty arg from call to Counters::reset
9859
9860 2002-08-11  John Levon  <levon@movementarian.org>
9861
9862         * Makefile.am: add WordLangTuple.h
9863
9864 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9865
9866         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9867         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9868
9869         * insets/insettext.C: InsetList changes
9870
9871         * graphics/GraphicsSupport.C (operator()): InsetList changes
9872
9873         * toc.C (getTocList): InsetList changes
9874
9875         * paragraph_pimpl.[Ch]: InsetList changes
9876
9877         * paragraph.[Ch]: InsetList changes
9878
9879         * buffer.C (inset_iterator): InsetList changes
9880         (setParagraph): ditto
9881         * buffer.h (inset_iterator): ditto
9882         * iterators.C (operator++): ditto
9883         * iterators.h: ditto
9884
9885         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9886
9887         * InsetList.[Ch]: new files, most InsetList handling moved out of
9888         paragraph.C.
9889
9890         * BufferView2.C (removeAutoInsets): InsetList changes
9891         (lockInset): ditto
9892         (ChangeInsets): ditto
9893
9894 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9895
9896         * paragraph_pimpl.h (empty): new function
9897
9898         * paragraph.[Ch] (empty): new function
9899
9900         * other files: use the new Paragraph::empty function
9901
9902 2002-08-09  John Levon  <levon@movementarian.org>
9903
9904         * lyxtext.h: remove unused refresh_height
9905
9906 2002-08-09  John Levon  <levon@movementarian.org>
9907
9908         * Makefile.am:
9909         * sgml.h:
9910         * sgml.C:
9911         * buffer.C:
9912         * paragraph.h:
9913         * paragraph.C: move sgml char escaping out of paragraph
9914
9915         * paragraph.h:
9916         * paragraph.C: remove id setter
9917
9918         * buffer.C:
9919         * paragraph.C:
9920         * paragraph_pimpl.C: remove dead tex_code_break_column
9921
9922         * bufferview_funcs.C: small cleanup
9923
9924         * lyxfunc.C: remove dead proto
9925
9926         * lyxtext.h: make some stuff private. Remove some dead stuff.
9927
9928         * lyxgluelength.C: make as[LyX]String() readable
9929
9930 2002-08-08  John Levon  <levon@movementarian.org>
9931
9932         * LyXAction.h:
9933         * LyXAction.C:
9934         * MenuBackend.C:
9935         * ToolbarDefaults.C:
9936         * lyxfunc.C:
9937         * lyxrc.C:
9938         * toc.C: lyxaction cleanup
9939
9940 2002-08-08  John Levon  <levon@movementarian.org>
9941
9942         * BufferView2.C: small cleanup
9943
9944         * lyxfind.h:
9945         * lyxfind.C: move unnecessary header into the .C
9946
9947 2002-08-08  John Levon  <levon@movementarian.org>
9948
9949         * funcrequest.h: just tedious nonsense
9950
9951         * lyx_main.h:
9952         * lyx_main.C: cleanups
9953
9954         * buffer.C:
9955         * vspace.C: remove dead header lyx_main.h
9956
9957 2002-08-07  Angus Leeming  <leeming@lyx.org>
9958
9959         * Paragraph.[Ch]:
9960         * paragraph_pimpl.h:
9961         Forward declare class Counters in paragraph.h by moving the ctrs member
9962         variable into Paragraph::Pimpl.
9963         (counters): new method, returning a reference to pimpl_->ctrs.
9964
9965         * text2.C: ensuing changes.
9966
9967 2002-08-07  John Levon  <levon@movementarian.org>
9968
9969         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9970
9971         * BufferView_pimpl.C: announce X selection on double/triple
9972           click
9973
9974         * lyx_main.C: use correct bool in batch dispatch
9975
9976         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9977
9978 2002-08-07  André Pönitz <poenitz@gmx.net>
9979
9980         * funcrequest.h: new class to wrap a kb_action and its argument
9981
9982         * BufferView.[Ch]:
9983         * BufferView_pimpl[Ch]:
9984         * LaTeX.C:
9985         * LyXAction.[Ch]:
9986         * lyxfunc.[Ch]:
9987         * lyxrc.C: subsequent changes
9988
9989
9990 2002-08-07  John Levon  <levon@movementarian.org>
9991
9992         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9993           document options change.
9994
9995 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9996
9997         * counters.[Ch]
9998         * text2.C
9999         * paragraph.[Ch]
10000         * makefile.am: move counters functionality over from
10001         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10002
10003 2002-08-06  John Levon  <levon@movementarian.org>
10004
10005         * WordLangTuple.h: new file for word + language code tuple
10006
10007         * SpellBase.h:
10008         * pspell.h:
10009         * pspell.C:
10010         * ispell.h:
10011         * ispell.C:
10012         * lyxtext.h:
10013         * text.C:
10014         * text2.C:
10015         * BufferView.h:
10016         * BufferView2.C: use WordLangTuple
10017
10018         * layout.h:
10019         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10020
10021 2002-08-06  John Levon  <levon@movementarian.org>
10022
10023         * lyx_main.C: fix cmdline batch handling
10024
10025 2002-08-06  André Pönitz <poenitz@gmx.net>
10026
10027         * lyxrc.C: set default for show_banner to true
10028
10029 2002-08-06  John Levon  <levon@movementarian.org>
10030
10031         * pspell.C: fix a crash, and allow new aspell to work
10032
10033 2002-08-06  John Levon  <levon@movementarian.org>
10034
10035         * lyxfunc.C:
10036         * kbmap.C: small cleanup
10037
10038         * vspace.h:
10039         * vspace.C: add const
10040
10041 2002-08-05  John Levon  <levon@movementarian.org>
10042
10043         * LyXAction.C: back to tabular-insert
10044
10045 2002-08-04  John Levon  <levon@movementarian.org>
10046
10047         * BufferView.h:
10048         * BufferView.C: cosmetic change
10049
10050         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10051
10052         * bufferlist.C:
10053         * buffer.h:
10054         * buffer.C:
10055         * lyxcb.h:
10056         * lyxcb.C:
10057         * lyxserver.C:
10058         * lyxvc.C:
10059         * vc-backend.C:
10060         * BufferView2.C: purge all "Lyx" not "LyX" strings
10061
10062         * lyxcursor.h:
10063         * lyxcursor.C: attempt to add some documentation
10064
10065         * lyxfunc.C:
10066         * commandtags.h:
10067         * LyXAction.C:
10068         * ToolbarDefaults.C:
10069         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10070           merge with LFUN_TABULAR_INSERT
10071
10072         * Makefile.am:
10073         * SpellBase.h:
10074         * ispell.h:
10075         * ispell.C:
10076         * pspell.h:
10077         * pspell.C: split up i/pspell implementations into separate
10078           files, many cleanups
10079
10080         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10081
10082         * text2.C: some cleanup
10083
10084         * lyxfunc.C: don't check for isp_command == "none" any more, it
10085           didn't make any sense
10086
10087 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10088
10089         * counters.[Ch]
10090         * text2.C
10091         * paragraph.[Ch]
10092         * makefile.am: move counters functionality over
10093         from text2.C/paragraph.[Ch] to counters.[Ch], and
10094         make proper C++.
10095 2002-08-02  John Levon  <levon@movementarian.org>
10096
10097         * buffer.C: s/lyxconvert/lyx2lyx/
10098
10099 2002-08-02  Angus Leeming  <leeming@lyx.org>
10100
10101         * lyxlex.C: revert John's change as it breaks reading of the user
10102         preamble.
10103
10104 2002-08-02  Angus Leeming  <leeming@lyx.org>
10105
10106         * importer.C (Import):
10107         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10108         changes due to LyXView::view() now returning a boost::shared_ptr.
10109
10110 2002-08-02  John Levon  <levon@movementarian.org>
10111
10112         * lyxlex.C: small cleanup
10113
10114 2002-08-02  John Levon  <levon@movementarian.org>
10115
10116         * text2.C (status): small cleanup, no logic change
10117
10118 2002-08-01  John Levon  <levon@movementarian.org>
10119
10120         * buffer.h:
10121         * buffer.C (writeFile): don't output alerts, caller
10122           handles this
10123
10124         * bufferlist.C:
10125         * lyx_cb.C: from above
10126
10127         * lyxfunc.C: allow to open non-existent files
10128
10129 2002-07-31  John Levon  <levon@movementarian.org>
10130
10131         * lyxserver.C: don't let incidental errors get
10132           in the way (errno)
10133
10134 2002-07-30  John Levon  <levon@movementarian.org>
10135
10136         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10137
10138 2002-07-30  John Levon  <levon@movementarian.org>
10139
10140         * lyxserver.h:
10141         * lyxserver.C: remove I/O callback too
10142
10143 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10146         log.
10147
10148 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10149
10150         * many files: strip,frontStrip -> trim,ltrim,rtrim
10151
10152 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10153
10154         * PrinterParams.h: remove extern containsOnly, and include
10155         support/lstrings.h instead.
10156
10157         * LaTeX.C (scanAuxFile): modify because of strip changes
10158         (deplog): ditto
10159         * buffer.C (makeLaTeXFile): ditto
10160         * bufferparams.C (writeFile): ditt
10161         * lyxfont.C (stateText): ditto
10162         * lyxserver.C (read_ready): ditto
10163         * vc-backend.C (scanMaster): ditto
10164
10165         * BufferView_pimpl.h: ws changes
10166
10167         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10168
10169 2002-07-26  André Pönitz <poenitz@gmx.net>
10170
10171         * kb_sequence.C: remove unnedred usings
10172
10173 2002-07-26  Juergen Vigna  <jug@sad.it>
10174
10175         * lyxfind.C (LyXReplace): we have to check better if the returned
10176         text is not of theLockingInset()->getLockingInset().
10177
10178 2002-07-25  Juergen Vigna  <jug@sad.it>
10179
10180         * lyxfind.C (LyXReplace): don't replace if we don't get the
10181         right LyXText.
10182
10183         * undo_funcs.C (createUndo): remove debugging code.
10184
10185 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10186
10187         * buffer.C (parseSingleLyXformat2Token): Use default placement
10188         when reading old floats.
10189
10190         * FloatList.C (FloatList): Change the default placement of figure
10191         and tables to "tbp".
10192
10193 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * MenuBackend.C: using std::max
10196
10197 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * MenuBackend.C (expandToc):
10200         (expandToc2): code moved from xforms menu frontend. It is now
10201         generic and TOCs are transparent to menu frontends.
10202
10203 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10204
10205         * toc.C (getTocList): protect against buf=0
10206
10207         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10208         Menu as first parameter. Now, this calls itself recursively to
10209         expand a whole tree (this will be useful for TOC handling)
10210         (expandFloatInsert): remove 'wide' version of floats
10211
10212         * MenuBackend.h (submenuname): returns the name of the submenu.
10213         (submenu): returns the submenu itself, provided it has been
10214         created by MenuBackend::expand
10215
10216 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10217
10218         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10219         insets which have noFontChange == true. (bug #172)
10220
10221 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10222
10223         * BufferView_pimpl.C: add connection objects and use them...
10224         (Pimpl): here.
10225
10226 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * MenuBackend.C (expandLastfiles):
10229         (expandDocuments):
10230         (expandFormats):
10231         (expandFloatListInsert):
10232         (expandFloatInsert):
10233         (expand): split expand in parts
10234
10235 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10236
10237         * lyx_gui.C: use lyx_gui::exit()
10238
10239 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10240
10241         * LyXAction.C: show the failing pseudo action
10242
10243 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10244
10245         * buffer.C (readFile): Run the lyxconvert script in order to read
10246         old files.
10247
10248 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10249
10250         * LyXAction.C:
10251         * commandtags.h:
10252         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10253
10254 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * LyXAction.C:
10257         * commandtags.h:
10258         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10259
10260 2002-07-22  Herbert Voss  <voss@lyx.org>
10261
10262         * lengthcommon.C:
10263         * lyxlength.[Ch]: add support for the vertical lengths
10264
10265 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10266
10267         * toc.[Ch]: std:: fixes
10268
10269 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * lyxrc.C: do not include lyx_main.h
10272
10273         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10274         for layouts
10275
10276         * lyxrc.C:
10277         * encoding.C:
10278         * bufferlist.C:
10279         * BufferView2.C: include "lyxlex.h"
10280
10281         * tabular.h:
10282         * bufferparams.h: do not #include "lyxlex.h"
10283
10284         * lyxtextclasslist.C (Add): remove method
10285         (classlist): renamed to classlist_
10286
10287         * paragraph_pimpl.C:
10288         * paragraph.C:
10289         * text2.C:
10290         * CutAndPaste.C:
10291         * bufferview_funcs.C:
10292         * bufferlist.C:
10293         * text.C:
10294         * LaTeXFeatures.C:
10295         * buffer.C:
10296         * toc.C (getTocList): use BufferParams::getLyXTextClass
10297
10298         * toc.C (getTocList): use InsetFloat::addToToc
10299
10300         * toc.[Ch]: new files, containing helper functions to handle table
10301         of contents
10302
10303         * lyxfunc.C (dispatch): no need to remove spaces around command
10304         given as a string
10305         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10306         first command of the sequence; it is not very clever, but I do not
10307         have a better idea, actually
10308
10309         * LyXAction.C (LookupFunc): make sure to remove space at the
10310         beginning and end of the command
10311
10312 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10313
10314         * MenuBackend.C (getMenubar): new method: return the menubar of
10315         this menu set
10316         (read): treat differently reading of menu and menubar (in
10317         particular, the menubar has no name now)
10318         (Menu::menubar): remove
10319
10320         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10321         saving is finished
10322
10323 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10324
10325         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10326         a bibitem inset in a RTL paragraph.
10327
10328 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * paragraph_pimpl.C: constify
10331
10332         * BufferView_pimpl.C:
10333         * LaTeX.C:
10334         * lyxfunc.C: fix dispatch in a nicer way
10335
10336 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10337
10338         * lyxfunc.C (dispatch):
10339         * BufferView_pimpl.C:
10340         * BufferView_pimpl.h:
10341         * BufferView.C:
10342         * BufferView.h: rename Dispatch() to dispatch()
10343
10344         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10345
10346         * lyxlayout.C (Read): honor DependsOn tag
10347
10348         * lyxlayout.[Ch] (depends_on): new method
10349
10350         * version.C.in: update lyx_docversion
10351
10352         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10353
10354         * paragraph.C (validate): remove from here...
10355         * paragraph_pimpl.C (validate): ... and move here
10356         (isTextAt): make it const
10357
10358         * buffer.C (getLists): ws cleanup
10359
10360 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10361
10362         * language.C (read): Use iso8859-1 encoding in latex_lang
10363         (this prevents LyX from crashing when using iso10646-1 encoding).
10364
10365 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10366
10367         * text2.C (toggleInset): if cursor is inside an inset, close the
10368         inset and leave cursor _after_ it
10369
10370 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * lyxfunc.C: move minibuffer completion handling out of here
10373
10374 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * BufferView_pimpl.C:
10377         * LaTeX.C: fix dispatch calls
10378
10379 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10380
10381         * text.C (drawChars): Fix Arabic text rendering.
10382
10383 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * LyXAction.C:
10386         * commandtags.h:
10387         * lyxfunc.C: remove message-push/pop
10388
10389         * lyxserver.C:
10390         * lyxfunc.h:
10391         * lyxfunc.C: rationalise some code by removing verboseDispatch
10392           in favour of a bool argument to dispatch()
10393
10394 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10395
10396         * lyx_main.C (init): make sure to read symlinks as absolute paths
10397
10398 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * lyxfunc.h:
10401         * lyxfunc.C: no need for commandshortcut to be a member
10402
10403 2002-07-15  André Pönitz <poenitz@gmx.net>
10404
10405         * converter.C: add support for $$s (scripts from lib/scripts dir)
10406         * lyx_main.C: white space
10407
10408 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * bufferlist.C:
10411         * lyxrc.h:
10412         * lyxrc.C: remove second exit confirmation
10413
10414 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * BufferView.h:
10417         * BufferView.C:
10418         * BufferView2.C:
10419         * BufferView_pimpl.h:
10420         * BufferView_pimpl.C:
10421         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10422
10423 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * MenuBackend.C (expand): add numeric shortcuts to document menu
10426
10427         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10428
10429 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10430
10431         * lyxfont.C (setLyXFamily):
10432         (setLyXSeries):
10433         (setLyXShape):
10434         (setLyXSize):
10435         (setLyXMisc):
10436         (lyxRead):
10437         * debug.C (value):
10438         * buffer.C (asciiParagraph): use ascii_lowercase
10439
10440 2002-07-15  Mike Fabian  <mfabian@suse.de>
10441
10442         * lyxlex_pimpl.C (search_kw):
10443         * lyxlex.C (getLongString):
10444         * converter.h (operator<):
10445         * converter.C (operator<):
10446         * buffer.C (parseSingleLyXformat2Token):
10447         (asciiParagraph):
10448         * ToolbarDefaults.C (read):
10449         * MenuBackend.C (checkShortcuts):
10450         (read):
10451         * LColor.C (getFromGUIName):
10452         (getFromLyXName): use the compare_ascii_no_case instead of
10453         compare_no_case, because in turkish, 'i' is not the lowercase
10454         version of 'I', and thus turkish locale breaks parsing of tags.
10455
10456 2002-07-16  Angus Leeming  <leeming@lyx.org>
10457
10458         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10459         now takes a Buffer const & argument.
10460
10461 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * BufferView.C (resize): check there's a buffer to resize
10464
10465 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * lyxfunc.C: remove dead code
10468
10469         * lyxserver.h:
10470         * lyxserver.C: use lyx_guii::set_read_callback
10471
10472 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10473
10474         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10475         an inset in a RTL paragraph.
10476
10477 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * lyxfunc.C: repaint after a font size update
10480
10481 2002-07-15  André Pönitz <poenitz@gmx.net>
10482
10483         * lyxlength.C: inBP should be able to return negative values
10484
10485 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10486
10487         * lyxfunc.C: use lyx_gui::update_fonts()
10488
10489 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * lyxfunc.C: use lyx_gui::update_color()
10492
10493 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * bufferlist.C:
10496         * lyxfunc.h:
10497         * lyxfunc.C:
10498         * lyxrc.h:
10499         * lyxrc.C: remove file->new asks for name option, and let
10500           buffer-new take an argument
10501
10502 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * BufferView_pimpl.C: remove unneeded extra repaint()
10505
10506 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * LyXAction.C: allow command-sequence with NoBuffer
10509
10510         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10511
10512 2002-07-10  Angus Leeming  <leeming@lyx.org>
10513
10514         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10515
10516 2002-07-09  Angus Leeming  <leeming@lyx.org>
10517
10518         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10519
10520 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * lengthcommon.h: whitespace
10523
10524         * lyxfunc.C: update scrollbar after goto paragraph
10525
10526         * lyxtext.h: factor out page break drawing, and fix it so
10527           page break/added space paints as selected nicely
10528
10529 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * BufferView_pimpl.C: add FIXMEs, clean up a little
10532
10533 2002-07-09  André Pönitz <poenitz@gmx.net>
10534
10535         * lyxfont.[Ch]: support for wasy symbols
10536
10537 2002-07-08  André Pönitz <poenitz@gmx.net>
10538
10539         * BufferView_pimpl.C: apply John's patch for #93.
10540
10541 2002-07-05  Angus Leeming  <leeming@lyx.org>
10542
10543         * BufferView_pimpl.C (buffer): generate previews if desired.
10544
10545         * LColor.h: add "preview" to the color enum.
10546
10547         * LColor.C (LColor): add a corresponding entry to the items array.
10548
10549         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10550         with this buffer.
10551
10552 2002-07-05  Angus Leeming  <leeming@lyx.org>
10553
10554         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10555         The body of the code is now in the method that is passed an ostream &
10556         rather than a file name.
10557         Pass an additional only_preamble parameter, useful for the forthcoming
10558         preview stuff.
10559
10560 2002-07-03  André Pönitz <poenitz@gmx.net>
10561
10562         * lyxfunc.C: simplify getStatus() a bit for math stuff
10563
10564 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10565
10566         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10567
10568 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * text.C (changeRegionCase): do not change case of all the
10571         document when region ends at paragraph end (bug #461)
10572
10573 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * paragraph.C (startTeXParParams):
10576         (endTeXParParams): add \protect when necessary
10577
10578 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10579
10580         * BufferView_pimpl.C (workAreaExpose): remove warning
10581
10582 2002-06-27  Angus Leeming  <leeming@lyx.org>
10583
10584         * Makefile.am: add lyxlayout_ptr_fwd.h.
10585
10586 2002-06-26  André Pönitz <poenitz@gmx.net>
10587
10588         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10589
10590 2002-06-25  Angus Leeming  <leeming@lyx.org>
10591
10592         * lyxfunc.C (dispatch): Comment out the call to
10593         grfx::GCache::changeDisplay. The method no longer exists now that the
10594         pixmap generation part of the graphics loader has been moved into
10595         InsetGraphics.
10596
10597 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10598
10599         * text2.C: layout as layout
10600
10601         * text.C: layout as layout
10602
10603         * tabular.C (OldFormatRead): layout as layout
10604
10605         * paragraph_pimpl.C (TeXDeeper): layout as layout
10606         (realizeFont): layout as layout
10607
10608         * paragraph.C (writeFile): layout as layout
10609         (validate): layout as layout
10610         (getFont): layout as layout
10611         (getLabelFont): layout as layout
10612         (getLayoutFont): layout as layout
10613         (breakParagraph): layout as layout
10614         (stripLeadingSpaces): layout as layout
10615         (getEndLabel): layout as layout
10616         (getMaxDepthAfter): layout as layout
10617         (applyLayout): layout as layout
10618         (TeXOnePar): layout as layout
10619         (simpleTeXOnePar): layout as layout
10620         (TeXEnvironment): layout as layout
10621         (layout): layout as layout
10622         (layout): layout as layout
10623
10624         * lyxtextclass.C (compare_name): new functor to work with
10625         shared_ptr, layout as layout
10626         (Read): layout as layout
10627         (hasLayout): layout as layout
10628         (operator): layout as layout
10629         (delete_layout): layout as layout
10630         (defaultLayout): layout as layout
10631
10632         * lyxlayout_ptr_fwd.h: new file
10633
10634         * lyxlayout.C (Read): layout as layout
10635
10636         * lyx_cb.C (MenuInsertLabel): layout as layout
10637
10638         * bufferlist.C (newFile): layout as layout
10639
10640         * buffer.C (readLyXformat2): layout as layout
10641         (parseSingleLyXformat2Token): layout as layout
10642         (insertStringAsLines): layout as layout
10643         (asciiParagraph): layout as layout
10644         (latexParagraphs): layout as layout
10645         (makeLinuxDocFile): layout as layout
10646         (simpleLinuxDocOnePar): layout as layout
10647         (makeDocBookFile): layout as layout
10648         (simpleDocBookOnePar): layout as layout
10649         (getLists): layout as layout
10650
10651         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10652
10653         * CutAndPaste.C (cutSelection): layout as layout
10654         (pasteSelection): layout as layout
10655         (SwitchLayoutsBetweenClasses): layout as layout
10656
10657         * BufferView_pimpl.C (Dispatch): layout as layout
10658         (smartQuote): layout as layout
10659
10660         * BufferView2.C (unlockInset): layout as layout
10661
10662 2002-06-24  André Pönitz <poenitz@gmx.net>
10663
10664         * lyxfunc.C: fix #487
10665
10666 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * lyxrc.h:
10669         * lyxrc.C:
10670         * lyxfunc.C: remove display_shortcuts, show_banner
10671
10672 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * Buffer_pimpl.C: oops, update on resize
10675
10676 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10677
10678         * buffer.C:
10679         * converter.C:
10680         * exporter.C:
10681         * lyxfunc.C:
10682         * BufferView.h:
10683         * BufferView.C: use repaint()
10684
10685         * BufferView_pimpl.h:
10686         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10687           as it's a clearer description. Remove superfluous
10688           redraws.
10689
10690 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * text.C: fix bug 488. Not ideal, but getting
10693           getWord() to work properly for the insets that
10694           matter is more difficult ...
10695
10696 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * BufferView_pimpl.C:
10699         * LyXAction.C:
10700         * commandtags.h:
10701         * lyxfunc.C: remove the six million index lyxfuncs to just
10702           one, and DTRT (bug 458)
10703
10704 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * BufferView.h:
10707         * BufferView.C:
10708         * BufferView_pimpl.h:
10709         * BufferView_pimpl.C: clean up resize() stuff,
10710           and unnecessary updateScreen()s
10711
10712 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10713
10714         * BufferView.h:
10715         * BufferView.C:
10716         * BufferView_pimpl.h:
10717         * BufferView_pimpl.C:
10718         * lyxfind.h:
10719         * lyxfind.C:
10720         * minibuffer.C: remove focus management of workarea,
10721           not needed. Use screen's greyOut()
10722
10723 2002-06-17  Herbert Voss  <voss@lyx.org>
10724
10725         * converter.C: (convert) do not post a message, when converting
10726         fails, let the calling function decide what to do in this case
10727
10728 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10729
10730         * lyxfunc.C: tidy up a little
10731
10732 2002-06-16    <alstrup@diku.dk>
10733
10734         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10735         Got rid of FORMS_H_LOCATION include. Now we are
10736         GUII.
10737
10738 2002-06-15  LyX Development team  <lyx@rilke>
10739
10740         * buffer.[Ch] (sgmlOpenTag):
10741         (sgmlCloseTag): Added support for avoiding pernicious mixed
10742         content. Return number of lines written.
10743
10744         (makeLinuxDocFile):
10745         (makeDocBookFile): Fixed calls to sgml*Tag.
10746         Simple white space clean.
10747
10748         (simpleDocBookOnePar): Simple white space clean.
10749
10750         * tabular.[Ch] (docBook): Renamed to docbook and got another
10751         argument to related with the pernicious mixed content.
10752
10753         (docbookRow): Fixed calls for docbook inset method.
10754
10755 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10756
10757         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10758         so it's X11 independent.
10759
10760         * kb*.[Ch]: ditto.
10761
10762         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10763
10764 2002-06-15  Lyx Development team  <lyx@electronia>
10765
10766         * intl.h: Renamed getTrans to getTransManager.
10767
10768 2002-06-14  Angus Leeming  <leeming@lyx.org>
10769
10770         * Makefile.am: nuke forgotten stl_string_fwd.h.
10771
10772 2002-06-12  Angus Leeming  <leeming@lyx.org>
10773
10774         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10775
10776 2002-06-13  Angus Leeming  <leeming@lyx.org>
10777
10778         * LaTeX.C:
10779         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10780
10781 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10782
10783         * kbmap.C (getiso): add support for cyrillic and greek
10784
10785 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * BufferView.h:
10788         * BufferView.C:
10789         * BufferView_pimpl.h:
10790         * BufferView_pimpl.C: move bogus scrolling logic
10791           to xforms
10792
10793 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * lyxfunc.C:
10796         * BufferView_pimpl.C: view->resize() change
10797
10798 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * BufferView_pimpl.C: topCursorVisible
10801           prototype change
10802
10803 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10804
10805         * Makefile.am:
10806         * lyx_gui.h:
10807         * lyx_gui.C: move to frontends/
10808
10809         * main.C:
10810         * lyx_main.h:
10811         * lyx_main.C: changes from above
10812
10813 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * intl.C:
10816         * intl.h:
10817         * kbmap.C:
10818         * kbsequence.C:
10819         * lyx_cb.C:
10820         * lyx_main.C: minor tidy
10821
10822 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * BufferView_pimpl.h:
10825         * BufferView_pimpl.C:
10826         * BufferView.h:
10827         * BufferView.C: make painter() const,
10828           remove dead code
10829
10830         * BufferView2.C: use screen() accessor
10831
10832         * lyx_main.h:
10833         * lyx_main.C: some minor cleanup
10834
10835 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * BufferView_pimpl.h:
10838         * BufferView_pimpl.C: remove enter/leaveView,
10839           use workHeight()
10840
10841 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10842
10843         * BufferView.h:
10844         * BufferView.C:
10845         * BufferView2.C:
10846         * BufferView_pimpl.h:
10847         * BufferView_pimpl.C: only construct screen once,
10848           rename
10849
10850         * lyxrc.C: remove pointless comment
10851
10852 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * BufferView.h:
10855         * BufferView.C: remove active() and belowMouse()
10856
10857         * BufferView_pimpl.h:
10858         * BufferView_pimpl.C: use workarea() not workarea_,
10859           and make it use a scoped_ptr instead
10860
10861 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10862
10863         * lyx_gui.C: add debug message on BadWindow
10864
10865 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10866
10867         * sp_spell.C: fdopen is not part of the C++ standard.
10868
10869         * paragraph.C (InsetIterator): use >= instead of ==
10870
10871 2002-06-07  Angus Leeming  <leeming@lyx.org>
10872
10873         Fixes needed to compile with Compaq cxx 6.5.
10874         * BufferView_pimpl.C:
10875         * DepTable.C:
10876         * buffer.C:
10877         * converter.C:
10878         * encoding.C:
10879         * lyx_gui.C:
10880         * lyx_main.C:
10881         * lyxtextclasslist.C:
10882         * minibuffer.C:
10883         * sp_spell.C:
10884         * tabular_funcs.C:
10885         * vc-backend.C:
10886         all c-library variables have been moved into namespace std. Wrap
10887         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10888
10889         * lyxlength.C:
10890         * tabular-old.C:
10891         * tabular.C:
10892         Add a using std::abs declaration.
10893
10894         * kbmap.h (modifier_pair):
10895         * paragraph.h (InsetTable, InsetList):
10896         * lyxfont.h (FontBits):
10897         type definition made public.
10898
10899         * bufferlist.C (emergencyWriteAll): the compiler complains that
10900         there is more than one possible lyx::class_fun template to choose from.
10901         I re-named the void specialisation as lyx::void_class_fun.
10902
10903         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10904
10905         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10906         the compiler is is unable to find tostr in write_attribute.
10907
10908 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10909
10910         * buffer.C (sgmlError): hide #warning
10911
10912 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10913
10914         * xtl/*: get rid of xtl, which is not in use anyway
10915
10916         * LyXAction.C (init):
10917         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10918         were unimplemented xtl experimentation
10919
10920 2002-06-04  André Pönitz <poenitz@gmx.net>
10921
10922         * lyxfunc.C: disable array operation on simple formulae
10923
10924 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * converter.C: constify a bit
10927
10928 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * lyx_gui.C: check xforms version correctly
10931
10932 2002-04-30  Herbert Voss  <voss@lyx.org>
10933
10934         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10935         "keep" option
10936
10937 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10940           attempt to register it with a VCS)
10941
10942 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10943
10944         * lyx_main.C (init): honor variables LYX_DIR_13x and
10945         LYX_USERDIR_13x
10946
10947 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * buffer.h:
10950         * buffer.C:
10951         * lyx_main.C: fix a crash on bad command line,
10952           and give a useful exit status on error
10953
10954         * lyxfunc.C (doImport): allow -i lyx to work
10955
10956 2002-03-30  André Pönitz <poenitz@gmx.net>
10957
10958         * lyxfunc.C: mathed font changes
10959
10960 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10961
10962         * LaTeX.C:
10963         * importer.h:
10964         * importer.C:
10965         * lyx_sty.h:
10966         * lyx_sty.C:
10967         * lyxlex.C:
10968         * lyxrow.h:
10969         * lyxtext.h:
10970         * paragraph.h:
10971         * paragraph.C:
10972         * texrow.h:
10973         * texrow.C:
10974         * text.C:
10975         * trans_mgr.h: srcdocs, and some minor cleanups
10976
10977 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10978
10979         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10980         call getFont all the time)
10981
10982 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10983
10984         * switch from SigC signals to boost::signals
10985
10986 2002-05-29  André Pönitz <poenitz@gmx.net>
10987
10988         * paragraph_pimpl.C (getChar): don't call size() too often...
10989
10990 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10991
10992         * paragraph_pimpl.C (insertChar): do not try to update tables when
10993         appending (pos == size())
10994
10995         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10996         in order to reduce drastically the number of comparisons needed to
10997         parse a large document
10998
10999 2002-05-29  André Pönitz <poenitz@gmx.net>
11000
11001         * text.C:
11002         * text2.C:
11003         * lyxtextclass.C:
11004         * sp_pspell.h:
11005         * textclasslist.[Ch]:
11006         * sp_ispell.h: whitespace change
11007
11008 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11009
11010         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11011         lyxaction directly now.
11012
11013 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11014
11015         * trans.C:
11016         * lyxfont.C:
11017         * lyxvc.C: remove unused headers
11018
11019 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11020
11021         * Makefile.am:
11022         * buffer.h:
11023         * undostack.h:
11024         * undostack.C:
11025         * undo_funcs.h:
11026         * undo_funcs.C: some cleanups. Use shared_ptr
11027           and a template for the undo stacks.
11028
11029 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * BufferView_pimpl.h:
11032         * BufferView_pimpl.C:
11033         * kbmap.h:
11034         * kbmap.C:
11035         * kbsequence.h:
11036         * kbsequence.C:
11037         * lyxfunc.h:
11038         * lyxfunc.C:
11039         * text2.C: use key_state/mouse_state
11040
11041 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11042
11043         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11044         and LSubstring
11045
11046         * chset.C: change include order
11047         (loadFile): use boost regex and get rid of LRegex and LSubstring
11048
11049         * Makefile.am (BOOST_LIBS): new variable
11050         (lyx_LDADD): use it
11051
11052         * LaTeX.C: change include order.
11053         (scanAuxFile): use boost regex and get rid of LRegex and
11054         LSubstring
11055         (deplog): ditto
11056
11057 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * ColorHandler.h:
11060         * ColorHandler.C:
11061         * FontInfo.h:
11062         * FontInfo.C: moved to frontends/xforms/
11063
11064         * FontLoader.h:
11065         * FontLoader.C: moved into frontends for GUIIzation
11066
11067         * Makefile.am:
11068         * lyx_gui.C:
11069         * lyxfont.C:
11070         * lyxfunc.C: changes from above
11071
11072 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * LColor.C: remove spurious X include
11075
11076         * BufferView_pimpl.C:
11077         * Makefile.am:
11078         * font.h:
11079         * font.C:
11080         * text.C:
11081         * text2.C: move font metrics to frontends/
11082
11083 2002-05-24  Juergen Vigna  <jug@sad.it>
11084
11085         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11086         setting the undo_cursor.
11087
11088         * ParagraphParameters.h: include local includes first.
11089
11090 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11091
11092         * BufferView_pimpl.C:
11093         * BufferView_pimpl.h:
11094         * Makefile.am:
11095         * WorkArea.h:
11096         * WorkArea.C:
11097         * screen.C: move WorkArea into frontends/
11098
11099         * lyxscreen.h:
11100         * screen.C:
11101         * text.C:
11102         * BufferView.C:
11103         * BufferView2.C: move LyXScreen into frontends/
11104
11105         * lyxlookup.h:
11106         * lyxlookup.C:
11107         * lyx_gui.C: move lyxlookup into frontends/xforms/
11108
11109 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * BufferView2.C:
11112         * BufferView_pimpl.C:
11113         * FontLoader.C:
11114         * LyXView.h:
11115         * LyXView.C:
11116         * Makefile.am:
11117         * WorkArea.C:
11118         * XFormsView.h:
11119         * XFormsView.C:
11120         * buffer.C:
11121         * bufferlist.C:
11122         * bufferview_funcs.C:
11123         * converter.C:
11124         * importer.C:
11125         * lyx_cb.C:
11126         * lyx_gui.C:
11127         * lyx_main.C:
11128         * lyx_find.C:
11129         * lyxfunc.C:
11130         * lyxvc.C:
11131         * minibuffer.C:
11132         * text.C:
11133         * text2.C:
11134         * trans.C:
11135         * vc-backend.C: move LyX/XFormsView into frontends/
11136
11137 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * Makefile.am:
11140         * PainterBase.C:
11141         * PainterBase.h:
11142         * Painter.C:
11143         * Painter.h:
11144         * WorkArea.C:
11145         * WorkArea.h:
11146         * screen.C:
11147         * tabular.C:
11148         * text.C:
11149         * text2.C: move Painter to frontends/
11150
11151 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * buffer.C: comment out some some code that depend upon lyx_format
11154         < 220
11155
11156         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11157         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11158
11159         * buffer.h (NO_COMPABILITY): turn off compability
11160
11161         * ColorHandler.C: include scoped_array.hpp
11162
11163         * font.C: Use more specific smart_ptr header.
11164         * Painter.C: ditto
11165         * gettext.C: ditto
11166         * ShareContainer.h: ditto
11167         * lyx_main.h: ditto
11168         * kbmap.h: ditto
11169         * FontInfo.h: ditto
11170         * BufferView_pimpl.h: ditto
11171         * ColorHandler.h: ditto
11172
11173         * kbmap.C (defkey): change call to shared_ptr::reset
11174
11175 2002-05-21  Juergen Vigna  <jug@sad.it>
11176
11177         * buffer.C (insertErtContents): fix to insert ert asis if it is
11178         non empty. Skip it completely if it contains only whitespaces.
11179
11180 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * BufferView_pimpl.C:
11183         * BufferView2.C: clear selection on paste (bug 393)
11184
11185 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11186
11187         * DepTable.C: include ctime
11188
11189 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11190
11191         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11192
11193 2002-05-14  Juergen Vigna  <jug@sad.it>
11194
11195         * text.C (breakParagraph): fixed function to honor the keepempty
11196         layout in the right maner and also to permit the right breaking
11197         algorithm on empty or non empyt keepempty paragraphs.
11198
11199         * paragraph.C (breakParagraph): we have to check also if the par
11200         is really empty (!size()) for isempty otherwise we do the wrong
11201         paragraph break.
11202
11203 2002-05-10  Juergen Vigna  <jug@sad.it>
11204
11205         * buffer.[Ch] : The following are only changes to the ert
11206         compatibility read reading old LaTeX layout and font stuff and
11207         convert it to ERTInsets.
11208
11209         * buffer.h: added isErtInset().
11210
11211         * buffer.C (struct ErtComp): add a fromlayout bool to check
11212         if we're inside a LaTeX layout.
11213         (isErtInset): new helper function.
11214         (insertErtContents): look for other ert insets before this one
11215         and insert the contents there, so that we don't have subsequent
11216         ERT insets with nothing between them. This way we create only one
11217         inset with multiple paragraphs. Also check if we don't insert only
11218         spaces ' ' as they are ignored anyway afterwards in the .tex file
11219         so if we have only spaces we will ignore this latex part in the
11220         new file.
11221         (parseSingleLyXformat2Token \\layout): better compatibility when
11222         reading layout-latex stuff.
11223         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11224         language tag.
11225         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11226         stuff after reading the inset only get the information back from
11227         the stack.
11228
11229 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11230
11231         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11232
11233         * LaTeXFeatures.C (getBabelOptions): New method.
11234
11235 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11236
11237         * BufferView_pimpl.C (Dispatch): work around missing argument for
11238         'layout'
11239
11240 2002-05-08  Juergen Vigna  <jug@sad.it>
11241
11242         * text.C (leftMargin): handle paragraph leftindent.
11243
11244         * paragraph.C (writeFile): write the new \\leftindent tag.
11245         (validate): handle leftindent code.
11246         (TeXEnvironment): handle paragraphleftindent code again.
11247
11248         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11249
11250         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11251         for paragrap_extra indent code and new token \\leftindent.
11252         (latexParagraphs): handle the leftindent as environment.
11253
11254         * ParameterStruct.h: added leftindent support.
11255
11256         * ParagraphParameters.C (leftIndent): added support functions for
11257         the paragraph left indent.
11258
11259         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11260         more appropriate.
11261
11262 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11265         inside insetERT.
11266
11267         * text.C (computeBidiTables): No bidi in insetERT.
11268
11269         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11270         in RTL documents.
11271
11272 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11273
11274         * version.C.in: pre 5
11275
11276 2002-05-02  José Matos  <jamatos@fep.up.pt>
11277         * buffer.C (makeDocBookFile): white space changes, add newline to
11278         command styles.
11279         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11280
11281         * tabular.C (docBook): fix typo.
11282
11283 2002-05-03  Juergen Vigna  <jug@sad.it>
11284
11285         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11286         change in LyXText as we can not be sure it was not freed.
11287         (drawOneRow): remove unused code.
11288
11289         * text.C (drawInset): redo the calculation of the need_break_row as
11290         it could have a row which was already freed.
11291         (draw): look at the return value of drawInset and return false if
11292         it also returned false.
11293         (paintRowText): look at the return value of draw and return false if
11294         it also returned false.
11295
11296         * lyxtext.h: added bool return type to drawInset() and draw() so that
11297         if we have a change in the row so that the rowbreak has to be redone
11298         we abort drawing as it will be called again.
11299
11300 2002-05-02  Juergen Vigna  <jug@sad.it>
11301
11302         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11303         a change in the maintext also if we're inside an inset.
11304         (Dispatch): set the cursor again after a break line and after the
11305         screen has been updated as it could be we're in a different row.
11306
11307         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11308         to set the cursor behind the pargraph with > size().
11309         (setCursor): check also for the same paragraph when checking where
11310         to put the cursor if we have a NFR inset.
11311
11312         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11313         parts of layout read further up as it still was in the wrong
11314         position.
11315
11316 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11317
11318         * screen.C (drawFromTo): change sine fullRebreak always return
11319         true.
11320
11321         * buffer.C (parseSingleLyXformat2Token): reindent some
11322
11323         * BufferView_pimpl.C (update): change since fullRebreak always
11324         return true.
11325         (Dispatch): git rid of the last hardcoded "Standard"s.
11326
11327 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * text2.[Ch] (fullRebreak): make it return void now that we always
11330         returned true.
11331
11332 2002-04-30  Juergen Vigna  <jug@sad.it>
11333
11334         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11335         ert compatibility check for "latex" layout.
11336
11337 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11338
11339         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11340         minipages: use col% instead of p%, and also use the current font.
11341         (makeLaTeXFile): Fix use babel condition.
11342         (parseSingleLyXformat2Token): Correct font when reading old floats.
11343
11344 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11345
11346         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11347         inserting list of floats.
11348
11349 2002-04-25  Herbert Voss  <voss@lyx.org>
11350
11351         * MenuBackend.C (expand): don't add the graphics extensions to the
11352         export menu
11353
11354 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11357         non-existing layout, do not complain if it was the default layout
11358         of the original class (bug #342)
11359
11360 2002-04-24  Juergen Vigna  <jug@sad.it>
11361
11362         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11363         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11364
11365 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11366
11367         * buffer.C (getBibkeyList): If using \bibliography, return the
11368         option field with the reference itself. Enables us to provide natbib
11369         support when using \bibliography.
11370
11371 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11372
11373         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11374
11375         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11376         natbib is provided by the LaTeX class.
11377
11378 2002-04-23  Juergen Vigna  <jug@sad.it>
11379
11380         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11381         Wakeup functions.
11382
11383         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11384
11385 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11386
11387         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11388
11389         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11390         ensuremath around textordmasculine, textordfeminine and
11391         textdegree.
11392
11393 2002-04-19  Juergen Vigna  <jug@sad.it>
11394
11395         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11396         reinitializing the buffer otherwise row-dimensions may be wrong.
11397         (update): reset also the selection cursors if they do exits otherwise
11398         their x/y positions may be wrong.
11399
11400         * text2.C (cursorDown): don't enter the inset if we came from a row
11401         above and are one row over the inset.
11402
11403         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11404         really leaving an inset.
11405
11406 2002-04-18  Juergen Vigna  <jug@sad.it>
11407
11408         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11409         of the selected paragraph does not have the selected layout also if
11410         the last one had!
11411
11412         * text2.C (setLayout): fixed bug which did not change last selected
11413         paragraph.
11414
11415         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11416         changed the read and substituted \\end_float with \\end_inset!
11417
11418         * BufferView_pimpl.C (cursorPrevious):
11419         (cursorNext): fixed to make it work with rows heigher than the work
11420         area without moving the cursor only the draw of the row.
11421         (workAreaMotionNotify): fix jumping over high rows.
11422
11423 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11426         Ressler.
11427
11428 2002-04-16  Juergen Vigna  <jug@sad.it>
11429
11430         * text2.C (setCursor): set also the irow().
11431         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11432         (cursorUp):
11433         (cursorDown): support for locking an inset if the x_fix value goes
11434         inside it. That way I can transverse insets too with cursor up/down.
11435
11436         * lyxrow.h: added irow helper function same as other (i) functions.
11437
11438         * BufferView_pimpl.C (cursorPrevious):
11439         (cursorNext): fixed for insets!
11440
11441 2002-04-15  Juergen Vigna  <jug@sad.it>
11442
11443         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11444         position otherwise it is wrong in some cases.
11445
11446         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11447         inside the inset before the call.
11448
11449 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11450
11451         * buffer.[Ch] (getBibkeyList): make it const.
11452
11453 2002-04-12  Juergen Vigna  <jug@sad.it>
11454
11455         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11456
11457         * text2.C (getCursorX): new helper function
11458         (setCursor): compute also ix_
11459         (setCursorFromCoordinates): set also ix.
11460
11461         * lyxcursor.h: added ix_ and helper functions.
11462
11463         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11464
11465         * buffer.C (insertStringAsLines): dont break paragraph if the this
11466         paragraph is inside an inset which does not permit it!
11467
11468         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11469         also with no chars on this paragraph.
11470         (paintRowText): only paint stuff if it's inside the workarea!
11471
11472         * paragraph.C (breakParagraph): honor keepempty flag and break the
11473         paragraph always below not above.
11474
11475         * BufferView2.C (unlockInset): update the paragraph layout on inset
11476         unlock as we changed paragraph in such a case.
11477
11478         * lyxfind.C (LyXFind): clear the former selection if not found!
11479
11480         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11481         again called in insertChar().
11482
11483         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11484         an inset which uses the whole row!
11485         (rightMargin): ditto.
11486         (insertChar): force a rebreak if we inserted an inset!
11487
11488 2002-03-28  Herbert Voss  <voss@lyx.org>
11489
11490         * lyxlength.[Ch]: add inBP() to get the right PS-point
11491         units (BigPoint). With inPixels we have rounding errors
11492
11493 2002-04-11  Juergen Vigna  <jug@sad.it>
11494
11495         * text2.C (setCursorFromCoordinates): set iy to the right value.
11496         (setCursor): add check if row->previous exists!
11497
11498         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11499         an old float_type as this was the case in the old code!
11500
11501         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11502
11503         * BufferView2.C (showLockedInsetCursor): use iy
11504         (fitLockedInsetCursor): ditto
11505
11506         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11507         locked insets as there we have the right value now.
11508
11509         * lyxcursor.C: added iy_ variable and iy functions to set to the
11510         baseline of cursor-y of the locked inset.
11511
11512         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11513         (setCursor): fixed for insets which need a full row.
11514
11515         * text.C (rowLastPrintable): don't ignore the last space when before
11516         an inset which needs a full row.
11517         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11518         as last character of a row when before a inset which needs a full row.
11519
11520 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11521
11522         * version.C.in: update date
11523
11524         * text2.C (fullRebreak): try to always return true and see what
11525         happens...
11526
11527 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11528
11529         * MenuBackend.C (expand): use Floating::listName
11530
11531         * FloatList.C (FloatList): add listName argument to the built-in
11532         floats
11533
11534         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11535         text associated with the float.
11536
11537 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11538
11539         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11540
11541 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * ShareContainer.h: add a couple of missing typenames.
11544
11545 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11546
11547         * lyxrc.C (getDescription): use _() correctly rather than N_().
11548
11549 2002-03-28  Herbert Voss  <voss@lyx.org>
11550
11551         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11552         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11553
11554 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11555
11556         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11557         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11558
11559 2002-03-29  Juergen Vigna  <jug@sad.it>
11560
11561         * lyxfunc.C (dispatch): add a missing fitCursor call.
11562
11563         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11564         it was scrolled by a cursor move, so return the bool status.
11565
11566         * BufferView.C (fitCursor): return the bool flag also to the outside
11567         world as this is needed.
11568
11569         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11570
11571         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11572         call the edit() as it is not needed (and wrong) IMO.
11573         (workAreaButtonPress): set the screen_first variable before evt.
11574         unlock the inset as this may change screen_first and then we have
11575         a wrong y position for the click!
11576
11577 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11578
11579         * MenuBackend.C (expand): another translation that I missed
11580
11581 2002-03-28  Juergen Vigna  <jug@sad.it>
11582
11583         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11584
11585         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11586
11587 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11588
11589         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11590
11591         * MenuBackend.C (expand): fix export/view/update when there is no
11592         document open.
11593
11594 2002-03-27  Herbert Voss  <voss@lyx.org>
11595
11596         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11597         and text%
11598
11599 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11600
11601         * bufferview_funcs.C (currentState): only show paragraph number
11602         for is DEVEL_VERSION is set.
11603
11604         * lyxfunc.C (dispatch): put warning in INFO channel
11605
11606         * MenuBackend.C (expand): translate the name of floats
11607
11608         * FloatList.C (FloatList): mark the float names for translation
11609
11610         * converter.C (convert): use LibScriptSearch
11611
11612 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * MenuBackend.C (defaults): fix default menu (we might as well get
11615         rid of it...)
11616
11617 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11618
11619         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11620         directory.
11621
11622 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * lyxvc.C: reorder includes.
11625
11626 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11627
11628         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11629           properly
11630
11631 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11632
11633         * CutAndPaste.C: change layouts earlier on paste
11634           to avoid crashing when calling getFont()
11635
11636 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11637
11638         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11639         irritating #error.
11640
11641 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * WorkArea.C: remove 'Pending' debug message.
11644
11645         * most files: ws cleanup
11646
11647         * buffer.[Ch]: ws changes
11648
11649         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11650
11651 2002-03-21  Juergen Vigna  <jug@sad.it>
11652
11653         * tabular.C (SetMultiColumn): collapse also the contents of the
11654         cells and set the last border right. Added a Buffer const * param.
11655
11656 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11657
11658         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11659         linking or not.
11660
11661 2002-03-19  Juergen Vigna  <jug@sad.it>
11662
11663         * text2.C (clearSelection): reset also xsel_cache.
11664
11665         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11666         where it needs to be called (John tells us to do so too :)
11667         (selectionLost): reset sel_cache.
11668
11669         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11670
11671 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * text2.C (setCursorIntern): put debuging code in INSETS channel
11674
11675 2002-03-19  André Pönitz <poenitz@gmx.net>
11676
11677         * lyxfunc.C: tiny whitespace change
11678
11679 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11680
11681         * ToolbarDefaults.C (init):
11682         * LyXAction.C (init):
11683         * commandtags.h:
11684         * BufferView_pimpl.C (Dispatch):
11685         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11686
11687 2002-03-19  Allan Rae  <rae@lyx.org>
11688
11689         * exporter.C (Export): removeAutoInsets before doing anything else.
11690         While I've just introduced a dependency on BufferView this really is
11691         the best place to clean the buffer otherwise you need to cleanup in
11692         a dozen places before calling export or cleanup in a dozen functions
11693         that export calls.
11694
11695         * converter.C (runLaTeX):
11696         (scanLog): Better handling of removeAutoInsets and screen updates.
11697
11698         * lyxfunc.C (dispatch): small whitespace changes
11699
11700 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * WorkArea.C (C_WorkAreaEvent): return a value.
11703         (event_cb): return 1 if we handled the event, 0 otherwise.
11704
11705         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11706
11707 2002-03-18  Juergen Vigna  <jug@sad.it>
11708
11709         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11710         (GetAdditionalWidth): ditto.
11711         (RightLine): ditto.
11712         (LeftLine): ditto.
11713
11714         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11715         inset if we're there actually (probably not used right now but this
11716         is the direction to go for unifying code).
11717         (paste): disable code to clear the selection.
11718
11719         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11720         inside an InsetText and move the check further up as it is in the
11721         wrong place.
11722
11723         * text2.C (pasteSelection): set a selection over the pasted text.
11724
11725 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11726
11727         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11728         and libgraphics to build on Cygwin.
11729
11730 2002-03-15  Juergen Vigna  <jug@sad.it>
11731
11732         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11733         inserting an Inset into the paragraph. I know this is not the best
11734         fix but we already use current_view in CutAndPaste so we will remove
11735         all of it's using at the same time.
11736
11737         * buffer.C (sgmlError): deactivated function till it is rewritten in
11738         the right mode, now it can create problems.
11739
11740         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11741         before accessing it.
11742
11743 2002-03-14  Juergen Vigna  <jug@sad.it>
11744
11745         * undo_funcs.C (textHandleUndo): do the right thing when updating
11746         the inset after the undo/redo.
11747
11748         * text2.C (setCursor): just some testcode for #44 not ready yet.
11749
11750         * undo_funcs.C (textHandleUndo): set the next() and previous()
11751         pointers of the paragraph to 0 before deleting otherwise we have
11752         problems with the Paragraph::[destructor].
11753
11754         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11755         on a paragraph insertion.
11756
11757 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11758
11759         * buffer.C (asciiParagraph): use += operator for char append to
11760         string.
11761
11762         * paragraph.C (getFontSettings): compare >= not just >
11763         (highestFontInRange): ditto
11764         (setFont): ditto
11765
11766 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * paragraph.C: change several algorithm to be more appripriate for
11769         the problem domain. This is lookip in FontList and in the InsetList.
11770
11771 2002-03-13  André Pönitz <poenitz@gmx.net>
11772
11773         * commandtags.h:
11774         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11775
11776 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11777
11778         * commandtags.h:
11779         * LyXAction.C:
11780         * lyxfunc.C:
11781         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11782
11783 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11784
11785         * Painter.C (display): anon helper function, adjust code for this
11786         change.
11787         (pixmap): remove function.
11788
11789         * Painter.h: remove private display variable.
11790
11791         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11792
11793 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11794
11795         * WorkArea.[Ch]: remove figinset_canvas cruft.
11796
11797 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * lyxtextclass.C (operator): add one item cache optimization.
11800
11801         * bufferlist.h: doxy changes
11802
11803         * bufferlist.C: ws changes
11804
11805         * DepTable.[Ch] (ext_exist): place const in the right spot.
11806
11807         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11808         call resizeInsets.
11809         (workAreaExpose): call resizeInsets when the with BufferView changes.
11810         (Dispatch): adjust for protectedBlank removal
11811         (specialChar): call updateInset if the insert went ok.
11812
11813         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11814         specialChar instead.
11815
11816         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11817
11818         * BufferView.h: doxy change
11819
11820         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11821
11822         * lyxtextclass.C (operator[]): remove non-const version
11823         (defaultLayout): remove non-const version
11824
11825 2002-03-12  Juergen Vigna  <jug@sad.it>
11826
11827         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11828         did resize the LyXText too.
11829
11830         * buffer.C (readLyXformat2): set layout information on newly allocated
11831         paragraphs.
11832
11833         * tabular.C (OldFormatRead): set layout information on the paragraph.
11834
11835 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11836
11837         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11838
11839 2002-03-11  Juergen Vigna  <jug@sad.it>
11840
11841         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11842         plainly wrong.
11843         (resizeCurrentBuffer): force also the insets to resize themselfes.
11844         (moveCursorUpdate): fixed up for InsetText.
11845
11846 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11847
11848         * commandtags.h:
11849         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11850         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11851         value of Dialogs::tooltipsEnabled().
11852         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11853
11854 2002-03-08  Juergen Vigna  <jug@sad.it>
11855
11856         * BufferView_pimpl.C (updateInset): update inset inside inset also
11857         if it isn't inside theLockingInset().
11858
11859 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11860
11861         * buffer.C (asciiParagraph): redo some of the word and line length
11862         handling.
11863         (getLists): look for Caption instead of caption.
11864
11865 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11866
11867         * buffer.C (Buffer): initialize niceFile to true
11868         (makeLaTeXFile):
11869         (makeLinuxDocFile):
11870         (makeDocBookFile): make sure niceFile is true on exit
11871
11872 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11873
11874         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11875
11876 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11877
11878         * LyXSendto.C: remove.
11879         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11880         * lyx_gui.C: remove now-redundant comment.
11881         * ColorHandler.h: remove forward declaration of class WorkArea.
11882         * lyxfunc.C: remove #include "WorkArea.h".
11883
11884 2002-03-07  Juergen Vigna  <jug@sad.it>
11885
11886         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11887         got moved away with the DEPM and also set the inset_owner always
11888         right which before could have been omitted.
11889
11890 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11893         wanted layout is not found.
11894
11895 2002-03-07  Juergen Vigna  <jug@sad.it>
11896
11897         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11898
11899 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11900
11901         * paragraph.C (breakParagraph): use default layout not layout of
11902         prev paragraph.
11903         (Paragraph): clear ParagraphParameters.
11904
11905 2002-03-06  Juergen Vigna  <jug@sad.it>
11906
11907         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11908         otherwise it would not be a valid lenght. Fixed a special case in
11909         the minipage compatibility read where we end the document with a
11910         minipage.
11911
11912         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11913         was set as it could be 0 for InsetTexts first entry.
11914
11915 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11916
11917         * paragraph.C (writeFile): if layout is empty write out
11918         defaultLayoutName().
11919
11920         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11921         file without named layout we set layout to defaultLayoutName().
11922
11923 2002-03-06  Juergen Vigna  <jug@sad.it>
11924
11925         * CutAndPaste.C (copySelection): set layout for new paragraph.
11926
11927         * text.C (prepareToPrint): leave ERT inset left aligned
11928         (leftMargin): don't indent paragraphs inside ERT insets
11929
11930 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11931
11932         * paragraph.C (breakParagraph): dont call clear do the work manually
11933
11934         * paragraph.[Ch] (clear): remove function
11935
11936 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * paragraph.C (Paragraph): dont call clear, the work has already
11939         been done.
11940
11941         * lyxtextclass.C (operator): assert if n is empty
11942
11943         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11944         work manually instead.
11945
11946 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * BufferView_pimpl.C: protect selectionLost against text == 0
11949
11950 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11951
11952         * text.C (breakParagraph): fix a setting layout to '0' problem.
11953
11954 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11955
11956         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11957         final location of file, for the included files, and graphics.
11958
11959 2002-03-05  Juergen Vigna  <jug@sad.it>
11960
11961         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11962
11963 2002-03-04  Juergen Vigna  <jug@sad.it>
11964
11965         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11966
11967         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11968         last column of multicolumn cells.
11969         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11970
11971 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11972
11973         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11974         file if it doesn't go to a temporary file.
11975
11976         * buffer.C (sgmlOpenTag):
11977         (sgmlCloseTag):  remove extra newline insertion.
11978
11979 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * text.C (getRowNearY): comment out debug msg
11982
11983 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11984
11985         * text2.C: first -> first_y
11986
11987         * text.C (getRowNearY): add some attemts at a possible
11988         optimization, not working.
11989
11990         * tabular.[Ch]: add BufferParams to several function so that newly
11991         created paragraph can be initialized to he default layotu for the
11992         buffers textclass.
11993
11994         * tabular-old.C (ReadOld): add buf->params to call of Init
11995
11996         * screen.C: rename text->first to text->first_y
11997
11998         * paragraph.C (breakParagraph): always set layout in the broken
11999         paragraph
12000
12001         * lyxtextclass.C (Read): remove lowercase
12002         (hasLayout): ditto
12003         (operator): ditto
12004         (delete_layout): ditto
12005
12006         * lyxtext.h: rename first -> first_y
12007
12008         * lyxlayout.C (Read): remove lowercase
12009         (name): ditto
12010         (setName): ditto
12011         (obsoleted_by): ditto
12012
12013         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12014
12015         * buffer.C (insertErtContents): add params are to InsetERT
12016         (parseSingleLyXformat2Token): add code to check if a paragraphs
12017         layout really exist.
12018         (parseSingleLyXformat2Token): add params to several inset
12019         constructors
12020         (asciiParagraph): remove lowercase, do the layout comparisons with
12021         no_case
12022
12023         * BufferView_pimpl.C (cursorNext): first -> first_y
12024         (resizeCurrentBuffer): first -> first_y
12025         (updateScrollbar): first -> first_y
12026         (scrollCB): first -> first_y
12027         (workAreaMotionNotify): first -> first_y
12028         (workAreaButtonPress): first -> first_y
12029         (checkInsetHit): first -> first_y
12030         (cursorPrevious): first -> first_y
12031         (cursorNext): first -> first_y
12032         (Dispatch): add buffer_->params to severl inset contructors
12033
12034 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12035
12036         * lyxlayout.C (Read): remove some debug info that I forgot.
12037
12038         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12039         clean up the code slightly.
12040         (makeLinuxDocFile): ditto
12041         (makeDocBookFile): ditto
12042
12043         * text2.C: layout as string
12044
12045         * text.C: layout as string
12046
12047         * paragraph_pimpl.C: layout as string
12048
12049         * paragraph.[Ch]: layout as string
12050
12051         * lyxtextclasslist.[Ch]: layout as string
12052
12053         * lyxtextclass.[Ch]: layout as string
12054
12055         * lyxtext.h: layout as string
12056
12057         * lyxlayout.[Ch]: layout as string
12058
12059         * lyx_cb.C: layout as string
12060
12061         * bufferview_funcs.C: layout as string
12062
12063         * bufferparams.C: layout as string
12064
12065         * buffer.C: layout as string
12066
12067         * LyXView.[Ch]: layout as string
12068
12069         * LaTeXFeatures.[Ch]: layout as string
12070
12071         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12072
12073         * BufferView_pimpl.C: change current_layout to string, remove
12074         lyx::layout_type.
12075         (Dispatch):
12076         (smartQuote):
12077         (insertInset):
12078         (workAreaButtonRelease): layout as string
12079
12080         * BufferView2.C (unlockInset): adjust
12081
12082         * vspace.C (asLatexCommand): use an explict temp variable.
12083
12084 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * Makefile.am: use FRONTEND_*
12087
12088 2002-03-01  Juergen Vigna  <jug@sad.it>
12089
12090         * tabular.C (SetWidthOfMulticolCell): changed to something better
12091         I hope but still work in progress.
12092         (recalculateMulticolumnsOfColumn): renamed function from
12093         recalculateMulticolCells as it is more appropriate now.
12094         (SetWidthOfCell): calculate multicols better.
12095
12096 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12097
12098         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12099
12100         * lyxfunc.C (processKeySym): print sequence also if it is
12101         `deleted' (complete)
12102
12103         * kbsequence.C (print): print sequence even if it is deleted
12104         (complete would be a better word, actually).
12105
12106         * lyxfunc.C (dispatch): print complete options after a prefix key
12107
12108         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12109
12110 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12111
12112         * text2.C (setCharFont): eliminate setCharFont code duplication.
12113
12114 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12117         LFUN_TABULAR_FEATURE (bug #177)
12118
12119 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12120
12121         * Makefile.am: remove figure.h
12122
12123 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12124
12125         * Bufferview_pimpl.C:
12126         * CutAndPasteC:
12127         * LaTeX.C:
12128         * LyXSendto.C:
12129         * buffer.C:
12130         * bufferlist.C:
12131         * converter.C:
12132         * language.C:
12133         * lyxfunc.C:
12134         * lyxvc.C:
12135         * paragraph.C:
12136         * text.C:
12137         * text2.C: remove #include "lyx_gui_misc.h".
12138
12139         * LaTeX.C: added #include <cstdio>
12140
12141 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12142
12143         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12144         that the paragraph following this one can have.
12145
12146         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12147
12148         * vspace.C (asLatexCommand): fix bogus gcc warning
12149
12150         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12151
12152 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12153
12154         * text2.C (setLayout): get rid of redundant code
12155
12156 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12157
12158         * text2.C (incDepth): make sure depth cannot be increased beyond
12159         reasonable values.
12160
12161 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12162
12163         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12164         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12165
12166         * PainterBase.h (image):
12167         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12168         a LyXImage const *.
12169
12170 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * BufferView.C:
12173         * BufferView.h:
12174         * BufferView_pimpl.C:
12175         * BufferView_pimpl.h:
12176         * LaTeXFeatures.C:
12177         * LyXAction.C:
12178         * LyXView.C:
12179         * Makefile.am:
12180         * UpdateList.h:
12181         * UpdateList.C:
12182         * buffer.C:
12183         * figure.h:
12184         * figureForm.C:
12185         * figureForm.h:
12186         * figure_form.C:
12187         * figure_form.h:
12188         * lyx_cb.C:
12189         * lyx_gui.C:
12190         * lyx_gui_misc.C:
12191         * lyxfunc.C:
12192         * sp_base.h:
12193         * sp_ispell.h:
12194         * sp_pspell.h:
12195         * sp_spell.C: remove fig inset, and the crap house of
12196           cards that follows it
12197
12198 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12199
12200         * Makefile.am:
12201         * lyxserver.C:
12202         * os2_defines.h:
12203         * os2_errortable.h:
12204         * nt_defines.h: move .h into support/
12205
12206         * vms_defines.h: remove
12207
12208         * WorkArea.C: add space in debug output
12209
12210         * text2.C:
12211         * paragraph.C:
12212         * buffer.C: add WITH_WARNINGS
12213
12214         * vc-backend.h:
12215         * vc-backend.C:
12216         * bufferlist.C: s/retrive/retrieve/, add docs
12217
12218         * vspace.h:
12219         * vspace.C:
12220         * kbmap.h:
12221         * lyxlength.h:
12222         * lyxgluelength.h:
12223         * length_common.h:
12224         * chset.h:
12225         * chset.C: add docs
12226
12227         * lyxgui.C: add ID to X error handler
12228
12229         * lyxtestclass.c: fix typo
12230
12231 2002-02-26  Juergen Vigna  <jug@sad.it>
12232
12233         * tabular_funcs.C (write_attribute): changed so that some default
12234         attributes are not written at all.
12235         (getTokenValue): set default values before trying to read the
12236         value so we have the return value always set as default if we don't
12237         find the token we search for.
12238
12239         * tabular.C (Write): write bools as bools not as strings!
12240
12241 2002-02-22  Juergen Vigna  <jug@sad.it>
12242
12243         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12244         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12245
12246         * text.C (leftMargin): don't add an indent for paragraphs inside
12247         tabular cells (fix #208).
12248
12249 2002-02-21  José Matos  <jamatos@fep.up.pt>
12250
12251         * tabular.C (docBook): fixed support for long tables.
12252
12253 2002-02-20  Juergen Vigna  <jug@sad.it>
12254
12255         * text2.C (getFont): get the drawing font of the Inset if this
12256         paragraph is inside an inset (only important for InsetERT for now).
12257
12258         * buffer.C (insertErtContents): use new lanugage params in ERT
12259         constructor.
12260
12261         * CutAndPaste.C: commenting out seemingly uneeded code.
12262
12263 2002-02-19  Allan Rae  <rae@lyx.org>
12264
12265         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12266         Iterators might be simple to use but they also get invalidated.
12267         (removeAutoInsets): renamed saved cursor tracking variables and added
12268         some comments to clarify what everything does.
12269
12270 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12271
12272         * Chktex.C:
12273         * LaTeX.C:
12274         * LyXSendto.C:
12275         * converter.C:
12276         * lyx_cb.C:
12277         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12278         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12279
12280         * lyxfunc.C:
12281         * vc-backend.h: remove #include "support/syscall.h"
12282
12283         * LaTeX.C:
12284         * LyXSendto.C:
12285         * converter.C: rearrange #includes in Lars' approved fashion.
12286
12287         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12288         forward declare class Timeout in the header file.
12289
12290         * XFormsView.C: changes due to the above.
12291
12292         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12293         similar to LyXView.
12294
12295         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12296         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12297
12298 2002-02-18  José Matos  <jamatos@fep.up.pt>
12299
12300         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12301         insets contents.
12302
12303 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12304
12305         * a lot of small ws changes
12306         * add a lot of using std::XXX
12307         * use std construcs some places where approp.
12308         * use some exisint stuff from lyxfunctional where approp.
12309         * Make file changes to use partial linking (lets test this now...)
12310
12311 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12312
12313         * Chktex.C:
12314         * buffer.C:
12315         remove #include "support/syscontr.h" as it's redundant. Always has been.
12316
12317         * Chktex.C:
12318         * LaTeX.C:
12319         * LyXSendto.C:
12320         * converter.C:
12321         * lyx_cb.C:
12322         * vc-backend.C:
12323         change Systemcalls::System to Systemcalls::Wait and
12324         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12325         No change of functionality, just reflects the stripped down Systemcalls
12326         class.
12327
12328 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12329
12330         * debug.[Ch]: add a GRAPHICS type to the enum.
12331
12332 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12333
12334         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12335
12336         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12337         there is an inset.
12338
12339 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12340
12341         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12342         match the changes below.
12343
12344         * text2.C (toggleInset): if there is not editable inset at cursor
12345         position, try to see if cursor is _inside_ a collapsable inset
12346         and close it.
12347
12348 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12349
12350         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12351         document menu has a nice checkbox
12352
12353 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12354
12355         * lyxlength.C (asLatexString): change PW to output as percent of
12356         \textwidth.
12357
12358         * lengthcommon.C: change '%' to 't%'
12359
12360         * lyxfunc.C (dispatch): a few comments from Martin
12361
12362 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12363
12364         * WorkArea.h:
12365         * WorkArea.C:
12366         * BufferView_pimpl.h:
12367         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12368           the X selection.
12369
12370 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * vspace.C (inPixels): fix compiler warning
12373
12374 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12375
12376         * lyxfunc.C (getStatus): fix status message for disabled commands.
12377
12378 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12379
12380         * BufferView_pimpl.C: fix crash on close buffer
12381         during selection (#227)
12382
12383 2002-01-27  Herbert Voss  <voss@lyx.org>
12384
12385         * buffer.C: link old Figure to new graphic inset
12386
12387 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12388
12389         * FontLoader.C (getFontinfo): Change the latex font names in order
12390         to match the names of type1inst.
12391
12392 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12395
12396         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12397         (extchanged): ditto
12398         (ext_exist): ditto
12399         (remove_files_with_extension): ditto
12400         (remove_file): ditto
12401         (write): ditto
12402
12403         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12404         document is smaller than the work area height. Do not initialize
12405         static variables to 0.
12406
12407 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12408
12409         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12410
12411         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12412         LFUN_LAYOUT_PARAGRAPHS.
12413
12414         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12415         tabular. It is possible to provide a possible cell, which will
12416         typically be the actcell from the corresponding insettabular
12417
12418         * lyxfunc.C (getStatus): small cleanup; disable
12419         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12420         true
12421
12422 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12423
12424         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12425
12426         * paragraph.C (startTeXParParams):
12427         (endTeXParParams): new methods. The LaTeX code to
12428         start/end paragraph formatting
12429         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12430         empty (fixes bug #200)
12431
12432         * vspace.C (inPixels): adapt to the change below
12433         (inPixels): [later] more cleanups (remove unused variables)
12434
12435         * lyxlength.C (inPixels): change to use a width and a height as
12436         parameter.
12437
12438 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12439
12440         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12441         Replaced with \paperwidth
12442
12443         * DepTable.C (insert): add std:: qualifier
12444
12445 2002-01-18  Allan Rae  <rae@lyx.org>
12446
12447         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12448         updated also?
12449
12450         * text.C (drawInset): Turned out I didn't know enough about how
12451         rebreaking worked.  This fixes most of the redraw problems.  I see
12452         an occasional cursor trail when a line is broken now and the cursor
12453         placement can seem out by a few pixels also after a rebreak.
12454
12455 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * buffer.C (parseSingleLyXformat2Token): update because minipage
12458         width is now a LyXLength
12459
12460         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12461
12462         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12463         math insets
12464
12465 2002-01-17  Juergen Vigna  <jug@sad.it>
12466
12467         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12468
12469         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12470         is set correctly and the inset is updated correctly.
12471
12472 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12475         the beginning of the loop.
12476
12477 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * lyxrc.C: improve help for use_scalable_fonts
12480
12481 2002-01-17  Allan Rae  <rae@lyx.org>
12482
12483         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12484
12485 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12486
12487         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12488         make sure to set their inset_owner to the right value (bug #171)
12489
12490 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12491
12492         * DepTable.h
12493         * DepTable.C: Implement mtime checking to reduce time spent doing
12494         CRCs.
12495
12496 2002-01-16  Juergen Vigna  <jug@sad.it>
12497
12498         * tabular.C (GetAdditionalHeight): one of error fixed.
12499
12500         * lyxrc.C (output): small fix in writing use_pspell.
12501
12502 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12503
12504         * sp_base.h: #include LString.h
12505
12506 2002-01-16  Allan Rae  <rae@lyx.org>
12507
12508         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12509         Can someone check this please?
12510
12511         * text.C (drawInset): It was possible that p.row would be removed by
12512         breakAgainOneRow upsetting a few other settings.  There may be another
12513         small tweak possible by setting need_break_row = 0 when p.row has been
12514         removed but I don't know enough about the logic here.
12515
12516 2002-01-15  Allan Rae  <rae@lyx.org>
12517
12518         * text.C (insertChar): removed conditional truism.
12519
12520         * BufferView2.C (removeAutoInsets): More tweaks.
12521         cur_par_prev could be a stray pointer.  Check for trailing empty line
12522         in case last line was cur_par and only had an error inset on it.
12523
12524 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12525
12526         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12527         absolute
12528
12529         * vc-backend.C (most methods):
12530         * exporter.C (Export):
12531         * converter.C (convert):
12532         (runLaTeX):
12533         * LyXSendto.C (SendtoApplyCB):
12534         * lyxfunc.C (dispatch):
12535         (menuNew):
12536         (open):
12537         (doImport):
12538         * lyx_cb.C (AutoSave):
12539         (InsertAsciiFile):
12540         * BufferView_pimpl.C (MenuInsertLyXFile):
12541         * buffer.C (runChktex): use Buffer::filePath().
12542
12543         * buffer.h: rename filename to filename_; rename filepath to
12544         filepath_ and make it private
12545         (filePath): new method
12546
12547         * buffer.C (writeFile): use fileName()
12548         (getLatexName):
12549
12550         * lyx_main.C (init): fix starting  of LyX when the binary is a
12551         link from so,ewhere else.
12552
12553         * minibuffer.C: include <cctype> for isprint
12554
12555 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12556
12557         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12558         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12559         name clash with InsetCollapsable's width function.
12560
12561 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * lastfiles.C: include <iterator>
12564
12565 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12566
12567         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12568         std::count.
12569
12570         * buffer.C (makeLaTeXFile): ditto.
12571         Also make loop operation more transparent.
12572
12573 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12574
12575         * ToolbarDefaults.C: remove trailing comma closing namespace.
12576
12577         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12578
12579         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12580         as in WorkArea.
12581
12582         * trans.C (Load): comment out unused variable, allowed.
12583
12584 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12585
12586         * minibuffer.[Ch] (append_char): new method to recieve input from the
12587         drop-down completion browser. If a key was pressed, then recieve this
12588         char and append it to the existing string.
12589         (peek_event): modify the positioning data passed to the completion
12590         browser so that it can be placed above the minibuffer rather than below.
12591 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12592
12593         * LyXAction.C (init): alloe error-next for readonly documents.
12594
12595         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12596         count.
12597
12598 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12599
12600         * bufferlist.C (readFile): create the buffer _after_ checking that
12601         the file exists.
12602
12603         * lyxfunc.C (verboseDispatch): fix handling of arguments
12604
12605         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12606
12607         * lyxrc.C: use string::erase() instead of initializing to "".
12608
12609
12610 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * BufferView_pimpl.h:
12613         * BufferView_pimpl.C:
12614         * WorkArea.h:
12615         * WorkArea.C:
12616         * text2.C: tell X when we have made a selection for copying
12617
12618 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12619
12620         * BufferView_pimpl.C (MenuInsertLyXFile):
12621         * lyxfunc.C (menuNew):
12622         (open):
12623         (doImport): add shortcuts to directory buttons
12624
12625         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12626         open a float)
12627
12628         * lyxfunc.C (setStatusMessage):
12629         (getStatusMessage): new methods
12630         (getStatus):use setStatusMessage instead of setErrorMessage
12631         (dispatch): when function is disabled, set error message here
12632         [instead of in getStatus previously]
12633
12634         * BufferView_pimpl.C (workAreaButtonRelease): update
12635         toolbar/menubar here too.
12636
12637 2002-01-13  Allan Rae  <rae@lyx.org>
12638
12639         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12640         Now seems indestructible.  Remaining task is to audit all other
12641         code affected by deleteEmptyParagraphMechanism.  One small quirk
12642         left is that an empty document with an error in the preamble can
12643         be made to report an error but no error box appears.  I don't know
12644         where it goes.
12645         (removeAutoInsets): Improved comments.
12646
12647 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * Thesaurus.h:
12650         * Thesaurus.C: update for Aiksaurus 0.14
12651
12652 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12653
12654         * text2.C (firstParagraph): removed member function, all uses
12655         replaces with ownerParagraph
12656         (redoParagraphs): here
12657         (updateInset): here
12658         (toggleAppendix): here
12659         * BufferView2.C (insertErrors): here
12660         (setCursorFromRow): here
12661
12662 2002-01-13  Allan Rae  <rae@lyx.org>
12663
12664         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12665         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12666         There is still a way to segfault this although you may have to do this
12667         multiple times: Have an InsetERT with an unknown command in it.
12668         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12669         <down-arrow>, <Enter> again, View->DVI, BANG!
12670
12671         * text2.C (setCursor):
12672         (deleteEmptyParagraphMechanism):
12673         * lyxtext.h (setCursor):
12674         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12675         Making use of the return value may help fix other bugs.
12676
12677 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12678
12679         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12680
12681         * LyXView.C (updateMenubar): call MenuBar::update here
12682         (updateToolbar): but not here
12683         (showState): do not update toolbar/menubar
12684
12685         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12686         should need to care about that.
12687
12688         * lyxfunc.C (verboseDispatch): simplify a bit
12689         (getStatus): have a version which takes a pseudoaction, and
12690         another which requires a (kb_action,string).
12691
12692         * LyXAction.C (retrieveActionArg): make it work also when action
12693         is not a pseudo-action.
12694         (getActionName): simplify a bit
12695         (helpText):
12696
12697 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12698
12699         * lyxfunc.C (verboseDispatch): new families of methods with
12700         several ways to specify a command and a bool to indicate whether
12701         the command name and shortcut should be displayed in minibuffer
12702         (eventually, we could extend that to a finer bitmask like
12703         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12704         (dispatch): the pristine dispatch command which just, well,
12705         dispatchs! Note it still sets its result to minibuffer; I'm not
12706         sure we want that.
12707
12708         * lyxfunc.h: remove setHintMessage
12709
12710         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12711
12712 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12713
12714         * BufferView_pimpl.C (specialChar): delete new inset if we have
12715         not been able to insert it.
12716
12717         * kbmap.C: revert to using int instead of kb_action, since all we
12718         are dealing with is pseudo-actions.
12719
12720         * LyXAction.C (searchActionArg): change to return int instead of
12721         kb_action, since the result is a pseudoaction.
12722
12723 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * buffer.C (insertErtContents): Fix (partially) the font bug.
12726
12727 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12728
12729         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12730         as the other one is broken on my machine!
12731
12732 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12733
12734         * commandtags.h:
12735         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12736
12737 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12738
12739         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12740         reflect their actual use. Provide compatibility code for older lyxrc
12741         files.
12742
12743         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12744         FL_NORMAL_STYLE.
12745         change names of popup font variables in line with the changes to lyxrc.C
12746
12747 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12748
12749         * buffer.C (asciiParagraph): avoid outputing a word twice after
12750         an inset.
12751
12752         * lyxrc.C (getDescription): document that document_path and
12753         template_path can be empty.
12754
12755 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12756
12757         * LaTeXFeatures.C (getMacros):
12758         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12759
12760         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12761
12762         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12763         getPackages.
12764         (getPackages): rename feature "floats" to "float". Use an array to
12765         iterate over 'simple' features (i.e. just a \usepackage). Add
12766         handling of "amsmath" (renamed from "amsstyle").
12767
12768 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12769
12770         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12771         features list.
12772
12773 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12774
12775         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12776         FuncStaus::FuncStatus & FuncStaus::some_method().
12777
12778 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12779
12780         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12781         of the func_satus stuff. Edited and massaged in various ways by
12782         JMarc.
12783
12784         * lyxfunc.C (getStatus): use FuncStatus
12785
12786 2002-01-08  Juergen Vigna  <jug@sad.it>
12787
12788         * text.C (nextBreakPoint): use function Inset::isChar().
12789
12790         * paragraph.C (TeXOnePar): use function
12791         Inset::forceDefaultParagraphs.
12792
12793         * buffer.C (latexParagraphs): use function
12794         Inset::forceDefaultParagraphs.
12795
12796 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12797
12798         * lyx_gui.C (init): set the style of the menu popups to
12799         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12800
12801 2002-01-07  Juergen Vigna  <jug@sad.it>
12802
12803         * text.C (setHeightOfRow): small fix
12804         (prepareToPrint): don't look at alignment if we don't have the place
12805         for doing it.
12806
12807 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12808
12809         * box.C: New file. Move the Box methods and functions out of box.h,
12810         following Lars' suggestion.
12811
12812 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12813
12814         * box.h: #include "support/LOstream.h", needed for inlined function.
12815
12816         * lyxtextclass.C:
12817         * lyxtextclasslist.C: added some using std declarations.
12818
12819 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12820
12821         * box.h: make signed dimensions to allow insets wider than
12822           the screen (bug #162)
12823
12824         * BufferView_pimpl.C: add some insetHit debug
12825
12826 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * vc-backend.C: add FIXME
12829
12830 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12831
12832         * lyxfunc.C (getStatus): enable code for showing math font status
12833         in toolbar/menu.
12834
12835 2002-01-07  Juergen Vigna  <jug@sad.it>
12836
12837         * text.C (nextBreakPoint): removed debug output not needed anymore.
12838
12839 2002-01-06  Juergen Vigna  <jug@sad.it>
12840
12841         * text.C (nextBreakPoint): fixed up this function we had this bug
12842         since ever but now hopefully we break row better.
12843         (insertChar): we have to check if an inset is the next char as it
12844         could now happen that a large inset is causing a break.
12845
12846 2002-01-05  Juergen Vigna  <jug@sad.it>
12847
12848         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12849         if it doesn't like to be drawed.
12850
12851 2002-01-04  Juergen Vigna  <jug@sad.it>
12852
12853         * BufferView2.C (lockInset): forgot to set a cursor.
12854
12855         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12856
12857 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12858
12859         * FormMathsPanel.C:
12860         * FormMathsPanel.h
12861         * MathsSymbols.C:
12862         * form_maths_panel.C:
12863         * form_maths_panel.h:
12864         * form_maths_panel.fd: implemented sub- and super- buttons in math
12865         panel.
12866
12867         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12868         (or ^ space) to be used as in TeX (req'd by André).
12869
12870         * lyxfunc.C: Allow ^ and _ again to be used both as
12871         super/subscript (mathed) and as themselves (in text).
12872
12873 2002-01-03  Allan Rae  <rae@lyx.org>
12874
12875         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12876         "LyX" or the filename of the current buffer if it has one.  This is a
12877         modified form of John Levon's patch.
12878
12879         * XFormsView.C (setWindowTitle): also set icon title.
12880
12881         * LyXView.h (setWindowTitle): signature changed.
12882         * XFormsView.h (setWindowTitle): ditto.
12883
12884 2002-01-02  Juergen Vigna  <jug@sad.it>
12885
12886         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12887
12888 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * screen.C (topCursorVisible): introduce a temp var for
12891         text->cursor.row(), handle the case where this row is null. (kindo
12892         hachish)
12893
12894         * text2.C (setCursor): add a couple of asserts.
12895
12896         * paragraph.h (inset_iterator): add -> operator
12897
12898         * paragraph.[Ch] (autoDeleteInsets): remove member function
12899
12900         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12901         cursor pos correctly and handle inset deletion by itself.
12902         (insertErrors): move iterator declaration out of for expression
12903
12904         * lyxtextclass.C: add <algorithm>
12905
12906         * Makefile.am: added the new files to sources, removed layout.C
12907
12908         * layout.C: removed file
12909
12910         * layout.h: remove LYX_DUMMY_LAYOUT
12911
12912         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12913         layout.
12914
12915         * lyxlayout.[Ch]:
12916         * lyxtextclass.[Ch]:
12917         * lyxtextclasslist.[Ch]: new files
12918
12919         * include order changes to a lot of files, also changes because of
12920         the six new files.
12921
12922 2001-12-27  Juergen Vigna  <jug@sad.it>
12923
12924         * buffer.C (asciiParagraph): more fixes.
12925
12926         * tabular.C (ascii): make ascii export support export of only the
12927         data separated by a column-delimiter.
12928         (ascii): better support for ascii export.
12929
12930         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12931
12932 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12933
12934         * tabular_funcs.C: use a "using std::getline" instead of the
12935         previous fix from Angus (necessary for cxx + lyxstring)
12936
12937 2001-12-24  Juergen Vigna  <jug@sad.it>
12938
12939         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12940
12941         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12942         problems. First check a minipage also if we have some ert-contents
12943         (not only on par->size(), second set the right depth of the paragraph
12944         on the relink to the root-paragraph-list!
12945
12946         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12947         which then did not anymore update the main paragraphs on undo/redo!
12948
12949 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12950
12951         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12952         code. Support all font-changing funcs (even those which are not in
12953         menu currently). Support for reporting font settings in
12954         mathed (disabled until Andre provides a function on mathed's side).
12955
12956         * func_status.h (toggle): small helper function to set toggle
12957         state on a flag.
12958
12959 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * tabular_funcs.C: getline -> std::getline
12962
12963 2001-12-21  Juergen Vigna  <jug@sad.it>
12964
12965         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12966         accessed and could be 0 (I couldn't generate this but it seems
12967         Michael could!).
12968
12969 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12972         * tabular_funcs.h: here and include iosfwd
12973
12974 2001-12-20  Juergen Vigna  <jug@sad.it>
12975
12976         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12977         inside inset but undo_par was.
12978
12979 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12980
12981         * Thesaurus.C: always include <config.h> in sources.
12982
12983         * Painter.h:
12984         * lyxlookup.h:
12985         * box.h: do not include <config.h> in header files
12986
12987         * text.C (paintLastRow): remove unused variable
12988
12989         * text.C (transformChar):
12990         (insertChar):
12991         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12992
12993         * Painter.C (text):
12994         * font.C (width): rewrite to use uppercase() instead of
12995         islower/toupper.
12996
12997         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12998
12999 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * lyxfind.C: clean up of find failure position change
13002
13003 2001-12-20  Juergen Vigna  <jug@sad.it>
13004
13005         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13006
13007         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13008         (TeXRow): added to LaTeX a single tabular row.
13009         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13010         (Latex): simplified and finally good LT-h/f support.
13011         (various_functions): just small adaptions for LT-h/f support.
13012
13013         * tabular_funcs.[hC]: added and moved here all not classfunctions
13014         of LyXTabular.
13015
13016 2001-12-19  Juergen Vigna  <jug@sad.it>
13017
13018         * tabular.[Ch]: better support for longtabular options (not finished
13019         yet!)
13020
13021 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13022
13023         * text.C (paintLastRow): use the label font instead of the font of
13024         the last character to compute the size of *_BOX. This makes more
13025         sense and avoids a crash with empty paragraphs.
13026         Use Painter::rectangle to draw EMPTY_BOX.
13027
13028 2001-12-19  Juergen Vigna  <jug@sad.it>
13029
13030         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13031         the paragraphs if the replaced paragraph is not the first one!
13032         Tried to delete not used paragraphs but does not work yet so for
13033         now it's inside #ifdef's and by default off!
13034
13035 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13036
13037         * MenuBackend.C: include "lyx_main.h" instead of declaring
13038         lastfiles (actually was declared as LastFiles* instead of a
13039         scoped_ptr).
13040
13041 2001-12-17  Juergen Vigna  <jug@sad.it>
13042
13043         * tabular.C (AppendColumn): applied John's fix
13044
13045 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13046
13047         * BufferView.h:
13048         * BufferView.C:
13049         * BufferView_pimpl.h:
13050         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13051
13052         * Makefile.am:
13053         * box.h: new start of class for above
13054
13055         * lyxfunc.C: ignore space-only minibuffer dispatches.
13056           Show the command name when it doesn't exist
13057
13058         * minibuffer.C: don't add empty lines to the history
13059
13060         * minibuffer.C: add a space on dropdown completion
13061
13062 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * text.C: fix line above/below drawing in insets
13065
13066 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * lyxlength.C (LyXLength): Initialize private variables.
13069
13070 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13071
13072         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13073         when inserting error insets.
13074
13075 2001-12-13  Juergen Vigna  <jug@sad.it>
13076
13077         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13078         actually sometimes the before-paragraph.
13079         (setUndo): don't clear the redostack if we're not actually undoing!
13080
13081 2001-12-06  Juergen Vigna  <jug@sad.it>
13082
13083         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13084         and fixed redoing of main paragraph, so we can use it now ;)
13085
13086         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13087
13088 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13089
13090         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13091         Juergen's request
13092
13093 2001-12-13  André Pönitz <poenitz@gmx.net>
13094
13095         * undostack.[Ch]:
13096         * undo_func.C: minor cleanup
13097
13098 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13099
13100         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13101         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13102         font in urw-fonts package which is marked as -urw-fontspecific and
13103         does not work (incidentally, changing the encoding in the
13104         fonts.dir of this package to -adobe-fontspecific fixes the
13105         problem).
13106
13107         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13108         is a crash when undoing first paragraph (Juergen, please take a
13109         look). THis does not mean the undo fix is wrong, just that it
13110         uncovers problems.
13111
13112         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13113         the (Paragraph*) version when needed instead of duplicating the
13114         code.
13115
13116         * text.C (workWidth): use Inset::parOwner to find out where the
13117         inset has been inserted. This is a huge performance gain for large
13118         documents with lots of insets. If Inset::parOwner is not set, fall
13119         back on the brute force method
13120
13121         * paragraph_pimpl.C (insertInset):
13122         * paragraph.C (Paragraph):
13123         (cutIntoMinibuffer): set parOwner of insets when
13124         inserting/removing them
13125
13126         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13127
13128 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13129
13130         * commandtags.h:
13131         * LyXAction.C:
13132         * lyx_main.C:
13133         * lyxfunc.C:
13134         * mathed/formulabase.C:
13135         * mathed/math_cursor.[Ch]:
13136         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13137
13138
13139 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * lyxlength.[Ch] (operator!=): new function
13142
13143 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13144
13145         * text.C (workWidth): use Inset::parOwner to find out where the
13146         inset has been inserted. This is a huge performance gain for large
13147         documents with lots of insets. If Inset::parOwner is not set, fall
13148         back on the brute force method
13149
13150         * paragraph_pimpl.C (insertInset):
13151         * paragraph.C (Paragraph):
13152         (cutIntoMinibuffer): set parOwner of insets when
13153         inserting/removing them
13154
13155         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13156
13157 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13158
13159         * tabular-old.C (getTokenValue):
13160         * tabular.C (getTokenValue):
13161         (write_attribute): new versions for LyXLength
13162         (everywhere): adjust the use of widths
13163
13164         * tabular.h: change the type of widths from string to LyXLength
13165
13166 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13167
13168         * paragraph.C: fixed missing line number count when exporting
13169         Environments to LaTeX file
13170
13171         * buffer.C: added informational message for checking line numbers.
13172
13173 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13174
13175         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13176         paragraph, do the 'double space' part, but not the 'empty
13177         paragraph' one.
13178
13179         * text.C (workWidth): small optimization
13180         (getLengthMarkerHeight): use minimal size for negative lengths.
13181
13182 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13185
13186         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13187
13188 2001-12-11  André Pönitz <poenitz@gmx.net>
13189
13190         * FontLoader.C:
13191         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13192
13193 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13194
13195         * text2.C: keep selection on a setFont()
13196
13197 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13198
13199         * lyx_cb.C: another bv->text misuse, from insert label
13200
13201 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * kbsequence.h:
13204         * kbsequence.C: re-instate nmodifier mask
13205
13206 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13207
13208         * lyx_main.h: make lyxGUI private.
13209
13210 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13211
13212         * lyxfind.C: place the cursor correctly on failed search
13213
13214 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13215
13216         * text.C (getLengthMarkerHeight): for small heights, the arrows
13217         are not always on top/bottom of the text
13218         (drawLengthMarker): smaller arrows; take the left margin in
13219         account; draw also vfills.
13220         (paintFirstRow):
13221         (paintLastRow): remove special code for vfill and standard spaces,
13222         since everything is handled in drawLengthMarker now.
13223
13224 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13225
13226         * buffer.C (insertErtContents): try to handle font and language
13227         interaction a bit better.g
13228
13229         * ColorHandler.C (updateColor): change the hash to cover the whole
13230         LColor enum, ws cleanup
13231         (getGCLinepars): ditto
13232         (getGCLinepars): only lookup in the linecache once.
13233
13234 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13235
13236         * iterators.C (operator++): Make the iterator more robust
13237
13238         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13239         (John's patch)
13240         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13241
13242 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13243
13244         * lyxtext.h:
13245         * text.C: better added space drawing
13246
13247 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * LyXView.C:
13250         * BufferView2.C: fix layout combo update on inset unlock
13251
13252 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13253
13254         * Makefile.am: don't compile unused files
13255
13256 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13257
13258         * lyxfunc.C:
13259         * commandtags.h:
13260         * LyXAction.C: remove old LFUN_LAYOUTNO
13261
13262 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13263
13264         * paragraph_pimpl.h:
13265         * paragraph_pimpl.C: isTextAt() doesn't need font param
13266
13267 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * lyxlex.h:
13270         * lyxlex.C: little cleanup
13271
13272 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13273
13274         * BufferView_pimpl.C: fix insertAscii for insets
13275
13276 2001-12-05  Juergen Vigna  <jug@sad.it>
13277
13278         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13279         set the right font on the "multi" paragraph paste!
13280
13281 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * trans_decl.h:
13284         * trans_mgr.[Ch]:
13285         * trans.[Ch]:
13286         * lyxgluelength.C:
13287         * lyxlength.C: remove out-commented code.
13288
13289         * BufferView_pimpl:
13290         * CutAndPaste.C:
13291         * DepTable.C:
13292         * buffer.C:
13293         * chset.C:
13294         * lastfiles.C:
13295         * lyxlex.C:
13296         * lyxlex_pimpl.C:
13297         * lyxserver.C:
13298         * screen.C:
13299         * tabular-old.C:
13300         * tabular.C:
13301         * text.C:
13302         * trans_mgr.C:
13303         * vc-backend.C: change "while(" to "while ("
13304
13305         * lyxlength.[Ch]: add zero function to check if length is zero or
13306         not
13307         * lyxgluelength.C: use it
13308
13309 2001-12-05  Allan Rae  <rae@lyx.org>
13310
13311         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13312         Works for 2.95.3, from what I understand of Garst's reports this should
13313         work for other g++ versions.  We're screwed if the abs(int) definition
13314         changed between bugfix releases of gcc.
13315
13316 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * text.C: fix chapter label offset !
13319
13320 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13321
13322         * lyxtext.h:
13323         * text.C: fix hfill at end of line, clean up
13324
13325 2001-12-04  Juergen Vigna  <jug@sad.it>
13326
13327         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13328         that we force an update of the inset and it's owners if neccessary.
13329
13330 2001-12-03  Juergen Vigna  <jug@sad.it>
13331
13332         * text.C (rowLast): simplified code
13333
13334 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13335
13336         * lyxfunc.C: fix show options on timeout
13337
13338 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * screen.C (topCursorVisible): scroll half a page when the cursor
13341         reached top of bottom of screen
13342
13343 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13344
13345         * minibuffer.C: deactivate on loss of focus
13346
13347 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * vspace.[Ch] (operator!=): add operator.
13350
13351 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13352
13353         * BufferView_pimpl.C: refuse to open an inset when
13354         there's a selection.
13355
13356 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13357
13358         * BufferView_pimpl.C: allow to click on RHS of full row insets
13359
13360 2001-11-30  Juergen Vigna  <jug@sad.it>
13361
13362         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13363         insets for undo reasons.
13364
13365 2001-11-28  André Pönitz <poenitz@gmx.net>
13366
13367         * vspace.[Ch]: cosmetical changes
13368
13369 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13370
13371         * LyXAction.h:
13372         * LyXAction.C:
13373         * lyxfunc.h:
13374         * lyxfunc.C:
13375         * kbmap.h:
13376         * kbmap.C:
13377         * lyxrc.C:
13378         * kbsequence.h:
13379         * kbsequence.C: part re-write of old kb code
13380
13381         * Painter.C:
13382         * WorkArea.C: remove Lgb_bug_find_hack
13383
13384 2001-11-30  José Matos <jamatos@fep.up.pt>
13385
13386         * buffer.C (makeDocBookFile): add a comment to point a hack.
13387         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13388         Fixed a double write of labels.
13389
13390 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13391
13392         * LaTeX.C:
13393         * LaTeX.h Fixed bug in LaTeX class where it would not
13394         re-run latex if no depfiles were changed, but the .dvi was removed.
13395
13396 2001-11-28  André Pönitz <poenitz@gmx.net>
13397
13398         * all the files from the change on 2001/11/26:
13399         use lyx::layout_type instead of LyXTextClass::size_type
13400         use lyx::textclass_type instead of LyXTextClassList::size_type
13401
13402 2001-11-29  Juergen Vigna  <jug@sad.it>
13403
13404         * text.C: added support for paragraph::isFreeSpacing()
13405
13406         * buffer.C: same as above
13407
13408         * paragraph.h: inserted isFreeSpacing() function to enable
13409         FreeSpacing inside InsetERT.
13410
13411         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13412         of the paragraph's in the cut/copy buffer to 0!
13413
13414         * text2.C (removeRow): remove the assert as it can!
13415
13416         * lyxtext.h: added helper function firstRow returning firstrow and
13417         made firstrow private again.
13418
13419         * BufferView2.C (lockInset): don't relock if we're already locked!
13420
13421         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13422         the only paragraph.
13423         (removeRow): added Assert::(firstrow)
13424
13425         * debug.C: forgot to add INSETTEXT here.
13426
13427 2001-11-28  Juergen Vigna  <jug@sad.it>
13428
13429         * sp_spell.C (initialize): changed error text to more general
13430         spellchecker command use (not only ispell!)
13431
13432         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13433
13434         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13435
13436 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13437
13438         * vspace.C: initialise lyxgluelength on failure
13439
13440 2001-11-28  Allan Rae  <rae@lyx.org>
13441
13442         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13443         declaration & definition that looks like a function declaration.
13444
13445 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13446
13447         * BufferView2.C (copy):
13448         (copyEnvironment): do not clear the selection when doing a copy.
13449
13450         * text.C (paintFirstRow): compilation fix
13451
13452 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13453
13454         * tabular.C (Latex): correct line count when writing latex.
13455
13456 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * paragraph_pimpl.h:
13459         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13460           bug a bit
13461
13462 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * text.C:
13465         * LColor.h:
13466         * LColor.C: change vfillline->added_space
13467
13468         * text.C: add markers and text for added space
13469
13470         * vspace.C: fix comment
13471
13472 2001-11-28  André Pönitz <poenitz@gmx.net>
13473
13474         * paragraph.C: whitespace changes
13475         * all the other files from the change on 2001/11/26:
13476         change *::pos_type into lyx::pos_type
13477
13478 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13479
13480         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13481         language of the document when inserting error insets.
13482
13483 2001-11-26  André Pönitz <poenitz@gmx.net>
13484
13485         * BufferView_pimpl.[Ch]:
13486         *       CutAndPaste.C:
13487         * buffer.[Ch]:
13488         * lyxcursor.[Ch]:
13489         * lyxfind.C:
13490         * lyxfunc.C:
13491         * lyxrow.[Ch]:
13492         * paragraph.[Ch]:
13493         * paragraph_pimpl.[Ch]:
13494         * sp_spell.C:
13495         * text.C:
13496         * text2.C: reduce header dependencies, introduce type for positions
13497
13498 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13499
13500         * <various>: change to use Alert.h
13501
13502 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13503
13504         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13505         when encountering an unknown token.
13506         (readLyXformat2): Show an error message if there were unknown tokens.
13507
13508 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13509
13510         * BufferView2.C:
13511         * BufferView_pimpl.C:
13512         * buffer.C:
13513         * paragraph.h:
13514         * text.C:
13515         * text2.C: use par->isInset()
13516
13517 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * paragraph_pimpl.h:
13520         * paragraph_pimpl.C: cleanup
13521
13522 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * text2.C (removeRow):
13525         * text.C (setHeightOfRow): remove useless (and costly) call to
13526         getRow.
13527
13528 2001-11-20  Allan Rae  <rae@lyx.org>
13529
13530         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13531         Now need Inset*::checkInsertChar() to return true for appropriate
13532         cases so that the characters in the minibuffer will actually be
13533         inserted.
13534
13535 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * text.C: change the order of the includes.
13538         (workWidth): initialize it at once.
13539         (workWidth): make maxw unsigned
13540         (setHeightOfRow): remove unused variable (inset)
13541         (selectSelectedWord): remove unused variable (inset)
13542         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13543
13544 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13545
13546         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13547         server is not running.
13548         (openConnection):
13549         (closeConnection): add debug info when server is disabled.
13550
13551         * ColorHandler.C (getGCForeground): send debug message to GUI
13552         channel.
13553
13554         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13555
13556         * kbmap.C (bind): modify because return conventions of
13557         kb_sequence::parse have changed.
13558
13559         * kbsequence.C (parse): only ignore spaces and not any stupid
13560         control character. This avoids tests like s[i] <= ' ', which are
13561         guaranteed to fail with 8bit characters and signed chars.
13562         Change return code to string::npos when there have been no error
13563         (0 was a bad idea when error is at first character)
13564
13565 2001-11-14  José Matos  <jamatos@fep.up.pt>
13566
13567         * buffer.h:
13568         * buffer.C (simpleDocBookOnePar): removed unused argument.
13569
13570 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13571
13572         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13573         insets which are part of a word. Paragraph::isLetter takes care of
13574         that now. Use Paragraph::isInset to identify insets.
13575         (selectSelectedWord): do not test for hyphenation break.
13576
13577         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13578         that protected spaces are considered as spaces.
13579
13580         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13581         Inset::isLetter.
13582
13583 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * lyxserver.h:
13586         * lyxserver.C: fix it. and small cleanup.
13587
13588 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * BufferView_pimpl.C: use inline helpers
13591
13592         * LaTeXFeatures.h:
13593         * LaTeXFeatures.C: fix typos
13594
13595         * Spacing.h:
13596         * Spacing.C: move spacing_string into class
13597
13598         * ToolbarDefaults.C: move stuff into namespace anon
13599
13600         * layout.h: update enum
13601
13602         * lyxfunc.C: use better debug
13603
13604         * minibuffer.h: fix typo
13605
13606         * debug.h:
13607         * debug.C:
13608         * WorkArea.C: add and use Debug::WORKAREA
13609
13610         * lyxtext.h:
13611         * text.C:
13612         * text2.C: code re-organisation, inline helpers
13613
13614 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13615
13616         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13617         std::vector.empty().
13618
13619 2001-11-09  Allan Rae  <rae@lyx.org>
13620
13621         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13622         '\n's after tables.  Tabular and ERT inset work now makes this no
13623         longer necessary.
13624
13625 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * minibuffer.h:
13628         * minibuffer.C: fix crash, improve drop-down completion
13629
13630 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * lyxserver.h:
13633         * lyxserver.C: invalidate fd's when doing endPipe()
13634
13635 2001-11-08  José Matos  <jamatos@fep.up.pt>
13636
13637         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13638         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13639
13640         * paragraph.h:
13641         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13642
13643 2001-11-07  José Matos  <jamatos@fep.up.pt>
13644
13645         * buffer.h:
13646         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13647         const qualifier.
13648
13649         * buffer.C (sgmlOpenTag):
13650         * buffer.C (sgmlCloseTag): removed debug info.
13651
13652         * buffer.h (sgmlOpenTag):
13653         * buffer.h (sgmlCloseTag): made public.
13654
13655 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * buffer.C (saveParamsAsDefaults):
13658         * lyx_cb.C (MenuLayoutSave): remove
13659
13660         * LyXAction.C (init):
13661         * commandtags.h:
13662         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13663
13664 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13665
13666         * buffer.C (setPaperStuff): removed from here...
13667
13668         * bufferparams.C (setPaperStuff): ... and moved there.
13669
13670 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * minibuffer.h:
13673         * minibuffer.C:
13674         * XFormsView.C: add support for drop-down completion
13675
13676 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13677
13678         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13679         commands.
13680
13681 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13682
13683         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13684         disabled.
13685
13686 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13687
13688         * lyx_main.C: change ref to known bugs
13689
13690 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13691
13692         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13693         to work around older babel problems.
13694
13695 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13696
13697         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13698
13699 2001-10-24  Juergen Vigna  <jug@sad.it>
13700
13701         * tabular-old.C (ReadOld): below variable changes reflected.
13702
13703         * tabular.[Ch]: added ltType struct for longtable header/footer
13704         defines and changed all instances where they are used. Added
13705         future support for double top/bottom rows.
13706
13707 2001-10-24  José Matos  <jamatos@fep.up.pt>
13708
13709         * buffer.h (docbookHandleCaption):
13710         * buffer.C (docbookHandleCaption): removed unused function.
13711         (makeDocBookFile): moved docbook supported version to v4.1.
13712
13713 2001-10-24  José Matos  <jamatos@fep.up.pt>
13714
13715         * tabular.h:
13716         * tabular.C (docbookRow): new function to export docbook code of a row.
13717         (DocBook): now honors the longtable flags.
13718
13719 2001-10-23  José Matos  <jamatos@fep.up.pt>
13720
13721         * LaTeXFeatures.h:
13722         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13723         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13724
13725         * buffer.C (makeLinuxDocFile):
13726         (makeDocBookFile): reworked the preamble, more clean, and with
13727         support for lyx defined entities. Changed the document declaration
13728         to be more XML friendly.
13729
13730         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13731         if we need to output XML that should be done with a filter.
13732
13733 2001-10-22  Juergen Vigna  <jug@sad.it>
13734
13735         * sp_pspell.h (class PSpell): add alive function needed in the
13736         controller to see if the spellchecker could be started.
13737
13738 2001-10-22  Juergen Vigna  <jug@sad.it>
13739
13740         * buffer.C (insertStringAsLines): modify the font for inserting
13741         chars in certain conditions by calling checkInsertChar(font).
13742
13743 2001-10-19  Juergen Vigna  <jug@sad.it>
13744
13745         * text.C (workWidth): use getRow instead of wrong algorithm.
13746         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13747
13748 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13749
13750         * lyxserver.h:
13751         * lyxserver.C:
13752         * lyx_main.h:
13753         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13754
13755 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13756
13757         * text.C (workWidth): do not search for the exact row when
13758         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13759         optimization for big documents.
13760
13761 2001-10-18  Juergen Vigna  <jug@sad.it>
13762
13763         * text.C (workWidth): new function with added Inset * parameter.
13764
13765 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13766
13767         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13768
13769         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13770         change return type of getColumnNearX.
13771
13772
13773         * text.C (changeRegionCase): use uppercase/lowercase instead of
13774         toupper/tolower.
13775         (leftMargin):
13776         (rightMargin): simplify code by factoring out the uses of
13777         textclasslist.
13778         (labelFill):
13779         (numberOfHfills):
13780         (setHeightOfRow):
13781         (appendParagraph): use Paragraph::size_type
13782
13783 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * vspace.C (asLatexString): add a missing break
13786
13787 2001-10-15  Herbert Voss  <voss@perce.de>
13788
13789         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13790
13791 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13792
13793         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13794         is not available.
13795
13796 2001-10-10  André Pönitz <poenitz@gmx.net>
13797
13798         * lyxfunc.C: removed greek_kb_flag.
13799
13800 2001-10-10  Herbert Voss  <voss@perce.de>
13801
13802         * lyx_main.C: delete global string help_lyxdir.
13803
13804 2001-10-09  Herbert Voss  <voss@perce.de>
13805
13806         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13807
13808         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13809
13810         * lyx_main.C: added global string help_lyxdir.
13811
13812         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13813
13814 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13815
13816         * lyxrc.C (set_font_norm_type): support iso8859-4
13817
13818 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13819
13820         * LaTeX.C (deplog): add another regex for MikTeX
13821
13822 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13823
13824         * lyxrc.C (set_font_norm_type): support iso8859-3
13825
13826 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13827
13828         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13829
13830         * LaTeXFeatures.C: remove special case of french and index
13831
13832         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13833         before \begin{document}). This solves several incompatibilities.
13834
13835 2001-10-03  Garst Reese  <reese@isn.net>
13836
13837         * lyx_cb.C: change CheckTex error msg.
13838
13839 2001-10-03  José Matos  <jamatos@fep.up.pt>
13840
13841         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13842
13843 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13844
13845         * .cvsignore: update
13846
13847         * lyx_main.C (commandLineVersionInfo): use new style version info.
13848
13849         * buffer.C (writeFile):
13850         (makeLaTeXFile):
13851         (makeLinuxDocFile):
13852         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13853
13854         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13855
13856         * version.h: update to use stuff in version.C
13857
13858         * version.C.in: new file. Contains version information determined
13859         at compile time. This is a merging of version.h and
13860         version_info.h.in.
13861
13862 2001-10-03  Juergen Vigna  <jug@sad.it>
13863
13864         * BufferView_pimpl.C (update): don't change "dirty" status in
13865         updateInset call.
13866
13867 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13868
13869         * WorkArea.C (c-tor): re-position version string slightly.
13870
13871 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13872
13873         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13874         revert to previous code.
13875
13876         WorkArea.[Ch]: (show, destroySplash): methods removed.
13877
13878         WorkArea.C: rework code so that it's an amalgam of the codes before and
13879         after the splash screen was moved to WorkArea.
13880
13881 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13882
13883         * lyxrc.C (read):
13884         * vspace.C (inPixels):
13885         (lyx_advance):
13886         * kbmap.C (bind):
13887         * buffer.C (insertStringAsLines):
13888         (asciiParagraph): fix types to be large enough
13889
13890         * lyxlex_pimpl.h: change member status from short to int
13891
13892         * layout.h: fix type of endlabeltype
13893
13894         * kbmap.C (bind):
13895         * kbsequence.C (parse): change return type to string::size_type
13896
13897         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13898         variable
13899
13900         * Bullet.C (bulletSize):
13901         (bulletEntry): do not use short ints as parameters
13902
13903         * BufferView2.C (insertLyXFile): change a char to an int.
13904
13905         * WorkArea.C (WorkArea): remove unneeded floats in computation
13906
13907 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13908
13909         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13910
13911         * paragraph.C (asString): Do not ignore newline/hfill chars when
13912         copying to the clipboard.
13913
13914 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13915
13916         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13917         after a multi-line inset.
13918
13919 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13920
13921         * paragraph.C (validate): Set NeedLyXFootnoteCode
13922
13923 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13924
13925         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13926         and decrease-error to decrease.
13927
13928 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13929
13930         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13931         it more readable (should be equivalent)
13932
13933 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13934
13935         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13936
13937 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13938
13939         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13940         of a cursor (row, etc.) after a character has been deleted
13941         (deleteEmptyParagraphMechanism): call the method above on _all_
13942         cursors held by the LyXText when a double space has been
13943         detected/deleted.
13944
13945 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13946
13947         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13948         pixmap.
13949         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13950
13951         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13952         background. Use greyOut() and the new show() methods to toggle between
13953         the foreground and background. Add code to remove the splash after
13954         its initial showing.
13955
13956         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13957         (create_forms): no longer call Dialogs::showSplash.
13958
13959 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13960
13961         * .cvsignore: add version_info.h
13962
13963 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13964
13965         * version_info.h.in: new file
13966
13967         * Makefile.am: add version_info.h.in
13968
13969         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13970         version_info.h instead of VERSION_INFO
13971
13972 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13973
13974         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13975         The ERT inset now returns string().
13976
13977 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13978
13979         * lyxtext.h, text.C (selectNextWord): renamed as
13980         selectNextWordToSpellcheck.
13981
13982         * text.C (selectNextWordToSpellcheck): Modified to not select
13983         words inside an ERT inset.
13984
13985 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13986
13987         * lyx_cb.C (MenuLayoutSave): change a bit the question
13988
13989         * sp_base.h: include <sys/types.h>
13990
13991 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13992
13993         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13994
13995 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13996
13997         * several files: fix typos in user-visible strings
13998
13999 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * text2.C (pasteSelection): do not set the selection, since it
14002         will be cleared later. Actually, the intent was to fix the way the
14003         selection was set, but I figured rmoving the code was just as good.
14004
14005 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14006
14007         * FontLoader.C (available): Check if font is available without
14008         loading the font.
14009
14010 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14011
14012         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14013
14014 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14015
14016         * lyxrc.[Ch]: added display_graphics variable and associated code.
14017
14018 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14019
14020         * bufferparams.C (hasClassDefaults): new method. Returns true if
14021         the buffer parameters correspond to known class defaults
14022
14023 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14024
14025         * XFormsView.C (show): set minimum size to the main window.
14026
14027 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14028
14029         * text2.C (copySelection):
14030         (cutSelection):
14031         * lyxfind.C (LyXReplace):
14032         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14033         LyXText::selectionAsString.
14034
14035         * paragraph.C (asString): add "label" argument to the second form
14036
14037         * text2.C (selectionAsString): add "label" argument and pass it to
14038         Paragraph::asString.
14039
14040 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * lyx_main.C (commandLineHelp): remove version information
14043
14044 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14045
14046         * lyx_main.C: add -version commandline option
14047
14048 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14049
14050         * paragraph.h: make the optional constructor arg required instead.
14051         some modifications to other files because of this.
14052
14053         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14054
14055         * lyxserver.C (C_LyXComm_callback): make it static
14056
14057         * lyx_main.C (error_handler): make it static
14058
14059         * lyx_gui.C (LyX_XErrHandler): make it static
14060
14061         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14062
14063         * WorkArea.C: make the extern "C" methods static.
14064
14065         * Makefile.am (lyx_LDADD): simplify
14066
14067 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14068
14069         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14070         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14071
14072         * LyXAction.C (init):
14073         * lyxfunc.C (dispatch): associated code removal.
14074
14075 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14076
14077         * lyxfont.h (isSymbolFont): shut off warning
14078
14079         * text.C (setHeightOfRow):
14080         (getVisibleRow): fix crash with empty paragraphs which have a
14081         bottom line
14082
14083 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14084
14085         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14086         code.
14087
14088 2001-09-04  José Matos  <jamatos@fep.up.pt>
14089         * buffer.C
14090         * buffer.h
14091         * tabular.C (docbook): rename docBook method to docbook.
14092
14093 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14094
14095         * Makefile.am: add dependencies to main.o.
14096
14097 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14098
14099         * FontLoader.C (available): Return false if !lyxrc.use_gui
14100
14101 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14102
14103         * FontInfo.C (query):
14104         * converter.C (view):
14105         * importer.C (Import):
14106         * exporter.C (Export): Can not -> cannot.
14107
14108 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * BufferView_pimpl.C: allow to create index inset even if
14111           string is empty
14112
14113 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14114
14115         * buffer.C (getLists): replace boost::tie code with an explicit pair
14116         as boost::tie can break some compilers.
14117
14118         * iterators.h: Added a std:: declaration to the return type of
14119         ParIterator::size.
14120
14121 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14124           case.
14125
14126 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * iterators.[Ch]: New files. Provide paragraph iterators.
14129
14130         * buffer.C (changeLanguage): Use paragraph iterators.
14131         (isMultiLingual): ditto
14132
14133         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14134
14135 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14136
14137         * FontLoader.C: Support for cmr font.
14138
14139 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14140
14141         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14142         (available): New method.
14143
14144         * FontInfo.C (getFontname): Use scalable fonts even when
14145         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14146         found.
14147
14148 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14149
14150         * converter.C (Formats::view): reverted! Incorrect fix.
14151
14152 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14153
14154         * converter.C (Formats::view): only output the -paper option
14155         if the dvi viewer is xdvi, thereby fixing bug #233429.
14156
14157 2001-08-23  Herbert Voss  <voss@perce>
14158
14159         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14160
14161 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14162
14163         * Spacing.h (Spacing): Set space to Default on in the default
14164         constructor.
14165
14166 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14167
14168         * vc-backend.h (RCS::versionString): add RCS to version
14169         (CVS::versionString): add CVS to version
14170
14171         * vc-backend.C (scanMaster): do not add CVS to version.
14172         (scanMaster): do not add RCS to version
14173
14174         * lyxvc.C (versionString): new method
14175
14176         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14177
14178 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14179
14180         * Spacing.C (set): initialize fval
14181
14182 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14183
14184         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14185         " or \.
14186
14187 2001-08-16  Juergen Vigna  <jug@sad.it>
14188
14189         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14190
14191 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14192
14193         * BufferView_pimpl.C:
14194         * figureForm.C:
14195         * lyxtext.h:
14196         * text2.C: setParagraph takes linespacing now
14197
14198 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * LyxAction.C: add internal LFUN_CITATION_INSERT
14201
14202         * LyXView.C: actually apply fix
14203
14204         * bufferlist.C: fix open non-existent file
14205
14206         * lyxfind.C: fix indentation
14207
14208         * lyxfunc.C: remove unneeded assert, fix typo
14209
14210 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14211
14212         * MenuBackend.C: use "Floatname List"
14213
14214 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14215
14216         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14217         when converting LaTeX layout to insetERT.
14218         Generate a non-collapsed float when reading old float
14219
14220 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14221
14222         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14223         ERT insets.
14224
14225 2001-08-13  Juergen Vigna  <jug@sad.it>
14226
14227         * text.C (fill): return 0 instead of 20 as this seems to be the more
14228         correct value.
14229
14230 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14231
14232         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14233         lyxrc.font_norm.
14234
14235 2001-08-13  Juergen Vigna  <jug@sad.it>
14236
14237         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14238         casesensitive off.
14239         (SearchBackward): comment out the unlocking of the inset_owner this
14240         should not be needed!
14241
14242 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * Many files: Remove inherit_language, and add latex_language
14245
14246         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14247         collapsible insets.
14248
14249 2001-08-10  Juergen Vigna  <jug@sad.it>
14250
14251         * text.C (prepareToPrint): fixed hfill-width in draw!
14252
14253         * BufferView2.C (selectLastWord): save the selection cursor as this
14254         now is cleared in the function LyXText::clearSelection!
14255
14256 2001-08-08  Juergen Vigna  <jug@sad.it>
14257
14258         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14259         BACKSPACE type functions.
14260
14261         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14262         is only cutted from the document but not put in the cut-buffer, where
14263         still the old stuff should be.
14264
14265         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14266
14267         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14268
14269         * tabular.C (SetWidthOfCell): fixed special case where the width
14270         was not updated!
14271         (LeftLine): handle '|' in align_special.
14272         (RightLine): ditto
14273         (LeftAlreadyDrawed): ditto
14274         (SetWidthOfCell): ditto
14275
14276 2001-08-07  Juergen Vigna  <jug@sad.it>
14277
14278         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14279
14280 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14281
14282         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14283         * lyxlex.[hC]: ditto
14284
14285 2001-08-06  Juergen Vigna  <jug@sad.it>
14286
14287         * text.C (getVisibleRow): fix up row clearing a bit.
14288
14289 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * minibuffer.C: make sure the X server sees the changes in the input.
14292
14293 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14294
14295         * paragraph.C (getFont): split into...
14296         (getLabelFont): this
14297         (getLayoutFont): and this
14298         * paragraph_pimpl.C (realizeFont): calling this
14299
14300         * text2.C (getFont): split into...
14301         (getLayoutFont): this
14302         (getLabelFont): and this
14303         (realizeFont): all three calling this
14304
14305         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14306         files where used.
14307
14308 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14309
14310         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14311
14312 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14313
14314         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14315         layouts from the Quote inset insertion.
14316
14317 2001-08-03  Juergen Vigna  <jug@sad.it>
14318
14319         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14320
14321         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14322         only if status not is already CHANGED_IN_DRAW (second level).
14323
14324         * text.C (draw): don't set the need_break_row when inside an
14325         InsetText LyXText.
14326
14327 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * buffer.C (parseSingleLyXformat2Token): handle more latex
14330         conversion cases.
14331
14332         * bufferview_funcs.[hC]: change function names to
14333         begin with small char, adjust other files.
14334
14335 2001-08-02  André Pönitz <poenitz@gmx.net>
14336
14337         * lyxfunc.C:
14338         BufferView_pimpl.C: remove broken special code for math-greek
14339
14340 2001-08-02  Juergen Vigna  <jug@sad.it>
14341
14342         * BufferView_pimpl.C (update): redone this function so that we
14343         update the text again if there was a CHANGE_IN_DRAW.
14344
14345         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14346         (drawFromTo): added a new internal bool which is used by draw() and
14347         redraw() function.
14348         (general): some cursor drawing problems fixed.
14349
14350 2001-08-01  Juergen Vigna  <jug@sad.it>
14351
14352         * lyxfind.C (LyXFind): fixed
14353         (SearchForward): ditto
14354         (SearchBackward): ditto
14355
14356         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14357         spurius drawing of the cursor in the main area.
14358
14359         * text2.C (status): small fix which could lead to a segfault!
14360         (clearSelection): remove unneeded BufferView param.
14361
14362 2001-08-01  André Pönitz <poenitz@gmx.net>
14363
14364         * lyxfunc.C: small change due to changed mathed interface
14365
14366 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14369
14370 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14371
14372         * lyxfunc.c: fail gracefully if file doesn't exist
14373
14374         * LyXSendto.C:
14375         * buffer.C:
14376         * lyxfunc.C:
14377         * BufferView_pimpl.C: IsDirWriteable() proto changed
14378
14379         * LyXView.C: fix updateWindowTitle() to store the last title
14380
14381 2001-07-31  Juergen Vigna  <jug@sad.it>
14382
14383         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14384         the font (wrong since using of Paragraph::highestFontInRange).
14385
14386         * paragraph.C (highestFontInRange): added a default_size parameter.
14387
14388         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14389         (setHeightOfRow): reformat
14390
14391 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14392
14393         * converter.[hC] + affected files: move to (inital-char)lowercase
14394         function names.
14395
14396         * ParagraphParameters.C (ParagraphParameters): remove commented code
14397
14398         * PainterBase.[Ch]: remove commented code
14399
14400         * LaTeXFeatures.h: add "bool floats" for float.sty
14401
14402         * LaTeXFeatures.C (LaTeXFeatures): init floats
14403         (require): handle float
14404         (getPackages): do it with floats
14405
14406 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * BufferView_pimpl.C (Dispatch): improve handling of
14409         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14410
14411         * commandtags.h: #include lyxfont.h here temporarily to avoid
14412         keybinding bug.
14413
14414         * bufferlist.h: include LString.h here.
14415
14416 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14417
14418         * text2.C (getStringToIndex): new method.
14419
14420 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14421
14422         * *: Reduced header file dependencies all over.
14423
14424 2001-07-30  Baruch Even  <baruch@lyx.org>
14425
14426         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14427
14428 2001-07-29  Baruch Even  <baruch@lyx.org>
14429
14430         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14431
14432 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14433
14434         * ParameterStruct.h (endif): add a default constructor to make
14435         sure that all variables is initialized.
14436
14437         * ParagraphParameters.C (ParagraphParameters): adjust
14438
14439 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14440
14441         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14442         index; also, check that there is something to index, and that it
14443         does not span over several paragraphs.
14444         (doubleClick): use WHOLE_WORD_STRICT for double click.
14445
14446         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14447
14448         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14449         scheme.
14450
14451 2001-07-26  Baruch Even  <baruch@lyx.org>
14452
14453         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14454         an InsetFig figure, backwards compatible reading of old figure code.
14455
14456 2001-07-27  Juergen Vigna  <jug@sad.it>
14457
14458         * text2.C: font.realize function adaption.
14459
14460         * text.C (draw): add a warnings lyxerr text if needed.
14461
14462         * layout.C: font.realize function adaption.
14463
14464         * language.C: add inherit_language and implement it's handlings
14465
14466         * bufferview_funcs.C (StyleReset): remove language parameter from
14467         font creation (should be language_inherit now).
14468
14469         * bufferparams.C (writeFile): handle ignore_language.
14470
14471         * paragraph.C (getFontSettings): the language has to be resolved
14472         otherwise we have problems in LyXFont!
14473
14474         * lyxfont.C (lyxWriteChanges): added document_language parameter
14475         (update): removed unneeded language parameter
14476
14477         * paragraph.C (validate): fixed wrong output of color-package when
14478         using interface colors for certain fonts in certain environments,
14479         which should not seen as that on the final output.
14480
14481 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * BufferView_pimpl.C:
14484         * Thesaurus.h:
14485         * Thesaurus.C:
14486         * Makefile.am:
14487         * commandtags.h:
14488         * LyXAction.C: add thesaurus support
14489
14490         * lyxfind.h:
14491         * lyxfind.C: add "once" parameter, for thesaurus, to not
14492           move to the next match
14493
14494 2001-07-26  Juergen Vigna  <jug@sad.it>
14495
14496         * lyxfont.C (realize): honor ignore_language too!
14497         (resolved): ditto.
14498
14499         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14500
14501         * text.C (draw): one place more for ignore_language to not draw
14502         itself!
14503
14504 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14505
14506         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14507
14508 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14509
14510         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14511         the minipage conversion problem.
14512
14513 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14516         insert an inset.
14517
14518 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14519
14520         * BufferView.h: don't forward declare WorkArea
14521
14522         * BufferView.C: don't include WorkArea.h
14523
14524 2001-07-25  André Pönitz <poenitz@gmx.net>
14525
14526         * commandtags.h:
14527         * LyXAction.C:
14528         * lyxfunc.C:  new LFUN 'math-space'
14529
14530         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14531
14532 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14533
14534         * text2.C (toggleInset): call open/close
14535
14536 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14537
14538         * lyxfunc.C (dispatch): add debug for the disabled case
14539
14540         * font.C (buttonText): make similar to rectText
14541
14542         * buffer.C (readInset): comment out parsing of insetlist and
14543         insttheorem
14544
14545         * PainterBase.C (rectText): small correction
14546
14547         * BufferView_pimpl.C: comment out insettheorem and insetlist
14548         * LyXAction.C: ditto
14549         * commandtags.h: ditto
14550
14551 2001-07-24  Juergen Vigna  <jug@sad.it>
14552
14553         * text.C (draw): honor the ignore_language.
14554
14555         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14556
14557 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14558
14559         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14560         char inset.
14561
14562 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14563
14564         * lyxtext.h: remove unused (and unimplemented) methods
14565
14566 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14567
14568         * text.C (getVisibleRow): honor background color
14569
14570         * PainterBase.h:
14571         * Painter.h: remove default color argument for fillRectangle
14572
14573         * text.C (backgroundColor): new method
14574
14575 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * text.C (getVisibleRow): adjust
14578
14579         * font.[Ch] (rectText): new method, metrics
14580         (buttonText): new method, metrics
14581
14582         * PainterBase.[hC]: make rectText and buttonText always draw and take
14583         fewer paramteres.
14584
14585 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14586
14587         * ToolbarDefaults.C (read):
14588         * MenuBackend.C (read): allow escaping in all strings
14589
14590         * BufferView_pimpl.C (insertAndEditInset): new method.
14591         (Dispatch): use insertAndEditInset whenever appropriate.
14592
14593         * BufferView_pimpl.C (insertNote): removed
14594
14595         * BufferView_pimpl.C (smartQuote): new method, moved from
14596         BufferView; if an insetquote cannot be inserted, insert a '"'
14597         character instead.
14598
14599         * BufferView2.C: remove insertCorrectQuote();
14600
14601         * lyxfunc.C (getStatus): Add support for all remaingin
14602         inset-insert lfuns.
14603
14604         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14605
14606         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14607         command (necessary to pass " as parameter of self-insert.
14608
14609         * text.C (selectWordWhenUnderCursor):
14610         (selectWord): add word_location parameter
14611         (selectWordWhenUnderCursor): same + remove special code for word
14612         boundary.
14613         (selectNextWord): use kind() to guess type of insetspecialchar,
14614         not latex().
14615
14616         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14617         (insertErtContents): create ert insets as collapsed.
14618         (readInset): better compatibility code for Info inset.
14619
14620 2001-07-20  Juergen Vigna  <jug@sad.it>
14621
14622         * lyxfunc.C (dispatch): use always LyXFind now!
14623
14624         * text2.C (init): add a reinit flag so that the LyXText can be
14625         reinited instead of deleted and reallocated (used in InsetText).
14626
14627         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14628
14629         * text.C: ditto
14630
14631         * text2.C: ditto
14632
14633 2001-07-18  Juergen Vigna  <jug@sad.it>
14634
14635         * text.C (selectNextWord): handle insets inside inset by calling
14636         always the bv->text functions so that we can go up the_locking_inset!
14637
14638         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14639         in strange locations when inside an inset!
14640
14641         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14642         handling to include insets.
14643
14644         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14645
14646 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14647
14648         * LyXAction.C (init):
14649         * commandtags.h:
14650         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14651         LIGATURE_BREAK, since the name is so stupid.
14652
14653 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14654
14655         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14656         InsetInfos.
14657
14658         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14659
14660         * sp_form.[Ch]: remove.
14661
14662         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14663
14664         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14665         InsetInfo.
14666
14667         * src/buffer.C (readInset): ditto.
14668
14669 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14670
14671         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14672         menuSeparator(), endOfSentenceDot(), ldots() and
14673         hyphenationPoint(), which are therefore removed.
14674         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14675
14676         * LyXAction.C (init):
14677         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14678
14679         * paragraph.C (getWord): removed.
14680
14681         * BufferView_pimpl.C (Dispatch): use last word or selection for
14682         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14683
14684         * lyx_main.C (queryUserLyXDir): do not ask before creating
14685         user_dir, except if it has been named explicitely.
14686
14687 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14688
14689         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14690         a document of zero size.
14691
14692 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14693
14694         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14695         approriately in the c-tor and in require().
14696         (getPackages): output the appropriate LaTeX for natbib support.
14697
14698         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14699         variables "use_natbib" and "use_numerical_citations" when reading the
14700         LyX file.
14701         (readInset): read the various natbib cite commands.
14702         (validate): white-space change.
14703
14704         * bufferparams.[Ch]: new variables "bool use_natbib" and
14705         "bool use_numerical_citations".
14706         (writeFile): output them in the LyX file.
14707
14708 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14709
14710         * lyxfunc.C (getStatus): add support for all the inset insertion
14711         commands.
14712
14713         * text2.C (insertInset):
14714         * paragraph.C (insetAllowed):
14715         * BufferView_pimpl.C (insertInset): update to take in account the
14716         renaming of insertInsetAllowed
14717
14718         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14719
14720         * text2.C (getInset): new method. returns inset at cursor position.
14721
14722         * BufferView_pimpl.C (Dispatch): changes because of this.
14723
14724         * LyXAction.C (init): rename open-stuff to inset-toggle.
14725
14726         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14727
14728         * text2.C (toggleInset): renamed from openStuff; use
14729         Inset::open().
14730
14731 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14732
14733         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14734
14735         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14736
14737 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14738
14739         * buffer.C (readLyXformat2): Add filename to the error dialog
14740
14741 2001-07-18  Juergen Vigna  <jug@sad.it>
14742
14743         * tabular.C (GetCellNumber): put an assert here instead of the check!
14744
14745 2001-07-17  Juergen Vigna  <jug@sad.it>
14746
14747         * BufferView_pimpl.C (toggleSelection): adapted too.
14748
14749         * text.C (selectNextWord): adapted for use with insets.
14750         (selectSelectedWord): ditto
14751
14752 2001-07-17  Juergen Vigna  <jug@sad.it>
14753
14754         * sp_spell.C (PSpell): fix initialitation order.
14755
14756 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14757
14758         * paragraph.C: spacing
14759
14760 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14761
14762         * sp_spell.C: repair language selection for pspell
14763
14764 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * lyxfunc.h: change more methods to begin with lower char.
14767
14768 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14769
14770         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14771         for unknown layouts.
14772
14773 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14774
14775         * buffer.C (readLyXformat2): Generate an error dialog if there are
14776         unknown layouts.
14777
14778 2001-07-16  Juergen Vigna  <jug@sad.it>
14779
14780         * sp_spell.C: always compile ISpell part.
14781
14782         * lyxrc.C: added use_pspell entry and it's handling.
14783
14784 2001-07-13  Juergen Vigna  <jug@sad.it>
14785
14786         * sp_spell.C: removed double includes.
14787
14788 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14789
14790         Consistent use of Lsstream.h:
14791         * Lsstream.h: added using std::stringstream for consistencies sake.
14792
14793         * buffer.C: removed using std::stringstream
14794
14795         * lyxfont.C (stateText):
14796         * paragraph.C (asString):
14797         * text.C (selectNextWord, selectSelectedWord):
14798         * text2.C (setCounter):
14799         * vspace.C (asString, asLatexString):
14800         std::ostringstream -> ostringstream.
14801
14802 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14803
14804         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14805         * commandtags.h: add LFUN_HELP_ABOUTLYX
14806         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14807
14808 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14809
14810         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14811         cursorToggle()
14812         * lyx_gui_misc.C: remove spellchecker
14813         * lyxfunc.C: showSpellchecker
14814         * sp_base.h: added
14815         * sp_ispell.h: added
14816         * sp_pspell.h: added
14817         * sp_spell.C: added
14818         * sp_form.[Ch]: removed
14819         * spellchecker.[Ch]: removed
14820
14821 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14822
14823         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14824         is set.
14825         (simpleTeXSpecialChars): Simply print the input character without
14826         any special translation if pass_thru is set.
14827
14828         * layout.h: Added bool pass_thru to layout class for being able to
14829         implement pass through of a paragraph for Literate Programming.
14830
14831         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14832         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14833         * layout.C (Read): add "passthru" to list of layout tags and add
14834         code to set the pass_thru boolean when it is read.
14835
14836 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * trans_decl.h: remove allowed from KmodInfo
14839
14840         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14841         remove allowed code
14842         (Load): adjust
14843
14844         * paragraph_pimpl.C (erase): use boost::prior
14845
14846         * Painter.C (text): use data() instead of c_str() when length is
14847         also provided.
14848         * WorkArea.C (putClipboard): ditto
14849         * font.h (width): ditto
14850
14851         * BufferView2.C: use it-> instead of (*it). for iterators
14852         * texrow.C: ditto
14853         * paragraph_pimpl.C: ditto
14854         * paragraph.C: ditto
14855         * minibuffer.C: ditto
14856         * language.C: ditto
14857         * kbmap.C: ditto
14858         * encoding.C: ditto
14859         * counters.C: ditto
14860         * converter.C: ditto
14861         * chset.C: ditto
14862         * Variables.C: ditto
14863         * TextCache.C: ditto
14864         * MenuBackend.C: ditto
14865         * LyXAction.C: ditto
14866         * LColor.C: ditto
14867         * FloatList.C: ditto
14868         * DepTable.C: ditto
14869         * ColorHandler.C (LyXColorHandler): ditto
14870
14871 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14872
14873         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14874
14875         * text2.C (openStuff): reintroduce this method (which had been
14876         nuked in NEW_INSETS frenzy).
14877
14878         * lyxfunc.C (Dispatch): when an action has not been handled, use
14879         its name in the error message, not its number.
14880
14881         * paragraph.C (inInset): change method name to begin with lowercase.
14882
14883         * undo_funcs.C:
14884         * text2.C: updates because of this.
14885
14886 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * ToolbarDefaults.C (add): add spaces in error message
14889
14890 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14893         (readLyXformat2): rename return_par to first_par, use lyxlex's
14894         pushToken and remove the manual push handling.
14895         (parseSingleLyXformat2Token): add another ert comp. variable:
14896         in_tabular, rename return_par to first_par. handle newlines better
14897
14898 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14899
14900         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14901
14902 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14903
14904         * text2.C (getParFromID): removed
14905
14906         * buffer.C (getParFromID): new method moved form lyxtext.
14907         * BufferView2.C (insertErrors): adjust
14908         (setCursorFromRow): adjust
14909         * BufferView_pimpl.C (restorePosition): adjust
14910         * lyxfunc.C (Dispatch): adjust
14911         * undo_funcs.C (textUndo): adjust
14912         (textRedo): adjust
14913         (textHandleUndo): adjust
14914         (textHandleUndo): adjust
14915
14916 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14917
14918         * buffer.C: up' the LYX_FORMAT
14919
14920         * lyxfont.h: turn NO_LATEX on as default
14921
14922         * buffer.C (insertErtContents): new methods of tex style compability.
14923         (parseSingleLyXformat2Token): use it several places.
14924         * tabular.C (OldFormatRead): and here
14925
14926 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14927
14928         * text2.C: remove some commented code.
14929         reindent file.
14930
14931         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14932         * trans.C: changes because of the above.
14933
14934 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14935
14936         * text2.C (setCounter): Fix counters bug with bibliography layout.
14937
14938 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14939
14940         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14941         own member functions
14942         (simpleTeXSpecialChars): ditto
14943
14944 2001-07-06  Juergen Vigna  <jug@sad.it>
14945
14946         * a lot of files: changed the access to LyXText::status and the
14947         call of undo-functions.
14948
14949         * undo.[Ch]: added a inset_id to the undo informations.
14950
14951         * undo_funcs.[Ch]: added and moved here all undo functions.
14952
14953         * lyxtext.h: give the status enum a weight, made status_ a private
14954         variable and made accessor functions for it, removed the whole bunch
14955         of undo-functions as they are now in their own file, make some
14956         functions publically available. Added function ownerParagraph with
14957         int parameter.
14958
14959         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14960         made InInset() a const function, added getParFromID() function.
14961
14962         * buffer.[Ch]: added const version for inset_iterator functions,
14963         added getInsetFromID() function.
14964
14965         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14966         changed undo functions for new version.
14967
14968 2001-07-05  Juergen Vigna  <jug@sad.it>
14969
14970         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14971         unknow mechanism does not call the proper constructor but only this
14972         one also if I request the other!?
14973
14974 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14977
14978         * text2.C (LyXText): use initialization lists.
14979
14980         * lyxtext.h (Selection): initialize set_ and mark_
14981         (init): remove method
14982
14983 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14984
14985         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14986
14987 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14988
14989         * screen.[Ch]: change method names to begin with lowercase
14990
14991         * BufferView_pimpl.C (updateScrollbar): simplify further and
14992         hopefully make it a bit faster.
14993
14994 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14995
14996         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14997         calling directly xforms functions.
14998
14999         * Painter.C (Painter):
15000         * lyx_cb.C (MenuWrite):
15001         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15002         fl_display.
15003
15004         * lyx_gui.C: remove bogus guiruntime extern declaration.
15005
15006 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15007
15008         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15009         in NEW_INSETS
15010         (redoDrawingOfParagraph): ditto
15011         (redoParagraphs): ditto
15012         (cutSelection): don't create a object for CutAndPaste use the
15013         static method directly
15014         (pasteSelection): ditto
15015
15016         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15017         LyXview (+ rename)
15018
15019 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15020
15021         * modifications to some other files because of this.
15022
15023         * Makefile.am (lyx_SOURCES): add XFormsView
15024
15025         * XFormsView.[Ch]: new files
15026
15027         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15028         the main window. Move the gui dependent stuff to XFormsView
15029
15030 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * tabular.C (GetCellInset): update cur_cell also in the row/col
15033         version of this function.
15034
15035         * lyxfunc.C: no need to include figure_form.h here.
15036
15037         * FontLoader.h:
15038         * lyxfunc.h:
15039         * lyxscreen.h:
15040         * text2.C:
15041         * lyxvc.C: no need to include forms.h here.
15042
15043 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15044
15045         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15046
15047         * lyxfunc.C (Dispatch):
15048         * Spacing.C (set):
15049         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15050         constructor argument.
15051
15052 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * paragraph.C (Paragraph): dont't clear, and just set layout.
15055         (makeSameLayout): use params's copy contructor.
15056
15057         * ParagraphParameters.[Ch] (makeSame): delete method
15058
15059 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * Variables.[Ch]: fix indentation, rename set to isSet
15062
15063 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15064
15065         * lyxfunc.C (Dispatch): fix typo
15066
15067 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15070         upper_bound.
15071
15072         * bufferlist.C: include assert.h for emergencyWrite().
15073
15074 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15075
15076         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15077           give up at last (bug #425202) !
15078
15079 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * lyx_gui_misc.C:
15082         * sp_form.h:
15083         * sp_form.C:
15084         * spellchecker.h:
15085         * spellchecker.C: strip spellchecker options and bring up
15086           preferences tab instead
15087
15088 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15089
15090         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15091         the istringstream constructor
15092
15093 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * paragraph.C (getLayout): fix return value
15096
15097         * paragraph.h: do not declare getLayout as inline.
15098
15099         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15100
15101 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * lyxcursor.h (operator<): new func
15104         (operator>): new func
15105         (operator>=): new func
15106         (operator<=): new func
15107
15108         * text.C (changeCase): use selection.start and selection.end
15109         (changeRegionCase): require from to be <= to. Require par to be a
15110         valid paragraph.
15111
15112         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15113
15114 2001-06-27  Juergen Vigna  <jug@sad.it>
15115
15116         * text.C (cursorLeftOneWord): changed to return the cursor and added
15117         overlay with BufferView * parameter which calls this one.
15118         (getWord): added
15119         (selectWord): use new getWord function.
15120         (changeCase): renamed from changeWordCase as and extended to work
15121         also on selections.
15122
15123         * lyxtext.h: added enum word_location
15124
15125         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15126         changeCase as this operates now also on selections.
15127
15128 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15129
15130         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15131
15132         * many files: send debug output to Debug::INFO instead of
15133         Debug::ANY.
15134
15135         * converter.C (View):
15136         (Convert):
15137         (Move): send debug output to Debug::FILES instead of console.
15138
15139 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15140
15141         * lyxfunc.C (getStatus): use func_status
15142
15143         * func_status.h: new header, describing the results of
15144         LyXFunc::getStatus;
15145
15146         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15147         LFUN_MATH_HALIGN.
15148
15149 2001-06-25  The LyX Project  <jug@sad.it>
15150
15151         * buffer.C (sgmlOpenTag):
15152         (sgmlCloseTag):
15153         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15154
15155 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * text2.C: remove some dead code
15158
15159         * tabular.C (GetCellInset): store the last cell checked (gotten)
15160
15161         * tabular.h: add the helper for the speedup
15162
15163         * lyxtext.h: remove some dead code
15164
15165 2001-06-26  The LyX Project  <Asger>
15166
15167         * paragraph.C: Change export to LaTeX of alignment to
15168         \begin{center} and family for better roundtrip work with reLyX.
15169
15170         * Tune the math drawing a bit.
15171
15172 2001-06-25  The LyX Project  <Asger>
15173
15174         * LColor.C (LColor): New color for math background. New color
15175         for buttons.
15176
15177 2001-06-25  The LyX Project  <jug@sad.it>
15178
15179         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15180
15181         * lyxfunc.C (Open):
15182         * bufferlist.C (newFile): do not restrict to files ending with
15183         .lyx
15184
15185         * BufferView_pimpl.C (MenuInsertLyXFile):
15186
15187 2001-06-24  The LyX Project  <jug@sad.it>
15188
15189         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15190         of compare_no_case
15191
15192 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15193
15194         * lyxtext.h: rename most methods to begin with a small char.
15195         Lots of changes because of this.
15196
15197         * paragraph.C (Paragraph): do not call fitToSize
15198         (erase): call Pimpl::erase
15199         (insertChar): call Pimpl::insertChar
15200         (insertInset): call Pipl::insertInset
15201         (breakParagraph): do not call fitToSize
15202         (breakParagraphConservative): do not call fitToSize
15203         (fitToSize): remove method
15204
15205         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15206
15207 2001-06-24  The LyX Project  <Asger>
15208
15209         * Fix Qt compilation^2
15210
15211 2001-06-24  The LyX Project  <jug@sad.it>
15212
15213         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15214         depthHook(getDepth()-1).
15215
15216         * paragraph.h:
15217         * ParagraphParameters.h:
15218         * ParameterStruct.h: change type of depth to unsigned int ==
15219         depth_type. Many adaptations to other files before of that.
15220
15221 2001-06-24  The LyX Project  <Asger>
15222
15223         * Fix Qt compilation.
15224
15225 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * paragraph.h: renamed several methods to begin with small letter.
15228         several changes to many parts of the code because of this.
15229
15230 2001-06-23  The LyX Project  <jug@sad.it>
15231
15232         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15233         rewritten to discard all double spaces when KeepEmpty is off
15234         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15235         to only handle newlines but not fiddle with spaces and friends.
15236
15237         * lyxfunc.C (MenuNew): when doing 'new from template', use
15238         template_path as default directory
15239
15240 2001-06-23  The LyX Project  <Asger>
15241
15242         * Clean-up of header file includes all over
15243         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15244
15245 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * paragraph.h: renamed from lyxparagraph.h
15248
15249 2001-06-23  Asger  <lyx@violet.home.sad.it>
15250
15251         * Buffer.h: Removed Buffer::resize
15252         * BufferList.h: Removed BufferList::resize
15253         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15254         the document lazily when we change the width, or the font settings.
15255
15256 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15257
15258         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15259
15260 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15261
15262         * buffer.h: remove out of date comment
15263
15264 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15265
15266         * lyxscreen.h:
15267         * screen.C: fix "theoretical" GC leak
15268
15269 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15270
15271         * LaTeX.C (scanAuxFile):
15272         (deplog): remove trailing \r when reading stream (useful under
15273         win32)
15274
15275 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15276
15277         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15278         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15279         and BufferView::theLockingInset(Inset*), so should use them and not
15280         access bv_->text->the_locking_inset directly.
15281
15282         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15283
15284 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15285
15286         * Makefile.am:
15287         * tex-defs.h: remove old unused file
15288
15289 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15290
15291         * BufferView_pimpl.C: fix typo, remove minibuffer message
15292           when buffer has loaded
15293
15294 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * lyxfunc.C (Dispatch): use stringstream
15297         (MenuNew): use stringstream
15298         (Open): use stringstream
15299
15300         * importer.C (Import): use stringstream
15301
15302         * bufferview_funcs.C (CurrentState): use stringstream
15303
15304         * LaTeX.C (run): use stringstream
15305
15306         * BufferView_pimpl.C (savePosition): use stringstream
15307         (restorePosition): use stringstream
15308         (MenuInsertLyXFile): use stringstream
15309
15310 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15311
15312         * BufferView.C:
15313         * Bullet.C:
15314         * ColorHandler.C:
15315         * FontInfo.C:
15316         * FontLoader.C:
15317         * LColor.C:
15318         * LaTeXFeatures.C:
15319         * Painter.C:
15320         * gettext.C:
15321         * lyx_gui_misc.C:
15322         * lyxserver.C:
15323         * vspace.C: removed // -*- C++ -*- as first line.
15324
15325         * lyxfind.h:
15326         * version.h: added // -*- C++ -*- as first line.
15327
15328 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15329
15330         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15331
15332         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15333         of string
15334
15335 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15338         of floats.
15339
15340 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15341
15342         * gettext.C: include LString.h even when --disable-nls is on.
15343
15344 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15345
15346         * converter.h (Get): changed argument type from int to
15347         FormatList::size_type to avoid unnecessary conversion.
15348
15349         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15350         before using it.
15351
15352 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15353
15354         * gettext.h: include LString.h even when --disable-nls is on.
15355
15356 2001-06-07  Juergen Vigna  <jug@sad.it>
15357
15358         * text.C (BreakAgain): subst spaces with tabs.
15359
15360         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15361         (resizeInsetsLyXText): set force on resizeLyXText.
15362
15363 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * gettext.h (gettext_init):
15366         (locale_init): use a real definition instead of a macro
15367
15368 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15369
15370         * Bufferview_pimpl.C:
15371         * LColor.h:
15372         * LColor.C: further lcolor tidies
15373
15374 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15375
15376         * BufferView_pimpl.C (updateScrollbar): simplify.
15377
15378         * BufferView2.C: don't include insets/insetinfo.h, change
15379         prototype for insertInset and call the Pimpl version. let
15380         updateInset call Pimpl version.
15381
15382         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15383         gotoInset to BufferView::Pimpl
15384
15385 2001-06-01  Juergen Vigna  <jug@sad.it>
15386
15387         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15388         inside a LockingInset (is the update needed at all?).
15389
15390 2001-05-31  Juergen Vigna  <jug@sad.it>
15391
15392         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15393         here not the old one otherwise how should we compare it afterwards
15394         if it's the same!
15395
15396 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15397
15398         * lyxfont.C:
15399         * tabular.C:
15400         * tabular-old.C:
15401         * FontInfo.C: bring C functions into global namespace when
15402         necessary
15403
15404 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15405
15406         * LString.h: make sure config.h has been loaded before LString.h.
15407
15408         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15409         (one for each char read by EatLine!).
15410
15411         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15412         variables.
15413
15414 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15415
15416         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15417         to the same as the par we break from
15418
15419 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15420
15421         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15422
15423         * MenuBackend.C (expand): also create menu entries for wide
15424         versions of the floats.
15425
15426         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15427
15428         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15429
15430         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15431         frontends/Makefile.am
15432
15433         * text2.C: adjust
15434         * text.C: adjust
15435
15436
15437         * tabular.C (getTokenValue): add std::
15438
15439         * tabular-old.C (getTokenValue): add std::
15440         (getTokenValue): ditto
15441         (getTokenValue): ditto
15442
15443         * screen.C (ToggleSelection): adjust
15444
15445         * lyxtext.h: put selection cursors inside a Selection struct.
15446
15447         * lyxfunc.C (moveCursorUpdate): adjust
15448
15449         * lyxfont.C (latexWriteStartChanges): add std::
15450
15451         * lyxfind.C: adjust
15452
15453         * font.h: delete with(char const *, LyXFont const &)
15454
15455         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15456
15457         * FontInfo.C (getFontname): add std::
15458
15459         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15460         (workAreaButtonPress): adjust
15461         (tripleClick): adjust
15462         (update): adjust
15463         (moveCursorUpdate): adjust
15464         (Dispatch): adjust
15465
15466         * BufferView2.C (gotoInset): adjust
15467
15468 2001-05-30  Juergen Vigna  <jug@sad.it>
15469
15470         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15471         to check pspell I add this as default as I now have new pspell
15472         libraries and they seem to use this.
15473
15474 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * text2.C (CutSelection): make the cursor valid before the call to
15477         ClearSelection.
15478
15479 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15480
15481         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15482         relied on 0 terminated strings and other horrors. Bug found due to
15483         the new assert in lyxstring!
15484
15485         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15486         KP_ keys.
15487
15488 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15489
15490         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15491         to latinkeys.bind.
15492
15493         * lyxfunc.C (processKeySym): change method of getting to the
15494         self-insert char.
15495
15496         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15497         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15498         * BufferView_pimpl.[Ch]: here as private methods.
15499
15500 2001-05-28  Juergen Vigna  <jug@sad.it>
15501
15502         * text.C (SetHeightOfRow): added the update() call again as it is
15503         needed to initialize inset dimensions!
15504
15505 2001-05-16  Juergen Vigna  <jug@sad.it>
15506
15507         * text2.C (SetCharFont): Add new function with BufferView * and
15508         bool toggleall parameters for setting insets internal fonts.
15509         (SetFont): Freeze the undo as we may change fonts in Insets and
15510         all this change should be inside only one Undo!
15511
15512         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15513         setting font's in insets as for them we have the SetFont function!
15514
15515 2001-05-15  Juergen Vigna  <jug@sad.it>
15516
15517         * text2.C (ClearSelection): to be sure we REALLY don't have any
15518         selection anymore!
15519
15520         * tabular.C (TeXCellPreamble): fixed the left border problem for
15521         multicolumn cells.
15522
15523 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15524
15525         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15526         dependancy file
15527
15528 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15529
15530         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15531         LFUN_BREAKPARAGRAPH.
15532
15533         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15534         help test to "internal only", similar for LFUN_INSERT_URL
15535
15536         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15537         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15538         auto_region_delete and deadkeys.
15539
15540 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15541
15542         * LColor.h:
15543         * LColor.C: remove some dead entries, tidy a little
15544
15545 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15546
15547         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15548         commented code.
15549         (Dispatch): implement LFUN_ESCAPE
15550
15551         * commandtags.h: add LFUN_ESCAPE
15552
15553         * LyXAction.C (init): add entry for LFUN_ESCAPE
15554
15555         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15556         Remove commented code.
15557         (insertNote): moved here
15558         (open_new_inset): moved here
15559
15560         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15561         BufferView_pimpl
15562
15563 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15564
15565         * kbmap.C (findbinding): clean it up and make it work correctly.
15566
15567         * lyx_main.C (init): do not pass argc and argv as parameters
15568
15569 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15570
15571         * buffer.C: fix path for OS/2 & Win32
15572
15573         * lyx_gui.C:
15574         * lyx_main:
15575         * lyx_main.C: Added os:: class.
15576
15577         * os2_defines.h: update
15578
15579 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15580
15581         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15582         better by trying again with reduced state.
15583
15584 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15585
15586         * lyxrc.C (read): print error about invalid key sequence only when
15587         debugging (because not all latinX keysyms are known to some X
15588         servers)
15589
15590         * kbsequence.C (getiso): add a few std:: qualifiers
15591         (getiso): comment out extra return statement.
15592
15593 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15594
15595         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15596         handling.
15597         (Dispatch): enhance the accent inset a bit. (not perfect)
15598
15599 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15600
15601         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15602
15603 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * bufferlist.C (emergencyWrite): fix assert() call
15606
15607 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15608
15609         * text.C (InsertChar): Added trivial patch to only send the "you
15610         can not do multiple spaces this way" message once during a
15611         session.
15612
15613 2001-05-08  Baruch Even  <baruch@lyx.org>
15614
15615         * Makefile.am: Changed order of libraries to get LyX to link properly
15616         with the gnome frontend.
15617
15618 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15619
15620         * LaTeXFeatures.h: add a std:: qualifier
15621
15622 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15623
15624         * paragraph.C (String): use stringstream
15625
15626 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15627
15628         * paragraph.C (writeFile): remove footflag arg
15629
15630         * buffer.C (makeLaTeXFile): use stringstream
15631         (latexParagraphs): remove footnot gurba
15632
15633         * LaTeXFeatures.C (getPackages): use stringstream
15634         (getMacros): likewise
15635         (getTClassPreamble): likewise
15636         (getFloatDefinitions): new method
15637
15638         * paragraph.C (writeFile): reindent
15639         (Erase): reindent
15640
15641         * WorkArea.h: revert the xpos + etc changes.
15642
15643         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15644
15645         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15646
15647         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15648         (pasteSelection): likewise
15649         * text2.C (CreateUndo): likewise
15650
15651 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15652
15653         * minibuffer.C (peek_event): temporarily reduce the functionality
15654         of the minibuffer (to allow args on lfuns)
15655
15656         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15657         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15658
15659         * buffer.C (readInset): add compability reading of old float
15660         lists, add reading of new style float list.
15661         (readInset): avoid reevaluation of inscmd.getCmdName()
15662         (getLists): reindent
15663
15664         * MenuBackend.C (MenuItem): implement parsing of
15665         md_floatlistinsert and md_floatinsert.
15666         (expand::LastFiles): move initalizaton of iterators out of loop,
15667         avoid reevaluation.
15668         (expand::Documents): introduce typdedef vector<string> Strings,
15669         and use it.
15670         (expand::ExportFormats): introduce typedef vector<Format const *>
15671         Formats, and use it.
15672         (expand): implement FloatListInsert and FloatInsert.
15673
15674         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15675         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15676         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15677
15678         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15679         handling.
15680         (Dispatch::LFUN_FLOAT_LIST): implement
15681
15682 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15683
15684         * LaTeX.C (run): Fix problem with --export code.
15685
15686 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15687
15688         * BufferView.[Ch] (workarea): removed.
15689         (getClipboard) new method; wrapper for workarea()->getClipboard()
15690
15691         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15692         bug.
15693
15694         * WorkArea.h (width, height, xpos, ypos): These methods all
15695         returned the dimensions of the work_area sub-area of WorkArea,
15696         resulting in a position error if the WorkArea were resized. Now
15697         return the dimensions of the entire WorkArea.
15698
15699         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15700
15701 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * LaTeX.C (deplog): correct the syntax of regex reg1
15704
15705 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15706
15707         * undo.C: remove !NEW_INSETS cruft
15708
15709 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15710
15711         * text2.C: remove !NEW_INSETS cruft
15712
15713         * text.C: remove !NEW_INSETS cruft
15714
15715         * tabular.C: remove !NEW_INSETS cruft
15716
15717         * spellchecker.C: remove !NEW_INSETS cruft
15718
15719         * lyxtext.h: remove !NEW_INSETS cruft
15720
15721         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15722
15723         * lyxfunc.C: remove !NEW_INSETS cruft
15724
15725         * lyxfind.C: remove !NEW_INSETS cruft
15726
15727         * lyx_cb.C: remove !NEW_INSETS cruft
15728
15729         * figureForm.C: remove  !NEW_INSETS cruft
15730
15731         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15732
15733         * buffer.[Ch]: remove !NEW_INSETS cruft
15734
15735         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15736
15737         * CutAndPaste.C: remove !NEW_INSETS cruft
15738
15739         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15740
15741         * BufferView2.C: remove !NEW_INSETS cruft
15742
15743         * BufferView.h: remove !NEW_INSETS cruft
15744
15745 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * Lsstream.h: include LString.h before the sstream headers to
15748         fix problem with gcc 2.95.3 and lyxstring
15749
15750 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15751
15752         * lyx_main.C: add using directives when needed for C functions
15753         declared in std:: namespace.
15754
15755 2001-04-27  Juergen Vigna  <jug@sad.it>
15756
15757         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15758         (SetHeightOfRow): comment out the update call should not be needed!
15759
15760 2001-04-13  Juergen Vigna  <jug@sad.it>
15761
15762         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15763         (LyXTabular): tried to minimize operator= operations (and realized
15764         hopfully Lars wish).
15765
15766 2001-04-27  Juergen Vigna  <jug@sad.it>
15767
15768         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15769
15770 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15771
15772         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15773
15774         * buffer.C (readInset): hack to make listof algorithm work
15775
15776         * BufferView_pimpl.C: hack to make listof algorithm work
15777
15778 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15779
15780         * LyXAction.C: removed all !NEW_INSETS cruft
15781         (init): moved lfun_item in method
15782
15783         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15784
15785 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15786
15787         * BufferView2.C (theLockingInset): white space.
15788
15789 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15790
15791         * minibuffer.C: include <iostream>
15792
15793         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15794
15795         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15796
15797         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15798
15799         * text.[Ch] (TransposeChars): new method
15800
15801 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15802
15803         * call message directly through LyXView instead of through LyXFunc
15804         * BufferView2.C: adjust
15805         * BufferView_pimpl.C: adjust
15806         * FontLoader.C: adjust
15807         * buffer.C: adjust
15808         * bufferview_funcs.C: adjust
15809         * converter.C: adjust
15810         * figureForm.C: adjust
15811         * importer.C: adjust
15812         * lyx_cb.C: adjust
15813         * lyx_gui_misc.C: adjust
15814         * lyxfunc.C: adjust
15815         * lyxvc.C: adjust
15816         * text2.C: adjust
15817         + more files in subdirs
15818
15819         * lyxparagraph.h (size): move up int file
15820         (GetLayout): ditto
15821
15822         * adjust all uses of Assert to lyx::Assert.
15823
15824         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15825         lyxfunctional in namespace lyx
15826         * layout.C (hasLayout): ditto
15827         (GetLayout): ditto
15828         (GetLayout): ditto
15829         (delete_layout): ditto
15830         (NumberOfClass): ditto
15831         * converter.C (GetFormat): ditto
15832         (GetNumber): ditto
15833         (Add): ditto
15834         (Delete): ditto
15835         (SetViewer): ditto
15836         * bufferlist.C (getFileNames): ditto
15837         (emergencyWriteAll): ditto
15838         (exists): ditto
15839         (getBuffer): ditto
15840         * MenuBackend.C (hasSubmenu): ditto
15841         (hasMenu): ditto
15842         (getMenu): ditto
15843         * BufferView_pimpl.C (getInsetByCode): ditto
15844
15845 2001-04-18  Juergen Vigna  <jug@sad.it>
15846
15847         * vspace.C (asLatexString): fixed the 100% problem.
15848
15849 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15850
15851         * lyxfunc.C (Dispatch):
15852         * minibuffer.C:
15853         * minibuffer.h: add a few std:: qualifiers
15854
15855 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15856
15857         * minibuffer.[Ch]: reimplement so that commands is initiated and
15858         run from lyxfunc, simplified som handling, and made the completion
15859         and history code for complete. wip.
15860
15861         * lyxfunc.C (processKeySym): call message
15862         (miniDispatch): new temporary method
15863         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15864         (LFUN_MESSAGE): implement
15865         (LFUN_MESSAGE_PUSH): implement
15866         (LFUN_MESSAGE_POP): implement
15867         (initMiniBuffer): the initial/defualt minibuffer message.
15868
15869         * lyxfont.[Ch]: inline some more getters
15870
15871         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15872
15873         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15874
15875         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15876         (AutoSave): use LFUN_MESSAGE
15877         (Reconfigure): ditto
15878
15879         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15880
15881         * figureForm.C: use LFUN_MESSAGE
15882
15883         * converter.C (runLaTeX): use LFUN_MESSAGE
15884
15885         * bufferview_funcs.C: use LFUN_MESSAGE
15886         (Melt): ditto
15887         (changeDepth): ditto
15888
15889         * bufferparams.h: use boost::
15890
15891         * bufferlist.h: inherit privately from noncopyable
15892
15893         * bufferlist.C (loadLyXFile): remove some commented code.
15894
15895         * buffer.C (runChktex): use LFUN_MESSAGE
15896
15897         * ShareContainer.h: inherit privately from noncopyable
15898
15899         * ParagraphParameters.[hC] (depth): inline it.
15900
15901         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15902         methods.
15903         (message): new method
15904         (messagePush): ditto
15905         (messagePop): ditto
15906         (show): init minibuffer
15907         (showState): direct call
15908
15909         * LaTeX.[Ch]: inherit privately from noncopyable
15910         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15911         instead of WriteStatus.
15912
15913         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15914
15915         * BufferView_pimpl.C (buffer): don't init minibuffer
15916         (workAreaButtonPress): use LFUN_MESSAGE
15917         (workAreaButtonRelease): ditto
15918         (savePosition): ditto
15919         (restorePosition): ditto
15920         (MenuInsertLyXFile): ditto
15921         (workAreaExpose): don't init minibuffer
15922         (update): remove commented code, simplify
15923
15924         * BufferView2.C (openStuff): use LFUN_MESSAGE
15925         (toggleFloat): ditto
15926         (menuUndo): ditto
15927         (menuRedo): ditto
15928         (copyEnvironment): ditto
15929         (pasteEnvironment): ditto
15930         (copy): ditto
15931         (cut): ditto
15932         (paste): ditto
15933         (gotoInset): ditto
15934         (updateInset): remove some commented code
15935
15936         * lastfiles.h: inherit privately from noncopyable
15937         * layout.h: ditto
15938         * lyx_gui.h: ditto
15939         * lyx_main.h: ditto
15940         * lyxlex.h: ditto
15941         * lyxlex_pimpl.h: ditto
15942
15943         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15944         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15945         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15946
15947         * LyXAction.h: inherit privately from noncopyable, add methods
15948         func_begin, func_end, returning iterators to the func map.
15949
15950         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15951         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15952         (func_begin): new method
15953         (func_end): new method
15954
15955         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15956         and not)
15957         (copySelection): ditto
15958         (pasteSelection): ditto
15959
15960         * BufferView.C: whitespace change
15961         * BufferView.h: inherit privately from noncopyable
15962
15963 2001-04-16  Allan Rae  <rae@lyx.org>
15964
15965         * tabular-old.C (l_getline):
15966         * spellchecker.C (sc_check_word):
15967         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15968         an unrecognised preprocessor directive.  So ensure they're wrapped.
15969
15970 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15971
15972         * src/exporter.C (Export): Give an error message when path to file
15973         contains spaces.
15974
15975 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15976
15977         * LaTeX.C (deplog): Always check that foundfile exists.
15978
15979 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15980
15981         * lyx_main.h:
15982         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15983
15984 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15985
15986         * tabular.[Ch] (getLabelList): implement new method
15987
15988         * minibuffer.h: comment ouf setTiimer
15989
15990         * minibuffer.C (ExecutingCB): constify res
15991         (peek_event): constify s
15992         (Set): constify ntext
15993         (Init): constify nicename
15994
15995         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15996
15997         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15998         (savePosition): use two params to Minibuffer::Set
15999         (restorePosition): ditto
16000
16001 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16002
16003         * lyx_main.C: include language.h
16004
16005         * Makefile.am (lyx_main.o): add language.h
16006
16007 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16008
16009         * exporter.C:
16010         * paragraph.C:
16011         * screen.C:
16012         * tabular.C:
16013         * CutAndPaste.C: include gettext.h
16014
16015         * lyxfont.h: remove old hack with ON and OFF.
16016
16017         * lyxparagraph.h:
16018         * lyxfont.h: do not include language.h...
16019
16020         * BufferView2.C:
16021         * LaTeXFeatures.C:
16022         * Painter.C:
16023         * bufferview_funcs.C:
16024         * font.C:
16025         * lyxfont.C:
16026         * text.C:
16027         * text2.C:
16028         * trans_mgr.C:
16029         * paragraph.C: ... but do it here instead
16030
16031 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16032
16033         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16034
16035         * tabular.C: small reformat
16036
16037         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16038         NEW_INSETS version
16039         (GetChar): ditto
16040         (BreakParagraph): ditto
16041         (SetOnlyLayout): ditto
16042         (SetLayout): ditto
16043
16044         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16045         with one arg less.
16046
16047         * lastfiles.C: removed most using decl, add std:: where needed
16048
16049         * buffer.C: ws changes
16050
16051         * MenuBackend.C (class compare_format): put into anon namespace
16052         (expand): constify label, names, action, action2
16053         (expand):
16054
16055         * text.C (SingleWidth): constify font
16056         (IsBoundary): constify rtl2
16057         (GetVisibleRow): constify ww
16058
16059         * LaTeX.C (deplog): constify logfile
16060
16061         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16062         start_x, end_x
16063         (workAreaExpose): constify widthChange, heightChange
16064
16065         * lyxrow.C (par): moved
16066         (height): moved
16067         (next): moved
16068         * lyxrow.h: as inlines here
16069
16070         * lyxfont.h (shape): moved from lyxfont.C
16071         (emph): moved from lyxfont.C
16072
16073         * lyxfont.C (LyXFont): use initialization list for all
16074         constructors
16075         (shape): move to lyxfont.h as inline
16076         (emph): move to lyxfont.h as inline
16077
16078
16079 2001-04-04  Juergen Vigna  <jug@sad.it>
16080
16081         * vspace.C: had to include stdio.h for use of sscanf
16082
16083 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16084
16085         * BufferView.h:
16086         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16087         independent of xforms.
16088
16089 2001-04-02  Juergen Vigna  <jug@sad.it>
16090
16091         * spellchecker.C: fixed namespace placing!
16092
16093 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16094
16095         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16096         the LyXParagraph * is 0.
16097
16098 2001-03-29  Juergen Vigna  <jug@sad.it>
16099
16100         * vspace.C: added support for %, c%, p%, l%.
16101         (stringFromUnit): added helper function.
16102         (asLatexString): changed to give right results for the %-values.
16103
16104         * buffer.C: convert the widthp in a width%.
16105
16106 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16107
16108         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16109         figureForm.[Ch].
16110
16111         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16112         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16113
16114         * lyx_cb.[Ch]: see above.
16115
16116         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16117         form1.[Ch].
16118
16119         * form1.[Ch]:
16120         * lyx.[Ch]: replaced by figure_form.[Ch].
16121
16122         * lyx_gui.C:
16123         * lyx_gui_misc.C:
16124         * lyxfunc.C: changed headers associated with above changes.
16125
16126 2001-03-27  Juergen Vigna  <jug@sad.it>
16127
16128         * BufferView_pimpl.C: set the temporary cursor right!
16129
16130 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16131
16132         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16133
16134 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16135
16136         * LString.h: removed "using std::getline"!
16137
16138         * BufferView_pimpl.C (Dispatch): changes due to changes in
16139         InsetInclude::Params.
16140
16141         * buffer.C (tag_name): removed redundant break statements as they were
16142         producing lots of warnings with my compiler.
16143
16144 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16145
16146         * LString.h: add "using std::getline" when using the real <string>.
16147
16148 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16149
16150         * buffer.C: removed bitset usage.
16151         PAR_TAG moved to an anonymous name space.
16152         (tag_name): new funtion, also in the anonymous namespace.
16153         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16154         (makeDocBookFile): clean code. Completed transition from string arrays
16155         to string vectors.
16156         (SimpleDocBookOnePar): code clean.
16157
16158 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16159
16160         * tabular.C: add some comments.
16161
16162 2001-03-22  Juergen Vigna  <jug@sad.it>
16163
16164         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16165         compatibility read a bit and fixed bug with minipage in different
16166         depth.
16167
16168 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16169
16170         * buffer.C (pop_tag): removed.
16171         (push_tag): removed.
16172         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16173         array replaced with vector. Added support for CDATA sections.
16174         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16175         at any nest level.
16176         (makeDocBookFile): XML conformant declaration of CDATA section,
16177         fixed bug related to <emphasis> in the first paragraph char.
16178         (sgmlOpenTag): exclude empty tags.
16179         (sgmlCloseTag): ditto.
16180
16181         * buffer.h (pop_tag): removed.
16182         (push_tag): removed.
16183
16184 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16185
16186         * language.h (Languages): added size_type and size().
16187
16188 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16189
16190         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16191         response on compability reading of minipages. One probliem is that
16192         the old usage of minipages was «flertydig»
16193
16194         * several files here and in subdirs: don't use static at file
16195         scope use anon namespaces instead.
16196
16197 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16198
16199         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16200         LaTeX output. This is necessary for Literate document
16201         processing.
16202
16203 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16204
16205         * buffer.C: insert hfill when needed.
16206
16207         * tabular.C (l_getline): use string::erase, small whitespace change.
16208
16209         * BufferView_pimpl.C: try the anon namespace.
16210         * WorkArea.C: ditto
16211
16212 2001-03-16  Juergen Vigna  <jug@sad.it>
16213
16214         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16215         otherwise it won't open options-dialogs.
16216
16217         * buffer.C: honor pextraWidth(p) on converting minipages.
16218
16219         * tabular.C (l_getline): changed the functions to strip trailing \r.
16220
16221 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16222
16223         * BufferView_pimpl.C:
16224         * minibuffer..C: added "using SigC::slot" declaration.
16225
16226 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16227
16228         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16229
16230         * text2.C: ditto
16231
16232         * text.C: ditto
16233
16234         * paragraph.C: ditto
16235
16236         * lyxtext.h: NO_PEXTRA
16237
16238         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16239
16240         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16241         * ParameterStruct.h: ditto
16242         * ParagraphParameters.h: ditto
16243         * lyxparagraph.h: ditto
16244
16245 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16246
16247         * buffer.C: add compability for minipage alignment.
16248         (latexParagraphs): remove unwanted pextra check.
16249
16250         * several files: remove CXX_WORKING_NAMESPACES
16251
16252         * buffer.C (pop_tag): tie is in namespace boost
16253
16254         * BufferView.h: noncopyable is in namespace boost
16255         * lyxlex.h: ditto
16256         * lyx_main.h: ditto
16257         * lyx_gui.h: ditto
16258         * layout.h: ditto
16259         * lastfiles.h: ditto
16260         * bufferlist.h: ditto
16261         * ShareContainer.h: ditto
16262         * LyXView.h: ditto
16263         * LyXAction.h: ditto
16264         * LaTeX.h: ditto
16265
16266 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16267
16268         * Merging changes from BRANCH_MVC back into HEAD.
16269
16270         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16271
16272 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16273
16274         * BufferView_pimpl.C: change from intl.C
16275
16276         * combox.h:
16277         * combox.C:
16278         * Makefile.am: move combox.*
16279
16280         * form1.h:
16281         * form1.C:
16282         * lyx_gui.C:
16283         * intl.h:
16284         * intl.C: remove dialog (covered by prefs)
16285
16286 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16287
16288         * lyxfunc.C (Dispatch): removed redundant break statement.
16289
16290 2001-03-14  Juergen Vigna  <jug@sad.it>
16291
16292         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16293
16294 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16295
16296         * buffer.C: add hack to fix compability reading of minipages.
16297
16298 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * buffer.C (getLists): Cleanup.
16301
16302 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16303
16304         * lyxfont.C (update): don't honor toggleall on font size.
16305
16306 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16307
16308         * bmtable.c:
16309         * bmtable.h:
16310         * Makefile.am: moved to frontends/xforms/
16311
16312         * lyx_gui_misc.C:
16313         * lyxfunc.C:
16314         * BufferView_pimpl.C: changes for moved mathpanel
16315
16316 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16317
16318         * gettext.h: fix gettext_init() in --disable-nls
16319
16320 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16321
16322         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16323
16324 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16325
16326         * lyx.C:
16327         * lyx.h: strip external form
16328
16329 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16330
16331         * BufferView_pimpl.C: add comment, destroySplash()
16332
16333 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16334
16335         * BufferView_pimpl.C:
16336         * LyXAction.C:
16337         * buffer.C:
16338         * commandtags.h:
16339         * lyxfunc.C: use re-worked insetinclude
16340
16341 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16342
16343         * buffer.C: add using std::stringstream.
16344
16345         * lyx_cb.C: readd using std::ios.
16346
16347         * buffer.C: add using std::map.
16348
16349         * BufferView_pimpl.C: add using std::vector.
16350
16351         * ShareContainer.h: add std:: to swap.
16352
16353         * buffer.h: add some typedefs
16354         * buffer.C (getLists): use them
16355         (getLists): renamed from getTocList.
16356         add a counter for the different float types and use it in the
16357         generated string.
16358         (getLists): use the same counter for the NEW_INSETS and the "non"
16359         NEW_INSETS
16360
16361         * lyx_cb.h: remove unused items, includes, using etc.
16362
16363         * ShareContainer.h: remove some commented code, add more comments
16364         and "documentation".
16365
16366 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16367
16368         * buffer.C (getTocList): make the list also when NEW_INSETS is
16369         defined.
16370
16371         * buffer.h: remove TocType
16372
16373         * buffer.C (getTocList): change to return a map<string,
16374         vector<TocItem> >, implement for dynamic number of list.
16375
16376         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16377         * text2.C (PasteSelection): adjust
16378         * CutAndPaste.C (pasteSelection): adjust
16379
16380         * FloatList.C (FloatList): update from the new_insets branch.
16381         * Floating.[Ch]: ditto
16382         * LaTeXFeatures.C: ditto
16383         * buffer.C: ditto
16384         * lyxlex_pimpl.C: ditto
16385
16386         * paragraph.C (Last): remove when NEW_INSETS is defined.
16387
16388         * other file: changes because of the above.
16389
16390 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16391
16392         * lyxparagraph.h: rename next to next_, previous to previous_,
16393         make them private for NEW_INSETS. Rename Next() to next(),
16394         Previous() to previous().
16395
16396         * other files: changes because of the above.
16397
16398 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16399
16400         * BufferView.h:
16401         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16402         problem.
16403
16404 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16405
16406         * main.C (main): pass lyx_localedir to gettext_init().
16407
16408         * gettext.h: remove locale_init and gettext_init macros
16409
16410         * gettext.C (locale_init): new function
16411         (gettext_init): new function
16412
16413         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16414         setlocale().
16415
16416 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16417
16418         * Moved credits to frontends:
16419         * credits.[Ch]: removed
16420         * credits_form.[Ch]: removed
16421         * lyx_gui_misc.C: remove credits stuff
16422         * Makefile.am:
16423
16424 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16425
16426         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16427
16428         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16429         unneeded destructor.
16430
16431         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16432         a standalone pointer again.
16433
16434         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16435
16436 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16437
16438         * Makefile.am:
16439         * filedlg.h:
16440         * filedlg.C:
16441         * LyXAction.C:
16442         * ToolbarDefaults.C:
16443         * bufferlist.C:
16444         * commandtags.h:
16445         * form1.C:
16446         * form1.h:
16447         * lyx_cb.C:
16448         * lyx_cb.h:
16449         * lyxfunc.h:
16450         * lyxfunc.C:
16451         * BufferView_pimpl.C: use new file dialog in GUII
16452
16453         * lyx_cb.h:
16454         * lyx_cb.C: remove LayoutsCB to Toolbar
16455
16456 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * ShareContainer.h (get): add std:: qualifier
16459
16460 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16461
16462         * ShareContainer.h: define a proper ShareContainer::value_type
16463         type (and use typename to please compaq cxx)
16464
16465 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16466
16467         * lyxparagraph.h: move serveral local vars to
16468         ParameterStruct/ParagraphParameters., use ShareContainer in
16469         FontTable., make vars in FontTable private and add getter and
16470         setter.
16471
16472         * paragraph.C: changes because of the above.
16473
16474         * lyxfont.h: remove copy constructor and copy assignment. (the
16475         default ones is ok), move number inside FontBits. move inlines to
16476         lyxfont.C
16477
16478         * lyxfont.C: add number to initializaton of statics, move several
16479         inlines here. constify several local vars. some whitespace
16480         cleanup. Dont hide outerscope variables.
16481
16482         * Spacing.h: add two new constructors to match the set methods.
16483
16484         * ShareContainer.h: new file, will perhaps be moved to support
16485
16486         * ParameterStruct.h: new file
16487
16488         * ParagraphParameters.h: new file
16489
16490         * ParagraphParameters.C: new file
16491
16492         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16493         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16494
16495         * BufferView_pimpl.C: ParagraphParameter changes.
16496         * buffer.C: Likewise.
16497         * bufferview_funcs.C: Likewise.
16498         * text.C: Likewise.
16499         * text2.C: Likewise.
16500
16501 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16502
16503         * lyxfind.C (LyXReplace): do not redefine default argument in
16504         implementation.
16505         (IsStringInText): ditto
16506         (SearchForward): ditto
16507         (SearchBackward): ditto
16508
16509 2001-03-06  Juergen Vigna  <jug@sad.it>
16510
16511         * lyxfind.C (IsStringInText): put parentes around expressions.
16512
16513 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16514
16515         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16516
16517 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16518
16519         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16520
16521         * stl_string_fwd.h: add comment
16522
16523         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16524
16525         * tabular.h:
16526         * tabular.C: remove unused DocBook methods
16527
16528         * intl.C:
16529         * language.C:
16530         * paragraph.C:
16531         * buffer.C:
16532         killed DO_USE_DEFAULT_LANGUAGE
16533
16534 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * lyx_gui.C: do not include language.h.
16537
16538         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16539         arguments in function implementation.
16540
16541 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16542
16543         * BufferView_pimpl.C: add <ctime>
16544
16545 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16546
16547         * BufferView_pimpl.C: add using std::find_if
16548
16549 2001-02-27  José Matos  <jamatos@fep.up.pt>
16550
16551         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16552         by OnlyPath.
16553
16554 2001-02-11  José Matos  <jamatos@fep.up.pt>
16555
16556         * buffer.C (makeDocBookFile): command styles now have a parameter as
16557         "title" by default.
16558
16559 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16560
16561         * layout_forms.[Ch]: removed
16562         * lyx_cb.[Ch]: out character
16563         * lyx_gui.C: out character
16564         * lyx_gui_misc.C: out character
16565         * bufferview_funcs.C: : out character,
16566         added toggleall as parameter in ToggleAndShow
16567
16568 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16569
16570         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16571
16572         * text2.C (SetCurrentFont): Disable number property at boundary.
16573
16574 2001-02-26  Juergen Vigna  <jug@sad.it>
16575
16576         * lyxfunc.C (getStatus): added a string argument override function so
16577         that this is correctly called from LyXFunc::Dispatch if it contains a
16578         do_not_use_argument which is used!
16579         (Dispatch): added check for "custom" export and call appropriate func.
16580
16581 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16582
16583         * lyxrc.C: Add language_command_local, language_use_babel and
16584         language_global_options.
16585
16586         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16587
16588         * buffer.C (makeLaTeXFile): Use language_use_babel and
16589         language_global_options.
16590
16591 2001-02-23  Juergen Vigna  <jug@sad.it>
16592
16593         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16594         which works with LyXText and putted it inside BufferView. Here now we
16595         only call for that part the BufferView::Dispatch() function.
16596
16597         * BufferView.C (Dispatch): added.
16598
16599         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16600         functions which needs to use a LyXText over from LyXFunc.
16601         (MenuInsertLyXFile): added
16602         (getInsetByCode): added
16603         (moveCursorUpdate): added
16604         (static TEXT): added
16605
16606 2001-02-22  Juergen Vigna  <jug@sad.it>
16607
16608         * BufferView_pimpl.C (update): call a status update to see if LyXText
16609         needs it.
16610
16611 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16612
16613         * vc-backend.C (revert): implement for CVS
16614         (getLog): implement for CVS
16615
16616 2001-02-20  Juergen Vigna  <jug@sad.it>
16617
16618         * text2.C (ClearSelection): added BufferView param for inset_owner call
16619
16620         * lyxfunc.C (TEXT): added this function and use it instead of
16621         directly owner->view()-text of getLyXText().
16622
16623 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16624
16625         * src/layout_forms.C: out preamble
16626         * src/layout_forms.h: out preamble
16627         * src/lyx_cb.C: out preamble
16628         * src/lyx_cb.h: out preamble
16629         * src/lyx_gui.C: out preamble
16630         * src/lyx_gui_misc.C: out preamble
16631         * src/lyxfunc.C: connect with guii preamble
16632
16633 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16634
16635         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16636
16637 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16638
16639         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16640         whether to run bibtex.
16641
16642 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16643
16644         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16645
16646 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16647
16648         * Makefile.am (lyx_SOURCES): removed bibforms.h
16649
16650         * vspace.h: doxygen
16651
16652         * text.C (GetVisibleRow): make several local vars const
16653
16654         * tabular.C: small cleanup.
16655
16656         * lyxserver.C (callback): use compare instead of strncmp
16657
16658         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16659         inlines to after class or to paragraph.C
16660
16661         * lyxfont.h: remove friend operator!=
16662
16663         * converter.h: move friend bool operator< to non friend and after
16664         class def.
16665
16666         * combox.h: small cleanup
16667
16668         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16669         to inlines after class def.
16670
16671         * buffer.C (pop_tag): use string operations instead of strcmp
16672
16673         * bmtable.c: doxygen, small cleanup
16674
16675         * LaTeX.h: remove friend operator==
16676
16677 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16678
16679         * screen.C:
16680         * lyxrc.[Ch]:
16681         * lyxfunc.C:
16682         * lyxfont.[Ch]:
16683         * lyx_cb.C:
16684         * intl.[Ch]:
16685         * commandtags.h:
16686         * buffer.C:
16687         * WorkArea.[Ch]:
16688         * LyXAction.C:
16689         * BufferView_pimpl.C:
16690         * BufferView.[Ch]: remove cruft
16691
16692 2001-02-14  Juergen Vigna  <jug@sad.it>
16693
16694         * lyxfunc.C: removed #if 0 unused code
16695
16696         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16697
16698         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16699
16700         * text2.C (SetSelection): added a BufferView * parameter
16701
16702 2001-02-13  Juergen Vigna  <jug@sad.it>
16703
16704         * lyxfunc.C (Dispatch): fixed protected blank problem.
16705         * BufferView2.C (protectedBlank): added LyxText * parameter.
16706
16707         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16708         (AppendColumn): same as above for column_info.
16709
16710         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16711         (moveCursorUpdate): use a LyXText param for support of InsetText.
16712
16713         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16714         (tripleClick): ditto
16715
16716         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16717
16718         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16719
16720         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16721
16722         * text2.C (SetSelection): set correct update status if inset_owner
16723         (ToggleFree): ditto
16724
16725 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16726
16727         * tabular.C: remove some commented code.
16728
16729 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16730
16731         * BufferView_pimpl.C: call hideSplash()
16732
16733         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16734
16735         * include_form.h:
16736         * bibforms.h: remove
16737
16738         * lyxfunc.C:
16739         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16740           add LFUN_CHILD_CREATE
16741
16742         * counters.h: fix tiny typo
16743
16744         * lyx_cb.C:
16745         * lyx.h:
16746         * lyx_gui.C:
16747         * lyx.C: move splash to frontends/xforms/
16748
16749         * lyx_gui_misc.C: move Include and Bibform to frontends
16750
16751         * lyxvc.h: clarify comment
16752
16753         * vspace.C: tiny housekeeping
16754
16755 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16756
16757         * text.C (PrepareToPrint): RTL Fix.
16758
16759         * paragraph.C (GetUChar): New method.
16760         (String):  Use GetUChar.
16761
16762         * buffer.C (asciiParagraph): Use GetUChar.
16763
16764 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16765
16766         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16767
16768 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16769
16770         * buffer.h:
16771         * buffer.C: rename to getLogName(), handle
16772           build log / latex log nicely
16773
16774 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16775
16776         * MenuBackend.C:
16777         * MenuBackend.h: remove support for reference menuitem type.
16778
16779 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16780
16781         * BufferView_pimpl.C: housekeeping
16782         * BufferView_pimpl.h:
16783         * LyXView.h:
16784         * Makefile.am:
16785         * Timeout.C:
16786         * Timeout.h:
16787         * minibuffer.h: move Timeout GUI-I
16788
16789 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16790
16791         * lyxrc.C (read): Update converters data-structures.
16792
16793 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16794
16795         * LaTeX.h (operator!=): add operator != for Aux_Info
16796
16797 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16798
16799         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16800
16801         * LaTeXLog.C: deleted, useful code moved to Buffer
16802
16803         * buffer.h:
16804         * buffer.C: new function getLatexLogName()
16805
16806         * lyx_gui_misc.C:
16807         * lyx_gui.C:
16808         * lyxvc.C:
16809         * lyxvc.h:
16810         * lyxfunc.C: use frontends for LaTeX and VC logs
16811
16812 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16813
16814         * LaTeX.h: yet another std:: that Allan forgot.
16815
16816         * Variables.C (set): renamed from isset(), because this clashes
16817         with some HP-UX macros (grr).
16818
16819 2001-02-06  Allan Rae  <rae@lyx.org>
16820
16821         * LaTeX.h: Another bug fix.  Missing std:: this time.
16822
16823 2001-02-04  Allan Rae  <rae@lyx.org>
16824
16825         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16826         floats problem. I've left it commented out because it's not quite
16827         correct.  It should also test that the current object is a table or
16828         figure inset.  But I haven't gotten around to figuring out how to do
16829         that.  I *think* it'll be something like: "table" == inset.type()
16830
16831         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16832         bool.
16833
16834 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16835
16836         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16837         all the citation/databases/styles in the auxilary file.
16838         (run): Rerun latex if there was a babel language error.
16839
16840 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16841
16842         * text.C (Backspace): Preserve the font when changing newline char
16843         with a space.
16844         (BreakParagraph): If the cursor is before a space, delete the space.
16845
16846         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16847
16848 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16849
16850         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16851         new argument (code).
16852         (ChangeCitationsIfUnique): New method.
16853
16854         * paragraph.C (GetPositionOfInset): Handle bibkey.
16855
16856 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16857
16858         * BufferView_pimpl.h: change type of Position::par_pos to
16859         LyXParagraph::size_type.
16860
16861 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16862
16863         * BufferView_pimpl.C (savePosition, restorePosition): Write
16864         messages to minibuffer.
16865
16866 2001-01-28  José Matos  <jamatos@fep.up.pt>
16867
16868         * buffer.C (makeDocBookFile): adds support for document language.
16869         A silly restriction on the name of LatexCommand types where removed.
16870         Added support for CDATA sections, allows to chars unescaped, used
16871         among others in code, to avoid escape < and >.
16872
16873 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16874
16875         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16876         saved positions instrad of a stack. Furthermore, a position is
16877         stored using paragraph id/paragraph position.
16878
16879         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16880         Remove LFUN_REF_BACK.
16881
16882 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16883
16884         * converter.C (dvipdfm_options): New method.
16885
16886 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16887
16888         * vspace.C (isValidLength): Fix for empty input string.
16889
16890 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16891
16892         * LyXAction.C (init): change description of LFUN_FIGURE to
16893         "Insert Graphics"
16894
16895 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16896
16897         * LaTeX.C: add using directive
16898
16899 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16900
16901         * MenuBackend.C (expand): Fix the sorting of the formats.
16902
16903 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16904
16905         * lyx_main.C: tiny error message fix
16906
16907 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16908
16909         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16910         calling fl_initialize(). This fixes the problem with ',' as
16911         decimal separator in text files.
16912
16913 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16914
16915         * trans.C (process): Fix the keymap bug.
16916
16917 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16918
16919         * LaTeX.C (scanAuxFiles): New method. Provides support for
16920         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16921         (scanLogFile) Scan for "run BibTeX" messages.
16922
16923         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16924         OT1 font encoding. Also, load the aecompl package if the ae
16925         package is loaded.
16926
16927         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16928
16929 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16930
16931         * texrow.C (increasePos): turn two error messages into debug
16932         messages.
16933
16934 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16935
16936         * LaTeX.C (scanAux): Handle the \@input macro.
16937         (runBibTeX): Use scanAux().
16938
16939         * language.C (latex_options_): New field.
16940
16941         * LaTeXFeatures.C (getMacros): Add language macros.
16942
16943         * buffer.C (makeLaTeXFile): Small fix.
16944
16945 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16946
16947         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16948
16949         * text2.C: add a using directive.
16950
16951 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16952
16953         * BufferView2.C:
16954         * lyx_gui_misc.h:
16955         * lyxfr1.C:
16956         * lyxfunc.C: kill LyXBell.
16957
16958 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16959
16960         * text.C (IsBoundary): Remove the error message
16961
16962         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16963
16964         * lyxrc.C (setDefaults): Correct initialization value for
16965         font_norm_type.
16966
16967 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16968
16969         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16970         gotoError().
16971
16972         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16973         and GotoNextNote().
16974
16975         * src/LyXAction.C: Added reference-next.
16976
16977         * text.C (InsertChar): Use contains instead of strchr.
16978
16979         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16980
16981 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16982
16983         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16984         alignment commands (when needed).
16985
16986         * text.C (InsertChar): Add ':' to number separator chars.