]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix my breakage. Sorry guys.
[lyx.git] / src / ChangeLog
1 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
2
3         * lyx_main.C (init): make it compile on the Mac.
4
5 2005-01-20  Angus Leeming  <leeming@lyx.org>
6
7         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize) 
8         (setLyXMisc): (char string literal) != (char string literal) is
9         performing a comparison on the addresses. Convert one operand
10         explicitly to string to guarantee expected behaviour.
11         From MSVC warning.
12
13 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
14
15         * buffer.C:
16         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
17
18         * output_plaintext.C: remove unneeded #include gzstream.h.
19         
20 2005-01-20  Angus Leeming  <leeming@lyx.org>
21
22         * SpellBase.h: rename some of the elements of the Result enum.
23
24         * aspell_local.h:
25         * ispell.h:
26         * pspell.h:
27         * aspell.C (check):
28         * ispell.C (check):
29         * pspell.C (check): ditto
30
31 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
32
33         * buffer.C: add #include <fstream>.
34
35         * lyx_main.C (init): Compile fix.
36
37         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
38
39 2005-01-20  Angus Leeming  <leeming@lyx.org>
40
41         * mover.h: change commentary to reflect the changed meaning of
42         the $$s placeholder.
43
44 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * output_linuxdoc.C (linuxdocParagraphs): silence warning
47
48         * lyxfind.C (MatchString::operator()): remove bogus semicolon
49
50 2005-01-20  Angus Leeming  <leeming@lyx.org>
51
52         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
53         printing diagnostic data by not dereferecing an iterator past the
54         end.
55
56 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
57
58         * buffer.C (readHeader): use "&&" rather than "and".
59
60         * lyxserver.h (inPipeName, outPipeName): make these const.
61
62 2005-01-19  Angus Leeming  <leeming@lyx.org>
63
64         * lyx_main.C (error_handler, init): protect SIGHUP with
65         #ifdef SIGHUP guards.
66
67 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
70
71 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * text.C (setHeightOfRow): add a margin at the top and bottom of
74         the document (bug 1761)
75
76 2005-01-17  Angus Leeming  <leeming@lyx.org>
77
78         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
79         with "python ". Workaround for a brain-dead Windows.
80
81 2005-01-16  Angus Leeming  <leeming@lyx.org>
82
83         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
84         for MacOSX and Windows to use prependEnvPath.
85         Strip out the hard-coded block to add elements to the PATH for
86         MacOSX and replace it with a call to prependEnvPath using the
87         contents of LyXRC::path_prefix.
88         (queryUserLyXDir): strip out the code to run reconfigure, instead
89         returning a boolean indicating the necessity to do so.
90         (reconfigureUserLyXDir): contains the code to reconfigure the
91         user support directory. Is now called after the various LyXRC data
92         files have been read.
93
94         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
95
96 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
97
98         * converter.[Ch] (convert): take a new parameter try_default. Use
99         a default converter (imagemagick) if try_default is true.
100
101 2005-01-13  Angus Leeming  <leeming@lyx.org>
102
103         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
104         os::cygwin_path_fix.
105         (write): output LyXRC::cygwin_path_fix as necessary.
106
107 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
108
109         * lyxrc.h:
110         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
111
112 2005-01-12  Angus Leeming  <leeming@lyx.org>
113
114         * lyx_main.C (init): set the PATH variable to include the
115         directory containing the LyX binary when running on Mac or Windows.
116
117 2005-01-12  Angus Leeming  <leeming@lyx.org>
118
119         * lyx_main.C (init): remove cruft that purports to set the locale
120         dir. It doesn't and is not needed anyway.
121
122 2005-01-10  Angus Leeming  <leeming@lyx.org>
123
124         * Makefile.am: remove the lyx_main.C special casing.
125
126         * BufferView_pimpl.C:
127         * bufferlist.C:
128         * exporter.C:
129         * lyx_cb.C:
130         * lyx_main.C:
131         * lyxfunc.C:
132         * messages.C: use support/package.h to provide the paths to the
133         various directories used by LyX.
134
135 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
136
137         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
138         layout if pasting into an empty paragraph)
139
140 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
141
142         * tex-accent.C: add <string>
143
144 2005-01-06  José Matos  <jamatos@lyx.org>
145
146         * ParagraphParameters.C (write): put every parameter in its own line.
147         * paragraph.C (write): reduce number of consecutive empty lines exported.
148         * buffer.C (LYX_FORMAT): increase file format to 239.
149
150 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
151
152         * everywhere: change support/tostr.h -> support/convert.h
153
154         * tabular.C: make all write_attributes templates, tostr -> convert
155
156         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
157         (emptyTag): and -> &&, and fix type for ret from getChar
158         (getFirstWord): fix type for ret from getChar
159         (onlyText): and -> &&
160         (simpleDocBookOnePar): and not -> && !, fix type for ret from
161         getChar
162
163         * toc.C (goTo, action):
164         * text3.C (dispatch):
165         * text.C (currentState):
166         * tex-accent.C (DoAccent):
167         * sgml.C:
168         * lyxrc.C:
169         * lyxfunc.C (menuNew):
170         * lyxfinc.C (replace):
171         * counters.C (laberItem):
172         * bufferview_funcs.C (font2string):
173         * bufferparams.C (writeFile):
174         * buffer.C (readFile):
175         * Spacing.C (set):
176         * MenuBackend.C: tostr -> convert
177
178         * LaTeX.C (runMessage): fix format
179         (scanAuxFiles): tostr -> convert
180
181         * BufferView_pimpl.C (savePosition): fix format
182         (restorePosition): ditto
183         (dispatch): ditto
184
185 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
186
187         * Spacing.[Ch]: New method getValueAsString().
188
189         * Spacing.[Ch]:
190         * bufferparams.C:
191         * ParagraphParameters.C:
192         * lyxlayout.C:
193         * text.C:
194         * text3.C: store/read spacing value as string.
195
196         * rowpainter.C: change float value (spacing_val) to double.
197
198         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
199         broken custom document spacing).
200
201 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
202
203         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
204         namespace, also more use of temp references and const
205
206         * cursor.[Ch] (getStatus): move to lyxfunc.C
207
208         * bufferparams.C: reformat slightly
209
210         * bufferview_funcs.C (font2string): constify arg
211
212         * changes.C:
213         * converter.C:
214         * counters.C:
215         * bufferlist.C:
216         * buffer_funcs.C: (many funcs): constify arg on function
217         definitions, also make more local vars const, also add ASSERTS on
218         pointer args.
219
220         * buffer.C (LYX_FORMAT): put const in correct place
221         (many funcs): constify arg on function definitions, also make
222         more local vars const
223
224         * aspell_local.h: remove "struct" from typdef setup
225
226         * aspell.C (check): make word_ok const
227         (nextMiss): simplify slightly
228         (error): ditto
229
230 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
231
232         * lyxrc.[Ch]: store all float values as strings.
233         use int (not float) for lyxrc.dpi.
234
235 2005-01-04  Angus Leeming  <leeming@lyx.org>
236
237         * lyx_cb.C (Reconfigure):
238         * lyx_main.C (queryUserLyXDir):
239         to run the <system_lyxdir>/configure correctly on Windows, prefix
240         the path to the script with "sh " when generating the string that
241         is passed to system().
242
243 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
244
245         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
246
247 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
248
249         * lyxlength.C (asLatexString): get rid of setprecision
250
251 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * text2.C (setLayout): remove unused variable endpit.
254         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
255
256         * paragraph.C (onlyText): remove unused variable style.
257
258         * cursor.C (bruteFind): remove unused variables beg and end.
259
260         * Makefile.am (dist_noinset_DATA): not needed anymore
261
262         * cheaders/*: remove.
263
264 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
265
266         * text3.C: fix LFUN_MATH_MODE.
267
268 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * buffer_funcs.C (countWords): new function. Counts words between
271         two iterators.
272
273         * BufferView_pimpl.C (getStatus, dispatch): handle
274         LFUN_WORDS_COUNT.
275
276         * LyXAction.C (init):
277         * lfuns.h: add LFUN_WORDS_COUNT.
278
279 2004-12-19  Angus Leeming  <leeming@lyx.org>
280
281         * buffer.C (save): s/slashify_path/internal_path/.
282
283 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
284
285         * lyxfind.C (findChange): do not search for end of pars, because
286         the change tracker cannot handle this (fixes bug 1719).
287
288 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * paragraph.[Ch] (autoBreakRows): remove
291
292         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
293
294         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
295         avoid using the paragraph one
296
297         * text2.C (LyXText, insertStringAsLines): adjust
298
299 2004-12-16  Angus Leeming  <leeming@lyx.org>
300
301         * bufferlist.C:
302         * lyx_main.C:
303         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
304
305 2004-12-14  Angus Leeming  <leeming@lyx.org>
306
307         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
308
309         * bufferlist.C (emergencyWrite):
310         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
311         GetEnvPath("HOME").
312
313 2004-12-14  Angus Leeming  <leeming@lyx.org>
314
315         * main.C: (main): no longer pass pointers to os::init.
316
317 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
318
319         * undo.C (textUndoOrRedo): simplify logic, fix a crash
320         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
321
322 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
323
324         * lyxfunc.C:
325         * text3.C: remove selection_possible global flag
326
327 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
328
329         * text2.C (getSelectionSpan): remove
330         (changeDepth, changeDepthAllowed): adjust
331
332 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
333
334         * Makefile.am (BOOST_LIBS): use boost variables
335
336 2004-12-03  José Matos  <jamatos@lyx.org>
337
338         * buffer.C: format up to 238.
339
340 2004-12-03  José Matos  <jamatos@lyx.org>
341
342         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
343
344 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
345
346         * cursor.C (goUpDown): remove call to idxUpDown2
347
348 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
349
350         * tabular.[Ch]: use size_t-like types for cell, row and column
351         indices
352
353 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
354
355         * lyxfunc.C (getStatus): do not lose previous information when
356         calling BufferView::getStatus; do not set a default "Command
357         disabled" message at the beginning, but just before returning.
358
359 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
360
361         * cursor.h (getStatus): add better comment from src/cursor.C
362
363 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * text3.C (getStatus): return false when the lfun is not handled
366
367 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * broken_headers.h: remove
370
371         * Makefile.am (lyx_SOURCES): remove broken_headers.h
372
373 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
374
375         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
376         offset_ref accessors
377
378         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
379         top_y_, merge fitcursor with update
380         (updateScrollbar, scrollDocView, fitCursor, center, update): new
381         coord scheme
382         (metrics): introduce
383         (workAreaDispatch): adapt to new coord scheme
384         (redoCurrentBuffer): remove
385
386         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
387
388         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
389         CurStatus enum.
390
391         * coordcache.[Ch]: add paragraph cache and helpers
392
393         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
394         adjust everywhere
395
396         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
397         (targetX, setTargetX): introduce
398
399         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
400         baseline -> ascent, as the rest of lyx
401
402         * lyxtext.h: remove redoParagraphs, updateParPositions,
403         fullRebreak, redoParagraphInternal. move dist to anon namespace in
404         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
405         have ascent/descent (ascent is ascent of first par)
406
407         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
408         step of BufferView
409
410         * paragraph.[Ch]: unify dimension handling with the rest of lyx
411
412         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
413
414         * pariterator.C: fix infinite loop introduced in par->pit renaming
415
416         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
417         in insets and LyXText, draw two off-screen paragraphs using
418         NullPainter, and adapt to new coord scheme
419
420         * text.C:
421         * text2.C:
422         * text3.C: adapt lfun handlers to the new coord scheme, which
423         means: there's only guaranteed coord information for onscreen pars
424         plus one above and one below. This implies that one can do search
425         from y coordinates in the range [-1,workHeight]
426
427 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
428
429         * rename a lot of InsetOld to InsetBase
430
431 2004-11-25  Angus Leeming  <leeming@lyx.org>
432
433         * BufferView_pimpl.C:
434         * lyx_cb.C:
435         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
436
437 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
440         call BufferView::getStatus if LCursor::getStatus did nothing
441         (setStatusMessage, getStatusMessage): removed.
442
443         * FuncStatus.C (message): new methods. Used to provide an error
444         message indicating why a command is disabled.
445         (clear, |=, FuncStatus): update for message.
446
447 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
448
449         * lyxfunc.C (dispatch): always call sendDispatchMessage
450
451 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
452
453         * BufferView.C:
454         * BufferView_pimpl.C:
455         * CutAndPaste.C:
456         * FontIterator.C:
457         * buffer.C:
458         * cursor.C:
459         * cursor_slice.[Ch]:
460         * dociterator.[Ch]:
461         * lyxfind.C:
462         * paragraph_funcs.C:
463         * pariterator.C:
464         * rowpainter.C:
465         * text.C:
466         * text2.C:
467         * text3.C:
468         * undo.C: par->pit renaming
469
470 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
471
472         * tabular.C (cellstruct): use initialization, store a shared_ptr
473         to insettext instead of the insettext directly, adjust to fit.
474         (operator=):  new function
475         (swap): new function
476         (rowstruct): use initialization
477         (columnstruct): use initialization
478         (ltType): use initialization
479
480
481         * lyxlength.h (swap): new function
482
483         * LColor.[Ch] (operator=): use the common semantics
484
485 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * lyxfind.C (findNextChange): update the bufferview after setting
488         the selection.
489
490 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
493         number of InsetOptArgs has already been inserted.
494
495         * output_latex.C (latexOptArgInsets): new method. This outputs all
496         the optarg insets, up to the limit defined in the layout file.
497         (optArgInset): removed
498         (TeXOnePar): call latexOptArgInsets; correctly update texrow
499
500 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * paragraph.C (isLetter): remove special spellchecker-related
503         code; return true also for digits
504         (isWord, isKomma): remove
505
506         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
507         * lyxfind.C (MatchString()): use isLetter instead of isWord
508
509 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
510
511         * pariterator.h (operatir=): comment out un-implemented member
512         function.
513
514         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
515         static cast.
516
517 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
518
519         * lyxfont.h: include LColor.h to satisfy concept checks.
520
521 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
522
523         * pariterator.h: add typdefs for value_type, difference_type,
524         pointer and reference to satisfy concept checks. Also add default
525         constructor for same reason.
526
527         * pariterator.C (operator++): add post-increment operator to
528         satisfy concept checks.
529
530         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
531         checks.
532
533         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
534
535         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
536         checks. Also rename base_type to BaseType to follow naming
537         standard better.
538
539         * FloatList.h: include Floating.h to satisfy concept checks.
540
541 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
542
543         * lyxfunc.C (getStatus): when the origin of the request is menu or
544         toolbar, and the LyXView does not have focus, do as if there was
545         no buffer (bug 1720)
546
547         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
548         FuncRequest to individual entries of LFUN_SEQUENCE
549
550 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
551
552         * output_latex.C (TeXOnePar): override runparams.moving_arg
553         according to the needprotect value of the current paragraph (bug
554         1739)
555
556         * paragraph.C (simpleTeXOnePar): no need to override
557         runparams.moving_args here
558
559 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
560
561         * vspace.C: fix off-by-one-error, related to fix #1682
562
563 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
564
565         * lengthcommon.C: a more general fix for bug 1682
566
567 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
568
569         * text.C (backspace): fix crash
570
571 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
572
573         * format.[Ch] (getFormatFromFile): new method
574         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
575
576 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
579
580 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * lyxfunc.C (dispatch): remove the verbose argument
583         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
584         instead
585
586         * kbmap.C (defkey): set the origin of func to KEYBOARD
587
588         * MenuBackend.C (MenuItem):
589         * ToolbarBackend.C (add): set the origin of func to UI
590
591         * funcrequest.[Ch]: add origin member, which indicates which part
592         of LyX requests an action
593
594 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
595
596         * converter.C (move): don't lie in the error message
597         * converter.h (isReachable, move): document
598
599 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
600
601         * buffer.C: remove unused using lyx::support::atoi
602         * paragraph_funcs.C: ditto
603
604 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
605
606         * bufferlist.C (exists): use bind and equal_to instead of
607         compare_memfun
608         (getBuffer): ditto
609         * lyxtextclasslist.C (NumberOfClass): ditto
610
611         * cursor.C (insert): use for_each instead of explicit for loop
612
613         * bufferlist.C (getFileNames): use std::transform and
614         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
615
616         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
617         for loop
618
619         * buffer.C (changeLanguage): use for_each instead of explicit for
620         loop
621         (hasParWithID): implement using getParFromID
622
623         * LaTeXFeatures.C: ws change only
624
625         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
626         to cleanup a bit.
627
628         * BufferView_pimpl.C (trackChanges): use for_each instead of
629         expilicit for loop
630
631 2004-11-04  André Pönitz  <poenitz@gmx.net>
632
633         * undo.h:
634         * undo.C (textUndoOrRedo): fix crash when creating undo information.
635
636         * dociterator.C (asDocIterator): use hard assert again.
637
638 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * lyxlength.C (asLatexString): rewrite so that it does not use
641         snprintf anymore
642
643 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
644
645         * text3.C (specialChar, dispatch): make sure cursor moves to the
646         right after inserting an inset
647
648 2004-11-02  José Matos  <jamatos@lyx.org>
649
650         * output_docbook.C (docbook):
651         * paragraph.C (getID):
652         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
653         garantee that the output is always legal.
654
655         * tabular.C (docbook):
656         * outputprams.[Ch]: remove mixed contents.
657
658 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
659
660         * text2.C (setCounter): prevent endless loop
661
662 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
663
664         * exporter.C (copyFile): use the mover instead of support::copy()
665         * exporter.C (Export): pass format and latex name to copyFile()
666         * exporter.h (addExternalFile): document
667         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
668
669 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
670
671         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
672
673 2004-10-30  José Matos  <jamatos@lyx.org>
674
675         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
676         text and no inset or font change. This allows to use CDATA
677         sections just for the whole paragraph.
678
679 2004-10-30  José Matos  <jamatos@lyx.org>
680
681         * paragraph.C (getFirstWord): remove unused variable.
682
683 2004-10-30  José Matos  <jamatos@lyx.org>
684
685         * paragraph.C (getFirstWord): the content should always be escaped
686         there.
687         (simpleDocBookOnePar):
688         * output_docbook.C (makeEnvironment): replace reference to CDATA
689         to style pass_thru.
690
691 2004-10-30  José Matos  <jamatos@lyx.org>
692
693         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
694
695 2004-10-30  José Matos  <jamatos@lyx.org>
696
697         * output_docbook.C (makeParagraphs):
698         * paragraph.[Ch] (emptyTag): for docbook and company, if the
699         standard paragraph has only a given type of content drop the wrapper.
700
701 2004-10-29  José Matos  <jamatos@lyx.org>
702
703         * output_docbook.C (makeEnvironment):
704         * sgml.C (openTag):
705         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
706
707 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
708
709         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
710         (cleanID): sanitize any id.
711
712 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
713
714         * buffer.C, lyxlex_pimpl.C:
715         * lyxlex_pimpl.C (setFile):
716         s/getExtFromContents/getFormatFromContents/
717
718 2004-10-28  José Matos  <jamatos@lyx.org>
719
720         * output_docbook.C (makeEnvironment): move id to broadest possible
721         scope.
722
723         * sgml.C (openTag): apply substitution of <> for all attributes.
724
725 2004-10-28  José Matos  <jamatos@lyx.org>
726
727         * buffer.C (makeLinuxDocFile, makeDocBookFile):
728         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
729         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
730
731         * sgml.[Ch]: new version for open and closeTag for paragraph and
732         for strings. Now they handle the ids of paragraphs.
733
734 2004-10-26  Angus Leeming  <leeming@lyx.org>
735
736         * Makefile.am: add mover.[Ch].
737
738         * converter.C (convert, move): use the new Movers to move external
739         files to the temp directory.
740
741         * lyx_main.C (init): ensure that the global system_movers data
742         is initialised.
743
744         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
745         preferences file.
746
747         * mover.[Ch]: new files, defining a Mover as a utility to move an
748         external file between directories and, if necessary, manipulate this
749         file using a helper script.
750
751 2004-10-25  José Matos  <jamatos@lyx.org>
752
753         * output_docbook.C (makeCommand): merge two if's that tested the
754         same condition.
755
756 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         * sgml.C (escapeString): fix warning in a better way
759
760 2004-10-25  José Matos  <jamatos@lyx.org>
761
762         * sgml.C (escapeString): import the require boosts header file for
763         tie, and avoid a signed unsigned comparison.
764
765 2004-10-25  José Matos  <jamatos@lyx.org>
766
767         * sgml.h: add #include <string>
768
769 2004-10-25  José Matos  <jamatos@lyx.org>
770
771         * sgml.[Ch] (escapeString): new function to escape all the string.
772
773 2004-10-24  José Matos  <jamatos@lyx.org>
774
775         * paragraph.[Ch] (getFirstWord): new function to get the first
776         word. Useful for description.
777         (simpleDocBookOnePar): remove depth argument, add another that
778         says where to start the paragraph.
779
780         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
781         use the new functions to fix cleanly the support for descriptions.
782
783 2004-10-24  José Matos  <jamatos@lyx.org>
784
785         * buffer.C (makeLinuxDocFile, makeDocBookFile):
786         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
787         * output_linuxdoc.C (linuxdocParagraphs):
788         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
789         add buffer as argument.
790
791 2004-10-24  José Matos  <jamatos@lyx.org>
792
793         * output_docbook.C (makeEnvironment, searchEnvironment): place
794         CDATA inside paragraphs and fix scope for listitems.
795
796 2004-10-24  José Matos  <jamatos@lyx.org>
797
798         * output_docbook.C: remove using statement for stack.
799
800 2004-10-23  José Matos  <jamatos@lyx.org>
801
802         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
803         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
804         docbook. The new scheme is recursive and makes use of iterators, the
805         same as latex export works.
806         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
807         directly with the paragraph contents. This code was moved up to
808         output_docbook.C (docbookParagraphs).
809         * sgml.C (openTag, closeTag): removed unneeded newlines.
810         (closeEnvTags) removed.
811
812 2004-10-23  André Pönitz  <poenitz@gmx.net>
813
814         * undo.C (textUndoOrRedo):
815         * dociterator.C (asDocIterator): work around crash
816
817         * cursor.C (getStatus): replace ASSERT by more verbose error message
818           and manual correction of the problem. Should increase stability
819           while providing more sensible information.
820
821 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
822
823         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
824
825         * bufferlist.C (previous, next): new methods
826
827         * lfuns.h:
828         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
829
830 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
831
832         * buffer.C (makeDocBookFile): add dsssl stylesheet control
833         entities to preamble.
834
835 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
836
837         * messages.C (Pimpl): strip off translation context information
838
839 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
840
841         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
842         the cursor is correct (bug 1694)
843
844 2004-10-13  José Matos  <jamatos@lyx.org>
845
846         * output_docbook.C (docbookParagraphs): fix closing tags in the
847         end of the document.
848
849 2004-10-09  José Matos  <jamatos@lyx.org>
850
851         * buffer.C: format up to 237.
852         * bufferparams.C (write): use tostr to convert booleans to strings.
853
854 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
855
856         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
857
858 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
859
860         * LaTeX.C: implement use of babel language in xindy.
861
862 2004-10-05  José Matos  <jamatos@lyx.org>
863
864         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
865         Add new translators to help reading and writing the lyx file.
866
867 2004-10-05  José Matos  <jamatos@lyx.org>
868
869         * ParagraphParameters.C (read):
870         * text.C (readParToken): replace nexToken by more appropriate lex
871         methods.
872
873 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
874
875         * LaTeX.C (runMakeIndex):
876         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
877         (usually 'makeindex') configurable.
878
879         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
880         with a variable rather than with a number.
881
882 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
883
884         * output_latex.C (TeXOnePar): make sure font setting is the first
885         thing that gets output (and the last at the end). Should fix bug
886         1404.
887
888 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
889
890         * pch.h: use proper signal include
891
892         * LaTeX.h: Use preferred calling of Boost.Signal
893         * buffer.h: ditto
894
895 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
896
897         * pch.h: dont include <boost/function/function0.hpp>
898
899         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
900
901         * paragraph_pimpl.h: remove usage of ShareContainer
902
903         * paragraph_pimpl.C: remove initialization of ShareContainer.
904
905 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
906
907         Fix bug #1666
908
909         * BufferView.C (putSelectionAt): change the semantics when
910         backwards == true: now, this just swaps cursor and anchor wrt the
911         forward case
912
913         * BufferView.h (putSelectionAt): add some documentation
914
915         * lyxfind.C (findBackwards): rewrite using while(). In particular,
916         make sure backwardChar is done at least once (to avoid getting
917         stuck)
918         (findNextChange): use putSelectionAt in the forward direction
919         (operator()): use Paragraph::isWord
920
921 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
922
923         * Spacing.C (set): c_str fix
924
925 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * lyx_cb.C (Reconfigure): quote the name of configure script in
928         case it contains spaces
929
930 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
931
932         * client: new dir
933
934         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
935         (BOOST_LIBS): use top_buildir when looking for the file
936
937 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
938
939         * pch.h: do not use include boost/format.hpp, multiple symbols
940                 will result (gcc bug)
941
942
943 2004-08-23  José Matos  <jamatos@lyx.org>
944
945         * bufferparams.C (readToken): fix reading of the author field.
946
947 2004-08-20  José Matos  <jamatos@lyx.org>
948
949         * lyxrc.C: remove support/translator.h inclusion since it is not used.
950
951 2004-08-20  José Matos  <jamatos@lyx.org>
952
953         * lyxlex.[Ch] (findToken): remove function.
954
955         * ParagraphParameters.C (findToken):
956         * bufferparams.C (findToken): replace call for previous function
957         with local copy. This local function has one more argument, the
958         read string argument.
959
960 2004-08-16  José Matos  <jamatos@lyx.org>
961
962         * ParagraphParameters.C (write):
963         * Spacing.C (writeFile):
964         * bufferparams.C (writeLaTeX):
965         * lyx_cb.C (Reconfigure):
966         * paragraph.C (write):
967         * tabular.C (write): remove unnecessary space at end of line.
968
969
970 2004-08-16  José Matos  <jamatos@lyx.org>
971
972         * text.C (readParagraph): remove debug message.
973
974 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
975
976         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
977         crash
978
979         * output_plaintext.C (asciiParagraph): set depth correctly
980
981         * outputparams.h: add member depth
982
983         * paragraph_funcs.C (ownerPar): remove.
984
985         * text2.C (setCounter): remove first_pit; comment out some
986         non-working code that uses ownerPar
987
988         * BufferView.C (getParentLanguage): remove. Not used anymore, and
989         uses ownerPar
990
991 2004-08-16  José Matos  <jamatos@lyx.org>
992
993         * text.C (readParToken, readParagraph, read): report all unknown tokens.
994         For the same level of importance use the same chanel to report problems.
995         (read): add code to deal with \begin_body and \end_body.
996
997
998 2004-08-15  José Matos  <jamatos@lyx.org>
999
1000         * lyxlex.C (getString): fix comment, buffer::readBody is now
1001         buffer:readDocument.
1002
1003         * tex-strings.C (string_papersize): Default -> default,
1004         Custom -> custom, for consistency with other options.
1005
1006 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1007
1008         * pch.h: new file
1009
1010         * Makefile.am: support pch
1011
1012 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * text.C (readParToken): remove the static LyXFont variable and
1015         pass it as a parameter instead. This fixes a nasty bug where an
1016         inset will be inserted with a bad font in some situations
1017         (readParagraph): adapt
1018
1019         * text2.C (setCounter): reduce number of calls to pars_[pit]
1020
1021         * text.C (singleWidth): add an assert, fix a test
1022
1023         * rowpainter.C (paintText): reduce number of calls to singleWidth
1024
1025         * paragraph.C (isHfill):
1026         (isNewline): ws only
1027
1028 2004-08-14  André Pönitz  <poenitz@gmx.net>
1029
1030         * text.C:
1031         * text2.C:
1032         * rowpainter.C:
1033         * lyxtext.h (several functions): use a Paragraph & argument
1034         instead of par_type
1035
1036 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1037
1038         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1039
1040         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1041
1042         * text.C (singleWidth): remove useless test
1043
1044 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1045
1046         * tabular.h: remove bogus comments
1047
1048         * tabular.C (getDescentOfRow):
1049         (isPartOfMultiColumn): add assertions
1050
1051         * lyxlength.C (inPixels): remove #warning
1052
1053 2004-08-14  André Pönitz  <poenitz@gmx.net>
1054
1055         * paragraph.h: inline getChar()
1056
1057         * BufferView.h: remove unused declarations
1058
1059 2004-08-14  José Matos  <jamatos@lyx.org>
1060
1061         * Buffer.[Ch] (readDocument): new name for old readBody.
1062         * Buffer.C: new file format, new keywords: \begin_document,
1063         \begin_header, \begin_body, \end_body.
1064
1065         * bufferparams.C (readToken): replace all calls to lex.nextToken
1066         by lex.next(). Do the same to eatLine except where really needed.
1067
1068         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1069         line when writing to the lyx file.
1070
1071         * output_plaintext.C (asciiParagraph): fix Bibliography style
1072         handling.
1073
1074         * text.C (read): fix end of file handling.
1075
1076 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1077
1078         * MenuBackend.C (Menu::operator[]): new method to access
1079         individual menu items
1080         (Menu::hasFunc): new method. search for an item that corresponds
1081         to a given func
1082         (MenuBackend::specialMenu): new method
1083         (MenuBackend::expand): if a special menu has been set, skip
1084         entries whose func() appears in this menu
1085
1086 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1087
1088         * text3.C: use Debug::DEBUG a bit more
1089
1090         * text.C (leftMargin): try to simplify a tiny bit change var x to
1091         l_margin. Dont output the wide margins always.
1092         (rightMargin): no margin in inner texts
1093
1094         * rowpainter.h (nestMargin): new func
1095         (changebarMargin): new func
1096         (rightMargin): new func
1097
1098         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1099         now functions.
1100         (paintLast): ditto
1101
1102         * factory.C (createInset): modify setDrawFrame
1103
1104         * cursor.C: use Debug::DEBUG a bit more
1105
1106 2004-08-14  André Pönitz  <poenitz@gmx.net>
1107
1108         * coordcache.[Ch]:
1109         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1110         cache for all insets in (at least partially) visible (top-level)
1111         paragraphs.
1112
1113         * BufferView_pimpl.C: reset external coord cache before every update.
1114         This means the coord cache only contains valid entries.
1115
1116 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1117
1118         bug 1096
1119         * BufferView_pimpl.C (getInsetByCode): move function out of class
1120         and change in to a template in anon namespace. Also fix to do what
1121         suits us better.
1122
1123 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1124
1125         bug 1305
1126         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1127         of char
1128         (breakParagraph): rename par to par_offset and use a local
1129         reference. Add code to keep the language over a rebreak.
1130         (breakParagraphConservative): rename par to par_offset, use a
1131         local reference
1132         (mergeParagraph): ditto
1133         (outerHook): ditto
1134         (isFirstInSequence): ditto
1135         (outerFont): rename pit to par_offset
1136
1137         * paragraph.C: ws change
1138         * paragraph.h: ditto
1139         * text3.C: ditto
1140         * text.C: ditto
1141
1142 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1143
1144         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1145         treatment for ']'
1146
1147         * paragraph.C (simpleTeXOnePar): when we have a \item with
1148         optional argument, enclose the argument with curly brackets (in
1149         case it contains a closing square bracket)
1150
1151         * text2.C (editXY):
1152         * text2.C (editXY):
1153         * text3.C (checkInsetHit): constify
1154
1155 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1158         documents (bug 1629)
1159
1160 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         Fix toggling of collapsable insets with the mouse (bug 1558)
1163
1164         * lyxfunc.C (dispatch): adapt to LCursor changes
1165
1166         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1167         make sure that dispatch is not invoked twice
1168
1169         * cursor.C (needsUpdate): new method
1170         (dispatch): return void
1171         (result): new method, to access the DispatchResult of the cursor.
1172
1173 2004-08-13  José Matos  <jamatos@lyx.org>
1174
1175         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1176
1177 2004-08-13  André Pönitz  <poenitz@gmx.net>
1178
1179         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1180
1181         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1182           multiple cells
1183
1184 2004-08-12  André Pönitz  <poenitz@gmx.net>
1185
1186         * text3.C: take out the 'cursor right' form insertInset and only
1187         do it in those places when it is really needed. Fixes crash on
1188         C-m...
1189
1190 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1191
1192         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1193
1194         * BufferView_pimpl.C (setBuffer): initialize the current font of
1195         the underlying LyXText
1196
1197 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1198
1199         * kbsequence.C (print): use UI native formatting for menu
1200         shortcuts
1201
1202         * text.C (insertChar): call Paragraph::insertChar with a font
1203         argument (cosmetic)
1204
1205         * paragraph.C (insertInset, insertChar): the version that takes a
1206         LyXFont argument is now a wrapper around the other one (the
1207         opposite used to be true).
1208
1209         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1210         argument. Font setting is done in Paragraph now.
1211
1212 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1213
1214         * outputparams.h: add new members intitle and lang.
1215
1216         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1217         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1218
1219 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1220
1221         * text3.C (dispatch): remove special handling of button 4 and 5,
1222         it is now taken care of in the frontend code.
1223
1224 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1225
1226         * Spacing.h: add <string> (STLPort compile fix)
1227
1228 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1229
1230         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1231
1232 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1233
1234         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1235         to bool.
1236
1237         * converter.C (showMessage): inherit from unary_function, make
1238         operator() const.
1239
1240         * buffer.C (writeFile): initialize retval
1241
1242         * InsetList.h: rename private variable list to list_
1243         * InsetList.[Ch]: adjust accordingly.
1244
1245 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1246
1247         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1248         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1249         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1250         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1251         * ParagraphParameters.C, LaTeXFeatures.C: replace
1252         "support/std_sstream.h" with <sstream>
1253
1254 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1255
1256         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1257         * lyxsocket.C (LyXServerSocket): ditto
1258         (serverCallback): ditto
1259
1260 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1261
1262         * LaTeXFeatures.C: check release date when loading jurabib.
1263
1264 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1265
1266         * lyxserver.C (startPipe): call register_socket_callback
1267         (endPipe): call unregister_socket_callback
1268
1269 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1270
1271         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1272         (LyXServerSocket): register the callback
1273         (LyXServerSocket): unregister the callback
1274         (fd): delete function
1275         (serverCallback): improve error checking and setup the callbacks.
1276         (dataCallback): change arg to fd.
1277         (writeln): new func (copied fro the client socket) used for server
1278         write to client.
1279         (LyXDataSocket): simplify
1280         (~LyXDataSocket): close ann unregiser callback
1281         (server): delete function
1282         (fd): delete function
1283         (readln): small changes, improve some std::string usage
1284         (writeln): constify a bit
1285
1286 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1287
1288         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1289         Qt frontend
1290
1291 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1294         after it has been populated
1295
1296 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * text2.C (insertInset): move cursor when inserting inset.
1299
1300 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1301
1302         * kbmap.C (findbindings): a couple of new methods. returns a
1303         container of kb_sequence objects. The real work is done by the
1304         private recursive version
1305         (printbindings): uses findbindings to print out a bracketed list
1306         of bindings (renamed from findbinding).
1307
1308         * MenuBackend.C (binding): use kb_keymap::findbindings
1309
1310         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1311
1312 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1313
1314         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1315
1316 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * paragraph.C (isWord): return true on insets that report
1319         isLetter().
1320
1321         * text.C (getWord): use Paragraph::isWord to decide what is in a
1322         word and what is not; fix bug 1609.
1323
1324 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1325
1326         * tex-strings.C: add "none" to string_paperpackages[], fixes
1327         off-by-one-error in the paperpackage selection.
1328
1329         * lyxlex.[Ch]:
1330         * tex-strings.[Ch]: char const * string[n]
1331         -> char const * const string[]
1332
1333 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1334
1335         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1336         command, return early.
1337
1338 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1339
1340         * debug.h: add DEBUG to enum and fix size of ANY.
1341
1342         * debug.C: add support for Debug::DEBUG
1343         (showTags): cast errorTags.level to unsigned int
1344
1345         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1346         (redoCurrentBuffer): ditto
1347         (updateScrollbar): ditto
1348         * cursor.C (dispatch): ditto
1349         * text2.C (setLayout): ditto
1350         (setFont): ditto
1351         (updateCounters): ditto
1352         (editXY): ditto
1353         (deleteEmptyParagraphMechanism): ditto
1354
1355 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1356
1357         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1358         annotations to cleanup the Makefile slightly.
1359
1360 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1361
1362         * lyxrc.C: do not set user_email to a default value but use empty
1363         instead. The entry used to be translated, which does not work
1364         since at the point where lyxrc is constructed there is no
1365         translation service available
1366
1367         * messages.C (getLocaleDir): remove and use directly
1368         lyx_localedir() instead
1369
1370 2004-06-02  Angus Leeming  <leeming@lyx.org>
1371
1372         Fix crash caused by dereferencing null pointer 'exportdata' in
1373         OutputParams by creating a new ExportData variable on the heap,
1374         storing it in a boost::shared_ptr.
1375         The crash was triggered when generating an Instant Preview
1376         of an external inset.
1377
1378         * Makefile.am: add outputparams.C
1379
1380         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1381         (c-tor): allocate memory to it.
1382
1383         * exporter.C (c-tor): associated changes.
1384
1385 2004-06-01  Angus Leeming  <leeming@lyx.org>
1386
1387         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1388         contains data before calling isInset(0). (Bug 1513.)
1389
1390 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1391
1392         * exporter.C (checkOverwrite): new method
1393         * exporter.C (copyFile): new method
1394         * exporter.C (Export): copy referenced files to the document dir
1395         * exporter.[Ch]: new class ExportedFile
1396         * exporter.[Ch]: new class ExportData. Contains currently the
1397         names of referenced external files
1398         * outputparams.h: add exportdata member.
1399
1400 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1401
1402         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1403         version.C-tmp
1404
1405 2004-05-19  Angus Leeming  <leeming@lyx.org>
1406
1407         * LaTeXFeatures.C:
1408         * ToolbarBackend.C:
1409         * bufferparams.C:
1410         * lyxfunc.C: small changes due to the introduction of namespace
1411         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1412
1413 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1414
1415         * text3.C (dispatch): supress update when only moving the cursor
1416         * cursor.C (selHandle): remove commented code
1417
1418 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1419
1420         * paragraph.C (startTeXParParams): correct column count
1421         * CutAndPaste.C (pasteSelection): remove const_cast
1422         * output_docbook.C (docbookParagraphs): remove const_cast
1423         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1424         const_cast and return ParagraphList::const_iterator
1425         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1426         * output_plaintext.C (writeFileAscii): remove const_cast
1427         * paragraph.[Ch] (simpleTeXOnePar): make const
1428         * paragraph_funcs.C (outerPar): use const iterators
1429         * paragraph_pimpl.C (validate): use const iterators
1430         * text.C (setHeightOfRow): use const iterators
1431
1432 2004-05-17  Angus Leeming  <leeming@lyx.org>
1433
1434         * lfuns.h:
1435         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1436
1437         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1438         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1439         if the citation engine has changed.
1440
1441 2004-05-14  José Matos  <jamatos@lyx.org>
1442
1443         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1444         if the textclass does not provide it. Have it different for sgml and
1445         xml.
1446         support the language of document.
1447         * output_docbook.C (docbookParagraphs):
1448         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1449         first anchor as the id of the paragraph, remove special case code.
1450         * sgml.C (escapeChar): escape only < & >.
1451
1452 2004-05-14  Angus Leeming  <leeming@lyx.org>
1453
1454         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1455         dependencies on src/frontends/controllers/biblio.h. Define a
1456         CiteEngine_enum wrapper class to enable the enum to be forward
1457         declared.
1458
1459 2004-05-12  Angus Leeming  <leeming@lyx.org>
1460
1461         * buffer.C: up LYX_FORMAT to 234.
1462         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1463         use_numerical_citations with a single biblio::CiteEngine cite_engine
1464         variable.
1465         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1466
1467 2004-05-13  José Matos  <jamatos@lyx.org>
1468
1469         * converter.h:
1470         * converter.C (Converter, readFlags): add xml member.
1471         * outputparams.h: add XML flavor.
1472         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1473
1474 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * lyxfunc.C (dispatch):
1477         (getStatus): fix handling of LFUN_SEQUENCE
1478
1479 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * debug.C (showLevel): do not forget the end-of-line marker
1482
1483 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * kbmap.C (read): do not stop parsing a bind file when an error
1486         occurs (bug 1575)
1487
1488 2004-04-29  Angus Leeming  <leeming@lyx.org>
1489
1490         * cursor.C:
1491         * factory.C:
1492         * pariterator.C:
1493         * text2.C: wrap a bunch of #warning statements
1494         inside #ifdef WITH_WARNINGS blocks.
1495
1496 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1497
1498         * buffer.C: increment format to 233.
1499
1500 2004-04-28  Angus Leeming  <leeming@lyx.org>
1501
1502         * BufferView_pimpl.C:
1503         * lyxfunc.C:
1504         * text3.C:
1505         s/updateToolbar()/updateToolbars()/
1506         s/Toolbar.h/Toolbars.h/
1507
1508 2004-04-28  Angus Leeming  <leeming@lyx.org>
1509
1510         * BufferView.[Ch] (c-tor):
1511         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1512         No longer passes these data to the WorkArea generator.
1513
1514 2004-04-28  Angus Leeming  <leeming@lyx.org>
1515
1516         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1517
1518 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1519
1520         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1521
1522 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * output_latex.C (TeXEnvironment): make sure that there is a line
1525         break before \end{foo} for the last paragraph of a document
1526         (TeXOnePar): if the paragraph is at the end of the document (or
1527         inset) and the language has to be reset, then make sure that the
1528         line break is _before_ the language command, not after (fixes bug
1529         1225); also make sure that the language reset command is the first
1530         thing after the paragraph (to ensure proper nesting of
1531         environments and thus fix bug 1404)
1532
1533 2004-04-21  John Levon  <levon@movementarian.org>
1534
1535         * ToolbarBackend.h:
1536         * ToolbarBackend.C: make "name" be a programmatic name
1537         and a gui_name field.
1538
1539         * lyxfunc.C: display the minibuffer on M-x
1540
1541 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1542
1543         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1544         (bug 1526)
1545
1546 2004-04-19  Angus Leeming  <leeming@lyx.org>
1547
1548         * BufferView_pimpl.C (setBuffer): changed preview interface.
1549
1550         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1551         possible values.
1552
1553 2004-04-19  John Levon  <levon@movementarian.org>
1554
1555         * BufferView_pimpl.C:
1556         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1557
1558 2004-04-05  Angus Leeming  <leeming@lyx.org>
1559
1560         * text.C (redoParagraphs): add call to updateCounters(), thereby
1561         fixing the missing "Figure #:" label from the caption of a
1562         figure float.
1563
1564 2004-04-13  Angus Leeming  <leeming@lyx.org>
1565
1566         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1567         cursor is clicked out of an inset.
1568
1569 2004-04-13  Angus Leeming  <leeming@lyx.org>
1570
1571         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1572         than an InsetOld one.
1573
1574 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1575
1576         * format.[Ch]: add editor to Format
1577         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1578         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1579
1580 2004-04-08  André Pönitz  <poenitz@gmx.net>
1581
1582         * metricsinfo.h: remove PainterInfo::width member
1583
1584 2004-04-08  Angus Leeming  <leeming@lyx.org>
1585
1586         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1587         "\providecommand" rather than "\newcommand", thereby preventing
1588         clashes with packages that define "\boldsymbol" themselves.
1589         Eg, beamer.
1590
1591 2004-04-08  Angus Leeming  <leeming@lyx.org>
1592
1593         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1594         thereby squashing an unnecessary warning.
1595
1596 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1597
1598         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1599         setBuffer()
1600
1601 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1602
1603         * BufferView.C (setCursor): call redoParagraph (some insets could
1604         have been opened)
1605         (putSelectionAt): remove the 'double update' trick
1606
1607         * BufferView_pimpl.C (fitCursor): call refreshPar
1608         (workAreaDispatch): remove an uneeded update call
1609         (dispatch): remove some manual update calls
1610
1611         * cursor.[Ch]: remove cached_y_, updatePos
1612         (selHandle): set noUpdate when appropriate
1613
1614         * lyxfunc.C (dispatch): track if we need an update
1615
1616         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1617
1618         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1619         (paintSelection): cheap optimization, do not call cursorX when not
1620         needed
1621         (paintPars): change signature
1622         (refreshPar): add
1623         (paintText): adjust
1624         (paintTextInset): adjust
1625
1626         * text.C: adjust
1627
1628 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * lengthcommon.C: compilation fix: remove explicit array size from
1631         unit_name[] and friends
1632
1633 2004-04-05  Angus Leeming  <leeming@lyx.org>
1634
1635         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1636
1637         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1638         present only for the preferences dialog.
1639         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1640
1641 2004-04-05  Angus Leeming  <leeming@lyx.org>
1642
1643         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1644         to enable the frontends to export changes to lyxrc correctly.
1645
1646         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1647
1648 2004-04-07  André Pönitz  <poenitz@gmx.net>
1649
1650         * cursor.[Ch] (selClear, adjust): remove math
1651
1652         * cursor_slice.C: more agressive assert
1653
1654         * lyxfunc.C:
1655         * BufferView_pimpl.C: rework mouse event dispatch
1656
1657         * dociterator.C:
1658         * paragraph.C:
1659         * text2.C:
1660         * text3.C: adjust
1661
1662 2004-04-05  André Pönitz  <poenitz@gmx.net>
1663
1664         * cursor.[Ch] (valign, halign...): remove unneeded functions
1665
1666 2004-04-05  Angus Leeming  <leeming@lyx.org>
1667
1668         * lyxlength.[Ch] (unit_name et al.): const-correct.
1669
1670 2004-04-05  Angus Leeming  <leeming@lyx.org>
1671
1672         * BufferView_pimpl.C:
1673         * buffer.C:
1674         * counters.C:
1675         * cursor.C:
1676         * lyxfunc.C
1677         * paragraph.C:
1678         * pariterator.C:
1679         * text.C:
1680         * text2.C:
1681         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1682
1683 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1684
1685         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1686
1687 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1688
1689         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1690         * BufferView_pimpl.[Ch] (getStatus)
1691         * BufferView.[Ch] (getStatus): add
1692         * lyxfunc.C (getStatus): move lfuns handled in
1693         BufferView::dispatch to te function above
1694         * Cursor.C (setSelection): set selection() = true
1695
1696 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1697
1698         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1699
1700 2004-03-31  Angus Leeming  <leeming@lyx.org>
1701
1702         * lyxfunc.C (dispatch): Fall through to the generic
1703         Dialogs::show("preamble").
1704
1705 2004-03-31  Angus Leeming  <leeming@lyx.org>
1706
1707         * lyxfunc.C (dispatch): Fall through to the generic
1708         Dialogs::show("spellchecker").
1709
1710 2004-03-31  Angus Leeming  <leeming@lyx.org>
1711
1712         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1713         preferences dialog.
1714
1715 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1716
1717         * BufferView.C
1718         * cursor.[Ch]
1719         * dociterator.[Ch]:
1720         * insetiterator.[Ch]:
1721         * lyxfind.C:
1722         * lyxfunc.C:
1723         * pariterator.[Ch]:
1724         * text2.C:
1725         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1726
1727 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1728
1729         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1730         insets where we are putting the cursor.
1731
1732 2004-03-31  Angus Leeming  <leeming@lyx.org>
1733
1734         * lfuns.h:
1735         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1736
1737         * lyxrc.[Ch] (read, write): overloaded member functions taking
1738         a std::[io]stream arguments.
1739
1740         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1741
1742 2004-03-31  Angus Leeming  <leeming@lyx.org>
1743
1744         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1745         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1746
1747         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1748         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1749
1750 2004-03-31  Angus Leeming  <leeming@lyx.org>
1751
1752         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1753         the LFUN_ALL_INSETS_TOGGLE code.
1754
1755 2004-03-30  Angus Leeming  <leeming@lyx.org>
1756
1757         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1758         has died. Fall through to the generic Dialogs::show("document").
1759
1760 2004-03-30  Angus Leeming  <leeming@lyx.org>
1761
1762         * lfuns.h:
1763         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1764         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1765
1766         * lyxfunc.C (getStatus, dispatch): define the actions for these
1767         lfuns. Little more than a cut and pste job from ControlDocument.C
1768
1769         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1770
1771 2004-03-30  Angus Leeming  <leeming@lyx.org>
1772
1773         * lfuns.h:
1774         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1775         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1776
1777         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1778         open/closed state of ollapsable insets. Usage:
1779
1780         all-inset-toggle <state> <name>, where
1781         <state> == "open" || "closed" || "toggle" and
1782         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1783
1784         * lyxtext.h, text2.C (toggleInset): removed.
1785
1786         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1787         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1788         now passes LFUN_INSET_TOGGLE to the found inset.
1789
1790         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1791         is now invoked as "all-insets-toggle toggle branch".
1792
1793 2004-03-30  Angus Leeming  <leeming@lyx.org>
1794
1795         * dociterator.C:
1796         * insetiterator.C:
1797         * pariterator.[Ch]: added/corrected header blurb.
1798
1799 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1800
1801         * dociterator.[Ch]: add an inset_ member
1802         (backwardPos): implemented
1803         (backwardPos, forwardPos): use inset_ when the stack is empty.
1804         (doc_iterator_begin, doc_iterator_end): implemented
1805         * pariterator.[Ch]: adjust, add begin, end
1806         * insetiterator.[Ch]: adjust, add begin, end
1807         * cursor.C:
1808         * document.C:
1809         * BufferView.C:
1810         * BufferView_pimpl.C:
1811         * CutAndPaste.C: adjust
1812
1813 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1814
1815         * buffer.C: increment file format to 232.
1816         * LaTeXFeatures.C: add bibtopic package.
1817         * bufferparams.[Ch]: param \use_bibtopic.
1818
1819         * lyxrc.[Ch]: add lyxrc bibtex_command
1820         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1821
1822         * buffer.C: increment file format to 231.
1823
1824 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * dociterator.C: implement forwardPar
1827         * iterators.[Ch]: remove, replaced by
1828         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1829         * BufferView.C:
1830         * BufferView_pimpl.C:
1831         * CutAndPaste.C:
1832         * buffer.C:
1833         * bufferview_funcs.C:
1834         * cursor.C:
1835         * lyxfind.C
1836         * lyxfunc.C
1837         * paragraph_funcs.C
1838         * toc.C:
1839         * Makefile.am: adjust
1840
1841 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1842
1843         * CutAndPaste.C (pasteSelection): fix 2 crashes
1844         (eraseSelection): fix a crash
1845         * paragraph_funcs.C: remove a warning
1846
1847 2004-03-28  Angus Leeming  <leeming@lyx.org>
1848
1849         * lfuns.h:
1850         * LyXAction.C (init): new LFUN_PRINT.
1851
1852         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1853
1854 2004-03-27  Angus Leeming  <leeming@lyx.org>
1855
1856         * lfuns.h:
1857         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1858
1859         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1860
1861 2004-03-27  Angus Leeming  <leeming@lyx.org>
1862
1863         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1864         insetlist always contains non-null pointers to insets.
1865
1866 2004-03-26  Angus Leeming  <leeming@lyx.org>
1867
1868         * src/BufferView_pimpl.C:
1869         * src/CutAndPaste.C:
1870         * src/buffer.C:
1871         * src/iterators.C:
1872         * src/output_plaintext.C:
1873         * src/outputparams.h:
1874         * src/paragraph_funcs.C:
1875         * src/rowpainter.C:
1876         * src/text.C:
1877         * src/text2.C:
1878         * src/frontends/controllers/ControlErrorList.C:
1879         * src/frontends/gtk/FileDialogPrivate.C:
1880         * src/frontends/gtk/GPainter.C:
1881         * src/frontends/gtk/GToolbar.C:
1882         * src/frontends/qt2/QRef.C:
1883         * src/mathed/math_scriptinset.C: squash compiler warnings.
1884
1885 2004-03-26  Angus Leeming  <leeming@lyx.org>
1886
1887         * ispell.C (LaunchIspell::start):
1888         * lyx_cb.C (AutoSaveBuffer::start):
1889         invoke run(DontWait) rather than runNonBlocking().
1890
1891 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1892
1893         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1894
1895 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * kbsequence.C (print): adjust
1898
1899         * kbmap.C (printKeySym): rename and change signature
1900         (printKey): use LyXKeySym::print()
1901
1902 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1903
1904         * undo.C: add using std::advance to compile for stlport
1905
1906 2004-03-24  Angus Leeming  <leeming@lyx.org>
1907
1908         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1909         it leads to a crash when no buffer is present.
1910
1911 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1912             Martin Vermeer  <martin.vermeer@hut.fi>
1913
1914         * lyxfunc.C (dispatch):
1915         * bufferparams.C (readToken): use the new LColor::setColor
1916
1917         * LColor.[Ch] (setColor): new version that takes two strings as
1918         argument and creates a new color entry if necessary
1919
1920 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1921
1922         * buffer.C (makeLaTeXFile): if the main latex file that is
1923         processed is usually a subdocument of some master, then pretend
1924         for a while that it is actually the master
1925
1926 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1927
1928         * buffer.C (getLabelList):
1929         (getBibkeyList): use getMasterBuffer()
1930         (getMasterBuffer): new method. Returns the main document in the
1931         case where one is using included documents.
1932
1933 2004-03-25  André Pönitz  <poenitz@gmx.net>
1934
1935         * Makefile.am:
1936         * iterators.[Ch]:
1937         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1938
1939         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1940
1941         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1942         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1943
1944         * ParameterStruct.h: merge with ParagraphParameters
1945
1946         * lyxtext.h: remove LyXText::parOffset() and getPar()
1947
1948         * text3.C: Remove all 'manual' update calls. We do now one per user
1949         interaction which is completely sufficient.
1950
1951         * Bidi.C:
1952         * BufferView.[Ch]:
1953         * BufferView_pimpl.C:
1954         * FontIterator.[Ch]:
1955         * MenuBackend.C:
1956         * ParagraphParameters.[Ch]:
1957         * buffer.C:
1958         * buffer.h:
1959         * bufferlist.C:
1960         * cursor.[Ch]:
1961         * cursor_slice.[Ch]:
1962         * dociterator.[Ch]:
1963         * errorlist.[Ch]:
1964         * factory.C:
1965         * lfuns.h:
1966         * lyxfind.C:
1967         * lyxfunc.C:
1968         * output_docbook.[Ch]:
1969         * output_latex.[Ch]:
1970         * output_linuxdoc.[Ch]:
1971         * output_plaintext.[Ch]:
1972         * paragraph.[Ch]:
1973         * paragraph_funcs.[Ch]:
1974         * paragraph_pimpl.[Ch]:
1975         * rowpainter.C:
1976         * tabular.[Ch]:
1977         * text.C:
1978         * text2.C:
1979         * toc.C:
1980         * undo.[Ch]: adjust
1981
1982         * frontends/controllers/ControlDocument.C:
1983         * frontends/controllers/ControlErrorList.C:
1984         * frontends/controllers/ControlSpellchecker.C:
1985         * insets/inset.C:
1986         * insets/inset.h:
1987         * insets/insetbase.h:
1988         * insets/insetbibitem.C:
1989         * insets/insetbox.C:
1990         * insets/insetbranch.C:
1991         * insets/insetcaption.C:
1992         * insets/insetcharstyle.C:
1993         * insets/insetcharstyle.h:
1994         * insets/insetcollapsable.C:
1995         * insets/insetcollapsable.h:
1996         * insets/insetert.C:
1997         * insets/insetfloat.C:
1998         * insets/insetfoot.C:
1999         * insets/insetmarginal.C:
2000         * insets/insetnote.C:
2001         * insets/insetoptarg.C:
2002         * insets/insettabular.C:
2003         * insets/insettext.C:
2004         * insets/insettext.h:
2005         * insets/insetwrap.C:
2006         * mathed/math_mboxinset.C:
2007         * mathed/math_nestinset.C:
2008         * mathed/math_scriptinset.C:
2009         * mathed/math_scriptinset.h:
2010         * support/types.h:
2011
2012 2004-03-24  Angus Leeming  <leeming@lyx.org>
2013
2014         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2015         deal with any child processes that have finished but are waiting to
2016         communicate this fact to the rest of LyX.
2017
2018 2004-03-24  Angus Leeming  <leeming@lyx.org>
2019
2020         64-bit compile fixes.
2021
2022         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2023         (c-tor): pass lyx::pos_types rather than ints.
2024
2025         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2026         lyx::pos_type.
2027
2028         * text.C (Delete): compile fix.
2029         (getPar): ensure that function declaration is the same as that in
2030         the header file.
2031
2032 2004-03-23  Angus Leeming  <leeming@lyx.org>
2033
2034         * ispell.C (LaunchIspell):
2035         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2036         a boost::shred_ptr rather than a std::auto_ptr.
2037
2038 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2039
2040         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2041         handle LFUN_FILE_INSERT_*
2042
2043         * lyxrc.C (setDefaults, getDescription, output, read):
2044         * lyxrc.h: remove ps_command
2045
2046 2004-03-22  Angus Leeming  <leeming@lyx.org>
2047
2048         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2049         Ensure that error_handler is processed once only and that all data
2050         is saved before attempting to output any warning messages.
2051
2052         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2053
2054 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2055
2056         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2057
2058 2004-03-19  André Pönitz  <poenitz@gmx.net>
2059
2060         * cursor.[Ch] (reset): take main text inset as argument
2061
2062         * BufferView: adjust
2063         * BufferView_pimpl.C: adjust
2064
2065         * paragraph.[Ch]: fix completely broken operator=()
2066
2067 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2068
2069         * LColor.C (getFromLyXName): make sure that the color name is used
2070         as lowercase.
2071
2072 2004-03-17  Angus Leeming  <leeming@lyx.org>
2073
2074         * lfuns.h:
2075         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2076
2077         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2078         dialog and to kill a forked process.
2079
2080 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * text2.C (setCursorFromCoordinates): fix font problem
2083
2084 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2085
2086         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2087         bogus "rebuild cursor" code
2088
2089 2004-03-11  André Pönitz  <poenitz@gmx.net>
2090
2091         * buffer.[Ch]: use InsetText instead of LyXText as container for
2092         the main lyx text.
2093
2094         * dociterator.[Ch]: drop the BufferView * member which is not needed
2095         anymore after the change to buffer.C
2096
2097         * paragraph_funcs.C:
2098         * text.C:
2099         * text2.C:
2100         * BufferView.[Ch]:
2101         * BufferView_pimpl.[Ch]:
2102         * cursor.[Ch]:
2103         * cursor_slice.[Ch]: adjust
2104
2105         * text3.C: fix bug in mathDispatch
2106
2107 2004-03-08  André Pönitz  <poenitz@gmx.net>
2108
2109         * undo.[Ch]: use 'StableDocumentIterator' as base for
2110         the Undo struct.
2111
2112 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2113
2114         * LaTeXFeatures.C:
2115         * bufferparams.[Ch]: add jurabib support and param.
2116
2117         * LaTeX.C: add FIXME/comment.
2118
2119 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2120
2121         * buffer.C: increment file format to 230.
2122
2123 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2124
2125         * cursor.C (dispatch): avoid infinite loops
2126
2127 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2128
2129         * rowpainter.C (paintSelection): fix x coordinates
2130
2131 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2132
2133         * text.C (rowBreakPoint): fix breaking before displayed insets
2134
2135 2004-03-01  André Pönitz  <poenitz@gmx.net>
2136
2137         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2138
2139         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2140
2141         * Makefile.am:
2142         * BufferView.C:
2143         * BufferView_pimpl.C:
2144         * buffer.C:
2145         * lyxfind.C:
2146         * lyxfunc.C:
2147         * text.C:
2148         * text2.C:
2149         * text3.C: adjust
2150
2151 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2152
2153         * lyxtext.h:
2154         * text.C:
2155         * text2.C:
2156         * rowpainter.C:
2157         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2158         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2159
2160 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2161
2162         * Bidi.[Ch] (computeTables): const correctness
2163         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2164         fill_hfill, fill_label_hfill and x from Row
2165         * lyxtext.h: prepareToPrint returns a RowMetrics
2166         * rowPainter.C: adjust
2167         * text.C (prepareToPrint): use width, not textWidth. adjust
2168         (redoParagraphInternal, cursorX): adjust
2169         * text2.C (getColumnNearX): adjust
2170         (init): put a default value to the top LyXText::width
2171
2172 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2173
2174         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2175
2176 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2177
2178         * lyxtext.h: add FontIterator class
2179
2180         * text.C (FontIterator, operator*, operator->, operator++): add
2181         (rowBreakPoint, setRowWidth): adjust (fixing a
2182         rebreaking bug)
2183
2184 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2185
2186         * BufferView_pimpl.C (workAreaDispatch): allow also
2187         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2188
2189 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2190
2191         * text.C (rowBreakPoint): fix a bug showing with very large insets
2192
2193 2004-02-25  André Pönitz  <poenitz@gmx.net>
2194
2195         * text3.C:
2196         * cursor.[Ch]: move some mathed specific code to mathed
2197
2198 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2199
2200         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2201         use_tempdir in preferences
2202         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2203         tempfile creation
2204         * lyx_main.C: ensure that tempdir is valid
2205         * lyxlex.h: correct typo
2206         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2207         * paragraph.[Ch] (isMultiLingual): make const
2208         * cursor.[Ch] (openable): make const
2209
2210 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2211
2212         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2213
2214 2004-02-20  André Pönitz  <poenitz@gmx.net>
2215
2216         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2217
2218         * cursor.[Ch]: prepare for localized getStatus()
2219
2220         * lyxtext.h:
2221         * tabular.C:
2222         * text.C:
2223         * text2.C:
2224         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2225
2226 2004-02-20  André Pönitz  <poenitz@gmx.net>
2227
2228         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2229
2230 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2231
2232         * text2.C (setCursorFromCoordinates): switch to absolute coords
2233         (cursorUp): adjust
2234         (cursorDown): adjust
2235         * text3.C (dispatch): adjust
2236
2237 2004-02-16  André Pönitz  <poenitz@gmx.net>
2238
2239         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2240           insets/ChangeLog)
2241
2242         * cursor_slice.[Ch]: remove unneeded acessor function
2243
2244         * lyxtext.h: rename rtl() to isRTL()
2245
2246         * rowpainter.C:
2247         * tabular.C:
2248         * text.C:
2249         * text2.C:
2250         * text3.C: adjust
2251
2252 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2253
2254         * rowpainter.C (paintSelection): coord fix
2255
2256 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2257
2258         * Spacing.C: compile fix
2259
2260 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2261
2262         * cursor.C (dispatch): restore current_ before returning
2263
2264 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * text2.C (cursorUp, cursorDown): fix coords
2267         (moveUp): fix crash
2268
2269 2004-02-12  André Pönitz  <poenitz@gmx.net>
2270
2271         * lyxtext.h:
2272         * text.C:
2273         * text2.C:
2274         * text3.C: add LCursor & parameter to most cursor movement functions
2275           remove usage of LyXText::cursorRow() and cursorPar()
2276
2277         * cursor.[Ch]: add textRow() needed members
2278
2279         * BufferView.C:
2280         * BufferView_pimpl.C:
2281         * paragraph.[Ch]:
2282         * BufferView.C:
2283         * BufferView_pimpl.C: adjust
2284
2285 2004-02-11  André Pönitz  <poenitz@gmx.net>
2286
2287         * lyxfunc.C:
2288         * BufferView.[Ch]:
2289         * BufferView_pimpl.C: shift undo/redo handling
2290
2291         * cursor.[Ch]: fix mathed crash
2292
2293         * lyxfind.C:
2294         * lyxtext.h: move selectionAsText to LCursor
2295
2296         * output_latex.C:
2297         * paragraph.C:
2298         * text.C:
2299         * text2.C:
2300         * text3.C: adjust
2301
2302         * rowpainter.C: fix excessive drawing
2303
2304 2004-02-06  André Pönitz  <poenitz@gmx.net>
2305
2306         * BufferView.[Ch]:
2307         * BufferView_pimpl.[Ch]:
2308         * text3.C: move some text specific LFUN handling
2309
2310 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2311
2312         * text3.C (checkInsetHit): adjust coords
2313         * text2.C (getColumnNearX): adjust coords
2314         (edit): adjust coords
2315         * text.C (getRowNearY): add two asserts
2316
2317 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2318
2319         * converter.C:
2320         * format.C: add using std::distance to compile on gcc 2.95/stlport
2321
2322 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2323
2324         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2325
2326 2004-02-04  André Pönitz  <poenitz@gmx.net>
2327
2328         * BufferView.[Ch] (insertInset):
2329         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2330
2331         * text2.C:
2332         * text3.C: adjust
2333
2334 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2335
2336         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2337         on the default clause of the switch
2338         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2339         wasn't catched by LCursor::dispatch
2340
2341 2004-02-03  André Pönitz  <poenitz@gmx.net>
2342
2343         * BufferView.C:
2344         * cursor.[Ch]: some additional asserts
2345
2346         * undo.[Ch]: remove LyXText dependency in interface
2347
2348         * lyxfunc.C: adjust
2349
2350         * lyxtext.h (firstPar, lastPar): remove dead functions
2351
2352         * text.C:
2353         * text2.C:
2354         * text3.C:
2355         * paragraph.[Ch]: adjust
2356
2357 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2358
2359         * lyxfind.C (find): fix argument order in call to ::find
2360
2361 2004-02-02  André Pönitz  <poenitz@gmx.net>
2362
2363         * cursor.[Ch]: remove direct access to anchor
2364
2365         * text.C: remove findText() hack
2366
2367 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2368
2369         * iterators.[Ch] (lockPath): remove in favour of...
2370         * BufferView.[Ch] (setCursor): this addition
2371         * BufferView.C (putSelectionAt): adjust
2372         * undo.C (performUndoOrRedo): adjust
2373         * lyxfunc.C (dispatch): adjust
2374
2375 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2376
2377         * iterators.C (lockPath): add a missing slice
2378         * undo.C (performUndoOrRedo): remove redundant positioning code
2379
2380 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2381
2382         * vc-backend.C (scanMaster): ";" -> ';'
2383
2384 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2385
2386         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2387         std::binary_function
2388
2389         * lyxtextclass.C (compare_name): rename to...
2390         (LayoutNamesEqual): ...this
2391
2392         * lyxlex_pimpl.C (compare_tags): inherit from
2393         std::binary_function, put back into anon namespace
2394
2395         * lyxfind.C (MatchString): inherig from std::binary_function
2396         (findChange): use empty() istead of !size()
2397
2398         * format.C (FormatNamesEqual): new functor
2399         (getFormat): use it
2400         (getNumber): use it
2401         (add): use it
2402         (erase): use it
2403         (setViewer): use it
2404
2405         * converter.C (compare_Converter): rename to...
2406         (ConverterEqual): ...this, and fixup a bit.
2407         (getConverter): use it, and make function const
2408         (getNumber): use it, and make function const
2409         (add): use it
2410         (erase): use it:
2411
2412         * bufferlist.C: add using boost::bind
2413
2414         * MenuBackend.C (MenuNamesEqual): new functor
2415         (hasMenu): use it, and make function const
2416         (hasSubmenu): use nested bind to get rid of compare_memfun.
2417
2418 2004-01-30  André Pönitz  <poenitz@gmx.net>
2419
2420         * BufferView_pimpl.C:
2421         * cursor.C:
2422         * cursor.h:
2423         * cursor_slice.[Ch]:
2424         * lyxfunc.C:
2425         * lyxtext.h:
2426         * paragraph_funcs.C:
2427         * paragraph_funcs.h:
2428         * rowpainter.C:
2429         * text.C:
2430         * text2.C:
2431         * text3.C: move some of the edit(x,y) handling to the insets
2432         some coordinate changes.
2433
2434 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2435
2436         * text.C: add using statements for std::advance and std::distance
2437
2438         * paragraph.C: add using statement for std::distance
2439
2440         * lyxfind.C: add using statement for std::advance
2441
2442         * cursor.C (region): remove std:: from swap
2443         (openable): use nucleus in stead of operator->
2444
2445         * BufferView.C: add using statements for std::distance and std::swap
2446
2447 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2448
2449         * iterators.C: Remove the pimple, move the needed structures to
2450         the header file. Create accessor for the positions stack.
2451         (asPosIterator): remove function
2452
2453         * PosIterator.C (PosIterator): move constructors to top of file
2454         (PosIterator): reimplement the constructor taking a ParIterator in
2455         terms of setFrom.
2456         (setFrom): new function
2457         (operator!=): inline it
2458
2459 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2460
2461         * lyxfind.C (replaceAll): use std::advance
2462
2463         * iterators.h: inherit from std::iterator.
2464
2465         * PosIterator.C (advance, distance): remove
2466         * PosIterator.h: interit from std::iterator.
2467
2468 2004-01-26  André Pönitz  <poenitz@gmx.net>
2469
2470         * BufferView.[Ch]:
2471         * BufferView_pimpl.[Ch]:
2472         * InsetList.[Ch]:
2473         * PosIterator.[Ch]:
2474         * buffer.h:
2475         * bufferview_funcs.C:
2476         * cursor.[Ch]:
2477         * cursor_slice.h:
2478         * factory.[Ch]:
2479         * iterators.[Ch]:
2480         * lyxfind.C:
2481         * lyxfunc.C:
2482         * lyxtext.h:
2483         * output_docbook.C:
2484         * output_latex.C:
2485         * output_linuxdoc.C:
2486         * output_plaintext.C:
2487         * paragraph.[Ch]:
2488         * paragraph_funcs.[Ch]:
2489         * paragraph_pimpl.[Ch]:
2490         * rowpainter.C:
2491         * tabular.C:
2492         * tabular.h:
2493         * text.C:
2494         * text2.C:
2495         * text3.C: more IU:  dumps most of the rest of the mathcursor
2496     implementation into cursor.[Ch]; "globalize" a bit of it.
2497
2498 2004-01-25  Angus Leeming  <leeming@lyx.org>
2499
2500         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2501
2502 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2503
2504         * LaTeXFeatures.h: add nice_ and nice() const
2505         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2506
2507 2004-01-20  André Pönitz  <poenitz@gmx.net>
2508
2509         * BufferView.[Ch]:
2510         * BufferView_pimpl.C:
2511         * PosIterator.C:
2512         * bufferview_funcs.C:
2513         * cursor.[Ch]:
2514         * cursor_slice.[Ch]:
2515         * factory.C:
2516         * iterators.C:
2517         * lyx_cb.C:
2518         * lyxfind.C:
2519         * lyxfunc.C:
2520         * lyxtext.h:
2521         * rowpainter.C:
2522         * text.C:
2523         * text2.C:
2524         * text3.C:
2525         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2526           LCursor and mathcursor parts to LCursor and InsetBase.
2527
2528 2004-01-15  André Pönitz  <poenitz@gmx.net>
2529
2530         * cursor_slice.[Ch]: add a few covienience functions
2531
2532         * funcrequest.[Ch]: remove BufferView * member
2533
2534         * BufferView_pimpl.C:
2535         * cursor.C:
2536         * factory.[Ch]:
2537         * lyxfind.[Ch]:
2538         * lyxfunc.C:
2539         * lyxtext.h:
2540         * text3.C:
2541         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2542
2543 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2544
2545         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2546         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2547
2548 2004-01-13  André Pönitz  <poenitz@gmx.net>
2549
2550         * textcursor.[Ch]:
2551         * lyxtext.h: hide cursor and selection anchor behind accessor function
2552
2553         * BufferView.C:
2554         * BufferView_pimpl.[Ch]:
2555         * PosIterator.C:
2556         * bufferview_funcs.C:
2557         * cursor.h:
2558         * lyxfind.C:
2559         * lyxfunc.C:
2560         * text.C:
2561         * text2.C:
2562         * text3.C:
2563         * undo.C: adjust
2564
2565         * cursor.h:
2566         * cursor_slice.[Ch]: some integer type changes for inset unification
2567
2568         * lyxcursor.[hC]: remove, it's CursorSlice now.
2569
2570         * Makefile.am:
2571         * BufferView_pimpl.[Ch]:
2572         * bufferview_funcs.C:
2573         * cursor_slice.C:
2574         * lyxtext.h:
2575         * text.C:
2576         * text2.C:
2577         * text3.C:
2578         * textcursor.[Ch]: adjust
2579
2580 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2581
2582         * text2.C (undoSpan): add and use
2583         * text.C (breakParagraph): use undoSpan (fix bug 578)
2584         * lyxtext.h: adjust
2585
2586 2004-01-08  Angus Leeming  <leeming@lyx.org>
2587
2588         * BufferView_pimpl.C (MenuInsertLyXFile):
2589         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2590         * lyxfunc.C (menuNew, open, doImport):
2591         FileFilterList change to the FileDialog open and save functions.
2592
2593 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2594
2595         * ShareContainer.h: make isEqual and isUnique adaptable
2596
2597         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2598
2599 2004-01-07  Angus Leeming  <leeming@lyx.org>
2600
2601         * LyXAction.C:
2602         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2603
2604         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2605
2606         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2607         functions replacing find, replace and replaceAll.
2608
2609         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2610         LFUN_WORDFIND(FORWARD|BACKWARD).
2611
2612 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2613
2614         * text.C (breakParagraph): remove an outdated #warning
2615
2616 2004-01-07  André Pönitz  <poenitz@gmx.net>
2617
2618         * lyxfind.C: somewhat clearer logic
2619
2620         * text.C: prevent crash in cursorX on unitialized row cache
2621
2622 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2623
2624         * lyxcursor.[Ch] (operator>): add
2625         * textcursor.C (selStart, selEnd): use std::min and std::max
2626
2627 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2628
2629         * Chktex.C: include boost/format.hpp
2630
2631 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2632
2633         * InsetList.C: replace functor MathcIt with adaptable functor
2634         InsetTablePosLess
2635         (insetIterator): modify accordingly
2636
2637         * BranchList.h: move the BranchNamesEqual functor here from...
2638         * BranchList.C: ... to here
2639
2640         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2641         SameName and match.
2642         (add): replace a finding loop with std::find_if.
2643
2644 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2645
2646         * output_docbook.C: moving LatexParam functionality into
2647         .layout files
2648
2649 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2650
2651         * buffer.C: increment format to 229.
2652
2653 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2654
2655         * LaTeXFeatures.C:
2656         * lyx_sty.[Ch]: remove minipageindent_def
2657
2658         * LyXAction.C:
2659         * factory.C:
2660         * lfuns.h:
2661         * lyxfunc.C:
2662         * text3.C: remove LFUN_INSET_MINIPAGE
2663
2664 2003-12-28  Angus Leeming  <leeming@lyx.org>
2665
2666         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2667
2668 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2669
2670         * text2.C (setParagraph): fix off-by-one crash
2671
2672 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2673
2674         * output_docbook.C: header stuff for AGU
2675
2676 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2677
2678         * text2.C (redoCursor): remove
2679         * text.C:
2680         * text3.C:
2681         * BufferView_pimpl.C: remove calls to redoCursor and
2682         setCursor(cursor.par(), cursor.pos()) all around
2683
2684 2003-12-15  Angus Leeming  <leeming@lyx.org>
2685
2686         * buffer.C: up the format to 228.
2687
2688 2003-12-15  André Pönitz  <poenitz@gmx.net>
2689
2690         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2691         slices
2692
2693         * Makefile.am:
2694
2695         * BufferView_pimpl.C:
2696         * cursor.[Ch]:
2697         * lyxcursor.[Ch]:
2698         * rowpainter.[Ch]:
2699         * lyxtext.h:
2700         * text.C:
2701         * text2.C:
2702         * text3.C: adjust
2703
2704 2003-12-15  Angus Leeming  <leeming@lyx.org>
2705
2706         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2707         than getFromGUIName to manipulate the color.
2708
2709 2003-12-14  Angus Leeming  <leeming@lyx.org>
2710
2711         * BranchList.[Ch]: minimize the API.
2712         (Branch::getBranch, getColor): now return a 'const &'.
2713         (Branch::setSelected) now returns a bool set to true if the
2714         selection status changes.
2715         (BranchList::clear, size, getColor, setColor, setSelected,
2716         allBranches, allSelected, separator): removed.
2717         (BranchList::find): new functions, returning the Branch with
2718         the given name.
2719         (BranchList::add, remove): return a bool indicating that
2720         the operation was successful.
2721
2722         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2723         new InsetBranch::isBranchSlected member function.
2724
2725         * LColor.[Ch]: mimimize the API.
2726         (fill): renamed as addColor and made private.
2727         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2728         versions of these functions taking a string arg have been removed.
2729
2730         * bufferparams.C (readToken):
2731         * lyxfunc.C (dispatch):
2732         * lyxrc.C (read): changes due to the altered BranchList and
2733         LColor APIs.
2734
2735         * factory.C (createInset, readInset): changes due to altered
2736         InsetBranch c-tor.
2737
2738 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2739
2740         * factory.C:
2741         * lyxfunc.C: remove insetminipage. "minipage-insert"
2742         now produces a frameless minipage box inset.
2743
2744 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2745
2746         * textcursor.[Ch] (selStart,selEnd): add new methods
2747         remove selection::start, end, use LyXCursor::operator<
2748         * lyxcursor.[Ch] (operator<): add
2749         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2750         * BufferView.[Ch] (unsetXSel): add
2751         * text2.C (clearSelection): use unsetXSel,adjust
2752         * text.C: adjust
2753         * text3.C: adjust
2754         * rowpainter.C: adjust
2755         * bufferview_funcs.C (put_selection_at): adjust
2756
2757 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2758
2759         * BufferView_pimpl.C: small coord. correction
2760
2761 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2762
2763         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2764         dragging over the splash screen.
2765
2766 2003-12-11  Angus Leeming  <leeming@lyx.org>
2767
2768         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2769         as it is now handled in LyXText::dispatch.
2770
2771         * text3.C (doInsertInset): remove a level of nesting.
2772
2773 2003-12-11  Angus Leeming  <leeming@lyx.org>
2774
2775         * factory.C (createInset): changes due to the changed interface to
2776         InsetCommandMailer::string2params.
2777
2778 2003-12-10  Angus Leeming  <leeming@lyx.org>
2779
2780         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2781         'dialog-show-new-inset <inset name>'
2782
2783 2003-12-10  Angus Leeming  <leeming@lyx.org>
2784
2785         * buffer.C: up the format to 227.
2786
2787         * factory.C: the box inset is now identified simply by 'Box'.
2788
2789 2003-12-10  Angus Leeming  <leeming@lyx.org>
2790
2791         * buffer.C: up the format to 226.
2792
2793         * factory.C: the note inset is now identified simply by 'Note'.
2794
2795 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2796
2797         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2798         when a pit is enough. Standarize a couple of loops.
2799
2800 2003-12-05  Angus Leeming  <leeming@lyx.org>
2801
2802         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2803         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2804         data to the re-worked "log" dialog.
2805
2806 2003-12-03  André Pönitz  <poenitz@gmx.net>
2807
2808         * PosIterator.C:
2809         * iterators.C:
2810         * lyxtext.h:
2811         * output_latex.C:
2812         * paragraph_funcs.C:
2813         * text.C:
2814         * text2.C: use Inset::getText instead of Inset::getParagraph
2815
2816 2003-12-03  André Pönitz  <poenitz@gmx.net>
2817
2818         * buffer.[Ch]:
2819         * lyxtext.h:
2820         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2821         InsetText::read() as LyXText::read()
2822
2823 2003-12-02  Angus Leeming  <leeming@lyx.org>
2824
2825         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2826         type. Add a comment in the implementation that the function uses
2827         the stream's bad() function rather than fail() as the std::streams
2828         would do.
2829
2830 2003-12-02  André Pönitz  <poenitz@gmx.net>
2831
2832         * lyxlex.[Ch]: make interface more similar to std::stream
2833
2834         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2835
2836 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2837
2838         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2839
2840 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2841
2842         * vspace.[Ch]: remove VSpace::NONE
2843
2844 2003-12-01  André Pönitz  <poenitz@gmx.net>
2845
2846         * buffer.[Ch]:
2847         * lyxtext.h: move ParagraphList member to LyXText
2848         rename LyXText::ownerParagraphs to LyXText::paragraph
2849
2850         * CutAndPaste.C:
2851         * bufferview_funcs.C:
2852         * iterators.[Ch]:
2853         * lyx_cb.C:
2854         * paragraph.C:
2855         * rowpainter.C:
2856         * tabular.C:
2857         * text.C:
2858         * text2.C:
2859         * text3.C: adjust
2860
2861         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2862
2863         * undo.C: fix cursor positioning
2864
2865 2003-12-01  John Levon  <levon@movementarian.org>
2866
2867         * BufferView_pimpl.C: fix a crash on exit with
2868         a buffer open
2869
2870 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * BranchList.C: fix setSelected() method.
2873
2874 2003-11-28  André Pönitz  <poenitz@gmx.net>
2875
2876         * ParagraphParameters.[Ch]:
2877         * ParameterStruct.h: remove space above/below from Paragraph to
2878          InsetVSpace
2879
2880         * BufferView_pimpl.C:
2881         * factory.C:
2882         * lyxfunc.C:
2883         * lyxtext.h:
2884         * output_latex.C:
2885         * paragraph.C:
2886         * paragraph_funcs.C:
2887         * rowpainter.[Ch]:
2888         * text.C:
2889         * text2.C:
2890         * text3.C: adjust
2891
2892 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2893
2894         * factory.C: Syntax change for CharStyles
2895
2896 2003-11-28  André Pönitz  <poenitz@gmx.net>
2897
2898         * BufferView.[Ch]:
2899         * BufferView.[Ch]:
2900         * buffer.[Ch]:
2901         * buffer.[Ch]: move LyXText member
2902
2903 2003-11-28  André Pönitz  <poenitz@gmx.net>
2904
2905         * BufferView.[Ch]: make LyXText * text a private member
2906
2907         * BufferView_pimpl.C:
2908         * cursor.C:
2909         * iterators.C:
2910         * lyx_cb.C:
2911         * lyxfind.C:
2912         * lyxtext.h:
2913         * rowpainter.[Ch]:
2914         * text.C:
2915         * text2.C:
2916         * undo.C: adjust
2917
2918         * output_plaintext.C: cleanup
2919
2920 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2921
2922         * buffer.C:
2923         * lyxtextclass.[Ch]: parametrize SGML document header
2924
2925 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2926
2927         * converter.[Ch]:
2928         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2929         getFlavor().
2930
2931 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2932
2933         * text2.C (setFont): rework using PosIterator (no more recursive)
2934         (setCharFont): no more needed
2935         (setLayout): no more selection cursors fiddling (done by redoCursor)
2936         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2937         destroy remaining ones)
2938
2939 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2940
2941         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2942         * lyxtext.h: ditto
2943         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2944         selection cursors
2945         * lyxfunc.C: adjust
2946         * text3.C: adjust + re-allow multi par depth changes
2947         * textcursor.C: simplify a bit
2948
2949 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2950
2951         * src/buffer.C:
2952         * src/lyxlayout.C:
2953         * src/lyxlayout.h:
2954         * src/lyxtext.h:
2955         * src/output_docbook.C:
2956         * src/output_latex.C:
2957         * src/paragraph.C:
2958         * src/paragraph.h:
2959         * src/sgml.C:
2960         * src/sgml.h:
2961         * src/text2.C: Introducing a number of tags parametrizing various
2962         XML formats that we may want to support
2963
2964 2003-11-25  André Pönitz  <poenitz@gmx.net>
2965
2966         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2967
2968         * lyxtext.h (leftMargin/rightMargin): simplify interface
2969
2970         * rowpainter.C:
2971         * text.C:
2972         * text2.C:
2973         * text3.C: adjust
2974
2975 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2976
2977         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2978         master file to any child files. Fixes bug 546.
2979
2980 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2983
2984 2003-11-24  André Pönitz  <poenitz@gmx.net>
2985
2986         * rowpainter.C: simplification
2987
2988         * text2.C (updateCounters): remove call to redoParagraph on
2989         changed labels as this is far too expensive.
2990
2991 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2992
2993         * converter.C (convert): fix a crash: this function gets
2994         called with buffer == 0 from importer code.
2995
2996 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2997
2998         * text3.C (cursorPrevious): make sure that we do not compare
2999         iterators form different containers.
3000         (cursorNext): ditto
3001
3002         * rowpainter.C (paintSelection): make sure that we do not compare
3003         iterators from different containers.
3004
3005         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3006         iterators from different ParagraphList containers.
3007         [NEXT] ditto
3008
3009         * text2.C (LyXText): change order of initialization slightly
3010         (operator=): new function. copy all variables except cache_par_
3011         (moveUp): make sure that we do not compare iterators from
3012         different ParagraphList constainers.
3013         (moveDown): ditto
3014
3015         * text.C (firstPar): new function
3016         (lastPar): new function
3017         (endPar): new function
3018
3019         * lyxtext.h: move things around and group public functions, public
3020         variables, private functions, private variables
3021
3022 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3023
3024         * factory.C: change call to InsetERT constructor to avoid
3025         additional invocation of method status
3026         * text2.C (toggleInset): remove redundant update() call
3027         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3028         instead of a Bufferview pointer
3029
3030 2003-11-21  André Pönitz  <poenitz@gmx.net>
3031
3032         * rowpainter.C: simplification
3033
3034 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3035
3036         * text3.C (dispatch): make possible to extend a word/row selection
3037         with the mouse
3038
3039 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3040
3041         * lyxtext.h: x0_,y0_ -> xo_,yo_
3042         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3043         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3044         * rowpainter.C (paintRows): paint full paragraphs
3045
3046 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3047
3048         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3049         screen coordinates)
3050
3051 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3052
3053         * lyxtext.h: add x0_, y0_
3054         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3055         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3056
3057 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3058
3059         * text2.C (setCursorIntern): move the x_target update here *
3060         * text3.C: change some bv() to true/false in calls to
3061         cursorUp/Down/Right/Left
3062         * cursor.C: use helper function.
3063
3064 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3067         * paragraph_funcs.[Ch]: correct comment
3068         * rowpainter.C: do not paint selections away from bv->cursor()
3069         Fix a long standing selection painting bug.
3070         * text3.C: generalize mouse-selection code to LyXTexts other that
3071         top one
3072         * textcursor.C: do not use y coords if we can use par offsets
3073
3074 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3075
3076         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3077         cursor position after e.g. inset insert)
3078
3079 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3080
3081         * lyxfind.C (replace): adjust to locking removal + some
3082         code simplification
3083
3084 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3087         of the path
3088
3089 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3090
3091         * lyxlayout.[Ch]:
3092         * output_docbook.C: XML sanitation: new layout
3093         parameters InnerTag and CommandDepth
3094
3095 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3096
3097         * BufferView_pimpl.C:
3098         * factory.C:
3099         * text3.C: Fix the insertion and modification of button-style
3100         insets
3101
3102 2003-11-13  André Pönitz  <poenitz@gmx.net>
3103
3104         * InsetList.[Ch]: remove deleteLyXText
3105
3106         * paragraph.[Ch]: cache beginOfBody position
3107
3108         * Bidi.C:
3109         * text.C:
3110         * text2.C:
3111         * text3.C: remove superfluous update() calls
3112
3113         * vspace.C: cleanup
3114
3115 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3116
3117         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3118         * BufferView.C (fitLockedInsetCursor): remove
3119         * cursor.[Ch] (getDim): add
3120         * text.C (getRowNearY): add faster version
3121         * text3.C: remove some update calls
3122
3123 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3124
3125         * LaTeXFeatures.C:
3126         * LyXAction.C:
3127         * MenuBackend.C:
3128         * MenuBackend.h:
3129         * dispatchresult.h:
3130         * factory.C:
3131         * lfuns.h:
3132         * lyxfunc.C:
3133         * lyxtextclass.C:
3134         * lyxtextclass.h:
3135         * text3.C: The Character Style /XML short element patch.
3136
3137 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3138
3139         * text3.C:
3140         * factory.C: Small step to solving 'unable to insert some insets'
3141         problem
3142
3143 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3144
3145         * cursor.[Ch] (updatePos): new function for updating the y
3146         position of the tip inset
3147         * bufferview_funcs.C (put_selection_at):
3148         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3149
3150 2003-11-11  André Pönitz  <poenitz@gmx.net>
3151
3152         * text.C: remove big comment on invalid Paragraph pointers as it is
3153         not valid anymore
3154
3155 2003-11-11  André Pönitz  <poenitz@gmx.net>
3156
3157         * text_funcs.[Ch]: merge with ...
3158
3159         * text.C: ... this
3160
3161         * lyxtext.h:
3162         * text2.C:
3163         * text3.C: adjust
3164
3165         * Makefile.am: remove text_funcs.[Ch]
3166
3167 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3168
3169         * cursor.C (getPos): return absolute cached y coord
3170
3171         * BufferView_pimpl.C (fitCursor): new simplistic code
3172         (workAreaDispatch): add a fitCursor call
3173
3174 2003-11-10  André Pönitz  <poenitz@gmx.net>
3175
3176         * BufferView.[Ch]:
3177         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3178
3179 2003-11-10  André Pönitz  <poenitz@gmx.net>
3180
3181         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3182         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3183         indicate that the cursor needs to leave an inset
3184
3185         * lyxtext.h: remove inset locking
3186
3187         * cursor.[Ch]: re-implement functionality provided by inset locking
3188
3189         * BufferView.[Ch]:
3190         * BufferView_pimpl.[Ch]:
3191         * LyXAction.C:
3192         * bufferview_funcs.[Ch]:
3193         * factory.C:
3194         * funcrequest.[Ch]:
3195         * iterators.C:
3196         * lyx_cb.C:
3197         * lyxfind.C:
3198         * lyxfunc.C:
3199         * text.C:
3200         * text2.C:
3201         * text3.C:
3202         * undo.C: adjust
3203
3204 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3205
3206         * PosIterator.[Ch]: replace the stack with a vector, add inset
3207         accesor
3208         * iterators.[C]: adjust
3209
3210 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3211
3212         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3213         replaced
3214         * paragraph_funcs.C (readParToken): put the correct id in the
3215         error item, not the id of the top paragraph
3216
3217 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3220         * bufferview_funcs.C (put_selection_at): use the above
3221
3222 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3223
3224         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3225
3226 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3227
3228         * output_linuxdoc.h:
3229         * output_plaintext.h:
3230         * output.h:
3231         * output_docbook.h: add #include statements
3232
3233 2003-11-05  José Matos  <jamatos@lyx.org>
3234
3235         * output_docbook.[Ch]:
3236         * output_latex.[Ch]:
3237         * output_linuxdoc.[Ch]:
3238         * output_plaintext.[Ch]: New files for output formats.
3239         * output.[Ch]: New file for helper functions.
3240
3241         * buffer.[Ch]:
3242         * paragraph_funcs.[Ch]: output functions moved to new files.
3243
3244         * outputparams.h: rename of latexrunparams.h
3245
3246         * LaTeX.[Ch]:
3247         * buffer.[Ch]:
3248         * bufferlist.[Ch]:
3249         * converter.[Ch]:
3250         * exporter.C:
3251         * paragraph.[Ch]:
3252         * paragraph_funcs.[Ch]:
3253         * paragraph_pimpl.[Ch]:
3254         * tabular.[Ch]: rename ascii to plaintext
3255         and LatexRunParams to OutputParams.
3256
3257 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3258
3259         * iterators.[Ch] (text): require bv argument
3260         * undo.C (recordUndo):
3261         * lyxfunc.C (dispatch):
3262         * bufferview_funcs.C (put_selection_at): adjust
3263
3264 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3265
3266         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3267
3268 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3269
3270         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3271         nestings
3272
3273 2003-11-04  André Pönitz  <poenitz@gmx.net>
3274
3275         * cursor.[Ch]: restructure
3276
3277         * BufferView.[Ch]:
3278         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3279
3280         * iterators.[Ch] (asCursor): remove
3281
3282         * lfuns.h: remove LFUN_INSET_EDIT
3283
3284         * lyxfunc.C:
3285         * tabular.C:
3286         * text.C:
3287         * text2.C:
3288         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3289
3290 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3291
3292         * lyxfind.[Ch]: complete overhaul
3293         * BufferView_pimpl.C:
3294         * lyxfunc.C: adjust
3295         * paragraph.[Ch] (insert): add
3296
3297 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3298
3299         * BufferView.[Ch]:
3300         * lyxtext.h:
3301         * text.C: remove dead spellcheck code
3302
3303 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * dispatchresult.h: add a val setter
3306
3307         * cursor.C (dispatch): use a tempvar for data_[i]
3308
3309 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3310
3311         * PosIterator.[Ch]: compile fix
3312
3313 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3314
3315         * text.C (cursorPar): deactivate the cursor cache
3316
3317 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3318
3319         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3320
3321 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3322
3323         * text3.C (dispatch): adjust for new DisptchResult semantics.
3324
3325         * lyxfunc.C (dispatch): handle update when return from
3326         Cursor::dispatch, adjust for new DispatchResult semantics.
3327
3328         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3329         DispatchResult(true) mean to not update. Add class functions for
3330         setting dispatched and update, as well as reading.
3331
3332         * cursor.C (dispatch): don't handle update here
3333
3334 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3337         * trans_mgr.C: adjust
3338
3339         * paragraph_funcs.C (readParToken): exception safety
3340
3341         * lyxvc.h: store the vcs pointer in a scoped_ptr
3342         * lyxvc.C: adjust
3343
3344         * lyxsocket.C (serverCallback): exception safety
3345
3346         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3347
3348         * ispell.C (clone): make it return a auto_ptr
3349
3350         * factory.C (createInset): exception safety
3351         (readInset): exception safety
3352
3353         * bufferlist.C (newBuffer): exception safety
3354
3355         * Thesaurus.C (Thesaurus): use initialization for aik_
3356
3357         * MenuBackend.C (expandToc): exception safety.
3358
3359 2003-11-03  André Pönitz  <poenitz@gmx.net>
3360
3361         * buffer.C:
3362         * buffer.h:
3363         * bufferview_funcs.C: remove getInsetFromId()
3364
3365         * lyxcursor.[Ch]:
3366         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3367
3368         * lyxfunc.C:
3369         * text2.C:
3370         * text3.C: adjust
3371
3372 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3373
3374         * PosIterator.C (distance, advance): new
3375         * bufferview_funcs.[Ch] (put_selection_at): new
3376         * iterators.[Ch] (lockPath): new
3377
3378 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3379
3380         * iterators.[Ch] (asPosIterator): added
3381         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3382         * PosIterator.[Ch]: added
3383
3384 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * text3.C:
3387         * lyxfunc.C:
3388         * cursor.C (dispatch):
3389         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3390
3391         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3392         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3393         contructor, add a class function dispatched. Remove operator>=
3394
3395 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3396
3397         * debug.C: only use the default constructor for debugstream
3398         (lyxerr) here.
3399
3400         * main.C (main): include debug.h and setup the lyxerr streambuf
3401         here.
3402
3403 2003-10-31  José Matos  <jamatos@lyx.org>
3404
3405         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3406
3407         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3408         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3409         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3410         * paragraph_pimpl.C (simpleTeXSpecialC):
3411         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3412         add LatexRunParams argument.
3413
3414         * exporter.C (Export): change call accordingly.
3415
3416         * latexrunparams.h: add new member to take care of the other backends.
3417 2003-10-30  José Matos  <jamatos@lyx.org>
3418
3419         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3420         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3421         factorise code for paragraph output.
3422         * buffer.[Ch]:
3423         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3424         move functions.
3425
3426 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3427
3428         * text3.C (dispatch):
3429         * lyxfunc.C (dispatch):
3430         * cursor.C (dispatch):
3431         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3432
3433         * dispatchresult.h: make the dispatch_result_t ctor explicit
3434
3435 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3436
3437         * sgml.[Ch]:
3438         * buffer.C: small refactoring of docbook stuff
3439
3440 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3443         meaning.
3444
3445 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3448         operator dispatch_result_t, and operators for == != and >=
3449
3450         * cursor.C (dispatch): adjust for operator dispatch_result_t
3451         removal. comment out call to update
3452
3453         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3454
3455 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3456
3457         * text3.C:
3458         * text2.C:
3459         * text.C:
3460         * lyxtext.h:
3461         * lyxfunc.C:
3462         * cursor.C:
3463         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3464         (dispatch):
3465
3466         * dispatchresult.h: new file, DispatchResult broken out of
3467         insets/insetbase.h
3468
3469         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3470
3471 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3472
3473         * text.C (rowBreakPoint): put a hack inside #if 0
3474
3475 2003-10-28  André Pönitz  <poenitz@gmx.net>
3476
3477         * lyxtext.h:
3478         * metricsinfo.C:
3479         * paragraph_funcs.C:
3480         * rowpainter.C:
3481         * text.C:
3482         * text2.C: general cleanup (lots of small stuff)
3483
3484 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3485
3486         * text2.C (cursorEnd): simple fix to the "end key goes to one
3487         before the end on last row" bug
3488
3489 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * text.C (backspace): fix the "zombie characters"
3492
3493 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3494
3495         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3496
3497 2003-10-27  André Pönitz  <poenitz@gmx.net>
3498
3499         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3500
3501         * factory.C: handle new InsetPagebreak, InsetLine
3502
3503         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3504         and move handling into new InsetPagebreak, InsetLine
3505
3506         * BufferView_pimpl.C:
3507         * LyXAction.C:
3508         * ParagraphParameters.C:
3509         * ParameterStruct.h:
3510         * lyxfunc.C:
3511         * lyxtext.h:
3512         * paragraph.C:
3513         * paragraph.h:
3514         * paragraph_funcs.C:
3515         * paragraph_pimpl.C:
3516         * rowpainter.C:
3517         * text.C:
3518         * text2.C:
3519         * text3.C: adjust
3520
3521 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * text.C:
3524         * lyxrow_funcs.[Ch]:
3525         * Bidi.C:
3526         * paragraph.C:
3527         * lyxtext.h:
3528         * rowpainter.C:
3529         * text2.C:
3530         * text3.C: remove lastPos uses in favour of Row::endpos
3531
3532 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3533
3534         * undo.C (performUndoOrRedo): fix two crashes by setting a
3535         cursor by hand and reordering some calls. Use bv->lockInset instead
3536         of inset->edit because the latter loses cursor information
3537
3538 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3541         by Martin
3542         (rowBreakPoint): fix width. change point to point + 1.
3543         Add a missing check.
3544
3545 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3546
3547         * MenuBackend.C:
3548         * lyxfunc.C: fix (at least partly) the problems
3549         with the Nav menu and headers inside branch insets
3550         reported by Kayvan
3551
3552 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3553
3554         * paragraph.C (getChar): add strong asserts
3555
3556         * lyxrow_funcs.C (lastPos): remove hideous hack
3557
3558         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3559         (fill): adjust to that (avoid an infinite loop)
3560
3561 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3562
3563         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3564
3565 2003-10-23  André Pönitz  <poenitz@gmx.net>
3566
3567         * RowList_fwd.h: change list<> to vector<> to gain speed
3568         after suggestion from Alfredo
3569
3570 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3571
3572         * lyxtext.h: move the bidi stuff from here...
3573         * text.C: and here
3574         * text2.C: and here
3575         * Bidi.[Ch]: ... to here
3576
3577 2003-10-23  André Pönitz  <poenitz@gmx.net>
3578
3579         * lyxtext.h:
3580         * text.C (isLastRow, isFirstRow): new functions
3581
3582         * paragraph.h: new width cache member
3583
3584         * rowpainter.C: replace RowList::iterator with Row & where possible
3585
3586         * lyxfunc.C: replace several view()->text with a single call
3587
3588         * toc.C: fix 'unused' warning
3589
3590 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3593         when woring with stream::pos_type
3594         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3595
3596 2003-10-22  André Pönitz  <poenitz@gmx.net>
3597
3598         * lyxtext.h:
3599         * text.C: use Row & instead of RowList::iterator
3600
3601         * lyxrow.h: rename end() to endpos()
3602
3603         * rowpainter.C:
3604         * text.C:
3605         * text2.C: adjust
3606
3607 2003-10-22  Angus Leeming  <leeming@lyx.org>
3608
3609         * buffer.[Ch] (fully_loaded): new member function, returning true
3610         only when the file has been loaded fully.
3611         Used to prevent the premature generation of previews and by the
3612         citation inset to prevent computation of the natbib-style label.
3613
3614         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3615         templates are all set up.
3616
3617         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3618
3619 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3620
3621         * text.C: fixed an "oops" in the "is a bit silly"
3622         bug fix
3623
3624 2003-10-21  André Pönitz  <poenitz@gmx.net>
3625
3626         * FuncStatus.[Ch]: small stuff, whitespace
3627
3628         * lyxfont.[Ch]: operator<<() for debug reasons
3629
3630         * lyxfunc.C:
3631         * lyxrow_funcs.C:
3632         * lyxtext.h: whitespace, spelling
3633
3634         * paragraph.C: naming of variables
3635
3636         * text.C:
3637         * text2.C: small stuff
3638
3639
3640 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3641
3642         * text.C: (1) finish off the inset display() work;
3643         (2) fix the "is a bit silly" bug (accessing char
3644         past end of par).
3645
3646 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3647
3648         * text.C: re-introduce display() for insets, fixing the
3649         various bugs (stretch of line above, math inset
3650         positioning, ...)
3651
3652 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3653
3654         * text.C (rightMargin): remove spurious semicolon
3655
3656         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3657         1415)
3658
3659 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3660
3661         * text3.C: fix one crash due to wrong cursor def
3662
3663 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * vc-backend.C (scanMaster): make the regex static
3666
3667         * LaTeX.C (scanAuxFile): make the regexs static
3668
3669         * text3.C (doInsertInset, dispatch, dispatch):
3670         * text2.C (cursorUp, cursorDown):
3671         * text.C (selectNextWordToSpellcheck):
3672         * BufferView_pimpl.C (dispatch):
3673         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3674
3675 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3676
3677         * lyxsocket.C: include <cerrno>
3678
3679 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * lyxfunc.C (dispatch): remove textcache stuff
3682
3683         * bufferlist.C (release): remove textcache stuff
3684         (closeAll): ditto
3685
3686         * TextCache.C: delete file
3687         * TextCache.h: delete file
3688
3689         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3690
3691         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3692         delete of the bv_->text.
3693         (resizeCurrentBuffer): remove texcache stuff
3694         (workAreaResize): ditto
3695
3696 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3699         action.
3700
3701 2003-10-16  André Pönitz  <poenitz@gmx.net>
3702
3703         * lyxrow.[Ch]:
3704         * paragraph.h:
3705         * rowpainter.C:
3706         * text.C:
3707         * text2.C:
3708         * text3.C: speed up by storing y positions per paragraph plus per-row
3709         offset instead of having a 'full' y position in the row.
3710
3711 2003-10-15  André Pönitz  <poenitz@gmx.net>
3712
3713         * iterators.[Ch]:
3714         * iterators.[Ch]:
3715         * undo.[Ch]: make undo aware of inner insets
3716
3717 2003-10-14  Angus Leeming  <leeming@lyx.org>
3718
3719         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3720         static member functions LyX::ref() and LyX::cref.
3721         (lastfiles): new accessor functions for the new lastfiles_ member var.
3722         (addLyXView, views_): add a new LyXView to the list of views_.
3723         (updateInset): loop over all LyXViews to call their own updateInset
3724         member function, returning a pointer to the Buffer owning the inset.
3725
3726         * BufferView_pimpl.C (loadLyXFile):
3727         * MenuBackend.C (expandLastfiles):
3728         * bufferlist.C (MenuWrite, QuitLyX):
3729         lastfiles is no longer a global variable.
3730         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3731
3732         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3733         static function. Access through LyX::cref().emergencyCleanup().
3734
3735 2003-10-14  André Pönitz  <poenitz@gmx.net>
3736
3737         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3738
3739         * undo.[Ch]: restoring part of 'undo in insets'
3740
3741         * Makefile.am:
3742         * undo_funcs.[Ch]: merge with undo.[Ch]
3743
3744         * tabular.C: small cleansing stuff
3745
3746 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3747
3748         * paragraph_funcs.C (readParToken): report unknown insets as error
3749         boxes. Use the outer paragraph as location (also for unknown
3750         tokens).
3751
3752         * factory.C (readInset): do not abort on reading an unknown inset.
3753         Eat it and return 0.
3754
3755 2003-10-13  Angus Leeming  <leeming@lyx.org>
3756
3757         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3758
3759         * lyxrc.C: displayTranslator is now a function,
3760         declared in GraphicsTypes.h.
3761
3762 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3763
3764         * format.C: new placeholder $$a to pass the socket address.
3765
3766         * bufferlist.[Ch]: new function getBufferFromTmp.
3767
3768         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3769           files in the temporary dir.
3770
3771 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3772
3773         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3774
3775         * Makefile.am: add lyxsocket.[Ch].
3776
3777         * lyx_main.C (error_handler): handle SIGPIPE.
3778
3779 2003-10-13  André Pönitz  <poenitz@gmx.net>
3780
3781         * BufferView_pimpl.C:
3782         * lyxtext.h:
3783         * text.C:
3784         * text2.C:
3785         * text3.C:
3786         * undo_funcs.[Ch]: use paroffset_type instead of
3787           ParagraphList::iterators to prevent multiple conversion
3788           (and get a more robust interface)
3789
3790 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3793         * lyxtext.h: ditto
3794         * text3.C (dispatch): ditto
3795
3796 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3799         move the onlyfile, use onlyfile instead of foundfile in a couple
3800         of places.
3801
3802         * DepTable.C (update): flush the error stream a bit more
3803
3804 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * lyxserver.C (callback): adjust
3807
3808         * lyxfunc.C (getStatus): add a missing brace in commented code
3809         (ensureBufferClean): reindent
3810         (dispatch): delete version taking a string
3811
3812 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * LaTeX.C (deplog): move found file handlig from here...
3815         (handleFoundFile): .. to new function here.
3816         (deplog): make sure to discover several files mentioned on the
3817         same log line.
3818
3819 2003-10-10  André Pönitz  <poenitz@gmx.net>
3820
3821         * lyxfunc.C:
3822         * lyxtext.h:
3823         * tabular.C:
3824         * text.C:
3825         * text2.C:
3826         * text3.C: fix some of the tabular crashes
3827
3828 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3829
3830         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3831
3832         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3833
3834 2003-10-09  André Pönitz  <poenitz@gmx.net>
3835
3836         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3837
3838         * BufferView.C:
3839         * BufferView_pimpl.C:
3840         * bufferview_funcs.C:
3841         * lyx_cb.C:
3842         * lyxcursor.C:
3843         * lyxfind.C:
3844         * lyxfunc.C:
3845         * lyxtext.h:
3846         * text.C:
3847         * text2.C:
3848         * text3.C:
3849         * text_funcs.[Ch]:
3850         * textcursor.[Ch]:
3851         * undo_funcs.C: adjust
3852
3853 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * text2.C (incrementItemDepth): new function, use a backtracking
3856         algorithm to discover the correct item depth.
3857         (resetEnumCounterIfNeeded): new function, use a backtracking
3858         algorithm to discover if counter reset is needed.
3859         (setCounter): use them. Simplify a bit. Add different labels for
3860         different item depths for itemize.
3861
3862         * paragraph.C (Paragraph): remove initialization of enumdepth
3863         (operator=): ditto
3864
3865         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3866         enumerate and itemize. Change the type of itemdepth to signed char.
3867
3868 2003-10-08  André Pönitz  <poenitz@gmx.net>
3869
3870         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3871           thing assignable.
3872         * text.C:
3873         * text2.C: adjust
3874
3875         * tabular.[Ch]: fix crash after 'row-insert'
3876
3877 2003-10-08  Angus Leeming  <leeming@lyx.org>
3878
3879         Fix doxygen warnings.
3880
3881         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3882         Remove CutAndPaste:: prefix from header file declaration.
3883
3884         * LColor.h (fill): remove LColor:: prefix from declaration.
3885
3886         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3887         use lyx::depth_type rather than Paragraph::depth_type so that
3888         header file and .C file match.
3889
3890         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3891
3892         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3893         * aspell.C: \file aspell_local.C -> \file aspell.C
3894         * gettext.C: \file gettext.C -> \file src/gettext.C
3895         * gettext.h: \file gettext.h -> \file src/gettext.h
3896         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3897         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3898         * text.C: \file text.C -> \file src/text.C
3899
3900         * toc.C: move comment so that doxygen is not confused.
3901
3902 2003-10-07  Angus Leeming  <leeming@lyx.org>
3903
3904         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3905
3906 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3907
3908         * aspell.C:
3909         * aspell_local.h: add forgotten std::string's.
3910
3911 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3912
3913         * LaTeXFeatures.C:
3914         * LyXAction.C:
3915         * factory.C:
3916         * lfuns.h:
3917         * lyxfunc.C:
3918         * text3.C: The Box patch. Fancybox support, minipage, parbox
3919
3920 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3921
3922         * CutAndPaste.h:
3923         * DepTable.h:
3924         * FloatList.h:
3925         * LaTeXFeatures.h:
3926         * ParagraphParameters.h:
3927         * TextCache.h:
3928         * Thesaurus.h:
3929         * bufferlist.h:
3930         * exporter.h:
3931         * importer.h:
3932         * lastfiles.h:
3933         * lyxfind.h:
3934         * lyxfont.h:
3935         * lyxlex.h:
3936         * lyxtextclasslist.h:
3937         * messages.h:
3938         * paragraph.h:
3939         * paragraph_pimpl.C:
3940         * textcursor.h: add <string> and other small fixes to make Lars'
3941         std::string patch compile with STLport.
3942
3943 2003-10-06  Angus Leeming  <leeming@lyx.org>
3944
3945         * LColor.h: Add missing #include <string>.
3946
3947 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * All most all file in all subdirs: Make <string> be the prefered
3950         way of getting to std::string, add using declarations.
3951
3952 2003-10-06  André Pönitz  <poenitz@gmx.net>
3953
3954         * metricsinfo.C: initialize LyXFont before changing attribute.
3955         (fixes the 'math in \emph is upright' bug)
3956
3957 2003-10-06  André Pönitz  <poenitz@gmx.net>
3958
3959         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3960
3961 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3962
3963         * graph.C:
3964         * paragraph_pimpl.C: Small fixes to build using STLport
3965
3966 2003-10-02  André Pönitz  <poenitz@gmx.net>
3967
3968         * lyxfunc.C:
3969         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3970
3971 2003-10-01  André Pönitz  <poenitz@gmx.net>
3972
3973         * factory.C: assert early
3974
3975 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * lyx_main.C: remove the global debug object
3978
3979         * debug.h: adjust for new debugstream
3980
3981         * debug.C: adjust for new debugstream and keep the global debug
3982         object here.
3983
3984 2003-09-22  Angus Leeming  <leeming@lyx.org>
3985
3986         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3987         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3988         an incomplete class LyXFont.
3989
3990 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3991
3992         * factory.C: bug fix in branches
3993
3994 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3995
3996         * lyxfunc.C (processKeySym): adjust
3997         (dispatch): adjust
3998         (dispatch): change arg name from ev to func, adjust
3999         (sendDispatchMessage): ditto
4000
4001         * lyx_main.C (defaultKeyBindings): adjust keybindings
4002         (deadKeyBindings): ditto
4003
4004         * kbsequence.C (addkey): return a FuncRequest
4005
4006         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4007
4008         * kbmap.C (bind): take a FuncRequest as arg, adjust
4009         (read): adjust
4010         (lookup): adjust
4011         (defkey): change to take a FuncRequest as arg, adjust
4012         (findbinding): take a FuncRequest as arg, adjust.
4013
4014         * funcrequest.h (operator=): added
4015
4016         * funcrequest.C (FuncRequest): default kb_action changed from
4017         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4018
4019         * buffer.C (dispatch): simplify
4020         (dispatch): adjust to take a FuncRequest as arg, adjust
4021
4022         * boost.C (assertion_failed): change assertion message slightly
4023
4024         * ToolbarBackend.C (read): simplify
4025
4026         * MenuBackend.C (binding): adjust call to findbinding, add a
4027         message if no binding is found.
4028         (read): simplify
4029         (expandToc): correct by adding a empty FuncRequest
4030
4031         * LyXAction.C: include <boost/assert.hpp>
4032         (isPseudoAction): delete function
4033         (LookupFunc): change name to...
4034         (lookupFunc): this. change return type to FuncRequest.
4035         (getActionName): take kb_action as arg, simplify
4036         (funcHasFlag): add an assert, simplify.
4037
4038 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * toc.C (action): return a FuncRequest, simplify
4041
4042         * lyxfunc.C (processKeySym): adjust
4043         (getStatus): delete version that takes an int.
4044         (getStatus): adjust
4045         (dispatch): delete version that takes action as int
4046         (dispatch): adjust
4047         (sendDispatchMessage): simplify and adjust
4048
4049         * funcrequest.C (getArg): take unsigned int as arg
4050
4051         * ToolbarBackend.C (read): adjust
4052         (add): delete version that takes func as a string.
4053         (getIton): take a FuncRequest as arg
4054
4055         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4056         action.
4057
4058         * MenuBackend.C (MenuItem): add a new construct that only takes a
4059         Kind, simplify the constructor use for submenus.
4060         (add): adjust
4061         (expandLastfiles): adjust
4062         (expandDocuments): adjust
4063         (expandFormats): adjust
4064         (expandFloatListInsert): adjust
4065         (expandFloatInsert): adjust
4066         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4067
4068         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4069         Remove class variables lyx_pseudo_map and lyx_arg_map
4070
4071         * LyXAction.C (searchActionArg): delete function
4072         (getPseudoAction): delete function
4073         (retrieveActionArg): delete function
4074         (LookupFunc): make it return kb_action, simplify.
4075         (getActionName): simplify
4076
4077         * factory.C (createInset): fix new bug
4078
4079 2003-09-19  Angus Leeming  <leeming@lyx.org>
4080
4081         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4082         masterFilename_ parameter in the include inset.
4083
4084         * factory.C (createInset): changes due to the changes to InsetInclude.
4085
4086 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4087
4088         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4089
4090 2003-09-18  Angus Leeming  <leeming@lyx.org>
4091
4092         * buffer.C:
4093         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4094         Inset::fillWithBibKeys.
4095         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4096
4097 2003-09-18  Angus Leeming  <leeming@lyx.org>
4098
4099         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4100         variables.
4101         (ctor): pass and store a 'Buffer const &'
4102         (buffer): new member function.
4103
4104         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4105         '*this' to the LaTeXFeatures ctor.
4106
4107 2003-09-18  Angus Leeming  <leeming@lyx.org>
4108
4109         * LColor.h:
4110         * lyxfont.C:
4111         * lyxfont.h:
4112         * lyxtext.h:
4113         * text.C: rename EnumLColor as LColor_color.
4114
4115 2003-09-18  Angus Leeming  <leeming@lyx.org>
4116
4117         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4118         remove #include "insets/insetbase.h" from cursor.h.
4119
4120 2003-09-18  Angus Leeming  <leeming@lyx.org>
4121
4122         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4123         InsetOld_code to remove #include "inset.h".
4124
4125         * iterators.C: add #include "insets/inset.h"
4126
4127 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4128
4129         * BufferView.C: remove more locking stuff that apparently doesn't
4130         do anything sensible.
4131
4132 2003-09-16  André Pönitz  <poenitz@gmx.net>
4133
4134         * paragraph.[Ch]:
4135         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4136           performance boost.
4137
4138 2003-09-16  Angus Leeming  <leeming@lyx.org>
4139
4140         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4141
4142         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4143         arg/return type.
4144
4145         * paragraph.h: remove #include "lyxfont.h". Forward declare
4146         LyXFont_size.
4147
4148 2003-09-16  Angus Leeming  <leeming@lyx.org>
4149
4150         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4151         of support/textutils.h.
4152         (isWord): move the contents of support/textutils.h's IsWordChar here.
4153
4154         * buffer.C:
4155         * lyxfind.C:
4156         * rowpainter.C:
4157         * text.C:
4158         * text2.C: add #include "paragraph.h".
4159
4160         * rowpainter.C:
4161         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4162
4163 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4164
4165         * main.C:
4166         * lyx_main.C:
4167         * lyx_cb.C:
4168         * buffer.C:
4169         * LaTeX.C: use namespace alias for lyx::support::os
4170
4171 2003-09-16  Angus Leeming  <leeming@lyx.org>
4172
4173         * bufferparams.C:
4174         * bufferview_funcs.C:
4175         * factory.C:
4176         * lyxfunc.C:
4177         * paragraph_pimpl.C:
4178         * rowpainter.C:
4179         * text.C: add #include "LColor.h".
4180
4181 2003-09-16  Angus Leeming  <leeming@lyx.org>
4182
4183         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4184         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4185         return LyXFont &.
4186         Store the FontBits::color variable as an int rather than as an
4187         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4188         file.
4189
4190         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4191         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4192         string calls together.
4193
4194         * lyxrc.C: add #include "LColor.h".
4195
4196 2003-09-15  Angus Leeming  <leeming@lyx.org>
4197
4198         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4199         a cow_ptr.
4200
4201 2003-09-15  Angus Leeming  <leeming@lyx.org>
4202
4203         * LColor.h: add an EnumLColor wrapper for LColor::color.
4204
4205         * lyxfont.[Ch] (color, setColor, realColor):
4206         * lyxtext.h, text.C (backgroundColor):
4207         pass EnumLColor args to/from the functions, rather than LColor::color
4208         ones.
4209
4210         * lyxfont.h:
4211         * lyxtext.h: forward declare EnumLColor.
4212
4213         * lyx_main.C: add #include "LColor.h".
4214
4215 2003-09-15  Angus Leeming  <leeming@lyx.org>
4216
4217         * .cvsignore: add lyx-gtk.
4218
4219 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * Chktex.C
4222         * LaTeX.C
4223         * LaTeXFeatures.C
4224         * ParagraphParameters.C
4225         * Spacing.C
4226         * buffer.C
4227         * bufferparams.C
4228         * bufferview_funcs.C
4229         * chset.C
4230         * counters.C
4231         * funcrequest.C
4232         * lyxfont.C
4233         * lyxgluelength.C
4234         * lyxlength.C
4235         * paragraph.C
4236         * paragraph_funcs.C
4237         * text3.C
4238         * vc-backend.C: remove usage of STRCONV
4239
4240 2003-09-15  Angus Leeming  <leeming@lyx.org>
4241
4242         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4243         explicitly define the color passed to the painter.
4244
4245 2003-09-15  Angus Leeming  <leeming@lyx.org>
4246
4247         * bufferparams.C (BufferParams): reorder member initializers to avoid
4248         compiler warning.
4249
4250 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4253         * text.C (updateRowPositions): remove an unusual nop
4254
4255 2003-09-12  André Pönitz  <poenitz@gmx.net>
4256
4257         * BufferView_pimpl.C:
4258         * Bullet.C:
4259         * layout.h:
4260         * lyxfunc.C:
4261         * lyxlayout.[Ch]:
4262         * lyxtextclass.C:
4263         * rowpainter.C:
4264         * text.C:
4265         * text2.C:
4266         * Counters.[Ch]: finish the 'automatic counters' job
4267
4268 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4269
4270         * aspell.C: include <boost/assert.cpp> (compile fix)
4271
4272 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4273
4274         * boost.C (assertion_failed): use lyx::support::abort instead of
4275         assert.
4276
4277 2003-09-10  Angus Leeming  <leeming@lyx.org>
4278
4279         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4280         with their _fwd progeny.
4281
4282 2003-09-09  Angus Leeming  <leeming@lyx.org>
4283
4284         134 files throughtout the source tree: replace 'using namespace abc;'
4285         directives with the appropriate 'using abc::xyz;' declarations.
4286
4287 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4288
4289         * boost.C (emergencyCleanup): moved here from LAssert.c
4290         (assertion_failed): new function, called by BOOST_ASSERT
4291
4292         * several files: change Assert to BOOST_ASSERT
4293
4294 2003-09-09  Angus Leeming  <leeming@lyx.org>
4295
4296         * buffer.[Ch]: Add an Impl class and move Buffer's member
4297         variables into it. As a result move several header files out of
4298         buffer.h.
4299
4300         Add header files to lots of .C files all over the tree as a result.
4301
4302 2003-09-09  Angus Leeming  <leeming@lyx.org>
4303
4304         * buffer.[Ch]: make Buffer's member variables private. Add
4305         accessor functions.
4306
4307         Lots of changes all over the tree as a result.
4308
4309 2003-09-08  Angus Leeming  <leeming@lyx.org>
4310
4311         * graph.C: #include <config.h>.
4312
4313 2003-09-08  Angus Leeming  <leeming@lyx.org>
4314
4315         * BranchList.C:
4316         * BufferView.C:
4317         * BufferView_pimpl.C:
4318         * CutAndPaste.C:
4319         * DepTable.C:
4320         * LaTeX.C:
4321         * LaTeXFeatures.C:
4322         * LyXAction.C:
4323         * MenuBackend.C:
4324         * TextCache.C:
4325         * aspell.C:
4326         * buffer.C:
4327         * bufferlist.C:
4328         * changes.C:
4329         * chset.C:
4330         * converter.C:
4331         * counters.C:
4332         * debug.C:
4333         * graph.C:
4334         * ispell.C:
4335         * lyx_cb.C:
4336         * lyxfind.C:
4337         * lyxfunc.C:
4338         * lyxlex_pimpl.C:
4339         * lyxrc.C:
4340         * lyxrow.C:
4341         * paragraph.C:
4342         * rowpainter.C:
4343         * texrow.C:
4344         * text.C:
4345         * text2.C:
4346         * toc.C: remove redundant using directives.
4347
4348 2003-09-07  Angus Leeming  <leeming@lyx.org>
4349
4350         * LaTeXFeatures.h: remove #include "support/types.h".
4351         * ToolbarBackend.h: remove #include <algorithm>.
4352         * changes.h: remove #include <ctime>.
4353         * debug.h: remove #include <iosfwd>.
4354         * graph.h: remove #include "support/std_string.h".
4355         * lyx_main.h: remove #include <csignal>.
4356         * lyxlex_pimpl.h: remove #include <fstream>.
4357         * sgml.h: remove #include <algorithm>, <utility>.
4358         * toc.h: remove #include "support/std_ostream.h".
4359         Add #include <iosfwd>.
4360
4361 2003-09-07  Angus Leeming  <leeming@lyx.org>
4362
4363         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4364
4365         * converter.h: forward declare LatexRunParams.
4366         * encoding.h: remove #include "lyxrc.h".
4367         * lyxtext.h: remove #include "LColor.h".
4368         * lyxtextclass.h: remove #include "support/types.h".
4369         * trans.h: remove #include "tex-accent.h".
4370         * trans_mgr.h: remove #include "tex-accent.h".
4371         * insets/inset.h: remove #include "support/types.h", <vector>.
4372         * insets/insetcollapsable.h: remove #include "LColor.h".
4373         * insets/insetinclude.h: remove #include "dimension.h".
4374         * insets/insetlatexaccent.h: remove #include "dimension.h".
4375         * insets/insetoptarg.h:: remove #include "insettext.h".
4376         * insets/insettext.h: remove #include "dimension.h",
4377         <boost/shared_ptr.hpp>
4378
4379         * insets/renderers.h: add #include "dimension.h".
4380         * insets/updatableinset.h: add #include "support/types.h".
4381
4382         * many .C files: Associated changes.
4383
4384 2003-09-06  Angus Leeming  <leeming@lyx.org>
4385
4386         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4387         one, inside testInvariant.
4388
4389         * PrinterParams.C: new file.
4390         * PrinterParams.[Ch]: move the function bodies out of line.
4391
4392 2003-09-06  Angus Leeming  <leeming@lyx.org>
4393
4394         * ParagraphParameters.h: forward declare ParameterStruct rather than
4395         including its header file.
4396         (depth): moved out-of-line.
4397
4398 2003-09-06  Angus Leeming  <leeming@lyx.org>
4399
4400         * BufferView_pimpl.h:
4401         * kbmap.h:
4402         * kbsequence.h:
4403         * lyxfunc.h: forward declare LyXKeySym rather than
4404         #include "frontends/LyXKeySym.h".
4405
4406         * BufferView_pimpl.C:
4407         * kbmap.C:
4408         * kbsequence.C:
4409         * lyxfunc.C: associated changes.
4410
4411 2003-09-06  Angus Leeming  <leeming@lyx.org>
4412
4413         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4414         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
4424         * buffer.h:
4425         * bufferlist.C:
4426         * BufferView.C:
4427         * bufferview_funcs.C:
4428         * BufferView_pimpl.C:
4429         * CutAndPaste.C:
4430         * lyx_cb.C:
4431         * lyxfunc.C:
4432         * paragraph.h:
4433         * ParagraphParameters.C:
4434         * tabular.C:
4435         * text3.C:
4436         * toc.C:
4437         * undo_funcs.C:
4438         * frontends/controllers/ControlDocument.C:
4439         * insets/insetcaption.C: rearrange the #includes into some sort of
4440         coherent order.
4441
4442         * buffer.h: remove #includes ErrorList.h, undo.h
4443
4444 2003-09-06  Angus Leeming  <leeming@lyx.org>
4445
4446         * support/types.h: add a 'depth_type' typedef, used to store the
4447         nesting depth of a paragraph.
4448
4449         * paragraph.h:
4450         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4451         defining explicitly.
4452
4453         * buffer.h:
4454         * paragraph_funcs.h:
4455         * ParagraphParameters.h:
4456         * sgml.h: use lyx::depth_type rather than Paragraph or
4457         ParameterStruct's depth_type.
4458
4459         * buffer.h
4460         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4461
4462         * BufferView.C:
4463         * BufferView_pimpl.C:
4464         * CutAndPaste.C:
4465         * ParagraphParameters.C:
4466         * buffer_funcs.C:
4467         * bufferlist.C:
4468         * bufferview_funcs.C:
4469         * lyx_cb.C:
4470         * lyxfunc.C:
4471         * tabular.C:
4472         * text3.C:
4473         * toc.C:
4474         * undo_funcs.C:
4475         * frontends/LyXView.C:
4476         * frontends/controllers/ControlDocument.C:
4477         * frontends/controllers/ControlErrorList.C:
4478         * insets/insetbibitem.C:
4479         * insets/insetbranch.C:
4480         * insets/insetcaption.C:
4481         * insets/insetcollapsable.C:
4482         * insets/insetenv.C:
4483         * insets/insetert.C:
4484         * insets/insetfloat.C:
4485         * insets/insetfoot.C:
4486         * insets/insetfootlike.C:
4487         * insets/insetnewline.C:
4488         * insets/insetquotes.C:
4489         * insets/insettabular.C:
4490         * insets/insettext.C:
4491         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4492
4493         * frontends/controllers/ControlChanges.C: #include "changes.h".
4494
4495 2003-09-06  Angus Leeming  <leeming@lyx.org>
4496
4497         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4498         than #including paragraph.h.
4499
4500         * ParagraphList.h:
4501         * RowList.h: deleted. Superfluous.
4502
4503         * CutAndPaste.h:
4504         * iterators.h:
4505         * lyxcursor.h:
4506         * lyxtext.h:
4507         * text_funcs.h:
4508         * undo.h:
4509         * undo_funcs.h:
4510         * insets/inset.h:
4511         * insets/insettext.h: use ParagraphList_fwd.h rather than
4512         ParagraphList.h.
4513
4514         * paragraph.h: don't forward declare ParagraphList.
4515
4516         * buffer.h:
4517         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4518         rather than ParagraphList.h. paragraph.h is still needed for the
4519         Paragraph::depth_type parameters.
4520
4521         * textcursor.h: enable it to compile stand-alone in light of the
4522         above changes.
4523
4524         * bufferview_funcs.C:
4525         * iterators.C:
4526         * lyxfunc.C:
4527         * lyxrow_funcs.C:
4528         * paragraph.C:
4529         * rowpainter.C:
4530         * text.C:
4531         * text2.C:
4532         * text3.C:
4533         * text_funcs.C:
4534         * textcursor.C:
4535         * undo.C:
4536         * frontends/controllers/ControlParagraph.C:
4537         * frontends/controllers/ControlTabular.C:
4538         * insets/insetmarginal.C:
4539         * insets/insetminipage.C:
4540         * insets/insetnote.C:
4541         * insets/insetoptarg.C: add header files needed to compile again.
4542
4543 2003-09-06  Angus Leeming  <leeming@lyx.org>
4544
4545         * RowList_fwd.h: new file, forward-declaring Row rather than
4546         #including lyxrow.h.
4547
4548         * lyxrow_funcs.h:
4549         * lyxtext.h:
4550         * paragraph.h:
4551         * insets/insettext.h: use it instead of RowList.h
4552
4553         * bufferview_funcs.C:
4554         * lyxfunc.C:
4555         * lyxrow_funcs.C:
4556         * paragraph.C:
4557         * rowpainter.C:
4558         * text.C:
4559         * text2.C:
4560         * text3.C: #include "RowList.h".
4561
4562 2003-09-05  Angus Leeming  <leeming@lyx.org>
4563
4564         * factory.C (createInset):
4565         * vspace.C (c-tor): replace sscanf call with an istringstream.
4566         * ispell.C: re-add missing HP/UX headers.
4567         * lyxserver.C: re-add missing  os2 headers.
4568
4569 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4570
4571         * BranchList.C:
4572         * graph.C:
4573         * ispell.C:
4574         * lastfiles.C:
4575         * lyx_cb.C:
4576         * lyxserver.C:
4577         * texrow.C:
4578         * text3.C: re-add missing system headers, needed for 2.95.2.
4579
4580 2003-09-05  Angus Leeming  <leeming@lyx.org>
4581
4582         Changes most place everywhere due to the removal of using directives
4583         from support/std_sstream.h.
4584
4585 2003-09-05  Angus Leeming  <leeming@lyx.org>
4586
4587         Replace LString.h with support/std_string.h,
4588         Lsstream.h with support/std_sstream.h,
4589         support/LIstream.h with support/std_istream.h,
4590         support/LOstream.h with support/std_ostream.h.
4591
4592         Changes resulting throughout the tree.
4593
4594 2003-09-05  Angus Leeming  <leeming@lyx.org>
4595
4596         * sgml.h: ensure that the header file can be compiled stand-alone.
4597         * *.C: strip out redundant #includes. (320 in total.)
4598
4599 2003-09-04  Angus Leeming  <leeming@lyx.org>
4600
4601         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4602         here (from getPackages).
4603
4604         * debug.[Ch]: add a new EXTERNAL tag.
4605
4606 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4607
4608         * text2.C (cursorEnd): simplify
4609         (setCursor): adjust
4610         (getColumnNearX): adjust
4611
4612         * text.C (computeBidiTables): adjust
4613         (fill): adjust
4614
4615         * rowpainter.C (paintChars): adjust
4616         (paintSelection): adjust
4617         (paintChangeBar): adjust
4618         (paintText): adjust
4619
4620         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4621         lastPos instead.
4622         (numberOfSeparators): adjust
4623
4624 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4625
4626         * LyXAction.C:
4627         * box.[Ch]:
4628         * lfuns.h:
4629         * lyxfunc.C:
4630         * text3.C: Restricts the mouse click functionality
4631         of insets like bibtex, include, toc and floatlist to the visible
4632         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4633         up the dialogs. Cursor has to be in front of the inset (i.e.
4634         start of row) for this to function.
4635
4636 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4637
4638         * bufferview_funcs.C (currentState): output row information
4639
4640 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4641
4642         * bufferview_funcs.C (currentState): output paragraph position
4643
4644 2003-09-04  Angus Leeming  <leeming@lyx.org>
4645
4646         * FloatList.h: move out #include "Floating.h".
4647         * LaTeX.h: move out #include "DepTable.h".
4648         * LyXAction.h: move out #include "funcrequest.h".
4649         * buffer.h: move out #include "author.h", "iterators.h".
4650         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4651         * lyx_main.h: move out #include "errorlist.h".
4652         * lyxfunc.h: move out #include "FuncStatus.h".
4653         * lyxtext: move out #include "lyxcursor.h".
4654         * paragraph_pimpl.h: move out #include "counters.h".
4655
4656 2003-09-03  Angus Leeming  <leeming@lyx.org>
4657
4658         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4659         preamble_snippets list, enabling us to add snippets to the preamble
4660         only if the snippet was not there already.
4661
4662 2003-09-04  Angus Leeming  <leeming@lyx.org>
4663
4664         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4665
4666 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4669         update
4670
4671 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4672
4673         * BranchList.C: point fix, earlier forgotten
4674
4675 2003-09-02  Angus Leeming  <leeming@lyx.org>
4676
4677         * box.C (contains): renamed from 'contained' after a fantastic
4678         amount of hot air.
4679
4680 2003-09-02  John Levon  <levon@movementarian.org>
4681
4682         * BufferView.C:
4683         * lyxcursor.h:
4684         * lyxcursor.C:
4685         * lyxfunc.C:
4686         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4687
4688 2003-09-02  John Levon  <levon@movementarian.org>
4689
4690         * text2.C: simplification of cursorEnd(), including partial
4691         fix for bug 1376
4692
4693 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * buffer.C (readFile): add a space
4696
4697 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4698
4699         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4700
4701 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * buffer.C (readFile): new function, take a filename and a
4704         ParagraphList::iterator
4705         (readFile): adjust
4706         (readFile): adjust, make it private. don't use setStream, make
4707         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4708         always contain the filename.
4709
4710         * BufferView.C (insertLyXFile): simplify and make it work for
4711         gzipped files.
4712
4713 2003-08-30  John Levon  <levon@movementarian.org>
4714
4715         * Makefile.am: fix dist (from Kayvan)
4716
4717 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * most files: change to use const Buffer refs
4720
4721 2003-08-27  André Pönitz  <poenitz@gmx.net>
4722
4723         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4724         on top of ownerPar().
4725
4726 2003-08-27  John Levon  <levon@movementarian.org>
4727
4728         * funcrequest.C: properly initialise POD members
4729
4730 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4731
4732         * lyxtext.h (top_y): move top_y from here
4733         * text.C:
4734         * text2.C:
4735         * text3.C:
4736         * BufferView.[Ch]:
4737         * BufferView_pimpl.[Ch]: to here
4738         * frontends/screen.C:
4739         * insets/insettabular.C:
4740         * insets/insettext.C: adjust
4741         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4742
4743 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4744
4745         * BufferView.[Ch]:
4746         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4747
4748 2003-08-26  André Pönitz  <poenitz@gmx.net>
4749
4750         * paragraph_func.[Ch] (outerPar): new function
4751
4752         * paragraph.C:
4753         * paragraph_funcs.C:
4754         * paragraph_funcs.h:
4755         * paragraph_pimpl.C:
4756         * text2.C: remove Inset::par_owner
4757
4758 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4759
4760         * lyxrow_funcs.C:
4761         * lyxtext.h:
4762         * text.C:
4763         * text2.C: eliminates the needFullRow/display() stuff
4764         altogether, putting the logic in metrics/draw in the insets.
4765
4766 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4767
4768         * text2.C (redoParagraphInternal, redoParagraphs):
4769         * text.C (redoParagraph): add a call to updateRowPositions at the
4770         end of each 'metrics-like' call. Remove all others.
4771         (getRow): remove the 'y-computing' version.
4772         (getRowNearY): do not compute nor return the real y. Solve the
4773         'y < 0' problem and simplify.
4774
4775 2003-08-22  Angus Leeming  <leeming@lyx.org>
4776
4777         * *.[Ch]: clean-up of licence and author blurbs.
4778         Also move config.h out of a few .h files and into a few .C files.
4779
4780 2003-08-22  André Pönitz  <poenitz@gmx.net>
4781
4782         * lyxrow.[Ch]: add x_ and *fill_ members
4783
4784         * lyxtext.h:
4785         * text.C:
4786         * rowpainter.C:
4787         * text2.C: adjust/remove prepareToPrint() calls
4788
4789 2003-08-22  André Pönitz  <poenitz@gmx.net>
4790
4791         * lyxrow.[Ch]: add  end_ member
4792
4793         * lyxrow_funcs.C: use LyXRow::end_
4794
4795         * lyxtext.h (singleWidth): add LyXFont parameter
4796
4797         * rowpainter.C:
4798         * text2.C: adjust LyXText::singleWidth() calls
4799
4800         * text.C (redoParagraph): simplify row breaking logic
4801
4802
4803 2003-08-19  André Pönitz  <poenitz@gmx.net>
4804
4805         * funcrequest.C: initialize button_ member
4806
4807         * text3.C:
4808         * rowpainter.[Ch]: interface consolidation
4809
4810 2003-08-18  André Pönitz  <poenitz@gmx.net>
4811
4812         * BufferView.C:
4813         * BufferView_pimpl.C:
4814         * lyxfind.C:
4815         * paragraph_funcs.C:
4816         * rowpainter.C:
4817         * text3.C: remove LyXScreen::draw() and fitCursor calls
4818
4819         * BranchList.h: remove spurious semicolons
4820
4821         * MenuBackend.C: fix branchlist related crash
4822
4823 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4824
4825         * BranchList.[Ch]:
4826         * InsetList.[Ch]:
4827         * LColor.[Ch]:
4828         * LyXAction.C:
4829         * Makefile.am:
4830         * MenuBackend.[Ch]:
4831         * bufferparams.[Ch]:
4832         * factory.C:
4833         * lfuns.h:
4834         * lyxfunc.C:
4835         * text3.C: implements the 'branch inset'
4836         idea. This allows the output of various versions of a document
4837         from a single source version, selectively outputing or suppressing
4838         output of parts of the text.
4839         This implementation contains a 'branch list editor' in a separate
4840         tab of the document settings dialog. Branches are user definable
4841         and have a "display colour" to distinguish them on-screen.
4842
4843         ColorHandler was somewhat cleaned up.
4844         (1) make possible a dynamically growing LColor list by allowing
4845         the graphic context cache to grow along (vector);
4846         (2) eliminate an IMHO unnecessary step in colour allocation.
4847
4848 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4849
4850         * BufferView_pimpl.C: compile fix
4851
4852 2003-08-15  André Pönitz  <poenitz@gmx.net>
4853
4854         * rowpainter.C: remove extra metrics calls
4855
4856         * lyxtext.h: merge the two constructors into a single one,
4857           pass reference to owner's par list
4858
4859         * BufferView_pimpl.C:
4860         * text.C:
4861         * text2.C: adjust
4862
4863 2003-08-15  André Pönitz  <poenitz@gmx.net>
4864
4865         * lyxrow_funcs.[Ch]:
4866         * lyxtext.h:
4867         * paragraph.h:
4868         * paragraph_funcs.C:
4869         * rowpainter.C:
4870         * text.C:
4871         * text2.C:
4872         * text3.C:
4873         * text_funcs.C: split LyXText::rowlist_ into individual
4874         Paragraph::rows_ chunks
4875
4876         * BufferView.[Ch]:
4877         * BufferView_pimpl.[Ch]:
4878         * lyxfind.C:
4879         * lyxtext.h:
4880         * text3.C: remove toggleSelection()
4881
4882 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4883
4884         * bufferlist.C: beautify two alerts (shorter text of buttons)
4885         * buffer.C: Remove redundant ' ' from message
4886         * tabular.h:
4887         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4888         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4889         rename VALIGN_CENTER to VALIGN_MIDDLE
4890
4891 2003-08-11  André Pönitz  <poenitz@gmx.net>
4892
4893         * lyxtext.h (getPar):
4894         * text.C: new function
4895
4896 2003-08-11  André Pönitz  <poenitz@gmx.net>
4897
4898         * Makefile.am:
4899         * tracer.[Ch]: remove unneeded files
4900
4901         * InsetList.[Ch]: remove resizeInsetsLyXText()
4902
4903         * lyxtext.h:
4904         * text.C:
4905         * text2.C:
4906         * text3.C: merge insertParagraphs() and appendParagraph()
4907         remove breakAgain(), update()
4908
4909         * BufferView_pimpl.[Ch]:
4910         * bufferview_funcs.[Ch]:
4911         * lyxfunc.C:
4912         * paragraph.[Ch]:
4913         * rowpainter.C:
4914         * tabular.C: adjust after text & InsetList changes.
4915
4916 2003-08-08  André Pönitz  <poenitz@gmx.net>
4917
4918         * text.C (insertChar, backspace): replace rowlist fiddling
4919         with rebreak of full par
4920
4921         * lyxtext.h:
4922         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4923         checkParagraph, updateInset): removed
4924
4925 2003-08-07  André Pönitz  <poenitz@gmx.net>
4926
4927         * paragraph.C:
4928         * text3.C: merge some LFUN handlers, remove dead code
4929
4930 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4931
4932         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4933
4934 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * text2.C (DEPM): fix part of bug 1255 and 1256
4937
4938 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4939
4940         * BufferView_pimpl.C (workAreaDispatch): change to use
4941         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4942         that are no mouse related.
4943
4944 2003-08-05  André Pönitz  <poenitz@gmx.net>
4945
4946         * BufferView.[Ch]:
4947         * BufferView_pimpl.[Ch]:
4948         * bufferview_funcs.C:
4949         * text2.C:
4950         * text3.C: rip out "deep update"
4951
4952         * textcursor.[Ch] (last_sel_cursor): remove unused member
4953
4954 2003-08-04  André Pönitz  <poenitz@gmx.net>
4955
4956         * BufferView.[Ch]:
4957         * BufferView_pimpl.[Ch]:
4958         * ParagraphParameters.C:
4959         * bufferview_funcs.C:
4960         * lyx_cb.C:
4961         * lyxfind.C:
4962         * lyxfunc.C:
4963         * text.C:
4964         * text2.C:
4965         * text3.C: replace "complicated" BufferView::update(...) calls with
4966         simpler ones.
4967
4968         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4969
4970 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4971
4972         * Makefile.am (lyx_SOURCES): add paper.h
4973
4974 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4975
4976         * Makefile.am: move things around so that both lyx-qt and
4977         lyx-xforms can be built (according to --with-frontend). Then lyx
4978         is a symbolic link to lyx-[firstfrontend]
4979
4980 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4981
4982         * Always use std::endl with lyxerr
4983
4984 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4985
4986         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4987
4988 2003-08-01  André Pönitz  <poenitz@gmx.net>
4989
4990         * BufferView.[Ch]:
4991         * BufferView_pimpl.[Ch]:
4992         * lyxfunc.C:
4993         * text3.C: merge BufferView::repaint() and BufferView::update()
4994
4995 2003-08-01  José Matos  <jamatos@lyx.org>
4996
4997         * buffer.[Ch]: file_format is no longer a buffer data element.
4998
4999 2003-08-01  André Pönitz  <poenitz@gmx.net>
5000
5001         * BufferView.C:
5002         * lyxtext.h:
5003         * text.C:
5004         * text2.C: make redoParagraph more independent of current cursor
5005
5006         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5007         * text.C:
5008         * text2.C: remove unneeded members
5009
5010 2003-07-30  André Pönitz  <poenitz@gmx.net>
5011
5012         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5013
5014         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5015           create a single function...
5016
5017         * paragraph_funcs.C (moveItem): ... here.
5018
5019         * text.C:
5020           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5021
5022 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5023
5024         * LColor.[Ch]: Add comment and greyedout logical colors.
5025
5026 2003-07-30  André Pönitz  <poenitz@gmx.net>
5027
5028         * tabular.C: don't use Assert too heavily. This crashes where it
5029           shouldn't
5030
5031 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5032
5033         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5034         is disabled (bug 1232)
5035
5036 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5037
5038         * factory.C: limited 'arg' scope
5039
5040 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5041
5042         * factory.C: fixed Note submenu issues
5043
5044 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5045
5046         * factory.C: submenu for Note/Comment/Greyedout
5047
5048 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5049
5050         * lyx_main.C (LyX):
5051         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5052
5053 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5054
5055         * LaTeXFeatures.C:
5056         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5057         greyedout. Patch provided by Jürgen Spitzmüller.
5058
5059 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5060
5061         * kbmap.C (read): fix error message when reading bind files
5062
5063 2003-07-29  Angus Leeming  <leeming@lyx.org>
5064
5065         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5066         certainly does not do what it purports to do. I am doing it, and
5067         us, a favour by killing it.
5068
5069 2003-07-28  José Matos  <jamatos@lyx.org>
5070
5071         * buffer.C (readBody, do_writeFile):
5072         * paragraph.C(readParagraph): \end_document replaces \the_end.
5073
5074 2003-07-29  André Pönitz  <poenitz@gmx.net>
5075
5076         * BufferView.[Ch]:
5077         * BufferView_pimpl.[Ch]:
5078         * lyxfunc.C:
5079         * text2.C:
5080         * text3.C:
5081         * textcursor.[Ch]: remove toggleToggle & Co
5082
5083 2003-07-28  José Matos  <jamatos@fep.up.pt>
5084
5085         * buffer.C (readParagraph):
5086         * params_func (readParToken, readParagraph):
5087         * paragraph.C (write): \layout -> \begin_layout.
5088
5089 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * lyxlex_pimpl.C (setFile): clean up slightly.
5092
5093         * bufferparams.h: add compressed var
5094
5095         * buffer_funcs.C (readFile): adjust for LyXLex change
5096         (newFile): ditto + simplify
5097
5098         * buffer.C (writeFile): handle writing of compressed files
5099
5100         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5101         Check if the file is compressed and set a bufferparm if so.
5102
5103         * Makefile.am (lyx_LDADD): remove explicit -lz
5104
5105 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5106
5107         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5108         makeDocBookFile): put the real LyX version in the first line of
5109         the file
5110
5111         * version.h:
5112         * version.C.in: remove lyx_docversion
5113
5114         * tabular.C (write_attribute): add a template-based version to
5115         write enums properly
5116
5117 2003-07-28  André Pönitz  <poenitz@gmx.net>
5118
5119         * lyxtext.h:
5120         * text.C:
5121         * text2.C:
5122         * text3.C: use doubles again for x-coordinates. They are needed.
5123
5124 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * messages.C (getLocaleDir): use lyx_localedir()
5127
5128         * lyxlex_pimpl.C (setFile): compress stuff
5129
5130         * buffer.C (writeFile): add some compression stuff
5131         (do_writeFile): new func, dont call expliti close... will this
5132         breake anything?
5133
5134         * Makefile.am (lyx_LDADD): add -lz
5135
5136 2003-07-28  José Matos  <jamatos@fep.up.pt>
5137
5138         * buffer.C: increment file format.
5139         * paragraph_funcs (readParagraph, readParToken):
5140         * paragraph.C (readParagraph): add \end_layout.
5141
5142 2003-07-27  Angus Leeming  <leeming@lyx.org>
5143
5144         * Makefile.am: remove special casing for configure-time setting of
5145         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5146
5147         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5148         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5149
5150 2003-07-26  André Pönitz  <poenitz@gmx.net>
5151
5152         * paragraph_func.[Ch]:
5153         * paragraph.C (realizeFont): inline it whereever it is used
5154
5155         * rowpainter.C:
5156         * text.C:
5157         * text2.C:
5158         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5159
5160
5161 2003-07-26  André Pönitz  <poenitz@gmx.net>
5162
5163         *       lyxtext.h:
5164         * text.C:
5165         * text2.C: get rid of LyXText::need_break_row
5166
5167 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * toc.[Ch]: put namespace toc inside namespace lyx
5170
5171         * MenuBackend.C (expandToc2): adjust for lyx::toc
5172         (expandToc): ditto
5173
5174         * lyxfunc.C (dispatch): adjust for lyx::find
5175
5176         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5177         lyx::find instead. Reorganize a bit.
5178         (LyXReplace): rename to replace
5179         (LyXFind): rename to find
5180
5181         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5182         (dispatch): ditto
5183
5184 2003-07-26  André Pönitz  <poenitz@gmx.net>
5185
5186         * text.C (setHeightOfRow): restrict scope of temporary variable
5187
5188         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5189           code (never has been used?)
5190
5191 2003-07-27  Asger Alstrup  <alstrup@local>
5192
5193         * text.C (fill): Optimise algorithm to exploit that we can reuse
5194         the LyXFont for many characters.
5195         (setHeightOfRow): Same thing.
5196         (rowBreakPoint): Same thing.
5197
5198 2003-07-26  Asger Alstrup  <alstrup@local>
5199
5200         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5201
5202         * text.C (singleWidth): Spurious font copying in hot-spot
5203         singleWidth avoided. Reorder tests for arabic for efficiency.
5204
5205         * text.C (fill): handle empty paragraphs better.
5206
5207 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5208
5209         * ispell.C:
5210         * encoding.h: add includes
5211
5212         * lyxrc.C: remove reading of bind files
5213
5214         * lyx_main.C (init): setup bindings and menus only if we have a
5215         gui.
5216
5217         * kbmap.C (read): new method. Do the actual reading of bind
5218         files.
5219
5220         * converter.C (dvipdfm_options):
5221         * bufferparams.C:
5222         * lyxrc.C (read):
5223         (output): adapt PAPER_* enums.
5224
5225         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5226
5227         * bufferparams.h: remove paper-related enums from there
5228
5229         * paper.h: New file. A trivial header file to hold paper-related
5230         enums. It should later expand to contain many paper-related
5231         horrors access.
5232
5233         * lyxrc.C: declare extern displayTranslator
5234
5235 2003-07-27  José Matos  <jamatos@fep.up.pt>
5236
5237         * tabular.[Ch] (linuxdoc): add support for tables and figures
5238         (linuxdoc).
5239
5240 2003-07-27  José Matos  <jamatos@fep.up.pt>
5241
5242         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5243         consistency in both functions.
5244         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5245
5246 2003-07-26  Asger Alstrup  <alstrup@local>
5247
5248         * rowpainter.C (paintRows): Change algorithm to work directly on
5249         the insets rather than asking every character in the document
5250         whether its an inset.
5251
5252 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5253
5254         * buffer.C (openFileWrite): factorize some code
5255
5256 2003-07-26  Angus Leeming  <leeming@lyx.org>
5257
5258         * lyx_cb.C:
5259         * lyx_main.[Ch]: replace occurances of system_tempdir with
5260         os::getTmpDir().
5261
5262 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * rename Inset to InsetOld
5265
5266 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5267
5268         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5269         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5270         which I think is a bit clearer. EDIT is gone, since it was
5271         premature optimisation, and broken for mathed anyway.
5272         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5273         with cursor positioning in insets as well (math insets still do not
5274         work, but that's a different story anyway.) It mysteriously
5275         crashes sometimes with undo in the first paragraph, but I'm fairly
5276         confident that this is a compiler bug.
5277
5278 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * paragraph.C (Paragraph): adjust for new clone return type
5281         (operator==): ditto
5282         (copyIntoMinibuffer): ditto
5283
5284 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5285
5286         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5287         by not having a special case, and always doing a full rebreak of
5288         the document after undo.
5289
5290 2003-07-23  Angus Leeming  <leeming@lyx.org>
5291
5292         * factory.C (createInset): InsetExternal::setParams now takes a
5293         Buffer const * arg.
5294
5295 2003-07-23  Angus Leeming  <leeming@lyx.org>
5296
5297         * factory.C (createInset): changed interface to the external and
5298         graphics mailers' string2params functions.
5299
5300 2003-07-23  Angus Leeming  <leeming@lyx.org>
5301
5302         * factory.C (createInset): pass a
5303         Buffer const * parameter to InsetExternalMailer's string2params.
5304
5305 2003-07-22  John Levon  <levon@movementarian.org>
5306
5307         * Thesaurus.h: include the right aiksaurus header
5308
5309 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5310
5311         * MenuBackend.C (expand): check menu shortcuts unconditionally
5312
5313 2003-07-21  Angus Leeming  <leeming@lyx.org>
5314
5315         * factory.C (createInset): pass a
5316         buffer_path parameter to InsetGraphicsMailer's string2params.
5317
5318 2003-07-21  Angus Leeming  <leeming@lyx.org>
5319
5320         * BufferView_pimpl.C (buffer):
5321         * buffer.C (d-tor):
5322         * lyx_main.C (LyX):
5323         * lyxfunc.C (dispatch):
5324         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5325         rather than the grfx shortcut.
5326
5327 2003-07-21  André Pönitz  <poenitz@gmx.net>
5328
5329         * rowpainter.C: remove unused variables
5330
5331         * tabular_funcs.C:
5332         * tabular_funcs.h: move to tabular.C
5333         * Makefile.am: adjust
5334
5335         * tabular.[Ch]: basic optical cleaning
5336
5337         * author.h: pass references, not values
5338
5339 2003-07-18  André Pönitz  <poenitz@gmx.net>
5340
5341         * lyxtext.h:
5342         * metricsinfo.C:
5343         * metricsinfo.h:
5344         * rowpainter.C:
5345         * text.C:
5346         * text2.C:
5347         * text3.C: two-phase drawing for InsetText and InsetTabular
5348         some float -> int changes.
5349
5350 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5351
5352         * lyx_main.C: fix the fix
5353
5354 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5355
5356         * lyx_main.C: fix a crash in batch mode if no files specified
5357         * converter.C: ws
5358
5359 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * format.[Ch] (papersize): moved to BufferParams
5362         * converter.[Ch] (dvips_options): moved to BufferParams
5363         (dvipdfm_options): moved to anon namespace
5364         * bufferparams.[Ch]: added above functions.
5365
5366 2003-07-17  André Pönitz  <poenitz@gmx.net>
5367
5368         * lyxtext.h:
5369         * rowpainter.C:
5370         * text2.C: don't call inset->update() anymore
5371
5372         * metricsinfo.[Ch]: add convenience constructor
5373
5374 2003-07-16  André Pönitz  <poenitz@gmx.net>
5375
5376         * lyxcursor.[Ch]:
5377         * lyxfunc.[Ch]:
5378         * text.C:
5379         * text2.C: replace the LyXCursor::irow_ member with
5380          on-demand computation of the value
5381
5382 2003-07-16  John Levon  <levon@movementarian.org>
5383
5384         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5385
5386 2003-07-15  André Pönitz  <poenitz@gmx.net>
5387
5388         * text.C:
5389         * text2.C: remove no more needed refresh_row
5390
5391 2003-07-15  André Pönitz  <poenitz@gmx.net>
5392
5393         * lyxtext.h:
5394         * rowpainter.C:
5395         * text2.C:
5396         * text3.C: refresh_status tristate -> need_update bool
5397
5398 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5399
5400         * lyxtext.h (init): remove reinit argument (act as if always true)
5401         * text2.C: adjust to that
5402
5403 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5404
5405         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5406         * text3.C: use it to delete selections in some cases
5407         (bugs 441, 673, 702, 954).
5408
5409 2003-07-14  André Pönitz  <poenitz@gmx.net>
5410
5411         * rowpainter.[Ch]: reduce interface
5412
5413 2003-07-14  André Pönitz  <poenitz@gmx.net>
5414
5415         * BufferView_pimpl.C:
5416         * text2.C: adjust after removing unused BufferView * argument
5417
5418 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5419
5420         * text2.C (init): fix a crash fired on resize
5421
5422 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5423
5424         * buffer.[Ch]: added new closing signal
5425         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5426         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5427         BufferView::Pimpl via the closing the signal
5428
5429 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5430
5431         * buffer.[Ch]: take out all bv-related from buffer
5432         * BufferView.C:
5433         * BufferView_pimpl.[Ch]: connect to new signals
5434         * CutAndPaste.C: removed useless asserts
5435         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5436         * lyxvc.[Ch]:
5437         * vc-backend.[Ch]:
5438         * lyxfunc.C: moved view-related funciontality from vc here
5439         * paragraph.C: removed outdated comments
5440         * text.C: ws
5441
5442 2003-07-10  André Pönitz  <poenitz@gmx.net>
5443
5444         * BufferView_pimpl.C:
5445         * tabular.h:
5446         * tabular_funcs.C:
5447         * text.C:
5448         * text2.C: remove InsetText::InnerCache, clean up consequences
5449
5450 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5451
5452         * ispell.C: fix two typos in error messages
5453
5454 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5455
5456         * Extend Note inset to other forms of annotation like Comment
5457         and Greyedout. Right button click gives dialog.
5458
5459         Files modified or added (+):
5460
5461         * insetnote.[Ch]
5462         * FormNote.[Ch]      +
5463         * ControlNote.[Ch]   +
5464         * form_note.fd       +
5465         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5466         frontends/controllers
5467         * xforms/Dialogs.C
5468         * factory.C
5469
5470 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5471
5472         * aspell.C: add missing namespace lyx::support
5473
5474 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5475
5476         * BufferView.[Ch] (newFile): Add
5477         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5478         * LaTeX.[Ch] (message): added this signal and use it
5479         * buffer.[Ch] (busy, message): added these signals and use them
5480         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5481         * converter.C:
5482         * exporter.C:
5483         * format.C:
5484         * importer.C: use buffer signals instead of direct bv calling
5485         * lyx_cb.[Ch] (ShowMessage): removed
5486         * lyx_main.C:
5487         * lyxfunc.C:
5488         * paragraph_funcs.C:
5489         * text2.C: use buffer signals
5490
5491 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * introduce namespace lyx::graphics
5494
5495 2003-07-02  André Pönitz  <poenitz@gmx.net>
5496
5497         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5498
5499 2003-07-01  André Pönitz  <poenitz@gmx.net>
5500
5501         * text.C:
5502         * text2.C:
5503         * text3.C:
5504         * text_funcs.[Ch]:
5505         * textcursor.h:
5506         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5507           text*.C to text_func.C
5508
5509 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * introduce namespace lyx::support
5512
5513 2003-06-30  André Pönitz  <poenitz@gmx.net>
5514
5515         * Chktex.C:
5516         * funcrequest.C:
5517         * lyxtext.h:
5518         * text.C: re-enable --with-included-string
5519
5520 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * textcursor.C: add <config.h>
5523
5524         * text.C (getWord): remove const from word_location arg
5525
5526         * lyxvc.C (getLogFile): fix const type order
5527
5528         * lyxtext.h: remove const from word_location arg, add arg name
5529
5530         * lyxlayout.h: currect type on labeltype.
5531
5532         * importer.C: correct \file
5533
5534         * converter.C (intToFormat): use std:: on ret val, ws changes
5535
5536         * bufferlist.h: correct \file
5537
5538         * buffer.C (makeLinuxDocFile): fix const type order
5539         (makeDocBookFile): ditto
5540         (fillWithBibKeys): use std:: on stdlib args.
5541
5542         * CutAndPaste.C: fix authors.
5543         (availableSelections): use std:: on return vector
5544
5545 2003-06-27  André Pönitz  <poenitz@gmx.net>
5546
5547         * BufferView_pimpl.C:
5548         * bufferview_funcs.C:
5549         * lyxcursor.C:
5550         * lyxcursor.h:
5551         * lyxfunc.C:
5552         * lyxtext.h:
5553         * rowpainter.C:
5554         * text.C:
5555         * text2.C:
5556         * text3.C: remove LyXCursor::row_ member
5557
5558         * lyxtext.h:
5559         * text.C: rename fullRebreak() to partialRebreak() and implement
5560           a fullRebreak() that really bereks fully
5561
5562         * textcursor.h: new struct for cursor-related data
5563
5564 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5565
5566         * lyx_main.C (LyX): get full path of document loaded on the
5567         command line
5568
5569 2003-06-26  André Pönitz  <poenitz@gmx.net>
5570
5571         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5572           remove unused/broken operator>,<,>=.
5573
5574         *       text.C: remove only use of broken operator<= in an Assert().
5575
5576 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5577
5578         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5579         moved errorlist_.clear to showErrorList
5580
5581 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5582
5583         * converter.C (scanLog, runLaTeX):
5584         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5585         move the bv->showErrorList call to the callers
5586         * lyxfunc.C: i.e. here...
5587         * text2.C: and here
5588         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5589         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5590         namespace, the second to...
5591         * buffer_funcs (BufferFormat, parseErrors): added
5592         * errorlist.C (ErrorList(TeXErrors const &)): removed
5593
5594 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5595
5596         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5597
5598 2003-06-24  "Garst R. Reese" <reese@isn.net>
5599
5600         * debug.C: fix typo
5601
5602 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5603
5604         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5605
5606         * version.C.in: change docversion to 1.4
5607
5608 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5609
5610         * buffer.C: fix a bug just introduced
5611
5612 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5613
5614         * buffer.[Ch]: added the parseError signal and use it, removed
5615         sgmlError
5616         * BufferView.[Ch] (addError): moved to ...
5617         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5618         to the Buffer::parseError signal to catch (guess what) parse errors
5619         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5620
5621 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5622
5623         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5624         ability to create a buffer and to return an existing one from
5625         the list. Moved these functions to...
5626         * buffer_funcs.[Ch]: added
5627         * BufferView.[Ch] (loadLyXFile): added
5628         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5629         job removed from bufferlist::loadLyXFile.
5630         * buffer.C (setReadOnly): make it work without view
5631         (i.e added an if (users))
5632
5633 2003-06-19  Angus Leeming  <leeming@lyx.org>
5634
5635         * lfuns.h:
5636         * LyXAction.C (init):
5637         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5638         with LFUN_DIALOG_SHOW <name> <data>.
5639
5640 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5641
5642         * CutAndPaste.C (availableSelections): small compilation fix for
5643         ancient (gcc 2.9x) compilers
5644
5645 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5646
5647         * text3.C (cursorNext): add tmp var
5648
5649         * text2.C (updateCounters): for function calling out of for clause
5650         (replaceSelectionWithString): ditto
5651         (insertStringAsParagraphs): ditto
5652         (getColumnNearX): add tmp var
5653         (setCursorFromCoordinates): add tmp var
5654         (cursorDownParagraph): add tmp var
5655         (deleteEmptyParagraphMechanism): add tmp var
5656
5657         * text.C (insertChar): add tmp var
5658
5659         * rowpainter.C (paintDepthBar): add tmp var
5660
5661         * CutAndPaste.C (availableSelections): potentially check all
5662         paragraphs in a cut to fill the shown strings.
5663
5664 2003-06-18  André Pönitz  <poenitz@gmx.net>
5665
5666         * kbmap.[Ch]: use vector<> instead of list<>
5667
5668 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5669
5670         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5671         pasteSelection with index
5672
5673         * text2.C (pasteSelection): modify, call pasteSelection with index
5674
5675         * paragraph.C (asString): reimplement version with no interval to
5676         call the one with interval.
5677
5678         * lyxtext.h: add index arg to pasteSelection
5679
5680         * MenuBackend.C (MenuItem): handle PasteRecent
5681         (Menu::read::Menutags): add md_pasterecent
5682         (read): handle it
5683         (expandPasteRecent): new function
5684         (expand): use it
5685
5686         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5687
5688         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5689         the limited stack
5690         (availableSelections): new function
5691
5692 2003-06-17  Angus Leeming  <leeming@lyx.org>
5693
5694         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5695
5696 2003-06-17  Angus Leeming  <leeming@lyx.org>
5697
5698         * lfuns.h:
5699         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5700
5701         * lyxfunc.C (dispatch): invoke it.
5702
5703 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5704
5705         * iterators.C (operator++, ParPosition): reintroduce some
5706         const_cast for the benefit of older compilers.
5707
5708 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5709
5710         * text3.C (dispatch): do not modify clipboard when doing
5711         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5712         LFUN_DELETE_SKIP on a selection selection
5713
5714 2003-06-16  André Pönitz  <poenitz@gmx.net>
5715
5716         * BufferView.C:
5717         * buffer.C:
5718         * buffer.h:
5719         * paragraph.C:
5720         * tabular.[Ch]: IU of clone() and getLabelList();
5721
5722 2003-06-13  André Pönitz  <poenitz@gmx.net>
5723
5724         * tabular.h: compactification
5725
5726 2003-06-12  André Pönitz  <poenitz@gmx.net>
5727
5728         * tabular.C:
5729         * tabular.h:
5730         * tabular_funcs.h: some renaming plus whitespace
5731
5732 2003-06-12  André Pönitz  <poenitz@gmx.net>
5733
5734         * BufferView.C:
5735         * BufferView_pimpl.C:
5736         * CutAndPaste.C:
5737         * buffer.C:
5738         * iterators.[Ch]:
5739         * lyxfunc.C:
5740         * text.C:
5741         * toc.C: Return a Paragraph & for ParIterator::operator*()
5742
5743 2003-06-11  John Levon  <levon@movementarian.org>
5744
5745         * lyx_main.C:
5746         * ToolbarBackend.h:
5747         * ToolbarBackend.C: add "Toolbars" section and
5748         put the flags there
5749
5750 2003-06-10  Angus Leeming  <leeming@lyx.org>
5751
5752         * lfuns.h:
5753         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5754
5755         * lyxfunc.C (dispatch): invoke it.
5756
5757 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * main.C: protect <ios> with HAVE_IOS
5760         (main): protect sync_with_stdio with HAVE_IOS
5761
5762 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5763
5764         * text2.C (cutSelection): adjust
5765         (pasteSelection): adjust
5766
5767         * messages.C: handle get of empty string
5768
5769         * main.C (main): use sync_with_stdio(false)
5770
5771         * lyxfunc.C (dispatch): adjust
5772
5773         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5774         (WriteAs): remove unneeded BufferView arg.
5775
5776         * bufferparams.h: use correct types on papersize, papersize2 and
5777         paperpackage.
5778
5779         * bufferparams.C (readToken): adjust for type
5780         (writeLaTeX): add missing cases to switch.
5781
5782         * bufferlist.C (quitWriteBuffer): adjust
5783         (close): adjust
5784
5785         * buffer.C (asciiParagraph): remove some commented code.
5786
5787         * CutAndPaste.C: remove current_view extern variable.
5788         (cutSelection): add BufferParams arg.
5789         (eraseSelection): add BufferParams arg.
5790         (pasteSelection): add Buffer const & arg
5791
5792 2003-06-07  John Levon  <levon@movementarian.org>
5793
5794         * buffer.C:
5795         * paragraph_funcs.C:
5796         * paragraph_pimpl.C:
5797         * text.C:
5798         * text2.C:
5799         * paragraph.h:
5800         * paragraph.C: allow InsetERT to freely space lines,
5801         and some consolidation of code
5802
5803 2003-06-06  José Matos  <jamatos@fep.up.pt>
5804
5805         * buffer.C (makeDocBookFile): fix bug #821
5806
5807 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5808
5809         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5810
5811 2003-06-04  Angus Leeming  <leeming@lyx.org>
5812
5813         * buffer.C: bump format to 224.
5814
5815 2003-06-05  André Pönitz  <poenitz@gmx.net>
5816
5817         * text2.C (redoParagraphs): remove two const_cast<>
5818
5819 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5820
5821         * ParagraphList.h: remove last remnants of NO_STD_LIST
5822
5823 2003-06-03  Angus Leeming  <leeming@lyx.org>
5824
5825         * factory.C (createInset): small change to the way InsetExternal's params
5826         are set.
5827
5828 2003-06-04  André Pönitz  <poenitz@gmx.net>
5829
5830         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5831
5832         * paragraph_pimpl.h:
5833         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5834
5835         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5836
5837         * undo_funcs.C: make some simple cases of undo work again
5838
5839 2003-06-03  John Levon  <levon@movementarian.org>
5840
5841         * ispell.C: HPUX doesn't have sys/select.h
5842         (from Albert Chin)
5843
5844 2003-06-03  John Levon  <levon@movementarian.org>
5845
5846         * CutAndPaste.C: update tabular and include inset
5847         buffer references
5848
5849         * buffer.h:
5850         * paragraph.h:
5851         * paragraph.C: remove owningBuffer(), don't pass Buffer
5852         to clone()
5853
5854         * factory.C: insetGraphicsParams changed
5855
5856 2003-06-02  John Levon  <levon@movementarian.org>
5857
5858         * LyXAction.C:
5859         * factory.C:
5860         * lfuns.h:
5861         * lyxfunc.C:
5862         * text3.C: remove insetparent
5863
5864 2003-06-02  John Levon  <levon@movementarian.org>
5865
5866         * buffer.h:
5867         * buffer.C: fix inset_iterator.end(), move out of line
5868         (bug 1149)
5869
5870 2003-06-01  John Levon  <levon@movementarian.org>
5871
5872         * text3.C: use a proper cut/paste when doing inset
5873         insert (from Jürgen Spitzmüller)
5874
5875 2003-06-01  John Levon  <levon@movementarian.org>
5876
5877         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5878
5879 2003-05-30  André Pönitz  <poenitz@gmx.net>
5880
5881         * rowpainter.C: unify second drawing phase
5882
5883 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5884
5885         * trans_mgr.C: remove one case of current_view
5886
5887         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5888
5889         * paragraph_funcs.h: remove paragraph.h include
5890
5891         * paragraph.h: delete NO_STD_LIST stuff
5892
5893         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5894
5895         * buffer.h: remove paragraph.h include
5896
5897         * ParagraphList.C: delete file
5898
5899         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5900
5901         * toc.C (getTocList): adjust
5902
5903         * paragraph_pimpl.C (validate): adjust
5904
5905         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5906
5907         * paragraph.C (Paragraph): adjust
5908         (getPositionOfInset): use const_iterator, adjust
5909         (bibitem): use const_iterator, adjust
5910         (setInsetOwner): adjust
5911
5912         * iterators.C (operator++): adjust
5913
5914         * InsetList.[Ch]: Replace selfmade iterator with standard
5915         vector::iterator also introduce const_iterator. Remove getPos,
5916         getInset and setInset from InsetTable. Adjust accordingly.
5917
5918         * BufferView.C (lockInset): adjust
5919         (ChangeInsets): adjust
5920
5921         * tabular.[Ch]: delete commented same_id functions
5922
5923 2003-05-28  John Levon  <levon@movementarian.org>
5924
5925         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5926
5927 2003-05-28  André Pönitz  <poenitz@gmx.net>
5928
5929         * metricsinfo.[Ch]: remove 'fullredraw' member
5930
5931 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5932
5933         * lyxtextclass.C (operator): remove caching.
5934
5935 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * text3.C: adjust
5938
5939         * text2.C (cursorBottom): adjust
5940         (setCounter): use ParagraphList::find, adjust
5941
5942         * text.C (workWidth): use ParagraphList::find, adjust
5943
5944         * lyxcursor.C (LyXCursor): adjust
5945
5946         * buffer.C (inset_iterator): adjust
5947
5948         * ParagraphList.h: make iterator(value_type) private, make
5949         ParagraphList a friend of iterator.
5950
5951         * ParagraphList.C (find): new function
5952
5953         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5954
5955 2003-05-27  André Pönitz  <poenitz@gmx.net>
5956
5957         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5958
5959 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5960
5961         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5962
5963 2003-05-26  John Levon  <levon@movementarian.org>
5964
5965         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5966
5967 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * remove same_id from function signatures, adjust.
5970
5971 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5974
5975         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5976
5977         * paragraph.C (Paragraph): get rid of same_ids parameter
5978
5979         * ParagraphList.C (insert): adjust
5980         (push_back): adjust
5981
5982 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5983
5984         * paragraph_funcs.C (breakParagraph): adjust
5985         (breakParagraphConservative): adjust
5986
5987         * buffer.C (readParagraph): adjust
5988
5989         * ParagraphList.C (insert): take a reference instead of a pointer
5990         (insert): adjust
5991
5992         * paragraph.[Ch] (id): new function
5993
5994         * bufferlist.C (newFile): adjust
5995
5996         * ParagraphList.C (ParagraphList): adjust
5997         (assign): adjust
5998         (push_back): take a reference instead of a pointer.
5999
6000         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6001
6002         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6003         instead.
6004
6005         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6006         set else use old code.
6007
6008         * ParagraphList.C: remove all NO_NEXT code and only compile this
6009         code of NO_STD_LIST is set.
6010
6011 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6012
6013         * BufferView_pimpl.C:
6014         * TextCache.C:
6015         * TextCache.h:
6016         * bufferlist.C:
6017         * errorlist.h:
6018         * format.C:
6019         * format.h:
6020         * graph.C:
6021         * lyxfunc.C:
6022         * lyxrc.C:
6023         * graphics/GraphicsConverter.C:
6024         * graphics/PreviewLoader.C: header adjustment
6025
6026 2003-05-23  Angus Leeming  <leeming@lyx.org>
6027
6028         * LaTeXFeatures.[Ch] (useBabel): new method.
6029         * bufferparams.C (writeLaTeX): use it.
6030
6031 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6032
6033         * ParagraphList.h (set): remove unused function.
6034
6035 2003-05-23  André Pönitz  <poenitz@gmx.net>
6036
6037         * BufferView.C:
6038         * BufferView_pimpl.C:
6039         * buffer.C:
6040         * buffer.h:
6041         * lyxfunc.C:
6042         * undo_funcs.C: setUndo reworked
6043
6044         * iterators.[Ch]: add access to topmost ParagraphList
6045
6046         * lyxtext.[Ch] (workWidth): add a const
6047
6048 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6049
6050         * texrow.[Ch] (increasePos): remove function
6051         * exporter.C (export): removed unused var and outdated comment
6052
6053 2003-05-23  Angus Leeming  <leeming@lyx.org>
6054
6055         * latexrunparams.h: rename fragile as moving_arg.
6056         * paragraph.C (simpleTeXOnePar): ditto.
6057         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6058
6059 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6060
6061         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6062         (createUndo): ditto
6063         (textUndoOrRedo): comment out a currently unused var.
6064
6065         * paragraph.h (NO_NEXT): enable NO_NEXT
6066
6067         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6068
6069         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6070
6071         * exporter.C (Export): adjust for removeAutoInsets removal.
6072
6073         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6074
6075         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6076
6077         * BufferView.[Ch] (removeAutoInsets): delete function
6078
6079 2003-05-22  Angus Leeming  <leeming@lyx.org>
6080
6081         * latexrunparams.h: add a free_spacing variable.
6082
6083         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6084         to pass moving_arg, as the data is stored in runparams.fragile.
6085
6086         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6087         to Inset::latexOptional or to simpleTeXOnePar.
6088
6089         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6090         free_spacing arg to Inset::latexOptional.
6091
6092         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6093         free_spacing arg.
6094
6095 2003-05-22  Angus Leeming  <leeming@lyx.org>
6096
6097         * latexrunparams.h: add fragile and use_babel variables.
6098
6099         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6100         * buffer.C (makeLaTeXFile): store this returned value in
6101         runparams.use_babel, thus passing it to the inset::latex methods.
6102
6103         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6104         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6105
6106         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6107         longer has a fragile arg, as it is stored in runparams.fragile.
6108
6109         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6110         moving_arg parameter as the data is stored in runparams.fragile.
6111
6112         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6113         a fragile parameter as the data is stored in runparams.fragile.
6114
6115 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6118
6119 2003-05-22  Angus Leeming  <leeming@lyx.org>
6120
6121         * latexrunparams.h: add a 'bool nice' which defaults to false.
6122
6123         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6124         now encapsulated within runparams.
6125
6126         * bufferlist.C (updateIncludedTeXfiles):
6127         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6128
6129 2003-05-22  Angus Leeming  <leeming@lyx.org>
6130
6131         * latexrunparams.h: new file containing struct LatexRunParams.
6132         * Makefile.am: add new file.
6133
6134         * LaTeX.[Ch] (c-tor, run):
6135         * buffer.[Ch] (makeLaTeXFile):
6136         * bufferlist.[Ch] (updateIncludedTeXfiles):
6137         * converter.C (convert, scanLog):
6138         * converter.[Ch] (runLaTeX):
6139         * exporter.C (Export):
6140         * paragraph.[Ch] (simpleTeXOnePar):
6141         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6142         * paragraph_funcs.[Ch] (latexParagraphs):
6143         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6144         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6145         pass around a LatexRunParams parameter.
6146
6147 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * paragraph.[Ch]: remove unused constructor
6150
6151         * ParagraphList.C (erase): new function, taking two iterators
6152
6153 2003-05-22  André Pönitz  <poenitz@gmx.net>
6154
6155         * undo_funcs.C: remove duplicated code
6156
6157         * iterator.[Ch]: operator=
6158
6159 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * tabular.C (SetMultiColumn): ws changes
6162
6163         * rowpainter.C (paintFirst): get rid of a ->previous
6164
6165         * lyx_cb.C (getPossibleLabel): parlist simplification
6166
6167         * BufferView.C (ChangeInsets): simplify slightly.
6168
6169 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6170
6171         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6172         * lfuns.h: new LFUN_SPACE
6173         * lyxfunc.C: protected space has a new lfun
6174         * paragraph_funcs.C: read new space insets
6175         * text3.C:
6176         * factory.C: handle new space insets
6177
6178 2003-05-22  André Pönitz  <poenitz@gmx.net>
6179
6180         * BufferView.C:
6181         * BufferView_pimpl.C:
6182         * buffer.[Ch]:
6183         * lyxfunc.C:
6184         * undo_funcs.C: return a ParIterator from getParFromID.
6185
6186         * iterators.[Ch]: add two const's
6187
6188 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * toc.C (getTocList): adjust
6191
6192         * iterators.[Ch]: rework for parlist
6193
6194         * buffer.C (par_iterator_begin): adjust
6195         (par_iterator_end): adjust
6196
6197         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6198
6199         * BufferView.C (removeAutoInsets): adjust
6200         (ChangeInsets): adjust
6201
6202 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6203
6204         * text.C (top_y): fix bug 1110
6205
6206 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6207
6208         * errorlist.[Ch]: added
6209         * buffer.C:
6210         * BufferView.[Ch]:
6211         * BufferView_pimpl.C:
6212         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6213         instead
6214
6215 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * Makefile.am: ensure that lyx is relinked upon changes to the
6218         various "convenience" libs.
6219
6220 2003-05-20  Angus Leeming  <leeming@lyx.org>
6221
6222         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6223         files are compiled in alphabetical order again.
6224
6225         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6226
6227 2003-05-19  Angus Leeming  <leeming@lyx.org>
6228
6229         * gettext.[Ch]: remove "char const * _(char const *)".
6230
6231 2003-05-19  André Pönitz  <poenitz@gmx.net>
6232
6233         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6234
6235         * Makefile.am:
6236         * BufferView.C:
6237         * DepTable.h:
6238         * LaTeXFeatures.C:
6239         * buffer.C:
6240         * lyxfont.C:
6241         * lyxlex.h:
6242         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6243
6244 2003-05-19  André Pönitz  <poenitz@gmx.net>
6245
6246         * buffer.C:
6247         * lyxlayout.[Ch]:
6248         * lyxtextclass.[Ch]:
6249         * paragraph.C:
6250         * paragraph_funcs.[Ch]:
6251         * text2.C:
6252         * text3.C: more insetenv work
6253
6254 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6255
6256         * ParagraphParameters.C (params2string): small bug fixed
6257
6258 2003-05-16  André Pönitz  <poenitz@gmx.net>
6259
6260         * debug.C:
6261         * bufferview_funcs.C: patch from Kornel Benko to prevent
6262           crash when _(...) is called twice in a statement
6263
6264 2003-05-16  André Pönitz  <poenitz@gmx.net>
6265
6266         * BufferView.C:
6267         * lyxfunc.C:
6268         * text.C:
6269         * text2.C:
6270         * text3.C:
6271         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6272
6273 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6274
6275         * lyx_main.C (init): remove spurious static_cast
6276
6277 2003-05-14  André Pönitz  <poenitz@gmx.net>
6278
6279         * BufferView.C: fix format string
6280
6281 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6282
6283         * BufferView.[Ch] (insertErrors): removed
6284         * BufferView.[Ch] (showErrorList): added
6285         * buffer.C (runChkTeX):
6286         * converter.C (scanLog): call showErrorList instead of inserterrors
6287
6288 2003-05-13  André Pönitz  <poenitz@gmx.net>
6289
6290         * BufferView_pimpl.C:
6291         * buffer.C:
6292         * bufferview_func.C:
6293         * MenuBackend.C:
6294         * lyxfunc.C:
6295         * lyxrc.C:
6296         * tex-accent.C:
6297         * text3.C:
6298         * toc.C:
6299         * tabular_funcs.h: tostr() from its own header
6300
6301         * ParagraphParameters.C:
6302         * ToolbarBackend.C:
6303         * bufferparams.C:
6304         * format.C:
6305         * lyxlex_pimpl.C:
6306         * text3.C: STRCONV()
6307
6308 2003-05-12  André Pönitz  <poenitz@gmx.net>
6309
6310         * BufferView.C:
6311         * BufferView_pimpl.C:
6312         * CutAndPaste.C:
6313         * LaTeX.C:
6314         * LaTeXFeatures.C:
6315         * ParagraphParameters.C:
6316         * buffer.C:
6317         * bufferlist.C:
6318         * bufferparams.C:
6319         * bufferview_funcs.C:
6320         * converter.C:
6321         * counters.C:
6322         * debug.C:
6323         * exporter.C:
6324         * format.C:
6325         * importer.C:
6326         * lyx_cb.C:
6327         * lyx_main.C:
6328         * lyxfont.C:
6329         * lyxfunc.C:
6330         * lyxvc.C:
6331         * paragraph.C:
6332         * paragraph_funcs.C:
6333         * tabular.C:
6334         * tabular_funcs.C:
6335         * text2.C:
6336         * text3.C:  boost::format -> bformat  all over the place
6337
6338
6339 2003-05-09  André Pönitz  <poenitz@gmx.net>
6340
6341         * LColor.[Ch]: Pimpl the #include <map> away
6342
6343 2003-05-09  John Levon  <levon@movementarian.org>
6344
6345         * bufferlist.C: never remove emergency saves
6346
6347 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * Makefile.am: better lib building
6350
6351 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6354         instead.
6355         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6356         (simpleTeXSpecialChars): adjust
6357         (simpleTeXSpecialChars): adjust
6358         * paragraph.C (simpleTeXOnePar): adjust
6359         * buffer.C (makeLaTeXFile): adjust
6360
6361         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6362
6363         * text2.C (changeDepth): parlist cleanup
6364         (getColumnNearX): ditto
6365
6366         * rowpainter.C (getLabelFont): parlist cleanup
6367
6368         * bufferlist.C (newFile): parlist cleanup
6369
6370         * CutAndPaste.C (eraseSelection): parlist cleanup
6371
6372         * BufferView_pimpl.C (trackChanges): parlist cleanup
6373         (dispatch): ditto
6374
6375         * BufferView.C (lockInset): parlist cleanup.
6376         (ChangeInsets): ditto
6377
6378 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * CutAndPaste.h: Update file header.
6381
6382         * CutAndPaste.C: Update file header.
6383         Store the parts cut out of the Document in a limited_stack.
6384         (copySelection): adjust
6385         (pasteSelection): new function, takes the index in the limited stack.
6386         (nrOfParagraphs): adjust
6387         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6388         simplify error inset insertion.
6389         (checkPastePossible): adjust
6390
6391 2003-05-06  John Levon  <levon@movementarian.org>
6392
6393         * text2.C: don't cast wrap inset to float
6394
6395 2003-05-05  André Pönitz  <poenitz@gmx.net>
6396
6397         * iterator.C:
6398         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6399
6400         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6401           few naked Paragraph *.
6402
6403 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6404
6405         * bufferparams.C: Output warning if a document with missing
6406         TeX document class is loaded
6407         * exporter.C: Disable TeX exports if the document class is missing
6408         * lyxtextclass.C:
6409         * lyxtextclass.h:
6410         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6411         isTeXClassAvailable()
6412
6413 2003-05-03  John Levon  <levon@movementarian.org>
6414
6415         * BufferView.h:
6416         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6417         explicit cursor show/hide
6418
6419         * BufferView_pimpl.h:
6420         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6421         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6422
6423         * lyxfunc.C: hide cursor before dispatching.
6424
6425         * lyx_cb.C:
6426         * lyxfind.C:
6427         * text.C:
6428         * text3.C: remove explicit cursor hides
6429
6430 2003-05-02  André Pönitz  <poenitz@gmx.net>
6431
6432         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6433
6434         * undo_funcs.C:
6435         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6436           linked lists
6437
6438         * text2.C: tiny whitespace
6439
6440 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * undo_funcs.C: almost only ws changes.
6443
6444         * ParagraphList.C (splice): just return if pl is empty.
6445
6446 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * ParagraphList.C (splice): new function.
6449
6450         * CutAndPaste.C (pasteSelection): use it
6451
6452 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * CutAndPaste.C (pasteSelection): remove the last next and
6455         previous from this file.
6456
6457 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6458
6459         * CutAndPaste.C (pasteSelection): more clean up, user proper
6460         ParagraphList functions for pasteing.
6461
6462         * ParagraphList.C (insert): new function, three arg insert
6463
6464 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * ParagraphList.C (insert): new function, three arg insert
6467
6468         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6469         not on paragraphs.
6470
6471 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6474
6475 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6478
6479 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6480
6481         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6482         (copySelection): clean up a bit.
6483         (pasteSelection): use make_pair
6484
6485         * ParagraphList.C (ParagraphList): implement copy constructor
6486         (operator=): implement, base on copy constructor.
6487         (assign): new func
6488
6489         * paragraph.C (erase): return a bool
6490
6491         * paragraph_pimpl.C (erasePos): remove function, move contents...
6492         (erase): ... here. Return a bool.
6493         (erase): call erase instead of erasePos.
6494
6495 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6496
6497         * ParagraphList.h: define PitPosPair
6498         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6499         ParagraphList, fix a bug on pasting multiple pars
6500         * text2.C: change interface to C&P
6501
6502 2003-04-30  André Pönitz  <poenitz@gmx.net>
6503
6504         * undo_func.C: revert part of yesterday's patch 2
6505
6506 2003-04-30  John Levon  <levon@movementarian.org>
6507
6508         * LColor.C: s/tabular/table/
6509
6510 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * text3.C (dispatch): do not convert iterator -> pointer
6513         * undo_funcs.C (setCursorParUndo): ditto
6514         * text_funcs.C (transposeChars): ditto
6515
6516         * text2.C (setLayout): ws changes only
6517
6518         * text.C (breakParagraph): do not convert iterator -> pointer
6519         (insertChar): ditto
6520         (acceptChange): ditto
6521         (rejectChange): ditto
6522         (changeCase): ditto
6523         (Delete): ditto
6524         (backspace): ditto
6525
6526         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6527         pointer
6528
6529 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6530
6531         * text3.C (gotoInset): YABG (yet another bad getChar)
6532
6533 2003-04-29  André Pönitz  <poenitz@gmx.net>
6534
6535         * paragraph.h: make operator= private unimplemented as long as
6536           it is unusable
6537
6538         * ParagraphList.C: whitespace
6539
6540         * paragraph.[Ch]:
6541         * paragraph_pimpl.[Ch]:
6542         * paragraph_funcs.C:
6543         * CutAndPaste.C:
6544         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6545
6546         * text2.C:
6547           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6548
6549 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6550
6551         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6552         * paragraph.[Ch] (erase):
6553         * paragraph_pimpl.[Ch] (erase): change return type and value
6554         * text2.C (cutSelection): some rework
6555
6556 2003-04-28  John Levon  <levon@movementarian.org>
6557
6558         * bufferlist.C: changes for unsaved changes dialog
6559
6560 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6561
6562         * bufferlist.C (newFile): set language (messages_) for new
6563         documents also.
6564
6565         * buffer.C (readFile): ws changes only.
6566
6567 2003-04-28  André Pönitz  <poenitz@gmx.net>
6568
6569         * undo_funcs.C:
6570         * lyxfunc.C:
6571         * buffer.[Ch]:
6572         * BufferView_pimpl.C:
6573         * BufferView.C: getParFromID related ParagraphList::iterator changes
6574
6575 2003-04-28  André Pönitz  <poenitz@gmx.net>
6576
6577         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6578           Changes
6579
6580 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * messages.C: remove one more localedir class variable.
6583
6584 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * messages.C (getLocaleDir): singleton generation function
6587         (Pimpl): use it.
6588         (Messages): add a default constructor.
6589
6590         * main.C (main): do not setup localedir here, do not call
6591         gettext_init.
6592
6593         * gettext.C (_): use it.
6594         (gettext_init): delete funciton
6595
6596 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * gettext.C (getLyXMessages): new singleton generating function.
6599
6600         * buffer.C (updateDocLang): adjust
6601
6602         * Makefile.am (messages.o): add target
6603         (main.o): remove target
6604
6605 2003-04-27  John Levon  <levon@movementarian.org>
6606
6607         * bufferlist.C:
6608         * lyx_cb.C:
6609         * lyxfunc.C:
6610         * lyxvc.C: specify cancel button in Alert::prompt
6611
6612 2003-04-26  John Levon  <levon@movementarian.org>
6613
6614         * text3.C:
6615         * lyxfunc.C:
6616         * lfuns.h:
6617         * LyXAction.C: add LFUN_INSET_SETTINGS
6618
6619         * lyxfunc.C: don't enable tabular-feature when there's
6620         just any locking inset
6621
6622 2003-04-26  John Levon  <levon@movementarian.org>
6623
6624         * bufferlist.C: re-add Cancel to buffer close question
6625
6626         * lyxfunc.C: fix import UI a bit
6627
6628 2003-04-25  John Levon  <levon@movementarian.org>
6629
6630         * gettext.C: remove the broken asserts for now
6631
6632 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * messages.C: make case where setlocale cannot comply work better.
6635
6636         * buffer.C (updateDocLang): new function
6637         (changeLanguage): use it
6638         (readFile): use it
6639
6640         * text2.C (setCounter): use B_ a bit.
6641
6642         * lyxlayout.C (Read): be sure to trim the label strings.
6643
6644         * messages.C (Messages): fix typo in comment
6645
6646         * buffer.C (readFile): set message_ after file is loaded.
6647         (makeDocBookFile): remove double return
6648         (changeLanguage): reset message_ upon language change.
6649         (B_): new func, use this to get translated buffer strings.
6650
6651         * main.C: add myself and Jean Marc as authors.
6652
6653 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6654
6655         * messages.[hC]: pimplify Messages, and three different pimpls to be
6656         used in different circumstances.
6657
6658         * gettext.[Ch]: change for use with new message code.
6659
6660 2003-04-24 André Pönitz <poenitz@gmx.net>
6661
6662         * factory.C: support for eqref
6663
6664 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * messages.[Ch]: add missing char
6667
6668         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6669
6670         * messages.[Ch]: New files
6671
6672 2003-04-18  John Levon  <levon@movementarian.org>
6673
6674         * BufferView.h:
6675         * BufferView.C:
6676         * BufferView_pimpl.C:
6677         * lfuns.h:
6678         * LyXAction.C:
6679         * lyxtext.h:
6680         * text2.C: remove layout-copy/paste (bug 778)
6681
6682 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6683
6684         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6685
6686 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6687
6688         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6689         if they succeed. Act accordingly.
6690
6691 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * text2.C (setCharFont): adjust
6694         (setCounter): adjust
6695         (insertStringAsLines): adjust
6696
6697         * text.C (leftMargin): adjust
6698         (setHeightOfRow): adjust
6699
6700         * rowpainter.C (paintFirst): adjust
6701         (paintLast): adjust
6702
6703         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6704         (outerHook): ditto
6705         (isFirstInSequence): ditto
6706         (getEndLabel): ditto
6707         (outerFont): adjust
6708
6709         * paragraph.C (getParLanguage): comment out some hard stuff.
6710
6711         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6712         (sgmlError): ditto
6713         (simpleDocBookOnePar): ditto
6714         (makeDocBookFile): use ParagraphList::iterator
6715
6716         * CutAndPaste.C (pasteSelection): adjust
6717
6718 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6719
6720         * text2.C (getFont): adjust
6721         (getLayoutFont): adjust
6722         (getLabelFont): adjust
6723
6724         * paragraph_funcs.C (TeXOnePar): adjust
6725
6726         * buffer.C (simpleLinuxDocOnePar): adjust
6727         (simpleDocBookOnePar): adjust
6728
6729         * CutAndPaste.C (pasteSelection): adjust
6730
6731         * BufferView.C (getEncoding): adjust
6732
6733         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6734
6735 2003-04-16  John Levon  <levon@movementarian.org>
6736
6737         * lyxfind.C: use parlist stuff for search/changes
6738
6739 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6742
6743         * text2.C (deleteEmptyParagraphMechanism): adjust
6744
6745         * text2.[Ch] (ownerParagraph): delete func (both of them
6746
6747 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6748
6749         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6750
6751 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * ParagraphList.C: prepare for NO_NEXT
6754
6755 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6756
6757         * text2.C (getFont): adjust
6758         (getLayoutFont): adjust
6759         (getLabelFont): adjust
6760
6761         * paragraph.C (getFont): adjust
6762         (getLabelFont): adjust
6763         (getLayoutFont): adjust
6764
6765         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6766
6767 2003-04-15  John Levon  <levon@movementarian.org>
6768
6769         From Angus Leeming
6770
6771         * lyx_main.C: handle Include in .ui files
6772
6773 2003-04-15  John Levon  <levon@movementarian.org>
6774
6775         * MenuBackend.C: make the doc files length shorter
6776
6777         * ToolbarBackend.h:
6778         * ToolbarBackend.C: handle toolbar placement flags,
6779         Minibuffer
6780
6781 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6784         adjust
6785
6786         * paragraph_funcs.C (TeXOnePar): adjust
6787
6788         * paragraph.C (getLabelFont): add outerfont arg, adjust
6789         (getLayoutFont): ditto
6790         (simpleTeXOnePar): adjust
6791
6792         * paragraph_pimpl.C (realizeFont): delete func
6793
6794 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6795
6796         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6797         row argument, constify cur argument.
6798
6799 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6800
6801         * text2.C (getFont): adjust
6802         (getLayoutFont): adjust
6803         (getLabelFont): adjust
6804
6805         * paragraph_funcs.C (TeXOnePar): adjust
6806         (outerFont): new func...
6807         (realizeFont): ...moved out from here, changed this to facilitate
6808         transition
6809
6810         * paragraph.C (getFont): take outerfont as arg, adjust
6811         (simpleTeXOnePar): add outerfont arg, adjust
6812
6813         * buffer.C (simpleLinuxDocOnePar): adjust
6814         (simpleDocBookOnePar): adjust
6815
6816         * CutAndPaste.C (pasteSelection): adjust
6817
6818         * BufferView.C (getEncoding): adjust
6819
6820 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * text2.C (setCharFont): adjust
6823         (setCounter): adjust
6824
6825         * text.C (leftMargin): adjust
6826         (setHeightOfRow): adjust
6827
6828         * rowpainter.C (paintFirst): adjust
6829         (paintLast): adjust
6830
6831         * paragraph_pimpl.C (realizeFont): adjust
6832
6833         * paragraph.C (isFirstInSequence): move from here...
6834         * paragraph_funcs.C (isFirstInSequence): ...to here
6835
6836         * paragraph.C (outerHook): move from here...
6837         * paragraph_funcs.C (outerHook): ...to here
6838
6839         * paragraph.C (depthHook): move from here...
6840         * paragraph_funcs.C (depthHook): ...to here
6841
6842         * paragraph.C (getEndLabel): move from here...
6843         * paragraph_funcs.C (getEndLabel): ...to here
6844
6845         * text2.C (realizeFont): move from here...
6846         * paragraph_funcs.C (realizeFont): ...to here
6847
6848 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6851
6852 2003-04-14  Angus Leeming  <leeming@lyx.org>
6853
6854         * LColor.[Ch]: scrap LColor mathcursor.
6855
6856 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * lyxlex.[Ch] (text): delete function
6859         * trans.C (Load): adjust
6860         * paragraph_funcs.C (readParToken): adjust
6861
6862 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6865         vector<char> instead of a char[].
6866
6867         * lyxlex_pimpl.C (getString): adjust
6868         (next): adjust
6869         (lex): use getString
6870         (eatLine): adjust
6871         (nextToken): adjust
6872
6873         * lyxlex.C (text): use pimpl_->getString()
6874         (getBool): ditto
6875         (findToken): ditto
6876
6877 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6878
6879         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6880         (makeFontEntriesLayoutSpecific): temp var for par.size()
6881         (setLayout): temp var for ownerParagraphs().end()
6882         (fullRebreak): temp var for rows().end()
6883         (selectionAsString): temp var for boost::next(startpit), realize
6884         that the while really is a regular for loop.
6885         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6886         setCursor in one place.
6887         (setParagraph): temp vr for ownerParagraphs().end()
6888         (updateCounters): make the while loop a for loop
6889         (cutSelection): temp var for ownerParagraphs().end()
6890         (updateInset): make the do {} while() a regular for loop
6891         (getCursorX): use temp vars
6892         (setCurrentFont): use temp vars
6893         (getColumnNearX): use temp vars
6894
6895 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * text.C (transformChar): use temp var for getChar
6898         (computeBidiTables): use temp var for row->par()
6899         (fill): move temp vars for row->par() and pit->layout() earlier in
6900         the function.
6901         (labelFill): use temp var for row->par()
6902         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6903         asc and desc, realize that pit never changes and that firstpit is
6904         just a duplicate and not needed. Exchange rit->par() with pit in a
6905         lot of places.
6906         (breakAgain): use a temp var for boost::next(rit)
6907         (breakAgainOneRow): ditto
6908         (breakParagraph): use a temp var for rows().begin()
6909         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6910         (cursorRightOneWord): use temp var for cursor.par() and
6911         cursor.pos(), remove usage of tmpcursor.
6912         (cursorLeftOneWord): use temp var for cursor.par() and
6913         cursor.pos() only set cur at end of function.
6914
6915 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * text.C, text2.C: exchange all usage of Paragraph::next with
6918         boost::next(ParagraphList::iterator)
6919
6920         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6921
6922         * text2.C (cursorTop): simplify implementation
6923         (cursorBottom): ditto
6924         (setParagraph): use ParagraphList::iterator
6925         (setCurrentFont): adjust
6926         (getColumnNearX): adjust
6927         (cursorRight): adjust
6928         (cursorLeft): remove usage of Paragraph::previous
6929         (cursorUpParagraph): ditto
6930         (deleteEmptyParagraphMechanism): slight cleanup
6931
6932         * text.C (isBoundary): take a Paragraph const & instead of a
6933         pointer as arg.
6934         (addressBreakPoint): ditto
6935         (leftMargin): remove usage of Paragraph::previous.
6936         (setHeightOfRow): ditto
6937         (cursorLeftOneWord): ditto
6938         (selectNextWordToSpellcheck): ditto
6939         (Delete): ditto
6940         (backspace): ditto
6941         (breakParagraph): remove one usage of Paragraph::next
6942         (redoParagraph): ditto
6943         (acceptChange): ditto
6944         (insertChar): adjust
6945         (rowBreakPoint): adjust
6946
6947         * bufferview_funcs.C (toggleAndShow): adjust
6948
6949 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6950
6951         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6952         methods to access it.
6953         * lyxtext.h:
6954         * text.C: Added updateRowPositions to compute all row positions.
6955         Make top_y and getRowNearY() to use the cached y position
6956
6957 2003-04-11  John Levon  <levon@movementarian.org>
6958
6959         * text.C (rowBreakPoint): reintroduce the labelEnd
6960         checks, code copied from the row fill stuff. Deep voodoo.
6961
6962         * text.C (fill): add a comment and debugging for the
6963         next poor soul.
6964
6965 2003-04-11  John Levon  <levon@movementarian.org>
6966
6967         * text.C: make sure fullrow insets get wrapped to the next line,
6968         even when they're in a manual label
6969
6970 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6971
6972         * text2.C (insertParagraph): make it take ParagraphList::iterator
6973         as arg.
6974         (setLayout): make it return ParagraphList::iterator
6975         (redoParagraphs): ditto
6976         (setCounter): ditto
6977         (checkParagraph): ditto
6978
6979         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6980
6981         * text2.C: adjust several funcs.
6982         (realizeFont): take a ParagraphList::iterator as arg.
6983         (getLayoutFont): ditto
6984         (getLabelFont): ditto
6985         (setCharFont): ditto
6986
6987         * text.C: adjust several funcs.
6988
6989 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6990
6991         * text.C (selectNextWordToSpellcheck): don't accidentally
6992         skip insets
6993
6994 2003-04-10  John Levon  <levon@movementarian.org>
6995
6996         * ToolbarBackend.C (getIcon): special handling for
6997         LFUN_MATH_DELIM
6998
6999 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7000
7001         * text2.C (cursorRight): a getChar assert fixed
7002
7003 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * text2.C (getFont): change to take a ParagraphList::iterator
7006         instead of Paragraph*
7007         Adjust several functions.
7008
7009         * text.C (transformChar): change to take a ParagraphList::iterator
7010         instead of Paragraph*
7011         (singleWidth): ditto
7012         Adjust several functions.
7013
7014         * rowpainter.C: adjust several functions
7015         * rowpainter.h:store a ParagraphList::iterator and not a
7016         Paragraph&.
7017
7018
7019 2003-04-09  John Levon  <levon@movementarian.org>
7020
7021         * lyxfunc.C:
7022         * lfuns.h:
7023         * LyXAction.h:
7024         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7025         and the "help" bits as well
7026
7027 2003-04-09  John Levon  <levon@movementarian.org>
7028
7029         * ToolbarBackend.h:
7030         * ToolbarBackend.C: allow multiple toolbars
7031
7032 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * undo_funcs.C (setCursorParUndo): adjust
7035
7036         * text_funcs.C (transposeChars): adjust
7037
7038         * text3.C (gotoNextInset): adjust
7039         (dispatch): adjust
7040
7041         * text2.C (setLayout): adjust
7042         (changeDepth): adjust
7043         (setFont): adjust
7044         (redoParagraphs): adjust
7045         (selectionAsString): adjust
7046         (setParagraph): adjust
7047         (insertInset): adjust
7048         (cutSelection): adjust
7049         (copySelection): adjust
7050         (pasteSelection): adjust
7051         (insertStringAsLines): adjust
7052         (updateInset): adjust
7053         (setCursor): change to take a ParagraphList::iterator parameter
7054         (setCursorIntern): change to take a ParagraphList::iterator parameter
7055         (setCurrentFont): adjust
7056         (cursorLeft): adjust
7057         (cursorRight): adjust
7058         (deleteEmptyParagraphMechanism): adjust
7059
7060         * text.C (breakParagraph): adjust
7061         (insertChar): adjust
7062         (acceptChange): adjust
7063         (rejectChange): adjust
7064         (selectNextWordToSpellcheck): adjust
7065         (changeCase): adjust
7066         (Delete): adjust
7067         (backspace): adjust
7068
7069         * lyxfind.C (SearchForward): adjust
7070         (SearchBackward): adjust
7071         (nextChange): adjust
7072
7073         * lyxcursor.C (par): adjust
7074
7075         * lyxcursor.h: store a ParagraphList::iterator instead of a
7076         Paragraph*
7077
7078         * lyx_cb.C (getPossibleLabel): adjust
7079
7080         * bufferview_funcs.C (toggleAndShow): adjust
7081
7082         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7083         (dispatch): adjust
7084
7085         * BufferView.C (removeAutoInsets): adjust
7086         (lockedInsetStoreUndo): adjust
7087
7088 2003-04-09  John Levon  <levon@movementarian.org>
7089
7090         * ToolbarBackend.C: try icon without argument
7091         if with argument fails
7092
7093 2003-04-08  John Levon  <levon@movementarian.org>
7094
7095         * ToolbarBackend.h:
7096         * ToolbarBackend.C: add getIcon(), handle tooltip,
7097         and change from "Icon" to "Item".
7098
7099 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7100
7101         * BufferView.C (lockInset): another bad getchar crunched
7102
7103 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7104
7105         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7106         again)
7107
7108 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7109
7110         * lyxfind.C (searchForward, searchBackwards): bug 782
7111
7112 2003-04-07  John Levon  <levon@movementarian.org>
7113
7114         * paragraph.C: remove dead comment
7115
7116         * text.C: remove troublesome depth-fiddling code
7117         in leftMargin() and rightMargin() (bug 1017)
7118
7119         * text.C: fix breaking of rows in nested lists
7120         (bug 1004)
7121
7122         * text2.C (updateCounters): fix up depth values
7123         (bug 1013)
7124
7125 2003-04-07  John Levon  <levon@movementarian.org>
7126
7127         * BufferView_pimpl.C: clear message when doc finishes resizing,
7128         and after a mouse event
7129
7130         * lyxfunc.C: clear message after exiting inset
7131
7132 2003-04-07  John Levon  <levon@movementarian.org>
7133
7134         * bufferview_funcs.C: show math status not outside
7135         status in the statusbar
7136
7137 2003-04-07  John Levon  <levon@movementarian.org>
7138
7139         * lyxfunc.C: note status changed after a depth change
7140
7141 2003-04-04  Angus Leeming  <leeming@lyx.org>
7142
7143         * LaTeX.h: move AuxInfo operator==, != out of line.
7144         Remove LaTeX virtual destructor; nothing derives from it.
7145         Move operator()() out of public area and rename it startscript().
7146         Change protected for private.
7147
7148 2003-04-04  Angus Leeming  <leeming@lyx.org>
7149
7150         * lyxfunc.C:
7151         * text2.C: remove unneeded #includes.
7152
7153 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * text2.C (dEPM): fix the heigth of the next row
7156
7157 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7158
7159         * text.C: squashed an invalid getChar requester + some ws changes
7160
7161 2003-04-03  John Levon  <levon@movementarian.org>
7162
7163         * bufferview_funcs.h:
7164         * bufferview_funcs.C:
7165         * lyxfunc.C:
7166         * lyxtext.h:
7167         * text2.C: make getStatus work for the env depth lfuns
7168
7169 2003-04-03  John Levon  <levon@movementarian.org>
7170
7171         * bufferview_funcs.h:
7172         * bufferview_funcs.C:
7173         * lyxfunc.C:
7174         * lyxtext.h:
7175         * text2.C: parlistize decDepth(), by merging it with incDepth()
7176
7177 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * lyxrow.h: store a ParagraphList::iterator instead of a
7180         Paragraph* and adjust other class functions to suit.
7181
7182         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7183         above.
7184
7185 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7186
7187         * text2.C (setCursor): do not anchor to cursor row for the time being
7188
7189 2003-04-02  John Levon  <levon@movementarian.org>
7190
7191         * LyXAction.C:
7192         * lfuns.h:
7193         * lyx_main.C:
7194         * lyxtext.h:
7195         * text.C:
7196         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7197
7198 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * paragraph.h: make ParagraphList and ParagraphList::iterator
7201         friends of Paragraph.
7202
7203         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7204
7205         * ParagraphList.C: Use the private next_ and previous_ from
7206         Paragraph.
7207
7208 2003-04-01  John Levon  <levon@movementarian.org>
7209
7210         * ToolbarBackend.h:
7211         * ToolbarBackend.C:
7212         * Makefile.am: rename, remove defaults gunk
7213
7214         * MenuBackend.h:
7215         * MenuBackend.C: remove defaults gunk
7216
7217         * Languages.h:
7218         * Languages.C: remove defaults gunk
7219
7220         * lyx_main.h:
7221         * lyx_main.C: error out if files couldn't be found.
7222
7223 2003-04-02  John Levon  <levon@movementarian.org>
7224
7225         * text2.C: make incDepth() use parlist
7226
7227 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7228
7229         * undo_funcs.C (firstUndoParagraph): adjust
7230
7231         * text3.C (gotoInset): adjust
7232         (dispatch): adjust, and rewrite loop.
7233
7234         * text2.C (init): adjust, and rewrite loop.
7235         (redoParagraphs): adjust
7236         (updateInset): adjust, and rewrite loop.
7237         (deleteEmptyParagraphMechanism): adjust
7238
7239         * tabular.C (LyXTabular): adjust
7240         (SetMultiColumn): adjust
7241         (TeXRow): adjust
7242
7243         * lyxtext.[Ch] (ownerParagraph): delete function
7244         (ownerParagraphs): new function returns a ParagraphList.
7245
7246         * BufferView.C (removeAutoInsets): adjust
7247         (insertErrors): adjust
7248         (setCursorFromRow): adjust
7249
7250 2003-04-01  Angus Leeming  <leeming@lyx.org>
7251
7252         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7253         in the frontends.
7254
7255 2003-04-02  John Levon  <levon@movementarian.org>
7256
7257         * lyxtext.h:
7258         * text.C:
7259         * Makefile.am:
7260         * text_funcs.h:
7261         * text_funcs.C: make transposeChars a free function
7262
7263         * lyxrow_funcs.C: remove wrong comment
7264
7265 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7266
7267         * lyxtext.h: adjust
7268         * rowpainter.C: adjust
7269         * text.C: adjust
7270         * text2.C: adjust
7271         * text3.C: adjust
7272
7273         * lyxrow_funcs. [Ch]: new files
7274
7275         * lyxrow.[Ch]: remove next and previous pointers
7276         (next,previous): remove accessor functions
7277         (isParEnd): move to lyxrow_funcs
7278         (lastPos): move to lyxrow_funcs
7279         (nextRowIsAllInset): move to lyxrow_funcs
7280         (lastPrintablePos): move to lyxrow_funcs
7281         (numberOfSeparators): move to lyxrow_funcs
7282         (numberOfHfills): move to lyxrow_funcs
7283         (numberOfLabelHfills): move to lyxrow_funcs
7284         (hfillExpansion): move to lyxrow_funcs
7285
7286         * lyxfunc.C: adjust
7287
7288         * bufferview_funcs.C (toggleAndShow): adjust
7289
7290         * RowList.h: Remove class RowList from file leave just a
7291         std::list<Row>.
7292
7293         * RowList.C: delete file
7294
7295         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7296         and lyxrow_funcs.h
7297
7298 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * text3.C (cursorPrevious): adjust
7301         (cursorNext): adjust
7302         (dispatch): adjust
7303
7304         * text2.C (redoHeightOfParagraph): adjust
7305         (redoDrawingOfParagraph): adjust
7306         (setCursor): adjust
7307
7308         * text.C (breakParagraph): adjust
7309         (insertChar): adjust
7310         (backspace): adjust
7311
7312         * rowpainter.C (RowPainter): adjust
7313         (leftMargin): simplify and adjust
7314         (most rowpainter functions): adjust.
7315
7316         * rowpainter.h: store the row as RowList::iterator not as Row*
7317
7318         * lyxcursor.C (row): taka RowList::iterator as arg
7319         (irow): ditto
7320
7321         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7322         of Row*.
7323
7324 2003-04-01  Angus Leeming  <leeming@lyx.org>
7325
7326         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7327         stuff like bool Bool.
7328
7329 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7330
7331         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7332         rewrite a loop
7333
7334 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7337         RowList::iterator.
7338
7339         * lyxtext.h (rows): drop one version and leve a const variant that
7340         returns a RowList::iterator.
7341
7342 2003-03-31  Angus Leeming  <leeming@lyx.org>
7343
7344         * text.C (fill): ensure that the signature is the same as that in the
7345         header file.
7346
7347 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text2.C (redoParagraphs): adjust
7350         (updateCounters): adjust
7351         (checkParagraph): adjust
7352         (getColumnNearX): adjust and reformat a bit.
7353
7354         * text.C (top_y): adjust
7355         (workWidth): adjust
7356         (leftMargin): adjust
7357         (prepareToPrint): adjust
7358         (getRow): adjust
7359         (getRowNearY): adjust
7360
7361         * lyxtext.h: make rowlist_ mutable.
7362
7363         * RowList.h: add const_iterator
7364         * RowList.C: adjust for RowList::const_iterator.
7365
7366         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7367         adjust.
7368
7369 2003-03-31  John Levon  <levon@movementarian.org>
7370
7371         * lyxrc.h:
7372         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7373
7374         * lyx_main.C: set default fonts from using lyx_gui funcs
7375
7376         * exporter.C: pdf_mode moved from lyxrc
7377
7378         * lyx_cb.C:
7379         * lyxfunc.C: changes from above
7380
7381 2003-03-31  John Levon  <levon@movementarian.org>
7382
7383         * lyx_main.C: fix to the last fix
7384
7385 2003-03-31  John Levon  <levon@movementarian.org>
7386
7387         * bufferlist.C: "Load original" -> "Load Original"
7388
7389         * converter.C:
7390         * exporter.C:
7391         * importer.C:
7392         * lyx_main.C:
7393         * format.C: more Alert cleanups
7394
7395 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * text2.C (removeParagraph): make it take a RowList::iterator as
7398         arg, adjust.
7399         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7400         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7401
7402         * text.C (anchor_row): make it take a RowList::iterator as arg,
7403         adjust.
7404         (computeBidiTables): make it take a const reference to Row instead
7405         of Row pointer, adjust.
7406         (leftMargin): make it take a RowList::iterator as arg, adjust.
7407         (rowBreakPoint): adjust
7408         (breakAgainOneRow): make it take a RowList::iterator as arg,
7409         adjust.
7410         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7411
7412         * bufferview_funcs.C (toggleAndShow): adjust
7413
7414 2003-03-30  John Levon  <levon@movementarian.org>
7415
7416         * Makefile.am:
7417         * BoostFormat.h:
7418         * boost-inst.C: moved to support
7419
7420         * several files: changes as a result
7421
7422 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7423
7424         * text2.C (LyXText): adjust.
7425         (init): adjust
7426         (removeRow): make it take a RowList::iterator as arg, adjust.
7427         (fullRebreak): adjust
7428         (deleteEmptyParagraphMechanism): adjust
7429         (clearPaint): adjust
7430         (postPaint): adjust
7431
7432         * text.C (top_y): adjust
7433         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7434         (breakAgain): make it take a RowList::iterator as arg, adjust.
7435         (breakParagraph): adjust
7436         (insertChar): adjust
7437         (backspace): adjust
7438
7439         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7440         need_break_row, and refresh_row.
7441
7442         * text3.C (dispatch): adjust
7443
7444         * text2.C (checkParagraph): adjust
7445         (setCursor): adjust
7446         (setCursorFromCoordinates): adjust
7447
7448         * text.C (top_y): adjust
7449         (workWidth): adjust
7450         (getRow): make it return a RowList::iterator, adjust
7451         (getRowNearY): make it return a RowList::iterator, adjust
7452
7453         * text2.C (init): adjust
7454         (insertRow): remove function
7455         (insertParagraph): adjust
7456         (redoParagraphs): adjust
7457         (fullRebreak): adjust
7458         (updateCounters): adjust
7459
7460         * text.C (top_y): rewrite to use RowList iterators.
7461         (top_y): adjust
7462         (setHeightOfRow): rewrite to sue RowList iterators.
7463         (appendParagraph): adjust
7464         (breakAgain): adjust
7465         (breakAgainOneRow): adjust
7466         (breakParagraph): adjust
7467         (getRow): adjust
7468         (getRowNearY): adjust, and remove commented code.
7469
7470         * lyxtext.h (firstRow): delete function
7471         (lastRow): delete function
7472         (rows): new function (const and non-const versions.)
7473         (insertRow): delete function
7474
7475         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7476
7477 2003-03-29  John Levon  <levon@movementarian.org>
7478
7479         * BufferView_pimpl.C: always update scrollbar top
7480         because pasting text when we're anchored could mean we
7481         miss an update altogether
7482
7483 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * text2.C (init): use rowlist_.end() and not 0.
7486         (insertRow): change to take a RowList::iterator as arg, adjust
7487         for this.
7488         (insertParagraph): change to take a RowList::iterator as arg,
7489         adjust for this.
7490         (redoParagraphs): remove some debug msgs.
7491
7492         * text.C (appendParagraph): change to take a RowList::iterator
7493         arg, adjust for this.
7494         (breakAgain): add an assert
7495         (breakAgainOneRow): ditto
7496
7497 2003-03-29  John Levon  <levon@movementarian.org>
7498
7499         * text2.C: do not clear selection after inc/decDepth
7500         (bug 550)
7501
7502 2003-03-29  John Levon  <levon@movementarian.org>
7503
7504         * BufferView.C:
7505         * buffer.C: fix broken strerrors according to Lars
7506
7507 2003-03-29  John Levon  <levon@movementarian.org>
7508
7509         * converters.C: more Alert cleanups
7510
7511 2003-03-29  John Levon  <levon@movementarian.org>
7512
7513         * bufferview_funcs.C: remove pointless Alert
7514
7515         * buffer.C: fix confusing error message when
7516         a template is chmoded 000
7517
7518 2003-03-29  John Levon  <levon@movementarian.org>
7519
7520         * BufferView.C:
7521         * BufferView.h:
7522         * BufferView_pimpl.C: Alert fixes
7523
7524         * Makefile.am:
7525         * tabular.C:
7526         * tabular-old.C: remove unused table compat reading
7527
7528 2003-03-29  John Levon  <levon@movementarian.org>
7529
7530         * BufferView.C:
7531         * buffer.C:
7532         * lyx_cb.h:
7533         * lyx_cb.C: more Alert cleanups
7534
7535         * lyxfunc.C: don't allow chktex if not latex document
7536
7537 2003-03-29  John Levon  <levon@movementarian.org>
7538
7539         * lyx_cb.C:
7540         * BufferView.C:
7541         * buffer.C: warnings pushed down from support/,
7542         kill err_alert
7543
7544 2003-03-29  John Levon  <levon@movementarian.org>
7545
7546         * lyxfunc.C: safety check for C-r (revert)
7547
7548 2003-03-29  John Levon  <levon@movementarian.org>
7549
7550         * bufferlist.h:
7551         * bufferlist.C: several UI fixes using Alert::prompt.
7552         Fix the pointless looping quit code. Fix stupid revert
7553         behaviour (bug 938)
7554
7555         * lyxvc.h:
7556         * lyxvc.C:
7557         * lyx_cb.C: use Alert::prompt
7558
7559         * lyx_main.C: remove a silly question
7560
7561         * lyxfunc.C: remove a couple of silly questions,
7562         use Alert::prompt
7563
7564 2003-03-28  John Levon  <levon@movementarian.org>
7565
7566         * text2.C: fix bug 974 (End on empty par)
7567
7568 2003-03-28  John Levon  <levon@movementarian.org>
7569
7570         * BufferView_pimpl.C:
7571         * LyXAction.C:
7572         * lfuns.h: remove do-nothing math greek lfuns
7573
7574 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7575
7576         * lyxgluelength.h (isValidGlueLength): add default arg on
7577         parameter 2. Remove default arg from friend in class.
7578
7579         * lyxlength.h (isValidLength): add default arg on parameter 2.
7580         Remove default arg from friend in class.
7581
7582         * text2.C (LyXText): adjust, initialize refresh_row.
7583         (init): adjust
7584         (removeRow): adjust
7585         (insertRow): adjust
7586         (insertParagraph): adjst
7587         (redoParagraphs): adjust
7588         (fullRebreak): adjust
7589         (updateCounters): adjust
7590         (deleteEmptyParagraphMechanism): first attempt at fixing a
7591         crashing bug.
7592
7593         * text.C (top_y): adjust
7594         (setHeightOfRow): adjust
7595         (getRow): adjust
7596         (getRowNearY): adjust
7597
7598         * lyxtext.h: include RowList.h
7599         (~LyXText): not needed anymore, deleted.
7600         (firstRow): modify for RowList
7601         (lastRow): new function
7602         Delete firstrow and lastrow class variables, add a Rowlist
7603         rowlist_ class variable.
7604
7605         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7606         paragraph is empty.
7607
7608         * RowList.C (insert): fix case where it == begin().
7609
7610 2003-03-26  Angus Leeming  <leeming@lyx.org>
7611
7612         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7613         the thesaurus dialog.
7614
7615 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7618
7619         * RowList.[Ch]: new files
7620
7621         * ParagraphList.C (erase): handle the case where it == begin
7622         correctly.
7623
7624 2003-03-25  John Levon  <levon@movementarian.org>
7625
7626         * Makefile.am:
7627         * aspell_local.h:
7628         * aspell.C: add new aspell support
7629
7630         * lyxrc.h:
7631         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7632         have it accessible.
7633
7634 2003-03-25  Angus Leeming  <leeming@lyx.org>
7635
7636         * lfuns.h:
7637         * LyXAction.C (init): new LFUN_INSET_INSERT.
7638
7639         * BufferView_pimpl.C (dispatch): split out part of the
7640         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7641
7642         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7643         LFUN_INSET_APPLY.
7644
7645 2003-03-25  Angus Leeming  <leeming@lyx.org>
7646
7647         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7648
7649 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7650
7651         * text2.C:
7652         * text3.C: remove useless row->height(0)
7653
7654 2003-03-25  John Levon  <levon@movementarian.org>
7655
7656         * lyxtext.h:
7657         * text2.C:
7658         * text3.C: rename the refreshing stuff to better names
7659
7660 2003-03-24  John Levon  <levon@movementarian.org>
7661
7662         * BufferView_pimpl.h:
7663         * BufferView_pimpl.C: update layout choice on a mouse
7664         press/release
7665
7666 2003-03-23  John Levon  <levon@movementarian.org>
7667
7668         * Makefile.am: fix commandtags.h reference
7669
7670 2003-03-22  John Levon  <levon@movementarian.org>
7671
7672         * BufferView_pimpl.C:
7673         * lyxtext.h:
7674         * rowpainter.C:
7675         * rowpainter.h:
7676         * text.C:
7677         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7678
7679 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7680
7681         * lyxtext.h:
7682         * text.C: take the rtl methods out of line
7683
7684 2003-03-21 André Pönitz <poenitz@gmx.net>
7685
7686         * metricsinfo.[Ch]: new files containing structures to be passed around
7687         during the two-phase-drawing...
7688
7689 2003-03-21 André Pönitz <poenitz@gmx.net>
7690
7691         * lyxtextclass.C: read 'environment' tag.
7692
7693 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7694
7695         * text2.C (removeRow): fix bug 964
7696
7697 2003-03-20  John Levon  <levon@movementarian.org>
7698
7699         * rowpainter.C:
7700         * text.C:
7701         * text2.C: paint cleanups. Inset::update() dropped font
7702         parameter
7703
7704 2003-03-19  John Levon  <levon@movementarian.org>
7705
7706         * lyxfunc.C: only fitcursor/markDirty if available()
7707
7708 2003-03-19  John Levon  <levon@movementarian.org>
7709
7710         * commandtags.h: rename to ...
7711
7712         * lfuns.h: ... this, and renumber / cleanup
7713
7714 2003-03-19  John Levon  <levon@movementarian.org>
7715
7716         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7717         fit the cursor after an lfun
7718
7719         * BufferView.h:
7720         * BufferView.C:
7721         * BufferView_pimpl.h:
7722         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7723
7724         * LyXAction.C: layout-character should have ReadOnly
7725
7726         * ParagraphParameters.C:
7727         * buffer.C:
7728         * bufferview_funcs.C:
7729         * lyx_cb.C:
7730         * lyxfind.C:
7731         * lyxtext.h:
7732         * text.C:
7733         * text2.C:
7734         * text3.C:
7735         * undo_funcs.C: changes from above
7736
7737 2003-03-18  John Levon  <levon@movementarian.org>
7738
7739         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7740         remove it from update()
7741
7742         * lyxfunc.C: update layout choice after an lfun
7743
7744         * text3.C: remove extra updateLayoutChoice()s
7745
7746 2003-03-18  John Levon  <levon@movementarian.org>
7747
7748         * text.C: top_y change means full repaint, fix
7749         a drawing bug with cursor movement
7750
7751 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7752
7753         * lyxtext.h:
7754         * text.C:
7755         * text2.C: anchor row on setCursor
7756
7757 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7758
7759         * lyxtext.h: remove almost all mutable keywords
7760         * text.C:
7761         * text2.C:
7762         * text3.C: remove const keywords accordingly
7763
7764 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7767         anon namespace
7768         (TeXEnvironment): ditto
7769         (TeXOnePar): ditto
7770
7771 2003-03-17  John Levon  <levon@movementarian.org>
7772
7773         * text.C (rowBreakPoint): remove attempt to fix displayed
7774         math insets inside a manual label
7775
7776 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * lyxtext.h: remove BufferView* as first arg from almost all class
7779         functions.
7780         * other files: adjust.
7781
7782 2003-03-17  John Levon  <levon@movementarian.org>
7783
7784         * lyxtext.h:
7785         * undo_funcs.C:
7786         * text2.C: more paint cleanups
7787
7788         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7789
7790         * rowpainter.h:
7791         * rowpainter.C: remove "smart" background painting code
7792
7793 2003-03-16  John Levon  <levon@movementarian.org>
7794
7795         * lyxtext.h:
7796         * text.C:
7797         * text2.C:
7798         * text3.C: add helper functions for setting refresh_row/y
7799
7800 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7801
7802         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7803         newline inset which *can* get inserted in the pass_thru layouts.
7804         This is primarily for literate documents.
7805
7806 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7807
7808         * buffer.C: increment LYX_FORMAT to 223
7809
7810 2003-03-14 André Pönitz <poenitz@gmx.net>
7811
7812         * textclass.h: prepare for environment handling, ws changes
7813         * lyxlayout.C: read latexheader and latexfooter tags
7814
7815 2003-03-14  John Levon  <levon@movementarian.org>
7816
7817         * text2.C: rewrite ::status() a bit
7818
7819 2003-03-13  John Levon  <levon@movementarian.org>
7820
7821         * lyxtext.h: add some docs
7822
7823 2003-03-13  John Levon  <levon@movementarian.org>
7824
7825         * lyxtext.h:
7826         * text.C:
7827         * text2.C:
7828         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7829
7830 2003-03-13  John Levon  <levon@movementarian.org>
7831
7832         * text3.C: fix appendix redrawing
7833
7834 2003-03-13  John Levon  <levon@movementarian.org>
7835
7836         * text.C (setHeightOfRow):
7837         * rowpainter.h:
7838         * rowpainter.C: make appendix mark have the text
7839           "Appendix" so the user knows what it is
7840
7841         * LColor.h:
7842         * LColor.C: s/appendixline/appendix/ from above
7843
7844 2003-03-13  John Levon  <levon@movementarian.org>
7845
7846         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7847
7848         * text.C: fix a getChar(pos) bug properly
7849
7850 2003-03-13  Angus Leeming  <leeming@lyx.org>
7851
7852         * commandtags.h:
7853         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7854         Probably only temporary. Let's see how things pan out.
7855
7856         * BufferView.C (unlockInset):
7857         * BufferView_pimpl.C (fitCursor):
7858         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7859
7860         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7861         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7862
7863         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7864         new functions that convert ParagraphParameters to and from a string.
7865
7866         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7867         BufferView::Pimpl's dispatch.
7868         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7869
7870 2003-03-13 André Pönitz <poenitz@gmx.net>
7871
7872         * lyxfunc.C:
7873         * text3.C:
7874         * factory.C: make it aware of InsetEnv
7875
7876 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7877
7878         * text2.C (setCursor): never ask for one past last
7879         (setCursor): add some debugging messages.
7880
7881         * text.C (singleWidth): never ask for one past last
7882         (singleWidth): ditto
7883         (leftMargin): ditto
7884         (rightMargin): ditto
7885         (rowBreakPoint): ditto
7886         (setHeightOfRow): ditto
7887         (prepareToPrint): ditto
7888
7889         * rowpainter.C (paintBackground): never ask for one past last
7890         (paintText): never ask for one past last
7891
7892         * paragraph_pimpl.C (getChar): make the assert stricter, never
7893         allow the one past last pos to be taken
7894
7895         * paragraph.C (getChar): ws changes only
7896
7897         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7898         (numberOfSeparators): ditto
7899         (numberOfHfills): ditto
7900
7901 2003-03-12  John Levon  <levon@movementarian.org>
7902
7903         * author.h:
7904         * author.C:
7905         * bufferparams.h:
7906         * bufferparams.C:
7907         * paragraph_funcs.C: fix per-buffer authorlists
7908
7909 2003-03-12  John Levon  <levon@movementarian.org>
7910
7911         * text.C: fix newline in right address
7912
7913 2003-03-12  Angus Leeming  <leeming@lyx.org>
7914
7915         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7916         duplicate those in LyXFunc::dispatch.
7917
7918         * commandtags.h:
7919         * LyXAction.C:
7920         * ToolbarDefaults.C:
7921         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7922         Add LFUN_FONTFREE_UPDATE.
7923
7924         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7925         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7926
7927         * bufferview_func.[Ch]: several new functions to facilliate
7928         transfer of data to and from the character dialog.
7929
7930 2003-03-12  John Levon  <levon@movementarian.org>
7931
7932         * buffer.C:
7933         * paragraph.h:
7934         * paragraph.C:
7935         * paragraph_funcs.C:
7936         * paragraph_pimpl.C:
7937         * sgml.C:
7938         * tabular.C:
7939         * text.C:
7940         * text3.C: remove META_NEWLINE in favour of an inset
7941
7942         * rowpainter.h:
7943         * rowpainter.C: remove paintNewline (done by inset)
7944
7945 2003-03-12  John Levon  <levon@movementarian.org>
7946
7947         * paragraph_pimpl.C: complain about bad getChar()s
7948         for a while at least
7949
7950 2003-03-12  John Levon  <levon@movementarian.org>
7951
7952         * buffer.h:
7953         * buffer.C: move paragraph read into a separate function,
7954         a little renaming to reflect that.
7955
7956         * bufferparams.h:
7957         * bufferparams.C: remove the author_ids map, not necessary now
7958
7959         * factory.h:
7960         * factory.C: moved Buffer::readInset to here
7961
7962         * paragraph_funcs.h:
7963         * paragraph_funcs.C: readParagraph free function moved from
7964         buffer.C
7965
7966         * tabular.C: name change
7967
7968 2003-03-12  John Levon  <levon@movementarian.org>
7969
7970         * buffer.C:
7971         * ParagraphParameters.C: move par params input to
7972         a read() method
7973
7974         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7975         behave like a normal read from the stream wrt reading
7976         a line vs. a \\token
7977
7978 2003-03-12  John Levon  <levon@movementarian.org>
7979
7980         * paragraph.C:
7981         * ParagraphParameters.h:
7982         * ParagraphParameters.C: move output code to a
7983         ::write() method
7984
7985 2003-03-12  John Levon  <levon@movementarian.org>
7986
7987         * BufferView.C (insertLyXFile):
7988         * buffer.h:
7989         * buffer.C:
7990         * tabular.C: use a parlist iterator for creating the
7991           document.
7992
7993 2003-03-12  John Levon  <levon@movementarian.org>
7994
7995         * buffer.C: make current_change static local not
7996           static file-scope
7997
7998 2003-03-12  John Levon  <levon@movementarian.org>
7999
8000         * buffer.C: fix insertStringAsLines for change tracking
8001
8002 2003-03-12  John Levon  <levon@movementarian.org>
8003
8004         * BufferView.C:
8005         * tabular.C:
8006         * buffer.h:
8007         * buffer.C:
8008         * bufferparams.h:
8009         * bufferparams.C: move author list into params. Rename some
8010           functions. Move the header reading into a separate token
8011           loop. Move the header token reading into BufferParams.
8012
8013 2003-03-12  John Levon  <levon@movementarian.org>
8014
8015         * changes.C: put debug inside lyxerr.debugging() checks
8016
8017 2003-03-11 André Pönitz <poenitz@gmx.net>
8018
8019         * factory.C: make it aware of InsetHFill
8020
8021 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8022
8023         * buffer.C (latexParagraphs): move function from here...
8024         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8025         args.
8026
8027 2003-03-10  Angus Leeming  <leeming@lyx.org>
8028
8029         * LyXAction.C (init): fix bug in poplating array with multiple entries
8030         with the same LFUN (spotted by JMarc).
8031
8032 2003-03-10  John Levon  <levon@movementarian.org>
8033
8034         * text.C:
8035         * text2.C: move getColumnNearX() near its
8036         only call site
8037
8038 2003-03-10  John Levon  <levon@movementarian.org>
8039
8040         * text.C: fix break before a minipage
8041
8042 2003-03-10  John Levon  <levon@movementarian.org>
8043
8044         * text.C: fix the last commit
8045
8046 2003-03-09  John Levon  <levon@movementarian.org>
8047
8048         * lyxtext.h:
8049         * text.C:
8050         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8051         bug 365 (don't break before insets unless needed). Don't
8052         return a value > last under any circumstances.
8053
8054 2003-03-09  Angus Leeming  <leeming@lyx.org>
8055
8056         * BufferView_pimpl.C (trackChanges, dispatch): call
8057         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8058
8059 2003-03-09  Angus Leeming  <leeming@lyx.org>
8060
8061         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8062         than Dialogs::showAboutlyx().
8063
8064 2003-03-09  Angus Leeming  <leeming@lyx.org>
8065
8066         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8067         than Dialogs::showTabularCreate().
8068
8069 2003-03-09  John Levon  <levon@movementarian.org>
8070
8071         * lyxtext.h:
8072         * text.C:
8073         * text2.C: 3rd arg to nextBreakPoint was always the same.
8074           Use references.
8075
8076 2003-03-08  John Levon  <levon@movementarian.org>
8077
8078         * lyxrow.C:
8079         * paragraph.C:
8080         * paragraph.h:
8081         * rowpainter.C:
8082         * text.C:
8083         * text2.C: Remove the "main" bit from the "main body"
8084           notion.
8085
8086 2003-03-08  John Levon  <levon@movementarian.org>
8087
8088         * text.C (leftMargin): The left margin of an empty
8089         manual label paragraph should not include the label width
8090         string length.
8091
8092         * text.C (prepareToPrint): don't attempt to measure hfills
8093         for empty manual label paragraphs - the answer should be 0
8094
8095 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8096
8097         * CutAndPaste.C: remove commented code and reindent.
8098
8099 2003-03-08  John Levon  <levon@movementarian.org>
8100
8101         * lyxfunc.h:
8102         * lyxfunc.C: move reloadBuffer()
8103
8104         * BufferView.h:
8105         * BufferView.C: to here
8106
8107         * lyxvc.C: add comment
8108
8109         * vc-backend.h:
8110         * vc-backend.C: call bv->reload() to avoid
8111           getStatus() check on MENURELOAD
8112
8113 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8114
8115         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8116         to an old format .dep file.
8117
8118 2003-03-07  Angus Leeming  <leeming@lyx.org>
8119
8120         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8121         when the LFUN_MOUSE_RELEASE should have been handled by
8122         inset->localDispatch.
8123
8124 2003-03-07  Angus Leeming  <leeming@lyx.org>
8125
8126         * BufferView_pimpl.C (dispatch):
8127         * LyXAction.C (init):
8128         * ToolbarDefaults.C (init):
8129         * commandtags.h:
8130         * lyxfunc.C (getStatus):
8131         remove LFUN_INSET_GRAPHICS.
8132
8133         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8134
8135 2003-03-07  Angus Leeming  <leeming@lyx.org>
8136
8137         * commandtags.h:
8138         * LyXAction.C (init):
8139         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8140
8141         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8142
8143         * commandtags.h:
8144         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8145
8146         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8147         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8148
8149 2003-03-07  Angus Leeming  <leeming@lyx.org>
8150
8151         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8152         remove "ert".
8153
8154 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * ParagraphList.C (front): new function
8157         (back): implement
8158
8159 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8160
8161         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8162         and top_row_offset_. removed var first_y.
8163         * text.C (top_y):
8164         * text2.C (LyXText, removeRow):
8165         * text3.C:
8166         * BufferView_pimpl.C:
8167         use these methods instead of using first_y
8168
8169 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8170
8171         * text2.C (pasteSelection): adjust for checkPastePossible
8172
8173         * CutAndPaste.C: remove Paragraph * buf and replace with
8174         ParagraphList paragraphs.
8175         (DeleteBuffer): delete
8176         (cutSelection): change the tc type to textclass_type
8177         (copySelection): change the tc type to textclass_type
8178         (copySelection): adjust for ParagraphList
8179         (pasteSelection): change the tc type to textclass_type
8180         (pasteSelection): adjust for Paragraphlist
8181         (nrOfParagraphs): simplify for ParagraphList
8182         (checkPastePossible): simplify for ParagraphList
8183         (checkPastePossible): remove unused arg
8184
8185         * ParagraphList.C (insert): handle the case where there are no
8186         paragraphs yet.
8187
8188         * CutAndPaste.h: make CutAndPaste a namespace.
8189
8190         * text3.C (dispatch): adjust
8191
8192         * text.C (breakParagraph): add a ParagraphList as arg
8193
8194         * paragraph_funcs.C (breakParagraph): change to take a
8195         BufferParams and a ParagraphList as args.
8196         (breakParagraphConservative): ditto
8197         (mergeParagraph): ditto
8198         (TeXDeeper): add a ParagraphList arg
8199         (TeXEnvironment): ditto
8200         (TeXOnePar): ditto
8201
8202         * buffer.C (readLyXformat2): adjust
8203         (insertStringAsLines): adjust
8204         (latexParagraphs): adjust
8205
8206         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8207         (cutSelection): adjust
8208         (pasteSelection): adjust
8209
8210         * BufferView_pimpl.C (insertInset): adjust
8211
8212 2003-03-05  Angus Leeming  <leeming@lyx.org>
8213
8214         * commandtags.h:
8215         * LyXAction.C (init):
8216         * BufferView_pimpl.C (dispatch):
8217         * lyxfunc.C (getStatus):
8218         remove LFUN_CHILD_INSERT.
8219
8220         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8221
8222 2003-03-05  Angus Leeming  <leeming@lyx.org>
8223
8224         * commandtags.h:
8225         * LyXAction.C (init):
8226         * src/factory.C (createInset):
8227         * lyxfunc.C (getStatus):
8228         * text3.C (dispatch):
8229         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8230
8231         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8232
8233 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * ParagraphList.C (insert): handle insert right before end()
8236         (erase): fix cases where it can be first or last paragraph.
8237
8238 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8241         Paragraph::next and Paragraph::previous
8242         (TeXOnePar): ditto
8243
8244         * text.C (breakParagraph): adjust
8245
8246         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8247         BufferParams& as arg.
8248         (breakParagraph): use ParagraphList::insert
8249         (breakParagraphConservative): take a Buffer* instead of a
8250         BufferParams& as arg.
8251         (breakParagraphConservative): use ParagraphList::insert.
8252
8253         * buffer.C (insertStringAsLines): un-const it
8254         (insertStringAsLines): adjust
8255
8256         * ParagraphList.C (insert): new function
8257
8258         * CutAndPaste.C (pasteSelection): adjust
8259
8260         * text.C (backspace): adjust
8261
8262         * tabular.C (SetMultiColumn): adjust
8263
8264         * CutAndPaste.C (cutSelection): adjust
8265         (pasteSelection): adjust
8266
8267         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8268         Buffer const * as arg
8269
8270         * ParagraphList.C (erase): new function
8271         * paragraph_funcs.C (mergeParagraph): use it
8272         (mergeParagraph): make it take a Buffer* instead of a
8273         BufferParams* as arg
8274
8275         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8276         as arg
8277         (breakParagraphConservative): ditto
8278
8279         * paragraph.h: remove the breakParagraph friend
8280
8281         * paragraph.C (eraseIntern): new function
8282         (setChange): new function
8283
8284         * paragraph_funcs.C (mergeParagraph): make it take a
8285         ParagraphList::iterator instead of a Paragraph *, adjust
8286         accordingly.
8287
8288         * paragraph.h: move an #endif so that the change tracking stuff
8289         also works in the NO_NEXT case.
8290
8291 2003-03-04  Angus Leeming  <leeming@lyx.org>
8292
8293         * commandtags.h:
8294         * LyXAction.C: new LFUN_INSET_MODIFY.
8295
8296         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8297         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8298
8299 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8300
8301         * several files: ws changes only
8302
8303         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8304         (TeXEnvironment): ditto
8305         (TeXDeeper): ditto
8306
8307         * buffer.C (makeLaTeXFile): adjust
8308         (latexParagraphs): make it take ParagraphList::iterator as args
8309
8310 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8311
8312         * buffer.C (latexParagraphs): adjust
8313
8314         * paragraph.C (TeXOnePar): move function...
8315         (optArgInset): move function...
8316         (TeXEnvironment): move function...
8317         * paragraph_pimpl.C (TeXDeeper): move function...
8318         * paragraph_funcs.C: ...here
8319
8320         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8321
8322 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8323
8324         * buffer.C (readInset): remove compability code for old Figure and
8325         InsetInfo insets
8326
8327 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8328
8329         * buffer.C: ws changes
8330         (readInset):
8331
8332         * BufferView_pimpl.C: ditto
8333         * author.C: ditto
8334         * buffer.h: ditto
8335         * bufferlist.h: ditto
8336         * changes.h: ditto
8337         * lyxfunc.C: ditto
8338
8339 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8340
8341         * converter.[Ch]: split into itself +
8342         * graph.[Ch]
8343         * format.[Ch]
8344         * Makefile.am: += graph.[Ch] + format.[Ch]
8345         * MenuBackend.C
8346         * buffer.C
8347         * exporter.C
8348         * importer.C
8349         * lyx_main.C
8350         * lyxfunc.C
8351         * lyxrc.C: added #include "format.h"
8352
8353 2003-02-27  Angus Leeming  <leeming@lyx.org>
8354
8355         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8356           a label.
8357
8358         * factory.C (createInset): add "label" to the factory.
8359
8360         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8361           string and do no more.
8362
8363 2003-02-27  Angus Leeming  <leeming@lyx.org>
8364
8365         * commandtags.h:
8366         * LyXAction.C (init):
8367         * factory.C (createInset):
8368         * BufferView_pimpl.C (dispatch):
8369           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8370
8371         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8372
8373         * lyxfunc.C (dispatch):
8374         * text3.C (dispatch): pass name to params2string.
8375
8376 2003-02-26  Angus Leeming  <leeming@lyx.org>
8377
8378         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8379           blocks together.
8380           Rearrange the ~includes. Strip out the unnecessary ones.
8381
8382         * factory.C (createInset): reformat.
8383           create new insets for the various LFUN_XYZ_APPLY lfuns.
8384
8385 2003-02-26  John Levon  <levon@movementarian.org>
8386
8387         * lyxrow.h:
8388         * lyxrow.C: add isParStart,isParEnd helpers
8389
8390         * paragraph.h: make isInserted/DeletedText take refs
8391
8392         * paragraph_funcs.h:
8393         * paragraph_funcs.C: remove #if 0'd code
8394
8395         * lyxtext.h:
8396         * text3.C:
8397         * text2.C:
8398         * text.C: use lyxrow helpers above.
8399           Move draw and paint routines to RowPainter.
8400           Make several methods use refs not pointers.
8401           Make backgroundColor() const.
8402           Add markChangeInDraw(), isInInset().
8403           Merge changeRegionCase into changeCase.
8404           Make workWidth() shouldn't-happen code into an Assert.
8405
8406         * rowpainter.h:
8407         * rowpainter.C: new class for painting a row.
8408
8409         * vspace.h:
8410         * vspace.C: make inPixels take a ref
8411
8412 2003-02-26  Angus Leeming  <leeming@lyx.org>
8413
8414         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8415         LFUN_REF_APPLY.
8416
8417 2003-02-25  John Levon  <levon@movementarian.org>
8418
8419         * ispell.C: give the forked command a more accurate name
8420
8421 2003-02-22  John Levon  <levon@movementarian.org>
8422
8423         * toc.h:
8424         * toc.C: make TocItem store an id not a Paragraph *
8425           (bug #913)
8426
8427 2003-02-21  Angus Leeming  <leeming@lyx.org>
8428
8429         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8430           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8431           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8432           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8433           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8434           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8435
8436         * BufferView_pimpl.C (dispatch):
8437         * LyXAction.C (init):
8438         * factory.C (createInset):
8439         * lyxfunc.C (getStatus, dispatch):
8440         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8441
8442 2003-02-21  Angus Leeming  <leeming@lyx.org>
8443
8444         * BufferView_pimpl.C (MenuInsertLyXFile):
8445         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8446         * lyxfunc.C (menuNew, open, doImport):
8447           no longer pass a LyXView & to fileDlg.
8448
8449 2003-02-21  Angus Leeming  <leeming@lyx.org>
8450
8451         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8452         * LyXAction.C: change, BIBKEY to BIBITEM.
8453         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8454         Change InsetBibKey to InsetBibitem.
8455         Change BIBKEY_CODE to BIBITEM_CODE.
8456         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8457         * factory.C: replace insetbib.h with insetbibitem.h.
8458         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8459         * paragraph.C: replace insetbib.h with insetbibitem.h.
8460         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8461         Change bibkey() to bibitem().
8462         * text.C: remove insetbib.h.
8463         * text2.C: replace insetbib.h with insetbibitem.h.
8464         change bibkey() to bibitem().
8465         * text3.C: remove insetbib.h.
8466         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8467
8468 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8469
8470         * lyxrc.C (output): enclose user email in quotes (in case there are
8471         several words)
8472
8473 2003-02-18  John Levon  <levon@movementarian.org>
8474
8475         * buffer.h: add std::
8476
8477 2003-02-17  John Levon  <levon@movementarian.org>
8478
8479         * SpellBase.h:
8480         * ispell.h:
8481         * ispell.C:
8482         * pspell.h:
8483         * pspell.C: reworking. Especially in ispell, a large
8484           number of clean ups and bug fixes.
8485
8486         * lyxfunc.C: fix revert to behave sensibly
8487
8488 2003-02-17 André Pönitz <poenitz@gmx.net>
8489
8490         * LyXAction.C:
8491         * commandtags.h: new LFUN_INSERT_BIBKEY
8492
8493         * layout.h:
8494         * lyxlayout.C:
8495         * buffer.C:
8496         * factory.C:
8497         * text.C:
8498         * text2.C:
8499         * text3.C:
8500         * paragraph.[Ch]:
8501         * paragraph_func.C: remove special bibkey handling
8502
8503 2003-02-17  John Levon  <levon@movementarian.org>
8504
8505         * text.C (Delete): fix case where delete at the end of
8506           the very first paragraph would not merge the pars
8507
8508 2003-02-17  John Levon  <levon@movementarian.org>
8509
8510         * lyxrow.C: fix lastPrintablePos()
8511
8512 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8513
8514         * bufferparams.C (writeLaTeX): add a std:here
8515
8516         * buffer.C: and remove a using directive there
8517
8518 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8519
8520         * buffer.C (makeLaTeXFile): move the code that generates the
8521           preamble...
8522
8523         * bufferparams.C (writeLaTeX): ... in this new method
8524
8525         * LaTeXFeatures.C (getEncodingSet): make const
8526           (getLanguages): make const
8527
8528         * MenuBackend.C (binding): returns the binding associated to this
8529           action
8530           (add): sets the status of each item by calling getStatus. Adds
8531           some intelligence.
8532           (read): add support for OptSubMenu
8533           (expand): remove extra separator at the end of expanded menu
8534
8535 2003-02-15  John Levon  <levon@movementarian.org>
8536
8537         * BufferView.C:
8538         * BufferView_pimpl.C:
8539         * bufferlist.h:
8540         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8541           inset code that had no actual effect. Remove unneeded status
8542           code.
8543
8544 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8545
8546         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8547           in preamble
8548
8549 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8550
8551         * text.C (drawLengthMarker): also draw an arrow marker for
8552           symbolic lengths (medskip...)
8553
8554 2003-02-14  John Levon  <levon@movementarian.org>
8555
8556         * tabular.h:
8557         * tabular.C: better method names
8558
8559 2003-02-14  John Levon  <levon@movementarian.org>
8560
8561         * BufferView_pimpl.C:
8562         * bufferlist.C:
8563         * buffer.C:
8564         * converter.C:
8565         * lyx_cb.C:
8566         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8567           it's a more accurate name. Remove some pointless uses.
8568
8569 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8570
8571         * text2.C (LyXText): change order of initilizers to shut off
8572           warnings
8573
8574 2003-02-14  John Levon  <levon@movementarian.org>
8575
8576         * buffer.C: use ParIterator for getParFromID()
8577
8578         * paragraph.h:
8579         * paragraph.C:
8580         * paragraph_pimpl.h:
8581         * paragraph_pimpl.C: remove unused getParFromID()
8582
8583 2003-02-14  John Levon  <levon@movementarian.org>
8584
8585         * buffer.C: remove some very old #if 0'd parse code
8586
8587 2003-02-13  John Levon  <levon@movementarian.org>
8588
8589         * text.h:
8590         * text.C:
8591         * text2.C: move hfillExpansion(), numberOfSeparators(),
8592           rowLast(), rowLastPrintable(), numberofHfills(),
8593           numberOfLabelHfills() ...
8594
8595         * lyxrow.h:
8596         * lyxrow.C: ... to member functions here.
8597
8598         * paragraph.h:
8599         * paragraph.C:
8600         * lyxtext.h:
8601         * text.C: remove LyXText::beginningOfMainBody(), and call
8602           p->beginningOfMainBody() directly. Move the check for
8603           LABEL_MANUAL into the latter.
8604
8605         * text.h:
8606         * text.C:
8607         * text2.C:
8608         * vspace.C:
8609         * BufferView.h:
8610         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8611
8612         * text.h:
8613         * text.C:
8614         * text2.C:
8615         * text3.C:
8616         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8617           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8618
8619 2003-02-13  John Levon  <levon@movementarian.org>
8620
8621         * CutAndPaste.C: remove debug
8622
8623 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8624
8625         * paragraph.C (asString): remove two unused variables
8626
8627         * lyxtextclass.C (readTitleType):
8628           (Read):
8629           (LyXTextClass): handle new members titletype_ and titlename_
8630
8631         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8632
8633 2003-02-09  John Levon  <levon@movementarian.org>
8634
8635         * buffer.h:
8636         * buffer.C: replace hand-coded list with a map for the dep clean
8637
8638 2003-02-08  John Levon  <levon@movementarian.org>
8639
8640         * LaTeX.C: consolidate code into showRunMessage() helper
8641
8642 2003-02-08  John Levon  <levon@movementarian.org>
8643
8644         * lyxfind.C:
8645         * lyxtext.h:
8646         * text2.C:
8647         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8648           and pass the size in explicitly
8649
8650         * BufferView_pimpl.h:
8651         * BufferView_pimpl.C:
8652         * BufferView.h:
8653         * BufferView.C: add getCurrentChange()
8654
8655         * BufferView_pimpl.h:
8656         * BufferView_pimpl.C: handle change lfuns
8657
8658         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8659           for changes. Mark pasted paragraphs as new.
8660
8661         * support/lyxtime.h:
8662         * support/lyxtime.C:
8663         * DepTable.C: abstract time_t as lyx::time_type
8664
8665         * LColor.h:
8666         * LColor.C: add colours for new text, deleted text, changebars
8667
8668         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8669           package use "usenames" option.
8670
8671         * commandtags.h:
8672         * lyxfunc.C:
8673         * LyXAction.C: add change lfuns
8674
8675         * Makefile.am:
8676         * author.h:
8677         * author.C: author handling
8678
8679         * buffer.h:
8680         * buffer.C: add a per-buffer author list, with first entry as
8681           current author. Handle new .lyx tokens for change tracking. Output
8682           author list to .lyx file. Output dvipost stuff to .tex preamble.
8683           Bump lyx format to 222.
8684
8685         * bufferlist.h:
8686         * bufferlist.C: add setCurrentAuthor() to reset current author details
8687           in all buffers.
8688
8689         * bufferparams.h:
8690         * bufferparams.C: add param for tracking
8691
8692         * bufferview_funcs.C: output change info in minibuffer
8693
8694         * Makefile.am:
8695         * changes.h:
8696         * changes.C: add change-tracking structure
8697
8698         * debug.h:
8699         * debug.C: add CHANGES debug flag
8700
8701         * lyxfind.h:
8702         * lyxfind.C: add code for finding the next change piece
8703
8704         * lyxrc.h:
8705         * lyxrc.C: add user_name and user_email
8706
8707         * lyxrow.h:
8708         * lyxrow.C: add a metric for the top of the text line
8709
8710         * lyxtext.h:
8711         * text.C: implement accept/rejectChange()
8712
8713         * lyxtext.h:
8714         * text.C: paint changebars. Paint new/deleted text in the chosen
8715         colours. Strike through deleted text.
8716
8717         * paragraph.h:
8718         * paragraph.C:
8719         * paragraph_pimpl.h:
8720         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8721           in the current change to the insert functions. Rework erase to
8722           mark text as deleted, adding an eraseIntern() and a range-based
8723           erase(). Implement per-paragraph change lookup and
8724           accept/reject.
8725
8726         * paragraph_funcs.C: Fixup paste for change tracking.
8727
8728         * tabular.C: mark added row/columns as new.
8729
8730         * text.C: fix rowLast() to never return -1. Don't allow
8731           spellchecking of deleted text. Track transpose changes. Don't
8732           allow paragraph break or merge where appropriate.
8733
8734         * text2.C: leave cursor at end of selection after a cut.
8735
8736 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8737
8738         * text.C (getLengthMarkerHeight):
8739         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8740         visible on screen too.
8741
8742 2003-02-07  John Levon  <levon@movementarian.org>
8743
8744         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8745
8746 2003-02-05  Angus Leeming  <leeming@lyx.org>
8747
8748         * lyxserver.C (read_ready): revert my patch of 11 September last year
8749         as it sends PC cpu through the roof. Presumably this means that
8750         the lyxserver will no longer run on an Alpha...
8751
8752 2003-01-30  Angus Leeming  <leeming@lyx.org>
8753
8754         * factory.C (createInset): create an InsetCommandParam of type "index"
8755         and use it to 'do the right thing'.
8756
8757         * text2.C (getStringToIndex): ensure that cursor position is always
8758         reset to the reset_cursor position.
8759
8760 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8761
8762         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8763         disabled.
8764
8765 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8766
8767         * bufferview.C:
8768         * lyxcb.C:
8769         * lyxfunc.C: Output messages with identical spelling, punctuation,
8770         and spaces
8771
8772 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8773
8774         * MenuBackend.C (expandFormats): List only viewable export formats
8775         in "View" menu
8776
8777         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8778         message
8779
8780         * lyxfunc.C (getStatus): Make sure that formats other than
8781         "fax" can also be disabled
8782
8783 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8784
8785         * text3.C (dispatch): put the lfuns that insert insets in 3
8786         groups, and call doInsertInset with appropriate arguments.
8787         (doInsertInset): new function, that creates an inset and inserts
8788         it according to some boolean parameters.
8789
8790 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8791
8792         * buffer.C (readFile): remember to pass on 'par' when calling
8793         readFile recursively.
8794
8795 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8796
8797         * MenuBackend.C (expandFormats): add "..." to import formats.
8798
8799 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8800
8801         * paragraph.C (asString): Remove XForms RTL hacks.
8802
8803 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8804         * buffer.C: fix typo
8805
8806 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8807
8808         * Makefile.am (LIBS): delete var
8809         (lyx_LDADD): add @LIBS@ here instead.
8810
8811 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8812
8813         * Clarify the meaning of "wheel mouse jump"
8814
8815 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8816
8817         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8818         tabular in a float
8819
8820 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8821
8822         * importer.C (Loaders): do not preallocate 3 elements in the
8823         vector, since one ends up with 6 elements otherwise
8824
8825 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8826
8827         * DepTable.C (write): write the file name as last element of the
8828         .dep file (because it may contain spaces)
8829         (read): read info in the right order
8830
8831 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8832
8833         * paragraph_pimpl.C (simpleTeXBlanks):
8834         (simpleTeXSpecialChars):
8835         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8836
8837         * tabular.C (latex): add some missing case statements. Reindent.
8838
8839         * MenuBackend.C (expandToc): remove unused variable.
8840
8841 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8842
8843         * LColor.C:
8844         * LaTeX.C:
8845         * LyXAction.C:
8846         * MenuBackend.C:
8847         * buffer.C:
8848         * exporter.C:
8849         * lyxfunc.C:
8850         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8851         and the like.
8852
8853 2003-01-05  John Levon  <levon@movementarian.org>
8854
8855         * BufferView.h:
8856         * BufferView.C: add getEncoding()
8857
8858         * kbsequence.h:
8859         * kbsequence.C: do not store last keypress
8860
8861         * lyxfunc.h:
8862         * lyxfunc.C: store last keypress here instead. Pass encoding
8863           to getISOEncoded()
8864
8865 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8866
8867         * lyx_main.C (init): remove annoying error message when following
8868         symbolic links (bug #780)
8869
8870 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8871
8872         * text.C (insertChar):
8873         * lyxrc.C (getDescription): remove extra spaces
8874
8875 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8876
8877         * lyxrc.C (getDescription): remove extra spaces
8878
8879 2002-12-20  John Levon  <levon@movementarian.org>
8880
8881         * text3.C: hack fix for page up/down across tall rows
8882
8883 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8884
8885         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8886         not been invoked
8887
8888 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8889
8890         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8891         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8892         thesaurus is not compiled in
8893
8894 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8895
8896         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8897
8898 2002-12-16  Angus Leeming  <leeming@lyx.org>
8899
8900         * lyxrc.[Ch]:
8901         * lyx_main.C (init): remove override_x_deadkeys stuff.
8902
8903 2002-12-12  John Levon  <levon@movementarian.org>
8904
8905         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8906           insert. Only remove shift modifier under strict
8907           circumstances.
8908
8909 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8910
8911         * MenuBackend.C (expandToc): fix crash.
8912
8913 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8914
8915         * MenuBackend.C (expandToc): gettext on float names.
8916
8917 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8918
8919         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8920         implement bool empty() [bug 490]
8921
8922 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8923
8924         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8925
8926 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8927
8928         * several files: ws changes
8929
8930 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8931
8932         * text2.C (setCounter): clean up a bit, use boost.format.
8933         (updateCounters): initialize par upon declaration.
8934
8935         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8936         if the layout exists. We do not just store the layout any more.
8937         (SwitchLayoutsBetweenClasses): use boost.format
8938
8939 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8940
8941         * converter.C (convert): if from and to files are the same, use a
8942         temporary files as intermediary
8943
8944 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8945
8946         * commandtags.h:
8947         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8948
8949 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8950
8951         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8952
8953 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8954
8955         * tabular.C (asciiPrintCell): use string(size, char) instead of
8956         explicit loop.
8957
8958         * sgml.C (openTag): fix order of arguments to string constructor
8959         (closeTag): ditto
8960
8961         * lyxfunc.C (dispatch): use boost.format
8962
8963         * lots of files: change "c" -> 'c'
8964
8965 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8966
8967         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8968
8969 2002-11-25  Angus Leeming  <leeming@lyx.org>
8970
8971         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8972
8973         * lyx_main.C (init): compile fix.
8974
8975 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8976
8977         * lyx_cb.C (start): boost.formatify
8978         do not include <iostream>
8979
8980         * lengthcommon.C: ws only
8981
8982         * boost-inst.C,BoostFormat.h: add more explict instantations
8983
8984 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8985
8986         * lots of files: handle USE_BOOST_FORMAT
8987
8988 2002-11-21  John Levon  <levon@movementarian.org>
8989
8990         * pspell.C: fix compile
8991
8992 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8993
8994         * lyxfunc.C (dispatch): use boost::format
8995         (open): ditto
8996         (doImport): ditto
8997
8998         * lyxfont.C (stateText): use boost::format
8999
9000         * lyx_main.C (LyX): use boost::format
9001         (init): ditto
9002         (queryUserLyXDir): ditto
9003         (readRcFile): ditto
9004         (parse_dbg): ditto
9005         (typedef boost::function): use the recommened syntax.
9006
9007         * importer.C (Import): use boost::format
9008
9009         * debug.C (showLevel): use boost::format
9010
9011         * converter.C (view): use boost::format
9012         (convert): ditto
9013         (move): ditto
9014         (scanLog): ditto
9015
9016         * bufferview_funcs.C (currentState): use boost::format
9017
9018         * bufferlist.C (emergencyWrite): use boost::format
9019
9020         * buffer.C (readLyXformat2): use boost::format
9021         (parseSingleLyXformat2Token): ditto
9022
9023         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9024
9025         * LaTeX.C (run): use boost::format
9026
9027         * Chktex.C (scanLogFile): use boost::format
9028
9029         * BufferView_pimpl.C (savePosition): use boost::format
9030         (restorePosition): ditto
9031         (MenuInsertLyXFile): ditto
9032
9033         * BoostFormat.h: help file for explicit instation.
9034
9035 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9036
9037         * tabular.C (latex): Support for block alignment in fixed width
9038         columns.
9039
9040 2002-11-17  John Levon  <levon@movementarian.org>
9041
9042         * BufferView_pimpl.C:
9043         * lyx_cb.C:
9044         * lyxfunc.C: split filedialog into open/save
9045
9046 2002-11-08  Juergen Vigna  <jug@sad.it>
9047
9048         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9049         by my last patch (hopefully).
9050
9051 2002-11-08  John Levon  <levon@movementarian.org>
9052
9053         * iterators.h:
9054         * iterators.C:
9055         * buffer.h:
9056         * buffer.C:
9057         * paragraph.h:
9058         * paragraph.C:
9059         * toc.h:
9060         * toc.C: ParConstIterator, and use it (from Lars)
9061
9062 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9063
9064         * lyxtextclass.[Ch]: revise and add doxygen comments
9065
9066 2002-11-07  John Levon  <levon@movementarian.org>
9067
9068         * text.C: fix progress value for spellchecker
9069
9070         * toc.C: fix navigate menu for insetwrap inside minipage
9071
9072         * paragraph_funcs.C: added FIXME for suspect code
9073
9074 2002-11-07  John Levon  <levon@movementarian.org>
9075
9076         * BufferView_pimpl.C: fix redrawing of insets
9077           on buffer switch
9078
9079 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9080
9081         * text2.C (updateCounters): fix bug 668
9082
9083 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9084
9085         * text3.C (dispatch): Do not make the buffer dirty when moving the
9086         cursor.
9087
9088 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9089
9090         * vc-backend.C: STRCONV
9091         (scanMaster): ditto
9092
9093         * text2.C (setCounter): STRCONV
9094
9095         * paragraph.C (asString): STRCONV
9096
9097         * lyxlength.C (asString): STRCONV
9098         (asLatexString): ditto
9099
9100         * lyxgluelength.C (asString): STRCONV
9101         (asLatexString): ditto
9102
9103         * lyxfunc.C (dispatch): STRCONV
9104         (open): ditto
9105
9106         * lyxfont.C (stateText): STRCONV
9107
9108         * importer.C (Import): STRCONV
9109
9110         * counters.C (labelItem): STRCONV
9111         (numberLabel): ditto
9112         (numberLabel): remove unused ostringstream o
9113
9114         * chset.C: STRCONV
9115         (loadFile): ditto
9116
9117         * bufferview_funcs.C (currentState): STRCONV
9118
9119         * buffer.C (readFile): STRCONV
9120         (asciiParagraph): ditto
9121         (makeLaTeXFile): ditto
9122
9123         * Spacing.C (writeEnvirBegin): STRCONV
9124
9125         * LaTeXFeatures.C (getLanguages): STRCONV
9126         (getPackages): ditto
9127         (getMacros): ditto
9128         (getBabelOptions): ditto
9129         (getTClassPreamble): ditto
9130         (getLyXSGMLEntities): ditto
9131         (getIncludedFiles): ditto
9132
9133         * LaTeX.C: STRCONV
9134         (run): ditto
9135         (scanAuxFile): ditto
9136         (deplog): ditto
9137
9138         * LString.h: add the STRCONV macros
9139
9140         * BufferView_pimpl.C (savePosition): STRCONV
9141         (restorePosition): ditto
9142         (MenuInsertLyXFile): ditto
9143
9144         * vc-backend.C (scanMaster): change from submatch[...] to
9145         submatch.str(...)
9146
9147         * funcrequest.C: include config.h
9148
9149         * factory.C: include config.h
9150
9151         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9152
9153         * box.C: include config.h
9154
9155         * LaTeX.C (scanAuxFile): change from submatch[...] to
9156         submatch.str(...)
9157         (deplog): ditto
9158
9159 2002-10-25  Angus Leeming  <leeming@lyx.org>
9160
9161         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9162
9163         * ispell.[Ch] (setError): new method.
9164         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9165         Use setError() insetead of goto END.
9166
9167         * lyx_cb.C (AutoSave): move out child process into new class
9168         AutoSaveBuffer.
9169
9170 2002-10-30  John Levon  <levon@movementarian.org>
9171
9172         * text3.C: make start appendix undoable
9173
9174 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9175
9176         * lyxlength.C (inPixels): Fix returned value.
9177
9178         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9179         environment.
9180
9181 2002-10-24  Angus Leeming  <leeming@lyx.org>
9182
9183         * lyxgluelength.h: no need to forward declare BufferParams
9184         or BufferView, so don't.
9185
9186 2002-10-21  John Levon  <levon@movementarian.org>
9187
9188         * BufferView.C: menuUndo ->undo, redo
9189
9190         * BufferView.h: document, remove dead, make some methods private
9191
9192         * paragraph_funcs.h:
9193         * paragraph_funcs.C:
9194         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9195
9196         * buffer.h:
9197         * buffer.C:
9198         * sgml.h:
9199         * sgml.C: move sgml open/close tag into sgml.C
9200
9201         * bufferview_funcs.h: unused prototype
9202
9203         * lyxfunc.h:
9204         * lyxfunc.C: remove unused
9205
9206         * lyxtext.h:
9207         * text.C: remove unused
9208
9209 2002-10-21  John Levon  <levon@movementarian.org>
9210
9211         * BufferView.h:
9212         * BufferView.C:
9213         * BufferView_pimpl.h:
9214         * BufferView_pimpl.C: fix mouse wheel handling based on
9215           patch from Darren Freeman
9216
9217 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9218
9219         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9220
9221 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9222
9223         * lyxlength.C (inPixels): Fix hanfling of negative length.
9224         Fix LyXLength::MU case.
9225
9226 2002-10-16  John Levon  <levon@movementarian.org>
9227
9228         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9229
9230 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9231
9232         * converter.C (view): add support for $$i (file name) and $$p
9233         (file path) for the viewer command. If $$i is not specified, then
9234         it is appended to the command (for compatibility with old syntax)
9235
9236 2002-10-14  Juergen Vigna  <jug@sad.it>
9237
9238         * undo_funcs.C (textHandleUndo): alter the order in which the
9239         new undopar is added to the LyXText, as we have to set first
9240         the right prev/next and then add it as otherwise the rebuild of
9241         LyXText is not correct. Also reset the cursor to the right paragraph,
9242         with this IMO we could remove the hack in "redoParagraphs()".
9243
9244 2002-10-09  Angus Leeming  <leeming@lyx.org>
9245
9246         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9247         to turn off an optimisation if a new inset is to be inserted.
9248
9249 2002-10-11 André Pönitz <poenitz@gmx.net>
9250
9251         * lyxtext.h: make some functions public to allow access
9252         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9253
9254 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9255
9256         * text3.C (dispatch): when changing layout, avoid an infinite loop
9257         [bug #652]
9258
9259 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9260
9261         * lyxrc.C (read): treat a viewer or converter command of "none" as
9262         if it were empty.
9263
9264         * MenuBackend.C (expandFormats): for an update, also allow the
9265         formats that are not viewable
9266
9267         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9268         script if it is newer than the lyxrc.defaults in user directory
9269
9270 2002-10-07 André Pönitz <poenitz@gmx.net>
9271
9272         * text.C: Vitaly Lipatov's small i18n fix
9273
9274 2002-09-25  Angus Leeming  <leeming@lyx.org>
9275
9276         * ispell.h: doxygen fix.
9277
9278 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9279
9280         * buffer.h (readFile): Add a new argument to the method, to allow
9281         reading of old-format templates.
9282
9283 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9284
9285         * toc.C (getTocList): Get TOC from InsetWrap.
9286
9287 2002-09-16  John Levon  <levon@movementarian.org>
9288
9289         * lyxfunc.C: check tabular for cut/copy too
9290
9291 2002-09-12  John Levon  <levon@movementarian.org>
9292
9293         * LyXAction.C: tidy
9294
9295         * factory.h:
9296         * factory.C: add header
9297
9298         * paragraph_funcs.h:
9299         * paragraph_funcs.C: cleanup
9300
9301 2002-09-11  John Levon  <levon@movementarian.org>
9302
9303         * PrinterParams.h: odd/even default to true
9304
9305 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9306
9307         * PrinterParams.h: update printer parameters for new xforms dialog
9308
9309 2002-09-11  Angus Leeming  <leeming@lyx.org>
9310
9311         * lyxserver.C (read_ready): re-write to make it more transparent
9312         and to make it work in coherent fashion under Tru64 Unix.
9313
9314 2002-09-11  André Pönitz <poenitz@gmx.net>
9315
9316         * commandtags.h:
9317         * LyXAction.C:
9318         * text3.C: implement LFUN_WORDSEL
9319
9320 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9321
9322         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9323         make floatlist_ a boost::shared_ptr<FloatList>
9324
9325         * lyxtextclass.C: include FloatList.h
9326         (LyXTextClass): initialize floatlist_
9327         (TextClassTags): add TC_NOFLOAT
9328         (Read): match "nofloat" to TC_NOFLOAT and use it.
9329         (readFloat): modify call to floatlist_
9330         (floats): ditto
9331         (floats): ditto
9332
9333         * FloatList.[Ch] (FloatList): remove commented out float
9334         initialization.
9335         (erase): new function
9336
9337 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9338
9339         * MenuBackend.C (expandToc): fix crash when there is no document
9340         open
9341
9342 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9343
9344         * many files: Add insetwrap.
9345
9346 2002-09-09  John Levon  <levon@movementarian.org>
9347
9348         * text2.C: remove confusing and awkward depth wraparound
9349
9350 2002-09-09  John Levon  <levon@movementarian.org>
9351
9352         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9353
9354         * buffer.h:
9355         * buffer.C: remove getIncludeonlyList()
9356
9357         * paragraph.C:
9358         * lyxfunc.C: remove headers
9359
9360 2002-09-09  Juergen Vigna  <jug@sad.it>
9361
9362         * text.C (getColumnNearX): fix form Michael this is most
9363         probably a cut&paste bug.
9364
9365 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9366
9367         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9368
9369         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9370         references, ws changes.
9371
9372         * text2.C (init): update counters after init
9373         (insertParagraph): no need to set counter on idividual paragraphs.
9374         (setCounter): access the counters object in the textclass object
9375         on in the buffer object.
9376         (updateCounters): ditto
9377
9378         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9379         shared_ptr<Counters> to avoid loading counters.h in all
9380         compilation units.
9381         (LyXTextClass): initialize ctrs_
9382         (TextClassTags): add TC_COUNTER, and ...
9383         (Read): use it here.
9384         (CounterTags): new tags
9385         (readCounter): new function
9386         (counters): new funtion
9387         (defaultLayoutName): return a const reference
9388
9389         * counters.C (Counters): remove contructor
9390         (newCounter): remove a couple of unneeded statements.
9391         (newCounter): simplify a bit.
9392         (numberLabel): some small formatting changes.
9393
9394         * buffer.[Ch]: remove all traces of counters, move the Counters
9395         object to the LyXTextClass.
9396
9397 2002-09-06  Alain Castera  <castera@in2p3.fr>
9398
9399         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9400         package to set the horizontal alignment on fixed width columns.
9401
9402         * lyx_sty.C:
9403         * lyx_sty.h: added tabularnewline macro def.
9404
9405         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9406
9407 2002-09-06  John Levon  <levon@movementarian.org>
9408
9409         * LyXAction.C: tooltips for sub/superscript
9410
9411         * MenuBackend.C: a bit more verbose
9412
9413         * lyxfunc.C: tiny clean
9414
9415         * undo_funcs.C: document undo_frozen
9416
9417 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9418
9419         * counters.C (Counters): add missing algorithm counter.
9420
9421         * text2.C (setCounter): lookup the counter with layouts latexname
9422         instead of by section number.
9423         (setCounter): use a hackish way to lookup the correct enum
9424         counter.
9425         a float name->type change
9426         reset enum couners with counter name directly instead of depth value.
9427
9428         * counters.C (Counters): remove the push_backs, change to use the
9429         float type not the float name.
9430         (labelItem): remove unused string, float name->type change
9431
9432         * counters.h: don't include vector, loose the enums and sects vectors
9433
9434 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9435
9436         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9437         (Read): add float->TC_FLOAT to textclassTags
9438         (Read): and handle it in the switch
9439         (readFloat): new function
9440
9441         * FloatList.C (FloatList): comment out the hardcoded float
9442         definitions.
9443
9444         * lyxlayout.h: ws change.
9445
9446 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9447
9448         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9449
9450 2002-09-03  Angus Leeming  <leeming@lyx.org>
9451
9452         * BufferView_pimpl.h: qualified name is not allowed in member
9453         declaration: WorkArea & Pimpl::workarea() const;
9454
9455         * factory.C: added using std::endl directive.
9456
9457         * text3.C: added using std::find and std::vector directives.
9458
9459 2002-08-29  André Pönitz <poenitz@gmx.net>
9460
9461         * lyxtext.h:
9462         * text2.C: remove unused member number_of_rows
9463
9464         * Makefile.am:
9465         * BufferView2.C: remove file, move contents to...
9466         * BufferView.C: ... here
9467
9468         * BufferView_pimpl.C:
9469         * factory.C: move more inset creation to factory
9470
9471         * vspace.C: avoid direct usage of LyXText, ws changes
9472
9473         * BufferView.[Ch]:
9474                 don't provide direct access to WorkArea, use two simple
9475                 acessors haveSelction() and workHeight() instead
9476
9477
9478 2002-08-29  John Levon  <levon@movementarian.org>
9479
9480         * BufferView_pimpl.C (dispatch): do not continue when
9481           no buffer
9482
9483 2002-08-28  André Pönitz <poenitz@gmx.net>
9484
9485         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9486
9487         * BufferView.h:
9488         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9489
9490 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9491
9492         * buffer.C: increment LYX_FORMAT to 221
9493
9494         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9495         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9496
9497         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9498
9499         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9500
9501 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * factory.C (createInset): use LyXTextClass::floats
9504
9505         * MenuBackend.C (expandFloatListInsert):
9506         (expandFloatInsert):
9507         (expandToc):
9508
9509         * text2.C (setCounter):
9510
9511         * LaTeXFeatures.C (useFloat):
9512         (getFloatDefinitions):
9513
9514         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9515
9516         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9517         floatlist_, with accessor floats().
9518
9519         * FloatList.h: remove global FloatList
9520
9521 2002-08-26  André Pönitz <poenitz@gmx.net>
9522
9523         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9524
9525         * BufferView.h:
9526         * BufferView2.C:
9527         * BufferView_pimpl.C:
9528         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9529
9530 2002-08-25  John Levon  <levon@movementarian.org>
9531
9532         * LyXAction.C: fix margin note description
9533
9534 2002-08-24  John Levon  <levon@movementarian.org>
9535
9536         * buffer.C:
9537         * bufferlist.C:
9538         * bufferview_funcs.C:
9539         * lyxfont.C:
9540         * undo_funcs.C: cleanups
9541
9542         * lyxfunc.C: disable CUT/COPY when no selection
9543
9544 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9545
9546         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9547         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9548
9549         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9550         Add backward compatibility to "mono", "gray" and "no".
9551
9552 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9553
9554         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9555         (and file_format >= 200).
9556
9557 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9558
9559         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9560
9561 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9562
9563         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9564
9565 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9566
9567         * BufferView_pimpl.C:
9568         * LyXAction.C:
9569         * buffer.C:
9570         * commandtags.h:
9571         * lyxfunc.C:
9572         * paragraph.[Ch]:
9573         * text2.C:
9574         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9575         inset and code to make it  work with the paragraph code. The inset
9576         can be anywhere in the paragraph, but will only do the expected
9577         thing in LaTeX if the layout file contains the parameter line
9578                         OptionalArgs    1
9579         (or more generally, a nonzero value) for that layout.
9580
9581 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9582
9583         * paragraph.h: remove the declaration of undefined counters class
9584         function.
9585
9586 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9587
9588         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9589         Dr. Richard Hawkins.
9590
9591 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9592
9593         * paragraph_funcs.h: remove some unneeded includes
9594
9595         * text.C (backspace): pasteParagraph now in global scipe
9596
9597         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9598         (pasteSelection): ditto
9599
9600         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9601         * paragraph_funcs.C (pasteParagraph): ... here
9602
9603 2002-08-20  André Pönitz <poenitz@gmx.net>
9604
9605         * commandtags.h: new LFUNs for swapping/copying table row/colums
9606
9607         * LyXAction.C:
9608         * lyxfunc.C: support for new lfuns
9609
9610 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9611
9612         * tabular.C:
9613         * buffer.[Ch]: remove NO_COMPABILITY stuff
9614
9615 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9616
9617         * boost.C (throw_exception): new file, with helper function for
9618         boost compiled without exceptions.
9619
9620         * paragraph.h:
9621         * lyxlength.C:
9622         * buffer.C:
9623         * ParameterStruct.h:
9624         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9625
9626         * bufferlist.C (emergencyWriteAll): use boost bind
9627
9628         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9629
9630         * text.C: include paragraph_funcs.h
9631         (breakParagraph): breakParagraph is now in global scope
9632
9633         * paragraph_funcs.[Ch]: new files
9634
9635         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9636         global scope
9637
9638         * buffer.C: include paragraph_funcs.h
9639         (insertStringAsLines): breakParagraph is now in global scope
9640
9641         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9642         paragraph_funcs.C
9643
9644         * CutAndPaste.C: include paragraph_funcs.h
9645         (cutSelection): breakParagraphConservative is now in global scope
9646         (pasteSelection): ditto
9647
9648         * buffer.h: declare oprator== and operator!= for
9649         Buffer::inset_iterator
9650
9651         * bufferlist.C (emergencyWrite): don't use fmt(...)
9652
9653         * text3.C: add using std::endl
9654
9655         * BufferView.C (moveCursorUpdate): remove default arg
9656
9657 2002-08-20  André Pönitz <poenitz@gmx.net>
9658
9659         * buffer.[Ch]: move inline functions to .C
9660
9661         * BufferView2.C:
9662         * BufferView_pimpl.C:
9663         * text.C:
9664         * buffer.[Ch]: use improved inset_iterator
9665
9666         * buffer.C:
9667         * paragraph.[Ch]: write one paragraph at a time
9668
9669 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9670
9671         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9672         style if style is not specified.
9673
9674 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9675
9676         * text2.C (setCounter): when searching for right label for a
9677         caption, make sure to recurse to parent insets (so that a caption
9678         in a minipage in a figure float works) (bug #568)
9679
9680 2002-08-20  André Pönitz <poenitz@gmx.net>
9681
9682         * text3.C: new file for LyXText::dispatch() and helpers
9683
9684         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9685
9686         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9687
9688 2002-08-19  André Pönitz <poenitz@gmx.net>
9689
9690         * lyxtext.h:
9691         * text.C: new LyXText::dispatch()
9692
9693         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9694
9695 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9696
9697         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9698
9699         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9700         Hebrew text.
9701
9702 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9703
9704         * Makefile.am: use $(variables) instead of @substitutions@
9705
9706 2002-08-15  André Pönitz <poenitz@gmx.net>
9707
9708         * lyxfunc.C:
9709         * BufferView_pimpl.C: streamlining mathed <-> outer world
9710         interaction
9711
9712         * commandtags.h:
9713         * LyXAction.C: remove unused LFUN_MATH
9714
9715 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9716
9717         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9718
9719 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9720
9721         * paragraph.C (Paragraph): reformat a bit
9722         (cutIntoMinibuffer): use builtin InsetList function instad of
9723         doing it manually.
9724         (getInset): ditto
9725
9726         * buffer.C: include boost/bind.hpp, add using std::for_each
9727         (writeFileAscii): use ParagraphList iterators
9728         (validate): use for_each for validate traversal of paragraphs
9729         (getBibkeyList): use ParagraphList iterators
9730         (resizeInsets): use for_each to resizeInsetsLyXText for all
9731         paragraphs.
9732         (getParFromID): use ParagraphList iterators
9733
9734         * BufferView2.C (lockInset): use paragraph list and iterators
9735
9736 2002-08-14  John Levon  <levon@movementarian.org>
9737
9738         * lyxserver.C: remove spurious xforms include
9739
9740 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9741
9742         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9743
9744 2002-08-13  André Pönitz <poenitz@gmx.net>
9745
9746         * LyXAction.[Ch]:
9747         * lyxfunc.C: further cleaning
9748
9749 2002-08-13  André Pönitz <poenitz@gmx.net>
9750
9751         * funcrequest.h: new constructor
9752
9753         * funcrequest.C: move stuff here from .h
9754
9755         * Makefile.am:
9756         * BufferView_pimpl.C:
9757         * LyXAction.C:
9758         * toc.C:
9759         * lyxfunc.C: subsequent changes
9760
9761         * lyxfunc.h: new view() member function
9762
9763         * lyxfunc.C: subsequent changes
9764
9765 2002-08-13  Angus Leeming  <leeming@lyx.org>
9766
9767         * BufferView2.C:
9768         * BufferView_pimpl.C:
9769         * buffer.C:
9770         * converter.C:
9771         * importer.C:
9772         * lyxfunc.C:
9773         * lyxvc.C:
9774         * toc.C:
9775         * vc-backend.C:
9776         changes due to the changed LyXView interface that now returns references
9777         to member variables not pointers.
9778
9779 2002-08-13  Angus Leeming  <leeming@lyx.org>
9780
9781         * WordLangTuple (word, lang_code): return references to strings,
9782         not strings.
9783
9784         * BufferView.h:
9785         * SpellBase.h:
9786         * lyxtext.h: forward-declare WordLangTuple.
9787
9788         * BufferView2.C:
9789         * ispell.C:
9790         * pspell.C:
9791         * text.C: #include "WordLangTuple.h".
9792
9793         * lyxtext.h:
9794         * text.C: (selectNextWordToSpellcheck): constify return type.
9795
9796 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9797
9798         * buffer.C:
9799         * buffer.h:
9800         * lyxtext.h:
9801         * paragraph.C:
9802         * paragraph_pimpl.h:
9803         * text.C:
9804         * text2.C:
9805         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9806         suggested by Angus.
9807         Made updateCounter always count from start of buffer, and removed
9808         second argument (par).
9809         Reverted floats number display to '#'. Perhaps I'll try again when the
9810         code base is sanitized a bit.
9811
9812 2002-08-12  Angus Leeming  <leeming@lyx.org>
9813
9814         * buffer.[Ch] (getLabelList): constify.
9815
9816 2002-08-07  André Pönitz <poenitz@gmx.net>
9817
9818         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9819
9820         * funcrequest.h: extension to keep mouse (x,y) position
9821
9822 2002-08-12  Juergen Vigna  <jug@sad.it>
9823
9824         * BufferView2.C (insertErrors): forbid undo when inserting error
9825         insets.
9826
9827         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9828
9829 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9830
9831         * ParagraphList.[Ch]: new files
9832
9833         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9834
9835         * BufferView2.C (lockInset): ParagraphList changes
9836         * toc.C: ditto
9837         * text2.C: ditto
9838         * bufferlist.C: ditto
9839         * buffer.h: ditto
9840         * buffer.C: ditto
9841
9842 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9843
9844         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9845         unused class variable counter_,
9846
9847         * paragraph.[Ch] (getFirstCounter): delete unused function
9848
9849         * counters.C: include LAssert.h
9850         (reset): add a new function with no arg, change other version to
9851         not have def. arg and to not allow empty arg.
9852
9853         * text2.C (setCounter): remove empty arg from call to Counters::reset
9854
9855 2002-08-11  John Levon  <levon@movementarian.org>
9856
9857         * Makefile.am: add WordLangTuple.h
9858
9859 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9860
9861         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9862         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9863
9864         * insets/insettext.C: InsetList changes
9865
9866         * graphics/GraphicsSupport.C (operator()): InsetList changes
9867
9868         * toc.C (getTocList): InsetList changes
9869
9870         * paragraph_pimpl.[Ch]: InsetList changes
9871
9872         * paragraph.[Ch]: InsetList changes
9873
9874         * buffer.C (inset_iterator): InsetList changes
9875         (setParagraph): ditto
9876         * buffer.h (inset_iterator): ditto
9877         * iterators.C (operator++): ditto
9878         * iterators.h: ditto
9879
9880         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9881
9882         * InsetList.[Ch]: new files, most InsetList handling moved out of
9883         paragraph.C.
9884
9885         * BufferView2.C (removeAutoInsets): InsetList changes
9886         (lockInset): ditto
9887         (ChangeInsets): ditto
9888
9889 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9890
9891         * paragraph_pimpl.h (empty): new function
9892
9893         * paragraph.[Ch] (empty): new function
9894
9895         * other files: use the new Paragraph::empty function
9896
9897 2002-08-09  John Levon  <levon@movementarian.org>
9898
9899         * lyxtext.h: remove unused refresh_height
9900
9901 2002-08-09  John Levon  <levon@movementarian.org>
9902
9903         * Makefile.am:
9904         * sgml.h:
9905         * sgml.C:
9906         * buffer.C:
9907         * paragraph.h:
9908         * paragraph.C: move sgml char escaping out of paragraph
9909
9910         * paragraph.h:
9911         * paragraph.C: remove id setter
9912
9913         * buffer.C:
9914         * paragraph.C:
9915         * paragraph_pimpl.C: remove dead tex_code_break_column
9916
9917         * bufferview_funcs.C: small cleanup
9918
9919         * lyxfunc.C: remove dead proto
9920
9921         * lyxtext.h: make some stuff private. Remove some dead stuff.
9922
9923         * lyxgluelength.C: make as[LyX]String() readable
9924
9925 2002-08-08  John Levon  <levon@movementarian.org>
9926
9927         * LyXAction.h:
9928         * LyXAction.C:
9929         * MenuBackend.C:
9930         * ToolbarDefaults.C:
9931         * lyxfunc.C:
9932         * lyxrc.C:
9933         * toc.C: lyxaction cleanup
9934
9935 2002-08-08  John Levon  <levon@movementarian.org>
9936
9937         * BufferView2.C: small cleanup
9938
9939         * lyxfind.h:
9940         * lyxfind.C: move unnecessary header into the .C
9941
9942 2002-08-08  John Levon  <levon@movementarian.org>
9943
9944         * funcrequest.h: just tedious nonsense
9945
9946         * lyx_main.h:
9947         * lyx_main.C: cleanups
9948
9949         * buffer.C:
9950         * vspace.C: remove dead header lyx_main.h
9951
9952 2002-08-07  Angus Leeming  <leeming@lyx.org>
9953
9954         * Paragraph.[Ch]:
9955         * paragraph_pimpl.h:
9956         Forward declare class Counters in paragraph.h by moving the ctrs member
9957         variable into Paragraph::Pimpl.
9958         (counters): new method, returning a reference to pimpl_->ctrs.
9959
9960         * text2.C: ensuing changes.
9961
9962 2002-08-07  John Levon  <levon@movementarian.org>
9963
9964         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9965
9966         * BufferView_pimpl.C: announce X selection on double/triple
9967           click
9968
9969         * lyx_main.C: use correct bool in batch dispatch
9970
9971         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9972
9973 2002-08-07  André Pönitz <poenitz@gmx.net>
9974
9975         * funcrequest.h: new class to wrap a kb_action and its argument
9976
9977         * BufferView.[Ch]:
9978         * BufferView_pimpl[Ch]:
9979         * LaTeX.C:
9980         * LyXAction.[Ch]:
9981         * lyxfunc.[Ch]:
9982         * lyxrc.C: subsequent changes
9983
9984
9985 2002-08-07  John Levon  <levon@movementarian.org>
9986
9987         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9988           document options change.
9989
9990 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9991
9992         * counters.[Ch]
9993         * text2.C
9994         * paragraph.[Ch]
9995         * makefile.am: move counters functionality over from
9996         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9997
9998 2002-08-06  John Levon  <levon@movementarian.org>
9999
10000         * WordLangTuple.h: new file for word + language code tuple
10001
10002         * SpellBase.h:
10003         * pspell.h:
10004         * pspell.C:
10005         * ispell.h:
10006         * ispell.C:
10007         * lyxtext.h:
10008         * text.C:
10009         * text2.C:
10010         * BufferView.h:
10011         * BufferView2.C: use WordLangTuple
10012
10013         * layout.h:
10014         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10015
10016 2002-08-06  John Levon  <levon@movementarian.org>
10017
10018         * lyx_main.C: fix cmdline batch handling
10019
10020 2002-08-06  André Pönitz <poenitz@gmx.net>
10021
10022         * lyxrc.C: set default for show_banner to true
10023
10024 2002-08-06  John Levon  <levon@movementarian.org>
10025
10026         * pspell.C: fix a crash, and allow new aspell to work
10027
10028 2002-08-06  John Levon  <levon@movementarian.org>
10029
10030         * lyxfunc.C:
10031         * kbmap.C: small cleanup
10032
10033         * vspace.h:
10034         * vspace.C: add const
10035
10036 2002-08-05  John Levon  <levon@movementarian.org>
10037
10038         * LyXAction.C: back to tabular-insert
10039
10040 2002-08-04  John Levon  <levon@movementarian.org>
10041
10042         * BufferView.h:
10043         * BufferView.C: cosmetic change
10044
10045         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10046
10047         * bufferlist.C:
10048         * buffer.h:
10049         * buffer.C:
10050         * lyxcb.h:
10051         * lyxcb.C:
10052         * lyxserver.C:
10053         * lyxvc.C:
10054         * vc-backend.C:
10055         * BufferView2.C: purge all "Lyx" not "LyX" strings
10056
10057         * lyxcursor.h:
10058         * lyxcursor.C: attempt to add some documentation
10059
10060         * lyxfunc.C:
10061         * commandtags.h:
10062         * LyXAction.C:
10063         * ToolbarDefaults.C:
10064         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10065           merge with LFUN_TABULAR_INSERT
10066
10067         * Makefile.am:
10068         * SpellBase.h:
10069         * ispell.h:
10070         * ispell.C:
10071         * pspell.h:
10072         * pspell.C: split up i/pspell implementations into separate
10073           files, many cleanups
10074
10075         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10076
10077         * text2.C: some cleanup
10078
10079         * lyxfunc.C: don't check for isp_command == "none" any more, it
10080           didn't make any sense
10081
10082 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10083
10084         * counters.[Ch]
10085         * text2.C
10086         * paragraph.[Ch]
10087         * makefile.am: move counters functionality over
10088         from text2.C/paragraph.[Ch] to counters.[Ch], and
10089         make proper C++.
10090 2002-08-02  John Levon  <levon@movementarian.org>
10091
10092         * buffer.C: s/lyxconvert/lyx2lyx/
10093
10094 2002-08-02  Angus Leeming  <leeming@lyx.org>
10095
10096         * lyxlex.C: revert John's change as it breaks reading of the user
10097         preamble.
10098
10099 2002-08-02  Angus Leeming  <leeming@lyx.org>
10100
10101         * importer.C (Import):
10102         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10103         changes due to LyXView::view() now returning a boost::shared_ptr.
10104
10105 2002-08-02  John Levon  <levon@movementarian.org>
10106
10107         * lyxlex.C: small cleanup
10108
10109 2002-08-02  John Levon  <levon@movementarian.org>
10110
10111         * text2.C (status): small cleanup, no logic change
10112
10113 2002-08-01  John Levon  <levon@movementarian.org>
10114
10115         * buffer.h:
10116         * buffer.C (writeFile): don't output alerts, caller
10117           handles this
10118
10119         * bufferlist.C:
10120         * lyx_cb.C: from above
10121
10122         * lyxfunc.C: allow to open non-existent files
10123
10124 2002-07-31  John Levon  <levon@movementarian.org>
10125
10126         * lyxserver.C: don't let incidental errors get
10127           in the way (errno)
10128
10129 2002-07-30  John Levon  <levon@movementarian.org>
10130
10131         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10132
10133 2002-07-30  John Levon  <levon@movementarian.org>
10134
10135         * lyxserver.h:
10136         * lyxserver.C: remove I/O callback too
10137
10138 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10139
10140         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10141         log.
10142
10143 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10144
10145         * many files: strip,frontStrip -> trim,ltrim,rtrim
10146
10147 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10148
10149         * PrinterParams.h: remove extern containsOnly, and include
10150         support/lstrings.h instead.
10151
10152         * LaTeX.C (scanAuxFile): modify because of strip changes
10153         (deplog): ditto
10154         * buffer.C (makeLaTeXFile): ditto
10155         * bufferparams.C (writeFile): ditt
10156         * lyxfont.C (stateText): ditto
10157         * lyxserver.C (read_ready): ditto
10158         * vc-backend.C (scanMaster): ditto
10159
10160         * BufferView_pimpl.h: ws changes
10161
10162         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10163
10164 2002-07-26  André Pönitz <poenitz@gmx.net>
10165
10166         * kb_sequence.C: remove unnedred usings
10167
10168 2002-07-26  Juergen Vigna  <jug@sad.it>
10169
10170         * lyxfind.C (LyXReplace): we have to check better if the returned
10171         text is not of theLockingInset()->getLockingInset().
10172
10173 2002-07-25  Juergen Vigna  <jug@sad.it>
10174
10175         * lyxfind.C (LyXReplace): don't replace if we don't get the
10176         right LyXText.
10177
10178         * undo_funcs.C (createUndo): remove debugging code.
10179
10180 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10181
10182         * buffer.C (parseSingleLyXformat2Token): Use default placement
10183         when reading old floats.
10184
10185         * FloatList.C (FloatList): Change the default placement of figure
10186         and tables to "tbp".
10187
10188 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * MenuBackend.C: using std::max
10191
10192 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * MenuBackend.C (expandToc):
10195         (expandToc2): code moved from xforms menu frontend. It is now
10196         generic and TOCs are transparent to menu frontends.
10197
10198 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10199
10200         * toc.C (getTocList): protect against buf=0
10201
10202         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10203         Menu as first parameter. Now, this calls itself recursively to
10204         expand a whole tree (this will be useful for TOC handling)
10205         (expandFloatInsert): remove 'wide' version of floats
10206
10207         * MenuBackend.h (submenuname): returns the name of the submenu.
10208         (submenu): returns the submenu itself, provided it has been
10209         created by MenuBackend::expand
10210
10211 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10212
10213         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10214         insets which have noFontChange == true. (bug #172)
10215
10216 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * BufferView_pimpl.C: add connection objects and use them...
10219         (Pimpl): here.
10220
10221 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * MenuBackend.C (expandLastfiles):
10224         (expandDocuments):
10225         (expandFormats):
10226         (expandFloatListInsert):
10227         (expandFloatInsert):
10228         (expand): split expand in parts
10229
10230 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * lyx_gui.C: use lyx_gui::exit()
10233
10234 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * LyXAction.C: show the failing pseudo action
10237
10238 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10239
10240         * buffer.C (readFile): Run the lyxconvert script in order to read
10241         old files.
10242
10243 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * LyXAction.C:
10246         * commandtags.h:
10247         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10248
10249 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10250
10251         * LyXAction.C:
10252         * commandtags.h:
10253         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10254
10255 2002-07-22  Herbert Voss  <voss@lyx.org>
10256
10257         * lengthcommon.C:
10258         * lyxlength.[Ch]: add support for the vertical lengths
10259
10260 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * toc.[Ch]: std:: fixes
10263
10264 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10265
10266         * lyxrc.C: do not include lyx_main.h
10267
10268         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10269         for layouts
10270
10271         * lyxrc.C:
10272         * encoding.C:
10273         * bufferlist.C:
10274         * BufferView2.C: include "lyxlex.h"
10275
10276         * tabular.h:
10277         * bufferparams.h: do not #include "lyxlex.h"
10278
10279         * lyxtextclasslist.C (Add): remove method
10280         (classlist): renamed to classlist_
10281
10282         * paragraph_pimpl.C:
10283         * paragraph.C:
10284         * text2.C:
10285         * CutAndPaste.C:
10286         * bufferview_funcs.C:
10287         * bufferlist.C:
10288         * text.C:
10289         * LaTeXFeatures.C:
10290         * buffer.C:
10291         * toc.C (getTocList): use BufferParams::getLyXTextClass
10292
10293         * toc.C (getTocList): use InsetFloat::addToToc
10294
10295         * toc.[Ch]: new files, containing helper functions to handle table
10296         of contents
10297
10298         * lyxfunc.C (dispatch): no need to remove spaces around command
10299         given as a string
10300         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10301         first command of the sequence; it is not very clever, but I do not
10302         have a better idea, actually
10303
10304         * LyXAction.C (LookupFunc): make sure to remove space at the
10305         beginning and end of the command
10306
10307 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * MenuBackend.C (getMenubar): new method: return the menubar of
10310         this menu set
10311         (read): treat differently reading of menu and menubar (in
10312         particular, the menubar has no name now)
10313         (Menu::menubar): remove
10314
10315         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10316         saving is finished
10317
10318 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10319
10320         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10321         a bibitem inset in a RTL paragraph.
10322
10323 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10324
10325         * paragraph_pimpl.C: constify
10326
10327         * BufferView_pimpl.C:
10328         * LaTeX.C:
10329         * lyxfunc.C: fix dispatch in a nicer way
10330
10331 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * lyxfunc.C (dispatch):
10334         * BufferView_pimpl.C:
10335         * BufferView_pimpl.h:
10336         * BufferView.C:
10337         * BufferView.h: rename Dispatch() to dispatch()
10338
10339         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10340
10341         * lyxlayout.C (Read): honor DependsOn tag
10342
10343         * lyxlayout.[Ch] (depends_on): new method
10344
10345         * version.C.in: update lyx_docversion
10346
10347         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10348
10349         * paragraph.C (validate): remove from here...
10350         * paragraph_pimpl.C (validate): ... and move here
10351         (isTextAt): make it const
10352
10353         * buffer.C (getLists): ws cleanup
10354
10355 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10356
10357         * language.C (read): Use iso8859-1 encoding in latex_lang
10358         (this prevents LyX from crashing when using iso10646-1 encoding).
10359
10360 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10361
10362         * text2.C (toggleInset): if cursor is inside an inset, close the
10363         inset and leave cursor _after_ it
10364
10365 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * lyxfunc.C: move minibuffer completion handling out of here
10368
10369 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * BufferView_pimpl.C:
10372         * LaTeX.C: fix dispatch calls
10373
10374 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10375
10376         * text.C (drawChars): Fix Arabic text rendering.
10377
10378 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10379
10380         * LyXAction.C:
10381         * commandtags.h:
10382         * lyxfunc.C: remove message-push/pop
10383
10384         * lyxserver.C:
10385         * lyxfunc.h:
10386         * lyxfunc.C: rationalise some code by removing verboseDispatch
10387           in favour of a bool argument to dispatch()
10388
10389 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10390
10391         * lyx_main.C (init): make sure to read symlinks as absolute paths
10392
10393 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * lyxfunc.h:
10396         * lyxfunc.C: no need for commandshortcut to be a member
10397
10398 2002-07-15  André Pönitz <poenitz@gmx.net>
10399
10400         * converter.C: add support for $$s (scripts from lib/scripts dir)
10401         * lyx_main.C: white space
10402
10403 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * bufferlist.C:
10406         * lyxrc.h:
10407         * lyxrc.C: remove second exit confirmation
10408
10409 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * BufferView.h:
10412         * BufferView.C:
10413         * BufferView2.C:
10414         * BufferView_pimpl.h:
10415         * BufferView_pimpl.C:
10416         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10417
10418 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * MenuBackend.C (expand): add numeric shortcuts to document menu
10421
10422         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10423
10424 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * lyxfont.C (setLyXFamily):
10427         (setLyXSeries):
10428         (setLyXShape):
10429         (setLyXSize):
10430         (setLyXMisc):
10431         (lyxRead):
10432         * debug.C (value):
10433         * buffer.C (asciiParagraph): use ascii_lowercase
10434
10435 2002-07-15  Mike Fabian  <mfabian@suse.de>
10436
10437         * lyxlex_pimpl.C (search_kw):
10438         * lyxlex.C (getLongString):
10439         * converter.h (operator<):
10440         * converter.C (operator<):
10441         * buffer.C (parseSingleLyXformat2Token):
10442         (asciiParagraph):
10443         * ToolbarDefaults.C (read):
10444         * MenuBackend.C (checkShortcuts):
10445         (read):
10446         * LColor.C (getFromGUIName):
10447         (getFromLyXName): use the compare_ascii_no_case instead of
10448         compare_no_case, because in turkish, 'i' is not the lowercase
10449         version of 'I', and thus turkish locale breaks parsing of tags.
10450
10451 2002-07-16  Angus Leeming  <leeming@lyx.org>
10452
10453         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10454         now takes a Buffer const & argument.
10455
10456 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * BufferView.C (resize): check there's a buffer to resize
10459
10460 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * lyxfunc.C: remove dead code
10463
10464         * lyxserver.h:
10465         * lyxserver.C: use lyx_guii::set_read_callback
10466
10467 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10468
10469         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10470         an inset in a RTL paragraph.
10471
10472 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * lyxfunc.C: repaint after a font size update
10475
10476 2002-07-15  André Pönitz <poenitz@gmx.net>
10477
10478         * lyxlength.C: inBP should be able to return negative values
10479
10480 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * lyxfunc.C: use lyx_gui::update_fonts()
10483
10484 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * lyxfunc.C: use lyx_gui::update_color()
10487
10488 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * bufferlist.C:
10491         * lyxfunc.h:
10492         * lyxfunc.C:
10493         * lyxrc.h:
10494         * lyxrc.C: remove file->new asks for name option, and let
10495           buffer-new take an argument
10496
10497 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * BufferView_pimpl.C: remove unneeded extra repaint()
10500
10501 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * LyXAction.C: allow command-sequence with NoBuffer
10504
10505         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10506
10507 2002-07-10  Angus Leeming  <leeming@lyx.org>
10508
10509         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10510
10511 2002-07-09  Angus Leeming  <leeming@lyx.org>
10512
10513         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10514
10515 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * lengthcommon.h: whitespace
10518
10519         * lyxfunc.C: update scrollbar after goto paragraph
10520
10521         * lyxtext.h: factor out page break drawing, and fix it so
10522           page break/added space paints as selected nicely
10523
10524 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * BufferView_pimpl.C: add FIXMEs, clean up a little
10527
10528 2002-07-09  André Pönitz <poenitz@gmx.net>
10529
10530         * lyxfont.[Ch]: support for wasy symbols
10531
10532 2002-07-08  André Pönitz <poenitz@gmx.net>
10533
10534         * BufferView_pimpl.C: apply John's patch for #93.
10535
10536 2002-07-05  Angus Leeming  <leeming@lyx.org>
10537
10538         * BufferView_pimpl.C (buffer): generate previews if desired.
10539
10540         * LColor.h: add "preview" to the color enum.
10541
10542         * LColor.C (LColor): add a corresponding entry to the items array.
10543
10544         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10545         with this buffer.
10546
10547 2002-07-05  Angus Leeming  <leeming@lyx.org>
10548
10549         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10550         The body of the code is now in the method that is passed an ostream &
10551         rather than a file name.
10552         Pass an additional only_preamble parameter, useful for the forthcoming
10553         preview stuff.
10554
10555 2002-07-03  André Pönitz <poenitz@gmx.net>
10556
10557         * lyxfunc.C: simplify getStatus() a bit for math stuff
10558
10559 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10560
10561         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10562
10563 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10564
10565         * text.C (changeRegionCase): do not change case of all the
10566         document when region ends at paragraph end (bug #461)
10567
10568 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * paragraph.C (startTeXParParams):
10571         (endTeXParParams): add \protect when necessary
10572
10573 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * BufferView_pimpl.C (workAreaExpose): remove warning
10576
10577 2002-06-27  Angus Leeming  <leeming@lyx.org>
10578
10579         * Makefile.am: add lyxlayout_ptr_fwd.h.
10580
10581 2002-06-26  André Pönitz <poenitz@gmx.net>
10582
10583         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10584
10585 2002-06-25  Angus Leeming  <leeming@lyx.org>
10586
10587         * lyxfunc.C (dispatch): Comment out the call to
10588         grfx::GCache::changeDisplay. The method no longer exists now that the
10589         pixmap generation part of the graphics loader has been moved into
10590         InsetGraphics.
10591
10592 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10593
10594         * text2.C: layout as layout
10595
10596         * text.C: layout as layout
10597
10598         * tabular.C (OldFormatRead): layout as layout
10599
10600         * paragraph_pimpl.C (TeXDeeper): layout as layout
10601         (realizeFont): layout as layout
10602
10603         * paragraph.C (writeFile): layout as layout
10604         (validate): layout as layout
10605         (getFont): layout as layout
10606         (getLabelFont): layout as layout
10607         (getLayoutFont): layout as layout
10608         (breakParagraph): layout as layout
10609         (stripLeadingSpaces): layout as layout
10610         (getEndLabel): layout as layout
10611         (getMaxDepthAfter): layout as layout
10612         (applyLayout): layout as layout
10613         (TeXOnePar): layout as layout
10614         (simpleTeXOnePar): layout as layout
10615         (TeXEnvironment): layout as layout
10616         (layout): layout as layout
10617         (layout): layout as layout
10618
10619         * lyxtextclass.C (compare_name): new functor to work with
10620         shared_ptr, layout as layout
10621         (Read): layout as layout
10622         (hasLayout): layout as layout
10623         (operator): layout as layout
10624         (delete_layout): layout as layout
10625         (defaultLayout): layout as layout
10626
10627         * lyxlayout_ptr_fwd.h: new file
10628
10629         * lyxlayout.C (Read): layout as layout
10630
10631         * lyx_cb.C (MenuInsertLabel): layout as layout
10632
10633         * bufferlist.C (newFile): layout as layout
10634
10635         * buffer.C (readLyXformat2): layout as layout
10636         (parseSingleLyXformat2Token): layout as layout
10637         (insertStringAsLines): layout as layout
10638         (asciiParagraph): layout as layout
10639         (latexParagraphs): layout as layout
10640         (makeLinuxDocFile): layout as layout
10641         (simpleLinuxDocOnePar): layout as layout
10642         (makeDocBookFile): layout as layout
10643         (simpleDocBookOnePar): layout as layout
10644         (getLists): layout as layout
10645
10646         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10647
10648         * CutAndPaste.C (cutSelection): layout as layout
10649         (pasteSelection): layout as layout
10650         (SwitchLayoutsBetweenClasses): layout as layout
10651
10652         * BufferView_pimpl.C (Dispatch): layout as layout
10653         (smartQuote): layout as layout
10654
10655         * BufferView2.C (unlockInset): layout as layout
10656
10657 2002-06-24  André Pönitz <poenitz@gmx.net>
10658
10659         * lyxfunc.C: fix #487
10660
10661 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * lyxrc.h:
10664         * lyxrc.C:
10665         * lyxfunc.C: remove display_shortcuts, show_banner
10666
10667 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * Buffer_pimpl.C: oops, update on resize
10670
10671 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10672
10673         * buffer.C:
10674         * converter.C:
10675         * exporter.C:
10676         * lyxfunc.C:
10677         * BufferView.h:
10678         * BufferView.C: use repaint()
10679
10680         * BufferView_pimpl.h:
10681         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10682           as it's a clearer description. Remove superfluous
10683           redraws.
10684
10685 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * text.C: fix bug 488. Not ideal, but getting
10688           getWord() to work properly for the insets that
10689           matter is more difficult ...
10690
10691 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * BufferView_pimpl.C:
10694         * LyXAction.C:
10695         * commandtags.h:
10696         * lyxfunc.C: remove the six million index lyxfuncs to just
10697           one, and DTRT (bug 458)
10698
10699 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * BufferView.h:
10702         * BufferView.C:
10703         * BufferView_pimpl.h:
10704         * BufferView_pimpl.C: clean up resize() stuff,
10705           and unnecessary updateScreen()s
10706
10707 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10708
10709         * BufferView.h:
10710         * BufferView.C:
10711         * BufferView_pimpl.h:
10712         * BufferView_pimpl.C:
10713         * lyxfind.h:
10714         * lyxfind.C:
10715         * minibuffer.C: remove focus management of workarea,
10716           not needed. Use screen's greyOut()
10717
10718 2002-06-17  Herbert Voss  <voss@lyx.org>
10719
10720         * converter.C: (convert) do not post a message, when converting
10721         fails, let the calling function decide what to do in this case
10722
10723 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * lyxfunc.C: tidy up a little
10726
10727 2002-06-16    <alstrup@diku.dk>
10728
10729         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10730         Got rid of FORMS_H_LOCATION include. Now we are
10731         GUII.
10732
10733 2002-06-15  LyX Development team  <lyx@rilke>
10734
10735         * buffer.[Ch] (sgmlOpenTag):
10736         (sgmlCloseTag): Added support for avoiding pernicious mixed
10737         content. Return number of lines written.
10738
10739         (makeLinuxDocFile):
10740         (makeDocBookFile): Fixed calls to sgml*Tag.
10741         Simple white space clean.
10742
10743         (simpleDocBookOnePar): Simple white space clean.
10744
10745         * tabular.[Ch] (docBook): Renamed to docbook and got another
10746         argument to related with the pernicious mixed content.
10747
10748         (docbookRow): Fixed calls for docbook inset method.
10749
10750 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10751
10752         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10753         so it's X11 independent.
10754
10755         * kb*.[Ch]: ditto.
10756
10757         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10758
10759 2002-06-15  Lyx Development team  <lyx@electronia>
10760
10761         * intl.h: Renamed getTrans to getTransManager.
10762
10763 2002-06-14  Angus Leeming  <leeming@lyx.org>
10764
10765         * Makefile.am: nuke forgotten stl_string_fwd.h.
10766
10767 2002-06-12  Angus Leeming  <leeming@lyx.org>
10768
10769         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10770
10771 2002-06-13  Angus Leeming  <leeming@lyx.org>
10772
10773         * LaTeX.C:
10774         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10775
10776 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10777
10778         * kbmap.C (getiso): add support for cyrillic and greek
10779
10780 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * BufferView.h:
10783         * BufferView.C:
10784         * BufferView_pimpl.h:
10785         * BufferView_pimpl.C: move bogus scrolling logic
10786           to xforms
10787
10788 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * lyxfunc.C:
10791         * BufferView_pimpl.C: view->resize() change
10792
10793 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * BufferView_pimpl.C: topCursorVisible
10796           prototype change
10797
10798 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * Makefile.am:
10801         * lyx_gui.h:
10802         * lyx_gui.C: move to frontends/
10803
10804         * main.C:
10805         * lyx_main.h:
10806         * lyx_main.C: changes from above
10807
10808 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * intl.C:
10811         * intl.h:
10812         * kbmap.C:
10813         * kbsequence.C:
10814         * lyx_cb.C:
10815         * lyx_main.C: minor tidy
10816
10817 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * BufferView_pimpl.h:
10820         * BufferView_pimpl.C:
10821         * BufferView.h:
10822         * BufferView.C: make painter() const,
10823           remove dead code
10824
10825         * BufferView2.C: use screen() accessor
10826
10827         * lyx_main.h:
10828         * lyx_main.C: some minor cleanup
10829
10830 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * BufferView_pimpl.h:
10833         * BufferView_pimpl.C: remove enter/leaveView,
10834           use workHeight()
10835
10836 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * BufferView.h:
10839         * BufferView.C:
10840         * BufferView2.C:
10841         * BufferView_pimpl.h:
10842         * BufferView_pimpl.C: only construct screen once,
10843           rename
10844
10845         * lyxrc.C: remove pointless comment
10846
10847 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10848
10849         * BufferView.h:
10850         * BufferView.C: remove active() and belowMouse()
10851
10852         * BufferView_pimpl.h:
10853         * BufferView_pimpl.C: use workarea() not workarea_,
10854           and make it use a scoped_ptr instead
10855
10856 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * lyx_gui.C: add debug message on BadWindow
10859
10860 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10861
10862         * sp_spell.C: fdopen is not part of the C++ standard.
10863
10864         * paragraph.C (InsetIterator): use >= instead of ==
10865
10866 2002-06-07  Angus Leeming  <leeming@lyx.org>
10867
10868         Fixes needed to compile with Compaq cxx 6.5.
10869         * BufferView_pimpl.C:
10870         * DepTable.C:
10871         * buffer.C:
10872         * converter.C:
10873         * encoding.C:
10874         * lyx_gui.C:
10875         * lyx_main.C:
10876         * lyxtextclasslist.C:
10877         * minibuffer.C:
10878         * sp_spell.C:
10879         * tabular_funcs.C:
10880         * vc-backend.C:
10881         all c-library variables have been moved into namespace std. Wrap
10882         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10883
10884         * lyxlength.C:
10885         * tabular-old.C:
10886         * tabular.C:
10887         Add a using std::abs declaration.
10888
10889         * kbmap.h (modifier_pair):
10890         * paragraph.h (InsetTable, InsetList):
10891         * lyxfont.h (FontBits):
10892         type definition made public.
10893
10894         * bufferlist.C (emergencyWriteAll): the compiler complains that
10895         there is more than one possible lyx::class_fun template to choose from.
10896         I re-named the void specialisation as lyx::void_class_fun.
10897
10898         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10899
10900         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10901         the compiler is is unable to find tostr in write_attribute.
10902
10903 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10904
10905         * buffer.C (sgmlError): hide #warning
10906
10907 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * xtl/*: get rid of xtl, which is not in use anyway
10910
10911         * LyXAction.C (init):
10912         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10913         were unimplemented xtl experimentation
10914
10915 2002-06-04  André Pönitz <poenitz@gmx.net>
10916
10917         * lyxfunc.C: disable array operation on simple formulae
10918
10919 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * converter.C: constify a bit
10922
10923 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10924
10925         * lyx_gui.C: check xforms version correctly
10926
10927 2002-04-30  Herbert Voss  <voss@lyx.org>
10928
10929         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10930         "keep" option
10931
10932 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10933
10934         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10935           attempt to register it with a VCS)
10936
10937 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10938
10939         * lyx_main.C (init): honor variables LYX_DIR_13x and
10940         LYX_USERDIR_13x
10941
10942 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * buffer.h:
10945         * buffer.C:
10946         * lyx_main.C: fix a crash on bad command line,
10947           and give a useful exit status on error
10948
10949         * lyxfunc.C (doImport): allow -i lyx to work
10950
10951 2002-03-30  André Pönitz <poenitz@gmx.net>
10952
10953         * lyxfunc.C: mathed font changes
10954
10955 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * LaTeX.C:
10958         * importer.h:
10959         * importer.C:
10960         * lyx_sty.h:
10961         * lyx_sty.C:
10962         * lyxlex.C:
10963         * lyxrow.h:
10964         * lyxtext.h:
10965         * paragraph.h:
10966         * paragraph.C:
10967         * texrow.h:
10968         * texrow.C:
10969         * text.C:
10970         * trans_mgr.h: srcdocs, and some minor cleanups
10971
10972 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10975         call getFont all the time)
10976
10977 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10978
10979         * switch from SigC signals to boost::signals
10980
10981 2002-05-29  André Pönitz <poenitz@gmx.net>
10982
10983         * paragraph_pimpl.C (getChar): don't call size() too often...
10984
10985 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10986
10987         * paragraph_pimpl.C (insertChar): do not try to update tables when
10988         appending (pos == size())
10989
10990         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10991         in order to reduce drastically the number of comparisons needed to
10992         parse a large document
10993
10994 2002-05-29  André Pönitz <poenitz@gmx.net>
10995
10996         * text.C:
10997         * text2.C:
10998         * lyxtextclass.C:
10999         * sp_pspell.h:
11000         * textclasslist.[Ch]:
11001         * sp_ispell.h: whitespace change
11002
11003 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11004
11005         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11006         lyxaction directly now.
11007
11008 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11009
11010         * trans.C:
11011         * lyxfont.C:
11012         * lyxvc.C: remove unused headers
11013
11014 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * Makefile.am:
11017         * buffer.h:
11018         * undostack.h:
11019         * undostack.C:
11020         * undo_funcs.h:
11021         * undo_funcs.C: some cleanups. Use shared_ptr
11022           and a template for the undo stacks.
11023
11024 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * BufferView_pimpl.h:
11027         * BufferView_pimpl.C:
11028         * kbmap.h:
11029         * kbmap.C:
11030         * kbsequence.h:
11031         * kbsequence.C:
11032         * lyxfunc.h:
11033         * lyxfunc.C:
11034         * text2.C: use key_state/mouse_state
11035
11036 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11037
11038         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11039         and LSubstring
11040
11041         * chset.C: change include order
11042         (loadFile): use boost regex and get rid of LRegex and LSubstring
11043
11044         * Makefile.am (BOOST_LIBS): new variable
11045         (lyx_LDADD): use it
11046
11047         * LaTeX.C: change include order.
11048         (scanAuxFile): use boost regex and get rid of LRegex and
11049         LSubstring
11050         (deplog): ditto
11051
11052 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * ColorHandler.h:
11055         * ColorHandler.C:
11056         * FontInfo.h:
11057         * FontInfo.C: moved to frontends/xforms/
11058
11059         * FontLoader.h:
11060         * FontLoader.C: moved into frontends for GUIIzation
11061
11062         * Makefile.am:
11063         * lyx_gui.C:
11064         * lyxfont.C:
11065         * lyxfunc.C: changes from above
11066
11067 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * LColor.C: remove spurious X include
11070
11071         * BufferView_pimpl.C:
11072         * Makefile.am:
11073         * font.h:
11074         * font.C:
11075         * text.C:
11076         * text2.C: move font metrics to frontends/
11077
11078 2002-05-24  Juergen Vigna  <jug@sad.it>
11079
11080         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11081         setting the undo_cursor.
11082
11083         * ParagraphParameters.h: include local includes first.
11084
11085 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11086
11087         * BufferView_pimpl.C:
11088         * BufferView_pimpl.h:
11089         * Makefile.am:
11090         * WorkArea.h:
11091         * WorkArea.C:
11092         * screen.C: move WorkArea into frontends/
11093
11094         * lyxscreen.h:
11095         * screen.C:
11096         * text.C:
11097         * BufferView.C:
11098         * BufferView2.C: move LyXScreen into frontends/
11099
11100         * lyxlookup.h:
11101         * lyxlookup.C:
11102         * lyx_gui.C: move lyxlookup into frontends/xforms/
11103
11104 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * BufferView2.C:
11107         * BufferView_pimpl.C:
11108         * FontLoader.C:
11109         * LyXView.h:
11110         * LyXView.C:
11111         * Makefile.am:
11112         * WorkArea.C:
11113         * XFormsView.h:
11114         * XFormsView.C:
11115         * buffer.C:
11116         * bufferlist.C:
11117         * bufferview_funcs.C:
11118         * converter.C:
11119         * importer.C:
11120         * lyx_cb.C:
11121         * lyx_gui.C:
11122         * lyx_main.C:
11123         * lyx_find.C:
11124         * lyxfunc.C:
11125         * lyxvc.C:
11126         * minibuffer.C:
11127         * text.C:
11128         * text2.C:
11129         * trans.C:
11130         * vc-backend.C: move LyX/XFormsView into frontends/
11131
11132 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * Makefile.am:
11135         * PainterBase.C:
11136         * PainterBase.h:
11137         * Painter.C:
11138         * Painter.h:
11139         * WorkArea.C:
11140         * WorkArea.h:
11141         * screen.C:
11142         * tabular.C:
11143         * text.C:
11144         * text2.C: move Painter to frontends/
11145
11146 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * buffer.C: comment out some some code that depend upon lyx_format
11149         < 220
11150
11151         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11152         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11153
11154         * buffer.h (NO_COMPABILITY): turn off compability
11155
11156         * ColorHandler.C: include scoped_array.hpp
11157
11158         * font.C: Use more specific smart_ptr header.
11159         * Painter.C: ditto
11160         * gettext.C: ditto
11161         * ShareContainer.h: ditto
11162         * lyx_main.h: ditto
11163         * kbmap.h: ditto
11164         * FontInfo.h: ditto
11165         * BufferView_pimpl.h: ditto
11166         * ColorHandler.h: ditto
11167
11168         * kbmap.C (defkey): change call to shared_ptr::reset
11169
11170 2002-05-21  Juergen Vigna  <jug@sad.it>
11171
11172         * buffer.C (insertErtContents): fix to insert ert asis if it is
11173         non empty. Skip it completely if it contains only whitespaces.
11174
11175 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * BufferView_pimpl.C:
11178         * BufferView2.C: clear selection on paste (bug 393)
11179
11180 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11181
11182         * DepTable.C: include ctime
11183
11184 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11185
11186         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11187
11188 2002-05-14  Juergen Vigna  <jug@sad.it>
11189
11190         * text.C (breakParagraph): fixed function to honor the keepempty
11191         layout in the right maner and also to permit the right breaking
11192         algorithm on empty or non empyt keepempty paragraphs.
11193
11194         * paragraph.C (breakParagraph): we have to check also if the par
11195         is really empty (!size()) for isempty otherwise we do the wrong
11196         paragraph break.
11197
11198 2002-05-10  Juergen Vigna  <jug@sad.it>
11199
11200         * buffer.[Ch] : The following are only changes to the ert
11201         compatibility read reading old LaTeX layout and font stuff and
11202         convert it to ERTInsets.
11203
11204         * buffer.h: added isErtInset().
11205
11206         * buffer.C (struct ErtComp): add a fromlayout bool to check
11207         if we're inside a LaTeX layout.
11208         (isErtInset): new helper function.
11209         (insertErtContents): look for other ert insets before this one
11210         and insert the contents there, so that we don't have subsequent
11211         ERT insets with nothing between them. This way we create only one
11212         inset with multiple paragraphs. Also check if we don't insert only
11213         spaces ' ' as they are ignored anyway afterwards in the .tex file
11214         so if we have only spaces we will ignore this latex part in the
11215         new file.
11216         (parseSingleLyXformat2Token \\layout): better compatibility when
11217         reading layout-latex stuff.
11218         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11219         language tag.
11220         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11221         stuff after reading the inset only get the information back from
11222         the stack.
11223
11224 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11225
11226         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11227
11228         * LaTeXFeatures.C (getBabelOptions): New method.
11229
11230 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11231
11232         * BufferView_pimpl.C (Dispatch): work around missing argument for
11233         'layout'
11234
11235 2002-05-08  Juergen Vigna  <jug@sad.it>
11236
11237         * text.C (leftMargin): handle paragraph leftindent.
11238
11239         * paragraph.C (writeFile): write the new \\leftindent tag.
11240         (validate): handle leftindent code.
11241         (TeXEnvironment): handle paragraphleftindent code again.
11242
11243         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11244
11245         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11246         for paragrap_extra indent code and new token \\leftindent.
11247         (latexParagraphs): handle the leftindent as environment.
11248
11249         * ParameterStruct.h: added leftindent support.
11250
11251         * ParagraphParameters.C (leftIndent): added support functions for
11252         the paragraph left indent.
11253
11254         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11255         more appropriate.
11256
11257 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11258
11259         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11260         inside insetERT.
11261
11262         * text.C (computeBidiTables): No bidi in insetERT.
11263
11264         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11265         in RTL documents.
11266
11267 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11268
11269         * version.C.in: pre 5
11270
11271 2002-05-02  José Matos  <jamatos@fep.up.pt>
11272         * buffer.C (makeDocBookFile): white space changes, add newline to
11273         command styles.
11274         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11275
11276         * tabular.C (docBook): fix typo.
11277
11278 2002-05-03  Juergen Vigna  <jug@sad.it>
11279
11280         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11281         change in LyXText as we can not be sure it was not freed.
11282         (drawOneRow): remove unused code.
11283
11284         * text.C (drawInset): redo the calculation of the need_break_row as
11285         it could have a row which was already freed.
11286         (draw): look at the return value of drawInset and return false if
11287         it also returned false.
11288         (paintRowText): look at the return value of draw and return false if
11289         it also returned false.
11290
11291         * lyxtext.h: added bool return type to drawInset() and draw() so that
11292         if we have a change in the row so that the rowbreak has to be redone
11293         we abort drawing as it will be called again.
11294
11295 2002-05-02  Juergen Vigna  <jug@sad.it>
11296
11297         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11298         a change in the maintext also if we're inside an inset.
11299         (Dispatch): set the cursor again after a break line and after the
11300         screen has been updated as it could be we're in a different row.
11301
11302         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11303         to set the cursor behind the pargraph with > size().
11304         (setCursor): check also for the same paragraph when checking where
11305         to put the cursor if we have a NFR inset.
11306
11307         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11308         parts of layout read further up as it still was in the wrong
11309         position.
11310
11311 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11312
11313         * screen.C (drawFromTo): change sine fullRebreak always return
11314         true.
11315
11316         * buffer.C (parseSingleLyXformat2Token): reindent some
11317
11318         * BufferView_pimpl.C (update): change since fullRebreak always
11319         return true.
11320         (Dispatch): git rid of the last hardcoded "Standard"s.
11321
11322 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11323
11324         * text2.[Ch] (fullRebreak): make it return void now that we always
11325         returned true.
11326
11327 2002-04-30  Juergen Vigna  <jug@sad.it>
11328
11329         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11330         ert compatibility check for "latex" layout.
11331
11332 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11333
11334         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11335         minipages: use col% instead of p%, and also use the current font.
11336         (makeLaTeXFile): Fix use babel condition.
11337         (parseSingleLyXformat2Token): Correct font when reading old floats.
11338
11339 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11340
11341         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11342         inserting list of floats.
11343
11344 2002-04-25  Herbert Voss  <voss@lyx.org>
11345
11346         * MenuBackend.C (expand): don't add the graphics extensions to the
11347         export menu
11348
11349 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11352         non-existing layout, do not complain if it was the default layout
11353         of the original class (bug #342)
11354
11355 2002-04-24  Juergen Vigna  <jug@sad.it>
11356
11357         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11358         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11359
11360 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11361
11362         * buffer.C (getBibkeyList): If using \bibliography, return the
11363         option field with the reference itself. Enables us to provide natbib
11364         support when using \bibliography.
11365
11366 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11367
11368         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11369
11370         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11371         natbib is provided by the LaTeX class.
11372
11373 2002-04-23  Juergen Vigna  <jug@sad.it>
11374
11375         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11376         Wakeup functions.
11377
11378         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11379
11380 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11381
11382         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11383
11384         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11385         ensuremath around textordmasculine, textordfeminine and
11386         textdegree.
11387
11388 2002-04-19  Juergen Vigna  <jug@sad.it>
11389
11390         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11391         reinitializing the buffer otherwise row-dimensions may be wrong.
11392         (update): reset also the selection cursors if they do exits otherwise
11393         their x/y positions may be wrong.
11394
11395         * text2.C (cursorDown): don't enter the inset if we came from a row
11396         above and are one row over the inset.
11397
11398         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11399         really leaving an inset.
11400
11401 2002-04-18  Juergen Vigna  <jug@sad.it>
11402
11403         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11404         of the selected paragraph does not have the selected layout also if
11405         the last one had!
11406
11407         * text2.C (setLayout): fixed bug which did not change last selected
11408         paragraph.
11409
11410         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11411         changed the read and substituted \\end_float with \\end_inset!
11412
11413         * BufferView_pimpl.C (cursorPrevious):
11414         (cursorNext): fixed to make it work with rows heigher than the work
11415         area without moving the cursor only the draw of the row.
11416         (workAreaMotionNotify): fix jumping over high rows.
11417
11418 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11419
11420         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11421         Ressler.
11422
11423 2002-04-16  Juergen Vigna  <jug@sad.it>
11424
11425         * text2.C (setCursor): set also the irow().
11426         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11427         (cursorUp):
11428         (cursorDown): support for locking an inset if the x_fix value goes
11429         inside it. That way I can transverse insets too with cursor up/down.
11430
11431         * lyxrow.h: added irow helper function same as other (i) functions.
11432
11433         * BufferView_pimpl.C (cursorPrevious):
11434         (cursorNext): fixed for insets!
11435
11436 2002-04-15  Juergen Vigna  <jug@sad.it>
11437
11438         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11439         position otherwise it is wrong in some cases.
11440
11441         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11442         inside the inset before the call.
11443
11444 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11445
11446         * buffer.[Ch] (getBibkeyList): make it const.
11447
11448 2002-04-12  Juergen Vigna  <jug@sad.it>
11449
11450         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11451
11452         * text2.C (getCursorX): new helper function
11453         (setCursor): compute also ix_
11454         (setCursorFromCoordinates): set also ix.
11455
11456         * lyxcursor.h: added ix_ and helper functions.
11457
11458         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11459
11460         * buffer.C (insertStringAsLines): dont break paragraph if the this
11461         paragraph is inside an inset which does not permit it!
11462
11463         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11464         also with no chars on this paragraph.
11465         (paintRowText): only paint stuff if it's inside the workarea!
11466
11467         * paragraph.C (breakParagraph): honor keepempty flag and break the
11468         paragraph always below not above.
11469
11470         * BufferView2.C (unlockInset): update the paragraph layout on inset
11471         unlock as we changed paragraph in such a case.
11472
11473         * lyxfind.C (LyXFind): clear the former selection if not found!
11474
11475         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11476         again called in insertChar().
11477
11478         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11479         an inset which uses the whole row!
11480         (rightMargin): ditto.
11481         (insertChar): force a rebreak if we inserted an inset!
11482
11483 2002-03-28  Herbert Voss  <voss@lyx.org>
11484
11485         * lyxlength.[Ch]: add inBP() to get the right PS-point
11486         units (BigPoint). With inPixels we have rounding errors
11487
11488 2002-04-11  Juergen Vigna  <jug@sad.it>
11489
11490         * text2.C (setCursorFromCoordinates): set iy to the right value.
11491         (setCursor): add check if row->previous exists!
11492
11493         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11494         an old float_type as this was the case in the old code!
11495
11496         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11497
11498         * BufferView2.C (showLockedInsetCursor): use iy
11499         (fitLockedInsetCursor): ditto
11500
11501         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11502         locked insets as there we have the right value now.
11503
11504         * lyxcursor.C: added iy_ variable and iy functions to set to the
11505         baseline of cursor-y of the locked inset.
11506
11507         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11508         (setCursor): fixed for insets which need a full row.
11509
11510         * text.C (rowLastPrintable): don't ignore the last space when before
11511         an inset which needs a full row.
11512         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11513         as last character of a row when before a inset which needs a full row.
11514
11515 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * version.C.in: update date
11518
11519         * text2.C (fullRebreak): try to always return true and see what
11520         happens...
11521
11522 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11523
11524         * MenuBackend.C (expand): use Floating::listName
11525
11526         * FloatList.C (FloatList): add listName argument to the built-in
11527         floats
11528
11529         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11530         text associated with the float.
11531
11532 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11535
11536 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11537
11538         * ShareContainer.h: add a couple of missing typenames.
11539
11540 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11541
11542         * lyxrc.C (getDescription): use _() correctly rather than N_().
11543
11544 2002-03-28  Herbert Voss  <voss@lyx.org>
11545
11546         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11547         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11548
11549 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11550
11551         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11552         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11553
11554 2002-03-29  Juergen Vigna  <jug@sad.it>
11555
11556         * lyxfunc.C (dispatch): add a missing fitCursor call.
11557
11558         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11559         it was scrolled by a cursor move, so return the bool status.
11560
11561         * BufferView.C (fitCursor): return the bool flag also to the outside
11562         world as this is needed.
11563
11564         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11565
11566         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11567         call the edit() as it is not needed (and wrong) IMO.
11568         (workAreaButtonPress): set the screen_first variable before evt.
11569         unlock the inset as this may change screen_first and then we have
11570         a wrong y position for the click!
11571
11572 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11573
11574         * MenuBackend.C (expand): another translation that I missed
11575
11576 2002-03-28  Juergen Vigna  <jug@sad.it>
11577
11578         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11579
11580         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11581
11582 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11583
11584         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11585
11586         * MenuBackend.C (expand): fix export/view/update when there is no
11587         document open.
11588
11589 2002-03-27  Herbert Voss  <voss@lyx.org>
11590
11591         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11592         and text%
11593
11594 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11595
11596         * bufferview_funcs.C (currentState): only show paragraph number
11597         for is DEVEL_VERSION is set.
11598
11599         * lyxfunc.C (dispatch): put warning in INFO channel
11600
11601         * MenuBackend.C (expand): translate the name of floats
11602
11603         * FloatList.C (FloatList): mark the float names for translation
11604
11605         * converter.C (convert): use LibScriptSearch
11606
11607 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * MenuBackend.C (defaults): fix default menu (we might as well get
11610         rid of it...)
11611
11612 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11615         directory.
11616
11617 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11618
11619         * lyxvc.C: reorder includes.
11620
11621 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11624           properly
11625
11626 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11627
11628         * CutAndPaste.C: change layouts earlier on paste
11629           to avoid crashing when calling getFont()
11630
11631 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11632
11633         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11634         irritating #error.
11635
11636 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * WorkArea.C: remove 'Pending' debug message.
11639
11640         * most files: ws cleanup
11641
11642         * buffer.[Ch]: ws changes
11643
11644         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11645
11646 2002-03-21  Juergen Vigna  <jug@sad.it>
11647
11648         * tabular.C (SetMultiColumn): collapse also the contents of the
11649         cells and set the last border right. Added a Buffer const * param.
11650
11651 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11654         linking or not.
11655
11656 2002-03-19  Juergen Vigna  <jug@sad.it>
11657
11658         * text2.C (clearSelection): reset also xsel_cache.
11659
11660         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11661         where it needs to be called (John tells us to do so too :)
11662         (selectionLost): reset sel_cache.
11663
11664         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11665
11666 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11667
11668         * text2.C (setCursorIntern): put debuging code in INSETS channel
11669
11670 2002-03-19  André Pönitz <poenitz@gmx.net>
11671
11672         * lyxfunc.C: tiny whitespace change
11673
11674 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11675
11676         * ToolbarDefaults.C (init):
11677         * LyXAction.C (init):
11678         * commandtags.h:
11679         * BufferView_pimpl.C (Dispatch):
11680         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11681
11682 2002-03-19  Allan Rae  <rae@lyx.org>
11683
11684         * exporter.C (Export): removeAutoInsets before doing anything else.
11685         While I've just introduced a dependency on BufferView this really is
11686         the best place to clean the buffer otherwise you need to cleanup in
11687         a dozen places before calling export or cleanup in a dozen functions
11688         that export calls.
11689
11690         * converter.C (runLaTeX):
11691         (scanLog): Better handling of removeAutoInsets and screen updates.
11692
11693         * lyxfunc.C (dispatch): small whitespace changes
11694
11695 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11696
11697         * WorkArea.C (C_WorkAreaEvent): return a value.
11698         (event_cb): return 1 if we handled the event, 0 otherwise.
11699
11700         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11701
11702 2002-03-18  Juergen Vigna  <jug@sad.it>
11703
11704         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11705         (GetAdditionalWidth): ditto.
11706         (RightLine): ditto.
11707         (LeftLine): ditto.
11708
11709         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11710         inset if we're there actually (probably not used right now but this
11711         is the direction to go for unifying code).
11712         (paste): disable code to clear the selection.
11713
11714         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11715         inside an InsetText and move the check further up as it is in the
11716         wrong place.
11717
11718         * text2.C (pasteSelection): set a selection over the pasted text.
11719
11720 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11721
11722         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11723         and libgraphics to build on Cygwin.
11724
11725 2002-03-15  Juergen Vigna  <jug@sad.it>
11726
11727         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11728         inserting an Inset into the paragraph. I know this is not the best
11729         fix but we already use current_view in CutAndPaste so we will remove
11730         all of it's using at the same time.
11731
11732         * buffer.C (sgmlError): deactivated function till it is rewritten in
11733         the right mode, now it can create problems.
11734
11735         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11736         before accessing it.
11737
11738 2002-03-14  Juergen Vigna  <jug@sad.it>
11739
11740         * undo_funcs.C (textHandleUndo): do the right thing when updating
11741         the inset after the undo/redo.
11742
11743         * text2.C (setCursor): just some testcode for #44 not ready yet.
11744
11745         * undo_funcs.C (textHandleUndo): set the next() and previous()
11746         pointers of the paragraph to 0 before deleting otherwise we have
11747         problems with the Paragraph::[destructor].
11748
11749         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11750         on a paragraph insertion.
11751
11752 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * buffer.C (asciiParagraph): use += operator for char append to
11755         string.
11756
11757         * paragraph.C (getFontSettings): compare >= not just >
11758         (highestFontInRange): ditto
11759         (setFont): ditto
11760
11761 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * paragraph.C: change several algorithm to be more appripriate for
11764         the problem domain. This is lookip in FontList and in the InsetList.
11765
11766 2002-03-13  André Pönitz <poenitz@gmx.net>
11767
11768         * commandtags.h:
11769         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11770
11771 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * commandtags.h:
11774         * LyXAction.C:
11775         * lyxfunc.C:
11776         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11777
11778 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11779
11780         * Painter.C (display): anon helper function, adjust code for this
11781         change.
11782         (pixmap): remove function.
11783
11784         * Painter.h: remove private display variable.
11785
11786         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11787
11788 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11789
11790         * WorkArea.[Ch]: remove figinset_canvas cruft.
11791
11792 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11793
11794         * lyxtextclass.C (operator): add one item cache optimization.
11795
11796         * bufferlist.h: doxy changes
11797
11798         * bufferlist.C: ws changes
11799
11800         * DepTable.[Ch] (ext_exist): place const in the right spot.
11801
11802         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11803         call resizeInsets.
11804         (workAreaExpose): call resizeInsets when the with BufferView changes.
11805         (Dispatch): adjust for protectedBlank removal
11806         (specialChar): call updateInset if the insert went ok.
11807
11808         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11809         specialChar instead.
11810
11811         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11812
11813         * BufferView.h: doxy change
11814
11815         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11816
11817         * lyxtextclass.C (operator[]): remove non-const version
11818         (defaultLayout): remove non-const version
11819
11820 2002-03-12  Juergen Vigna  <jug@sad.it>
11821
11822         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11823         did resize the LyXText too.
11824
11825         * buffer.C (readLyXformat2): set layout information on newly allocated
11826         paragraphs.
11827
11828         * tabular.C (OldFormatRead): set layout information on the paragraph.
11829
11830 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11831
11832         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11833
11834 2002-03-11  Juergen Vigna  <jug@sad.it>
11835
11836         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11837         plainly wrong.
11838         (resizeCurrentBuffer): force also the insets to resize themselfes.
11839         (moveCursorUpdate): fixed up for InsetText.
11840
11841 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11842
11843         * commandtags.h:
11844         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11845         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11846         value of Dialogs::tooltipsEnabled().
11847         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11848
11849 2002-03-08  Juergen Vigna  <jug@sad.it>
11850
11851         * BufferView_pimpl.C (updateInset): update inset inside inset also
11852         if it isn't inside theLockingInset().
11853
11854 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11855
11856         * buffer.C (asciiParagraph): redo some of the word and line length
11857         handling.
11858         (getLists): look for Caption instead of caption.
11859
11860 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11861
11862         * buffer.C (Buffer): initialize niceFile to true
11863         (makeLaTeXFile):
11864         (makeLinuxDocFile):
11865         (makeDocBookFile): make sure niceFile is true on exit
11866
11867 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11868
11869         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11870
11871 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11872
11873         * LyXSendto.C: remove.
11874         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11875         * lyx_gui.C: remove now-redundant comment.
11876         * ColorHandler.h: remove forward declaration of class WorkArea.
11877         * lyxfunc.C: remove #include "WorkArea.h".
11878
11879 2002-03-07  Juergen Vigna  <jug@sad.it>
11880
11881         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11882         got moved away with the DEPM and also set the inset_owner always
11883         right which before could have been omitted.
11884
11885 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11886
11887         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11888         wanted layout is not found.
11889
11890 2002-03-07  Juergen Vigna  <jug@sad.it>
11891
11892         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11893
11894 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * paragraph.C (breakParagraph): use default layout not layout of
11897         prev paragraph.
11898         (Paragraph): clear ParagraphParameters.
11899
11900 2002-03-06  Juergen Vigna  <jug@sad.it>
11901
11902         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11903         otherwise it would not be a valid lenght. Fixed a special case in
11904         the minipage compatibility read where we end the document with a
11905         minipage.
11906
11907         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11908         was set as it could be 0 for InsetTexts first entry.
11909
11910 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11911
11912         * paragraph.C (writeFile): if layout is empty write out
11913         defaultLayoutName().
11914
11915         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11916         file without named layout we set layout to defaultLayoutName().
11917
11918 2002-03-06  Juergen Vigna  <jug@sad.it>
11919
11920         * CutAndPaste.C (copySelection): set layout for new paragraph.
11921
11922         * text.C (prepareToPrint): leave ERT inset left aligned
11923         (leftMargin): don't indent paragraphs inside ERT insets
11924
11925 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * paragraph.C (breakParagraph): dont call clear do the work manually
11928
11929         * paragraph.[Ch] (clear): remove function
11930
11931 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * paragraph.C (Paragraph): dont call clear, the work has already
11934         been done.
11935
11936         * lyxtextclass.C (operator): assert if n is empty
11937
11938         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11939         work manually instead.
11940
11941 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11942
11943         * BufferView_pimpl.C: protect selectionLost against text == 0
11944
11945 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * text.C (breakParagraph): fix a setting layout to '0' problem.
11948
11949 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11950
11951         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11952         final location of file, for the included files, and graphics.
11953
11954 2002-03-05  Juergen Vigna  <jug@sad.it>
11955
11956         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11957
11958 2002-03-04  Juergen Vigna  <jug@sad.it>
11959
11960         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11961
11962         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11963         last column of multicolumn cells.
11964         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11965
11966 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11967
11968         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11969         file if it doesn't go to a temporary file.
11970
11971         * buffer.C (sgmlOpenTag):
11972         (sgmlCloseTag):  remove extra newline insertion.
11973
11974 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11975
11976         * text.C (getRowNearY): comment out debug msg
11977
11978 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11979
11980         * text2.C: first -> first_y
11981
11982         * text.C (getRowNearY): add some attemts at a possible
11983         optimization, not working.
11984
11985         * tabular.[Ch]: add BufferParams to several function so that newly
11986         created paragraph can be initialized to he default layotu for the
11987         buffers textclass.
11988
11989         * tabular-old.C (ReadOld): add buf->params to call of Init
11990
11991         * screen.C: rename text->first to text->first_y
11992
11993         * paragraph.C (breakParagraph): always set layout in the broken
11994         paragraph
11995
11996         * lyxtextclass.C (Read): remove lowercase
11997         (hasLayout): ditto
11998         (operator): ditto
11999         (delete_layout): ditto
12000
12001         * lyxtext.h: rename first -> first_y
12002
12003         * lyxlayout.C (Read): remove lowercase
12004         (name): ditto
12005         (setName): ditto
12006         (obsoleted_by): ditto
12007
12008         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12009
12010         * buffer.C (insertErtContents): add params are to InsetERT
12011         (parseSingleLyXformat2Token): add code to check if a paragraphs
12012         layout really exist.
12013         (parseSingleLyXformat2Token): add params to several inset
12014         constructors
12015         (asciiParagraph): remove lowercase, do the layout comparisons with
12016         no_case
12017
12018         * BufferView_pimpl.C (cursorNext): first -> first_y
12019         (resizeCurrentBuffer): first -> first_y
12020         (updateScrollbar): first -> first_y
12021         (scrollCB): first -> first_y
12022         (workAreaMotionNotify): first -> first_y
12023         (workAreaButtonPress): first -> first_y
12024         (checkInsetHit): first -> first_y
12025         (cursorPrevious): first -> first_y
12026         (cursorNext): first -> first_y
12027         (Dispatch): add buffer_->params to severl inset contructors
12028
12029 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12030
12031         * lyxlayout.C (Read): remove some debug info that I forgot.
12032
12033         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12034         clean up the code slightly.
12035         (makeLinuxDocFile): ditto
12036         (makeDocBookFile): ditto
12037
12038         * text2.C: layout as string
12039
12040         * text.C: layout as string
12041
12042         * paragraph_pimpl.C: layout as string
12043
12044         * paragraph.[Ch]: layout as string
12045
12046         * lyxtextclasslist.[Ch]: layout as string
12047
12048         * lyxtextclass.[Ch]: layout as string
12049
12050         * lyxtext.h: layout as string
12051
12052         * lyxlayout.[Ch]: layout as string
12053
12054         * lyx_cb.C: layout as string
12055
12056         * bufferview_funcs.C: layout as string
12057
12058         * bufferparams.C: layout as string
12059
12060         * buffer.C: layout as string
12061
12062         * LyXView.[Ch]: layout as string
12063
12064         * LaTeXFeatures.[Ch]: layout as string
12065
12066         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12067
12068         * BufferView_pimpl.C: change current_layout to string, remove
12069         lyx::layout_type.
12070         (Dispatch):
12071         (smartQuote):
12072         (insertInset):
12073         (workAreaButtonRelease): layout as string
12074
12075         * BufferView2.C (unlockInset): adjust
12076
12077         * vspace.C (asLatexCommand): use an explict temp variable.
12078
12079 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * Makefile.am: use FRONTEND_*
12082
12083 2002-03-01  Juergen Vigna  <jug@sad.it>
12084
12085         * tabular.C (SetWidthOfMulticolCell): changed to something better
12086         I hope but still work in progress.
12087         (recalculateMulticolumnsOfColumn): renamed function from
12088         recalculateMulticolCells as it is more appropriate now.
12089         (SetWidthOfCell): calculate multicols better.
12090
12091 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12092
12093         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12094
12095         * lyxfunc.C (processKeySym): print sequence also if it is
12096         `deleted' (complete)
12097
12098         * kbsequence.C (print): print sequence even if it is deleted
12099         (complete would be a better word, actually).
12100
12101         * lyxfunc.C (dispatch): print complete options after a prefix key
12102
12103         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12104
12105 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12106
12107         * text2.C (setCharFont): eliminate setCharFont code duplication.
12108
12109 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12112         LFUN_TABULAR_FEATURE (bug #177)
12113
12114 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12115
12116         * Makefile.am: remove figure.h
12117
12118 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12119
12120         * Bufferview_pimpl.C:
12121         * CutAndPasteC:
12122         * LaTeX.C:
12123         * LyXSendto.C:
12124         * buffer.C:
12125         * bufferlist.C:
12126         * converter.C:
12127         * language.C:
12128         * lyxfunc.C:
12129         * lyxvc.C:
12130         * paragraph.C:
12131         * text.C:
12132         * text2.C: remove #include "lyx_gui_misc.h".
12133
12134         * LaTeX.C: added #include <cstdio>
12135
12136 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12137
12138         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12139         that the paragraph following this one can have.
12140
12141         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12142
12143         * vspace.C (asLatexCommand): fix bogus gcc warning
12144
12145         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12146
12147 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12148
12149         * text2.C (setLayout): get rid of redundant code
12150
12151 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12152
12153         * text2.C (incDepth): make sure depth cannot be increased beyond
12154         reasonable values.
12155
12156 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12157
12158         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12159         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12160
12161         * PainterBase.h (image):
12162         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12163         a LyXImage const *.
12164
12165 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * BufferView.C:
12168         * BufferView.h:
12169         * BufferView_pimpl.C:
12170         * BufferView_pimpl.h:
12171         * LaTeXFeatures.C:
12172         * LyXAction.C:
12173         * LyXView.C:
12174         * Makefile.am:
12175         * UpdateList.h:
12176         * UpdateList.C:
12177         * buffer.C:
12178         * figure.h:
12179         * figureForm.C:
12180         * figureForm.h:
12181         * figure_form.C:
12182         * figure_form.h:
12183         * lyx_cb.C:
12184         * lyx_gui.C:
12185         * lyx_gui_misc.C:
12186         * lyxfunc.C:
12187         * sp_base.h:
12188         * sp_ispell.h:
12189         * sp_pspell.h:
12190         * sp_spell.C: remove fig inset, and the crap house of
12191           cards that follows it
12192
12193 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12194
12195         * Makefile.am:
12196         * lyxserver.C:
12197         * os2_defines.h:
12198         * os2_errortable.h:
12199         * nt_defines.h: move .h into support/
12200
12201         * vms_defines.h: remove
12202
12203         * WorkArea.C: add space in debug output
12204
12205         * text2.C:
12206         * paragraph.C:
12207         * buffer.C: add WITH_WARNINGS
12208
12209         * vc-backend.h:
12210         * vc-backend.C:
12211         * bufferlist.C: s/retrive/retrieve/, add docs
12212
12213         * vspace.h:
12214         * vspace.C:
12215         * kbmap.h:
12216         * lyxlength.h:
12217         * lyxgluelength.h:
12218         * length_common.h:
12219         * chset.h:
12220         * chset.C: add docs
12221
12222         * lyxgui.C: add ID to X error handler
12223
12224         * lyxtestclass.c: fix typo
12225
12226 2002-02-26  Juergen Vigna  <jug@sad.it>
12227
12228         * tabular_funcs.C (write_attribute): changed so that some default
12229         attributes are not written at all.
12230         (getTokenValue): set default values before trying to read the
12231         value so we have the return value always set as default if we don't
12232         find the token we search for.
12233
12234         * tabular.C (Write): write bools as bools not as strings!
12235
12236 2002-02-22  Juergen Vigna  <jug@sad.it>
12237
12238         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12239         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12240
12241         * text.C (leftMargin): don't add an indent for paragraphs inside
12242         tabular cells (fix #208).
12243
12244 2002-02-21  José Matos  <jamatos@fep.up.pt>
12245
12246         * tabular.C (docBook): fixed support for long tables.
12247
12248 2002-02-20  Juergen Vigna  <jug@sad.it>
12249
12250         * text2.C (getFont): get the drawing font of the Inset if this
12251         paragraph is inside an inset (only important for InsetERT for now).
12252
12253         * buffer.C (insertErtContents): use new lanugage params in ERT
12254         constructor.
12255
12256         * CutAndPaste.C: commenting out seemingly uneeded code.
12257
12258 2002-02-19  Allan Rae  <rae@lyx.org>
12259
12260         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12261         Iterators might be simple to use but they also get invalidated.
12262         (removeAutoInsets): renamed saved cursor tracking variables and added
12263         some comments to clarify what everything does.
12264
12265 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12266
12267         * Chktex.C:
12268         * LaTeX.C:
12269         * LyXSendto.C:
12270         * converter.C:
12271         * lyx_cb.C:
12272         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12273         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12274
12275         * lyxfunc.C:
12276         * vc-backend.h: remove #include "support/syscall.h"
12277
12278         * LaTeX.C:
12279         * LyXSendto.C:
12280         * converter.C: rearrange #includes in Lars' approved fashion.
12281
12282         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12283         forward declare class Timeout in the header file.
12284
12285         * XFormsView.C: changes due to the above.
12286
12287         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12288         similar to LyXView.
12289
12290         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12291         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12292
12293 2002-02-18  José Matos  <jamatos@fep.up.pt>
12294
12295         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12296         insets contents.
12297
12298 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12299
12300         * a lot of small ws changes
12301         * add a lot of using std::XXX
12302         * use std construcs some places where approp.
12303         * use some exisint stuff from lyxfunctional where approp.
12304         * Make file changes to use partial linking (lets test this now...)
12305
12306 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12307
12308         * Chktex.C:
12309         * buffer.C:
12310         remove #include "support/syscontr.h" as it's redundant. Always has been.
12311
12312         * Chktex.C:
12313         * LaTeX.C:
12314         * LyXSendto.C:
12315         * converter.C:
12316         * lyx_cb.C:
12317         * vc-backend.C:
12318         change Systemcalls::System to Systemcalls::Wait and
12319         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12320         No change of functionality, just reflects the stripped down Systemcalls
12321         class.
12322
12323 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12324
12325         * debug.[Ch]: add a GRAPHICS type to the enum.
12326
12327 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12328
12329         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12330
12331         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12332         there is an inset.
12333
12334 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12335
12336         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12337         match the changes below.
12338
12339         * text2.C (toggleInset): if there is not editable inset at cursor
12340         position, try to see if cursor is _inside_ a collapsable inset
12341         and close it.
12342
12343 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12344
12345         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12346         document menu has a nice checkbox
12347
12348 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12349
12350         * lyxlength.C (asLatexString): change PW to output as percent of
12351         \textwidth.
12352
12353         * lengthcommon.C: change '%' to 't%'
12354
12355         * lyxfunc.C (dispatch): a few comments from Martin
12356
12357 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12358
12359         * WorkArea.h:
12360         * WorkArea.C:
12361         * BufferView_pimpl.h:
12362         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12363           the X selection.
12364
12365 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12366
12367         * vspace.C (inPixels): fix compiler warning
12368
12369 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12370
12371         * lyxfunc.C (getStatus): fix status message for disabled commands.
12372
12373 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * BufferView_pimpl.C: fix crash on close buffer
12376         during selection (#227)
12377
12378 2002-01-27  Herbert Voss  <voss@lyx.org>
12379
12380         * buffer.C: link old Figure to new graphic inset
12381
12382 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12383
12384         * FontLoader.C (getFontinfo): Change the latex font names in order
12385         to match the names of type1inst.
12386
12387 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12390
12391         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12392         (extchanged): ditto
12393         (ext_exist): ditto
12394         (remove_files_with_extension): ditto
12395         (remove_file): ditto
12396         (write): ditto
12397
12398         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12399         document is smaller than the work area height. Do not initialize
12400         static variables to 0.
12401
12402 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12403
12404         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12405
12406         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12407         LFUN_LAYOUT_PARAGRAPHS.
12408
12409         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12410         tabular. It is possible to provide a possible cell, which will
12411         typically be the actcell from the corresponding insettabular
12412
12413         * lyxfunc.C (getStatus): small cleanup; disable
12414         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12415         true
12416
12417 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12418
12419         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12420
12421         * paragraph.C (startTeXParParams):
12422         (endTeXParParams): new methods. The LaTeX code to
12423         start/end paragraph formatting
12424         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12425         empty (fixes bug #200)
12426
12427         * vspace.C (inPixels): adapt to the change below
12428         (inPixels): [later] more cleanups (remove unused variables)
12429
12430         * lyxlength.C (inPixels): change to use a width and a height as
12431         parameter.
12432
12433 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12434
12435         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12436         Replaced with \paperwidth
12437
12438         * DepTable.C (insert): add std:: qualifier
12439
12440 2002-01-18  Allan Rae  <rae@lyx.org>
12441
12442         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12443         updated also?
12444
12445         * text.C (drawInset): Turned out I didn't know enough about how
12446         rebreaking worked.  This fixes most of the redraw problems.  I see
12447         an occasional cursor trail when a line is broken now and the cursor
12448         placement can seem out by a few pixels also after a rebreak.
12449
12450 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * buffer.C (parseSingleLyXformat2Token): update because minipage
12453         width is now a LyXLength
12454
12455         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12456
12457         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12458         math insets
12459
12460 2002-01-17  Juergen Vigna  <jug@sad.it>
12461
12462         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12463
12464         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12465         is set correctly and the inset is updated correctly.
12466
12467 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12468
12469         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12470         the beginning of the loop.
12471
12472 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12473
12474         * lyxrc.C: improve help for use_scalable_fonts
12475
12476 2002-01-17  Allan Rae  <rae@lyx.org>
12477
12478         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12479
12480 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12481
12482         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12483         make sure to set their inset_owner to the right value (bug #171)
12484
12485 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12486
12487         * DepTable.h
12488         * DepTable.C: Implement mtime checking to reduce time spent doing
12489         CRCs.
12490
12491 2002-01-16  Juergen Vigna  <jug@sad.it>
12492
12493         * tabular.C (GetAdditionalHeight): one of error fixed.
12494
12495         * lyxrc.C (output): small fix in writing use_pspell.
12496
12497 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12498
12499         * sp_base.h: #include LString.h
12500
12501 2002-01-16  Allan Rae  <rae@lyx.org>
12502
12503         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12504         Can someone check this please?
12505
12506         * text.C (drawInset): It was possible that p.row would be removed by
12507         breakAgainOneRow upsetting a few other settings.  There may be another
12508         small tweak possible by setting need_break_row = 0 when p.row has been
12509         removed but I don't know enough about the logic here.
12510
12511 2002-01-15  Allan Rae  <rae@lyx.org>
12512
12513         * text.C (insertChar): removed conditional truism.
12514
12515         * BufferView2.C (removeAutoInsets): More tweaks.
12516         cur_par_prev could be a stray pointer.  Check for trailing empty line
12517         in case last line was cur_par and only had an error inset on it.
12518
12519 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12520
12521         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12522         absolute
12523
12524         * vc-backend.C (most methods):
12525         * exporter.C (Export):
12526         * converter.C (convert):
12527         (runLaTeX):
12528         * LyXSendto.C (SendtoApplyCB):
12529         * lyxfunc.C (dispatch):
12530         (menuNew):
12531         (open):
12532         (doImport):
12533         * lyx_cb.C (AutoSave):
12534         (InsertAsciiFile):
12535         * BufferView_pimpl.C (MenuInsertLyXFile):
12536         * buffer.C (runChktex): use Buffer::filePath().
12537
12538         * buffer.h: rename filename to filename_; rename filepath to
12539         filepath_ and make it private
12540         (filePath): new method
12541
12542         * buffer.C (writeFile): use fileName()
12543         (getLatexName):
12544
12545         * lyx_main.C (init): fix starting  of LyX when the binary is a
12546         link from so,ewhere else.
12547
12548         * minibuffer.C: include <cctype> for isprint
12549
12550 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12551
12552         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12553         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12554         name clash with InsetCollapsable's width function.
12555
12556 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12557
12558         * lastfiles.C: include <iterator>
12559
12560 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12561
12562         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12563         std::count.
12564
12565         * buffer.C (makeLaTeXFile): ditto.
12566         Also make loop operation more transparent.
12567
12568 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12569
12570         * ToolbarDefaults.C: remove trailing comma closing namespace.
12571
12572         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12573
12574         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12575         as in WorkArea.
12576
12577         * trans.C (Load): comment out unused variable, allowed.
12578
12579 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12580
12581         * minibuffer.[Ch] (append_char): new method to recieve input from the
12582         drop-down completion browser. If a key was pressed, then recieve this
12583         char and append it to the existing string.
12584         (peek_event): modify the positioning data passed to the completion
12585         browser so that it can be placed above the minibuffer rather than below.
12586 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12587
12588         * LyXAction.C (init): alloe error-next for readonly documents.
12589
12590         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12591         count.
12592
12593 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12594
12595         * bufferlist.C (readFile): create the buffer _after_ checking that
12596         the file exists.
12597
12598         * lyxfunc.C (verboseDispatch): fix handling of arguments
12599
12600         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12601
12602         * lyxrc.C: use string::erase() instead of initializing to "".
12603
12604
12605 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12606
12607         * BufferView_pimpl.h:
12608         * BufferView_pimpl.C:
12609         * WorkArea.h:
12610         * WorkArea.C:
12611         * text2.C: tell X when we have made a selection for copying
12612
12613 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12614
12615         * BufferView_pimpl.C (MenuInsertLyXFile):
12616         * lyxfunc.C (menuNew):
12617         (open):
12618         (doImport): add shortcuts to directory buttons
12619
12620         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12621         open a float)
12622
12623         * lyxfunc.C (setStatusMessage):
12624         (getStatusMessage): new methods
12625         (getStatus):use setStatusMessage instead of setErrorMessage
12626         (dispatch): when function is disabled, set error message here
12627         [instead of in getStatus previously]
12628
12629         * BufferView_pimpl.C (workAreaButtonRelease): update
12630         toolbar/menubar here too.
12631
12632 2002-01-13  Allan Rae  <rae@lyx.org>
12633
12634         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12635         Now seems indestructible.  Remaining task is to audit all other
12636         code affected by deleteEmptyParagraphMechanism.  One small quirk
12637         left is that an empty document with an error in the preamble can
12638         be made to report an error but no error box appears.  I don't know
12639         where it goes.
12640         (removeAutoInsets): Improved comments.
12641
12642 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * Thesaurus.h:
12645         * Thesaurus.C: update for Aiksaurus 0.14
12646
12647 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * text2.C (firstParagraph): removed member function, all uses
12650         replaces with ownerParagraph
12651         (redoParagraphs): here
12652         (updateInset): here
12653         (toggleAppendix): here
12654         * BufferView2.C (insertErrors): here
12655         (setCursorFromRow): here
12656
12657 2002-01-13  Allan Rae  <rae@lyx.org>
12658
12659         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12660         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12661         There is still a way to segfault this although you may have to do this
12662         multiple times: Have an InsetERT with an unknown command in it.
12663         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12664         <down-arrow>, <Enter> again, View->DVI, BANG!
12665
12666         * text2.C (setCursor):
12667         (deleteEmptyParagraphMechanism):
12668         * lyxtext.h (setCursor):
12669         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12670         Making use of the return value may help fix other bugs.
12671
12672 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12673
12674         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12675
12676         * LyXView.C (updateMenubar): call MenuBar::update here
12677         (updateToolbar): but not here
12678         (showState): do not update toolbar/menubar
12679
12680         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12681         should need to care about that.
12682
12683         * lyxfunc.C (verboseDispatch): simplify a bit
12684         (getStatus): have a version which takes a pseudoaction, and
12685         another which requires a (kb_action,string).
12686
12687         * LyXAction.C (retrieveActionArg): make it work also when action
12688         is not a pseudo-action.
12689         (getActionName): simplify a bit
12690         (helpText):
12691
12692 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * lyxfunc.C (verboseDispatch): new families of methods with
12695         several ways to specify a command and a bool to indicate whether
12696         the command name and shortcut should be displayed in minibuffer
12697         (eventually, we could extend that to a finer bitmask like
12698         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12699         (dispatch): the pristine dispatch command which just, well,
12700         dispatchs! Note it still sets its result to minibuffer; I'm not
12701         sure we want that.
12702
12703         * lyxfunc.h: remove setHintMessage
12704
12705         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12706
12707 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12708
12709         * BufferView_pimpl.C (specialChar): delete new inset if we have
12710         not been able to insert it.
12711
12712         * kbmap.C: revert to using int instead of kb_action, since all we
12713         are dealing with is pseudo-actions.
12714
12715         * LyXAction.C (searchActionArg): change to return int instead of
12716         kb_action, since the result is a pseudoaction.
12717
12718 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12719
12720         * buffer.C (insertErtContents): Fix (partially) the font bug.
12721
12722 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12723
12724         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12725         as the other one is broken on my machine!
12726
12727 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12728
12729         * commandtags.h:
12730         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12731
12732 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12733
12734         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12735         reflect their actual use. Provide compatibility code for older lyxrc
12736         files.
12737
12738         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12739         FL_NORMAL_STYLE.
12740         change names of popup font variables in line with the changes to lyxrc.C
12741
12742 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12743
12744         * buffer.C (asciiParagraph): avoid outputing a word twice after
12745         an inset.
12746
12747         * lyxrc.C (getDescription): document that document_path and
12748         template_path can be empty.
12749
12750 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * LaTeXFeatures.C (getMacros):
12753         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12754
12755         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12756
12757         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12758         getPackages.
12759         (getPackages): rename feature "floats" to "float". Use an array to
12760         iterate over 'simple' features (i.e. just a \usepackage). Add
12761         handling of "amsmath" (renamed from "amsstyle").
12762
12763 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12764
12765         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12766         features list.
12767
12768 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12769
12770         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12771         FuncStaus::FuncStatus & FuncStaus::some_method().
12772
12773 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12774
12775         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12776         of the func_satus stuff. Edited and massaged in various ways by
12777         JMarc.
12778
12779         * lyxfunc.C (getStatus): use FuncStatus
12780
12781 2002-01-08  Juergen Vigna  <jug@sad.it>
12782
12783         * text.C (nextBreakPoint): use function Inset::isChar().
12784
12785         * paragraph.C (TeXOnePar): use function
12786         Inset::forceDefaultParagraphs.
12787
12788         * buffer.C (latexParagraphs): use function
12789         Inset::forceDefaultParagraphs.
12790
12791 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12792
12793         * lyx_gui.C (init): set the style of the menu popups to
12794         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12795
12796 2002-01-07  Juergen Vigna  <jug@sad.it>
12797
12798         * text.C (setHeightOfRow): small fix
12799         (prepareToPrint): don't look at alignment if we don't have the place
12800         for doing it.
12801
12802 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12803
12804         * box.C: New file. Move the Box methods and functions out of box.h,
12805         following Lars' suggestion.
12806
12807 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12808
12809         * box.h: #include "support/LOstream.h", needed for inlined function.
12810
12811         * lyxtextclass.C:
12812         * lyxtextclasslist.C: added some using std declarations.
12813
12814 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12815
12816         * box.h: make signed dimensions to allow insets wider than
12817           the screen (bug #162)
12818
12819         * BufferView_pimpl.C: add some insetHit debug
12820
12821 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * vc-backend.C: add FIXME
12824
12825 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * lyxfunc.C (getStatus): enable code for showing math font status
12828         in toolbar/menu.
12829
12830 2002-01-07  Juergen Vigna  <jug@sad.it>
12831
12832         * text.C (nextBreakPoint): removed debug output not needed anymore.
12833
12834 2002-01-06  Juergen Vigna  <jug@sad.it>
12835
12836         * text.C (nextBreakPoint): fixed up this function we had this bug
12837         since ever but now hopefully we break row better.
12838         (insertChar): we have to check if an inset is the next char as it
12839         could now happen that a large inset is causing a break.
12840
12841 2002-01-05  Juergen Vigna  <jug@sad.it>
12842
12843         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12844         if it doesn't like to be drawed.
12845
12846 2002-01-04  Juergen Vigna  <jug@sad.it>
12847
12848         * BufferView2.C (lockInset): forgot to set a cursor.
12849
12850         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12851
12852 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12853
12854         * FormMathsPanel.C:
12855         * FormMathsPanel.h
12856         * MathsSymbols.C:
12857         * form_maths_panel.C:
12858         * form_maths_panel.h:
12859         * form_maths_panel.fd: implemented sub- and super- buttons in math
12860         panel.
12861
12862         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12863         (or ^ space) to be used as in TeX (req'd by André).
12864
12865         * lyxfunc.C: Allow ^ and _ again to be used both as
12866         super/subscript (mathed) and as themselves (in text).
12867
12868 2002-01-03  Allan Rae  <rae@lyx.org>
12869
12870         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12871         "LyX" or the filename of the current buffer if it has one.  This is a
12872         modified form of John Levon's patch.
12873
12874         * XFormsView.C (setWindowTitle): also set icon title.
12875
12876         * LyXView.h (setWindowTitle): signature changed.
12877         * XFormsView.h (setWindowTitle): ditto.
12878
12879 2002-01-02  Juergen Vigna  <jug@sad.it>
12880
12881         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12882
12883 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * screen.C (topCursorVisible): introduce a temp var for
12886         text->cursor.row(), handle the case where this row is null. (kindo
12887         hachish)
12888
12889         * text2.C (setCursor): add a couple of asserts.
12890
12891         * paragraph.h (inset_iterator): add -> operator
12892
12893         * paragraph.[Ch] (autoDeleteInsets): remove member function
12894
12895         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12896         cursor pos correctly and handle inset deletion by itself.
12897         (insertErrors): move iterator declaration out of for expression
12898
12899         * lyxtextclass.C: add <algorithm>
12900
12901         * Makefile.am: added the new files to sources, removed layout.C
12902
12903         * layout.C: removed file
12904
12905         * layout.h: remove LYX_DUMMY_LAYOUT
12906
12907         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12908         layout.
12909
12910         * lyxlayout.[Ch]:
12911         * lyxtextclass.[Ch]:
12912         * lyxtextclasslist.[Ch]: new files
12913
12914         * include order changes to a lot of files, also changes because of
12915         the six new files.
12916
12917 2001-12-27  Juergen Vigna  <jug@sad.it>
12918
12919         * buffer.C (asciiParagraph): more fixes.
12920
12921         * tabular.C (ascii): make ascii export support export of only the
12922         data separated by a column-delimiter.
12923         (ascii): better support for ascii export.
12924
12925         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12926
12927 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12928
12929         * tabular_funcs.C: use a "using std::getline" instead of the
12930         previous fix from Angus (necessary for cxx + lyxstring)
12931
12932 2001-12-24  Juergen Vigna  <jug@sad.it>
12933
12934         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12935
12936         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12937         problems. First check a minipage also if we have some ert-contents
12938         (not only on par->size(), second set the right depth of the paragraph
12939         on the relink to the root-paragraph-list!
12940
12941         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12942         which then did not anymore update the main paragraphs on undo/redo!
12943
12944 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12945
12946         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12947         code. Support all font-changing funcs (even those which are not in
12948         menu currently). Support for reporting font settings in
12949         mathed (disabled until Andre provides a function on mathed's side).
12950
12951         * func_status.h (toggle): small helper function to set toggle
12952         state on a flag.
12953
12954 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12955
12956         * tabular_funcs.C: getline -> std::getline
12957
12958 2001-12-21  Juergen Vigna  <jug@sad.it>
12959
12960         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12961         accessed and could be 0 (I couldn't generate this but it seems
12962         Michael could!).
12963
12964 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12967         * tabular_funcs.h: here and include iosfwd
12968
12969 2001-12-20  Juergen Vigna  <jug@sad.it>
12970
12971         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12972         inside inset but undo_par was.
12973
12974 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12975
12976         * Thesaurus.C: always include <config.h> in sources.
12977
12978         * Painter.h:
12979         * lyxlookup.h:
12980         * box.h: do not include <config.h> in header files
12981
12982         * text.C (paintLastRow): remove unused variable
12983
12984         * text.C (transformChar):
12985         (insertChar):
12986         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12987
12988         * Painter.C (text):
12989         * font.C (width): rewrite to use uppercase() instead of
12990         islower/toupper.
12991
12992         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12993
12994 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12995
12996         * lyxfind.C: clean up of find failure position change
12997
12998 2001-12-20  Juergen Vigna  <jug@sad.it>
12999
13000         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13001
13002         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13003         (TeXRow): added to LaTeX a single tabular row.
13004         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13005         (Latex): simplified and finally good LT-h/f support.
13006         (various_functions): just small adaptions for LT-h/f support.
13007
13008         * tabular_funcs.[hC]: added and moved here all not classfunctions
13009         of LyXTabular.
13010
13011 2001-12-19  Juergen Vigna  <jug@sad.it>
13012
13013         * tabular.[Ch]: better support for longtabular options (not finished
13014         yet!)
13015
13016 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13017
13018         * text.C (paintLastRow): use the label font instead of the font of
13019         the last character to compute the size of *_BOX. This makes more
13020         sense and avoids a crash with empty paragraphs.
13021         Use Painter::rectangle to draw EMPTY_BOX.
13022
13023 2001-12-19  Juergen Vigna  <jug@sad.it>
13024
13025         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13026         the paragraphs if the replaced paragraph is not the first one!
13027         Tried to delete not used paragraphs but does not work yet so for
13028         now it's inside #ifdef's and by default off!
13029
13030 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13031
13032         * MenuBackend.C: include "lyx_main.h" instead of declaring
13033         lastfiles (actually was declared as LastFiles* instead of a
13034         scoped_ptr).
13035
13036 2001-12-17  Juergen Vigna  <jug@sad.it>
13037
13038         * tabular.C (AppendColumn): applied John's fix
13039
13040 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13041
13042         * BufferView.h:
13043         * BufferView.C:
13044         * BufferView_pimpl.h:
13045         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13046
13047         * Makefile.am:
13048         * box.h: new start of class for above
13049
13050         * lyxfunc.C: ignore space-only minibuffer dispatches.
13051           Show the command name when it doesn't exist
13052
13053         * minibuffer.C: don't add empty lines to the history
13054
13055         * minibuffer.C: add a space on dropdown completion
13056
13057 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13058
13059         * text.C: fix line above/below drawing in insets
13060
13061 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * lyxlength.C (LyXLength): Initialize private variables.
13064
13065 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13066
13067         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13068         when inserting error insets.
13069
13070 2001-12-13  Juergen Vigna  <jug@sad.it>
13071
13072         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13073         actually sometimes the before-paragraph.
13074         (setUndo): don't clear the redostack if we're not actually undoing!
13075
13076 2001-12-06  Juergen Vigna  <jug@sad.it>
13077
13078         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13079         and fixed redoing of main paragraph, so we can use it now ;)
13080
13081         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13082
13083 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13086         Juergen's request
13087
13088 2001-12-13  André Pönitz <poenitz@gmx.net>
13089
13090         * undostack.[Ch]:
13091         * undo_func.C: minor cleanup
13092
13093 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13094
13095         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13096         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13097         font in urw-fonts package which is marked as -urw-fontspecific and
13098         does not work (incidentally, changing the encoding in the
13099         fonts.dir of this package to -adobe-fontspecific fixes the
13100         problem).
13101
13102         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13103         is a crash when undoing first paragraph (Juergen, please take a
13104         look). THis does not mean the undo fix is wrong, just that it
13105         uncovers problems.
13106
13107         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13108         the (Paragraph*) version when needed instead of duplicating the
13109         code.
13110
13111         * text.C (workWidth): use Inset::parOwner to find out where the
13112         inset has been inserted. This is a huge performance gain for large
13113         documents with lots of insets. If Inset::parOwner is not set, fall
13114         back on the brute force method
13115
13116         * paragraph_pimpl.C (insertInset):
13117         * paragraph.C (Paragraph):
13118         (cutIntoMinibuffer): set parOwner of insets when
13119         inserting/removing them
13120
13121         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13122
13123 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13124
13125         * commandtags.h:
13126         * LyXAction.C:
13127         * lyx_main.C:
13128         * lyxfunc.C:
13129         * mathed/formulabase.C:
13130         * mathed/math_cursor.[Ch]:
13131         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13132
13133
13134 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13135
13136         * lyxlength.[Ch] (operator!=): new function
13137
13138 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13139
13140         * text.C (workWidth): use Inset::parOwner to find out where the
13141         inset has been inserted. This is a huge performance gain for large
13142         documents with lots of insets. If Inset::parOwner is not set, fall
13143         back on the brute force method
13144
13145         * paragraph_pimpl.C (insertInset):
13146         * paragraph.C (Paragraph):
13147         (cutIntoMinibuffer): set parOwner of insets when
13148         inserting/removing them
13149
13150         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13151
13152 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13153
13154         * tabular-old.C (getTokenValue):
13155         * tabular.C (getTokenValue):
13156         (write_attribute): new versions for LyXLength
13157         (everywhere): adjust the use of widths
13158
13159         * tabular.h: change the type of widths from string to LyXLength
13160
13161 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13162
13163         * paragraph.C: fixed missing line number count when exporting
13164         Environments to LaTeX file
13165
13166         * buffer.C: added informational message for checking line numbers.
13167
13168 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13169
13170         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13171         paragraph, do the 'double space' part, but not the 'empty
13172         paragraph' one.
13173
13174         * text.C (workWidth): small optimization
13175         (getLengthMarkerHeight): use minimal size for negative lengths.
13176
13177 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13178
13179         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13180
13181         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13182
13183 2001-12-11  André Pönitz <poenitz@gmx.net>
13184
13185         * FontLoader.C:
13186         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13187
13188 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * text2.C: keep selection on a setFont()
13191
13192 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * lyx_cb.C: another bv->text misuse, from insert label
13195
13196 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13197
13198         * kbsequence.h:
13199         * kbsequence.C: re-instate nmodifier mask
13200
13201 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13202
13203         * lyx_main.h: make lyxGUI private.
13204
13205 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13206
13207         * lyxfind.C: place the cursor correctly on failed search
13208
13209 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13210
13211         * text.C (getLengthMarkerHeight): for small heights, the arrows
13212         are not always on top/bottom of the text
13213         (drawLengthMarker): smaller arrows; take the left margin in
13214         account; draw also vfills.
13215         (paintFirstRow):
13216         (paintLastRow): remove special code for vfill and standard spaces,
13217         since everything is handled in drawLengthMarker now.
13218
13219 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * buffer.C (insertErtContents): try to handle font and language
13222         interaction a bit better.g
13223
13224         * ColorHandler.C (updateColor): change the hash to cover the whole
13225         LColor enum, ws cleanup
13226         (getGCLinepars): ditto
13227         (getGCLinepars): only lookup in the linecache once.
13228
13229 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13230
13231         * iterators.C (operator++): Make the iterator more robust
13232
13233         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13234         (John's patch)
13235         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13236
13237 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13238
13239         * lyxtext.h:
13240         * text.C: better added space drawing
13241
13242 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13243
13244         * LyXView.C:
13245         * BufferView2.C: fix layout combo update on inset unlock
13246
13247 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * Makefile.am: don't compile unused files
13250
13251 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * lyxfunc.C:
13254         * commandtags.h:
13255         * LyXAction.C: remove old LFUN_LAYOUTNO
13256
13257 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13258
13259         * paragraph_pimpl.h:
13260         * paragraph_pimpl.C: isTextAt() doesn't need font param
13261
13262 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13263
13264         * lyxlex.h:
13265         * lyxlex.C: little cleanup
13266
13267 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * BufferView_pimpl.C: fix insertAscii for insets
13270
13271 2001-12-05  Juergen Vigna  <jug@sad.it>
13272
13273         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13274         set the right font on the "multi" paragraph paste!
13275
13276 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13277
13278         * trans_decl.h:
13279         * trans_mgr.[Ch]:
13280         * trans.[Ch]:
13281         * lyxgluelength.C:
13282         * lyxlength.C: remove out-commented code.
13283
13284         * BufferView_pimpl:
13285         * CutAndPaste.C:
13286         * DepTable.C:
13287         * buffer.C:
13288         * chset.C:
13289         * lastfiles.C:
13290         * lyxlex.C:
13291         * lyxlex_pimpl.C:
13292         * lyxserver.C:
13293         * screen.C:
13294         * tabular-old.C:
13295         * tabular.C:
13296         * text.C:
13297         * trans_mgr.C:
13298         * vc-backend.C: change "while(" to "while ("
13299
13300         * lyxlength.[Ch]: add zero function to check if length is zero or
13301         not
13302         * lyxgluelength.C: use it
13303
13304 2001-12-05  Allan Rae  <rae@lyx.org>
13305
13306         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13307         Works for 2.95.3, from what I understand of Garst's reports this should
13308         work for other g++ versions.  We're screwed if the abs(int) definition
13309         changed between bugfix releases of gcc.
13310
13311 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13312
13313         * text.C: fix chapter label offset !
13314
13315 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * lyxtext.h:
13318         * text.C: fix hfill at end of line, clean up
13319
13320 2001-12-04  Juergen Vigna  <jug@sad.it>
13321
13322         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13323         that we force an update of the inset and it's owners if neccessary.
13324
13325 2001-12-03  Juergen Vigna  <jug@sad.it>
13326
13327         * text.C (rowLast): simplified code
13328
13329 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * lyxfunc.C: fix show options on timeout
13332
13333 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * screen.C (topCursorVisible): scroll half a page when the cursor
13336         reached top of bottom of screen
13337
13338 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13339
13340         * minibuffer.C: deactivate on loss of focus
13341
13342 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * vspace.[Ch] (operator!=): add operator.
13345
13346 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * BufferView_pimpl.C: refuse to open an inset when
13349         there's a selection.
13350
13351 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13352
13353         * BufferView_pimpl.C: allow to click on RHS of full row insets
13354
13355 2001-11-30  Juergen Vigna  <jug@sad.it>
13356
13357         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13358         insets for undo reasons.
13359
13360 2001-11-28  André Pönitz <poenitz@gmx.net>
13361
13362         * vspace.[Ch]: cosmetical changes
13363
13364 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13365
13366         * LyXAction.h:
13367         * LyXAction.C:
13368         * lyxfunc.h:
13369         * lyxfunc.C:
13370         * kbmap.h:
13371         * kbmap.C:
13372         * lyxrc.C:
13373         * kbsequence.h:
13374         * kbsequence.C: part re-write of old kb code
13375
13376         * Painter.C:
13377         * WorkArea.C: remove Lgb_bug_find_hack
13378
13379 2001-11-30  José Matos <jamatos@fep.up.pt>
13380
13381         * buffer.C (makeDocBookFile): add a comment to point a hack.
13382         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13383         Fixed a double write of labels.
13384
13385 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13386
13387         * LaTeX.C:
13388         * LaTeX.h Fixed bug in LaTeX class where it would not
13389         re-run latex if no depfiles were changed, but the .dvi was removed.
13390
13391 2001-11-28  André Pönitz <poenitz@gmx.net>
13392
13393         * all the files from the change on 2001/11/26:
13394         use lyx::layout_type instead of LyXTextClass::size_type
13395         use lyx::textclass_type instead of LyXTextClassList::size_type
13396
13397 2001-11-29  Juergen Vigna  <jug@sad.it>
13398
13399         * text.C: added support for paragraph::isFreeSpacing()
13400
13401         * buffer.C: same as above
13402
13403         * paragraph.h: inserted isFreeSpacing() function to enable
13404         FreeSpacing inside InsetERT.
13405
13406         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13407         of the paragraph's in the cut/copy buffer to 0!
13408
13409         * text2.C (removeRow): remove the assert as it can!
13410
13411         * lyxtext.h: added helper function firstRow returning firstrow and
13412         made firstrow private again.
13413
13414         * BufferView2.C (lockInset): don't relock if we're already locked!
13415
13416         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13417         the only paragraph.
13418         (removeRow): added Assert::(firstrow)
13419
13420         * debug.C: forgot to add INSETTEXT here.
13421
13422 2001-11-28  Juergen Vigna  <jug@sad.it>
13423
13424         * sp_spell.C (initialize): changed error text to more general
13425         spellchecker command use (not only ispell!)
13426
13427         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13428
13429         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13430
13431 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13432
13433         * vspace.C: initialise lyxgluelength on failure
13434
13435 2001-11-28  Allan Rae  <rae@lyx.org>
13436
13437         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13438         declaration & definition that looks like a function declaration.
13439
13440 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13441
13442         * BufferView2.C (copy):
13443         (copyEnvironment): do not clear the selection when doing a copy.
13444
13445         * text.C (paintFirstRow): compilation fix
13446
13447 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13448
13449         * tabular.C (Latex): correct line count when writing latex.
13450
13451 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13452
13453         * paragraph_pimpl.h:
13454         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13455           bug a bit
13456
13457 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13458
13459         * text.C:
13460         * LColor.h:
13461         * LColor.C: change vfillline->added_space
13462
13463         * text.C: add markers and text for added space
13464
13465         * vspace.C: fix comment
13466
13467 2001-11-28  André Pönitz <poenitz@gmx.net>
13468
13469         * paragraph.C: whitespace changes
13470         * all the other files from the change on 2001/11/26:
13471         change *::pos_type into lyx::pos_type
13472
13473 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13474
13475         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13476         language of the document when inserting error insets.
13477
13478 2001-11-26  André Pönitz <poenitz@gmx.net>
13479
13480         * BufferView_pimpl.[Ch]:
13481         *       CutAndPaste.C:
13482         * buffer.[Ch]:
13483         * lyxcursor.[Ch]:
13484         * lyxfind.C:
13485         * lyxfunc.C:
13486         * lyxrow.[Ch]:
13487         * paragraph.[Ch]:
13488         * paragraph_pimpl.[Ch]:
13489         * sp_spell.C:
13490         * text.C:
13491         * text2.C: reduce header dependencies, introduce type for positions
13492
13493 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * <various>: change to use Alert.h
13496
13497 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13498
13499         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13500         when encountering an unknown token.
13501         (readLyXformat2): Show an error message if there were unknown tokens.
13502
13503 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * BufferView2.C:
13506         * BufferView_pimpl.C:
13507         * buffer.C:
13508         * paragraph.h:
13509         * text.C:
13510         * text2.C: use par->isInset()
13511
13512 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * paragraph_pimpl.h:
13515         * paragraph_pimpl.C: cleanup
13516
13517 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13518
13519         * text2.C (removeRow):
13520         * text.C (setHeightOfRow): remove useless (and costly) call to
13521         getRow.
13522
13523 2001-11-20  Allan Rae  <rae@lyx.org>
13524
13525         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13526         Now need Inset*::checkInsertChar() to return true for appropriate
13527         cases so that the characters in the minibuffer will actually be
13528         inserted.
13529
13530 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * text.C: change the order of the includes.
13533         (workWidth): initialize it at once.
13534         (workWidth): make maxw unsigned
13535         (setHeightOfRow): remove unused variable (inset)
13536         (selectSelectedWord): remove unused variable (inset)
13537         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13538
13539 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13542         server is not running.
13543         (openConnection):
13544         (closeConnection): add debug info when server is disabled.
13545
13546         * ColorHandler.C (getGCForeground): send debug message to GUI
13547         channel.
13548
13549         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13550
13551         * kbmap.C (bind): modify because return conventions of
13552         kb_sequence::parse have changed.
13553
13554         * kbsequence.C (parse): only ignore spaces and not any stupid
13555         control character. This avoids tests like s[i] <= ' ', which are
13556         guaranteed to fail with 8bit characters and signed chars.
13557         Change return code to string::npos when there have been no error
13558         (0 was a bad idea when error is at first character)
13559
13560 2001-11-14  José Matos  <jamatos@fep.up.pt>
13561
13562         * buffer.h:
13563         * buffer.C (simpleDocBookOnePar): removed unused argument.
13564
13565 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13566
13567         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13568         insets which are part of a word. Paragraph::isLetter takes care of
13569         that now. Use Paragraph::isInset to identify insets.
13570         (selectSelectedWord): do not test for hyphenation break.
13571
13572         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13573         that protected spaces are considered as spaces.
13574
13575         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13576         Inset::isLetter.
13577
13578 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13579
13580         * lyxserver.h:
13581         * lyxserver.C: fix it. and small cleanup.
13582
13583 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * BufferView_pimpl.C: use inline helpers
13586
13587         * LaTeXFeatures.h:
13588         * LaTeXFeatures.C: fix typos
13589
13590         * Spacing.h:
13591         * Spacing.C: move spacing_string into class
13592
13593         * ToolbarDefaults.C: move stuff into namespace anon
13594
13595         * layout.h: update enum
13596
13597         * lyxfunc.C: use better debug
13598
13599         * minibuffer.h: fix typo
13600
13601         * debug.h:
13602         * debug.C:
13603         * WorkArea.C: add and use Debug::WORKAREA
13604
13605         * lyxtext.h:
13606         * text.C:
13607         * text2.C: code re-organisation, inline helpers
13608
13609 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13610
13611         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13612         std::vector.empty().
13613
13614 2001-11-09  Allan Rae  <rae@lyx.org>
13615
13616         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13617         '\n's after tables.  Tabular and ERT inset work now makes this no
13618         longer necessary.
13619
13620 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13621
13622         * minibuffer.h:
13623         * minibuffer.C: fix crash, improve drop-down completion
13624
13625 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * lyxserver.h:
13628         * lyxserver.C: invalidate fd's when doing endPipe()
13629
13630 2001-11-08  José Matos  <jamatos@fep.up.pt>
13631
13632         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13633         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13634
13635         * paragraph.h:
13636         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13637
13638 2001-11-07  José Matos  <jamatos@fep.up.pt>
13639
13640         * buffer.h:
13641         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13642         const qualifier.
13643
13644         * buffer.C (sgmlOpenTag):
13645         * buffer.C (sgmlCloseTag): removed debug info.
13646
13647         * buffer.h (sgmlOpenTag):
13648         * buffer.h (sgmlCloseTag): made public.
13649
13650 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * buffer.C (saveParamsAsDefaults):
13653         * lyx_cb.C (MenuLayoutSave): remove
13654
13655         * LyXAction.C (init):
13656         * commandtags.h:
13657         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13658
13659 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13660
13661         * buffer.C (setPaperStuff): removed from here...
13662
13663         * bufferparams.C (setPaperStuff): ... and moved there.
13664
13665 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * minibuffer.h:
13668         * minibuffer.C:
13669         * XFormsView.C: add support for drop-down completion
13670
13671 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13672
13673         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13674         commands.
13675
13676 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13679         disabled.
13680
13681 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * lyx_main.C: change ref to known bugs
13684
13685 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13686
13687         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13688         to work around older babel problems.
13689
13690 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13691
13692         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13693
13694 2001-10-24  Juergen Vigna  <jug@sad.it>
13695
13696         * tabular-old.C (ReadOld): below variable changes reflected.
13697
13698         * tabular.[Ch]: added ltType struct for longtable header/footer
13699         defines and changed all instances where they are used. Added
13700         future support for double top/bottom rows.
13701
13702 2001-10-24  José Matos  <jamatos@fep.up.pt>
13703
13704         * buffer.h (docbookHandleCaption):
13705         * buffer.C (docbookHandleCaption): removed unused function.
13706         (makeDocBookFile): moved docbook supported version to v4.1.
13707
13708 2001-10-24  José Matos  <jamatos@fep.up.pt>
13709
13710         * tabular.h:
13711         * tabular.C (docbookRow): new function to export docbook code of a row.
13712         (DocBook): now honors the longtable flags.
13713
13714 2001-10-23  José Matos  <jamatos@fep.up.pt>
13715
13716         * LaTeXFeatures.h:
13717         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13718         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13719
13720         * buffer.C (makeLinuxDocFile):
13721         (makeDocBookFile): reworked the preamble, more clean, and with
13722         support for lyx defined entities. Changed the document declaration
13723         to be more XML friendly.
13724
13725         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13726         if we need to output XML that should be done with a filter.
13727
13728 2001-10-22  Juergen Vigna  <jug@sad.it>
13729
13730         * sp_pspell.h (class PSpell): add alive function needed in the
13731         controller to see if the spellchecker could be started.
13732
13733 2001-10-22  Juergen Vigna  <jug@sad.it>
13734
13735         * buffer.C (insertStringAsLines): modify the font for inserting
13736         chars in certain conditions by calling checkInsertChar(font).
13737
13738 2001-10-19  Juergen Vigna  <jug@sad.it>
13739
13740         * text.C (workWidth): use getRow instead of wrong algorithm.
13741         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13742
13743 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * lyxserver.h:
13746         * lyxserver.C:
13747         * lyx_main.h:
13748         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13749
13750 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13751
13752         * text.C (workWidth): do not search for the exact row when
13753         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13754         optimization for big documents.
13755
13756 2001-10-18  Juergen Vigna  <jug@sad.it>
13757
13758         * text.C (workWidth): new function with added Inset * parameter.
13759
13760 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13763
13764         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13765         change return type of getColumnNearX.
13766
13767
13768         * text.C (changeRegionCase): use uppercase/lowercase instead of
13769         toupper/tolower.
13770         (leftMargin):
13771         (rightMargin): simplify code by factoring out the uses of
13772         textclasslist.
13773         (labelFill):
13774         (numberOfHfills):
13775         (setHeightOfRow):
13776         (appendParagraph): use Paragraph::size_type
13777
13778 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13779
13780         * vspace.C (asLatexString): add a missing break
13781
13782 2001-10-15  Herbert Voss  <voss@perce.de>
13783
13784         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13785
13786 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13787
13788         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13789         is not available.
13790
13791 2001-10-10  André Pönitz <poenitz@gmx.net>
13792
13793         * lyxfunc.C: removed greek_kb_flag.
13794
13795 2001-10-10  Herbert Voss  <voss@perce.de>
13796
13797         * lyx_main.C: delete global string help_lyxdir.
13798
13799 2001-10-09  Herbert Voss  <voss@perce.de>
13800
13801         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13802
13803         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13804
13805         * lyx_main.C: added global string help_lyxdir.
13806
13807         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13808
13809 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13810
13811         * lyxrc.C (set_font_norm_type): support iso8859-4
13812
13813 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13814
13815         * LaTeX.C (deplog): add another regex for MikTeX
13816
13817 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13818
13819         * lyxrc.C (set_font_norm_type): support iso8859-3
13820
13821 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13824
13825         * LaTeXFeatures.C: remove special case of french and index
13826
13827         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13828         before \begin{document}). This solves several incompatibilities.
13829
13830 2001-10-03  Garst Reese  <reese@isn.net>
13831
13832         * lyx_cb.C: change CheckTex error msg.
13833
13834 2001-10-03  José Matos  <jamatos@fep.up.pt>
13835
13836         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13837
13838 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13839
13840         * .cvsignore: update
13841
13842         * lyx_main.C (commandLineVersionInfo): use new style version info.
13843
13844         * buffer.C (writeFile):
13845         (makeLaTeXFile):
13846         (makeLinuxDocFile):
13847         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13848
13849         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13850
13851         * version.h: update to use stuff in version.C
13852
13853         * version.C.in: new file. Contains version information determined
13854         at compile time. This is a merging of version.h and
13855         version_info.h.in.
13856
13857 2001-10-03  Juergen Vigna  <jug@sad.it>
13858
13859         * BufferView_pimpl.C (update): don't change "dirty" status in
13860         updateInset call.
13861
13862 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13863
13864         * WorkArea.C (c-tor): re-position version string slightly.
13865
13866 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13869         revert to previous code.
13870
13871         WorkArea.[Ch]: (show, destroySplash): methods removed.
13872
13873         WorkArea.C: rework code so that it's an amalgam of the codes before and
13874         after the splash screen was moved to WorkArea.
13875
13876 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * lyxrc.C (read):
13879         * vspace.C (inPixels):
13880         (lyx_advance):
13881         * kbmap.C (bind):
13882         * buffer.C (insertStringAsLines):
13883         (asciiParagraph): fix types to be large enough
13884
13885         * lyxlex_pimpl.h: change member status from short to int
13886
13887         * layout.h: fix type of endlabeltype
13888
13889         * kbmap.C (bind):
13890         * kbsequence.C (parse): change return type to string::size_type
13891
13892         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13893         variable
13894
13895         * Bullet.C (bulletSize):
13896         (bulletEntry): do not use short ints as parameters
13897
13898         * BufferView2.C (insertLyXFile): change a char to an int.
13899
13900         * WorkArea.C (WorkArea): remove unneeded floats in computation
13901
13902 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13903
13904         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13905
13906         * paragraph.C (asString): Do not ignore newline/hfill chars when
13907         copying to the clipboard.
13908
13909 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13910
13911         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13912         after a multi-line inset.
13913
13914 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13915
13916         * paragraph.C (validate): Set NeedLyXFootnoteCode
13917
13918 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13919
13920         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13921         and decrease-error to decrease.
13922
13923 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13926         it more readable (should be equivalent)
13927
13928 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13929
13930         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13931
13932 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13935         of a cursor (row, etc.) after a character has been deleted
13936         (deleteEmptyParagraphMechanism): call the method above on _all_
13937         cursors held by the LyXText when a double space has been
13938         detected/deleted.
13939
13940 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13941
13942         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13943         pixmap.
13944         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13945
13946         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13947         background. Use greyOut() and the new show() methods to toggle between
13948         the foreground and background. Add code to remove the splash after
13949         its initial showing.
13950
13951         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13952         (create_forms): no longer call Dialogs::showSplash.
13953
13954 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * .cvsignore: add version_info.h
13957
13958 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13959
13960         * version_info.h.in: new file
13961
13962         * Makefile.am: add version_info.h.in
13963
13964         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13965         version_info.h instead of VERSION_INFO
13966
13967 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13970         The ERT inset now returns string().
13971
13972 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13973
13974         * lyxtext.h, text.C (selectNextWord): renamed as
13975         selectNextWordToSpellcheck.
13976
13977         * text.C (selectNextWordToSpellcheck): Modified to not select
13978         words inside an ERT inset.
13979
13980 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13981
13982         * lyx_cb.C (MenuLayoutSave): change a bit the question
13983
13984         * sp_base.h: include <sys/types.h>
13985
13986 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13987
13988         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13989
13990 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13991
13992         * several files: fix typos in user-visible strings
13993
13994 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13995
13996         * text2.C (pasteSelection): do not set the selection, since it
13997         will be cleared later. Actually, the intent was to fix the way the
13998         selection was set, but I figured rmoving the code was just as good.
13999
14000 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14001
14002         * FontLoader.C (available): Check if font is available without
14003         loading the font.
14004
14005 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14006
14007         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14008
14009 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14010
14011         * lyxrc.[Ch]: added display_graphics variable and associated code.
14012
14013 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14014
14015         * bufferparams.C (hasClassDefaults): new method. Returns true if
14016         the buffer parameters correspond to known class defaults
14017
14018 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14019
14020         * XFormsView.C (show): set minimum size to the main window.
14021
14022 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14023
14024         * text2.C (copySelection):
14025         (cutSelection):
14026         * lyxfind.C (LyXReplace):
14027         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14028         LyXText::selectionAsString.
14029
14030         * paragraph.C (asString): add "label" argument to the second form
14031
14032         * text2.C (selectionAsString): add "label" argument and pass it to
14033         Paragraph::asString.
14034
14035 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14036
14037         * lyx_main.C (commandLineHelp): remove version information
14038
14039 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14040
14041         * lyx_main.C: add -version commandline option
14042
14043 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14044
14045         * paragraph.h: make the optional constructor arg required instead.
14046         some modifications to other files because of this.
14047
14048         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14049
14050         * lyxserver.C (C_LyXComm_callback): make it static
14051
14052         * lyx_main.C (error_handler): make it static
14053
14054         * lyx_gui.C (LyX_XErrHandler): make it static
14055
14056         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14057
14058         * WorkArea.C: make the extern "C" methods static.
14059
14060         * Makefile.am (lyx_LDADD): simplify
14061
14062 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14063
14064         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14065         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14066
14067         * LyXAction.C (init):
14068         * lyxfunc.C (dispatch): associated code removal.
14069
14070 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14071
14072         * lyxfont.h (isSymbolFont): shut off warning
14073
14074         * text.C (setHeightOfRow):
14075         (getVisibleRow): fix crash with empty paragraphs which have a
14076         bottom line
14077
14078 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14079
14080         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14081         code.
14082
14083 2001-09-04  José Matos  <jamatos@fep.up.pt>
14084         * buffer.C
14085         * buffer.h
14086         * tabular.C (docbook): rename docBook method to docbook.
14087
14088 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14089
14090         * Makefile.am: add dependencies to main.o.
14091
14092 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14093
14094         * FontLoader.C (available): Return false if !lyxrc.use_gui
14095
14096 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14097
14098         * FontInfo.C (query):
14099         * converter.C (view):
14100         * importer.C (Import):
14101         * exporter.C (Export): Can not -> cannot.
14102
14103 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14104
14105         * BufferView_pimpl.C: allow to create index inset even if
14106           string is empty
14107
14108 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * buffer.C (getLists): replace boost::tie code with an explicit pair
14111         as boost::tie can break some compilers.
14112
14113         * iterators.h: Added a std:: declaration to the return type of
14114         ParIterator::size.
14115
14116 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14117
14118         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14119           case.
14120
14121 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14122
14123         * iterators.[Ch]: New files. Provide paragraph iterators.
14124
14125         * buffer.C (changeLanguage): Use paragraph iterators.
14126         (isMultiLingual): ditto
14127
14128         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14129
14130 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * FontLoader.C: Support for cmr font.
14133
14134 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14137         (available): New method.
14138
14139         * FontInfo.C (getFontname): Use scalable fonts even when
14140         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14141         found.
14142
14143 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14144
14145         * converter.C (Formats::view): reverted! Incorrect fix.
14146
14147 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14148
14149         * converter.C (Formats::view): only output the -paper option
14150         if the dvi viewer is xdvi, thereby fixing bug #233429.
14151
14152 2001-08-23  Herbert Voss  <voss@perce>
14153
14154         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14155
14156 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14157
14158         * Spacing.h (Spacing): Set space to Default on in the default
14159         constructor.
14160
14161 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * vc-backend.h (RCS::versionString): add RCS to version
14164         (CVS::versionString): add CVS to version
14165
14166         * vc-backend.C (scanMaster): do not add CVS to version.
14167         (scanMaster): do not add RCS to version
14168
14169         * lyxvc.C (versionString): new method
14170
14171         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14172
14173 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14174
14175         * Spacing.C (set): initialize fval
14176
14177 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14178
14179         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14180         " or \.
14181
14182 2001-08-16  Juergen Vigna  <jug@sad.it>
14183
14184         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14185
14186 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14187
14188         * BufferView_pimpl.C:
14189         * figureForm.C:
14190         * lyxtext.h:
14191         * text2.C: setParagraph takes linespacing now
14192
14193 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14194
14195         * LyxAction.C: add internal LFUN_CITATION_INSERT
14196
14197         * LyXView.C: actually apply fix
14198
14199         * bufferlist.C: fix open non-existent file
14200
14201         * lyxfind.C: fix indentation
14202
14203         * lyxfunc.C: remove unneeded assert, fix typo
14204
14205 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14206
14207         * MenuBackend.C: use "Floatname List"
14208
14209 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14210
14211         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14212         when converting LaTeX layout to insetERT.
14213         Generate a non-collapsed float when reading old float
14214
14215 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14216
14217         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14218         ERT insets.
14219
14220 2001-08-13  Juergen Vigna  <jug@sad.it>
14221
14222         * text.C (fill): return 0 instead of 20 as this seems to be the more
14223         correct value.
14224
14225 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14226
14227         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14228         lyxrc.font_norm.
14229
14230 2001-08-13  Juergen Vigna  <jug@sad.it>
14231
14232         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14233         casesensitive off.
14234         (SearchBackward): comment out the unlocking of the inset_owner this
14235         should not be needed!
14236
14237 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * Many files: Remove inherit_language, and add latex_language
14240
14241         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14242         collapsible insets.
14243
14244 2001-08-10  Juergen Vigna  <jug@sad.it>
14245
14246         * text.C (prepareToPrint): fixed hfill-width in draw!
14247
14248         * BufferView2.C (selectLastWord): save the selection cursor as this
14249         now is cleared in the function LyXText::clearSelection!
14250
14251 2001-08-08  Juergen Vigna  <jug@sad.it>
14252
14253         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14254         BACKSPACE type functions.
14255
14256         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14257         is only cutted from the document but not put in the cut-buffer, where
14258         still the old stuff should be.
14259
14260         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14261
14262         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14263
14264         * tabular.C (SetWidthOfCell): fixed special case where the width
14265         was not updated!
14266         (LeftLine): handle '|' in align_special.
14267         (RightLine): ditto
14268         (LeftAlreadyDrawed): ditto
14269         (SetWidthOfCell): ditto
14270
14271 2001-08-07  Juergen Vigna  <jug@sad.it>
14272
14273         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14274
14275 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14278         * lyxlex.[hC]: ditto
14279
14280 2001-08-06  Juergen Vigna  <jug@sad.it>
14281
14282         * text.C (getVisibleRow): fix up row clearing a bit.
14283
14284 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * minibuffer.C: make sure the X server sees the changes in the input.
14287
14288 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14289
14290         * paragraph.C (getFont): split into...
14291         (getLabelFont): this
14292         (getLayoutFont): and this
14293         * paragraph_pimpl.C (realizeFont): calling this
14294
14295         * text2.C (getFont): split into...
14296         (getLayoutFont): this
14297         (getLabelFont): and this
14298         (realizeFont): all three calling this
14299
14300         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14301         files where used.
14302
14303 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14304
14305         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14306
14307 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14308
14309         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14310         layouts from the Quote inset insertion.
14311
14312 2001-08-03  Juergen Vigna  <jug@sad.it>
14313
14314         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14315
14316         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14317         only if status not is already CHANGED_IN_DRAW (second level).
14318
14319         * text.C (draw): don't set the need_break_row when inside an
14320         InsetText LyXText.
14321
14322 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * buffer.C (parseSingleLyXformat2Token): handle more latex
14325         conversion cases.
14326
14327         * bufferview_funcs.[hC]: change function names to
14328         begin with small char, adjust other files.
14329
14330 2001-08-02  André Pönitz <poenitz@gmx.net>
14331
14332         * lyxfunc.C:
14333         BufferView_pimpl.C: remove broken special code for math-greek
14334
14335 2001-08-02  Juergen Vigna  <jug@sad.it>
14336
14337         * BufferView_pimpl.C (update): redone this function so that we
14338         update the text again if there was a CHANGE_IN_DRAW.
14339
14340         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14341         (drawFromTo): added a new internal bool which is used by draw() and
14342         redraw() function.
14343         (general): some cursor drawing problems fixed.
14344
14345 2001-08-01  Juergen Vigna  <jug@sad.it>
14346
14347         * lyxfind.C (LyXFind): fixed
14348         (SearchForward): ditto
14349         (SearchBackward): ditto
14350
14351         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14352         spurius drawing of the cursor in the main area.
14353
14354         * text2.C (status): small fix which could lead to a segfault!
14355         (clearSelection): remove unneeded BufferView param.
14356
14357 2001-08-01  André Pönitz <poenitz@gmx.net>
14358
14359         * lyxfunc.C: small change due to changed mathed interface
14360
14361 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14362
14363         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14364
14365 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14366
14367         * lyxfunc.c: fail gracefully if file doesn't exist
14368
14369         * LyXSendto.C:
14370         * buffer.C:
14371         * lyxfunc.C:
14372         * BufferView_pimpl.C: IsDirWriteable() proto changed
14373
14374         * LyXView.C: fix updateWindowTitle() to store the last title
14375
14376 2001-07-31  Juergen Vigna  <jug@sad.it>
14377
14378         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14379         the font (wrong since using of Paragraph::highestFontInRange).
14380
14381         * paragraph.C (highestFontInRange): added a default_size parameter.
14382
14383         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14384         (setHeightOfRow): reformat
14385
14386 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * converter.[hC] + affected files: move to (inital-char)lowercase
14389         function names.
14390
14391         * ParagraphParameters.C (ParagraphParameters): remove commented code
14392
14393         * PainterBase.[Ch]: remove commented code
14394
14395         * LaTeXFeatures.h: add "bool floats" for float.sty
14396
14397         * LaTeXFeatures.C (LaTeXFeatures): init floats
14398         (require): handle float
14399         (getPackages): do it with floats
14400
14401 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14402
14403         * BufferView_pimpl.C (Dispatch): improve handling of
14404         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14405
14406         * commandtags.h: #include lyxfont.h here temporarily to avoid
14407         keybinding bug.
14408
14409         * bufferlist.h: include LString.h here.
14410
14411 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * text2.C (getStringToIndex): new method.
14414
14415 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14416
14417         * *: Reduced header file dependencies all over.
14418
14419 2001-07-30  Baruch Even  <baruch@lyx.org>
14420
14421         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14422
14423 2001-07-29  Baruch Even  <baruch@lyx.org>
14424
14425         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14426
14427 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * ParameterStruct.h (endif): add a default constructor to make
14430         sure that all variables is initialized.
14431
14432         * ParagraphParameters.C (ParagraphParameters): adjust
14433
14434 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14435
14436         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14437         index; also, check that there is something to index, and that it
14438         does not span over several paragraphs.
14439         (doubleClick): use WHOLE_WORD_STRICT for double click.
14440
14441         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14442
14443         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14444         scheme.
14445
14446 2001-07-26  Baruch Even  <baruch@lyx.org>
14447
14448         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14449         an InsetFig figure, backwards compatible reading of old figure code.
14450
14451 2001-07-27  Juergen Vigna  <jug@sad.it>
14452
14453         * text2.C: font.realize function adaption.
14454
14455         * text.C (draw): add a warnings lyxerr text if needed.
14456
14457         * layout.C: font.realize function adaption.
14458
14459         * language.C: add inherit_language and implement it's handlings
14460
14461         * bufferview_funcs.C (StyleReset): remove language parameter from
14462         font creation (should be language_inherit now).
14463
14464         * bufferparams.C (writeFile): handle ignore_language.
14465
14466         * paragraph.C (getFontSettings): the language has to be resolved
14467         otherwise we have problems in LyXFont!
14468
14469         * lyxfont.C (lyxWriteChanges): added document_language parameter
14470         (update): removed unneeded language parameter
14471
14472         * paragraph.C (validate): fixed wrong output of color-package when
14473         using interface colors for certain fonts in certain environments,
14474         which should not seen as that on the final output.
14475
14476 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14477
14478         * BufferView_pimpl.C:
14479         * Thesaurus.h:
14480         * Thesaurus.C:
14481         * Makefile.am:
14482         * commandtags.h:
14483         * LyXAction.C: add thesaurus support
14484
14485         * lyxfind.h:
14486         * lyxfind.C: add "once" parameter, for thesaurus, to not
14487           move to the next match
14488
14489 2001-07-26  Juergen Vigna  <jug@sad.it>
14490
14491         * lyxfont.C (realize): honor ignore_language too!
14492         (resolved): ditto.
14493
14494         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14495
14496         * text.C (draw): one place more for ignore_language to not draw
14497         itself!
14498
14499 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14500
14501         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14502
14503 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14504
14505         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14506         the minipage conversion problem.
14507
14508 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14509
14510         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14511         insert an inset.
14512
14513 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * BufferView.h: don't forward declare WorkArea
14516
14517         * BufferView.C: don't include WorkArea.h
14518
14519 2001-07-25  André Pönitz <poenitz@gmx.net>
14520
14521         * commandtags.h:
14522         * LyXAction.C:
14523         * lyxfunc.C:  new LFUN 'math-space'
14524
14525         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14526
14527 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * text2.C (toggleInset): call open/close
14530
14531 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * lyxfunc.C (dispatch): add debug for the disabled case
14534
14535         * font.C (buttonText): make similar to rectText
14536
14537         * buffer.C (readInset): comment out parsing of insetlist and
14538         insttheorem
14539
14540         * PainterBase.C (rectText): small correction
14541
14542         * BufferView_pimpl.C: comment out insettheorem and insetlist
14543         * LyXAction.C: ditto
14544         * commandtags.h: ditto
14545
14546 2001-07-24  Juergen Vigna  <jug@sad.it>
14547
14548         * text.C (draw): honor the ignore_language.
14549
14550         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14551
14552 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14553
14554         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14555         char inset.
14556
14557 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14558
14559         * lyxtext.h: remove unused (and unimplemented) methods
14560
14561 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14562
14563         * text.C (getVisibleRow): honor background color
14564
14565         * PainterBase.h:
14566         * Painter.h: remove default color argument for fillRectangle
14567
14568         * text.C (backgroundColor): new method
14569
14570 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * text.C (getVisibleRow): adjust
14573
14574         * font.[Ch] (rectText): new method, metrics
14575         (buttonText): new method, metrics
14576
14577         * PainterBase.[hC]: make rectText and buttonText always draw and take
14578         fewer paramteres.
14579
14580 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14581
14582         * ToolbarDefaults.C (read):
14583         * MenuBackend.C (read): allow escaping in all strings
14584
14585         * BufferView_pimpl.C (insertAndEditInset): new method.
14586         (Dispatch): use insertAndEditInset whenever appropriate.
14587
14588         * BufferView_pimpl.C (insertNote): removed
14589
14590         * BufferView_pimpl.C (smartQuote): new method, moved from
14591         BufferView; if an insetquote cannot be inserted, insert a '"'
14592         character instead.
14593
14594         * BufferView2.C: remove insertCorrectQuote();
14595
14596         * lyxfunc.C (getStatus): Add support for all remaingin
14597         inset-insert lfuns.
14598
14599         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14600
14601         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14602         command (necessary to pass " as parameter of self-insert.
14603
14604         * text.C (selectWordWhenUnderCursor):
14605         (selectWord): add word_location parameter
14606         (selectWordWhenUnderCursor): same + remove special code for word
14607         boundary.
14608         (selectNextWord): use kind() to guess type of insetspecialchar,
14609         not latex().
14610
14611         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14612         (insertErtContents): create ert insets as collapsed.
14613         (readInset): better compatibility code for Info inset.
14614
14615 2001-07-20  Juergen Vigna  <jug@sad.it>
14616
14617         * lyxfunc.C (dispatch): use always LyXFind now!
14618
14619         * text2.C (init): add a reinit flag so that the LyXText can be
14620         reinited instead of deleted and reallocated (used in InsetText).
14621
14622         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14623
14624         * text.C: ditto
14625
14626         * text2.C: ditto
14627
14628 2001-07-18  Juergen Vigna  <jug@sad.it>
14629
14630         * text.C (selectNextWord): handle insets inside inset by calling
14631         always the bv->text functions so that we can go up the_locking_inset!
14632
14633         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14634         in strange locations when inside an inset!
14635
14636         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14637         handling to include insets.
14638
14639         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14640
14641 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14642
14643         * LyXAction.C (init):
14644         * commandtags.h:
14645         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14646         LIGATURE_BREAK, since the name is so stupid.
14647
14648 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14649
14650         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14651         InsetInfos.
14652
14653         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14654
14655         * sp_form.[Ch]: remove.
14656
14657         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14658
14659         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14660         InsetInfo.
14661
14662         * src/buffer.C (readInset): ditto.
14663
14664 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14665
14666         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14667         menuSeparator(), endOfSentenceDot(), ldots() and
14668         hyphenationPoint(), which are therefore removed.
14669         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14670
14671         * LyXAction.C (init):
14672         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14673
14674         * paragraph.C (getWord): removed.
14675
14676         * BufferView_pimpl.C (Dispatch): use last word or selection for
14677         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14678
14679         * lyx_main.C (queryUserLyXDir): do not ask before creating
14680         user_dir, except if it has been named explicitely.
14681
14682 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14683
14684         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14685         a document of zero size.
14686
14687 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14688
14689         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14690         approriately in the c-tor and in require().
14691         (getPackages): output the appropriate LaTeX for natbib support.
14692
14693         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14694         variables "use_natbib" and "use_numerical_citations" when reading the
14695         LyX file.
14696         (readInset): read the various natbib cite commands.
14697         (validate): white-space change.
14698
14699         * bufferparams.[Ch]: new variables "bool use_natbib" and
14700         "bool use_numerical_citations".
14701         (writeFile): output them in the LyX file.
14702
14703 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14704
14705         * lyxfunc.C (getStatus): add support for all the inset insertion
14706         commands.
14707
14708         * text2.C (insertInset):
14709         * paragraph.C (insetAllowed):
14710         * BufferView_pimpl.C (insertInset): update to take in account the
14711         renaming of insertInsetAllowed
14712
14713         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14714
14715         * text2.C (getInset): new method. returns inset at cursor position.
14716
14717         * BufferView_pimpl.C (Dispatch): changes because of this.
14718
14719         * LyXAction.C (init): rename open-stuff to inset-toggle.
14720
14721         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14722
14723         * text2.C (toggleInset): renamed from openStuff; use
14724         Inset::open().
14725
14726 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14727
14728         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14729
14730         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14731
14732 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14733
14734         * buffer.C (readLyXformat2): Add filename to the error dialog
14735
14736 2001-07-18  Juergen Vigna  <jug@sad.it>
14737
14738         * tabular.C (GetCellNumber): put an assert here instead of the check!
14739
14740 2001-07-17  Juergen Vigna  <jug@sad.it>
14741
14742         * BufferView_pimpl.C (toggleSelection): adapted too.
14743
14744         * text.C (selectNextWord): adapted for use with insets.
14745         (selectSelectedWord): ditto
14746
14747 2001-07-17  Juergen Vigna  <jug@sad.it>
14748
14749         * sp_spell.C (PSpell): fix initialitation order.
14750
14751 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * paragraph.C: spacing
14754
14755 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14756
14757         * sp_spell.C: repair language selection for pspell
14758
14759 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14760
14761         * lyxfunc.h: change more methods to begin with lower char.
14762
14763 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14764
14765         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14766         for unknown layouts.
14767
14768 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14769
14770         * buffer.C (readLyXformat2): Generate an error dialog if there are
14771         unknown layouts.
14772
14773 2001-07-16  Juergen Vigna  <jug@sad.it>
14774
14775         * sp_spell.C: always compile ISpell part.
14776
14777         * lyxrc.C: added use_pspell entry and it's handling.
14778
14779 2001-07-13  Juergen Vigna  <jug@sad.it>
14780
14781         * sp_spell.C: removed double includes.
14782
14783 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14784
14785         Consistent use of Lsstream.h:
14786         * Lsstream.h: added using std::stringstream for consistencies sake.
14787
14788         * buffer.C: removed using std::stringstream
14789
14790         * lyxfont.C (stateText):
14791         * paragraph.C (asString):
14792         * text.C (selectNextWord, selectSelectedWord):
14793         * text2.C (setCounter):
14794         * vspace.C (asString, asLatexString):
14795         std::ostringstream -> ostringstream.
14796
14797 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14798
14799         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14800         * commandtags.h: add LFUN_HELP_ABOUTLYX
14801         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14802
14803 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14804
14805         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14806         cursorToggle()
14807         * lyx_gui_misc.C: remove spellchecker
14808         * lyxfunc.C: showSpellchecker
14809         * sp_base.h: added
14810         * sp_ispell.h: added
14811         * sp_pspell.h: added
14812         * sp_spell.C: added
14813         * sp_form.[Ch]: removed
14814         * spellchecker.[Ch]: removed
14815
14816 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14817
14818         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14819         is set.
14820         (simpleTeXSpecialChars): Simply print the input character without
14821         any special translation if pass_thru is set.
14822
14823         * layout.h: Added bool pass_thru to layout class for being able to
14824         implement pass through of a paragraph for Literate Programming.
14825
14826         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14827         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14828         * layout.C (Read): add "passthru" to list of layout tags and add
14829         code to set the pass_thru boolean when it is read.
14830
14831 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * trans_decl.h: remove allowed from KmodInfo
14834
14835         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14836         remove allowed code
14837         (Load): adjust
14838
14839         * paragraph_pimpl.C (erase): use boost::prior
14840
14841         * Painter.C (text): use data() instead of c_str() when length is
14842         also provided.
14843         * WorkArea.C (putClipboard): ditto
14844         * font.h (width): ditto
14845
14846         * BufferView2.C: use it-> instead of (*it). for iterators
14847         * texrow.C: ditto
14848         * paragraph_pimpl.C: ditto
14849         * paragraph.C: ditto
14850         * minibuffer.C: ditto
14851         * language.C: ditto
14852         * kbmap.C: ditto
14853         * encoding.C: ditto
14854         * counters.C: ditto
14855         * converter.C: ditto
14856         * chset.C: ditto
14857         * Variables.C: ditto
14858         * TextCache.C: ditto
14859         * MenuBackend.C: ditto
14860         * LyXAction.C: ditto
14861         * LColor.C: ditto
14862         * FloatList.C: ditto
14863         * DepTable.C: ditto
14864         * ColorHandler.C (LyXColorHandler): ditto
14865
14866 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14867
14868         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14869
14870         * text2.C (openStuff): reintroduce this method (which had been
14871         nuked in NEW_INSETS frenzy).
14872
14873         * lyxfunc.C (Dispatch): when an action has not been handled, use
14874         its name in the error message, not its number.
14875
14876         * paragraph.C (inInset): change method name to begin with lowercase.
14877
14878         * undo_funcs.C:
14879         * text2.C: updates because of this.
14880
14881 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * ToolbarDefaults.C (add): add spaces in error message
14884
14885 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14886
14887         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14888         (readLyXformat2): rename return_par to first_par, use lyxlex's
14889         pushToken and remove the manual push handling.
14890         (parseSingleLyXformat2Token): add another ert comp. variable:
14891         in_tabular, rename return_par to first_par. handle newlines better
14892
14893 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14896
14897 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14898
14899         * text2.C (getParFromID): removed
14900
14901         * buffer.C (getParFromID): new method moved form lyxtext.
14902         * BufferView2.C (insertErrors): adjust
14903         (setCursorFromRow): adjust
14904         * BufferView_pimpl.C (restorePosition): adjust
14905         * lyxfunc.C (Dispatch): adjust
14906         * undo_funcs.C (textUndo): adjust
14907         (textRedo): adjust
14908         (textHandleUndo): adjust
14909         (textHandleUndo): adjust
14910
14911 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14912
14913         * buffer.C: up' the LYX_FORMAT
14914
14915         * lyxfont.h: turn NO_LATEX on as default
14916
14917         * buffer.C (insertErtContents): new methods of tex style compability.
14918         (parseSingleLyXformat2Token): use it several places.
14919         * tabular.C (OldFormatRead): and here
14920
14921 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * text2.C: remove some commented code.
14924         reindent file.
14925
14926         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14927         * trans.C: changes because of the above.
14928
14929 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14930
14931         * text2.C (setCounter): Fix counters bug with bibliography layout.
14932
14933 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14936         own member functions
14937         (simpleTeXSpecialChars): ditto
14938
14939 2001-07-06  Juergen Vigna  <jug@sad.it>
14940
14941         * a lot of files: changed the access to LyXText::status and the
14942         call of undo-functions.
14943
14944         * undo.[Ch]: added a inset_id to the undo informations.
14945
14946         * undo_funcs.[Ch]: added and moved here all undo functions.
14947
14948         * lyxtext.h: give the status enum a weight, made status_ a private
14949         variable and made accessor functions for it, removed the whole bunch
14950         of undo-functions as they are now in their own file, make some
14951         functions publically available. Added function ownerParagraph with
14952         int parameter.
14953
14954         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14955         made InInset() a const function, added getParFromID() function.
14956
14957         * buffer.[Ch]: added const version for inset_iterator functions,
14958         added getInsetFromID() function.
14959
14960         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14961         changed undo functions for new version.
14962
14963 2001-07-05  Juergen Vigna  <jug@sad.it>
14964
14965         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14966         unknow mechanism does not call the proper constructor but only this
14967         one also if I request the other!?
14968
14969 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14970
14971         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14972
14973         * text2.C (LyXText): use initialization lists.
14974
14975         * lyxtext.h (Selection): initialize set_ and mark_
14976         (init): remove method
14977
14978 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14979
14980         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14981
14982 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14983
14984         * screen.[Ch]: change method names to begin with lowercase
14985
14986         * BufferView_pimpl.C (updateScrollbar): simplify further and
14987         hopefully make it a bit faster.
14988
14989 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14992         calling directly xforms functions.
14993
14994         * Painter.C (Painter):
14995         * lyx_cb.C (MenuWrite):
14996         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14997         fl_display.
14998
14999         * lyx_gui.C: remove bogus guiruntime extern declaration.
15000
15001 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15004         in NEW_INSETS
15005         (redoDrawingOfParagraph): ditto
15006         (redoParagraphs): ditto
15007         (cutSelection): don't create a object for CutAndPaste use the
15008         static method directly
15009         (pasteSelection): ditto
15010
15011         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15012         LyXview (+ rename)
15013
15014 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15015
15016         * modifications to some other files because of this.
15017
15018         * Makefile.am (lyx_SOURCES): add XFormsView
15019
15020         * XFormsView.[Ch]: new files
15021
15022         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15023         the main window. Move the gui dependent stuff to XFormsView
15024
15025 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15026
15027         * tabular.C (GetCellInset): update cur_cell also in the row/col
15028         version of this function.
15029
15030         * lyxfunc.C: no need to include figure_form.h here.
15031
15032         * FontLoader.h:
15033         * lyxfunc.h:
15034         * lyxscreen.h:
15035         * text2.C:
15036         * lyxvc.C: no need to include forms.h here.
15037
15038 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15039
15040         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15041
15042         * lyxfunc.C (Dispatch):
15043         * Spacing.C (set):
15044         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15045         constructor argument.
15046
15047 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15048
15049         * paragraph.C (Paragraph): dont't clear, and just set layout.
15050         (makeSameLayout): use params's copy contructor.
15051
15052         * ParagraphParameters.[Ch] (makeSame): delete method
15053
15054 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15055
15056         * Variables.[Ch]: fix indentation, rename set to isSet
15057
15058 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15059
15060         * lyxfunc.C (Dispatch): fix typo
15061
15062 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15065         upper_bound.
15066
15067         * bufferlist.C: include assert.h for emergencyWrite().
15068
15069 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15070
15071         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15072           give up at last (bug #425202) !
15073
15074 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15075
15076         * lyx_gui_misc.C:
15077         * sp_form.h:
15078         * sp_form.C:
15079         * spellchecker.h:
15080         * spellchecker.C: strip spellchecker options and bring up
15081           preferences tab instead
15082
15083 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15084
15085         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15086         the istringstream constructor
15087
15088 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15089
15090         * paragraph.C (getLayout): fix return value
15091
15092         * paragraph.h: do not declare getLayout as inline.
15093
15094         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15095
15096 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15097
15098         * lyxcursor.h (operator<): new func
15099         (operator>): new func
15100         (operator>=): new func
15101         (operator<=): new func
15102
15103         * text.C (changeCase): use selection.start and selection.end
15104         (changeRegionCase): require from to be <= to. Require par to be a
15105         valid paragraph.
15106
15107         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15108
15109 2001-06-27  Juergen Vigna  <jug@sad.it>
15110
15111         * text.C (cursorLeftOneWord): changed to return the cursor and added
15112         overlay with BufferView * parameter which calls this one.
15113         (getWord): added
15114         (selectWord): use new getWord function.
15115         (changeCase): renamed from changeWordCase as and extended to work
15116         also on selections.
15117
15118         * lyxtext.h: added enum word_location
15119
15120         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15121         changeCase as this operates now also on selections.
15122
15123 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15124
15125         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15126
15127         * many files: send debug output to Debug::INFO instead of
15128         Debug::ANY.
15129
15130         * converter.C (View):
15131         (Convert):
15132         (Move): send debug output to Debug::FILES instead of console.
15133
15134 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15135
15136         * lyxfunc.C (getStatus): use func_status
15137
15138         * func_status.h: new header, describing the results of
15139         LyXFunc::getStatus;
15140
15141         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15142         LFUN_MATH_HALIGN.
15143
15144 2001-06-25  The LyX Project  <jug@sad.it>
15145
15146         * buffer.C (sgmlOpenTag):
15147         (sgmlCloseTag):
15148         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15149
15150 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15151
15152         * text2.C: remove some dead code
15153
15154         * tabular.C (GetCellInset): store the last cell checked (gotten)
15155
15156         * tabular.h: add the helper for the speedup
15157
15158         * lyxtext.h: remove some dead code
15159
15160 2001-06-26  The LyX Project  <Asger>
15161
15162         * paragraph.C: Change export to LaTeX of alignment to
15163         \begin{center} and family for better roundtrip work with reLyX.
15164
15165         * Tune the math drawing a bit.
15166
15167 2001-06-25  The LyX Project  <Asger>
15168
15169         * LColor.C (LColor): New color for math background. New color
15170         for buttons.
15171
15172 2001-06-25  The LyX Project  <jug@sad.it>
15173
15174         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15175
15176         * lyxfunc.C (Open):
15177         * bufferlist.C (newFile): do not restrict to files ending with
15178         .lyx
15179
15180         * BufferView_pimpl.C (MenuInsertLyXFile):
15181
15182 2001-06-24  The LyX Project  <jug@sad.it>
15183
15184         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15185         of compare_no_case
15186
15187 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15188
15189         * lyxtext.h: rename most methods to begin with a small char.
15190         Lots of changes because of this.
15191
15192         * paragraph.C (Paragraph): do not call fitToSize
15193         (erase): call Pimpl::erase
15194         (insertChar): call Pimpl::insertChar
15195         (insertInset): call Pipl::insertInset
15196         (breakParagraph): do not call fitToSize
15197         (breakParagraphConservative): do not call fitToSize
15198         (fitToSize): remove method
15199
15200         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15201
15202 2001-06-24  The LyX Project  <Asger>
15203
15204         * Fix Qt compilation^2
15205
15206 2001-06-24  The LyX Project  <jug@sad.it>
15207
15208         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15209         depthHook(getDepth()-1).
15210
15211         * paragraph.h:
15212         * ParagraphParameters.h:
15213         * ParameterStruct.h: change type of depth to unsigned int ==
15214         depth_type. Many adaptations to other files before of that.
15215
15216 2001-06-24  The LyX Project  <Asger>
15217
15218         * Fix Qt compilation.
15219
15220 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15221
15222         * paragraph.h: renamed several methods to begin with small letter.
15223         several changes to many parts of the code because of this.
15224
15225 2001-06-23  The LyX Project  <jug@sad.it>
15226
15227         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15228         rewritten to discard all double spaces when KeepEmpty is off
15229         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15230         to only handle newlines but not fiddle with spaces and friends.
15231
15232         * lyxfunc.C (MenuNew): when doing 'new from template', use
15233         template_path as default directory
15234
15235 2001-06-23  The LyX Project  <Asger>
15236
15237         * Clean-up of header file includes all over
15238         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15239
15240 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15241
15242         * paragraph.h: renamed from lyxparagraph.h
15243
15244 2001-06-23  Asger  <lyx@violet.home.sad.it>
15245
15246         * Buffer.h: Removed Buffer::resize
15247         * BufferList.h: Removed BufferList::resize
15248         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15249         the document lazily when we change the width, or the font settings.
15250
15251 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15252
15253         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15254
15255 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15256
15257         * buffer.h: remove out of date comment
15258
15259 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15260
15261         * lyxscreen.h:
15262         * screen.C: fix "theoretical" GC leak
15263
15264 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15265
15266         * LaTeX.C (scanAuxFile):
15267         (deplog): remove trailing \r when reading stream (useful under
15268         win32)
15269
15270 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15271
15272         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15273         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15274         and BufferView::theLockingInset(Inset*), so should use them and not
15275         access bv_->text->the_locking_inset directly.
15276
15277         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15278
15279 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15280
15281         * Makefile.am:
15282         * tex-defs.h: remove old unused file
15283
15284 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15285
15286         * BufferView_pimpl.C: fix typo, remove minibuffer message
15287           when buffer has loaded
15288
15289 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15290
15291         * lyxfunc.C (Dispatch): use stringstream
15292         (MenuNew): use stringstream
15293         (Open): use stringstream
15294
15295         * importer.C (Import): use stringstream
15296
15297         * bufferview_funcs.C (CurrentState): use stringstream
15298
15299         * LaTeX.C (run): use stringstream
15300
15301         * BufferView_pimpl.C (savePosition): use stringstream
15302         (restorePosition): use stringstream
15303         (MenuInsertLyXFile): use stringstream
15304
15305 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15306
15307         * BufferView.C:
15308         * Bullet.C:
15309         * ColorHandler.C:
15310         * FontInfo.C:
15311         * FontLoader.C:
15312         * LColor.C:
15313         * LaTeXFeatures.C:
15314         * Painter.C:
15315         * gettext.C:
15316         * lyx_gui_misc.C:
15317         * lyxserver.C:
15318         * vspace.C: removed // -*- C++ -*- as first line.
15319
15320         * lyxfind.h:
15321         * version.h: added // -*- C++ -*- as first line.
15322
15323 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15326
15327         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15328         of string
15329
15330 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15333         of floats.
15334
15335 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * gettext.C: include LString.h even when --disable-nls is on.
15338
15339 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15340
15341         * converter.h (Get): changed argument type from int to
15342         FormatList::size_type to avoid unnecessary conversion.
15343
15344         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15345         before using it.
15346
15347 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15348
15349         * gettext.h: include LString.h even when --disable-nls is on.
15350
15351 2001-06-07  Juergen Vigna  <jug@sad.it>
15352
15353         * text.C (BreakAgain): subst spaces with tabs.
15354
15355         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15356         (resizeInsetsLyXText): set force on resizeLyXText.
15357
15358 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * gettext.h (gettext_init):
15361         (locale_init): use a real definition instead of a macro
15362
15363 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15364
15365         * Bufferview_pimpl.C:
15366         * LColor.h:
15367         * LColor.C: further lcolor tidies
15368
15369 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * BufferView_pimpl.C (updateScrollbar): simplify.
15372
15373         * BufferView2.C: don't include insets/insetinfo.h, change
15374         prototype for insertInset and call the Pimpl version. let
15375         updateInset call Pimpl version.
15376
15377         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15378         gotoInset to BufferView::Pimpl
15379
15380 2001-06-01  Juergen Vigna  <jug@sad.it>
15381
15382         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15383         inside a LockingInset (is the update needed at all?).
15384
15385 2001-05-31  Juergen Vigna  <jug@sad.it>
15386
15387         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15388         here not the old one otherwise how should we compare it afterwards
15389         if it's the same!
15390
15391 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15392
15393         * lyxfont.C:
15394         * tabular.C:
15395         * tabular-old.C:
15396         * FontInfo.C: bring C functions into global namespace when
15397         necessary
15398
15399 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * LString.h: make sure config.h has been loaded before LString.h.
15402
15403         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15404         (one for each char read by EatLine!).
15405
15406         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15407         variables.
15408
15409 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15410
15411         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15412         to the same as the par we break from
15413
15414 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15415
15416         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15417
15418         * MenuBackend.C (expand): also create menu entries for wide
15419         versions of the floats.
15420
15421         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15422
15423         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15424
15425         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15426         frontends/Makefile.am
15427
15428         * text2.C: adjust
15429         * text.C: adjust
15430
15431
15432         * tabular.C (getTokenValue): add std::
15433
15434         * tabular-old.C (getTokenValue): add std::
15435         (getTokenValue): ditto
15436         (getTokenValue): ditto
15437
15438         * screen.C (ToggleSelection): adjust
15439
15440         * lyxtext.h: put selection cursors inside a Selection struct.
15441
15442         * lyxfunc.C (moveCursorUpdate): adjust
15443
15444         * lyxfont.C (latexWriteStartChanges): add std::
15445
15446         * lyxfind.C: adjust
15447
15448         * font.h: delete with(char const *, LyXFont const &)
15449
15450         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15451
15452         * FontInfo.C (getFontname): add std::
15453
15454         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15455         (workAreaButtonPress): adjust
15456         (tripleClick): adjust
15457         (update): adjust
15458         (moveCursorUpdate): adjust
15459         (Dispatch): adjust
15460
15461         * BufferView2.C (gotoInset): adjust
15462
15463 2001-05-30  Juergen Vigna  <jug@sad.it>
15464
15465         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15466         to check pspell I add this as default as I now have new pspell
15467         libraries and they seem to use this.
15468
15469 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15470
15471         * text2.C (CutSelection): make the cursor valid before the call to
15472         ClearSelection.
15473
15474 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15475
15476         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15477         relied on 0 terminated strings and other horrors. Bug found due to
15478         the new assert in lyxstring!
15479
15480         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15481         KP_ keys.
15482
15483 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15484
15485         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15486         to latinkeys.bind.
15487
15488         * lyxfunc.C (processKeySym): change method of getting to the
15489         self-insert char.
15490
15491         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15492         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15493         * BufferView_pimpl.[Ch]: here as private methods.
15494
15495 2001-05-28  Juergen Vigna  <jug@sad.it>
15496
15497         * text.C (SetHeightOfRow): added the update() call again as it is
15498         needed to initialize inset dimensions!
15499
15500 2001-05-16  Juergen Vigna  <jug@sad.it>
15501
15502         * text2.C (SetCharFont): Add new function with BufferView * and
15503         bool toggleall parameters for setting insets internal fonts.
15504         (SetFont): Freeze the undo as we may change fonts in Insets and
15505         all this change should be inside only one Undo!
15506
15507         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15508         setting font's in insets as for them we have the SetFont function!
15509
15510 2001-05-15  Juergen Vigna  <jug@sad.it>
15511
15512         * text2.C (ClearSelection): to be sure we REALLY don't have any
15513         selection anymore!
15514
15515         * tabular.C (TeXCellPreamble): fixed the left border problem for
15516         multicolumn cells.
15517
15518 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15519
15520         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15521         dependancy file
15522
15523 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15524
15525         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15526         LFUN_BREAKPARAGRAPH.
15527
15528         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15529         help test to "internal only", similar for LFUN_INSERT_URL
15530
15531         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15532         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15533         auto_region_delete and deadkeys.
15534
15535 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15536
15537         * LColor.h:
15538         * LColor.C: remove some dead entries, tidy a little
15539
15540 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15541
15542         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15543         commented code.
15544         (Dispatch): implement LFUN_ESCAPE
15545
15546         * commandtags.h: add LFUN_ESCAPE
15547
15548         * LyXAction.C (init): add entry for LFUN_ESCAPE
15549
15550         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15551         Remove commented code.
15552         (insertNote): moved here
15553         (open_new_inset): moved here
15554
15555         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15556         BufferView_pimpl
15557
15558 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15559
15560         * kbmap.C (findbinding): clean it up and make it work correctly.
15561
15562         * lyx_main.C (init): do not pass argc and argv as parameters
15563
15564 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15565
15566         * buffer.C: fix path for OS/2 & Win32
15567
15568         * lyx_gui.C:
15569         * lyx_main:
15570         * lyx_main.C: Added os:: class.
15571
15572         * os2_defines.h: update
15573
15574 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15575
15576         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15577         better by trying again with reduced state.
15578
15579 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * lyxrc.C (read): print error about invalid key sequence only when
15582         debugging (because not all latinX keysyms are known to some X
15583         servers)
15584
15585         * kbsequence.C (getiso): add a few std:: qualifiers
15586         (getiso): comment out extra return statement.
15587
15588 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15589
15590         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15591         handling.
15592         (Dispatch): enhance the accent inset a bit. (not perfect)
15593
15594 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15595
15596         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15597
15598 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * bufferlist.C (emergencyWrite): fix assert() call
15601
15602 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15603
15604         * text.C (InsertChar): Added trivial patch to only send the "you
15605         can not do multiple spaces this way" message once during a
15606         session.
15607
15608 2001-05-08  Baruch Even  <baruch@lyx.org>
15609
15610         * Makefile.am: Changed order of libraries to get LyX to link properly
15611         with the gnome frontend.
15612
15613 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15614
15615         * LaTeXFeatures.h: add a std:: qualifier
15616
15617 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15618
15619         * paragraph.C (String): use stringstream
15620
15621 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15622
15623         * paragraph.C (writeFile): remove footflag arg
15624
15625         * buffer.C (makeLaTeXFile): use stringstream
15626         (latexParagraphs): remove footnot gurba
15627
15628         * LaTeXFeatures.C (getPackages): use stringstream
15629         (getMacros): likewise
15630         (getTClassPreamble): likewise
15631         (getFloatDefinitions): new method
15632
15633         * paragraph.C (writeFile): reindent
15634         (Erase): reindent
15635
15636         * WorkArea.h: revert the xpos + etc changes.
15637
15638         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15639
15640         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15641
15642         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15643         (pasteSelection): likewise
15644         * text2.C (CreateUndo): likewise
15645
15646 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15647
15648         * minibuffer.C (peek_event): temporarily reduce the functionality
15649         of the minibuffer (to allow args on lfuns)
15650
15651         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15652         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15653
15654         * buffer.C (readInset): add compability reading of old float
15655         lists, add reading of new style float list.
15656         (readInset): avoid reevaluation of inscmd.getCmdName()
15657         (getLists): reindent
15658
15659         * MenuBackend.C (MenuItem): implement parsing of
15660         md_floatlistinsert and md_floatinsert.
15661         (expand::LastFiles): move initalizaton of iterators out of loop,
15662         avoid reevaluation.
15663         (expand::Documents): introduce typdedef vector<string> Strings,
15664         and use it.
15665         (expand::ExportFormats): introduce typedef vector<Format const *>
15666         Formats, and use it.
15667         (expand): implement FloatListInsert and FloatInsert.
15668
15669         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15670         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15671         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15672
15673         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15674         handling.
15675         (Dispatch::LFUN_FLOAT_LIST): implement
15676
15677 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15678
15679         * LaTeX.C (run): Fix problem with --export code.
15680
15681 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15682
15683         * BufferView.[Ch] (workarea): removed.
15684         (getClipboard) new method; wrapper for workarea()->getClipboard()
15685
15686         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15687         bug.
15688
15689         * WorkArea.h (width, height, xpos, ypos): These methods all
15690         returned the dimensions of the work_area sub-area of WorkArea,
15691         resulting in a position error if the WorkArea were resized. Now
15692         return the dimensions of the entire WorkArea.
15693
15694         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15695
15696 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15697
15698         * LaTeX.C (deplog): correct the syntax of regex reg1
15699
15700 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15701
15702         * undo.C: remove !NEW_INSETS cruft
15703
15704 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15705
15706         * text2.C: remove !NEW_INSETS cruft
15707
15708         * text.C: remove !NEW_INSETS cruft
15709
15710         * tabular.C: remove !NEW_INSETS cruft
15711
15712         * spellchecker.C: remove !NEW_INSETS cruft
15713
15714         * lyxtext.h: remove !NEW_INSETS cruft
15715
15716         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15717
15718         * lyxfunc.C: remove !NEW_INSETS cruft
15719
15720         * lyxfind.C: remove !NEW_INSETS cruft
15721
15722         * lyx_cb.C: remove !NEW_INSETS cruft
15723
15724         * figureForm.C: remove  !NEW_INSETS cruft
15725
15726         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15727
15728         * buffer.[Ch]: remove !NEW_INSETS cruft
15729
15730         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15731
15732         * CutAndPaste.C: remove !NEW_INSETS cruft
15733
15734         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15735
15736         * BufferView2.C: remove !NEW_INSETS cruft
15737
15738         * BufferView.h: remove !NEW_INSETS cruft
15739
15740 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15741
15742         * Lsstream.h: include LString.h before the sstream headers to
15743         fix problem with gcc 2.95.3 and lyxstring
15744
15745 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * lyx_main.C: add using directives when needed for C functions
15748         declared in std:: namespace.
15749
15750 2001-04-27  Juergen Vigna  <jug@sad.it>
15751
15752         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15753         (SetHeightOfRow): comment out the update call should not be needed!
15754
15755 2001-04-13  Juergen Vigna  <jug@sad.it>
15756
15757         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15758         (LyXTabular): tried to minimize operator= operations (and realized
15759         hopfully Lars wish).
15760
15761 2001-04-27  Juergen Vigna  <jug@sad.it>
15762
15763         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15764
15765 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15766
15767         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15768
15769         * buffer.C (readInset): hack to make listof algorithm work
15770
15771         * BufferView_pimpl.C: hack to make listof algorithm work
15772
15773 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15774
15775         * LyXAction.C: removed all !NEW_INSETS cruft
15776         (init): moved lfun_item in method
15777
15778         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15779
15780 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15781
15782         * BufferView2.C (theLockingInset): white space.
15783
15784 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * minibuffer.C: include <iostream>
15787
15788         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15789
15790         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15791
15792         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15793
15794         * text.[Ch] (TransposeChars): new method
15795
15796 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15797
15798         * call message directly through LyXView instead of through LyXFunc
15799         * BufferView2.C: adjust
15800         * BufferView_pimpl.C: adjust
15801         * FontLoader.C: adjust
15802         * buffer.C: adjust
15803         * bufferview_funcs.C: adjust
15804         * converter.C: adjust
15805         * figureForm.C: adjust
15806         * importer.C: adjust
15807         * lyx_cb.C: adjust
15808         * lyx_gui_misc.C: adjust
15809         * lyxfunc.C: adjust
15810         * lyxvc.C: adjust
15811         * text2.C: adjust
15812         + more files in subdirs
15813
15814         * lyxparagraph.h (size): move up int file
15815         (GetLayout): ditto
15816
15817         * adjust all uses of Assert to lyx::Assert.
15818
15819         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15820         lyxfunctional in namespace lyx
15821         * layout.C (hasLayout): ditto
15822         (GetLayout): ditto
15823         (GetLayout): ditto
15824         (delete_layout): ditto
15825         (NumberOfClass): ditto
15826         * converter.C (GetFormat): ditto
15827         (GetNumber): ditto
15828         (Add): ditto
15829         (Delete): ditto
15830         (SetViewer): ditto
15831         * bufferlist.C (getFileNames): ditto
15832         (emergencyWriteAll): ditto
15833         (exists): ditto
15834         (getBuffer): ditto
15835         * MenuBackend.C (hasSubmenu): ditto
15836         (hasMenu): ditto
15837         (getMenu): ditto
15838         * BufferView_pimpl.C (getInsetByCode): ditto
15839
15840 2001-04-18  Juergen Vigna  <jug@sad.it>
15841
15842         * vspace.C (asLatexString): fixed the 100% problem.
15843
15844 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15845
15846         * lyxfunc.C (Dispatch):
15847         * minibuffer.C:
15848         * minibuffer.h: add a few std:: qualifiers
15849
15850 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15851
15852         * minibuffer.[Ch]: reimplement so that commands is initiated and
15853         run from lyxfunc, simplified som handling, and made the completion
15854         and history code for complete. wip.
15855
15856         * lyxfunc.C (processKeySym): call message
15857         (miniDispatch): new temporary method
15858         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15859         (LFUN_MESSAGE): implement
15860         (LFUN_MESSAGE_PUSH): implement
15861         (LFUN_MESSAGE_POP): implement
15862         (initMiniBuffer): the initial/defualt minibuffer message.
15863
15864         * lyxfont.[Ch]: inline some more getters
15865
15866         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15867
15868         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15869
15870         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15871         (AutoSave): use LFUN_MESSAGE
15872         (Reconfigure): ditto
15873
15874         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15875
15876         * figureForm.C: use LFUN_MESSAGE
15877
15878         * converter.C (runLaTeX): use LFUN_MESSAGE
15879
15880         * bufferview_funcs.C: use LFUN_MESSAGE
15881         (Melt): ditto
15882         (changeDepth): ditto
15883
15884         * bufferparams.h: use boost::
15885
15886         * bufferlist.h: inherit privately from noncopyable
15887
15888         * bufferlist.C (loadLyXFile): remove some commented code.
15889
15890         * buffer.C (runChktex): use LFUN_MESSAGE
15891
15892         * ShareContainer.h: inherit privately from noncopyable
15893
15894         * ParagraphParameters.[hC] (depth): inline it.
15895
15896         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15897         methods.
15898         (message): new method
15899         (messagePush): ditto
15900         (messagePop): ditto
15901         (show): init minibuffer
15902         (showState): direct call
15903
15904         * LaTeX.[Ch]: inherit privately from noncopyable
15905         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15906         instead of WriteStatus.
15907
15908         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15909
15910         * BufferView_pimpl.C (buffer): don't init minibuffer
15911         (workAreaButtonPress): use LFUN_MESSAGE
15912         (workAreaButtonRelease): ditto
15913         (savePosition): ditto
15914         (restorePosition): ditto
15915         (MenuInsertLyXFile): ditto
15916         (workAreaExpose): don't init minibuffer
15917         (update): remove commented code, simplify
15918
15919         * BufferView2.C (openStuff): use LFUN_MESSAGE
15920         (toggleFloat): ditto
15921         (menuUndo): ditto
15922         (menuRedo): ditto
15923         (copyEnvironment): ditto
15924         (pasteEnvironment): ditto
15925         (copy): ditto
15926         (cut): ditto
15927         (paste): ditto
15928         (gotoInset): ditto
15929         (updateInset): remove some commented code
15930
15931         * lastfiles.h: inherit privately from noncopyable
15932         * layout.h: ditto
15933         * lyx_gui.h: ditto
15934         * lyx_main.h: ditto
15935         * lyxlex.h: ditto
15936         * lyxlex_pimpl.h: ditto
15937
15938         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15939         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15940         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15941
15942         * LyXAction.h: inherit privately from noncopyable, add methods
15943         func_begin, func_end, returning iterators to the func map.
15944
15945         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15946         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15947         (func_begin): new method
15948         (func_end): new method
15949
15950         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15951         and not)
15952         (copySelection): ditto
15953         (pasteSelection): ditto
15954
15955         * BufferView.C: whitespace change
15956         * BufferView.h: inherit privately from noncopyable
15957
15958 2001-04-16  Allan Rae  <rae@lyx.org>
15959
15960         * tabular-old.C (l_getline):
15961         * spellchecker.C (sc_check_word):
15962         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15963         an unrecognised preprocessor directive.  So ensure they're wrapped.
15964
15965 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15966
15967         * src/exporter.C (Export): Give an error message when path to file
15968         contains spaces.
15969
15970 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15971
15972         * LaTeX.C (deplog): Always check that foundfile exists.
15973
15974 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15975
15976         * lyx_main.h:
15977         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15978
15979 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15980
15981         * tabular.[Ch] (getLabelList): implement new method
15982
15983         * minibuffer.h: comment ouf setTiimer
15984
15985         * minibuffer.C (ExecutingCB): constify res
15986         (peek_event): constify s
15987         (Set): constify ntext
15988         (Init): constify nicename
15989
15990         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15991
15992         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15993         (savePosition): use two params to Minibuffer::Set
15994         (restorePosition): ditto
15995
15996 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15997
15998         * lyx_main.C: include language.h
15999
16000         * Makefile.am (lyx_main.o): add language.h
16001
16002 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16003
16004         * exporter.C:
16005         * paragraph.C:
16006         * screen.C:
16007         * tabular.C:
16008         * CutAndPaste.C: include gettext.h
16009
16010         * lyxfont.h: remove old hack with ON and OFF.
16011
16012         * lyxparagraph.h:
16013         * lyxfont.h: do not include language.h...
16014
16015         * BufferView2.C:
16016         * LaTeXFeatures.C:
16017         * Painter.C:
16018         * bufferview_funcs.C:
16019         * font.C:
16020         * lyxfont.C:
16021         * text.C:
16022         * text2.C:
16023         * trans_mgr.C:
16024         * paragraph.C: ... but do it here instead
16025
16026 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16027
16028         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16029
16030         * tabular.C: small reformat
16031
16032         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16033         NEW_INSETS version
16034         (GetChar): ditto
16035         (BreakParagraph): ditto
16036         (SetOnlyLayout): ditto
16037         (SetLayout): ditto
16038
16039         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16040         with one arg less.
16041
16042         * lastfiles.C: removed most using decl, add std:: where needed
16043
16044         * buffer.C: ws changes
16045
16046         * MenuBackend.C (class compare_format): put into anon namespace
16047         (expand): constify label, names, action, action2
16048         (expand):
16049
16050         * text.C (SingleWidth): constify font
16051         (IsBoundary): constify rtl2
16052         (GetVisibleRow): constify ww
16053
16054         * LaTeX.C (deplog): constify logfile
16055
16056         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16057         start_x, end_x
16058         (workAreaExpose): constify widthChange, heightChange
16059
16060         * lyxrow.C (par): moved
16061         (height): moved
16062         (next): moved
16063         * lyxrow.h: as inlines here
16064
16065         * lyxfont.h (shape): moved from lyxfont.C
16066         (emph): moved from lyxfont.C
16067
16068         * lyxfont.C (LyXFont): use initialization list for all
16069         constructors
16070         (shape): move to lyxfont.h as inline
16071         (emph): move to lyxfont.h as inline
16072
16073
16074 2001-04-04  Juergen Vigna  <jug@sad.it>
16075
16076         * vspace.C: had to include stdio.h for use of sscanf
16077
16078 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16079
16080         * BufferView.h:
16081         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16082         independent of xforms.
16083
16084 2001-04-02  Juergen Vigna  <jug@sad.it>
16085
16086         * spellchecker.C: fixed namespace placing!
16087
16088 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16089
16090         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16091         the LyXParagraph * is 0.
16092
16093 2001-03-29  Juergen Vigna  <jug@sad.it>
16094
16095         * vspace.C: added support for %, c%, p%, l%.
16096         (stringFromUnit): added helper function.
16097         (asLatexString): changed to give right results for the %-values.
16098
16099         * buffer.C: convert the widthp in a width%.
16100
16101 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16102
16103         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16104         figureForm.[Ch].
16105
16106         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16107         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16108
16109         * lyx_cb.[Ch]: see above.
16110
16111         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16112         form1.[Ch].
16113
16114         * form1.[Ch]:
16115         * lyx.[Ch]: replaced by figure_form.[Ch].
16116
16117         * lyx_gui.C:
16118         * lyx_gui_misc.C:
16119         * lyxfunc.C: changed headers associated with above changes.
16120
16121 2001-03-27  Juergen Vigna  <jug@sad.it>
16122
16123         * BufferView_pimpl.C: set the temporary cursor right!
16124
16125 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16126
16127         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16128
16129 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16130
16131         * LString.h: removed "using std::getline"!
16132
16133         * BufferView_pimpl.C (Dispatch): changes due to changes in
16134         InsetInclude::Params.
16135
16136         * buffer.C (tag_name): removed redundant break statements as they were
16137         producing lots of warnings with my compiler.
16138
16139 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16140
16141         * LString.h: add "using std::getline" when using the real <string>.
16142
16143 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16144
16145         * buffer.C: removed bitset usage.
16146         PAR_TAG moved to an anonymous name space.
16147         (tag_name): new funtion, also in the anonymous namespace.
16148         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16149         (makeDocBookFile): clean code. Completed transition from string arrays
16150         to string vectors.
16151         (SimpleDocBookOnePar): code clean.
16152
16153 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16154
16155         * tabular.C: add some comments.
16156
16157 2001-03-22  Juergen Vigna  <jug@sad.it>
16158
16159         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16160         compatibility read a bit and fixed bug with minipage in different
16161         depth.
16162
16163 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16164
16165         * buffer.C (pop_tag): removed.
16166         (push_tag): removed.
16167         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16168         array replaced with vector. Added support for CDATA sections.
16169         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16170         at any nest level.
16171         (makeDocBookFile): XML conformant declaration of CDATA section,
16172         fixed bug related to <emphasis> in the first paragraph char.
16173         (sgmlOpenTag): exclude empty tags.
16174         (sgmlCloseTag): ditto.
16175
16176         * buffer.h (pop_tag): removed.
16177         (push_tag): removed.
16178
16179 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16180
16181         * language.h (Languages): added size_type and size().
16182
16183 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16184
16185         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16186         response on compability reading of minipages. One probliem is that
16187         the old usage of minipages was «flertydig»
16188
16189         * several files here and in subdirs: don't use static at file
16190         scope use anon namespaces instead.
16191
16192 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16193
16194         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16195         LaTeX output. This is necessary for Literate document
16196         processing.
16197
16198 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16199
16200         * buffer.C: insert hfill when needed.
16201
16202         * tabular.C (l_getline): use string::erase, small whitespace change.
16203
16204         * BufferView_pimpl.C: try the anon namespace.
16205         * WorkArea.C: ditto
16206
16207 2001-03-16  Juergen Vigna  <jug@sad.it>
16208
16209         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16210         otherwise it won't open options-dialogs.
16211
16212         * buffer.C: honor pextraWidth(p) on converting minipages.
16213
16214         * tabular.C (l_getline): changed the functions to strip trailing \r.
16215
16216 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16217
16218         * BufferView_pimpl.C:
16219         * minibuffer..C: added "using SigC::slot" declaration.
16220
16221 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16222
16223         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16224
16225         * text2.C: ditto
16226
16227         * text.C: ditto
16228
16229         * paragraph.C: ditto
16230
16231         * lyxtext.h: NO_PEXTRA
16232
16233         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16234
16235         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16236         * ParameterStruct.h: ditto
16237         * ParagraphParameters.h: ditto
16238         * lyxparagraph.h: ditto
16239
16240 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16241
16242         * buffer.C: add compability for minipage alignment.
16243         (latexParagraphs): remove unwanted pextra check.
16244
16245         * several files: remove CXX_WORKING_NAMESPACES
16246
16247         * buffer.C (pop_tag): tie is in namespace boost
16248
16249         * BufferView.h: noncopyable is in namespace boost
16250         * lyxlex.h: ditto
16251         * lyx_main.h: ditto
16252         * lyx_gui.h: ditto
16253         * layout.h: ditto
16254         * lastfiles.h: ditto
16255         * bufferlist.h: ditto
16256         * ShareContainer.h: ditto
16257         * LyXView.h: ditto
16258         * LyXAction.h: ditto
16259         * LaTeX.h: ditto
16260
16261 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16262
16263         * Merging changes from BRANCH_MVC back into HEAD.
16264
16265         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16266
16267 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16268
16269         * BufferView_pimpl.C: change from intl.C
16270
16271         * combox.h:
16272         * combox.C:
16273         * Makefile.am: move combox.*
16274
16275         * form1.h:
16276         * form1.C:
16277         * lyx_gui.C:
16278         * intl.h:
16279         * intl.C: remove dialog (covered by prefs)
16280
16281 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16282
16283         * lyxfunc.C (Dispatch): removed redundant break statement.
16284
16285 2001-03-14  Juergen Vigna  <jug@sad.it>
16286
16287         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16288
16289 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16290
16291         * buffer.C: add hack to fix compability reading of minipages.
16292
16293 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16294
16295         * buffer.C (getLists): Cleanup.
16296
16297 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16298
16299         * lyxfont.C (update): don't honor toggleall on font size.
16300
16301 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16302
16303         * bmtable.c:
16304         * bmtable.h:
16305         * Makefile.am: moved to frontends/xforms/
16306
16307         * lyx_gui_misc.C:
16308         * lyxfunc.C:
16309         * BufferView_pimpl.C: changes for moved mathpanel
16310
16311 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16312
16313         * gettext.h: fix gettext_init() in --disable-nls
16314
16315 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16316
16317         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16318
16319 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16320
16321         * lyx.C:
16322         * lyx.h: strip external form
16323
16324 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16325
16326         * BufferView_pimpl.C: add comment, destroySplash()
16327
16328 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16329
16330         * BufferView_pimpl.C:
16331         * LyXAction.C:
16332         * buffer.C:
16333         * commandtags.h:
16334         * lyxfunc.C: use re-worked insetinclude
16335
16336 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16337
16338         * buffer.C: add using std::stringstream.
16339
16340         * lyx_cb.C: readd using std::ios.
16341
16342         * buffer.C: add using std::map.
16343
16344         * BufferView_pimpl.C: add using std::vector.
16345
16346         * ShareContainer.h: add std:: to swap.
16347
16348         * buffer.h: add some typedefs
16349         * buffer.C (getLists): use them
16350         (getLists): renamed from getTocList.
16351         add a counter for the different float types and use it in the
16352         generated string.
16353         (getLists): use the same counter for the NEW_INSETS and the "non"
16354         NEW_INSETS
16355
16356         * lyx_cb.h: remove unused items, includes, using etc.
16357
16358         * ShareContainer.h: remove some commented code, add more comments
16359         and "documentation".
16360
16361 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16362
16363         * buffer.C (getTocList): make the list also when NEW_INSETS is
16364         defined.
16365
16366         * buffer.h: remove TocType
16367
16368         * buffer.C (getTocList): change to return a map<string,
16369         vector<TocItem> >, implement for dynamic number of list.
16370
16371         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16372         * text2.C (PasteSelection): adjust
16373         * CutAndPaste.C (pasteSelection): adjust
16374
16375         * FloatList.C (FloatList): update from the new_insets branch.
16376         * Floating.[Ch]: ditto
16377         * LaTeXFeatures.C: ditto
16378         * buffer.C: ditto
16379         * lyxlex_pimpl.C: ditto
16380
16381         * paragraph.C (Last): remove when NEW_INSETS is defined.
16382
16383         * other file: changes because of the above.
16384
16385 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16386
16387         * lyxparagraph.h: rename next to next_, previous to previous_,
16388         make them private for NEW_INSETS. Rename Next() to next(),
16389         Previous() to previous().
16390
16391         * other files: changes because of the above.
16392
16393 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16394
16395         * BufferView.h:
16396         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16397         problem.
16398
16399 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16400
16401         * main.C (main): pass lyx_localedir to gettext_init().
16402
16403         * gettext.h: remove locale_init and gettext_init macros
16404
16405         * gettext.C (locale_init): new function
16406         (gettext_init): new function
16407
16408         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16409         setlocale().
16410
16411 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16412
16413         * Moved credits to frontends:
16414         * credits.[Ch]: removed
16415         * credits_form.[Ch]: removed
16416         * lyx_gui_misc.C: remove credits stuff
16417         * Makefile.am:
16418
16419 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16420
16421         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16422
16423         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16424         unneeded destructor.
16425
16426         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16427         a standalone pointer again.
16428
16429         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16430
16431 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16432
16433         * Makefile.am:
16434         * filedlg.h:
16435         * filedlg.C:
16436         * LyXAction.C:
16437         * ToolbarDefaults.C:
16438         * bufferlist.C:
16439         * commandtags.h:
16440         * form1.C:
16441         * form1.h:
16442         * lyx_cb.C:
16443         * lyx_cb.h:
16444         * lyxfunc.h:
16445         * lyxfunc.C:
16446         * BufferView_pimpl.C: use new file dialog in GUII
16447
16448         * lyx_cb.h:
16449         * lyx_cb.C: remove LayoutsCB to Toolbar
16450
16451 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16452
16453         * ShareContainer.h (get): add std:: qualifier
16454
16455 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16456
16457         * ShareContainer.h: define a proper ShareContainer::value_type
16458         type (and use typename to please compaq cxx)
16459
16460 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16461
16462         * lyxparagraph.h: move serveral local vars to
16463         ParameterStruct/ParagraphParameters., use ShareContainer in
16464         FontTable., make vars in FontTable private and add getter and
16465         setter.
16466
16467         * paragraph.C: changes because of the above.
16468
16469         * lyxfont.h: remove copy constructor and copy assignment. (the
16470         default ones is ok), move number inside FontBits. move inlines to
16471         lyxfont.C
16472
16473         * lyxfont.C: add number to initializaton of statics, move several
16474         inlines here. constify several local vars. some whitespace
16475         cleanup. Dont hide outerscope variables.
16476
16477         * Spacing.h: add two new constructors to match the set methods.
16478
16479         * ShareContainer.h: new file, will perhaps be moved to support
16480
16481         * ParameterStruct.h: new file
16482
16483         * ParagraphParameters.h: new file
16484
16485         * ParagraphParameters.C: new file
16486
16487         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16488         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16489
16490         * BufferView_pimpl.C: ParagraphParameter changes.
16491         * buffer.C: Likewise.
16492         * bufferview_funcs.C: Likewise.
16493         * text.C: Likewise.
16494         * text2.C: Likewise.
16495
16496 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16497
16498         * lyxfind.C (LyXReplace): do not redefine default argument in
16499         implementation.
16500         (IsStringInText): ditto
16501         (SearchForward): ditto
16502         (SearchBackward): ditto
16503
16504 2001-03-06  Juergen Vigna  <jug@sad.it>
16505
16506         * lyxfind.C (IsStringInText): put parentes around expressions.
16507
16508 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16509
16510         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16511
16512 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16513
16514         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16515
16516         * stl_string_fwd.h: add comment
16517
16518         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16519
16520         * tabular.h:
16521         * tabular.C: remove unused DocBook methods
16522
16523         * intl.C:
16524         * language.C:
16525         * paragraph.C:
16526         * buffer.C:
16527         killed DO_USE_DEFAULT_LANGUAGE
16528
16529 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16530
16531         * lyx_gui.C: do not include language.h.
16532
16533         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16534         arguments in function implementation.
16535
16536 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16537
16538         * BufferView_pimpl.C: add <ctime>
16539
16540 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16541
16542         * BufferView_pimpl.C: add using std::find_if
16543
16544 2001-02-27  José Matos  <jamatos@fep.up.pt>
16545
16546         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16547         by OnlyPath.
16548
16549 2001-02-11  José Matos  <jamatos@fep.up.pt>
16550
16551         * buffer.C (makeDocBookFile): command styles now have a parameter as
16552         "title" by default.
16553
16554 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16555
16556         * layout_forms.[Ch]: removed
16557         * lyx_cb.[Ch]: out character
16558         * lyx_gui.C: out character
16559         * lyx_gui_misc.C: out character
16560         * bufferview_funcs.C: : out character,
16561         added toggleall as parameter in ToggleAndShow
16562
16563 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16564
16565         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16566
16567         * text2.C (SetCurrentFont): Disable number property at boundary.
16568
16569 2001-02-26  Juergen Vigna  <jug@sad.it>
16570
16571         * lyxfunc.C (getStatus): added a string argument override function so
16572         that this is correctly called from LyXFunc::Dispatch if it contains a
16573         do_not_use_argument which is used!
16574         (Dispatch): added check for "custom" export and call appropriate func.
16575
16576 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16577
16578         * lyxrc.C: Add language_command_local, language_use_babel and
16579         language_global_options.
16580
16581         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16582
16583         * buffer.C (makeLaTeXFile): Use language_use_babel and
16584         language_global_options.
16585
16586 2001-02-23  Juergen Vigna  <jug@sad.it>
16587
16588         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16589         which works with LyXText and putted it inside BufferView. Here now we
16590         only call for that part the BufferView::Dispatch() function.
16591
16592         * BufferView.C (Dispatch): added.
16593
16594         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16595         functions which needs to use a LyXText over from LyXFunc.
16596         (MenuInsertLyXFile): added
16597         (getInsetByCode): added
16598         (moveCursorUpdate): added
16599         (static TEXT): added
16600
16601 2001-02-22  Juergen Vigna  <jug@sad.it>
16602
16603         * BufferView_pimpl.C (update): call a status update to see if LyXText
16604         needs it.
16605
16606 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16607
16608         * vc-backend.C (revert): implement for CVS
16609         (getLog): implement for CVS
16610
16611 2001-02-20  Juergen Vigna  <jug@sad.it>
16612
16613         * text2.C (ClearSelection): added BufferView param for inset_owner call
16614
16615         * lyxfunc.C (TEXT): added this function and use it instead of
16616         directly owner->view()-text of getLyXText().
16617
16618 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16619
16620         * src/layout_forms.C: out preamble
16621         * src/layout_forms.h: out preamble
16622         * src/lyx_cb.C: out preamble
16623         * src/lyx_cb.h: out preamble
16624         * src/lyx_gui.C: out preamble
16625         * src/lyx_gui_misc.C: out preamble
16626         * src/lyxfunc.C: connect with guii preamble
16627
16628 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16629
16630         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16631
16632 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16633
16634         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16635         whether to run bibtex.
16636
16637 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16638
16639         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16640
16641 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16642
16643         * Makefile.am (lyx_SOURCES): removed bibforms.h
16644
16645         * vspace.h: doxygen
16646
16647         * text.C (GetVisibleRow): make several local vars const
16648
16649         * tabular.C: small cleanup.
16650
16651         * lyxserver.C (callback): use compare instead of strncmp
16652
16653         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16654         inlines to after class or to paragraph.C
16655
16656         * lyxfont.h: remove friend operator!=
16657
16658         * converter.h: move friend bool operator< to non friend and after
16659         class def.
16660
16661         * combox.h: small cleanup
16662
16663         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16664         to inlines after class def.
16665
16666         * buffer.C (pop_tag): use string operations instead of strcmp
16667
16668         * bmtable.c: doxygen, small cleanup
16669
16670         * LaTeX.h: remove friend operator==
16671
16672 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16673
16674         * screen.C:
16675         * lyxrc.[Ch]:
16676         * lyxfunc.C:
16677         * lyxfont.[Ch]:
16678         * lyx_cb.C:
16679         * intl.[Ch]:
16680         * commandtags.h:
16681         * buffer.C:
16682         * WorkArea.[Ch]:
16683         * LyXAction.C:
16684         * BufferView_pimpl.C:
16685         * BufferView.[Ch]: remove cruft
16686
16687 2001-02-14  Juergen Vigna  <jug@sad.it>
16688
16689         * lyxfunc.C: removed #if 0 unused code
16690
16691         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16692
16693         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16694
16695         * text2.C (SetSelection): added a BufferView * parameter
16696
16697 2001-02-13  Juergen Vigna  <jug@sad.it>
16698
16699         * lyxfunc.C (Dispatch): fixed protected blank problem.
16700         * BufferView2.C (protectedBlank): added LyxText * parameter.
16701
16702         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16703         (AppendColumn): same as above for column_info.
16704
16705         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16706         (moveCursorUpdate): use a LyXText param for support of InsetText.
16707
16708         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16709         (tripleClick): ditto
16710
16711         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16712
16713         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16714
16715         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16716
16717         * text2.C (SetSelection): set correct update status if inset_owner
16718         (ToggleFree): ditto
16719
16720 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16721
16722         * tabular.C: remove some commented code.
16723
16724 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16725
16726         * BufferView_pimpl.C: call hideSplash()
16727
16728         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16729
16730         * include_form.h:
16731         * bibforms.h: remove
16732
16733         * lyxfunc.C:
16734         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16735           add LFUN_CHILD_CREATE
16736
16737         * counters.h: fix tiny typo
16738
16739         * lyx_cb.C:
16740         * lyx.h:
16741         * lyx_gui.C:
16742         * lyx.C: move splash to frontends/xforms/
16743
16744         * lyx_gui_misc.C: move Include and Bibform to frontends
16745
16746         * lyxvc.h: clarify comment
16747
16748         * vspace.C: tiny housekeeping
16749
16750 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16751
16752         * text.C (PrepareToPrint): RTL Fix.
16753
16754         * paragraph.C (GetUChar): New method.
16755         (String):  Use GetUChar.
16756
16757         * buffer.C (asciiParagraph): Use GetUChar.
16758
16759 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16760
16761         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16762
16763 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16764
16765         * buffer.h:
16766         * buffer.C: rename to getLogName(), handle
16767           build log / latex log nicely
16768
16769 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16770
16771         * MenuBackend.C:
16772         * MenuBackend.h: remove support for reference menuitem type.
16773
16774 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16775
16776         * BufferView_pimpl.C: housekeeping
16777         * BufferView_pimpl.h:
16778         * LyXView.h:
16779         * Makefile.am:
16780         * Timeout.C:
16781         * Timeout.h:
16782         * minibuffer.h: move Timeout GUI-I
16783
16784 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16785
16786         * lyxrc.C (read): Update converters data-structures.
16787
16788 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16789
16790         * LaTeX.h (operator!=): add operator != for Aux_Info
16791
16792 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16793
16794         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16795
16796         * LaTeXLog.C: deleted, useful code moved to Buffer
16797
16798         * buffer.h:
16799         * buffer.C: new function getLatexLogName()
16800
16801         * lyx_gui_misc.C:
16802         * lyx_gui.C:
16803         * lyxvc.C:
16804         * lyxvc.h:
16805         * lyxfunc.C: use frontends for LaTeX and VC logs
16806
16807 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16808
16809         * LaTeX.h: yet another std:: that Allan forgot.
16810
16811         * Variables.C (set): renamed from isset(), because this clashes
16812         with some HP-UX macros (grr).
16813
16814 2001-02-06  Allan Rae  <rae@lyx.org>
16815
16816         * LaTeX.h: Another bug fix.  Missing std:: this time.
16817
16818 2001-02-04  Allan Rae  <rae@lyx.org>
16819
16820         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16821         floats problem. I've left it commented out because it's not quite
16822         correct.  It should also test that the current object is a table or
16823         figure inset.  But I haven't gotten around to figuring out how to do
16824         that.  I *think* it'll be something like: "table" == inset.type()
16825
16826         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16827         bool.
16828
16829 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16830
16831         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16832         all the citation/databases/styles in the auxilary file.
16833         (run): Rerun latex if there was a babel language error.
16834
16835 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16836
16837         * text.C (Backspace): Preserve the font when changing newline char
16838         with a space.
16839         (BreakParagraph): If the cursor is before a space, delete the space.
16840
16841         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16842
16843 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16844
16845         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16846         new argument (code).
16847         (ChangeCitationsIfUnique): New method.
16848
16849         * paragraph.C (GetPositionOfInset): Handle bibkey.
16850
16851 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16852
16853         * BufferView_pimpl.h: change type of Position::par_pos to
16854         LyXParagraph::size_type.
16855
16856 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16857
16858         * BufferView_pimpl.C (savePosition, restorePosition): Write
16859         messages to minibuffer.
16860
16861 2001-01-28  José Matos  <jamatos@fep.up.pt>
16862
16863         * buffer.C (makeDocBookFile): adds support for document language.
16864         A silly restriction on the name of LatexCommand types where removed.
16865         Added support for CDATA sections, allows to chars unescaped, used
16866         among others in code, to avoid escape < and >.
16867
16868 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16869
16870         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16871         saved positions instrad of a stack. Furthermore, a position is
16872         stored using paragraph id/paragraph position.
16873
16874         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16875         Remove LFUN_REF_BACK.
16876
16877 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16878
16879         * converter.C (dvipdfm_options): New method.
16880
16881 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16882
16883         * vspace.C (isValidLength): Fix for empty input string.
16884
16885 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16886
16887         * LyXAction.C (init): change description of LFUN_FIGURE to
16888         "Insert Graphics"
16889
16890 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16891
16892         * LaTeX.C: add using directive
16893
16894 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16895
16896         * MenuBackend.C (expand): Fix the sorting of the formats.
16897
16898 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16899
16900         * lyx_main.C: tiny error message fix
16901
16902 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16903
16904         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16905         calling fl_initialize(). This fixes the problem with ',' as
16906         decimal separator in text files.
16907
16908 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16909
16910         * trans.C (process): Fix the keymap bug.
16911
16912 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16913
16914         * LaTeX.C (scanAuxFiles): New method. Provides support for
16915         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16916         (scanLogFile) Scan for "run BibTeX" messages.
16917
16918         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16919         OT1 font encoding. Also, load the aecompl package if the ae
16920         package is loaded.
16921
16922         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16923
16924 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16925
16926         * texrow.C (increasePos): turn two error messages into debug
16927         messages.
16928
16929 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16930
16931         * LaTeX.C (scanAux): Handle the \@input macro.
16932         (runBibTeX): Use scanAux().
16933
16934         * language.C (latex_options_): New field.
16935
16936         * LaTeXFeatures.C (getMacros): Add language macros.
16937
16938         * buffer.C (makeLaTeXFile): Small fix.
16939
16940 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16941
16942         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16943
16944         * text2.C: add a using directive.
16945
16946 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16947
16948         * BufferView2.C:
16949         * lyx_gui_misc.h:
16950         * lyxfr1.C:
16951         * lyxfunc.C: kill LyXBell.
16952
16953 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16954
16955         * text.C (IsBoundary): Remove the error message
16956
16957         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16958
16959         * lyxrc.C (setDefaults): Correct initialization value for
16960         font_norm_type.
16961
16962 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16963
16964         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16965         gotoError().
16966
16967         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16968         and GotoNextNote().
16969
16970         * src/LyXAction.C: Added reference-next.
16971
16972         * text.C (InsertChar): Use contains instead of strchr.
16973
16974         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16975
16976 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16977
16978         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16979         alignment commands (when needed).
16980
16981         * text.C (InsertChar): Add ':' to number separator chars.