]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
76e037176a8bcaaff78b9494d6179f85e6c60025
[lyx.git] / src / ChangeLog
1 2005-01-20  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize) 
4         (setLyXMisc): (char string literal) != (char string literal) is
5         performing a comparison on the addresses. Convert one operand
6         explicitly to string to guarantee expected behaviour.
7         From MSVC warning.
8
9 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
10
11         * buffer.C:
12         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
13
14         * output_plaintext.C: remove unneeded #include gzstream.h.
15         
16 2005-01-20  Angus Leeming  <leeming@lyx.org>
17
18         * SpellBase.h: rename some of the elements of the Result enum.
19
20         * aspell_local.h:
21         * ispell.h:
22         * pspell.h:
23         * aspell.C (check):
24         * ispell.C (check):
25         * pspell.C (check): ditto
26
27 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
28
29         * buffer.C: add #include <fstream>.
30
31         * lyx_main.C (init): Compile fix.
32
33         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
34
35 2005-01-20  Angus Leeming  <leeming@lyx.org>
36
37         * mover.h: change commentary to reflect the changed meaning of
38         the $$s placeholder.
39
40 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * output_linuxdoc.C (linuxdocParagraphs): silence warning
43
44         * lyxfind.C (MatchString::operator()): remove bogus semicolon
45
46 2005-01-20  Angus Leeming  <leeming@lyx.org>
47
48         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
49         printing diagnostic data by not dereferecing an iterator past the
50         end.
51
52 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
53
54         * buffer.C (readHeader): use "&&" rather than "and".
55
56         * lyxserver.h (inPipeName, outPipeName): make these const.
57
58 2005-01-19  Angus Leeming  <leeming@lyx.org>
59
60         * lyx_main.C (error_handler, init): protect SIGHUP with
61         #ifdef SIGHUP guards.
62
63 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
66
67 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * text.C (setHeightOfRow): add a margin at the top and bottom of
70         the document (bug 1761)
71
72 2005-01-17  Angus Leeming  <leeming@lyx.org>
73
74         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
75         with "python ". Workaround for a brain-dead Windows.
76
77 2005-01-16  Angus Leeming  <leeming@lyx.org>
78
79         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
80         for MacOSX and Windows to use prependEnvPath.
81         Strip out the hard-coded block to add elements to the PATH for
82         MacOSX and replace it with a call to prependEnvPath using the
83         contents of LyXRC::path_prefix.
84         (queryUserLyXDir): strip out the code to run reconfigure, instead
85         returning a boolean indicating the necessity to do so.
86         (reconfigureUserLyXDir): contains the code to reconfigure the
87         user support directory. Is now called after the various LyXRC data
88         files have been read.
89
90         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
91
92 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
93
94         * converter.[Ch] (convert): take a new parameter try_default. Use
95         a default converter (imagemagick) if try_default is true.
96
97 2005-01-13  Angus Leeming  <leeming@lyx.org>
98
99         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
100         os::cygwin_path_fix.
101         (write): output LyXRC::cygwin_path_fix as necessary.
102
103 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
104
105         * lyxrc.h:
106         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
107
108 2005-01-12  Angus Leeming  <leeming@lyx.org>
109
110         * lyx_main.C (init): set the PATH variable to include the
111         directory containing the LyX binary when running on Mac or Windows.
112
113 2005-01-12  Angus Leeming  <leeming@lyx.org>
114
115         * lyx_main.C (init): remove cruft that purports to set the locale
116         dir. It doesn't and is not needed anyway.
117
118 2005-01-10  Angus Leeming  <leeming@lyx.org>
119
120         * Makefile.am: remove the lyx_main.C special casing.
121
122         * BufferView_pimpl.C:
123         * bufferlist.C:
124         * exporter.C:
125         * lyx_cb.C:
126         * lyx_main.C:
127         * lyxfunc.C:
128         * messages.C: use support/package.h to provide the paths to the
129         various directories used by LyX.
130
131 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
132
133         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
134         layout if pasting into an empty paragraph)
135
136 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
137
138         * tex-accent.C: add <string>
139
140 2005-01-06  José Matos  <jamatos@lyx.org>
141
142         * ParagraphParameters.C (write): put every parameter in its own line.
143         * paragraph.C (write): reduce number of consecutive empty lines exported.
144         * buffer.C (LYX_FORMAT): increase file format to 239.
145
146 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
147
148         * everywhere: change support/tostr.h -> support/convert.h
149
150         * tabular.C: make all write_attributes templates, tostr -> convert
151
152         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
153         (emptyTag): and -> &&, and fix type for ret from getChar
154         (getFirstWord): fix type for ret from getChar
155         (onlyText): and -> &&
156         (simpleDocBookOnePar): and not -> && !, fix type for ret from
157         getChar
158
159         * toc.C (goTo, action):
160         * text3.C (dispatch):
161         * text.C (currentState):
162         * tex-accent.C (DoAccent):
163         * sgml.C:
164         * lyxrc.C:
165         * lyxfunc.C (menuNew):
166         * lyxfinc.C (replace):
167         * counters.C (laberItem):
168         * bufferview_funcs.C (font2string):
169         * bufferparams.C (writeFile):
170         * buffer.C (readFile):
171         * Spacing.C (set):
172         * MenuBackend.C: tostr -> convert
173
174         * LaTeX.C (runMessage): fix format
175         (scanAuxFiles): tostr -> convert
176
177         * BufferView_pimpl.C (savePosition): fix format
178         (restorePosition): ditto
179         (dispatch): ditto
180
181 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
182
183         * Spacing.[Ch]: New method getValueAsString().
184
185         * Spacing.[Ch]:
186         * bufferparams.C:
187         * ParagraphParameters.C:
188         * lyxlayout.C:
189         * text.C:
190         * text3.C: store/read spacing value as string.
191
192         * rowpainter.C: change float value (spacing_val) to double.
193
194         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
195         broken custom document spacing).
196
197 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
198
199         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
200         namespace, also more use of temp references and const
201
202         * cursor.[Ch] (getStatus): move to lyxfunc.C
203
204         * bufferparams.C: reformat slightly
205
206         * bufferview_funcs.C (font2string): constify arg
207
208         * changes.C:
209         * converter.C:
210         * counters.C:
211         * bufferlist.C:
212         * buffer_funcs.C: (many funcs): constify arg on function
213         definitions, also make more local vars const, also add ASSERTS on
214         pointer args.
215
216         * buffer.C (LYX_FORMAT): put const in correct place
217         (many funcs): constify arg on function definitions, also make
218         more local vars const
219
220         * aspell_local.h: remove "struct" from typdef setup
221
222         * aspell.C (check): make word_ok const
223         (nextMiss): simplify slightly
224         (error): ditto
225
226 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
227
228         * lyxrc.[Ch]: store all float values as strings.
229         use int (not float) for lyxrc.dpi.
230
231 2005-01-04  Angus Leeming  <leeming@lyx.org>
232
233         * lyx_cb.C (Reconfigure):
234         * lyx_main.C (queryUserLyXDir):
235         to run the <system_lyxdir>/configure correctly on Windows, prefix
236         the path to the script with "sh " when generating the string that
237         is passed to system().
238
239 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
240
241         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
242
243 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * lyxlength.C (asLatexString): get rid of setprecision
246
247 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
248
249         * text2.C (setLayout): remove unused variable endpit.
250         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
251
252         * paragraph.C (onlyText): remove unused variable style.
253
254         * cursor.C (bruteFind): remove unused variables beg and end.
255
256         * Makefile.am (dist_noinset_DATA): not needed anymore
257
258         * cheaders/*: remove.
259
260 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
261
262         * text3.C: fix LFUN_MATH_MODE.
263
264 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * buffer_funcs.C (countWords): new function. Counts words between
267         two iterators.
268
269         * BufferView_pimpl.C (getStatus, dispatch): handle
270         LFUN_WORDS_COUNT.
271
272         * LyXAction.C (init):
273         * lfuns.h: add LFUN_WORDS_COUNT.
274
275 2004-12-19  Angus Leeming  <leeming@lyx.org>
276
277         * buffer.C (save): s/slashify_path/internal_path/.
278
279 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
280
281         * lyxfind.C (findChange): do not search for end of pars, because
282         the change tracker cannot handle this (fixes bug 1719).
283
284 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
285
286         * paragraph.[Ch] (autoBreakRows): remove
287
288         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
289
290         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
291         avoid using the paragraph one
292
293         * text2.C (LyXText, insertStringAsLines): adjust
294
295 2004-12-16  Angus Leeming  <leeming@lyx.org>
296
297         * bufferlist.C:
298         * lyx_main.C:
299         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
300
301 2004-12-14  Angus Leeming  <leeming@lyx.org>
302
303         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
304
305         * bufferlist.C (emergencyWrite):
306         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
307         GetEnvPath("HOME").
308
309 2004-12-14  Angus Leeming  <leeming@lyx.org>
310
311         * main.C: (main): no longer pass pointers to os::init.
312
313 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
314
315         * undo.C (textUndoOrRedo): simplify logic, fix a crash
316         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
317
318 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
319
320         * lyxfunc.C:
321         * text3.C: remove selection_possible global flag
322
323 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
324
325         * text2.C (getSelectionSpan): remove
326         (changeDepth, changeDepthAllowed): adjust
327
328 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
329
330         * Makefile.am (BOOST_LIBS): use boost variables
331
332 2004-12-03  José Matos  <jamatos@lyx.org>
333
334         * buffer.C: format up to 238.
335
336 2004-12-03  José Matos  <jamatos@lyx.org>
337
338         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
339
340 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
341
342         * cursor.C (goUpDown): remove call to idxUpDown2
343
344 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
345
346         * tabular.[Ch]: use size_t-like types for cell, row and column
347         indices
348
349 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * lyxfunc.C (getStatus): do not lose previous information when
352         calling BufferView::getStatus; do not set a default "Command
353         disabled" message at the beginning, but just before returning.
354
355 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
356
357         * cursor.h (getStatus): add better comment from src/cursor.C
358
359 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * text3.C (getStatus): return false when the lfun is not handled
362
363 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
364
365         * broken_headers.h: remove
366
367         * Makefile.am (lyx_SOURCES): remove broken_headers.h
368
369 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
370
371         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
372         offset_ref accessors
373
374         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
375         top_y_, merge fitcursor with update
376         (updateScrollbar, scrollDocView, fitCursor, center, update): new
377         coord scheme
378         (metrics): introduce
379         (workAreaDispatch): adapt to new coord scheme
380         (redoCurrentBuffer): remove
381
382         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
383
384         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
385         CurStatus enum.
386
387         * coordcache.[Ch]: add paragraph cache and helpers
388
389         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
390         adjust everywhere
391
392         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
393         (targetX, setTargetX): introduce
394
395         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
396         baseline -> ascent, as the rest of lyx
397
398         * lyxtext.h: remove redoParagraphs, updateParPositions,
399         fullRebreak, redoParagraphInternal. move dist to anon namespace in
400         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
401         have ascent/descent (ascent is ascent of first par)
402
403         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
404         step of BufferView
405
406         * paragraph.[Ch]: unify dimension handling with the rest of lyx
407
408         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
409
410         * pariterator.C: fix infinite loop introduced in par->pit renaming
411
412         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
413         in insets and LyXText, draw two off-screen paragraphs using
414         NullPainter, and adapt to new coord scheme
415
416         * text.C:
417         * text2.C:
418         * text3.C: adapt lfun handlers to the new coord scheme, which
419         means: there's only guaranteed coord information for onscreen pars
420         plus one above and one below. This implies that one can do search
421         from y coordinates in the range [-1,workHeight]
422
423 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
424
425         * rename a lot of InsetOld to InsetBase
426
427 2004-11-25  Angus Leeming  <leeming@lyx.org>
428
429         * BufferView_pimpl.C:
430         * lyx_cb.C:
431         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
432
433 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
436         call BufferView::getStatus if LCursor::getStatus did nothing
437         (setStatusMessage, getStatusMessage): removed.
438
439         * FuncStatus.C (message): new methods. Used to provide an error
440         message indicating why a command is disabled.
441         (clear, |=, FuncStatus): update for message.
442
443 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
444
445         * lyxfunc.C (dispatch): always call sendDispatchMessage
446
447 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
448
449         * BufferView.C:
450         * BufferView_pimpl.C:
451         * CutAndPaste.C:
452         * FontIterator.C:
453         * buffer.C:
454         * cursor.C:
455         * cursor_slice.[Ch]:
456         * dociterator.[Ch]:
457         * lyxfind.C:
458         * paragraph_funcs.C:
459         * pariterator.C:
460         * rowpainter.C:
461         * text.C:
462         * text2.C:
463         * text3.C:
464         * undo.C: par->pit renaming
465
466 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
467
468         * tabular.C (cellstruct): use initialization, store a shared_ptr
469         to insettext instead of the insettext directly, adjust to fit.
470         (operator=):  new function
471         (swap): new function
472         (rowstruct): use initialization
473         (columnstruct): use initialization
474         (ltType): use initialization
475
476
477         * lyxlength.h (swap): new function
478
479         * LColor.[Ch] (operator=): use the common semantics
480
481 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * lyxfind.C (findNextChange): update the bufferview after setting
484         the selection.
485
486 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
489         number of InsetOptArgs has already been inserted.
490
491         * output_latex.C (latexOptArgInsets): new method. This outputs all
492         the optarg insets, up to the limit defined in the layout file.
493         (optArgInset): removed
494         (TeXOnePar): call latexOptArgInsets; correctly update texrow
495
496 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * paragraph.C (isLetter): remove special spellchecker-related
499         code; return true also for digits
500         (isWord, isKomma): remove
501
502         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
503         * lyxfind.C (MatchString()): use isLetter instead of isWord
504
505 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
506
507         * pariterator.h (operatir=): comment out un-implemented member
508         function.
509
510         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
511         static cast.
512
513 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
514
515         * lyxfont.h: include LColor.h to satisfy concept checks.
516
517 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
518
519         * pariterator.h: add typdefs for value_type, difference_type,
520         pointer and reference to satisfy concept checks. Also add default
521         constructor for same reason.
522
523         * pariterator.C (operator++): add post-increment operator to
524         satisfy concept checks.
525
526         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
527         checks.
528
529         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
530
531         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
532         checks. Also rename base_type to BaseType to follow naming
533         standard better.
534
535         * FloatList.h: include Floating.h to satisfy concept checks.
536
537 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * lyxfunc.C (getStatus): when the origin of the request is menu or
540         toolbar, and the LyXView does not have focus, do as if there was
541         no buffer (bug 1720)
542
543         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
544         FuncRequest to individual entries of LFUN_SEQUENCE
545
546 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * output_latex.C (TeXOnePar): override runparams.moving_arg
549         according to the needprotect value of the current paragraph (bug
550         1739)
551
552         * paragraph.C (simpleTeXOnePar): no need to override
553         runparams.moving_args here
554
555 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
556
557         * vspace.C: fix off-by-one-error, related to fix #1682
558
559 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
560
561         * lengthcommon.C: a more general fix for bug 1682
562
563 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * text.C (backspace): fix crash
566
567 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
568
569         * format.[Ch] (getFormatFromFile): new method
570         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
571
572 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
575
576 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * lyxfunc.C (dispatch): remove the verbose argument
579         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
580         instead
581
582         * kbmap.C (defkey): set the origin of func to KEYBOARD
583
584         * MenuBackend.C (MenuItem):
585         * ToolbarBackend.C (add): set the origin of func to UI
586
587         * funcrequest.[Ch]: add origin member, which indicates which part
588         of LyX requests an action
589
590 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
591
592         * converter.C (move): don't lie in the error message
593         * converter.h (isReachable, move): document
594
595 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
596
597         * buffer.C: remove unused using lyx::support::atoi
598         * paragraph_funcs.C: ditto
599
600 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
601
602         * bufferlist.C (exists): use bind and equal_to instead of
603         compare_memfun
604         (getBuffer): ditto
605         * lyxtextclasslist.C (NumberOfClass): ditto
606
607         * cursor.C (insert): use for_each instead of explicit for loop
608
609         * bufferlist.C (getFileNames): use std::transform and
610         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
611
612         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
613         for loop
614
615         * buffer.C (changeLanguage): use for_each instead of explicit for
616         loop
617         (hasParWithID): implement using getParFromID
618
619         * LaTeXFeatures.C: ws change only
620
621         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
622         to cleanup a bit.
623
624         * BufferView_pimpl.C (trackChanges): use for_each instead of
625         expilicit for loop
626
627 2004-11-04  André Pönitz  <poenitz@gmx.net>
628
629         * undo.h:
630         * undo.C (textUndoOrRedo): fix crash when creating undo information.
631
632         * dociterator.C (asDocIterator): use hard assert again.
633
634 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * lyxlength.C (asLatexString): rewrite so that it does not use
637         snprintf anymore
638
639 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * text3.C (specialChar, dispatch): make sure cursor moves to the
642         right after inserting an inset
643
644 2004-11-02  José Matos  <jamatos@lyx.org>
645
646         * output_docbook.C (docbook):
647         * paragraph.C (getID):
648         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
649         garantee that the output is always legal.
650
651         * tabular.C (docbook):
652         * outputprams.[Ch]: remove mixed contents.
653
654 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
655
656         * text2.C (setCounter): prevent endless loop
657
658 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
659
660         * exporter.C (copyFile): use the mover instead of support::copy()
661         * exporter.C (Export): pass format and latex name to copyFile()
662         * exporter.h (addExternalFile): document
663         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
664
665 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
666
667         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
668
669 2004-10-30  José Matos  <jamatos@lyx.org>
670
671         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
672         text and no inset or font change. This allows to use CDATA
673         sections just for the whole paragraph.
674
675 2004-10-30  José Matos  <jamatos@lyx.org>
676
677         * paragraph.C (getFirstWord): remove unused variable.
678
679 2004-10-30  José Matos  <jamatos@lyx.org>
680
681         * paragraph.C (getFirstWord): the content should always be escaped
682         there.
683         (simpleDocBookOnePar):
684         * output_docbook.C (makeEnvironment): replace reference to CDATA
685         to style pass_thru.
686
687 2004-10-30  José Matos  <jamatos@lyx.org>
688
689         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
690
691 2004-10-30  José Matos  <jamatos@lyx.org>
692
693         * output_docbook.C (makeParagraphs):
694         * paragraph.[Ch] (emptyTag): for docbook and company, if the
695         standard paragraph has only a given type of content drop the wrapper.
696
697 2004-10-29  José Matos  <jamatos@lyx.org>
698
699         * output_docbook.C (makeEnvironment):
700         * sgml.C (openTag):
701         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
702
703 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
704
705         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
706         (cleanID): sanitize any id.
707
708 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
709
710         * buffer.C, lyxlex_pimpl.C:
711         * lyxlex_pimpl.C (setFile):
712         s/getExtFromContents/getFormatFromContents/
713
714 2004-10-28  José Matos  <jamatos@lyx.org>
715
716         * output_docbook.C (makeEnvironment): move id to broadest possible
717         scope.
718
719         * sgml.C (openTag): apply substitution of <> for all attributes.
720
721 2004-10-28  José Matos  <jamatos@lyx.org>
722
723         * buffer.C (makeLinuxDocFile, makeDocBookFile):
724         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
725         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
726
727         * sgml.[Ch]: new version for open and closeTag for paragraph and
728         for strings. Now they handle the ids of paragraphs.
729
730 2004-10-26  Angus Leeming  <leeming@lyx.org>
731
732         * Makefile.am: add mover.[Ch].
733
734         * converter.C (convert, move): use the new Movers to move external
735         files to the temp directory.
736
737         * lyx_main.C (init): ensure that the global system_movers data
738         is initialised.
739
740         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
741         preferences file.
742
743         * mover.[Ch]: new files, defining a Mover as a utility to move an
744         external file between directories and, if necessary, manipulate this
745         file using a helper script.
746
747 2004-10-25  José Matos  <jamatos@lyx.org>
748
749         * output_docbook.C (makeCommand): merge two if's that tested the
750         same condition.
751
752 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
753
754         * sgml.C (escapeString): fix warning in a better way
755
756 2004-10-25  José Matos  <jamatos@lyx.org>
757
758         * sgml.C (escapeString): import the require boosts header file for
759         tie, and avoid a signed unsigned comparison.
760
761 2004-10-25  José Matos  <jamatos@lyx.org>
762
763         * sgml.h: add #include <string>
764
765 2004-10-25  José Matos  <jamatos@lyx.org>
766
767         * sgml.[Ch] (escapeString): new function to escape all the string.
768
769 2004-10-24  José Matos  <jamatos@lyx.org>
770
771         * paragraph.[Ch] (getFirstWord): new function to get the first
772         word. Useful for description.
773         (simpleDocBookOnePar): remove depth argument, add another that
774         says where to start the paragraph.
775
776         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
777         use the new functions to fix cleanly the support for descriptions.
778
779 2004-10-24  José Matos  <jamatos@lyx.org>
780
781         * buffer.C (makeLinuxDocFile, makeDocBookFile):
782         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
783         * output_linuxdoc.C (linuxdocParagraphs):
784         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
785         add buffer as argument.
786
787 2004-10-24  José Matos  <jamatos@lyx.org>
788
789         * output_docbook.C (makeEnvironment, searchEnvironment): place
790         CDATA inside paragraphs and fix scope for listitems.
791
792 2004-10-24  José Matos  <jamatos@lyx.org>
793
794         * output_docbook.C: remove using statement for stack.
795
796 2004-10-23  José Matos  <jamatos@lyx.org>
797
798         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
799         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
800         docbook. The new scheme is recursive and makes use of iterators, the
801         same as latex export works.
802         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
803         directly with the paragraph contents. This code was moved up to
804         output_docbook.C (docbookParagraphs).
805         * sgml.C (openTag, closeTag): removed unneeded newlines.
806         (closeEnvTags) removed.
807
808 2004-10-23  André Pönitz  <poenitz@gmx.net>
809
810         * undo.C (textUndoOrRedo):
811         * dociterator.C (asDocIterator): work around crash
812
813         * cursor.C (getStatus): replace ASSERT by more verbose error message
814           and manual correction of the problem. Should increase stability
815           while providing more sensible information.
816
817 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
820
821         * bufferlist.C (previous, next): new methods
822
823         * lfuns.h:
824         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
825
826 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
827
828         * buffer.C (makeDocBookFile): add dsssl stylesheet control
829         entities to preamble.
830
831 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
832
833         * messages.C (Pimpl): strip off translation context information
834
835 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
838         the cursor is correct (bug 1694)
839
840 2004-10-13  José Matos  <jamatos@lyx.org>
841
842         * output_docbook.C (docbookParagraphs): fix closing tags in the
843         end of the document.
844
845 2004-10-09  José Matos  <jamatos@lyx.org>
846
847         * buffer.C: format up to 237.
848         * bufferparams.C (write): use tostr to convert booleans to strings.
849
850 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
851
852         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
853
854 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
855
856         * LaTeX.C: implement use of babel language in xindy.
857
858 2004-10-05  José Matos  <jamatos@lyx.org>
859
860         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
861         Add new translators to help reading and writing the lyx file.
862
863 2004-10-05  José Matos  <jamatos@lyx.org>
864
865         * ParagraphParameters.C (read):
866         * text.C (readParToken): replace nexToken by more appropriate lex
867         methods.
868
869 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
870
871         * LaTeX.C (runMakeIndex):
872         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
873         (usually 'makeindex') configurable.
874
875         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
876         with a variable rather than with a number.
877
878 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         * output_latex.C (TeXOnePar): make sure font setting is the first
881         thing that gets output (and the last at the end). Should fix bug
882         1404.
883
884 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
885
886         * pch.h: use proper signal include
887
888         * LaTeX.h: Use preferred calling of Boost.Signal
889         * buffer.h: ditto
890
891 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
892
893         * pch.h: dont include <boost/function/function0.hpp>
894
895         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
896
897         * paragraph_pimpl.h: remove usage of ShareContainer
898
899         * paragraph_pimpl.C: remove initialization of ShareContainer.
900
901 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
902
903         Fix bug #1666
904
905         * BufferView.C (putSelectionAt): change the semantics when
906         backwards == true: now, this just swaps cursor and anchor wrt the
907         forward case
908
909         * BufferView.h (putSelectionAt): add some documentation
910
911         * lyxfind.C (findBackwards): rewrite using while(). In particular,
912         make sure backwardChar is done at least once (to avoid getting
913         stuck)
914         (findNextChange): use putSelectionAt in the forward direction
915         (operator()): use Paragraph::isWord
916
917 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
918
919         * Spacing.C (set): c_str fix
920
921 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
922
923         * lyx_cb.C (Reconfigure): quote the name of configure script in
924         case it contains spaces
925
926 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * client: new dir
929
930         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
931         (BOOST_LIBS): use top_buildir when looking for the file
932
933 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
934
935         * pch.h: do not use include boost/format.hpp, multiple symbols
936                 will result (gcc bug)
937
938
939 2004-08-23  José Matos  <jamatos@lyx.org>
940
941         * bufferparams.C (readToken): fix reading of the author field.
942
943 2004-08-20  José Matos  <jamatos@lyx.org>
944
945         * lyxrc.C: remove support/translator.h inclusion since it is not used.
946
947 2004-08-20  José Matos  <jamatos@lyx.org>
948
949         * lyxlex.[Ch] (findToken): remove function.
950
951         * ParagraphParameters.C (findToken):
952         * bufferparams.C (findToken): replace call for previous function
953         with local copy. This local function has one more argument, the
954         read string argument.
955
956 2004-08-16  José Matos  <jamatos@lyx.org>
957
958         * ParagraphParameters.C (write):
959         * Spacing.C (writeFile):
960         * bufferparams.C (writeLaTeX):
961         * lyx_cb.C (Reconfigure):
962         * paragraph.C (write):
963         * tabular.C (write): remove unnecessary space at end of line.
964
965
966 2004-08-16  José Matos  <jamatos@lyx.org>
967
968         * text.C (readParagraph): remove debug message.
969
970 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
971
972         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
973         crash
974
975         * output_plaintext.C (asciiParagraph): set depth correctly
976
977         * outputparams.h: add member depth
978
979         * paragraph_funcs.C (ownerPar): remove.
980
981         * text2.C (setCounter): remove first_pit; comment out some
982         non-working code that uses ownerPar
983
984         * BufferView.C (getParentLanguage): remove. Not used anymore, and
985         uses ownerPar
986
987 2004-08-16  José Matos  <jamatos@lyx.org>
988
989         * text.C (readParToken, readParagraph, read): report all unknown tokens.
990         For the same level of importance use the same chanel to report problems.
991         (read): add code to deal with \begin_body and \end_body.
992
993
994 2004-08-15  José Matos  <jamatos@lyx.org>
995
996         * lyxlex.C (getString): fix comment, buffer::readBody is now
997         buffer:readDocument.
998
999         * tex-strings.C (string_papersize): Default -> default,
1000         Custom -> custom, for consistency with other options.
1001
1002 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1003
1004         * pch.h: new file
1005
1006         * Makefile.am: support pch
1007
1008 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1009
1010         * text.C (readParToken): remove the static LyXFont variable and
1011         pass it as a parameter instead. This fixes a nasty bug where an
1012         inset will be inserted with a bad font in some situations
1013         (readParagraph): adapt
1014
1015         * text2.C (setCounter): reduce number of calls to pars_[pit]
1016
1017         * text.C (singleWidth): add an assert, fix a test
1018
1019         * rowpainter.C (paintText): reduce number of calls to singleWidth
1020
1021         * paragraph.C (isHfill):
1022         (isNewline): ws only
1023
1024 2004-08-14  André Pönitz  <poenitz@gmx.net>
1025
1026         * text.C:
1027         * text2.C:
1028         * rowpainter.C:
1029         * lyxtext.h (several functions): use a Paragraph & argument
1030         instead of par_type
1031
1032 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1033
1034         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1035
1036         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1037
1038         * text.C (singleWidth): remove useless test
1039
1040 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1041
1042         * tabular.h: remove bogus comments
1043
1044         * tabular.C (getDescentOfRow):
1045         (isPartOfMultiColumn): add assertions
1046
1047         * lyxlength.C (inPixels): remove #warning
1048
1049 2004-08-14  André Pönitz  <poenitz@gmx.net>
1050
1051         * paragraph.h: inline getChar()
1052
1053         * BufferView.h: remove unused declarations
1054
1055 2004-08-14  José Matos  <jamatos@lyx.org>
1056
1057         * Buffer.[Ch] (readDocument): new name for old readBody.
1058         * Buffer.C: new file format, new keywords: \begin_document,
1059         \begin_header, \begin_body, \end_body.
1060
1061         * bufferparams.C (readToken): replace all calls to lex.nextToken
1062         by lex.next(). Do the same to eatLine except where really needed.
1063
1064         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1065         line when writing to the lyx file.
1066
1067         * output_plaintext.C (asciiParagraph): fix Bibliography style
1068         handling.
1069
1070         * text.C (read): fix end of file handling.
1071
1072 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * MenuBackend.C (Menu::operator[]): new method to access
1075         individual menu items
1076         (Menu::hasFunc): new method. search for an item that corresponds
1077         to a given func
1078         (MenuBackend::specialMenu): new method
1079         (MenuBackend::expand): if a special menu has been set, skip
1080         entries whose func() appears in this menu
1081
1082 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1083
1084         * text3.C: use Debug::DEBUG a bit more
1085
1086         * text.C (leftMargin): try to simplify a tiny bit change var x to
1087         l_margin. Dont output the wide margins always.
1088         (rightMargin): no margin in inner texts
1089
1090         * rowpainter.h (nestMargin): new func
1091         (changebarMargin): new func
1092         (rightMargin): new func
1093
1094         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1095         now functions.
1096         (paintLast): ditto
1097
1098         * factory.C (createInset): modify setDrawFrame
1099
1100         * cursor.C: use Debug::DEBUG a bit more
1101
1102 2004-08-14  André Pönitz  <poenitz@gmx.net>
1103
1104         * coordcache.[Ch]:
1105         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1106         cache for all insets in (at least partially) visible (top-level)
1107         paragraphs.
1108
1109         * BufferView_pimpl.C: reset external coord cache before every update.
1110         This means the coord cache only contains valid entries.
1111
1112 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1113
1114         bug 1096
1115         * BufferView_pimpl.C (getInsetByCode): move function out of class
1116         and change in to a template in anon namespace. Also fix to do what
1117         suits us better.
1118
1119 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1120
1121         bug 1305
1122         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1123         of char
1124         (breakParagraph): rename par to par_offset and use a local
1125         reference. Add code to keep the language over a rebreak.
1126         (breakParagraphConservative): rename par to par_offset, use a
1127         local reference
1128         (mergeParagraph): ditto
1129         (outerHook): ditto
1130         (isFirstInSequence): ditto
1131         (outerFont): rename pit to par_offset
1132
1133         * paragraph.C: ws change
1134         * paragraph.h: ditto
1135         * text3.C: ditto
1136         * text.C: ditto
1137
1138 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1139
1140         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1141         treatment for ']'
1142
1143         * paragraph.C (simpleTeXOnePar): when we have a \item with
1144         optional argument, enclose the argument with curly brackets (in
1145         case it contains a closing square bracket)
1146
1147         * text2.C (editXY):
1148         * text2.C (editXY):
1149         * text3.C (checkInsetHit): constify
1150
1151 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1152
1153         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1154         documents (bug 1629)
1155
1156 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1157
1158         Fix toggling of collapsable insets with the mouse (bug 1558)
1159
1160         * lyxfunc.C (dispatch): adapt to LCursor changes
1161
1162         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1163         make sure that dispatch is not invoked twice
1164
1165         * cursor.C (needsUpdate): new method
1166         (dispatch): return void
1167         (result): new method, to access the DispatchResult of the cursor.
1168
1169 2004-08-13  José Matos  <jamatos@lyx.org>
1170
1171         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1172
1173 2004-08-13  André Pönitz  <poenitz@gmx.net>
1174
1175         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1176
1177         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1178           multiple cells
1179
1180 2004-08-12  André Pönitz  <poenitz@gmx.net>
1181
1182         * text3.C: take out the 'cursor right' form insertInset and only
1183         do it in those places when it is really needed. Fixes crash on
1184         C-m...
1185
1186 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1189
1190         * BufferView_pimpl.C (setBuffer): initialize the current font of
1191         the underlying LyXText
1192
1193 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * kbsequence.C (print): use UI native formatting for menu
1196         shortcuts
1197
1198         * text.C (insertChar): call Paragraph::insertChar with a font
1199         argument (cosmetic)
1200
1201         * paragraph.C (insertInset, insertChar): the version that takes a
1202         LyXFont argument is now a wrapper around the other one (the
1203         opposite used to be true).
1204
1205         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1206         argument. Font setting is done in Paragraph now.
1207
1208 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1209
1210         * outputparams.h: add new members intitle and lang.
1211
1212         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1213         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1214
1215 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1216
1217         * text3.C (dispatch): remove special handling of button 4 and 5,
1218         it is now taken care of in the frontend code.
1219
1220 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1221
1222         * Spacing.h: add <string> (STLPort compile fix)
1223
1224 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1225
1226         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1227
1228 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1229
1230         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1231         to bool.
1232
1233         * converter.C (showMessage): inherit from unary_function, make
1234         operator() const.
1235
1236         * buffer.C (writeFile): initialize retval
1237
1238         * InsetList.h: rename private variable list to list_
1239         * InsetList.[Ch]: adjust accordingly.
1240
1241 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1242
1243         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1244         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1245         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1246         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1247         * ParagraphParameters.C, LaTeXFeatures.C: replace
1248         "support/std_sstream.h" with <sstream>
1249
1250 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1251
1252         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1253         * lyxsocket.C (LyXServerSocket): ditto
1254         (serverCallback): ditto
1255
1256 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1257
1258         * LaTeXFeatures.C: check release date when loading jurabib.
1259
1260 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1261
1262         * lyxserver.C (startPipe): call register_socket_callback
1263         (endPipe): call unregister_socket_callback
1264
1265 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1266
1267         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1268         (LyXServerSocket): register the callback
1269         (LyXServerSocket): unregister the callback
1270         (fd): delete function
1271         (serverCallback): improve error checking and setup the callbacks.
1272         (dataCallback): change arg to fd.
1273         (writeln): new func (copied fro the client socket) used for server
1274         write to client.
1275         (LyXDataSocket): simplify
1276         (~LyXDataSocket): close ann unregiser callback
1277         (server): delete function
1278         (fd): delete function
1279         (readln): small changes, improve some std::string usage
1280         (writeln): constify a bit
1281
1282 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1283
1284         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1285         Qt frontend
1286
1287 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1288
1289         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1290         after it has been populated
1291
1292 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1293
1294         * text2.C (insertInset): move cursor when inserting inset.
1295
1296 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1297
1298         * kbmap.C (findbindings): a couple of new methods. returns a
1299         container of kb_sequence objects. The real work is done by the
1300         private recursive version
1301         (printbindings): uses findbindings to print out a bracketed list
1302         of bindings (renamed from findbinding).
1303
1304         * MenuBackend.C (binding): use kb_keymap::findbindings
1305
1306         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1307
1308 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1309
1310         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1311
1312 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1313
1314         * paragraph.C (isWord): return true on insets that report
1315         isLetter().
1316
1317         * text.C (getWord): use Paragraph::isWord to decide what is in a
1318         word and what is not; fix bug 1609.
1319
1320 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1321
1322         * tex-strings.C: add "none" to string_paperpackages[], fixes
1323         off-by-one-error in the paperpackage selection.
1324
1325         * lyxlex.[Ch]:
1326         * tex-strings.[Ch]: char const * string[n]
1327         -> char const * const string[]
1328
1329 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1330
1331         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1332         command, return early.
1333
1334 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1335
1336         * debug.h: add DEBUG to enum and fix size of ANY.
1337
1338         * debug.C: add support for Debug::DEBUG
1339         (showTags): cast errorTags.level to unsigned int
1340
1341         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1342         (redoCurrentBuffer): ditto
1343         (updateScrollbar): ditto
1344         * cursor.C (dispatch): ditto
1345         * text2.C (setLayout): ditto
1346         (setFont): ditto
1347         (updateCounters): ditto
1348         (editXY): ditto
1349         (deleteEmptyParagraphMechanism): ditto
1350
1351 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1352
1353         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1354         annotations to cleanup the Makefile slightly.
1355
1356 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1357
1358         * lyxrc.C: do not set user_email to a default value but use empty
1359         instead. The entry used to be translated, which does not work
1360         since at the point where lyxrc is constructed there is no
1361         translation service available
1362
1363         * messages.C (getLocaleDir): remove and use directly
1364         lyx_localedir() instead
1365
1366 2004-06-02  Angus Leeming  <leeming@lyx.org>
1367
1368         Fix crash caused by dereferencing null pointer 'exportdata' in
1369         OutputParams by creating a new ExportData variable on the heap,
1370         storing it in a boost::shared_ptr.
1371         The crash was triggered when generating an Instant Preview
1372         of an external inset.
1373
1374         * Makefile.am: add outputparams.C
1375
1376         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1377         (c-tor): allocate memory to it.
1378
1379         * exporter.C (c-tor): associated changes.
1380
1381 2004-06-01  Angus Leeming  <leeming@lyx.org>
1382
1383         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1384         contains data before calling isInset(0). (Bug 1513.)
1385
1386 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1387
1388         * exporter.C (checkOverwrite): new method
1389         * exporter.C (copyFile): new method
1390         * exporter.C (Export): copy referenced files to the document dir
1391         * exporter.[Ch]: new class ExportedFile
1392         * exporter.[Ch]: new class ExportData. Contains currently the
1393         names of referenced external files
1394         * outputparams.h: add exportdata member.
1395
1396 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1397
1398         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1399         version.C-tmp
1400
1401 2004-05-19  Angus Leeming  <leeming@lyx.org>
1402
1403         * LaTeXFeatures.C:
1404         * ToolbarBackend.C:
1405         * bufferparams.C:
1406         * lyxfunc.C: small changes due to the introduction of namespace
1407         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1408
1409 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1410
1411         * text3.C (dispatch): supress update when only moving the cursor
1412         * cursor.C (selHandle): remove commented code
1413
1414 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1415
1416         * paragraph.C (startTeXParParams): correct column count
1417         * CutAndPaste.C (pasteSelection): remove const_cast
1418         * output_docbook.C (docbookParagraphs): remove const_cast
1419         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1420         const_cast and return ParagraphList::const_iterator
1421         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1422         * output_plaintext.C (writeFileAscii): remove const_cast
1423         * paragraph.[Ch] (simpleTeXOnePar): make const
1424         * paragraph_funcs.C (outerPar): use const iterators
1425         * paragraph_pimpl.C (validate): use const iterators
1426         * text.C (setHeightOfRow): use const iterators
1427
1428 2004-05-17  Angus Leeming  <leeming@lyx.org>
1429
1430         * lfuns.h:
1431         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1432
1433         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1434         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1435         if the citation engine has changed.
1436
1437 2004-05-14  José Matos  <jamatos@lyx.org>
1438
1439         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1440         if the textclass does not provide it. Have it different for sgml and
1441         xml.
1442         support the language of document.
1443         * output_docbook.C (docbookParagraphs):
1444         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1445         first anchor as the id of the paragraph, remove special case code.
1446         * sgml.C (escapeChar): escape only < & >.
1447
1448 2004-05-14  Angus Leeming  <leeming@lyx.org>
1449
1450         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1451         dependencies on src/frontends/controllers/biblio.h. Define a
1452         CiteEngine_enum wrapper class to enable the enum to be forward
1453         declared.
1454
1455 2004-05-12  Angus Leeming  <leeming@lyx.org>
1456
1457         * buffer.C: up LYX_FORMAT to 234.
1458         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1459         use_numerical_citations with a single biblio::CiteEngine cite_engine
1460         variable.
1461         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1462
1463 2004-05-13  José Matos  <jamatos@lyx.org>
1464
1465         * converter.h:
1466         * converter.C (Converter, readFlags): add xml member.
1467         * outputparams.h: add XML flavor.
1468         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1469
1470 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * lyxfunc.C (dispatch):
1473         (getStatus): fix handling of LFUN_SEQUENCE
1474
1475 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * debug.C (showLevel): do not forget the end-of-line marker
1478
1479 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * kbmap.C (read): do not stop parsing a bind file when an error
1482         occurs (bug 1575)
1483
1484 2004-04-29  Angus Leeming  <leeming@lyx.org>
1485
1486         * cursor.C:
1487         * factory.C:
1488         * pariterator.C:
1489         * text2.C: wrap a bunch of #warning statements
1490         inside #ifdef WITH_WARNINGS blocks.
1491
1492 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1493
1494         * buffer.C: increment format to 233.
1495
1496 2004-04-28  Angus Leeming  <leeming@lyx.org>
1497
1498         * BufferView_pimpl.C:
1499         * lyxfunc.C:
1500         * text3.C:
1501         s/updateToolbar()/updateToolbars()/
1502         s/Toolbar.h/Toolbars.h/
1503
1504 2004-04-28  Angus Leeming  <leeming@lyx.org>
1505
1506         * BufferView.[Ch] (c-tor):
1507         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1508         No longer passes these data to the WorkArea generator.
1509
1510 2004-04-28  Angus Leeming  <leeming@lyx.org>
1511
1512         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1513
1514 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1515
1516         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1517
1518 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1519
1520         * output_latex.C (TeXEnvironment): make sure that there is a line
1521         break before \end{foo} for the last paragraph of a document
1522         (TeXOnePar): if the paragraph is at the end of the document (or
1523         inset) and the language has to be reset, then make sure that the
1524         line break is _before_ the language command, not after (fixes bug
1525         1225); also make sure that the language reset command is the first
1526         thing after the paragraph (to ensure proper nesting of
1527         environments and thus fix bug 1404)
1528
1529 2004-04-21  John Levon  <levon@movementarian.org>
1530
1531         * ToolbarBackend.h:
1532         * ToolbarBackend.C: make "name" be a programmatic name
1533         and a gui_name field.
1534
1535         * lyxfunc.C: display the minibuffer on M-x
1536
1537 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1538
1539         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1540         (bug 1526)
1541
1542 2004-04-19  Angus Leeming  <leeming@lyx.org>
1543
1544         * BufferView_pimpl.C (setBuffer): changed preview interface.
1545
1546         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1547         possible values.
1548
1549 2004-04-19  John Levon  <levon@movementarian.org>
1550
1551         * BufferView_pimpl.C:
1552         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1553
1554 2004-04-05  Angus Leeming  <leeming@lyx.org>
1555
1556         * text.C (redoParagraphs): add call to updateCounters(), thereby
1557         fixing the missing "Figure #:" label from the caption of a
1558         figure float.
1559
1560 2004-04-13  Angus Leeming  <leeming@lyx.org>
1561
1562         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1563         cursor is clicked out of an inset.
1564
1565 2004-04-13  Angus Leeming  <leeming@lyx.org>
1566
1567         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1568         than an InsetOld one.
1569
1570 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1571
1572         * format.[Ch]: add editor to Format
1573         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1574         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1575
1576 2004-04-08  André Pönitz  <poenitz@gmx.net>
1577
1578         * metricsinfo.h: remove PainterInfo::width member
1579
1580 2004-04-08  Angus Leeming  <leeming@lyx.org>
1581
1582         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1583         "\providecommand" rather than "\newcommand", thereby preventing
1584         clashes with packages that define "\boldsymbol" themselves.
1585         Eg, beamer.
1586
1587 2004-04-08  Angus Leeming  <leeming@lyx.org>
1588
1589         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1590         thereby squashing an unnecessary warning.
1591
1592 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1593
1594         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1595         setBuffer()
1596
1597 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1598
1599         * BufferView.C (setCursor): call redoParagraph (some insets could
1600         have been opened)
1601         (putSelectionAt): remove the 'double update' trick
1602
1603         * BufferView_pimpl.C (fitCursor): call refreshPar
1604         (workAreaDispatch): remove an uneeded update call
1605         (dispatch): remove some manual update calls
1606
1607         * cursor.[Ch]: remove cached_y_, updatePos
1608         (selHandle): set noUpdate when appropriate
1609
1610         * lyxfunc.C (dispatch): track if we need an update
1611
1612         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1613
1614         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1615         (paintSelection): cheap optimization, do not call cursorX when not
1616         needed
1617         (paintPars): change signature
1618         (refreshPar): add
1619         (paintText): adjust
1620         (paintTextInset): adjust
1621
1622         * text.C: adjust
1623
1624 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * lengthcommon.C: compilation fix: remove explicit array size from
1627         unit_name[] and friends
1628
1629 2004-04-05  Angus Leeming  <leeming@lyx.org>
1630
1631         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1632
1633         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1634         present only for the preferences dialog.
1635         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1636
1637 2004-04-05  Angus Leeming  <leeming@lyx.org>
1638
1639         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1640         to enable the frontends to export changes to lyxrc correctly.
1641
1642         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1643
1644 2004-04-07  André Pönitz  <poenitz@gmx.net>
1645
1646         * cursor.[Ch] (selClear, adjust): remove math
1647
1648         * cursor_slice.C: more agressive assert
1649
1650         * lyxfunc.C:
1651         * BufferView_pimpl.C: rework mouse event dispatch
1652
1653         * dociterator.C:
1654         * paragraph.C:
1655         * text2.C:
1656         * text3.C: adjust
1657
1658 2004-04-05  André Pönitz  <poenitz@gmx.net>
1659
1660         * cursor.[Ch] (valign, halign...): remove unneeded functions
1661
1662 2004-04-05  Angus Leeming  <leeming@lyx.org>
1663
1664         * lyxlength.[Ch] (unit_name et al.): const-correct.
1665
1666 2004-04-05  Angus Leeming  <leeming@lyx.org>
1667
1668         * BufferView_pimpl.C:
1669         * buffer.C:
1670         * counters.C:
1671         * cursor.C:
1672         * lyxfunc.C
1673         * paragraph.C:
1674         * pariterator.C:
1675         * text.C:
1676         * text2.C:
1677         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1678
1679 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1680
1681         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1682
1683 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1684
1685         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1686         * BufferView_pimpl.[Ch] (getStatus)
1687         * BufferView.[Ch] (getStatus): add
1688         * lyxfunc.C (getStatus): move lfuns handled in
1689         BufferView::dispatch to te function above
1690         * Cursor.C (setSelection): set selection() = true
1691
1692 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1695
1696 2004-03-31  Angus Leeming  <leeming@lyx.org>
1697
1698         * lyxfunc.C (dispatch): Fall through to the generic
1699         Dialogs::show("preamble").
1700
1701 2004-03-31  Angus Leeming  <leeming@lyx.org>
1702
1703         * lyxfunc.C (dispatch): Fall through to the generic
1704         Dialogs::show("spellchecker").
1705
1706 2004-03-31  Angus Leeming  <leeming@lyx.org>
1707
1708         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1709         preferences dialog.
1710
1711 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1712
1713         * BufferView.C
1714         * cursor.[Ch]
1715         * dociterator.[Ch]:
1716         * insetiterator.[Ch]:
1717         * lyxfind.C:
1718         * lyxfunc.C:
1719         * pariterator.[Ch]:
1720         * text2.C:
1721         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1722
1723 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1724
1725         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1726         insets where we are putting the cursor.
1727
1728 2004-03-31  Angus Leeming  <leeming@lyx.org>
1729
1730         * lfuns.h:
1731         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1732
1733         * lyxrc.[Ch] (read, write): overloaded member functions taking
1734         a std::[io]stream arguments.
1735
1736         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1737
1738 2004-03-31  Angus Leeming  <leeming@lyx.org>
1739
1740         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1741         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1742
1743         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1744         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1745
1746 2004-03-31  Angus Leeming  <leeming@lyx.org>
1747
1748         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1749         the LFUN_ALL_INSETS_TOGGLE code.
1750
1751 2004-03-30  Angus Leeming  <leeming@lyx.org>
1752
1753         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1754         has died. Fall through to the generic Dialogs::show("document").
1755
1756 2004-03-30  Angus Leeming  <leeming@lyx.org>
1757
1758         * lfuns.h:
1759         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1760         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1761
1762         * lyxfunc.C (getStatus, dispatch): define the actions for these
1763         lfuns. Little more than a cut and pste job from ControlDocument.C
1764
1765         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1766
1767 2004-03-30  Angus Leeming  <leeming@lyx.org>
1768
1769         * lfuns.h:
1770         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1771         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1772
1773         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1774         open/closed state of ollapsable insets. Usage:
1775
1776         all-inset-toggle <state> <name>, where
1777         <state> == "open" || "closed" || "toggle" and
1778         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1779
1780         * lyxtext.h, text2.C (toggleInset): removed.
1781
1782         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1783         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1784         now passes LFUN_INSET_TOGGLE to the found inset.
1785
1786         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1787         is now invoked as "all-insets-toggle toggle branch".
1788
1789 2004-03-30  Angus Leeming  <leeming@lyx.org>
1790
1791         * dociterator.C:
1792         * insetiterator.C:
1793         * pariterator.[Ch]: added/corrected header blurb.
1794
1795 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1796
1797         * dociterator.[Ch]: add an inset_ member
1798         (backwardPos): implemented
1799         (backwardPos, forwardPos): use inset_ when the stack is empty.
1800         (doc_iterator_begin, doc_iterator_end): implemented
1801         * pariterator.[Ch]: adjust, add begin, end
1802         * insetiterator.[Ch]: adjust, add begin, end
1803         * cursor.C:
1804         * document.C:
1805         * BufferView.C:
1806         * BufferView_pimpl.C:
1807         * CutAndPaste.C: adjust
1808
1809 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1810
1811         * buffer.C: increment file format to 232.
1812         * LaTeXFeatures.C: add bibtopic package.
1813         * bufferparams.[Ch]: param \use_bibtopic.
1814
1815         * lyxrc.[Ch]: add lyxrc bibtex_command
1816         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1817
1818         * buffer.C: increment file format to 231.
1819
1820 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * dociterator.C: implement forwardPar
1823         * iterators.[Ch]: remove, replaced by
1824         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1825         * BufferView.C:
1826         * BufferView_pimpl.C:
1827         * CutAndPaste.C:
1828         * buffer.C:
1829         * bufferview_funcs.C:
1830         * cursor.C:
1831         * lyxfind.C
1832         * lyxfunc.C
1833         * paragraph_funcs.C
1834         * toc.C:
1835         * Makefile.am: adjust
1836
1837 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * CutAndPaste.C (pasteSelection): fix 2 crashes
1840         (eraseSelection): fix a crash
1841         * paragraph_funcs.C: remove a warning
1842
1843 2004-03-28  Angus Leeming  <leeming@lyx.org>
1844
1845         * lfuns.h:
1846         * LyXAction.C (init): new LFUN_PRINT.
1847
1848         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1849
1850 2004-03-27  Angus Leeming  <leeming@lyx.org>
1851
1852         * lfuns.h:
1853         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1854
1855         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1856
1857 2004-03-27  Angus Leeming  <leeming@lyx.org>
1858
1859         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1860         insetlist always contains non-null pointers to insets.
1861
1862 2004-03-26  Angus Leeming  <leeming@lyx.org>
1863
1864         * src/BufferView_pimpl.C:
1865         * src/CutAndPaste.C:
1866         * src/buffer.C:
1867         * src/iterators.C:
1868         * src/output_plaintext.C:
1869         * src/outputparams.h:
1870         * src/paragraph_funcs.C:
1871         * src/rowpainter.C:
1872         * src/text.C:
1873         * src/text2.C:
1874         * src/frontends/controllers/ControlErrorList.C:
1875         * src/frontends/gtk/FileDialogPrivate.C:
1876         * src/frontends/gtk/GPainter.C:
1877         * src/frontends/gtk/GToolbar.C:
1878         * src/frontends/qt2/QRef.C:
1879         * src/mathed/math_scriptinset.C: squash compiler warnings.
1880
1881 2004-03-26  Angus Leeming  <leeming@lyx.org>
1882
1883         * ispell.C (LaunchIspell::start):
1884         * lyx_cb.C (AutoSaveBuffer::start):
1885         invoke run(DontWait) rather than runNonBlocking().
1886
1887 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1888
1889         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1890
1891 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * kbsequence.C (print): adjust
1894
1895         * kbmap.C (printKeySym): rename and change signature
1896         (printKey): use LyXKeySym::print()
1897
1898 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1899
1900         * undo.C: add using std::advance to compile for stlport
1901
1902 2004-03-24  Angus Leeming  <leeming@lyx.org>
1903
1904         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1905         it leads to a crash when no buffer is present.
1906
1907 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1908             Martin Vermeer  <martin.vermeer@hut.fi>
1909
1910         * lyxfunc.C (dispatch):
1911         * bufferparams.C (readToken): use the new LColor::setColor
1912
1913         * LColor.[Ch] (setColor): new version that takes two strings as
1914         argument and creates a new color entry if necessary
1915
1916 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1917
1918         * buffer.C (makeLaTeXFile): if the main latex file that is
1919         processed is usually a subdocument of some master, then pretend
1920         for a while that it is actually the master
1921
1922 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1923
1924         * buffer.C (getLabelList):
1925         (getBibkeyList): use getMasterBuffer()
1926         (getMasterBuffer): new method. Returns the main document in the
1927         case where one is using included documents.
1928
1929 2004-03-25  André Pönitz  <poenitz@gmx.net>
1930
1931         * Makefile.am:
1932         * iterators.[Ch]:
1933         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1934
1935         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1936
1937         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1938         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1939
1940         * ParameterStruct.h: merge with ParagraphParameters
1941
1942         * lyxtext.h: remove LyXText::parOffset() and getPar()
1943
1944         * text3.C: Remove all 'manual' update calls. We do now one per user
1945         interaction which is completely sufficient.
1946
1947         * Bidi.C:
1948         * BufferView.[Ch]:
1949         * BufferView_pimpl.C:
1950         * FontIterator.[Ch]:
1951         * MenuBackend.C:
1952         * ParagraphParameters.[Ch]:
1953         * buffer.C:
1954         * buffer.h:
1955         * bufferlist.C:
1956         * cursor.[Ch]:
1957         * cursor_slice.[Ch]:
1958         * dociterator.[Ch]:
1959         * errorlist.[Ch]:
1960         * factory.C:
1961         * lfuns.h:
1962         * lyxfind.C:
1963         * lyxfunc.C:
1964         * output_docbook.[Ch]:
1965         * output_latex.[Ch]:
1966         * output_linuxdoc.[Ch]:
1967         * output_plaintext.[Ch]:
1968         * paragraph.[Ch]:
1969         * paragraph_funcs.[Ch]:
1970         * paragraph_pimpl.[Ch]:
1971         * rowpainter.C:
1972         * tabular.[Ch]:
1973         * text.C:
1974         * text2.C:
1975         * toc.C:
1976         * undo.[Ch]: adjust
1977
1978         * frontends/controllers/ControlDocument.C:
1979         * frontends/controllers/ControlErrorList.C:
1980         * frontends/controllers/ControlSpellchecker.C:
1981         * insets/inset.C:
1982         * insets/inset.h:
1983         * insets/insetbase.h:
1984         * insets/insetbibitem.C:
1985         * insets/insetbox.C:
1986         * insets/insetbranch.C:
1987         * insets/insetcaption.C:
1988         * insets/insetcharstyle.C:
1989         * insets/insetcharstyle.h:
1990         * insets/insetcollapsable.C:
1991         * insets/insetcollapsable.h:
1992         * insets/insetert.C:
1993         * insets/insetfloat.C:
1994         * insets/insetfoot.C:
1995         * insets/insetmarginal.C:
1996         * insets/insetnote.C:
1997         * insets/insetoptarg.C:
1998         * insets/insettabular.C:
1999         * insets/insettext.C:
2000         * insets/insettext.h:
2001         * insets/insetwrap.C:
2002         * mathed/math_mboxinset.C:
2003         * mathed/math_nestinset.C:
2004         * mathed/math_scriptinset.C:
2005         * mathed/math_scriptinset.h:
2006         * support/types.h:
2007
2008 2004-03-24  Angus Leeming  <leeming@lyx.org>
2009
2010         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2011         deal with any child processes that have finished but are waiting to
2012         communicate this fact to the rest of LyX.
2013
2014 2004-03-24  Angus Leeming  <leeming@lyx.org>
2015
2016         64-bit compile fixes.
2017
2018         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2019         (c-tor): pass lyx::pos_types rather than ints.
2020
2021         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2022         lyx::pos_type.
2023
2024         * text.C (Delete): compile fix.
2025         (getPar): ensure that function declaration is the same as that in
2026         the header file.
2027
2028 2004-03-23  Angus Leeming  <leeming@lyx.org>
2029
2030         * ispell.C (LaunchIspell):
2031         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2032         a boost::shred_ptr rather than a std::auto_ptr.
2033
2034 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2037         handle LFUN_FILE_INSERT_*
2038
2039         * lyxrc.C (setDefaults, getDescription, output, read):
2040         * lyxrc.h: remove ps_command
2041
2042 2004-03-22  Angus Leeming  <leeming@lyx.org>
2043
2044         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2045         Ensure that error_handler is processed once only and that all data
2046         is saved before attempting to output any warning messages.
2047
2048         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2049
2050 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2051
2052         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2053
2054 2004-03-19  André Pönitz  <poenitz@gmx.net>
2055
2056         * cursor.[Ch] (reset): take main text inset as argument
2057
2058         * BufferView: adjust
2059         * BufferView_pimpl.C: adjust
2060
2061         * paragraph.[Ch]: fix completely broken operator=()
2062
2063 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2064
2065         * LColor.C (getFromLyXName): make sure that the color name is used
2066         as lowercase.
2067
2068 2004-03-17  Angus Leeming  <leeming@lyx.org>
2069
2070         * lfuns.h:
2071         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2072
2073         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2074         dialog and to kill a forked process.
2075
2076 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * text2.C (setCursorFromCoordinates): fix font problem
2079
2080 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2083         bogus "rebuild cursor" code
2084
2085 2004-03-11  André Pönitz  <poenitz@gmx.net>
2086
2087         * buffer.[Ch]: use InsetText instead of LyXText as container for
2088         the main lyx text.
2089
2090         * dociterator.[Ch]: drop the BufferView * member which is not needed
2091         anymore after the change to buffer.C
2092
2093         * paragraph_funcs.C:
2094         * text.C:
2095         * text2.C:
2096         * BufferView.[Ch]:
2097         * BufferView_pimpl.[Ch]:
2098         * cursor.[Ch]:
2099         * cursor_slice.[Ch]: adjust
2100
2101         * text3.C: fix bug in mathDispatch
2102
2103 2004-03-08  André Pönitz  <poenitz@gmx.net>
2104
2105         * undo.[Ch]: use 'StableDocumentIterator' as base for
2106         the Undo struct.
2107
2108 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2109
2110         * LaTeXFeatures.C:
2111         * bufferparams.[Ch]: add jurabib support and param.
2112
2113         * LaTeX.C: add FIXME/comment.
2114
2115 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2116
2117         * buffer.C: increment file format to 230.
2118
2119 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2120
2121         * cursor.C (dispatch): avoid infinite loops
2122
2123 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2124
2125         * rowpainter.C (paintSelection): fix x coordinates
2126
2127 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2128
2129         * text.C (rowBreakPoint): fix breaking before displayed insets
2130
2131 2004-03-01  André Pönitz  <poenitz@gmx.net>
2132
2133         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2134
2135         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2136
2137         * Makefile.am:
2138         * BufferView.C:
2139         * BufferView_pimpl.C:
2140         * buffer.C:
2141         * lyxfind.C:
2142         * lyxfunc.C:
2143         * text.C:
2144         * text2.C:
2145         * text3.C: adjust
2146
2147 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2148
2149         * lyxtext.h:
2150         * text.C:
2151         * text2.C:
2152         * rowpainter.C:
2153         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2154         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2155
2156 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2157
2158         * Bidi.[Ch] (computeTables): const correctness
2159         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2160         fill_hfill, fill_label_hfill and x from Row
2161         * lyxtext.h: prepareToPrint returns a RowMetrics
2162         * rowPainter.C: adjust
2163         * text.C (prepareToPrint): use width, not textWidth. adjust
2164         (redoParagraphInternal, cursorX): adjust
2165         * text2.C (getColumnNearX): adjust
2166         (init): put a default value to the top LyXText::width
2167
2168 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2169
2170         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2171
2172 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2173
2174         * lyxtext.h: add FontIterator class
2175
2176         * text.C (FontIterator, operator*, operator->, operator++): add
2177         (rowBreakPoint, setRowWidth): adjust (fixing a
2178         rebreaking bug)
2179
2180 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2181
2182         * BufferView_pimpl.C (workAreaDispatch): allow also
2183         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2184
2185 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2186
2187         * text.C (rowBreakPoint): fix a bug showing with very large insets
2188
2189 2004-02-25  André Pönitz  <poenitz@gmx.net>
2190
2191         * text3.C:
2192         * cursor.[Ch]: move some mathed specific code to mathed
2193
2194 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2195
2196         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2197         use_tempdir in preferences
2198         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2199         tempfile creation
2200         * lyx_main.C: ensure that tempdir is valid
2201         * lyxlex.h: correct typo
2202         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2203         * paragraph.[Ch] (isMultiLingual): make const
2204         * cursor.[Ch] (openable): make const
2205
2206 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2207
2208         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2209
2210 2004-02-20  André Pönitz  <poenitz@gmx.net>
2211
2212         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2213
2214         * cursor.[Ch]: prepare for localized getStatus()
2215
2216         * lyxtext.h:
2217         * tabular.C:
2218         * text.C:
2219         * text2.C:
2220         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2221
2222 2004-02-20  André Pönitz  <poenitz@gmx.net>
2223
2224         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2225
2226 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * text2.C (setCursorFromCoordinates): switch to absolute coords
2229         (cursorUp): adjust
2230         (cursorDown): adjust
2231         * text3.C (dispatch): adjust
2232
2233 2004-02-16  André Pönitz  <poenitz@gmx.net>
2234
2235         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2236           insets/ChangeLog)
2237
2238         * cursor_slice.[Ch]: remove unneeded acessor function
2239
2240         * lyxtext.h: rename rtl() to isRTL()
2241
2242         * rowpainter.C:
2243         * tabular.C:
2244         * text.C:
2245         * text2.C:
2246         * text3.C: adjust
2247
2248 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2249
2250         * rowpainter.C (paintSelection): coord fix
2251
2252 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2253
2254         * Spacing.C: compile fix
2255
2256 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * cursor.C (dispatch): restore current_ before returning
2259
2260 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2261
2262         * text2.C (cursorUp, cursorDown): fix coords
2263         (moveUp): fix crash
2264
2265 2004-02-12  André Pönitz  <poenitz@gmx.net>
2266
2267         * lyxtext.h:
2268         * text.C:
2269         * text2.C:
2270         * text3.C: add LCursor & parameter to most cursor movement functions
2271           remove usage of LyXText::cursorRow() and cursorPar()
2272
2273         * cursor.[Ch]: add textRow() needed members
2274
2275         * BufferView.C:
2276         * BufferView_pimpl.C:
2277         * paragraph.[Ch]:
2278         * BufferView.C:
2279         * BufferView_pimpl.C: adjust
2280
2281 2004-02-11  André Pönitz  <poenitz@gmx.net>
2282
2283         * lyxfunc.C:
2284         * BufferView.[Ch]:
2285         * BufferView_pimpl.C: shift undo/redo handling
2286
2287         * cursor.[Ch]: fix mathed crash
2288
2289         * lyxfind.C:
2290         * lyxtext.h: move selectionAsText to LCursor
2291
2292         * output_latex.C:
2293         * paragraph.C:
2294         * text.C:
2295         * text2.C:
2296         * text3.C: adjust
2297
2298         * rowpainter.C: fix excessive drawing
2299
2300 2004-02-06  André Pönitz  <poenitz@gmx.net>
2301
2302         * BufferView.[Ch]:
2303         * BufferView_pimpl.[Ch]:
2304         * text3.C: move some text specific LFUN handling
2305
2306 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2307
2308         * text3.C (checkInsetHit): adjust coords
2309         * text2.C (getColumnNearX): adjust coords
2310         (edit): adjust coords
2311         * text.C (getRowNearY): add two asserts
2312
2313 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2314
2315         * converter.C:
2316         * format.C: add using std::distance to compile on gcc 2.95/stlport
2317
2318 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2319
2320         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2321
2322 2004-02-04  André Pönitz  <poenitz@gmx.net>
2323
2324         * BufferView.[Ch] (insertInset):
2325         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2326
2327         * text2.C:
2328         * text3.C: adjust
2329
2330 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2333         on the default clause of the switch
2334         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2335         wasn't catched by LCursor::dispatch
2336
2337 2004-02-03  André Pönitz  <poenitz@gmx.net>
2338
2339         * BufferView.C:
2340         * cursor.[Ch]: some additional asserts
2341
2342         * undo.[Ch]: remove LyXText dependency in interface
2343
2344         * lyxfunc.C: adjust
2345
2346         * lyxtext.h (firstPar, lastPar): remove dead functions
2347
2348         * text.C:
2349         * text2.C:
2350         * text3.C:
2351         * paragraph.[Ch]: adjust
2352
2353 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2354
2355         * lyxfind.C (find): fix argument order in call to ::find
2356
2357 2004-02-02  André Pönitz  <poenitz@gmx.net>
2358
2359         * cursor.[Ch]: remove direct access to anchor
2360
2361         * text.C: remove findText() hack
2362
2363 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2364
2365         * iterators.[Ch] (lockPath): remove in favour of...
2366         * BufferView.[Ch] (setCursor): this addition
2367         * BufferView.C (putSelectionAt): adjust
2368         * undo.C (performUndoOrRedo): adjust
2369         * lyxfunc.C (dispatch): adjust
2370
2371 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2372
2373         * iterators.C (lockPath): add a missing slice
2374         * undo.C (performUndoOrRedo): remove redundant positioning code
2375
2376 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2377
2378         * vc-backend.C (scanMaster): ";" -> ';'
2379
2380 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2381
2382         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2383         std::binary_function
2384
2385         * lyxtextclass.C (compare_name): rename to...
2386         (LayoutNamesEqual): ...this
2387
2388         * lyxlex_pimpl.C (compare_tags): inherit from
2389         std::binary_function, put back into anon namespace
2390
2391         * lyxfind.C (MatchString): inherig from std::binary_function
2392         (findChange): use empty() istead of !size()
2393
2394         * format.C (FormatNamesEqual): new functor
2395         (getFormat): use it
2396         (getNumber): use it
2397         (add): use it
2398         (erase): use it
2399         (setViewer): use it
2400
2401         * converter.C (compare_Converter): rename to...
2402         (ConverterEqual): ...this, and fixup a bit.
2403         (getConverter): use it, and make function const
2404         (getNumber): use it, and make function const
2405         (add): use it
2406         (erase): use it:
2407
2408         * bufferlist.C: add using boost::bind
2409
2410         * MenuBackend.C (MenuNamesEqual): new functor
2411         (hasMenu): use it, and make function const
2412         (hasSubmenu): use nested bind to get rid of compare_memfun.
2413
2414 2004-01-30  André Pönitz  <poenitz@gmx.net>
2415
2416         * BufferView_pimpl.C:
2417         * cursor.C:
2418         * cursor.h:
2419         * cursor_slice.[Ch]:
2420         * lyxfunc.C:
2421         * lyxtext.h:
2422         * paragraph_funcs.C:
2423         * paragraph_funcs.h:
2424         * rowpainter.C:
2425         * text.C:
2426         * text2.C:
2427         * text3.C: move some of the edit(x,y) handling to the insets
2428         some coordinate changes.
2429
2430 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2431
2432         * text.C: add using statements for std::advance and std::distance
2433
2434         * paragraph.C: add using statement for std::distance
2435
2436         * lyxfind.C: add using statement for std::advance
2437
2438         * cursor.C (region): remove std:: from swap
2439         (openable): use nucleus in stead of operator->
2440
2441         * BufferView.C: add using statements for std::distance and std::swap
2442
2443 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2444
2445         * iterators.C: Remove the pimple, move the needed structures to
2446         the header file. Create accessor for the positions stack.
2447         (asPosIterator): remove function
2448
2449         * PosIterator.C (PosIterator): move constructors to top of file
2450         (PosIterator): reimplement the constructor taking a ParIterator in
2451         terms of setFrom.
2452         (setFrom): new function
2453         (operator!=): inline it
2454
2455 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2456
2457         * lyxfind.C (replaceAll): use std::advance
2458
2459         * iterators.h: inherit from std::iterator.
2460
2461         * PosIterator.C (advance, distance): remove
2462         * PosIterator.h: interit from std::iterator.
2463
2464 2004-01-26  André Pönitz  <poenitz@gmx.net>
2465
2466         * BufferView.[Ch]:
2467         * BufferView_pimpl.[Ch]:
2468         * InsetList.[Ch]:
2469         * PosIterator.[Ch]:
2470         * buffer.h:
2471         * bufferview_funcs.C:
2472         * cursor.[Ch]:
2473         * cursor_slice.h:
2474         * factory.[Ch]:
2475         * iterators.[Ch]:
2476         * lyxfind.C:
2477         * lyxfunc.C:
2478         * lyxtext.h:
2479         * output_docbook.C:
2480         * output_latex.C:
2481         * output_linuxdoc.C:
2482         * output_plaintext.C:
2483         * paragraph.[Ch]:
2484         * paragraph_funcs.[Ch]:
2485         * paragraph_pimpl.[Ch]:
2486         * rowpainter.C:
2487         * tabular.C:
2488         * tabular.h:
2489         * text.C:
2490         * text2.C:
2491         * text3.C: more IU:  dumps most of the rest of the mathcursor
2492     implementation into cursor.[Ch]; "globalize" a bit of it.
2493
2494 2004-01-25  Angus Leeming  <leeming@lyx.org>
2495
2496         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2497
2498 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2499
2500         * LaTeXFeatures.h: add nice_ and nice() const
2501         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2502
2503 2004-01-20  André Pönitz  <poenitz@gmx.net>
2504
2505         * BufferView.[Ch]:
2506         * BufferView_pimpl.C:
2507         * PosIterator.C:
2508         * bufferview_funcs.C:
2509         * cursor.[Ch]:
2510         * cursor_slice.[Ch]:
2511         * factory.C:
2512         * iterators.C:
2513         * lyx_cb.C:
2514         * lyxfind.C:
2515         * lyxfunc.C:
2516         * lyxtext.h:
2517         * rowpainter.C:
2518         * text.C:
2519         * text2.C:
2520         * text3.C:
2521         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2522           LCursor and mathcursor parts to LCursor and InsetBase.
2523
2524 2004-01-15  André Pönitz  <poenitz@gmx.net>
2525
2526         * cursor_slice.[Ch]: add a few covienience functions
2527
2528         * funcrequest.[Ch]: remove BufferView * member
2529
2530         * BufferView_pimpl.C:
2531         * cursor.C:
2532         * factory.[Ch]:
2533         * lyxfind.[Ch]:
2534         * lyxfunc.C:
2535         * lyxtext.h:
2536         * text3.C:
2537         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2538
2539 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2540
2541         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2542         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2543
2544 2004-01-13  André Pönitz  <poenitz@gmx.net>
2545
2546         * textcursor.[Ch]:
2547         * lyxtext.h: hide cursor and selection anchor behind accessor function
2548
2549         * BufferView.C:
2550         * BufferView_pimpl.[Ch]:
2551         * PosIterator.C:
2552         * bufferview_funcs.C:
2553         * cursor.h:
2554         * lyxfind.C:
2555         * lyxfunc.C:
2556         * text.C:
2557         * text2.C:
2558         * text3.C:
2559         * undo.C: adjust
2560
2561         * cursor.h:
2562         * cursor_slice.[Ch]: some integer type changes for inset unification
2563
2564         * lyxcursor.[hC]: remove, it's CursorSlice now.
2565
2566         * Makefile.am:
2567         * BufferView_pimpl.[Ch]:
2568         * bufferview_funcs.C:
2569         * cursor_slice.C:
2570         * lyxtext.h:
2571         * text.C:
2572         * text2.C:
2573         * text3.C:
2574         * textcursor.[Ch]: adjust
2575
2576 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2577
2578         * text2.C (undoSpan): add and use
2579         * text.C (breakParagraph): use undoSpan (fix bug 578)
2580         * lyxtext.h: adjust
2581
2582 2004-01-08  Angus Leeming  <leeming@lyx.org>
2583
2584         * BufferView_pimpl.C (MenuInsertLyXFile):
2585         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2586         * lyxfunc.C (menuNew, open, doImport):
2587         FileFilterList change to the FileDialog open and save functions.
2588
2589 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2590
2591         * ShareContainer.h: make isEqual and isUnique adaptable
2592
2593         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2594
2595 2004-01-07  Angus Leeming  <leeming@lyx.org>
2596
2597         * LyXAction.C:
2598         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2599
2600         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2601
2602         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2603         functions replacing find, replace and replaceAll.
2604
2605         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2606         LFUN_WORDFIND(FORWARD|BACKWARD).
2607
2608 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2609
2610         * text.C (breakParagraph): remove an outdated #warning
2611
2612 2004-01-07  André Pönitz  <poenitz@gmx.net>
2613
2614         * lyxfind.C: somewhat clearer logic
2615
2616         * text.C: prevent crash in cursorX on unitialized row cache
2617
2618 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2619
2620         * lyxcursor.[Ch] (operator>): add
2621         * textcursor.C (selStart, selEnd): use std::min and std::max
2622
2623 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2624
2625         * Chktex.C: include boost/format.hpp
2626
2627 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2628
2629         * InsetList.C: replace functor MathcIt with adaptable functor
2630         InsetTablePosLess
2631         (insetIterator): modify accordingly
2632
2633         * BranchList.h: move the BranchNamesEqual functor here from...
2634         * BranchList.C: ... to here
2635
2636         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2637         SameName and match.
2638         (add): replace a finding loop with std::find_if.
2639
2640 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2641
2642         * output_docbook.C: moving LatexParam functionality into
2643         .layout files
2644
2645 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2646
2647         * buffer.C: increment format to 229.
2648
2649 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2650
2651         * LaTeXFeatures.C:
2652         * lyx_sty.[Ch]: remove minipageindent_def
2653
2654         * LyXAction.C:
2655         * factory.C:
2656         * lfuns.h:
2657         * lyxfunc.C:
2658         * text3.C: remove LFUN_INSET_MINIPAGE
2659
2660 2003-12-28  Angus Leeming  <leeming@lyx.org>
2661
2662         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2663
2664 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2665
2666         * text2.C (setParagraph): fix off-by-one crash
2667
2668 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2669
2670         * output_docbook.C: header stuff for AGU
2671
2672 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2673
2674         * text2.C (redoCursor): remove
2675         * text.C:
2676         * text3.C:
2677         * BufferView_pimpl.C: remove calls to redoCursor and
2678         setCursor(cursor.par(), cursor.pos()) all around
2679
2680 2003-12-15  Angus Leeming  <leeming@lyx.org>
2681
2682         * buffer.C: up the format to 228.
2683
2684 2003-12-15  André Pönitz  <poenitz@gmx.net>
2685
2686         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2687         slices
2688
2689         * Makefile.am:
2690
2691         * BufferView_pimpl.C:
2692         * cursor.[Ch]:
2693         * lyxcursor.[Ch]:
2694         * rowpainter.[Ch]:
2695         * lyxtext.h:
2696         * text.C:
2697         * text2.C:
2698         * text3.C: adjust
2699
2700 2003-12-15  Angus Leeming  <leeming@lyx.org>
2701
2702         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2703         than getFromGUIName to manipulate the color.
2704
2705 2003-12-14  Angus Leeming  <leeming@lyx.org>
2706
2707         * BranchList.[Ch]: minimize the API.
2708         (Branch::getBranch, getColor): now return a 'const &'.
2709         (Branch::setSelected) now returns a bool set to true if the
2710         selection status changes.
2711         (BranchList::clear, size, getColor, setColor, setSelected,
2712         allBranches, allSelected, separator): removed.
2713         (BranchList::find): new functions, returning the Branch with
2714         the given name.
2715         (BranchList::add, remove): return a bool indicating that
2716         the operation was successful.
2717
2718         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2719         new InsetBranch::isBranchSlected member function.
2720
2721         * LColor.[Ch]: mimimize the API.
2722         (fill): renamed as addColor and made private.
2723         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2724         versions of these functions taking a string arg have been removed.
2725
2726         * bufferparams.C (readToken):
2727         * lyxfunc.C (dispatch):
2728         * lyxrc.C (read): changes due to the altered BranchList and
2729         LColor APIs.
2730
2731         * factory.C (createInset, readInset): changes due to altered
2732         InsetBranch c-tor.
2733
2734 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2735
2736         * factory.C:
2737         * lyxfunc.C: remove insetminipage. "minipage-insert"
2738         now produces a frameless minipage box inset.
2739
2740 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2741
2742         * textcursor.[Ch] (selStart,selEnd): add new methods
2743         remove selection::start, end, use LyXCursor::operator<
2744         * lyxcursor.[Ch] (operator<): add
2745         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2746         * BufferView.[Ch] (unsetXSel): add
2747         * text2.C (clearSelection): use unsetXSel,adjust
2748         * text.C: adjust
2749         * text3.C: adjust
2750         * rowpainter.C: adjust
2751         * bufferview_funcs.C (put_selection_at): adjust
2752
2753 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * BufferView_pimpl.C: small coord. correction
2756
2757 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2758
2759         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2760         dragging over the splash screen.
2761
2762 2003-12-11  Angus Leeming  <leeming@lyx.org>
2763
2764         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2765         as it is now handled in LyXText::dispatch.
2766
2767         * text3.C (doInsertInset): remove a level of nesting.
2768
2769 2003-12-11  Angus Leeming  <leeming@lyx.org>
2770
2771         * factory.C (createInset): changes due to the changed interface to
2772         InsetCommandMailer::string2params.
2773
2774 2003-12-10  Angus Leeming  <leeming@lyx.org>
2775
2776         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2777         'dialog-show-new-inset <inset name>'
2778
2779 2003-12-10  Angus Leeming  <leeming@lyx.org>
2780
2781         * buffer.C: up the format to 227.
2782
2783         * factory.C: the box inset is now identified simply by 'Box'.
2784
2785 2003-12-10  Angus Leeming  <leeming@lyx.org>
2786
2787         * buffer.C: up the format to 226.
2788
2789         * factory.C: the note inset is now identified simply by 'Note'.
2790
2791 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2792
2793         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2794         when a pit is enough. Standarize a couple of loops.
2795
2796 2003-12-05  Angus Leeming  <leeming@lyx.org>
2797
2798         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2799         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2800         data to the re-worked "log" dialog.
2801
2802 2003-12-03  André Pönitz  <poenitz@gmx.net>
2803
2804         * PosIterator.C:
2805         * iterators.C:
2806         * lyxtext.h:
2807         * output_latex.C:
2808         * paragraph_funcs.C:
2809         * text.C:
2810         * text2.C: use Inset::getText instead of Inset::getParagraph
2811
2812 2003-12-03  André Pönitz  <poenitz@gmx.net>
2813
2814         * buffer.[Ch]:
2815         * lyxtext.h:
2816         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2817         InsetText::read() as LyXText::read()
2818
2819 2003-12-02  Angus Leeming  <leeming@lyx.org>
2820
2821         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2822         type. Add a comment in the implementation that the function uses
2823         the stream's bad() function rather than fail() as the std::streams
2824         would do.
2825
2826 2003-12-02  André Pönitz  <poenitz@gmx.net>
2827
2828         * lyxlex.[Ch]: make interface more similar to std::stream
2829
2830         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2831
2832 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2833
2834         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2835
2836 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2837
2838         * vspace.[Ch]: remove VSpace::NONE
2839
2840 2003-12-01  André Pönitz  <poenitz@gmx.net>
2841
2842         * buffer.[Ch]:
2843         * lyxtext.h: move ParagraphList member to LyXText
2844         rename LyXText::ownerParagraphs to LyXText::paragraph
2845
2846         * CutAndPaste.C:
2847         * bufferview_funcs.C:
2848         * iterators.[Ch]:
2849         * lyx_cb.C:
2850         * paragraph.C:
2851         * rowpainter.C:
2852         * tabular.C:
2853         * text.C:
2854         * text2.C:
2855         * text3.C: adjust
2856
2857         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2858
2859         * undo.C: fix cursor positioning
2860
2861 2003-12-01  John Levon  <levon@movementarian.org>
2862
2863         * BufferView_pimpl.C: fix a crash on exit with
2864         a buffer open
2865
2866 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2867
2868         * BranchList.C: fix setSelected() method.
2869
2870 2003-11-28  André Pönitz  <poenitz@gmx.net>
2871
2872         * ParagraphParameters.[Ch]:
2873         * ParameterStruct.h: remove space above/below from Paragraph to
2874          InsetVSpace
2875
2876         * BufferView_pimpl.C:
2877         * factory.C:
2878         * lyxfunc.C:
2879         * lyxtext.h:
2880         * output_latex.C:
2881         * paragraph.C:
2882         * paragraph_funcs.C:
2883         * rowpainter.[Ch]:
2884         * text.C:
2885         * text2.C:
2886         * text3.C: adjust
2887
2888 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2889
2890         * factory.C: Syntax change for CharStyles
2891
2892 2003-11-28  André Pönitz  <poenitz@gmx.net>
2893
2894         * BufferView.[Ch]:
2895         * BufferView.[Ch]:
2896         * buffer.[Ch]:
2897         * buffer.[Ch]: move LyXText member
2898
2899 2003-11-28  André Pönitz  <poenitz@gmx.net>
2900
2901         * BufferView.[Ch]: make LyXText * text a private member
2902
2903         * BufferView_pimpl.C:
2904         * cursor.C:
2905         * iterators.C:
2906         * lyx_cb.C:
2907         * lyxfind.C:
2908         * lyxtext.h:
2909         * rowpainter.[Ch]:
2910         * text.C:
2911         * text2.C:
2912         * undo.C: adjust
2913
2914         * output_plaintext.C: cleanup
2915
2916 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2917
2918         * buffer.C:
2919         * lyxtextclass.[Ch]: parametrize SGML document header
2920
2921 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2922
2923         * converter.[Ch]:
2924         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2925         getFlavor().
2926
2927 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2928
2929         * text2.C (setFont): rework using PosIterator (no more recursive)
2930         (setCharFont): no more needed
2931         (setLayout): no more selection cursors fiddling (done by redoCursor)
2932         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2933         destroy remaining ones)
2934
2935 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2936
2937         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2938         * lyxtext.h: ditto
2939         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2940         selection cursors
2941         * lyxfunc.C: adjust
2942         * text3.C: adjust + re-allow multi par depth changes
2943         * textcursor.C: simplify a bit
2944
2945 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2946
2947         * src/buffer.C:
2948         * src/lyxlayout.C:
2949         * src/lyxlayout.h:
2950         * src/lyxtext.h:
2951         * src/output_docbook.C:
2952         * src/output_latex.C:
2953         * src/paragraph.C:
2954         * src/paragraph.h:
2955         * src/sgml.C:
2956         * src/sgml.h:
2957         * src/text2.C: Introducing a number of tags parametrizing various
2958         XML formats that we may want to support
2959
2960 2003-11-25  André Pönitz  <poenitz@gmx.net>
2961
2962         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2963
2964         * lyxtext.h (leftMargin/rightMargin): simplify interface
2965
2966         * rowpainter.C:
2967         * text.C:
2968         * text2.C:
2969         * text3.C: adjust
2970
2971 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2972
2973         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2974         master file to any child files. Fixes bug 546.
2975
2976 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2977
2978         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2979
2980 2003-11-24  André Pönitz  <poenitz@gmx.net>
2981
2982         * rowpainter.C: simplification
2983
2984         * text2.C (updateCounters): remove call to redoParagraph on
2985         changed labels as this is far too expensive.
2986
2987 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2988
2989         * converter.C (convert): fix a crash: this function gets
2990         called with buffer == 0 from importer code.
2991
2992 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2993
2994         * text3.C (cursorPrevious): make sure that we do not compare
2995         iterators form different containers.
2996         (cursorNext): ditto
2997
2998         * rowpainter.C (paintSelection): make sure that we do not compare
2999         iterators from different containers.
3000
3001         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3002         iterators from different ParagraphList containers.
3003         [NEXT] ditto
3004
3005         * text2.C (LyXText): change order of initialization slightly
3006         (operator=): new function. copy all variables except cache_par_
3007         (moveUp): make sure that we do not compare iterators from
3008         different ParagraphList constainers.
3009         (moveDown): ditto
3010
3011         * text.C (firstPar): new function
3012         (lastPar): new function
3013         (endPar): new function
3014
3015         * lyxtext.h: move things around and group public functions, public
3016         variables, private functions, private variables
3017
3018 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3019
3020         * factory.C: change call to InsetERT constructor to avoid
3021         additional invocation of method status
3022         * text2.C (toggleInset): remove redundant update() call
3023         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3024         instead of a Bufferview pointer
3025
3026 2003-11-21  André Pönitz  <poenitz@gmx.net>
3027
3028         * rowpainter.C: simplification
3029
3030 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3031
3032         * text3.C (dispatch): make possible to extend a word/row selection
3033         with the mouse
3034
3035 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3036
3037         * lyxtext.h: x0_,y0_ -> xo_,yo_
3038         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3039         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3040         * rowpainter.C (paintRows): paint full paragraphs
3041
3042 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3043
3044         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3045         screen coordinates)
3046
3047 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3048
3049         * lyxtext.h: add x0_, y0_
3050         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3051         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3052
3053 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3054
3055         * text2.C (setCursorIntern): move the x_target update here *
3056         * text3.C: change some bv() to true/false in calls to
3057         cursorUp/Down/Right/Left
3058         * cursor.C: use helper function.
3059
3060 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3061
3062         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3063         * paragraph_funcs.[Ch]: correct comment
3064         * rowpainter.C: do not paint selections away from bv->cursor()
3065         Fix a long standing selection painting bug.
3066         * text3.C: generalize mouse-selection code to LyXTexts other that
3067         top one
3068         * textcursor.C: do not use y coords if we can use par offsets
3069
3070 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3071
3072         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3073         cursor position after e.g. inset insert)
3074
3075 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3076
3077         * lyxfind.C (replace): adjust to locking removal + some
3078         code simplification
3079
3080 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3081
3082         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3083         of the path
3084
3085 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3086
3087         * lyxlayout.[Ch]:
3088         * output_docbook.C: XML sanitation: new layout
3089         parameters InnerTag and CommandDepth
3090
3091 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3092
3093         * BufferView_pimpl.C:
3094         * factory.C:
3095         * text3.C: Fix the insertion and modification of button-style
3096         insets
3097
3098 2003-11-13  André Pönitz  <poenitz@gmx.net>
3099
3100         * InsetList.[Ch]: remove deleteLyXText
3101
3102         * paragraph.[Ch]: cache beginOfBody position
3103
3104         * Bidi.C:
3105         * text.C:
3106         * text2.C:
3107         * text3.C: remove superfluous update() calls
3108
3109         * vspace.C: cleanup
3110
3111 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3112
3113         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3114         * BufferView.C (fitLockedInsetCursor): remove
3115         * cursor.[Ch] (getDim): add
3116         * text.C (getRowNearY): add faster version
3117         * text3.C: remove some update calls
3118
3119 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3120
3121         * LaTeXFeatures.C:
3122         * LyXAction.C:
3123         * MenuBackend.C:
3124         * MenuBackend.h:
3125         * dispatchresult.h:
3126         * factory.C:
3127         * lfuns.h:
3128         * lyxfunc.C:
3129         * lyxtextclass.C:
3130         * lyxtextclass.h:
3131         * text3.C: The Character Style /XML short element patch.
3132
3133 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3134
3135         * text3.C:
3136         * factory.C: Small step to solving 'unable to insert some insets'
3137         problem
3138
3139 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3140
3141         * cursor.[Ch] (updatePos): new function for updating the y
3142         position of the tip inset
3143         * bufferview_funcs.C (put_selection_at):
3144         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3145
3146 2003-11-11  André Pönitz  <poenitz@gmx.net>
3147
3148         * text.C: remove big comment on invalid Paragraph pointers as it is
3149         not valid anymore
3150
3151 2003-11-11  André Pönitz  <poenitz@gmx.net>
3152
3153         * text_funcs.[Ch]: merge with ...
3154
3155         * text.C: ... this
3156
3157         * lyxtext.h:
3158         * text2.C:
3159         * text3.C: adjust
3160
3161         * Makefile.am: remove text_funcs.[Ch]
3162
3163 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3164
3165         * cursor.C (getPos): return absolute cached y coord
3166
3167         * BufferView_pimpl.C (fitCursor): new simplistic code
3168         (workAreaDispatch): add a fitCursor call
3169
3170 2003-11-10  André Pönitz  <poenitz@gmx.net>
3171
3172         * BufferView.[Ch]:
3173         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3174
3175 2003-11-10  André Pönitz  <poenitz@gmx.net>
3176
3177         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3178         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3179         indicate that the cursor needs to leave an inset
3180
3181         * lyxtext.h: remove inset locking
3182
3183         * cursor.[Ch]: re-implement functionality provided by inset locking
3184
3185         * BufferView.[Ch]:
3186         * BufferView_pimpl.[Ch]:
3187         * LyXAction.C:
3188         * bufferview_funcs.[Ch]:
3189         * factory.C:
3190         * funcrequest.[Ch]:
3191         * iterators.C:
3192         * lyx_cb.C:
3193         * lyxfind.C:
3194         * lyxfunc.C:
3195         * text.C:
3196         * text2.C:
3197         * text3.C:
3198         * undo.C: adjust
3199
3200 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3201
3202         * PosIterator.[Ch]: replace the stack with a vector, add inset
3203         accesor
3204         * iterators.[C]: adjust
3205
3206 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3209         replaced
3210         * paragraph_funcs.C (readParToken): put the correct id in the
3211         error item, not the id of the top paragraph
3212
3213 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3214
3215         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3216         * bufferview_funcs.C (put_selection_at): use the above
3217
3218 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3219
3220         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3221
3222 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3223
3224         * output_linuxdoc.h:
3225         * output_plaintext.h:
3226         * output.h:
3227         * output_docbook.h: add #include statements
3228
3229 2003-11-05  José Matos  <jamatos@lyx.org>
3230
3231         * output_docbook.[Ch]:
3232         * output_latex.[Ch]:
3233         * output_linuxdoc.[Ch]:
3234         * output_plaintext.[Ch]: New files for output formats.
3235         * output.[Ch]: New file for helper functions.
3236
3237         * buffer.[Ch]:
3238         * paragraph_funcs.[Ch]: output functions moved to new files.
3239
3240         * outputparams.h: rename of latexrunparams.h
3241
3242         * LaTeX.[Ch]:
3243         * buffer.[Ch]:
3244         * bufferlist.[Ch]:
3245         * converter.[Ch]:
3246         * exporter.C:
3247         * paragraph.[Ch]:
3248         * paragraph_funcs.[Ch]:
3249         * paragraph_pimpl.[Ch]:
3250         * tabular.[Ch]: rename ascii to plaintext
3251         and LatexRunParams to OutputParams.
3252
3253 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3254
3255         * iterators.[Ch] (text): require bv argument
3256         * undo.C (recordUndo):
3257         * lyxfunc.C (dispatch):
3258         * bufferview_funcs.C (put_selection_at): adjust
3259
3260 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3261
3262         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3263
3264 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3265
3266         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3267         nestings
3268
3269 2003-11-04  André Pönitz  <poenitz@gmx.net>
3270
3271         * cursor.[Ch]: restructure
3272
3273         * BufferView.[Ch]:
3274         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3275
3276         * iterators.[Ch] (asCursor): remove
3277
3278         * lfuns.h: remove LFUN_INSET_EDIT
3279
3280         * lyxfunc.C:
3281         * tabular.C:
3282         * text.C:
3283         * text2.C:
3284         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3285
3286 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3287
3288         * lyxfind.[Ch]: complete overhaul
3289         * BufferView_pimpl.C:
3290         * lyxfunc.C: adjust
3291         * paragraph.[Ch] (insert): add
3292
3293 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3294
3295         * BufferView.[Ch]:
3296         * lyxtext.h:
3297         * text.C: remove dead spellcheck code
3298
3299 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3300
3301         * dispatchresult.h: add a val setter
3302
3303         * cursor.C (dispatch): use a tempvar for data_[i]
3304
3305 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3306
3307         * PosIterator.[Ch]: compile fix
3308
3309 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3310
3311         * text.C (cursorPar): deactivate the cursor cache
3312
3313 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3314
3315         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3316
3317 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3318
3319         * text3.C (dispatch): adjust for new DisptchResult semantics.
3320
3321         * lyxfunc.C (dispatch): handle update when return from
3322         Cursor::dispatch, adjust for new DispatchResult semantics.
3323
3324         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3325         DispatchResult(true) mean to not update. Add class functions for
3326         setting dispatched and update, as well as reading.
3327
3328         * cursor.C (dispatch): don't handle update here
3329
3330 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3331
3332         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3333         * trans_mgr.C: adjust
3334
3335         * paragraph_funcs.C (readParToken): exception safety
3336
3337         * lyxvc.h: store the vcs pointer in a scoped_ptr
3338         * lyxvc.C: adjust
3339
3340         * lyxsocket.C (serverCallback): exception safety
3341
3342         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3343
3344         * ispell.C (clone): make it return a auto_ptr
3345
3346         * factory.C (createInset): exception safety
3347         (readInset): exception safety
3348
3349         * bufferlist.C (newBuffer): exception safety
3350
3351         * Thesaurus.C (Thesaurus): use initialization for aik_
3352
3353         * MenuBackend.C (expandToc): exception safety.
3354
3355 2003-11-03  André Pönitz  <poenitz@gmx.net>
3356
3357         * buffer.C:
3358         * buffer.h:
3359         * bufferview_funcs.C: remove getInsetFromId()
3360
3361         * lyxcursor.[Ch]:
3362         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3363
3364         * lyxfunc.C:
3365         * text2.C:
3366         * text3.C: adjust
3367
3368 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3369
3370         * PosIterator.C (distance, advance): new
3371         * bufferview_funcs.[Ch] (put_selection_at): new
3372         * iterators.[Ch] (lockPath): new
3373
3374 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * iterators.[Ch] (asPosIterator): added
3377         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3378         * PosIterator.[Ch]: added
3379
3380 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3381
3382         * text3.C:
3383         * lyxfunc.C:
3384         * cursor.C (dispatch):
3385         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3386
3387         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3388         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3389         contructor, add a class function dispatched. Remove operator>=
3390
3391 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3392
3393         * debug.C: only use the default constructor for debugstream
3394         (lyxerr) here.
3395
3396         * main.C (main): include debug.h and setup the lyxerr streambuf
3397         here.
3398
3399 2003-10-31  José Matos  <jamatos@lyx.org>
3400
3401         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3402
3403         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3404         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3405         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3406         * paragraph_pimpl.C (simpleTeXSpecialC):
3407         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3408         add LatexRunParams argument.
3409
3410         * exporter.C (Export): change call accordingly.
3411
3412         * latexrunparams.h: add new member to take care of the other backends.
3413 2003-10-30  José Matos  <jamatos@lyx.org>
3414
3415         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3416         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3417         factorise code for paragraph output.
3418         * buffer.[Ch]:
3419         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3420         move functions.
3421
3422 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * text3.C (dispatch):
3425         * lyxfunc.C (dispatch):
3426         * cursor.C (dispatch):
3427         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3428
3429         * dispatchresult.h: make the dispatch_result_t ctor explicit
3430
3431 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3432
3433         * sgml.[Ch]:
3434         * buffer.C: small refactoring of docbook stuff
3435
3436 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3437
3438         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3439         meaning.
3440
3441 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3442
3443         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3444         operator dispatch_result_t, and operators for == != and >=
3445
3446         * cursor.C (dispatch): adjust for operator dispatch_result_t
3447         removal. comment out call to update
3448
3449         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3450
3451 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * text3.C:
3454         * text2.C:
3455         * text.C:
3456         * lyxtext.h:
3457         * lyxfunc.C:
3458         * cursor.C:
3459         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3460         (dispatch):
3461
3462         * dispatchresult.h: new file, DispatchResult broken out of
3463         insets/insetbase.h
3464
3465         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3466
3467 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3468
3469         * text.C (rowBreakPoint): put a hack inside #if 0
3470
3471 2003-10-28  André Pönitz  <poenitz@gmx.net>
3472
3473         * lyxtext.h:
3474         * metricsinfo.C:
3475         * paragraph_funcs.C:
3476         * rowpainter.C:
3477         * text.C:
3478         * text2.C: general cleanup (lots of small stuff)
3479
3480 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3481
3482         * text2.C (cursorEnd): simple fix to the "end key goes to one
3483         before the end on last row" bug
3484
3485 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3486
3487         * text.C (backspace): fix the "zombie characters"
3488
3489 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3492
3493 2003-10-27  André Pönitz  <poenitz@gmx.net>
3494
3495         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3496
3497         * factory.C: handle new InsetPagebreak, InsetLine
3498
3499         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3500         and move handling into new InsetPagebreak, InsetLine
3501
3502         * BufferView_pimpl.C:
3503         * LyXAction.C:
3504         * ParagraphParameters.C:
3505         * ParameterStruct.h:
3506         * lyxfunc.C:
3507         * lyxtext.h:
3508         * paragraph.C:
3509         * paragraph.h:
3510         * paragraph_funcs.C:
3511         * paragraph_pimpl.C:
3512         * rowpainter.C:
3513         * text.C:
3514         * text2.C:
3515         * text3.C: adjust
3516
3517 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3518
3519         * text.C:
3520         * lyxrow_funcs.[Ch]:
3521         * Bidi.C:
3522         * paragraph.C:
3523         * lyxtext.h:
3524         * rowpainter.C:
3525         * text2.C:
3526         * text3.C: remove lastPos uses in favour of Row::endpos
3527
3528 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3529
3530         * undo.C (performUndoOrRedo): fix two crashes by setting a
3531         cursor by hand and reordering some calls. Use bv->lockInset instead
3532         of inset->edit because the latter loses cursor information
3533
3534 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3537         by Martin
3538         (rowBreakPoint): fix width. change point to point + 1.
3539         Add a missing check.
3540
3541 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3542
3543         * MenuBackend.C:
3544         * lyxfunc.C: fix (at least partly) the problems
3545         with the Nav menu and headers inside branch insets
3546         reported by Kayvan
3547
3548 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * paragraph.C (getChar): add strong asserts
3551
3552         * lyxrow_funcs.C (lastPos): remove hideous hack
3553
3554         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3555         (fill): adjust to that (avoid an infinite loop)
3556
3557 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3558
3559         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3560
3561 2003-10-23  André Pönitz  <poenitz@gmx.net>
3562
3563         * RowList_fwd.h: change list<> to vector<> to gain speed
3564         after suggestion from Alfredo
3565
3566 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3567
3568         * lyxtext.h: move the bidi stuff from here...
3569         * text.C: and here
3570         * text2.C: and here
3571         * Bidi.[Ch]: ... to here
3572
3573 2003-10-23  André Pönitz  <poenitz@gmx.net>
3574
3575         * lyxtext.h:
3576         * text.C (isLastRow, isFirstRow): new functions
3577
3578         * paragraph.h: new width cache member
3579
3580         * rowpainter.C: replace RowList::iterator with Row & where possible
3581
3582         * lyxfunc.C: replace several view()->text with a single call
3583
3584         * toc.C: fix 'unused' warning
3585
3586 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3587
3588         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3589         when woring with stream::pos_type
3590         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3591
3592 2003-10-22  André Pönitz  <poenitz@gmx.net>
3593
3594         * lyxtext.h:
3595         * text.C: use Row & instead of RowList::iterator
3596
3597         * lyxrow.h: rename end() to endpos()
3598
3599         * rowpainter.C:
3600         * text.C:
3601         * text2.C: adjust
3602
3603 2003-10-22  Angus Leeming  <leeming@lyx.org>
3604
3605         * buffer.[Ch] (fully_loaded): new member function, returning true
3606         only when the file has been loaded fully.
3607         Used to prevent the premature generation of previews and by the
3608         citation inset to prevent computation of the natbib-style label.
3609
3610         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3611         templates are all set up.
3612
3613         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3614
3615 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3616
3617         * text.C: fixed an "oops" in the "is a bit silly"
3618         bug fix
3619
3620 2003-10-21  André Pönitz  <poenitz@gmx.net>
3621
3622         * FuncStatus.[Ch]: small stuff, whitespace
3623
3624         * lyxfont.[Ch]: operator<<() for debug reasons
3625
3626         * lyxfunc.C:
3627         * lyxrow_funcs.C:
3628         * lyxtext.h: whitespace, spelling
3629
3630         * paragraph.C: naming of variables
3631
3632         * text.C:
3633         * text2.C: small stuff
3634
3635
3636 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3637
3638         * text.C: (1) finish off the inset display() work;
3639         (2) fix the "is a bit silly" bug (accessing char
3640         past end of par).
3641
3642 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3643
3644         * text.C: re-introduce display() for insets, fixing the
3645         various bugs (stretch of line above, math inset
3646         positioning, ...)
3647
3648 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3649
3650         * text.C (rightMargin): remove spurious semicolon
3651
3652         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3653         1415)
3654
3655 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3656
3657         * text3.C: fix one crash due to wrong cursor def
3658
3659 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3660
3661         * vc-backend.C (scanMaster): make the regex static
3662
3663         * LaTeX.C (scanAuxFile): make the regexs static
3664
3665         * text3.C (doInsertInset, dispatch, dispatch):
3666         * text2.C (cursorUp, cursorDown):
3667         * text.C (selectNextWordToSpellcheck):
3668         * BufferView_pimpl.C (dispatch):
3669         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3670
3671 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3672
3673         * lyxsocket.C: include <cerrno>
3674
3675 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * lyxfunc.C (dispatch): remove textcache stuff
3678
3679         * bufferlist.C (release): remove textcache stuff
3680         (closeAll): ditto
3681
3682         * TextCache.C: delete file
3683         * TextCache.h: delete file
3684
3685         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3686
3687         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3688         delete of the bv_->text.
3689         (resizeCurrentBuffer): remove texcache stuff
3690         (workAreaResize): ditto
3691
3692 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3693
3694         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3695         action.
3696
3697 2003-10-16  André Pönitz  <poenitz@gmx.net>
3698
3699         * lyxrow.[Ch]:
3700         * paragraph.h:
3701         * rowpainter.C:
3702         * text.C:
3703         * text2.C:
3704         * text3.C: speed up by storing y positions per paragraph plus per-row
3705         offset instead of having a 'full' y position in the row.
3706
3707 2003-10-15  André Pönitz  <poenitz@gmx.net>
3708
3709         * iterators.[Ch]:
3710         * iterators.[Ch]:
3711         * undo.[Ch]: make undo aware of inner insets
3712
3713 2003-10-14  Angus Leeming  <leeming@lyx.org>
3714
3715         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3716         static member functions LyX::ref() and LyX::cref.
3717         (lastfiles): new accessor functions for the new lastfiles_ member var.
3718         (addLyXView, views_): add a new LyXView to the list of views_.
3719         (updateInset): loop over all LyXViews to call their own updateInset
3720         member function, returning a pointer to the Buffer owning the inset.
3721
3722         * BufferView_pimpl.C (loadLyXFile):
3723         * MenuBackend.C (expandLastfiles):
3724         * bufferlist.C (MenuWrite, QuitLyX):
3725         lastfiles is no longer a global variable.
3726         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3727
3728         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3729         static function. Access through LyX::cref().emergencyCleanup().
3730
3731 2003-10-14  André Pönitz  <poenitz@gmx.net>
3732
3733         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3734
3735         * undo.[Ch]: restoring part of 'undo in insets'
3736
3737         * Makefile.am:
3738         * undo_funcs.[Ch]: merge with undo.[Ch]
3739
3740         * tabular.C: small cleansing stuff
3741
3742 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3743
3744         * paragraph_funcs.C (readParToken): report unknown insets as error
3745         boxes. Use the outer paragraph as location (also for unknown
3746         tokens).
3747
3748         * factory.C (readInset): do not abort on reading an unknown inset.
3749         Eat it and return 0.
3750
3751 2003-10-13  Angus Leeming  <leeming@lyx.org>
3752
3753         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3754
3755         * lyxrc.C: displayTranslator is now a function,
3756         declared in GraphicsTypes.h.
3757
3758 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3759
3760         * format.C: new placeholder $$a to pass the socket address.
3761
3762         * bufferlist.[Ch]: new function getBufferFromTmp.
3763
3764         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3765           files in the temporary dir.
3766
3767 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3768
3769         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3770
3771         * Makefile.am: add lyxsocket.[Ch].
3772
3773         * lyx_main.C (error_handler): handle SIGPIPE.
3774
3775 2003-10-13  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView_pimpl.C:
3778         * lyxtext.h:
3779         * text.C:
3780         * text2.C:
3781         * text3.C:
3782         * undo_funcs.[Ch]: use paroffset_type instead of
3783           ParagraphList::iterators to prevent multiple conversion
3784           (and get a more robust interface)
3785
3786 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3789         * lyxtext.h: ditto
3790         * text3.C (dispatch): ditto
3791
3792 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3795         move the onlyfile, use onlyfile instead of foundfile in a couple
3796         of places.
3797
3798         * DepTable.C (update): flush the error stream a bit more
3799
3800 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * lyxserver.C (callback): adjust
3803
3804         * lyxfunc.C (getStatus): add a missing brace in commented code
3805         (ensureBufferClean): reindent
3806         (dispatch): delete version taking a string
3807
3808 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * LaTeX.C (deplog): move found file handlig from here...
3811         (handleFoundFile): .. to new function here.
3812         (deplog): make sure to discover several files mentioned on the
3813         same log line.
3814
3815 2003-10-10  André Pönitz  <poenitz@gmx.net>
3816
3817         * lyxfunc.C:
3818         * lyxtext.h:
3819         * tabular.C:
3820         * text.C:
3821         * text2.C:
3822         * text3.C: fix some of the tabular crashes
3823
3824 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3825
3826         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3827
3828         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3829
3830 2003-10-09  André Pönitz  <poenitz@gmx.net>
3831
3832         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3833
3834         * BufferView.C:
3835         * BufferView_pimpl.C:
3836         * bufferview_funcs.C:
3837         * lyx_cb.C:
3838         * lyxcursor.C:
3839         * lyxfind.C:
3840         * lyxfunc.C:
3841         * lyxtext.h:
3842         * text.C:
3843         * text2.C:
3844         * text3.C:
3845         * text_funcs.[Ch]:
3846         * textcursor.[Ch]:
3847         * undo_funcs.C: adjust
3848
3849 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * text2.C (incrementItemDepth): new function, use a backtracking
3852         algorithm to discover the correct item depth.
3853         (resetEnumCounterIfNeeded): new function, use a backtracking
3854         algorithm to discover if counter reset is needed.
3855         (setCounter): use them. Simplify a bit. Add different labels for
3856         different item depths for itemize.
3857
3858         * paragraph.C (Paragraph): remove initialization of enumdepth
3859         (operator=): ditto
3860
3861         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3862         enumerate and itemize. Change the type of itemdepth to signed char.
3863
3864 2003-10-08  André Pönitz  <poenitz@gmx.net>
3865
3866         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3867           thing assignable.
3868         * text.C:
3869         * text2.C: adjust
3870
3871         * tabular.[Ch]: fix crash after 'row-insert'
3872
3873 2003-10-08  Angus Leeming  <leeming@lyx.org>
3874
3875         Fix doxygen warnings.
3876
3877         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3878         Remove CutAndPaste:: prefix from header file declaration.
3879
3880         * LColor.h (fill): remove LColor:: prefix from declaration.
3881
3882         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3883         use lyx::depth_type rather than Paragraph::depth_type so that
3884         header file and .C file match.
3885
3886         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3887
3888         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3889         * aspell.C: \file aspell_local.C -> \file aspell.C
3890         * gettext.C: \file gettext.C -> \file src/gettext.C
3891         * gettext.h: \file gettext.h -> \file src/gettext.h
3892         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3893         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3894         * text.C: \file text.C -> \file src/text.C
3895
3896         * toc.C: move comment so that doxygen is not confused.
3897
3898 2003-10-07  Angus Leeming  <leeming@lyx.org>
3899
3900         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3901
3902 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3903
3904         * aspell.C:
3905         * aspell_local.h: add forgotten std::string's.
3906
3907 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3908
3909         * LaTeXFeatures.C:
3910         * LyXAction.C:
3911         * factory.C:
3912         * lfuns.h:
3913         * lyxfunc.C:
3914         * text3.C: The Box patch. Fancybox support, minipage, parbox
3915
3916 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3917
3918         * CutAndPaste.h:
3919         * DepTable.h:
3920         * FloatList.h:
3921         * LaTeXFeatures.h:
3922         * ParagraphParameters.h:
3923         * TextCache.h:
3924         * Thesaurus.h:
3925         * bufferlist.h:
3926         * exporter.h:
3927         * importer.h:
3928         * lastfiles.h:
3929         * lyxfind.h:
3930         * lyxfont.h:
3931         * lyxlex.h:
3932         * lyxtextclasslist.h:
3933         * messages.h:
3934         * paragraph.h:
3935         * paragraph_pimpl.C:
3936         * textcursor.h: add <string> and other small fixes to make Lars'
3937         std::string patch compile with STLport.
3938
3939 2003-10-06  Angus Leeming  <leeming@lyx.org>
3940
3941         * LColor.h: Add missing #include <string>.
3942
3943 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * All most all file in all subdirs: Make <string> be the prefered
3946         way of getting to std::string, add using declarations.
3947
3948 2003-10-06  André Pönitz  <poenitz@gmx.net>
3949
3950         * metricsinfo.C: initialize LyXFont before changing attribute.
3951         (fixes the 'math in \emph is upright' bug)
3952
3953 2003-10-06  André Pönitz  <poenitz@gmx.net>
3954
3955         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3956
3957 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3958
3959         * graph.C:
3960         * paragraph_pimpl.C: Small fixes to build using STLport
3961
3962 2003-10-02  André Pönitz  <poenitz@gmx.net>
3963
3964         * lyxfunc.C:
3965         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3966
3967 2003-10-01  André Pönitz  <poenitz@gmx.net>
3968
3969         * factory.C: assert early
3970
3971 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3972
3973         * lyx_main.C: remove the global debug object
3974
3975         * debug.h: adjust for new debugstream
3976
3977         * debug.C: adjust for new debugstream and keep the global debug
3978         object here.
3979
3980 2003-09-22  Angus Leeming  <leeming@lyx.org>
3981
3982         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3983         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3984         an incomplete class LyXFont.
3985
3986 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3987
3988         * factory.C: bug fix in branches
3989
3990 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * lyxfunc.C (processKeySym): adjust
3993         (dispatch): adjust
3994         (dispatch): change arg name from ev to func, adjust
3995         (sendDispatchMessage): ditto
3996
3997         * lyx_main.C (defaultKeyBindings): adjust keybindings
3998         (deadKeyBindings): ditto
3999
4000         * kbsequence.C (addkey): return a FuncRequest
4001
4002         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4003
4004         * kbmap.C (bind): take a FuncRequest as arg, adjust
4005         (read): adjust
4006         (lookup): adjust
4007         (defkey): change to take a FuncRequest as arg, adjust
4008         (findbinding): take a FuncRequest as arg, adjust.
4009
4010         * funcrequest.h (operator=): added
4011
4012         * funcrequest.C (FuncRequest): default kb_action changed from
4013         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4014
4015         * buffer.C (dispatch): simplify
4016         (dispatch): adjust to take a FuncRequest as arg, adjust
4017
4018         * boost.C (assertion_failed): change assertion message slightly
4019
4020         * ToolbarBackend.C (read): simplify
4021
4022         * MenuBackend.C (binding): adjust call to findbinding, add a
4023         message if no binding is found.
4024         (read): simplify
4025         (expandToc): correct by adding a empty FuncRequest
4026
4027         * LyXAction.C: include <boost/assert.hpp>
4028         (isPseudoAction): delete function
4029         (LookupFunc): change name to...
4030         (lookupFunc): this. change return type to FuncRequest.
4031         (getActionName): take kb_action as arg, simplify
4032         (funcHasFlag): add an assert, simplify.
4033
4034 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * toc.C (action): return a FuncRequest, simplify
4037
4038         * lyxfunc.C (processKeySym): adjust
4039         (getStatus): delete version that takes an int.
4040         (getStatus): adjust
4041         (dispatch): delete version that takes action as int
4042         (dispatch): adjust
4043         (sendDispatchMessage): simplify and adjust
4044
4045         * funcrequest.C (getArg): take unsigned int as arg
4046
4047         * ToolbarBackend.C (read): adjust
4048         (add): delete version that takes func as a string.
4049         (getIton): take a FuncRequest as arg
4050
4051         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4052         action.
4053
4054         * MenuBackend.C (MenuItem): add a new construct that only takes a
4055         Kind, simplify the constructor use for submenus.
4056         (add): adjust
4057         (expandLastfiles): adjust
4058         (expandDocuments): adjust
4059         (expandFormats): adjust
4060         (expandFloatListInsert): adjust
4061         (expandFloatInsert): adjust
4062         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4063
4064         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4065         Remove class variables lyx_pseudo_map and lyx_arg_map
4066
4067         * LyXAction.C (searchActionArg): delete function
4068         (getPseudoAction): delete function
4069         (retrieveActionArg): delete function
4070         (LookupFunc): make it return kb_action, simplify.
4071         (getActionName): simplify
4072
4073         * factory.C (createInset): fix new bug
4074
4075 2003-09-19  Angus Leeming  <leeming@lyx.org>
4076
4077         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4078         masterFilename_ parameter in the include inset.
4079
4080         * factory.C (createInset): changes due to the changes to InsetInclude.
4081
4082 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4083
4084         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4085
4086 2003-09-18  Angus Leeming  <leeming@lyx.org>
4087
4088         * buffer.C:
4089         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4090         Inset::fillWithBibKeys.
4091         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4092
4093 2003-09-18  Angus Leeming  <leeming@lyx.org>
4094
4095         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4096         variables.
4097         (ctor): pass and store a 'Buffer const &'
4098         (buffer): new member function.
4099
4100         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4101         '*this' to the LaTeXFeatures ctor.
4102
4103 2003-09-18  Angus Leeming  <leeming@lyx.org>
4104
4105         * LColor.h:
4106         * lyxfont.C:
4107         * lyxfont.h:
4108         * lyxtext.h:
4109         * text.C: rename EnumLColor as LColor_color.
4110
4111 2003-09-18  Angus Leeming  <leeming@lyx.org>
4112
4113         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4114         remove #include "insets/insetbase.h" from cursor.h.
4115
4116 2003-09-18  Angus Leeming  <leeming@lyx.org>
4117
4118         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4119         InsetOld_code to remove #include "inset.h".
4120
4121         * iterators.C: add #include "insets/inset.h"
4122
4123 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4124
4125         * BufferView.C: remove more locking stuff that apparently doesn't
4126         do anything sensible.
4127
4128 2003-09-16  André Pönitz  <poenitz@gmx.net>
4129
4130         * paragraph.[Ch]:
4131         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4132           performance boost.
4133
4134 2003-09-16  Angus Leeming  <leeming@lyx.org>
4135
4136         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4137
4138         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4139         arg/return type.
4140
4141         * paragraph.h: remove #include "lyxfont.h". Forward declare
4142         LyXFont_size.
4143
4144 2003-09-16  Angus Leeming  <leeming@lyx.org>
4145
4146         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4147         of support/textutils.h.
4148         (isWord): move the contents of support/textutils.h's IsWordChar here.
4149
4150         * buffer.C:
4151         * lyxfind.C:
4152         * rowpainter.C:
4153         * text.C:
4154         * text2.C: add #include "paragraph.h".
4155
4156         * rowpainter.C:
4157         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4158
4159 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * main.C:
4162         * lyx_main.C:
4163         * lyx_cb.C:
4164         * buffer.C:
4165         * LaTeX.C: use namespace alias for lyx::support::os
4166
4167 2003-09-16  Angus Leeming  <leeming@lyx.org>
4168
4169         * bufferparams.C:
4170         * bufferview_funcs.C:
4171         * factory.C:
4172         * lyxfunc.C:
4173         * paragraph_pimpl.C:
4174         * rowpainter.C:
4175         * text.C: add #include "LColor.h".
4176
4177 2003-09-16  Angus Leeming  <leeming@lyx.org>
4178
4179         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4180         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4181         return LyXFont &.
4182         Store the FontBits::color variable as an int rather than as an
4183         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4184         file.
4185
4186         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4187         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4188         string calls together.
4189
4190         * lyxrc.C: add #include "LColor.h".
4191
4192 2003-09-15  Angus Leeming  <leeming@lyx.org>
4193
4194         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4195         a cow_ptr.
4196
4197 2003-09-15  Angus Leeming  <leeming@lyx.org>
4198
4199         * LColor.h: add an EnumLColor wrapper for LColor::color.
4200
4201         * lyxfont.[Ch] (color, setColor, realColor):
4202         * lyxtext.h, text.C (backgroundColor):
4203         pass EnumLColor args to/from the functions, rather than LColor::color
4204         ones.
4205
4206         * lyxfont.h:
4207         * lyxtext.h: forward declare EnumLColor.
4208
4209         * lyx_main.C: add #include "LColor.h".
4210
4211 2003-09-15  Angus Leeming  <leeming@lyx.org>
4212
4213         * .cvsignore: add lyx-gtk.
4214
4215 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4216
4217         * Chktex.C
4218         * LaTeX.C
4219         * LaTeXFeatures.C
4220         * ParagraphParameters.C
4221         * Spacing.C
4222         * buffer.C
4223         * bufferparams.C
4224         * bufferview_funcs.C
4225         * chset.C
4226         * counters.C
4227         * funcrequest.C
4228         * lyxfont.C
4229         * lyxgluelength.C
4230         * lyxlength.C
4231         * paragraph.C
4232         * paragraph_funcs.C
4233         * text3.C
4234         * vc-backend.C: remove usage of STRCONV
4235
4236 2003-09-15  Angus Leeming  <leeming@lyx.org>
4237
4238         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4239         explicitly define the color passed to the painter.
4240
4241 2003-09-15  Angus Leeming  <leeming@lyx.org>
4242
4243         * bufferparams.C (BufferParams): reorder member initializers to avoid
4244         compiler warning.
4245
4246 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4249         * text.C (updateRowPositions): remove an unusual nop
4250
4251 2003-09-12  André Pönitz  <poenitz@gmx.net>
4252
4253         * BufferView_pimpl.C:
4254         * Bullet.C:
4255         * layout.h:
4256         * lyxfunc.C:
4257         * lyxlayout.[Ch]:
4258         * lyxtextclass.C:
4259         * rowpainter.C:
4260         * text.C:
4261         * text2.C:
4262         * Counters.[Ch]: finish the 'automatic counters' job
4263
4264 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4265
4266         * aspell.C: include <boost/assert.cpp> (compile fix)
4267
4268 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4269
4270         * boost.C (assertion_failed): use lyx::support::abort instead of
4271         assert.
4272
4273 2003-09-10  Angus Leeming  <leeming@lyx.org>
4274
4275         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4276         with their _fwd progeny.
4277
4278 2003-09-09  Angus Leeming  <leeming@lyx.org>
4279
4280         134 files throughtout the source tree: replace 'using namespace abc;'
4281         directives with the appropriate 'using abc::xyz;' declarations.
4282
4283 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4284
4285         * boost.C (emergencyCleanup): moved here from LAssert.c
4286         (assertion_failed): new function, called by BOOST_ASSERT
4287
4288         * several files: change Assert to BOOST_ASSERT
4289
4290 2003-09-09  Angus Leeming  <leeming@lyx.org>
4291
4292         * buffer.[Ch]: Add an Impl class and move Buffer's member
4293         variables into it. As a result move several header files out of
4294         buffer.h.
4295
4296         Add header files to lots of .C files all over the tree as a result.
4297
4298 2003-09-09  Angus Leeming  <leeming@lyx.org>
4299
4300         * buffer.[Ch]: make Buffer's member variables private. Add
4301         accessor functions.
4302
4303         Lots of changes all over the tree as a result.
4304
4305 2003-09-08  Angus Leeming  <leeming@lyx.org>
4306
4307         * graph.C: #include <config.h>.
4308
4309 2003-09-08  Angus Leeming  <leeming@lyx.org>
4310
4311         * BranchList.C:
4312         * BufferView.C:
4313         * BufferView_pimpl.C:
4314         * CutAndPaste.C:
4315         * DepTable.C:
4316         * LaTeX.C:
4317         * LaTeXFeatures.C:
4318         * LyXAction.C:
4319         * MenuBackend.C:
4320         * TextCache.C:
4321         * aspell.C:
4322         * buffer.C:
4323         * bufferlist.C:
4324         * changes.C:
4325         * chset.C:
4326         * converter.C:
4327         * counters.C:
4328         * debug.C:
4329         * graph.C:
4330         * ispell.C:
4331         * lyx_cb.C:
4332         * lyxfind.C:
4333         * lyxfunc.C:
4334         * lyxlex_pimpl.C:
4335         * lyxrc.C:
4336         * lyxrow.C:
4337         * paragraph.C:
4338         * rowpainter.C:
4339         * texrow.C:
4340         * text.C:
4341         * text2.C:
4342         * toc.C: remove redundant using directives.
4343
4344 2003-09-07  Angus Leeming  <leeming@lyx.org>
4345
4346         * LaTeXFeatures.h: remove #include "support/types.h".
4347         * ToolbarBackend.h: remove #include <algorithm>.
4348         * changes.h: remove #include <ctime>.
4349         * debug.h: remove #include <iosfwd>.
4350         * graph.h: remove #include "support/std_string.h".
4351         * lyx_main.h: remove #include <csignal>.
4352         * lyxlex_pimpl.h: remove #include <fstream>.
4353         * sgml.h: remove #include <algorithm>, <utility>.
4354         * toc.h: remove #include "support/std_ostream.h".
4355         Add #include <iosfwd>.
4356
4357 2003-09-07  Angus Leeming  <leeming@lyx.org>
4358
4359         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4360
4361         * converter.h: forward declare LatexRunParams.
4362         * encoding.h: remove #include "lyxrc.h".
4363         * lyxtext.h: remove #include "LColor.h".
4364         * lyxtextclass.h: remove #include "support/types.h".
4365         * trans.h: remove #include "tex-accent.h".
4366         * trans_mgr.h: remove #include "tex-accent.h".
4367         * insets/inset.h: remove #include "support/types.h", <vector>.
4368         * insets/insetcollapsable.h: remove #include "LColor.h".
4369         * insets/insetinclude.h: remove #include "dimension.h".
4370         * insets/insetlatexaccent.h: remove #include "dimension.h".
4371         * insets/insetoptarg.h:: remove #include "insettext.h".
4372         * insets/insettext.h: remove #include "dimension.h",
4373         <boost/shared_ptr.hpp>
4374
4375         * insets/renderers.h: add #include "dimension.h".
4376         * insets/updatableinset.h: add #include "support/types.h".
4377
4378         * many .C files: Associated changes.
4379
4380 2003-09-06  Angus Leeming  <leeming@lyx.org>
4381
4382         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4383         one, inside testInvariant.
4384
4385         * PrinterParams.C: new file.
4386         * PrinterParams.[Ch]: move the function bodies out of line.
4387
4388 2003-09-06  Angus Leeming  <leeming@lyx.org>
4389
4390         * ParagraphParameters.h: forward declare ParameterStruct rather than
4391         including its header file.
4392         (depth): moved out-of-line.
4393
4394 2003-09-06  Angus Leeming  <leeming@lyx.org>
4395
4396         * BufferView_pimpl.h:
4397         * kbmap.h:
4398         * kbsequence.h:
4399         * lyxfunc.h: forward declare LyXKeySym rather than
4400         #include "frontends/LyXKeySym.h".
4401
4402         * BufferView_pimpl.C:
4403         * kbmap.C:
4404         * kbsequence.C:
4405         * lyxfunc.C: associated changes.
4406
4407 2003-09-06  Angus Leeming  <leeming@lyx.org>
4408
4409         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4410         As a result, can remove the #include "insets/inset.h" from BufferView.h
4411
4412 2003-09-06  Angus Leeming  <leeming@lyx.org>
4413
4414         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4415         As a result, can remove the #include "insets/inset.h" from BufferView.h
4416
4417 2003-09-06  Angus Leeming  <leeming@lyx.org>
4418
4419         * buffer_funcs.C:
4420         * buffer.h:
4421         * bufferlist.C:
4422         * BufferView.C:
4423         * bufferview_funcs.C:
4424         * BufferView_pimpl.C:
4425         * CutAndPaste.C:
4426         * lyx_cb.C:
4427         * lyxfunc.C:
4428         * paragraph.h:
4429         * ParagraphParameters.C:
4430         * tabular.C:
4431         * text3.C:
4432         * toc.C:
4433         * undo_funcs.C:
4434         * frontends/controllers/ControlDocument.C:
4435         * insets/insetcaption.C: rearrange the #includes into some sort of
4436         coherent order.
4437
4438         * buffer.h: remove #includes ErrorList.h, undo.h
4439
4440 2003-09-06  Angus Leeming  <leeming@lyx.org>
4441
4442         * support/types.h: add a 'depth_type' typedef, used to store the
4443         nesting depth of a paragraph.
4444
4445         * paragraph.h:
4446         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4447         defining explicitly.
4448
4449         * buffer.h:
4450         * paragraph_funcs.h:
4451         * ParagraphParameters.h:
4452         * sgml.h: use lyx::depth_type rather than Paragraph or
4453         ParameterStruct's depth_type.
4454
4455         * buffer.h
4456         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4457
4458         * BufferView.C:
4459         * BufferView_pimpl.C:
4460         * CutAndPaste.C:
4461         * ParagraphParameters.C:
4462         * buffer_funcs.C:
4463         * bufferlist.C:
4464         * bufferview_funcs.C:
4465         * lyx_cb.C:
4466         * lyxfunc.C:
4467         * tabular.C:
4468         * text3.C:
4469         * toc.C:
4470         * undo_funcs.C:
4471         * frontends/LyXView.C:
4472         * frontends/controllers/ControlDocument.C:
4473         * frontends/controllers/ControlErrorList.C:
4474         * insets/insetbibitem.C:
4475         * insets/insetbranch.C:
4476         * insets/insetcaption.C:
4477         * insets/insetcollapsable.C:
4478         * insets/insetenv.C:
4479         * insets/insetert.C:
4480         * insets/insetfloat.C:
4481         * insets/insetfoot.C:
4482         * insets/insetfootlike.C:
4483         * insets/insetnewline.C:
4484         * insets/insetquotes.C:
4485         * insets/insettabular.C:
4486         * insets/insettext.C:
4487         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4488
4489         * frontends/controllers/ControlChanges.C: #include "changes.h".
4490
4491 2003-09-06  Angus Leeming  <leeming@lyx.org>
4492
4493         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4494         than #including paragraph.h.
4495
4496         * ParagraphList.h:
4497         * RowList.h: deleted. Superfluous.
4498
4499         * CutAndPaste.h:
4500         * iterators.h:
4501         * lyxcursor.h:
4502         * lyxtext.h:
4503         * text_funcs.h:
4504         * undo.h:
4505         * undo_funcs.h:
4506         * insets/inset.h:
4507         * insets/insettext.h: use ParagraphList_fwd.h rather than
4508         ParagraphList.h.
4509
4510         * paragraph.h: don't forward declare ParagraphList.
4511
4512         * buffer.h:
4513         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4514         rather than ParagraphList.h. paragraph.h is still needed for the
4515         Paragraph::depth_type parameters.
4516
4517         * textcursor.h: enable it to compile stand-alone in light of the
4518         above changes.
4519
4520         * bufferview_funcs.C:
4521         * iterators.C:
4522         * lyxfunc.C:
4523         * lyxrow_funcs.C:
4524         * paragraph.C:
4525         * rowpainter.C:
4526         * text.C:
4527         * text2.C:
4528         * text3.C:
4529         * text_funcs.C:
4530         * textcursor.C:
4531         * undo.C:
4532         * frontends/controllers/ControlParagraph.C:
4533         * frontends/controllers/ControlTabular.C:
4534         * insets/insetmarginal.C:
4535         * insets/insetminipage.C:
4536         * insets/insetnote.C:
4537         * insets/insetoptarg.C: add header files needed to compile again.
4538
4539 2003-09-06  Angus Leeming  <leeming@lyx.org>
4540
4541         * RowList_fwd.h: new file, forward-declaring Row rather than
4542         #including lyxrow.h.
4543
4544         * lyxrow_funcs.h:
4545         * lyxtext.h:
4546         * paragraph.h:
4547         * insets/insettext.h: use it instead of RowList.h
4548
4549         * bufferview_funcs.C:
4550         * lyxfunc.C:
4551         * lyxrow_funcs.C:
4552         * paragraph.C:
4553         * rowpainter.C:
4554         * text.C:
4555         * text2.C:
4556         * text3.C: #include "RowList.h".
4557
4558 2003-09-05  Angus Leeming  <leeming@lyx.org>
4559
4560         * factory.C (createInset):
4561         * vspace.C (c-tor): replace sscanf call with an istringstream.
4562         * ispell.C: re-add missing HP/UX headers.
4563         * lyxserver.C: re-add missing  os2 headers.
4564
4565 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4566
4567         * BranchList.C:
4568         * graph.C:
4569         * ispell.C:
4570         * lastfiles.C:
4571         * lyx_cb.C:
4572         * lyxserver.C:
4573         * texrow.C:
4574         * text3.C: re-add missing system headers, needed for 2.95.2.
4575
4576 2003-09-05  Angus Leeming  <leeming@lyx.org>
4577
4578         Changes most place everywhere due to the removal of using directives
4579         from support/std_sstream.h.
4580
4581 2003-09-05  Angus Leeming  <leeming@lyx.org>
4582
4583         Replace LString.h with support/std_string.h,
4584         Lsstream.h with support/std_sstream.h,
4585         support/LIstream.h with support/std_istream.h,
4586         support/LOstream.h with support/std_ostream.h.
4587
4588         Changes resulting throughout the tree.
4589
4590 2003-09-05  Angus Leeming  <leeming@lyx.org>
4591
4592         * sgml.h: ensure that the header file can be compiled stand-alone.
4593         * *.C: strip out redundant #includes. (320 in total.)
4594
4595 2003-09-04  Angus Leeming  <leeming@lyx.org>
4596
4597         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4598         here (from getPackages).
4599
4600         * debug.[Ch]: add a new EXTERNAL tag.
4601
4602 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4603
4604         * text2.C (cursorEnd): simplify
4605         (setCursor): adjust
4606         (getColumnNearX): adjust
4607
4608         * text.C (computeBidiTables): adjust
4609         (fill): adjust
4610
4611         * rowpainter.C (paintChars): adjust
4612         (paintSelection): adjust
4613         (paintChangeBar): adjust
4614         (paintText): adjust
4615
4616         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4617         lastPos instead.
4618         (numberOfSeparators): adjust
4619
4620 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4621
4622         * LyXAction.C:
4623         * box.[Ch]:
4624         * lfuns.h:
4625         * lyxfunc.C:
4626         * text3.C: Restricts the mouse click functionality
4627         of insets like bibtex, include, toc and floatlist to the visible
4628         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4629         up the dialogs. Cursor has to be in front of the inset (i.e.
4630         start of row) for this to function.
4631
4632 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4633
4634         * bufferview_funcs.C (currentState): output row information
4635
4636 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4637
4638         * bufferview_funcs.C (currentState): output paragraph position
4639
4640 2003-09-04  Angus Leeming  <leeming@lyx.org>
4641
4642         * FloatList.h: move out #include "Floating.h".
4643         * LaTeX.h: move out #include "DepTable.h".
4644         * LyXAction.h: move out #include "funcrequest.h".
4645         * buffer.h: move out #include "author.h", "iterators.h".
4646         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4647         * lyx_main.h: move out #include "errorlist.h".
4648         * lyxfunc.h: move out #include "FuncStatus.h".
4649         * lyxtext: move out #include "lyxcursor.h".
4650         * paragraph_pimpl.h: move out #include "counters.h".
4651
4652 2003-09-03  Angus Leeming  <leeming@lyx.org>
4653
4654         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4655         preamble_snippets list, enabling us to add snippets to the preamble
4656         only if the snippet was not there already.
4657
4658 2003-09-04  Angus Leeming  <leeming@lyx.org>
4659
4660         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4661
4662 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4665         update
4666
4667 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4668
4669         * BranchList.C: point fix, earlier forgotten
4670
4671 2003-09-02  Angus Leeming  <leeming@lyx.org>
4672
4673         * box.C (contains): renamed from 'contained' after a fantastic
4674         amount of hot air.
4675
4676 2003-09-02  John Levon  <levon@movementarian.org>
4677
4678         * BufferView.C:
4679         * lyxcursor.h:
4680         * lyxcursor.C:
4681         * lyxfunc.C:
4682         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4683
4684 2003-09-02  John Levon  <levon@movementarian.org>
4685
4686         * text2.C: simplification of cursorEnd(), including partial
4687         fix for bug 1376
4688
4689 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4690
4691         * buffer.C (readFile): add a space
4692
4693 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4694
4695         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4696
4697 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * buffer.C (readFile): new function, take a filename and a
4700         ParagraphList::iterator
4701         (readFile): adjust
4702         (readFile): adjust, make it private. don't use setStream, make
4703         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4704         always contain the filename.
4705
4706         * BufferView.C (insertLyXFile): simplify and make it work for
4707         gzipped files.
4708
4709 2003-08-30  John Levon  <levon@movementarian.org>
4710
4711         * Makefile.am: fix dist (from Kayvan)
4712
4713 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * most files: change to use const Buffer refs
4716
4717 2003-08-27  André Pönitz  <poenitz@gmx.net>
4718
4719         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4720         on top of ownerPar().
4721
4722 2003-08-27  John Levon  <levon@movementarian.org>
4723
4724         * funcrequest.C: properly initialise POD members
4725
4726 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4727
4728         * lyxtext.h (top_y): move top_y from here
4729         * text.C:
4730         * text2.C:
4731         * text3.C:
4732         * BufferView.[Ch]:
4733         * BufferView_pimpl.[Ch]: to here
4734         * frontends/screen.C:
4735         * insets/insettabular.C:
4736         * insets/insettext.C: adjust
4737         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4738
4739 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4740
4741         * BufferView.[Ch]:
4742         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4743
4744 2003-08-26  André Pönitz  <poenitz@gmx.net>
4745
4746         * paragraph_func.[Ch] (outerPar): new function
4747
4748         * paragraph.C:
4749         * paragraph_funcs.C:
4750         * paragraph_funcs.h:
4751         * paragraph_pimpl.C:
4752         * text2.C: remove Inset::par_owner
4753
4754 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4755
4756         * lyxrow_funcs.C:
4757         * lyxtext.h:
4758         * text.C:
4759         * text2.C: eliminates the needFullRow/display() stuff
4760         altogether, putting the logic in metrics/draw in the insets.
4761
4762 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4763
4764         * text2.C (redoParagraphInternal, redoParagraphs):
4765         * text.C (redoParagraph): add a call to updateRowPositions at the
4766         end of each 'metrics-like' call. Remove all others.
4767         (getRow): remove the 'y-computing' version.
4768         (getRowNearY): do not compute nor return the real y. Solve the
4769         'y < 0' problem and simplify.
4770
4771 2003-08-22  Angus Leeming  <leeming@lyx.org>
4772
4773         * *.[Ch]: clean-up of licence and author blurbs.
4774         Also move config.h out of a few .h files and into a few .C files.
4775
4776 2003-08-22  André Pönitz  <poenitz@gmx.net>
4777
4778         * lyxrow.[Ch]: add x_ and *fill_ members
4779
4780         * lyxtext.h:
4781         * text.C:
4782         * rowpainter.C:
4783         * text2.C: adjust/remove prepareToPrint() calls
4784
4785 2003-08-22  André Pönitz  <poenitz@gmx.net>
4786
4787         * lyxrow.[Ch]: add  end_ member
4788
4789         * lyxrow_funcs.C: use LyXRow::end_
4790
4791         * lyxtext.h (singleWidth): add LyXFont parameter
4792
4793         * rowpainter.C:
4794         * text2.C: adjust LyXText::singleWidth() calls
4795
4796         * text.C (redoParagraph): simplify row breaking logic
4797
4798
4799 2003-08-19  André Pönitz  <poenitz@gmx.net>
4800
4801         * funcrequest.C: initialize button_ member
4802
4803         * text3.C:
4804         * rowpainter.[Ch]: interface consolidation
4805
4806 2003-08-18  André Pönitz  <poenitz@gmx.net>
4807
4808         * BufferView.C:
4809         * BufferView_pimpl.C:
4810         * lyxfind.C:
4811         * paragraph_funcs.C:
4812         * rowpainter.C:
4813         * text3.C: remove LyXScreen::draw() and fitCursor calls
4814
4815         * BranchList.h: remove spurious semicolons
4816
4817         * MenuBackend.C: fix branchlist related crash
4818
4819 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4820
4821         * BranchList.[Ch]:
4822         * InsetList.[Ch]:
4823         * LColor.[Ch]:
4824         * LyXAction.C:
4825         * Makefile.am:
4826         * MenuBackend.[Ch]:
4827         * bufferparams.[Ch]:
4828         * factory.C:
4829         * lfuns.h:
4830         * lyxfunc.C:
4831         * text3.C: implements the 'branch inset'
4832         idea. This allows the output of various versions of a document
4833         from a single source version, selectively outputing or suppressing
4834         output of parts of the text.
4835         This implementation contains a 'branch list editor' in a separate
4836         tab of the document settings dialog. Branches are user definable
4837         and have a "display colour" to distinguish them on-screen.
4838
4839         ColorHandler was somewhat cleaned up.
4840         (1) make possible a dynamically growing LColor list by allowing
4841         the graphic context cache to grow along (vector);
4842         (2) eliminate an IMHO unnecessary step in colour allocation.
4843
4844 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4845
4846         * BufferView_pimpl.C: compile fix
4847
4848 2003-08-15  André Pönitz  <poenitz@gmx.net>
4849
4850         * rowpainter.C: remove extra metrics calls
4851
4852         * lyxtext.h: merge the two constructors into a single one,
4853           pass reference to owner's par list
4854
4855         * BufferView_pimpl.C:
4856         * text.C:
4857         * text2.C: adjust
4858
4859 2003-08-15  André Pönitz  <poenitz@gmx.net>
4860
4861         * lyxrow_funcs.[Ch]:
4862         * lyxtext.h:
4863         * paragraph.h:
4864         * paragraph_funcs.C:
4865         * rowpainter.C:
4866         * text.C:
4867         * text2.C:
4868         * text3.C:
4869         * text_funcs.C: split LyXText::rowlist_ into individual
4870         Paragraph::rows_ chunks
4871
4872         * BufferView.[Ch]:
4873         * BufferView_pimpl.[Ch]:
4874         * lyxfind.C:
4875         * lyxtext.h:
4876         * text3.C: remove toggleSelection()
4877
4878 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4879
4880         * bufferlist.C: beautify two alerts (shorter text of buttons)
4881         * buffer.C: Remove redundant ' ' from message
4882         * tabular.h:
4883         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4884         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4885         rename VALIGN_CENTER to VALIGN_MIDDLE
4886
4887 2003-08-11  André Pönitz  <poenitz@gmx.net>
4888
4889         * lyxtext.h (getPar):
4890         * text.C: new function
4891
4892 2003-08-11  André Pönitz  <poenitz@gmx.net>
4893
4894         * Makefile.am:
4895         * tracer.[Ch]: remove unneeded files
4896
4897         * InsetList.[Ch]: remove resizeInsetsLyXText()
4898
4899         * lyxtext.h:
4900         * text.C:
4901         * text2.C:
4902         * text3.C: merge insertParagraphs() and appendParagraph()
4903         remove breakAgain(), update()
4904
4905         * BufferView_pimpl.[Ch]:
4906         * bufferview_funcs.[Ch]:
4907         * lyxfunc.C:
4908         * paragraph.[Ch]:
4909         * rowpainter.C:
4910         * tabular.C: adjust after text & InsetList changes.
4911
4912 2003-08-08  André Pönitz  <poenitz@gmx.net>
4913
4914         * text.C (insertChar, backspace): replace rowlist fiddling
4915         with rebreak of full par
4916
4917         * lyxtext.h:
4918         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4919         checkParagraph, updateInset): removed
4920
4921 2003-08-07  André Pönitz  <poenitz@gmx.net>
4922
4923         * paragraph.C:
4924         * text3.C: merge some LFUN handlers, remove dead code
4925
4926 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4927
4928         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4929
4930 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4931
4932         * text2.C (DEPM): fix part of bug 1255 and 1256
4933
4934 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4935
4936         * BufferView_pimpl.C (workAreaDispatch): change to use
4937         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4938         that are no mouse related.
4939
4940 2003-08-05  André Pönitz  <poenitz@gmx.net>
4941
4942         * BufferView.[Ch]:
4943         * BufferView_pimpl.[Ch]:
4944         * bufferview_funcs.C:
4945         * text2.C:
4946         * text3.C: rip out "deep update"
4947
4948         * textcursor.[Ch] (last_sel_cursor): remove unused member
4949
4950 2003-08-04  André Pönitz  <poenitz@gmx.net>
4951
4952         * BufferView.[Ch]:
4953         * BufferView_pimpl.[Ch]:
4954         * ParagraphParameters.C:
4955         * bufferview_funcs.C:
4956         * lyx_cb.C:
4957         * lyxfind.C:
4958         * lyxfunc.C:
4959         * text.C:
4960         * text2.C:
4961         * text3.C: replace "complicated" BufferView::update(...) calls with
4962         simpler ones.
4963
4964         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4965
4966 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4967
4968         * Makefile.am (lyx_SOURCES): add paper.h
4969
4970 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4971
4972         * Makefile.am: move things around so that both lyx-qt and
4973         lyx-xforms can be built (according to --with-frontend). Then lyx
4974         is a symbolic link to lyx-[firstfrontend]
4975
4976 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4977
4978         * Always use std::endl with lyxerr
4979
4980 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4981
4982         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4983
4984 2003-08-01  André Pönitz  <poenitz@gmx.net>
4985
4986         * BufferView.[Ch]:
4987         * BufferView_pimpl.[Ch]:
4988         * lyxfunc.C:
4989         * text3.C: merge BufferView::repaint() and BufferView::update()
4990
4991 2003-08-01  José Matos  <jamatos@lyx.org>
4992
4993         * buffer.[Ch]: file_format is no longer a buffer data element.
4994
4995 2003-08-01  André Pönitz  <poenitz@gmx.net>
4996
4997         * BufferView.C:
4998         * lyxtext.h:
4999         * text.C:
5000         * text2.C: make redoParagraph more independent of current cursor
5001
5002         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5003         * text.C:
5004         * text2.C: remove unneeded members
5005
5006 2003-07-30  André Pönitz  <poenitz@gmx.net>
5007
5008         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5009
5010         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5011           create a single function...
5012
5013         * paragraph_funcs.C (moveItem): ... here.
5014
5015         * text.C:
5016           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5017
5018 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5019
5020         * LColor.[Ch]: Add comment and greyedout logical colors.
5021
5022 2003-07-30  André Pönitz  <poenitz@gmx.net>
5023
5024         * tabular.C: don't use Assert too heavily. This crashes where it
5025           shouldn't
5026
5027 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5030         is disabled (bug 1232)
5031
5032 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5033
5034         * factory.C: limited 'arg' scope
5035
5036 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5037
5038         * factory.C: fixed Note submenu issues
5039
5040 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5041
5042         * factory.C: submenu for Note/Comment/Greyedout
5043
5044 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5045
5046         * lyx_main.C (LyX):
5047         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5048
5049 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5050
5051         * LaTeXFeatures.C:
5052         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5053         greyedout. Patch provided by Jürgen Spitzmüller.
5054
5055 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5056
5057         * kbmap.C (read): fix error message when reading bind files
5058
5059 2003-07-29  Angus Leeming  <leeming@lyx.org>
5060
5061         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5062         certainly does not do what it purports to do. I am doing it, and
5063         us, a favour by killing it.
5064
5065 2003-07-28  José Matos  <jamatos@lyx.org>
5066
5067         * buffer.C (readBody, do_writeFile):
5068         * paragraph.C(readParagraph): \end_document replaces \the_end.
5069
5070 2003-07-29  André Pönitz  <poenitz@gmx.net>
5071
5072         * BufferView.[Ch]:
5073         * BufferView_pimpl.[Ch]:
5074         * lyxfunc.C:
5075         * text2.C:
5076         * text3.C:
5077         * textcursor.[Ch]: remove toggleToggle & Co
5078
5079 2003-07-28  José Matos  <jamatos@fep.up.pt>
5080
5081         * buffer.C (readParagraph):
5082         * params_func (readParToken, readParagraph):
5083         * paragraph.C (write): \layout -> \begin_layout.
5084
5085 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * lyxlex_pimpl.C (setFile): clean up slightly.
5088
5089         * bufferparams.h: add compressed var
5090
5091         * buffer_funcs.C (readFile): adjust for LyXLex change
5092         (newFile): ditto + simplify
5093
5094         * buffer.C (writeFile): handle writing of compressed files
5095
5096         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5097         Check if the file is compressed and set a bufferparm if so.
5098
5099         * Makefile.am (lyx_LDADD): remove explicit -lz
5100
5101 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5102
5103         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5104         makeDocBookFile): put the real LyX version in the first line of
5105         the file
5106
5107         * version.h:
5108         * version.C.in: remove lyx_docversion
5109
5110         * tabular.C (write_attribute): add a template-based version to
5111         write enums properly
5112
5113 2003-07-28  André Pönitz  <poenitz@gmx.net>
5114
5115         * lyxtext.h:
5116         * text.C:
5117         * text2.C:
5118         * text3.C: use doubles again for x-coordinates. They are needed.
5119
5120 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * messages.C (getLocaleDir): use lyx_localedir()
5123
5124         * lyxlex_pimpl.C (setFile): compress stuff
5125
5126         * buffer.C (writeFile): add some compression stuff
5127         (do_writeFile): new func, dont call expliti close... will this
5128         breake anything?
5129
5130         * Makefile.am (lyx_LDADD): add -lz
5131
5132 2003-07-28  José Matos  <jamatos@fep.up.pt>
5133
5134         * buffer.C: increment file format.
5135         * paragraph_funcs (readParagraph, readParToken):
5136         * paragraph.C (readParagraph): add \end_layout.
5137
5138 2003-07-27  Angus Leeming  <leeming@lyx.org>
5139
5140         * Makefile.am: remove special casing for configure-time setting of
5141         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5142
5143         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5144         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5145
5146 2003-07-26  André Pönitz  <poenitz@gmx.net>
5147
5148         * paragraph_func.[Ch]:
5149         * paragraph.C (realizeFont): inline it whereever it is used
5150
5151         * rowpainter.C:
5152         * text.C:
5153         * text2.C:
5154         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5155
5156
5157 2003-07-26  André Pönitz  <poenitz@gmx.net>
5158
5159         *       lyxtext.h:
5160         * text.C:
5161         * text2.C: get rid of LyXText::need_break_row
5162
5163 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * toc.[Ch]: put namespace toc inside namespace lyx
5166
5167         * MenuBackend.C (expandToc2): adjust for lyx::toc
5168         (expandToc): ditto
5169
5170         * lyxfunc.C (dispatch): adjust for lyx::find
5171
5172         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5173         lyx::find instead. Reorganize a bit.
5174         (LyXReplace): rename to replace
5175         (LyXFind): rename to find
5176
5177         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5178         (dispatch): ditto
5179
5180 2003-07-26  André Pönitz  <poenitz@gmx.net>
5181
5182         * text.C (setHeightOfRow): restrict scope of temporary variable
5183
5184         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5185           code (never has been used?)
5186
5187 2003-07-27  Asger Alstrup  <alstrup@local>
5188
5189         * text.C (fill): Optimise algorithm to exploit that we can reuse
5190         the LyXFont for many characters.
5191         (setHeightOfRow): Same thing.
5192         (rowBreakPoint): Same thing.
5193
5194 2003-07-26  Asger Alstrup  <alstrup@local>
5195
5196         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5197
5198         * text.C (singleWidth): Spurious font copying in hot-spot
5199         singleWidth avoided. Reorder tests for arabic for efficiency.
5200
5201         * text.C (fill): handle empty paragraphs better.
5202
5203 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5204
5205         * ispell.C:
5206         * encoding.h: add includes
5207
5208         * lyxrc.C: remove reading of bind files
5209
5210         * lyx_main.C (init): setup bindings and menus only if we have a
5211         gui.
5212
5213         * kbmap.C (read): new method. Do the actual reading of bind
5214         files.
5215
5216         * converter.C (dvipdfm_options):
5217         * bufferparams.C:
5218         * lyxrc.C (read):
5219         (output): adapt PAPER_* enums.
5220
5221         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5222
5223         * bufferparams.h: remove paper-related enums from there
5224
5225         * paper.h: New file. A trivial header file to hold paper-related
5226         enums. It should later expand to contain many paper-related
5227         horrors access.
5228
5229         * lyxrc.C: declare extern displayTranslator
5230
5231 2003-07-27  José Matos  <jamatos@fep.up.pt>
5232
5233         * tabular.[Ch] (linuxdoc): add support for tables and figures
5234         (linuxdoc).
5235
5236 2003-07-27  José Matos  <jamatos@fep.up.pt>
5237
5238         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5239         consistency in both functions.
5240         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5241
5242 2003-07-26  Asger Alstrup  <alstrup@local>
5243
5244         * rowpainter.C (paintRows): Change algorithm to work directly on
5245         the insets rather than asking every character in the document
5246         whether its an inset.
5247
5248 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5249
5250         * buffer.C (openFileWrite): factorize some code
5251
5252 2003-07-26  Angus Leeming  <leeming@lyx.org>
5253
5254         * lyx_cb.C:
5255         * lyx_main.[Ch]: replace occurances of system_tempdir with
5256         os::getTmpDir().
5257
5258 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * rename Inset to InsetOld
5261
5262 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5263
5264         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5265         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5266         which I think is a bit clearer. EDIT is gone, since it was
5267         premature optimisation, and broken for mathed anyway.
5268         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5269         with cursor positioning in insets as well (math insets still do not
5270         work, but that's a different story anyway.) It mysteriously
5271         crashes sometimes with undo in the first paragraph, but I'm fairly
5272         confident that this is a compiler bug.
5273
5274 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * paragraph.C (Paragraph): adjust for new clone return type
5277         (operator==): ditto
5278         (copyIntoMinibuffer): ditto
5279
5280 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5281
5282         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5283         by not having a special case, and always doing a full rebreak of
5284         the document after undo.
5285
5286 2003-07-23  Angus Leeming  <leeming@lyx.org>
5287
5288         * factory.C (createInset): InsetExternal::setParams now takes a
5289         Buffer const * arg.
5290
5291 2003-07-23  Angus Leeming  <leeming@lyx.org>
5292
5293         * factory.C (createInset): changed interface to the external and
5294         graphics mailers' string2params functions.
5295
5296 2003-07-23  Angus Leeming  <leeming@lyx.org>
5297
5298         * factory.C (createInset): pass a
5299         Buffer const * parameter to InsetExternalMailer's string2params.
5300
5301 2003-07-22  John Levon  <levon@movementarian.org>
5302
5303         * Thesaurus.h: include the right aiksaurus header
5304
5305 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5306
5307         * MenuBackend.C (expand): check menu shortcuts unconditionally
5308
5309 2003-07-21  Angus Leeming  <leeming@lyx.org>
5310
5311         * factory.C (createInset): pass a
5312         buffer_path parameter to InsetGraphicsMailer's string2params.
5313
5314 2003-07-21  Angus Leeming  <leeming@lyx.org>
5315
5316         * BufferView_pimpl.C (buffer):
5317         * buffer.C (d-tor):
5318         * lyx_main.C (LyX):
5319         * lyxfunc.C (dispatch):
5320         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5321         rather than the grfx shortcut.
5322
5323 2003-07-21  André Pönitz  <poenitz@gmx.net>
5324
5325         * rowpainter.C: remove unused variables
5326
5327         * tabular_funcs.C:
5328         * tabular_funcs.h: move to tabular.C
5329         * Makefile.am: adjust
5330
5331         * tabular.[Ch]: basic optical cleaning
5332
5333         * author.h: pass references, not values
5334
5335 2003-07-18  André Pönitz  <poenitz@gmx.net>
5336
5337         * lyxtext.h:
5338         * metricsinfo.C:
5339         * metricsinfo.h:
5340         * rowpainter.C:
5341         * text.C:
5342         * text2.C:
5343         * text3.C: two-phase drawing for InsetText and InsetTabular
5344         some float -> int changes.
5345
5346 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5347
5348         * lyx_main.C: fix the fix
5349
5350 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5351
5352         * lyx_main.C: fix a crash in batch mode if no files specified
5353         * converter.C: ws
5354
5355 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * format.[Ch] (papersize): moved to BufferParams
5358         * converter.[Ch] (dvips_options): moved to BufferParams
5359         (dvipdfm_options): moved to anon namespace
5360         * bufferparams.[Ch]: added above functions.
5361
5362 2003-07-17  André Pönitz  <poenitz@gmx.net>
5363
5364         * lyxtext.h:
5365         * rowpainter.C:
5366         * text2.C: don't call inset->update() anymore
5367
5368         * metricsinfo.[Ch]: add convenience constructor
5369
5370 2003-07-16  André Pönitz  <poenitz@gmx.net>
5371
5372         * lyxcursor.[Ch]:
5373         * lyxfunc.[Ch]:
5374         * text.C:
5375         * text2.C: replace the LyXCursor::irow_ member with
5376          on-demand computation of the value
5377
5378 2003-07-16  John Levon  <levon@movementarian.org>
5379
5380         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5381
5382 2003-07-15  André Pönitz  <poenitz@gmx.net>
5383
5384         * text.C:
5385         * text2.C: remove no more needed refresh_row
5386
5387 2003-07-15  André Pönitz  <poenitz@gmx.net>
5388
5389         * lyxtext.h:
5390         * rowpainter.C:
5391         * text2.C:
5392         * text3.C: refresh_status tristate -> need_update bool
5393
5394 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5395
5396         * lyxtext.h (init): remove reinit argument (act as if always true)
5397         * text2.C: adjust to that
5398
5399 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5400
5401         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5402         * text3.C: use it to delete selections in some cases
5403         (bugs 441, 673, 702, 954).
5404
5405 2003-07-14  André Pönitz  <poenitz@gmx.net>
5406
5407         * rowpainter.[Ch]: reduce interface
5408
5409 2003-07-14  André Pönitz  <poenitz@gmx.net>
5410
5411         * BufferView_pimpl.C:
5412         * text2.C: adjust after removing unused BufferView * argument
5413
5414 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5415
5416         * text2.C (init): fix a crash fired on resize
5417
5418 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5419
5420         * buffer.[Ch]: added new closing signal
5421         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5422         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5423         BufferView::Pimpl via the closing the signal
5424
5425 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5426
5427         * buffer.[Ch]: take out all bv-related from buffer
5428         * BufferView.C:
5429         * BufferView_pimpl.[Ch]: connect to new signals
5430         * CutAndPaste.C: removed useless asserts
5431         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5432         * lyxvc.[Ch]:
5433         * vc-backend.[Ch]:
5434         * lyxfunc.C: moved view-related funciontality from vc here
5435         * paragraph.C: removed outdated comments
5436         * text.C: ws
5437
5438 2003-07-10  André Pönitz  <poenitz@gmx.net>
5439
5440         * BufferView_pimpl.C:
5441         * tabular.h:
5442         * tabular_funcs.C:
5443         * text.C:
5444         * text2.C: remove InsetText::InnerCache, clean up consequences
5445
5446 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5447
5448         * ispell.C: fix two typos in error messages
5449
5450 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5451
5452         * Extend Note inset to other forms of annotation like Comment
5453         and Greyedout. Right button click gives dialog.
5454
5455         Files modified or added (+):
5456
5457         * insetnote.[Ch]
5458         * FormNote.[Ch]      +
5459         * ControlNote.[Ch]   +
5460         * form_note.fd       +
5461         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5462         frontends/controllers
5463         * xforms/Dialogs.C
5464         * factory.C
5465
5466 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5467
5468         * aspell.C: add missing namespace lyx::support
5469
5470 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5471
5472         * BufferView.[Ch] (newFile): Add
5473         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5474         * LaTeX.[Ch] (message): added this signal and use it
5475         * buffer.[Ch] (busy, message): added these signals and use them
5476         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5477         * converter.C:
5478         * exporter.C:
5479         * format.C:
5480         * importer.C: use buffer signals instead of direct bv calling
5481         * lyx_cb.[Ch] (ShowMessage): removed
5482         * lyx_main.C:
5483         * lyxfunc.C:
5484         * paragraph_funcs.C:
5485         * text2.C: use buffer signals
5486
5487 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * introduce namespace lyx::graphics
5490
5491 2003-07-02  André Pönitz  <poenitz@gmx.net>
5492
5493         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5494
5495 2003-07-01  André Pönitz  <poenitz@gmx.net>
5496
5497         * text.C:
5498         * text2.C:
5499         * text3.C:
5500         * text_funcs.[Ch]:
5501         * textcursor.h:
5502         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5503           text*.C to text_func.C
5504
5505 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * introduce namespace lyx::support
5508
5509 2003-06-30  André Pönitz  <poenitz@gmx.net>
5510
5511         * Chktex.C:
5512         * funcrequest.C:
5513         * lyxtext.h:
5514         * text.C: re-enable --with-included-string
5515
5516 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * textcursor.C: add <config.h>
5519
5520         * text.C (getWord): remove const from word_location arg
5521
5522         * lyxvc.C (getLogFile): fix const type order
5523
5524         * lyxtext.h: remove const from word_location arg, add arg name
5525
5526         * lyxlayout.h: currect type on labeltype.
5527
5528         * importer.C: correct \file
5529
5530         * converter.C (intToFormat): use std:: on ret val, ws changes
5531
5532         * bufferlist.h: correct \file
5533
5534         * buffer.C (makeLinuxDocFile): fix const type order
5535         (makeDocBookFile): ditto
5536         (fillWithBibKeys): use std:: on stdlib args.
5537
5538         * CutAndPaste.C: fix authors.
5539         (availableSelections): use std:: on return vector
5540
5541 2003-06-27  André Pönitz  <poenitz@gmx.net>
5542
5543         * BufferView_pimpl.C:
5544         * bufferview_funcs.C:
5545         * lyxcursor.C:
5546         * lyxcursor.h:
5547         * lyxfunc.C:
5548         * lyxtext.h:
5549         * rowpainter.C:
5550         * text.C:
5551         * text2.C:
5552         * text3.C: remove LyXCursor::row_ member
5553
5554         * lyxtext.h:
5555         * text.C: rename fullRebreak() to partialRebreak() and implement
5556           a fullRebreak() that really bereks fully
5557
5558         * textcursor.h: new struct for cursor-related data
5559
5560 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5561
5562         * lyx_main.C (LyX): get full path of document loaded on the
5563         command line
5564
5565 2003-06-26  André Pönitz  <poenitz@gmx.net>
5566
5567         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5568           remove unused/broken operator>,<,>=.
5569
5570         *       text.C: remove only use of broken operator<= in an Assert().
5571
5572 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5573
5574         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5575         moved errorlist_.clear to showErrorList
5576
5577 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5578
5579         * converter.C (scanLog, runLaTeX):
5580         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5581         move the bv->showErrorList call to the callers
5582         * lyxfunc.C: i.e. here...
5583         * text2.C: and here
5584         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5585         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5586         namespace, the second to...
5587         * buffer_funcs (BufferFormat, parseErrors): added
5588         * errorlist.C (ErrorList(TeXErrors const &)): removed
5589
5590 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5591
5592         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5593
5594 2003-06-24  "Garst R. Reese" <reese@isn.net>
5595
5596         * debug.C: fix typo
5597
5598 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5599
5600         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5601
5602         * version.C.in: change docversion to 1.4
5603
5604 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5605
5606         * buffer.C: fix a bug just introduced
5607
5608 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5609
5610         * buffer.[Ch]: added the parseError signal and use it, removed
5611         sgmlError
5612         * BufferView.[Ch] (addError): moved to ...
5613         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5614         to the Buffer::parseError signal to catch (guess what) parse errors
5615         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5616
5617 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5618
5619         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5620         ability to create a buffer and to return an existing one from
5621         the list. Moved these functions to...
5622         * buffer_funcs.[Ch]: added
5623         * BufferView.[Ch] (loadLyXFile): added
5624         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5625         job removed from bufferlist::loadLyXFile.
5626         * buffer.C (setReadOnly): make it work without view
5627         (i.e added an if (users))
5628
5629 2003-06-19  Angus Leeming  <leeming@lyx.org>
5630
5631         * lfuns.h:
5632         * LyXAction.C (init):
5633         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5634         with LFUN_DIALOG_SHOW <name> <data>.
5635
5636 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5637
5638         * CutAndPaste.C (availableSelections): small compilation fix for
5639         ancient (gcc 2.9x) compilers
5640
5641 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5642
5643         * text3.C (cursorNext): add tmp var
5644
5645         * text2.C (updateCounters): for function calling out of for clause
5646         (replaceSelectionWithString): ditto
5647         (insertStringAsParagraphs): ditto
5648         (getColumnNearX): add tmp var
5649         (setCursorFromCoordinates): add tmp var
5650         (cursorDownParagraph): add tmp var
5651         (deleteEmptyParagraphMechanism): add tmp var
5652
5653         * text.C (insertChar): add tmp var
5654
5655         * rowpainter.C (paintDepthBar): add tmp var
5656
5657         * CutAndPaste.C (availableSelections): potentially check all
5658         paragraphs in a cut to fill the shown strings.
5659
5660 2003-06-18  André Pönitz  <poenitz@gmx.net>
5661
5662         * kbmap.[Ch]: use vector<> instead of list<>
5663
5664 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5665
5666         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5667         pasteSelection with index
5668
5669         * text2.C (pasteSelection): modify, call pasteSelection with index
5670
5671         * paragraph.C (asString): reimplement version with no interval to
5672         call the one with interval.
5673
5674         * lyxtext.h: add index arg to pasteSelection
5675
5676         * MenuBackend.C (MenuItem): handle PasteRecent
5677         (Menu::read::Menutags): add md_pasterecent
5678         (read): handle it
5679         (expandPasteRecent): new function
5680         (expand): use it
5681
5682         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5683
5684         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5685         the limited stack
5686         (availableSelections): new function
5687
5688 2003-06-17  Angus Leeming  <leeming@lyx.org>
5689
5690         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5691
5692 2003-06-17  Angus Leeming  <leeming@lyx.org>
5693
5694         * lfuns.h:
5695         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5696
5697         * lyxfunc.C (dispatch): invoke it.
5698
5699 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5700
5701         * iterators.C (operator++, ParPosition): reintroduce some
5702         const_cast for the benefit of older compilers.
5703
5704 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5705
5706         * text3.C (dispatch): do not modify clipboard when doing
5707         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5708         LFUN_DELETE_SKIP on a selection selection
5709
5710 2003-06-16  André Pönitz  <poenitz@gmx.net>
5711
5712         * BufferView.C:
5713         * buffer.C:
5714         * buffer.h:
5715         * paragraph.C:
5716         * tabular.[Ch]: IU of clone() and getLabelList();
5717
5718 2003-06-13  André Pönitz  <poenitz@gmx.net>
5719
5720         * tabular.h: compactification
5721
5722 2003-06-12  André Pönitz  <poenitz@gmx.net>
5723
5724         * tabular.C:
5725         * tabular.h:
5726         * tabular_funcs.h: some renaming plus whitespace
5727
5728 2003-06-12  André Pönitz  <poenitz@gmx.net>
5729
5730         * BufferView.C:
5731         * BufferView_pimpl.C:
5732         * CutAndPaste.C:
5733         * buffer.C:
5734         * iterators.[Ch]:
5735         * lyxfunc.C:
5736         * text.C:
5737         * toc.C: Return a Paragraph & for ParIterator::operator*()
5738
5739 2003-06-11  John Levon  <levon@movementarian.org>
5740
5741         * lyx_main.C:
5742         * ToolbarBackend.h:
5743         * ToolbarBackend.C: add "Toolbars" section and
5744         put the flags there
5745
5746 2003-06-10  Angus Leeming  <leeming@lyx.org>
5747
5748         * lfuns.h:
5749         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5750
5751         * lyxfunc.C (dispatch): invoke it.
5752
5753 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * main.C: protect <ios> with HAVE_IOS
5756         (main): protect sync_with_stdio with HAVE_IOS
5757
5758 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5759
5760         * text2.C (cutSelection): adjust
5761         (pasteSelection): adjust
5762
5763         * messages.C: handle get of empty string
5764
5765         * main.C (main): use sync_with_stdio(false)
5766
5767         * lyxfunc.C (dispatch): adjust
5768
5769         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5770         (WriteAs): remove unneeded BufferView arg.
5771
5772         * bufferparams.h: use correct types on papersize, papersize2 and
5773         paperpackage.
5774
5775         * bufferparams.C (readToken): adjust for type
5776         (writeLaTeX): add missing cases to switch.
5777
5778         * bufferlist.C (quitWriteBuffer): adjust
5779         (close): adjust
5780
5781         * buffer.C (asciiParagraph): remove some commented code.
5782
5783         * CutAndPaste.C: remove current_view extern variable.
5784         (cutSelection): add BufferParams arg.
5785         (eraseSelection): add BufferParams arg.
5786         (pasteSelection): add Buffer const & arg
5787
5788 2003-06-07  John Levon  <levon@movementarian.org>
5789
5790         * buffer.C:
5791         * paragraph_funcs.C:
5792         * paragraph_pimpl.C:
5793         * text.C:
5794         * text2.C:
5795         * paragraph.h:
5796         * paragraph.C: allow InsetERT to freely space lines,
5797         and some consolidation of code
5798
5799 2003-06-06  José Matos  <jamatos@fep.up.pt>
5800
5801         * buffer.C (makeDocBookFile): fix bug #821
5802
5803 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5804
5805         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5806
5807 2003-06-04  Angus Leeming  <leeming@lyx.org>
5808
5809         * buffer.C: bump format to 224.
5810
5811 2003-06-05  André Pönitz  <poenitz@gmx.net>
5812
5813         * text2.C (redoParagraphs): remove two const_cast<>
5814
5815 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5816
5817         * ParagraphList.h: remove last remnants of NO_STD_LIST
5818
5819 2003-06-03  Angus Leeming  <leeming@lyx.org>
5820
5821         * factory.C (createInset): small change to the way InsetExternal's params
5822         are set.
5823
5824 2003-06-04  André Pönitz  <poenitz@gmx.net>
5825
5826         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5827
5828         * paragraph_pimpl.h:
5829         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5830
5831         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5832
5833         * undo_funcs.C: make some simple cases of undo work again
5834
5835 2003-06-03  John Levon  <levon@movementarian.org>
5836
5837         * ispell.C: HPUX doesn't have sys/select.h
5838         (from Albert Chin)
5839
5840 2003-06-03  John Levon  <levon@movementarian.org>
5841
5842         * CutAndPaste.C: update tabular and include inset
5843         buffer references
5844
5845         * buffer.h:
5846         * paragraph.h:
5847         * paragraph.C: remove owningBuffer(), don't pass Buffer
5848         to clone()
5849
5850         * factory.C: insetGraphicsParams changed
5851
5852 2003-06-02  John Levon  <levon@movementarian.org>
5853
5854         * LyXAction.C:
5855         * factory.C:
5856         * lfuns.h:
5857         * lyxfunc.C:
5858         * text3.C: remove insetparent
5859
5860 2003-06-02  John Levon  <levon@movementarian.org>
5861
5862         * buffer.h:
5863         * buffer.C: fix inset_iterator.end(), move out of line
5864         (bug 1149)
5865
5866 2003-06-01  John Levon  <levon@movementarian.org>
5867
5868         * text3.C: use a proper cut/paste when doing inset
5869         insert (from Jürgen Spitzmüller)
5870
5871 2003-06-01  John Levon  <levon@movementarian.org>
5872
5873         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5874
5875 2003-05-30  André Pönitz  <poenitz@gmx.net>
5876
5877         * rowpainter.C: unify second drawing phase
5878
5879 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5880
5881         * trans_mgr.C: remove one case of current_view
5882
5883         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5884
5885         * paragraph_funcs.h: remove paragraph.h include
5886
5887         * paragraph.h: delete NO_STD_LIST stuff
5888
5889         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5890
5891         * buffer.h: remove paragraph.h include
5892
5893         * ParagraphList.C: delete file
5894
5895         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5896
5897         * toc.C (getTocList): adjust
5898
5899         * paragraph_pimpl.C (validate): adjust
5900
5901         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5902
5903         * paragraph.C (Paragraph): adjust
5904         (getPositionOfInset): use const_iterator, adjust
5905         (bibitem): use const_iterator, adjust
5906         (setInsetOwner): adjust
5907
5908         * iterators.C (operator++): adjust
5909
5910         * InsetList.[Ch]: Replace selfmade iterator with standard
5911         vector::iterator also introduce const_iterator. Remove getPos,
5912         getInset and setInset from InsetTable. Adjust accordingly.
5913
5914         * BufferView.C (lockInset): adjust
5915         (ChangeInsets): adjust
5916
5917         * tabular.[Ch]: delete commented same_id functions
5918
5919 2003-05-28  John Levon  <levon@movementarian.org>
5920
5921         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5922
5923 2003-05-28  André Pönitz  <poenitz@gmx.net>
5924
5925         * metricsinfo.[Ch]: remove 'fullredraw' member
5926
5927 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5928
5929         * lyxtextclass.C (operator): remove caching.
5930
5931 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * text3.C: adjust
5934
5935         * text2.C (cursorBottom): adjust
5936         (setCounter): use ParagraphList::find, adjust
5937
5938         * text.C (workWidth): use ParagraphList::find, adjust
5939
5940         * lyxcursor.C (LyXCursor): adjust
5941
5942         * buffer.C (inset_iterator): adjust
5943
5944         * ParagraphList.h: make iterator(value_type) private, make
5945         ParagraphList a friend of iterator.
5946
5947         * ParagraphList.C (find): new function
5948
5949         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5950
5951 2003-05-27  André Pönitz  <poenitz@gmx.net>
5952
5953         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5954
5955 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5956
5957         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5958
5959 2003-05-26  John Levon  <levon@movementarian.org>
5960
5961         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5962
5963 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5964
5965         * remove same_id from function signatures, adjust.
5966
5967 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5970
5971         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5972
5973         * paragraph.C (Paragraph): get rid of same_ids parameter
5974
5975         * ParagraphList.C (insert): adjust
5976         (push_back): adjust
5977
5978 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * paragraph_funcs.C (breakParagraph): adjust
5981         (breakParagraphConservative): adjust
5982
5983         * buffer.C (readParagraph): adjust
5984
5985         * ParagraphList.C (insert): take a reference instead of a pointer
5986         (insert): adjust
5987
5988         * paragraph.[Ch] (id): new function
5989
5990         * bufferlist.C (newFile): adjust
5991
5992         * ParagraphList.C (ParagraphList): adjust
5993         (assign): adjust
5994         (push_back): take a reference instead of a pointer.
5995
5996         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5997
5998         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5999         instead.
6000
6001         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6002         set else use old code.
6003
6004         * ParagraphList.C: remove all NO_NEXT code and only compile this
6005         code of NO_STD_LIST is set.
6006
6007 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6008
6009         * BufferView_pimpl.C:
6010         * TextCache.C:
6011         * TextCache.h:
6012         * bufferlist.C:
6013         * errorlist.h:
6014         * format.C:
6015         * format.h:
6016         * graph.C:
6017         * lyxfunc.C:
6018         * lyxrc.C:
6019         * graphics/GraphicsConverter.C:
6020         * graphics/PreviewLoader.C: header adjustment
6021
6022 2003-05-23  Angus Leeming  <leeming@lyx.org>
6023
6024         * LaTeXFeatures.[Ch] (useBabel): new method.
6025         * bufferparams.C (writeLaTeX): use it.
6026
6027 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * ParagraphList.h (set): remove unused function.
6030
6031 2003-05-23  André Pönitz  <poenitz@gmx.net>
6032
6033         * BufferView.C:
6034         * BufferView_pimpl.C:
6035         * buffer.C:
6036         * buffer.h:
6037         * lyxfunc.C:
6038         * undo_funcs.C: setUndo reworked
6039
6040         * iterators.[Ch]: add access to topmost ParagraphList
6041
6042         * lyxtext.[Ch] (workWidth): add a const
6043
6044 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6045
6046         * texrow.[Ch] (increasePos): remove function
6047         * exporter.C (export): removed unused var and outdated comment
6048
6049 2003-05-23  Angus Leeming  <leeming@lyx.org>
6050
6051         * latexrunparams.h: rename fragile as moving_arg.
6052         * paragraph.C (simpleTeXOnePar): ditto.
6053         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6054
6055 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6058         (createUndo): ditto
6059         (textUndoOrRedo): comment out a currently unused var.
6060
6061         * paragraph.h (NO_NEXT): enable NO_NEXT
6062
6063         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6064
6065         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6066
6067         * exporter.C (Export): adjust for removeAutoInsets removal.
6068
6069         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6070
6071         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6072
6073         * BufferView.[Ch] (removeAutoInsets): delete function
6074
6075 2003-05-22  Angus Leeming  <leeming@lyx.org>
6076
6077         * latexrunparams.h: add a free_spacing variable.
6078
6079         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6080         to pass moving_arg, as the data is stored in runparams.fragile.
6081
6082         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6083         to Inset::latexOptional or to simpleTeXOnePar.
6084
6085         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6086         free_spacing arg to Inset::latexOptional.
6087
6088         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6089         free_spacing arg.
6090
6091 2003-05-22  Angus Leeming  <leeming@lyx.org>
6092
6093         * latexrunparams.h: add fragile and use_babel variables.
6094
6095         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6096         * buffer.C (makeLaTeXFile): store this returned value in
6097         runparams.use_babel, thus passing it to the inset::latex methods.
6098
6099         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6100         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6101
6102         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6103         longer has a fragile arg, as it is stored in runparams.fragile.
6104
6105         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6106         moving_arg parameter as the data is stored in runparams.fragile.
6107
6108         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6109         a fragile parameter as the data is stored in runparams.fragile.
6110
6111 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6114
6115 2003-05-22  Angus Leeming  <leeming@lyx.org>
6116
6117         * latexrunparams.h: add a 'bool nice' which defaults to false.
6118
6119         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6120         now encapsulated within runparams.
6121
6122         * bufferlist.C (updateIncludedTeXfiles):
6123         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6124
6125 2003-05-22  Angus Leeming  <leeming@lyx.org>
6126
6127         * latexrunparams.h: new file containing struct LatexRunParams.
6128         * Makefile.am: add new file.
6129
6130         * LaTeX.[Ch] (c-tor, run):
6131         * buffer.[Ch] (makeLaTeXFile):
6132         * bufferlist.[Ch] (updateIncludedTeXfiles):
6133         * converter.C (convert, scanLog):
6134         * converter.[Ch] (runLaTeX):
6135         * exporter.C (Export):
6136         * paragraph.[Ch] (simpleTeXOnePar):
6137         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6138         * paragraph_funcs.[Ch] (latexParagraphs):
6139         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6140         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6141         pass around a LatexRunParams parameter.
6142
6143 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * paragraph.[Ch]: remove unused constructor
6146
6147         * ParagraphList.C (erase): new function, taking two iterators
6148
6149 2003-05-22  André Pönitz  <poenitz@gmx.net>
6150
6151         * undo_funcs.C: remove duplicated code
6152
6153         * iterator.[Ch]: operator=
6154
6155 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6156
6157         * tabular.C (SetMultiColumn): ws changes
6158
6159         * rowpainter.C (paintFirst): get rid of a ->previous
6160
6161         * lyx_cb.C (getPossibleLabel): parlist simplification
6162
6163         * BufferView.C (ChangeInsets): simplify slightly.
6164
6165 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6166
6167         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6168         * lfuns.h: new LFUN_SPACE
6169         * lyxfunc.C: protected space has a new lfun
6170         * paragraph_funcs.C: read new space insets
6171         * text3.C:
6172         * factory.C: handle new space insets
6173
6174 2003-05-22  André Pönitz  <poenitz@gmx.net>
6175
6176         * BufferView.C:
6177         * BufferView_pimpl.C:
6178         * buffer.[Ch]:
6179         * lyxfunc.C:
6180         * undo_funcs.C: return a ParIterator from getParFromID.
6181
6182         * iterators.[Ch]: add two const's
6183
6184 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * toc.C (getTocList): adjust
6187
6188         * iterators.[Ch]: rework for parlist
6189
6190         * buffer.C (par_iterator_begin): adjust
6191         (par_iterator_end): adjust
6192
6193         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6194
6195         * BufferView.C (removeAutoInsets): adjust
6196         (ChangeInsets): adjust
6197
6198 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * text.C (top_y): fix bug 1110
6201
6202 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6203
6204         * errorlist.[Ch]: added
6205         * buffer.C:
6206         * BufferView.[Ch]:
6207         * BufferView_pimpl.C:
6208         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6209         instead
6210
6211 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * Makefile.am: ensure that lyx is relinked upon changes to the
6214         various "convenience" libs.
6215
6216 2003-05-20  Angus Leeming  <leeming@lyx.org>
6217
6218         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6219         files are compiled in alphabetical order again.
6220
6221         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6222
6223 2003-05-19  Angus Leeming  <leeming@lyx.org>
6224
6225         * gettext.[Ch]: remove "char const * _(char const *)".
6226
6227 2003-05-19  André Pönitz  <poenitz@gmx.net>
6228
6229         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6230
6231         * Makefile.am:
6232         * BufferView.C:
6233         * DepTable.h:
6234         * LaTeXFeatures.C:
6235         * buffer.C:
6236         * lyxfont.C:
6237         * lyxlex.h:
6238         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6239
6240 2003-05-19  André Pönitz  <poenitz@gmx.net>
6241
6242         * buffer.C:
6243         * lyxlayout.[Ch]:
6244         * lyxtextclass.[Ch]:
6245         * paragraph.C:
6246         * paragraph_funcs.[Ch]:
6247         * text2.C:
6248         * text3.C: more insetenv work
6249
6250 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6251
6252         * ParagraphParameters.C (params2string): small bug fixed
6253
6254 2003-05-16  André Pönitz  <poenitz@gmx.net>
6255
6256         * debug.C:
6257         * bufferview_funcs.C: patch from Kornel Benko to prevent
6258           crash when _(...) is called twice in a statement
6259
6260 2003-05-16  André Pönitz  <poenitz@gmx.net>
6261
6262         * BufferView.C:
6263         * lyxfunc.C:
6264         * text.C:
6265         * text2.C:
6266         * text3.C:
6267         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6268
6269 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6270
6271         * lyx_main.C (init): remove spurious static_cast
6272
6273 2003-05-14  André Pönitz  <poenitz@gmx.net>
6274
6275         * BufferView.C: fix format string
6276
6277 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6278
6279         * BufferView.[Ch] (insertErrors): removed
6280         * BufferView.[Ch] (showErrorList): added
6281         * buffer.C (runChkTeX):
6282         * converter.C (scanLog): call showErrorList instead of inserterrors
6283
6284 2003-05-13  André Pönitz  <poenitz@gmx.net>
6285
6286         * BufferView_pimpl.C:
6287         * buffer.C:
6288         * bufferview_func.C:
6289         * MenuBackend.C:
6290         * lyxfunc.C:
6291         * lyxrc.C:
6292         * tex-accent.C:
6293         * text3.C:
6294         * toc.C:
6295         * tabular_funcs.h: tostr() from its own header
6296
6297         * ParagraphParameters.C:
6298         * ToolbarBackend.C:
6299         * bufferparams.C:
6300         * format.C:
6301         * lyxlex_pimpl.C:
6302         * text3.C: STRCONV()
6303
6304 2003-05-12  André Pönitz  <poenitz@gmx.net>
6305
6306         * BufferView.C:
6307         * BufferView_pimpl.C:
6308         * CutAndPaste.C:
6309         * LaTeX.C:
6310         * LaTeXFeatures.C:
6311         * ParagraphParameters.C:
6312         * buffer.C:
6313         * bufferlist.C:
6314         * bufferparams.C:
6315         * bufferview_funcs.C:
6316         * converter.C:
6317         * counters.C:
6318         * debug.C:
6319         * exporter.C:
6320         * format.C:
6321         * importer.C:
6322         * lyx_cb.C:
6323         * lyx_main.C:
6324         * lyxfont.C:
6325         * lyxfunc.C:
6326         * lyxvc.C:
6327         * paragraph.C:
6328         * paragraph_funcs.C:
6329         * tabular.C:
6330         * tabular_funcs.C:
6331         * text2.C:
6332         * text3.C:  boost::format -> bformat  all over the place
6333
6334
6335 2003-05-09  André Pönitz  <poenitz@gmx.net>
6336
6337         * LColor.[Ch]: Pimpl the #include <map> away
6338
6339 2003-05-09  John Levon  <levon@movementarian.org>
6340
6341         * bufferlist.C: never remove emergency saves
6342
6343 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6344
6345         * Makefile.am: better lib building
6346
6347 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6350         instead.
6351         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6352         (simpleTeXSpecialChars): adjust
6353         (simpleTeXSpecialChars): adjust
6354         * paragraph.C (simpleTeXOnePar): adjust
6355         * buffer.C (makeLaTeXFile): adjust
6356
6357         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6358
6359         * text2.C (changeDepth): parlist cleanup
6360         (getColumnNearX): ditto
6361
6362         * rowpainter.C (getLabelFont): parlist cleanup
6363
6364         * bufferlist.C (newFile): parlist cleanup
6365
6366         * CutAndPaste.C (eraseSelection): parlist cleanup
6367
6368         * BufferView_pimpl.C (trackChanges): parlist cleanup
6369         (dispatch): ditto
6370
6371         * BufferView.C (lockInset): parlist cleanup.
6372         (ChangeInsets): ditto
6373
6374 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6375
6376         * CutAndPaste.h: Update file header.
6377
6378         * CutAndPaste.C: Update file header.
6379         Store the parts cut out of the Document in a limited_stack.
6380         (copySelection): adjust
6381         (pasteSelection): new function, takes the index in the limited stack.
6382         (nrOfParagraphs): adjust
6383         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6384         simplify error inset insertion.
6385         (checkPastePossible): adjust
6386
6387 2003-05-06  John Levon  <levon@movementarian.org>
6388
6389         * text2.C: don't cast wrap inset to float
6390
6391 2003-05-05  André Pönitz  <poenitz@gmx.net>
6392
6393         * iterator.C:
6394         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6395
6396         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6397           few naked Paragraph *.
6398
6399 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6400
6401         * bufferparams.C: Output warning if a document with missing
6402         TeX document class is loaded
6403         * exporter.C: Disable TeX exports if the document class is missing
6404         * lyxtextclass.C:
6405         * lyxtextclass.h:
6406         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6407         isTeXClassAvailable()
6408
6409 2003-05-03  John Levon  <levon@movementarian.org>
6410
6411         * BufferView.h:
6412         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6413         explicit cursor show/hide
6414
6415         * BufferView_pimpl.h:
6416         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6417         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6418
6419         * lyxfunc.C: hide cursor before dispatching.
6420
6421         * lyx_cb.C:
6422         * lyxfind.C:
6423         * text.C:
6424         * text3.C: remove explicit cursor hides
6425
6426 2003-05-02  André Pönitz  <poenitz@gmx.net>
6427
6428         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6429
6430         * undo_funcs.C:
6431         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6432           linked lists
6433
6434         * text2.C: tiny whitespace
6435
6436 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * undo_funcs.C: almost only ws changes.
6439
6440         * ParagraphList.C (splice): just return if pl is empty.
6441
6442 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6443
6444         * ParagraphList.C (splice): new function.
6445
6446         * CutAndPaste.C (pasteSelection): use it
6447
6448 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * CutAndPaste.C (pasteSelection): remove the last next and
6451         previous from this file.
6452
6453 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * CutAndPaste.C (pasteSelection): more clean up, user proper
6456         ParagraphList functions for pasteing.
6457
6458         * ParagraphList.C (insert): new function, three arg insert
6459
6460 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * ParagraphList.C (insert): new function, three arg insert
6463
6464         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6465         not on paragraphs.
6466
6467 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6468
6469         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6470
6471 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6474
6475 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6478         (copySelection): clean up a bit.
6479         (pasteSelection): use make_pair
6480
6481         * ParagraphList.C (ParagraphList): implement copy constructor
6482         (operator=): implement, base on copy constructor.
6483         (assign): new func
6484
6485         * paragraph.C (erase): return a bool
6486
6487         * paragraph_pimpl.C (erasePos): remove function, move contents...
6488         (erase): ... here. Return a bool.
6489         (erase): call erase instead of erasePos.
6490
6491 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6492
6493         * ParagraphList.h: define PitPosPair
6494         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6495         ParagraphList, fix a bug on pasting multiple pars
6496         * text2.C: change interface to C&P
6497
6498 2003-04-30  André Pönitz  <poenitz@gmx.net>
6499
6500         * undo_func.C: revert part of yesterday's patch 2
6501
6502 2003-04-30  John Levon  <levon@movementarian.org>
6503
6504         * LColor.C: s/tabular/table/
6505
6506 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * text3.C (dispatch): do not convert iterator -> pointer
6509         * undo_funcs.C (setCursorParUndo): ditto
6510         * text_funcs.C (transposeChars): ditto
6511
6512         * text2.C (setLayout): ws changes only
6513
6514         * text.C (breakParagraph): do not convert iterator -> pointer
6515         (insertChar): ditto
6516         (acceptChange): ditto
6517         (rejectChange): ditto
6518         (changeCase): ditto
6519         (Delete): ditto
6520         (backspace): ditto
6521
6522         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6523         pointer
6524
6525 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6526
6527         * text3.C (gotoInset): YABG (yet another bad getChar)
6528
6529 2003-04-29  André Pönitz  <poenitz@gmx.net>
6530
6531         * paragraph.h: make operator= private unimplemented as long as
6532           it is unusable
6533
6534         * ParagraphList.C: whitespace
6535
6536         * paragraph.[Ch]:
6537         * paragraph_pimpl.[Ch]:
6538         * paragraph_funcs.C:
6539         * CutAndPaste.C:
6540         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6541
6542         * text2.C:
6543           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6544
6545 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6546
6547         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6548         * paragraph.[Ch] (erase):
6549         * paragraph_pimpl.[Ch] (erase): change return type and value
6550         * text2.C (cutSelection): some rework
6551
6552 2003-04-28  John Levon  <levon@movementarian.org>
6553
6554         * bufferlist.C: changes for unsaved changes dialog
6555
6556 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * bufferlist.C (newFile): set language (messages_) for new
6559         documents also.
6560
6561         * buffer.C (readFile): ws changes only.
6562
6563 2003-04-28  André Pönitz  <poenitz@gmx.net>
6564
6565         * undo_funcs.C:
6566         * lyxfunc.C:
6567         * buffer.[Ch]:
6568         * BufferView_pimpl.C:
6569         * BufferView.C: getParFromID related ParagraphList::iterator changes
6570
6571 2003-04-28  André Pönitz  <poenitz@gmx.net>
6572
6573         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6574           Changes
6575
6576 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6577
6578         * messages.C: remove one more localedir class variable.
6579
6580 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * messages.C (getLocaleDir): singleton generation function
6583         (Pimpl): use it.
6584         (Messages): add a default constructor.
6585
6586         * main.C (main): do not setup localedir here, do not call
6587         gettext_init.
6588
6589         * gettext.C (_): use it.
6590         (gettext_init): delete funciton
6591
6592 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * gettext.C (getLyXMessages): new singleton generating function.
6595
6596         * buffer.C (updateDocLang): adjust
6597
6598         * Makefile.am (messages.o): add target
6599         (main.o): remove target
6600
6601 2003-04-27  John Levon  <levon@movementarian.org>
6602
6603         * bufferlist.C:
6604         * lyx_cb.C:
6605         * lyxfunc.C:
6606         * lyxvc.C: specify cancel button in Alert::prompt
6607
6608 2003-04-26  John Levon  <levon@movementarian.org>
6609
6610         * text3.C:
6611         * lyxfunc.C:
6612         * lfuns.h:
6613         * LyXAction.C: add LFUN_INSET_SETTINGS
6614
6615         * lyxfunc.C: don't enable tabular-feature when there's
6616         just any locking inset
6617
6618 2003-04-26  John Levon  <levon@movementarian.org>
6619
6620         * bufferlist.C: re-add Cancel to buffer close question
6621
6622         * lyxfunc.C: fix import UI a bit
6623
6624 2003-04-25  John Levon  <levon@movementarian.org>
6625
6626         * gettext.C: remove the broken asserts for now
6627
6628 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * messages.C: make case where setlocale cannot comply work better.
6631
6632         * buffer.C (updateDocLang): new function
6633         (changeLanguage): use it
6634         (readFile): use it
6635
6636         * text2.C (setCounter): use B_ a bit.
6637
6638         * lyxlayout.C (Read): be sure to trim the label strings.
6639
6640         * messages.C (Messages): fix typo in comment
6641
6642         * buffer.C (readFile): set message_ after file is loaded.
6643         (makeDocBookFile): remove double return
6644         (changeLanguage): reset message_ upon language change.
6645         (B_): new func, use this to get translated buffer strings.
6646
6647         * main.C: add myself and Jean Marc as authors.
6648
6649 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6650
6651         * messages.[hC]: pimplify Messages, and three different pimpls to be
6652         used in different circumstances.
6653
6654         * gettext.[Ch]: change for use with new message code.
6655
6656 2003-04-24 André Pönitz <poenitz@gmx.net>
6657
6658         * factory.C: support for eqref
6659
6660 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * messages.[Ch]: add missing char
6663
6664         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6665
6666         * messages.[Ch]: New files
6667
6668 2003-04-18  John Levon  <levon@movementarian.org>
6669
6670         * BufferView.h:
6671         * BufferView.C:
6672         * BufferView_pimpl.C:
6673         * lfuns.h:
6674         * LyXAction.C:
6675         * lyxtext.h:
6676         * text2.C: remove layout-copy/paste (bug 778)
6677
6678 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6679
6680         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6681
6682 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6683
6684         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6685         if they succeed. Act accordingly.
6686
6687 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6688
6689         * text2.C (setCharFont): adjust
6690         (setCounter): adjust
6691         (insertStringAsLines): adjust
6692
6693         * text.C (leftMargin): adjust
6694         (setHeightOfRow): adjust
6695
6696         * rowpainter.C (paintFirst): adjust
6697         (paintLast): adjust
6698
6699         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6700         (outerHook): ditto
6701         (isFirstInSequence): ditto
6702         (getEndLabel): ditto
6703         (outerFont): adjust
6704
6705         * paragraph.C (getParLanguage): comment out some hard stuff.
6706
6707         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6708         (sgmlError): ditto
6709         (simpleDocBookOnePar): ditto
6710         (makeDocBookFile): use ParagraphList::iterator
6711
6712         * CutAndPaste.C (pasteSelection): adjust
6713
6714 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * text2.C (getFont): adjust
6717         (getLayoutFont): adjust
6718         (getLabelFont): adjust
6719
6720         * paragraph_funcs.C (TeXOnePar): adjust
6721
6722         * buffer.C (simpleLinuxDocOnePar): adjust
6723         (simpleDocBookOnePar): adjust
6724
6725         * CutAndPaste.C (pasteSelection): adjust
6726
6727         * BufferView.C (getEncoding): adjust
6728
6729         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6730
6731 2003-04-16  John Levon  <levon@movementarian.org>
6732
6733         * lyxfind.C: use parlist stuff for search/changes
6734
6735 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6736
6737         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6738
6739         * text2.C (deleteEmptyParagraphMechanism): adjust
6740
6741         * text2.[Ch] (ownerParagraph): delete func (both of them
6742
6743 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6746
6747 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6748
6749         * ParagraphList.C: prepare for NO_NEXT
6750
6751 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * text2.C (getFont): adjust
6754         (getLayoutFont): adjust
6755         (getLabelFont): adjust
6756
6757         * paragraph.C (getFont): adjust
6758         (getLabelFont): adjust
6759         (getLayoutFont): adjust
6760
6761         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6762
6763 2003-04-15  John Levon  <levon@movementarian.org>
6764
6765         From Angus Leeming
6766
6767         * lyx_main.C: handle Include in .ui files
6768
6769 2003-04-15  John Levon  <levon@movementarian.org>
6770
6771         * MenuBackend.C: make the doc files length shorter
6772
6773         * ToolbarBackend.h:
6774         * ToolbarBackend.C: handle toolbar placement flags,
6775         Minibuffer
6776
6777 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6780         adjust
6781
6782         * paragraph_funcs.C (TeXOnePar): adjust
6783
6784         * paragraph.C (getLabelFont): add outerfont arg, adjust
6785         (getLayoutFont): ditto
6786         (simpleTeXOnePar): adjust
6787
6788         * paragraph_pimpl.C (realizeFont): delete func
6789
6790 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6791
6792         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6793         row argument, constify cur argument.
6794
6795 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * text2.C (getFont): adjust
6798         (getLayoutFont): adjust
6799         (getLabelFont): adjust
6800
6801         * paragraph_funcs.C (TeXOnePar): adjust
6802         (outerFont): new func...
6803         (realizeFont): ...moved out from here, changed this to facilitate
6804         transition
6805
6806         * paragraph.C (getFont): take outerfont as arg, adjust
6807         (simpleTeXOnePar): add outerfont arg, adjust
6808
6809         * buffer.C (simpleLinuxDocOnePar): adjust
6810         (simpleDocBookOnePar): adjust
6811
6812         * CutAndPaste.C (pasteSelection): adjust
6813
6814         * BufferView.C (getEncoding): adjust
6815
6816 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * text2.C (setCharFont): adjust
6819         (setCounter): adjust
6820
6821         * text.C (leftMargin): adjust
6822         (setHeightOfRow): adjust
6823
6824         * rowpainter.C (paintFirst): adjust
6825         (paintLast): adjust
6826
6827         * paragraph_pimpl.C (realizeFont): adjust
6828
6829         * paragraph.C (isFirstInSequence): move from here...
6830         * paragraph_funcs.C (isFirstInSequence): ...to here
6831
6832         * paragraph.C (outerHook): move from here...
6833         * paragraph_funcs.C (outerHook): ...to here
6834
6835         * paragraph.C (depthHook): move from here...
6836         * paragraph_funcs.C (depthHook): ...to here
6837
6838         * paragraph.C (getEndLabel): move from here...
6839         * paragraph_funcs.C (getEndLabel): ...to here
6840
6841         * text2.C (realizeFont): move from here...
6842         * paragraph_funcs.C (realizeFont): ...to here
6843
6844 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6847
6848 2003-04-14  Angus Leeming  <leeming@lyx.org>
6849
6850         * LColor.[Ch]: scrap LColor mathcursor.
6851
6852 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * lyxlex.[Ch] (text): delete function
6855         * trans.C (Load): adjust
6856         * paragraph_funcs.C (readParToken): adjust
6857
6858 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6861         vector<char> instead of a char[].
6862
6863         * lyxlex_pimpl.C (getString): adjust
6864         (next): adjust
6865         (lex): use getString
6866         (eatLine): adjust
6867         (nextToken): adjust
6868
6869         * lyxlex.C (text): use pimpl_->getString()
6870         (getBool): ditto
6871         (findToken): ditto
6872
6873 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6876         (makeFontEntriesLayoutSpecific): temp var for par.size()
6877         (setLayout): temp var for ownerParagraphs().end()
6878         (fullRebreak): temp var for rows().end()
6879         (selectionAsString): temp var for boost::next(startpit), realize
6880         that the while really is a regular for loop.
6881         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6882         setCursor in one place.
6883         (setParagraph): temp vr for ownerParagraphs().end()
6884         (updateCounters): make the while loop a for loop
6885         (cutSelection): temp var for ownerParagraphs().end()
6886         (updateInset): make the do {} while() a regular for loop
6887         (getCursorX): use temp vars
6888         (setCurrentFont): use temp vars
6889         (getColumnNearX): use temp vars
6890
6891 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6892
6893         * text.C (transformChar): use temp var for getChar
6894         (computeBidiTables): use temp var for row->par()
6895         (fill): move temp vars for row->par() and pit->layout() earlier in
6896         the function.
6897         (labelFill): use temp var for row->par()
6898         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6899         asc and desc, realize that pit never changes and that firstpit is
6900         just a duplicate and not needed. Exchange rit->par() with pit in a
6901         lot of places.
6902         (breakAgain): use a temp var for boost::next(rit)
6903         (breakAgainOneRow): ditto
6904         (breakParagraph): use a temp var for rows().begin()
6905         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6906         (cursorRightOneWord): use temp var for cursor.par() and
6907         cursor.pos(), remove usage of tmpcursor.
6908         (cursorLeftOneWord): use temp var for cursor.par() and
6909         cursor.pos() only set cur at end of function.
6910
6911 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * text.C, text2.C: exchange all usage of Paragraph::next with
6914         boost::next(ParagraphList::iterator)
6915
6916         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6917
6918         * text2.C (cursorTop): simplify implementation
6919         (cursorBottom): ditto
6920         (setParagraph): use ParagraphList::iterator
6921         (setCurrentFont): adjust
6922         (getColumnNearX): adjust
6923         (cursorRight): adjust
6924         (cursorLeft): remove usage of Paragraph::previous
6925         (cursorUpParagraph): ditto
6926         (deleteEmptyParagraphMechanism): slight cleanup
6927
6928         * text.C (isBoundary): take a Paragraph const & instead of a
6929         pointer as arg.
6930         (addressBreakPoint): ditto
6931         (leftMargin): remove usage of Paragraph::previous.
6932         (setHeightOfRow): ditto
6933         (cursorLeftOneWord): ditto
6934         (selectNextWordToSpellcheck): ditto
6935         (Delete): ditto
6936         (backspace): ditto
6937         (breakParagraph): remove one usage of Paragraph::next
6938         (redoParagraph): ditto
6939         (acceptChange): ditto
6940         (insertChar): adjust
6941         (rowBreakPoint): adjust
6942
6943         * bufferview_funcs.C (toggleAndShow): adjust
6944
6945 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6946
6947         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6948         methods to access it.
6949         * lyxtext.h:
6950         * text.C: Added updateRowPositions to compute all row positions.
6951         Make top_y and getRowNearY() to use the cached y position
6952
6953 2003-04-11  John Levon  <levon@movementarian.org>
6954
6955         * text.C (rowBreakPoint): reintroduce the labelEnd
6956         checks, code copied from the row fill stuff. Deep voodoo.
6957
6958         * text.C (fill): add a comment and debugging for the
6959         next poor soul.
6960
6961 2003-04-11  John Levon  <levon@movementarian.org>
6962
6963         * text.C: make sure fullrow insets get wrapped to the next line,
6964         even when they're in a manual label
6965
6966 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6967
6968         * text2.C (insertParagraph): make it take ParagraphList::iterator
6969         as arg.
6970         (setLayout): make it return ParagraphList::iterator
6971         (redoParagraphs): ditto
6972         (setCounter): ditto
6973         (checkParagraph): ditto
6974
6975         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6976
6977         * text2.C: adjust several funcs.
6978         (realizeFont): take a ParagraphList::iterator as arg.
6979         (getLayoutFont): ditto
6980         (getLabelFont): ditto
6981         (setCharFont): ditto
6982
6983         * text.C: adjust several funcs.
6984
6985 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6986
6987         * text.C (selectNextWordToSpellcheck): don't accidentally
6988         skip insets
6989
6990 2003-04-10  John Levon  <levon@movementarian.org>
6991
6992         * ToolbarBackend.C (getIcon): special handling for
6993         LFUN_MATH_DELIM
6994
6995 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6996
6997         * text2.C (cursorRight): a getChar assert fixed
6998
6999 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * text2.C (getFont): change to take a ParagraphList::iterator
7002         instead of Paragraph*
7003         Adjust several functions.
7004
7005         * text.C (transformChar): change to take a ParagraphList::iterator
7006         instead of Paragraph*
7007         (singleWidth): ditto
7008         Adjust several functions.
7009
7010         * rowpainter.C: adjust several functions
7011         * rowpainter.h:store a ParagraphList::iterator and not a
7012         Paragraph&.
7013
7014
7015 2003-04-09  John Levon  <levon@movementarian.org>
7016
7017         * lyxfunc.C:
7018         * lfuns.h:
7019         * LyXAction.h:
7020         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7021         and the "help" bits as well
7022
7023 2003-04-09  John Levon  <levon@movementarian.org>
7024
7025         * ToolbarBackend.h:
7026         * ToolbarBackend.C: allow multiple toolbars
7027
7028 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7029
7030         * undo_funcs.C (setCursorParUndo): adjust
7031
7032         * text_funcs.C (transposeChars): adjust
7033
7034         * text3.C (gotoNextInset): adjust
7035         (dispatch): adjust
7036
7037         * text2.C (setLayout): adjust
7038         (changeDepth): adjust
7039         (setFont): adjust
7040         (redoParagraphs): adjust
7041         (selectionAsString): adjust
7042         (setParagraph): adjust
7043         (insertInset): adjust
7044         (cutSelection): adjust
7045         (copySelection): adjust
7046         (pasteSelection): adjust
7047         (insertStringAsLines): adjust
7048         (updateInset): adjust
7049         (setCursor): change to take a ParagraphList::iterator parameter
7050         (setCursorIntern): change to take a ParagraphList::iterator parameter
7051         (setCurrentFont): adjust
7052         (cursorLeft): adjust
7053         (cursorRight): adjust
7054         (deleteEmptyParagraphMechanism): adjust
7055
7056         * text.C (breakParagraph): adjust
7057         (insertChar): adjust
7058         (acceptChange): adjust
7059         (rejectChange): adjust
7060         (selectNextWordToSpellcheck): adjust
7061         (changeCase): adjust
7062         (Delete): adjust
7063         (backspace): adjust
7064
7065         * lyxfind.C (SearchForward): adjust
7066         (SearchBackward): adjust
7067         (nextChange): adjust
7068
7069         * lyxcursor.C (par): adjust
7070
7071         * lyxcursor.h: store a ParagraphList::iterator instead of a
7072         Paragraph*
7073
7074         * lyx_cb.C (getPossibleLabel): adjust
7075
7076         * bufferview_funcs.C (toggleAndShow): adjust
7077
7078         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7079         (dispatch): adjust
7080
7081         * BufferView.C (removeAutoInsets): adjust
7082         (lockedInsetStoreUndo): adjust
7083
7084 2003-04-09  John Levon  <levon@movementarian.org>
7085
7086         * ToolbarBackend.C: try icon without argument
7087         if with argument fails
7088
7089 2003-04-08  John Levon  <levon@movementarian.org>
7090
7091         * ToolbarBackend.h:
7092         * ToolbarBackend.C: add getIcon(), handle tooltip,
7093         and change from "Icon" to "Item".
7094
7095 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * BufferView.C (lockInset): another bad getchar crunched
7098
7099 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7100
7101         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7102         again)
7103
7104 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7105
7106         * lyxfind.C (searchForward, searchBackwards): bug 782
7107
7108 2003-04-07  John Levon  <levon@movementarian.org>
7109
7110         * paragraph.C: remove dead comment
7111
7112         * text.C: remove troublesome depth-fiddling code
7113         in leftMargin() and rightMargin() (bug 1017)
7114
7115         * text.C: fix breaking of rows in nested lists
7116         (bug 1004)
7117
7118         * text2.C (updateCounters): fix up depth values
7119         (bug 1013)
7120
7121 2003-04-07  John Levon  <levon@movementarian.org>
7122
7123         * BufferView_pimpl.C: clear message when doc finishes resizing,
7124         and after a mouse event
7125
7126         * lyxfunc.C: clear message after exiting inset
7127
7128 2003-04-07  John Levon  <levon@movementarian.org>
7129
7130         * bufferview_funcs.C: show math status not outside
7131         status in the statusbar
7132
7133 2003-04-07  John Levon  <levon@movementarian.org>
7134
7135         * lyxfunc.C: note status changed after a depth change
7136
7137 2003-04-04  Angus Leeming  <leeming@lyx.org>
7138
7139         * LaTeX.h: move AuxInfo operator==, != out of line.
7140         Remove LaTeX virtual destructor; nothing derives from it.
7141         Move operator()() out of public area and rename it startscript().
7142         Change protected for private.
7143
7144 2003-04-04  Angus Leeming  <leeming@lyx.org>
7145
7146         * lyxfunc.C:
7147         * text2.C: remove unneeded #includes.
7148
7149 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7150
7151         * text2.C (dEPM): fix the heigth of the next row
7152
7153 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * text.C: squashed an invalid getChar requester + some ws changes
7156
7157 2003-04-03  John Levon  <levon@movementarian.org>
7158
7159         * bufferview_funcs.h:
7160         * bufferview_funcs.C:
7161         * lyxfunc.C:
7162         * lyxtext.h:
7163         * text2.C: make getStatus work for the env depth lfuns
7164
7165 2003-04-03  John Levon  <levon@movementarian.org>
7166
7167         * bufferview_funcs.h:
7168         * bufferview_funcs.C:
7169         * lyxfunc.C:
7170         * lyxtext.h:
7171         * text2.C: parlistize decDepth(), by merging it with incDepth()
7172
7173 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7174
7175         * lyxrow.h: store a ParagraphList::iterator instead of a
7176         Paragraph* and adjust other class functions to suit.
7177
7178         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7179         above.
7180
7181 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7182
7183         * text2.C (setCursor): do not anchor to cursor row for the time being
7184
7185 2003-04-02  John Levon  <levon@movementarian.org>
7186
7187         * LyXAction.C:
7188         * lfuns.h:
7189         * lyx_main.C:
7190         * lyxtext.h:
7191         * text.C:
7192         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7193
7194 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * paragraph.h: make ParagraphList and ParagraphList::iterator
7197         friends of Paragraph.
7198
7199         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7200
7201         * ParagraphList.C: Use the private next_ and previous_ from
7202         Paragraph.
7203
7204 2003-04-01  John Levon  <levon@movementarian.org>
7205
7206         * ToolbarBackend.h:
7207         * ToolbarBackend.C:
7208         * Makefile.am: rename, remove defaults gunk
7209
7210         * MenuBackend.h:
7211         * MenuBackend.C: remove defaults gunk
7212
7213         * Languages.h:
7214         * Languages.C: remove defaults gunk
7215
7216         * lyx_main.h:
7217         * lyx_main.C: error out if files couldn't be found.
7218
7219 2003-04-02  John Levon  <levon@movementarian.org>
7220
7221         * text2.C: make incDepth() use parlist
7222
7223 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * undo_funcs.C (firstUndoParagraph): adjust
7226
7227         * text3.C (gotoInset): adjust
7228         (dispatch): adjust, and rewrite loop.
7229
7230         * text2.C (init): adjust, and rewrite loop.
7231         (redoParagraphs): adjust
7232         (updateInset): adjust, and rewrite loop.
7233         (deleteEmptyParagraphMechanism): adjust
7234
7235         * tabular.C (LyXTabular): adjust
7236         (SetMultiColumn): adjust
7237         (TeXRow): adjust
7238
7239         * lyxtext.[Ch] (ownerParagraph): delete function
7240         (ownerParagraphs): new function returns a ParagraphList.
7241
7242         * BufferView.C (removeAutoInsets): adjust
7243         (insertErrors): adjust
7244         (setCursorFromRow): adjust
7245
7246 2003-04-01  Angus Leeming  <leeming@lyx.org>
7247
7248         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7249         in the frontends.
7250
7251 2003-04-02  John Levon  <levon@movementarian.org>
7252
7253         * lyxtext.h:
7254         * text.C:
7255         * Makefile.am:
7256         * text_funcs.h:
7257         * text_funcs.C: make transposeChars a free function
7258
7259         * lyxrow_funcs.C: remove wrong comment
7260
7261 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * lyxtext.h: adjust
7264         * rowpainter.C: adjust
7265         * text.C: adjust
7266         * text2.C: adjust
7267         * text3.C: adjust
7268
7269         * lyxrow_funcs. [Ch]: new files
7270
7271         * lyxrow.[Ch]: remove next and previous pointers
7272         (next,previous): remove accessor functions
7273         (isParEnd): move to lyxrow_funcs
7274         (lastPos): move to lyxrow_funcs
7275         (nextRowIsAllInset): move to lyxrow_funcs
7276         (lastPrintablePos): move to lyxrow_funcs
7277         (numberOfSeparators): move to lyxrow_funcs
7278         (numberOfHfills): move to lyxrow_funcs
7279         (numberOfLabelHfills): move to lyxrow_funcs
7280         (hfillExpansion): move to lyxrow_funcs
7281
7282         * lyxfunc.C: adjust
7283
7284         * bufferview_funcs.C (toggleAndShow): adjust
7285
7286         * RowList.h: Remove class RowList from file leave just a
7287         std::list<Row>.
7288
7289         * RowList.C: delete file
7290
7291         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7292         and lyxrow_funcs.h
7293
7294 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * text3.C (cursorPrevious): adjust
7297         (cursorNext): adjust
7298         (dispatch): adjust
7299
7300         * text2.C (redoHeightOfParagraph): adjust
7301         (redoDrawingOfParagraph): adjust
7302         (setCursor): adjust
7303
7304         * text.C (breakParagraph): adjust
7305         (insertChar): adjust
7306         (backspace): adjust
7307
7308         * rowpainter.C (RowPainter): adjust
7309         (leftMargin): simplify and adjust
7310         (most rowpainter functions): adjust.
7311
7312         * rowpainter.h: store the row as RowList::iterator not as Row*
7313
7314         * lyxcursor.C (row): taka RowList::iterator as arg
7315         (irow): ditto
7316
7317         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7318         of Row*.
7319
7320 2003-04-01  Angus Leeming  <leeming@lyx.org>
7321
7322         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7323         stuff like bool Bool.
7324
7325 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7326
7327         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7328         rewrite a loop
7329
7330 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7333         RowList::iterator.
7334
7335         * lyxtext.h (rows): drop one version and leve a const variant that
7336         returns a RowList::iterator.
7337
7338 2003-03-31  Angus Leeming  <leeming@lyx.org>
7339
7340         * text.C (fill): ensure that the signature is the same as that in the
7341         header file.
7342
7343 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7344
7345         * text2.C (redoParagraphs): adjust
7346         (updateCounters): adjust
7347         (checkParagraph): adjust
7348         (getColumnNearX): adjust and reformat a bit.
7349
7350         * text.C (top_y): adjust
7351         (workWidth): adjust
7352         (leftMargin): adjust
7353         (prepareToPrint): adjust
7354         (getRow): adjust
7355         (getRowNearY): adjust
7356
7357         * lyxtext.h: make rowlist_ mutable.
7358
7359         * RowList.h: add const_iterator
7360         * RowList.C: adjust for RowList::const_iterator.
7361
7362         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7363         adjust.
7364
7365 2003-03-31  John Levon  <levon@movementarian.org>
7366
7367         * lyxrc.h:
7368         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7369
7370         * lyx_main.C: set default fonts from using lyx_gui funcs
7371
7372         * exporter.C: pdf_mode moved from lyxrc
7373
7374         * lyx_cb.C:
7375         * lyxfunc.C: changes from above
7376
7377 2003-03-31  John Levon  <levon@movementarian.org>
7378
7379         * lyx_main.C: fix to the last fix
7380
7381 2003-03-31  John Levon  <levon@movementarian.org>
7382
7383         * bufferlist.C: "Load original" -> "Load Original"
7384
7385         * converter.C:
7386         * exporter.C:
7387         * importer.C:
7388         * lyx_main.C:
7389         * format.C: more Alert cleanups
7390
7391 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7392
7393         * text2.C (removeParagraph): make it take a RowList::iterator as
7394         arg, adjust.
7395         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7396         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7397
7398         * text.C (anchor_row): make it take a RowList::iterator as arg,
7399         adjust.
7400         (computeBidiTables): make it take a const reference to Row instead
7401         of Row pointer, adjust.
7402         (leftMargin): make it take a RowList::iterator as arg, adjust.
7403         (rowBreakPoint): adjust
7404         (breakAgainOneRow): make it take a RowList::iterator as arg,
7405         adjust.
7406         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7407
7408         * bufferview_funcs.C (toggleAndShow): adjust
7409
7410 2003-03-30  John Levon  <levon@movementarian.org>
7411
7412         * Makefile.am:
7413         * BoostFormat.h:
7414         * boost-inst.C: moved to support
7415
7416         * several files: changes as a result
7417
7418 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7419
7420         * text2.C (LyXText): adjust.
7421         (init): adjust
7422         (removeRow): make it take a RowList::iterator as arg, adjust.
7423         (fullRebreak): adjust
7424         (deleteEmptyParagraphMechanism): adjust
7425         (clearPaint): adjust
7426         (postPaint): adjust
7427
7428         * text.C (top_y): adjust
7429         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7430         (breakAgain): make it take a RowList::iterator as arg, adjust.
7431         (breakParagraph): adjust
7432         (insertChar): adjust
7433         (backspace): adjust
7434
7435         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7436         need_break_row, and refresh_row.
7437
7438         * text3.C (dispatch): adjust
7439
7440         * text2.C (checkParagraph): adjust
7441         (setCursor): adjust
7442         (setCursorFromCoordinates): adjust
7443
7444         * text.C (top_y): adjust
7445         (workWidth): adjust
7446         (getRow): make it return a RowList::iterator, adjust
7447         (getRowNearY): make it return a RowList::iterator, adjust
7448
7449         * text2.C (init): adjust
7450         (insertRow): remove function
7451         (insertParagraph): adjust
7452         (redoParagraphs): adjust
7453         (fullRebreak): adjust
7454         (updateCounters): adjust
7455
7456         * text.C (top_y): rewrite to use RowList iterators.
7457         (top_y): adjust
7458         (setHeightOfRow): rewrite to sue RowList iterators.
7459         (appendParagraph): adjust
7460         (breakAgain): adjust
7461         (breakAgainOneRow): adjust
7462         (breakParagraph): adjust
7463         (getRow): adjust
7464         (getRowNearY): adjust, and remove commented code.
7465
7466         * lyxtext.h (firstRow): delete function
7467         (lastRow): delete function
7468         (rows): new function (const and non-const versions.)
7469         (insertRow): delete function
7470
7471         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7472
7473 2003-03-29  John Levon  <levon@movementarian.org>
7474
7475         * BufferView_pimpl.C: always update scrollbar top
7476         because pasting text when we're anchored could mean we
7477         miss an update altogether
7478
7479 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * text2.C (init): use rowlist_.end() and not 0.
7482         (insertRow): change to take a RowList::iterator as arg, adjust
7483         for this.
7484         (insertParagraph): change to take a RowList::iterator as arg,
7485         adjust for this.
7486         (redoParagraphs): remove some debug msgs.
7487
7488         * text.C (appendParagraph): change to take a RowList::iterator
7489         arg, adjust for this.
7490         (breakAgain): add an assert
7491         (breakAgainOneRow): ditto
7492
7493 2003-03-29  John Levon  <levon@movementarian.org>
7494
7495         * text2.C: do not clear selection after inc/decDepth
7496         (bug 550)
7497
7498 2003-03-29  John Levon  <levon@movementarian.org>
7499
7500         * BufferView.C:
7501         * buffer.C: fix broken strerrors according to Lars
7502
7503 2003-03-29  John Levon  <levon@movementarian.org>
7504
7505         * converters.C: more Alert cleanups
7506
7507 2003-03-29  John Levon  <levon@movementarian.org>
7508
7509         * bufferview_funcs.C: remove pointless Alert
7510
7511         * buffer.C: fix confusing error message when
7512         a template is chmoded 000
7513
7514 2003-03-29  John Levon  <levon@movementarian.org>
7515
7516         * BufferView.C:
7517         * BufferView.h:
7518         * BufferView_pimpl.C: Alert fixes
7519
7520         * Makefile.am:
7521         * tabular.C:
7522         * tabular-old.C: remove unused table compat reading
7523
7524 2003-03-29  John Levon  <levon@movementarian.org>
7525
7526         * BufferView.C:
7527         * buffer.C:
7528         * lyx_cb.h:
7529         * lyx_cb.C: more Alert cleanups
7530
7531         * lyxfunc.C: don't allow chktex if not latex document
7532
7533 2003-03-29  John Levon  <levon@movementarian.org>
7534
7535         * lyx_cb.C:
7536         * BufferView.C:
7537         * buffer.C: warnings pushed down from support/,
7538         kill err_alert
7539
7540 2003-03-29  John Levon  <levon@movementarian.org>
7541
7542         * lyxfunc.C: safety check for C-r (revert)
7543
7544 2003-03-29  John Levon  <levon@movementarian.org>
7545
7546         * bufferlist.h:
7547         * bufferlist.C: several UI fixes using Alert::prompt.
7548         Fix the pointless looping quit code. Fix stupid revert
7549         behaviour (bug 938)
7550
7551         * lyxvc.h:
7552         * lyxvc.C:
7553         * lyx_cb.C: use Alert::prompt
7554
7555         * lyx_main.C: remove a silly question
7556
7557         * lyxfunc.C: remove a couple of silly questions,
7558         use Alert::prompt
7559
7560 2003-03-28  John Levon  <levon@movementarian.org>
7561
7562         * text2.C: fix bug 974 (End on empty par)
7563
7564 2003-03-28  John Levon  <levon@movementarian.org>
7565
7566         * BufferView_pimpl.C:
7567         * LyXAction.C:
7568         * lfuns.h: remove do-nothing math greek lfuns
7569
7570 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * lyxgluelength.h (isValidGlueLength): add default arg on
7573         parameter 2. Remove default arg from friend in class.
7574
7575         * lyxlength.h (isValidLength): add default arg on parameter 2.
7576         Remove default arg from friend in class.
7577
7578         * text2.C (LyXText): adjust, initialize refresh_row.
7579         (init): adjust
7580         (removeRow): adjust
7581         (insertRow): adjust
7582         (insertParagraph): adjst
7583         (redoParagraphs): adjust
7584         (fullRebreak): adjust
7585         (updateCounters): adjust
7586         (deleteEmptyParagraphMechanism): first attempt at fixing a
7587         crashing bug.
7588
7589         * text.C (top_y): adjust
7590         (setHeightOfRow): adjust
7591         (getRow): adjust
7592         (getRowNearY): adjust
7593
7594         * lyxtext.h: include RowList.h
7595         (~LyXText): not needed anymore, deleted.
7596         (firstRow): modify for RowList
7597         (lastRow): new function
7598         Delete firstrow and lastrow class variables, add a Rowlist
7599         rowlist_ class variable.
7600
7601         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7602         paragraph is empty.
7603
7604         * RowList.C (insert): fix case where it == begin().
7605
7606 2003-03-26  Angus Leeming  <leeming@lyx.org>
7607
7608         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7609         the thesaurus dialog.
7610
7611 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7614
7615         * RowList.[Ch]: new files
7616
7617         * ParagraphList.C (erase): handle the case where it == begin
7618         correctly.
7619
7620 2003-03-25  John Levon  <levon@movementarian.org>
7621
7622         * Makefile.am:
7623         * aspell_local.h:
7624         * aspell.C: add new aspell support
7625
7626         * lyxrc.h:
7627         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7628         have it accessible.
7629
7630 2003-03-25  Angus Leeming  <leeming@lyx.org>
7631
7632         * lfuns.h:
7633         * LyXAction.C (init): new LFUN_INSET_INSERT.
7634
7635         * BufferView_pimpl.C (dispatch): split out part of the
7636         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7637
7638         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7639         LFUN_INSET_APPLY.
7640
7641 2003-03-25  Angus Leeming  <leeming@lyx.org>
7642
7643         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7644
7645 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7646
7647         * text2.C:
7648         * text3.C: remove useless row->height(0)
7649
7650 2003-03-25  John Levon  <levon@movementarian.org>
7651
7652         * lyxtext.h:
7653         * text2.C:
7654         * text3.C: rename the refreshing stuff to better names
7655
7656 2003-03-24  John Levon  <levon@movementarian.org>
7657
7658         * BufferView_pimpl.h:
7659         * BufferView_pimpl.C: update layout choice on a mouse
7660         press/release
7661
7662 2003-03-23  John Levon  <levon@movementarian.org>
7663
7664         * Makefile.am: fix commandtags.h reference
7665
7666 2003-03-22  John Levon  <levon@movementarian.org>
7667
7668         * BufferView_pimpl.C:
7669         * lyxtext.h:
7670         * rowpainter.C:
7671         * rowpainter.h:
7672         * text.C:
7673         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7674
7675 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7676
7677         * lyxtext.h:
7678         * text.C: take the rtl methods out of line
7679
7680 2003-03-21 André Pönitz <poenitz@gmx.net>
7681
7682         * metricsinfo.[Ch]: new files containing structures to be passed around
7683         during the two-phase-drawing...
7684
7685 2003-03-21 André Pönitz <poenitz@gmx.net>
7686
7687         * lyxtextclass.C: read 'environment' tag.
7688
7689 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7690
7691         * text2.C (removeRow): fix bug 964
7692
7693 2003-03-20  John Levon  <levon@movementarian.org>
7694
7695         * rowpainter.C:
7696         * text.C:
7697         * text2.C: paint cleanups. Inset::update() dropped font
7698         parameter
7699
7700 2003-03-19  John Levon  <levon@movementarian.org>
7701
7702         * lyxfunc.C: only fitcursor/markDirty if available()
7703
7704 2003-03-19  John Levon  <levon@movementarian.org>
7705
7706         * commandtags.h: rename to ...
7707
7708         * lfuns.h: ... this, and renumber / cleanup
7709
7710 2003-03-19  John Levon  <levon@movementarian.org>
7711
7712         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7713         fit the cursor after an lfun
7714
7715         * BufferView.h:
7716         * BufferView.C:
7717         * BufferView_pimpl.h:
7718         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7719
7720         * LyXAction.C: layout-character should have ReadOnly
7721
7722         * ParagraphParameters.C:
7723         * buffer.C:
7724         * bufferview_funcs.C:
7725         * lyx_cb.C:
7726         * lyxfind.C:
7727         * lyxtext.h:
7728         * text.C:
7729         * text2.C:
7730         * text3.C:
7731         * undo_funcs.C: changes from above
7732
7733 2003-03-18  John Levon  <levon@movementarian.org>
7734
7735         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7736         remove it from update()
7737
7738         * lyxfunc.C: update layout choice after an lfun
7739
7740         * text3.C: remove extra updateLayoutChoice()s
7741
7742 2003-03-18  John Levon  <levon@movementarian.org>
7743
7744         * text.C: top_y change means full repaint, fix
7745         a drawing bug with cursor movement
7746
7747 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7748
7749         * lyxtext.h:
7750         * text.C:
7751         * text2.C: anchor row on setCursor
7752
7753 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7754
7755         * lyxtext.h: remove almost all mutable keywords
7756         * text.C:
7757         * text2.C:
7758         * text3.C: remove const keywords accordingly
7759
7760 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7763         anon namespace
7764         (TeXEnvironment): ditto
7765         (TeXOnePar): ditto
7766
7767 2003-03-17  John Levon  <levon@movementarian.org>
7768
7769         * text.C (rowBreakPoint): remove attempt to fix displayed
7770         math insets inside a manual label
7771
7772 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * lyxtext.h: remove BufferView* as first arg from almost all class
7775         functions.
7776         * other files: adjust.
7777
7778 2003-03-17  John Levon  <levon@movementarian.org>
7779
7780         * lyxtext.h:
7781         * undo_funcs.C:
7782         * text2.C: more paint cleanups
7783
7784         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7785
7786         * rowpainter.h:
7787         * rowpainter.C: remove "smart" background painting code
7788
7789 2003-03-16  John Levon  <levon@movementarian.org>
7790
7791         * lyxtext.h:
7792         * text.C:
7793         * text2.C:
7794         * text3.C: add helper functions for setting refresh_row/y
7795
7796 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7797
7798         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7799         newline inset which *can* get inserted in the pass_thru layouts.
7800         This is primarily for literate documents.
7801
7802 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7803
7804         * buffer.C: increment LYX_FORMAT to 223
7805
7806 2003-03-14 André Pönitz <poenitz@gmx.net>
7807
7808         * textclass.h: prepare for environment handling, ws changes
7809         * lyxlayout.C: read latexheader and latexfooter tags
7810
7811 2003-03-14  John Levon  <levon@movementarian.org>
7812
7813         * text2.C: rewrite ::status() a bit
7814
7815 2003-03-13  John Levon  <levon@movementarian.org>
7816
7817         * lyxtext.h: add some docs
7818
7819 2003-03-13  John Levon  <levon@movementarian.org>
7820
7821         * lyxtext.h:
7822         * text.C:
7823         * text2.C:
7824         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7825
7826 2003-03-13  John Levon  <levon@movementarian.org>
7827
7828         * text3.C: fix appendix redrawing
7829
7830 2003-03-13  John Levon  <levon@movementarian.org>
7831
7832         * text.C (setHeightOfRow):
7833         * rowpainter.h:
7834         * rowpainter.C: make appendix mark have the text
7835           "Appendix" so the user knows what it is
7836
7837         * LColor.h:
7838         * LColor.C: s/appendixline/appendix/ from above
7839
7840 2003-03-13  John Levon  <levon@movementarian.org>
7841
7842         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7843
7844         * text.C: fix a getChar(pos) bug properly
7845
7846 2003-03-13  Angus Leeming  <leeming@lyx.org>
7847
7848         * commandtags.h:
7849         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7850         Probably only temporary. Let's see how things pan out.
7851
7852         * BufferView.C (unlockInset):
7853         * BufferView_pimpl.C (fitCursor):
7854         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7855
7856         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7857         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7858
7859         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7860         new functions that convert ParagraphParameters to and from a string.
7861
7862         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7863         BufferView::Pimpl's dispatch.
7864         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7865
7866 2003-03-13 André Pönitz <poenitz@gmx.net>
7867
7868         * lyxfunc.C:
7869         * text3.C:
7870         * factory.C: make it aware of InsetEnv
7871
7872 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * text2.C (setCursor): never ask for one past last
7875         (setCursor): add some debugging messages.
7876
7877         * text.C (singleWidth): never ask for one past last
7878         (singleWidth): ditto
7879         (leftMargin): ditto
7880         (rightMargin): ditto
7881         (rowBreakPoint): ditto
7882         (setHeightOfRow): ditto
7883         (prepareToPrint): ditto
7884
7885         * rowpainter.C (paintBackground): never ask for one past last
7886         (paintText): never ask for one past last
7887
7888         * paragraph_pimpl.C (getChar): make the assert stricter, never
7889         allow the one past last pos to be taken
7890
7891         * paragraph.C (getChar): ws changes only
7892
7893         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7894         (numberOfSeparators): ditto
7895         (numberOfHfills): ditto
7896
7897 2003-03-12  John Levon  <levon@movementarian.org>
7898
7899         * author.h:
7900         * author.C:
7901         * bufferparams.h:
7902         * bufferparams.C:
7903         * paragraph_funcs.C: fix per-buffer authorlists
7904
7905 2003-03-12  John Levon  <levon@movementarian.org>
7906
7907         * text.C: fix newline in right address
7908
7909 2003-03-12  Angus Leeming  <leeming@lyx.org>
7910
7911         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7912         duplicate those in LyXFunc::dispatch.
7913
7914         * commandtags.h:
7915         * LyXAction.C:
7916         * ToolbarDefaults.C:
7917         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7918         Add LFUN_FONTFREE_UPDATE.
7919
7920         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7921         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7922
7923         * bufferview_func.[Ch]: several new functions to facilliate
7924         transfer of data to and from the character dialog.
7925
7926 2003-03-12  John Levon  <levon@movementarian.org>
7927
7928         * buffer.C:
7929         * paragraph.h:
7930         * paragraph.C:
7931         * paragraph_funcs.C:
7932         * paragraph_pimpl.C:
7933         * sgml.C:
7934         * tabular.C:
7935         * text.C:
7936         * text3.C: remove META_NEWLINE in favour of an inset
7937
7938         * rowpainter.h:
7939         * rowpainter.C: remove paintNewline (done by inset)
7940
7941 2003-03-12  John Levon  <levon@movementarian.org>
7942
7943         * paragraph_pimpl.C: complain about bad getChar()s
7944         for a while at least
7945
7946 2003-03-12  John Levon  <levon@movementarian.org>
7947
7948         * buffer.h:
7949         * buffer.C: move paragraph read into a separate function,
7950         a little renaming to reflect that.
7951
7952         * bufferparams.h:
7953         * bufferparams.C: remove the author_ids map, not necessary now
7954
7955         * factory.h:
7956         * factory.C: moved Buffer::readInset to here
7957
7958         * paragraph_funcs.h:
7959         * paragraph_funcs.C: readParagraph free function moved from
7960         buffer.C
7961
7962         * tabular.C: name change
7963
7964 2003-03-12  John Levon  <levon@movementarian.org>
7965
7966         * buffer.C:
7967         * ParagraphParameters.C: move par params input to
7968         a read() method
7969
7970         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7971         behave like a normal read from the stream wrt reading
7972         a line vs. a \\token
7973
7974 2003-03-12  John Levon  <levon@movementarian.org>
7975
7976         * paragraph.C:
7977         * ParagraphParameters.h:
7978         * ParagraphParameters.C: move output code to a
7979         ::write() method
7980
7981 2003-03-12  John Levon  <levon@movementarian.org>
7982
7983         * BufferView.C (insertLyXFile):
7984         * buffer.h:
7985         * buffer.C:
7986         * tabular.C: use a parlist iterator for creating the
7987           document.
7988
7989 2003-03-12  John Levon  <levon@movementarian.org>
7990
7991         * buffer.C: make current_change static local not
7992           static file-scope
7993
7994 2003-03-12  John Levon  <levon@movementarian.org>
7995
7996         * buffer.C: fix insertStringAsLines for change tracking
7997
7998 2003-03-12  John Levon  <levon@movementarian.org>
7999
8000         * BufferView.C:
8001         * tabular.C:
8002         * buffer.h:
8003         * buffer.C:
8004         * bufferparams.h:
8005         * bufferparams.C: move author list into params. Rename some
8006           functions. Move the header reading into a separate token
8007           loop. Move the header token reading into BufferParams.
8008
8009 2003-03-12  John Levon  <levon@movementarian.org>
8010
8011         * changes.C: put debug inside lyxerr.debugging() checks
8012
8013 2003-03-11 André Pönitz <poenitz@gmx.net>
8014
8015         * factory.C: make it aware of InsetHFill
8016
8017 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8018
8019         * buffer.C (latexParagraphs): move function from here...
8020         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8021         args.
8022
8023 2003-03-10  Angus Leeming  <leeming@lyx.org>
8024
8025         * LyXAction.C (init): fix bug in poplating array with multiple entries
8026         with the same LFUN (spotted by JMarc).
8027
8028 2003-03-10  John Levon  <levon@movementarian.org>
8029
8030         * text.C:
8031         * text2.C: move getColumnNearX() near its
8032         only call site
8033
8034 2003-03-10  John Levon  <levon@movementarian.org>
8035
8036         * text.C: fix break before a minipage
8037
8038 2003-03-10  John Levon  <levon@movementarian.org>
8039
8040         * text.C: fix the last commit
8041
8042 2003-03-09  John Levon  <levon@movementarian.org>
8043
8044         * lyxtext.h:
8045         * text.C:
8046         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8047         bug 365 (don't break before insets unless needed). Don't
8048         return a value > last under any circumstances.
8049
8050 2003-03-09  Angus Leeming  <leeming@lyx.org>
8051
8052         * BufferView_pimpl.C (trackChanges, dispatch): call
8053         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8054
8055 2003-03-09  Angus Leeming  <leeming@lyx.org>
8056
8057         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8058         than Dialogs::showAboutlyx().
8059
8060 2003-03-09  Angus Leeming  <leeming@lyx.org>
8061
8062         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8063         than Dialogs::showTabularCreate().
8064
8065 2003-03-09  John Levon  <levon@movementarian.org>
8066
8067         * lyxtext.h:
8068         * text.C:
8069         * text2.C: 3rd arg to nextBreakPoint was always the same.
8070           Use references.
8071
8072 2003-03-08  John Levon  <levon@movementarian.org>
8073
8074         * lyxrow.C:
8075         * paragraph.C:
8076         * paragraph.h:
8077         * rowpainter.C:
8078         * text.C:
8079         * text2.C: Remove the "main" bit from the "main body"
8080           notion.
8081
8082 2003-03-08  John Levon  <levon@movementarian.org>
8083
8084         * text.C (leftMargin): The left margin of an empty
8085         manual label paragraph should not include the label width
8086         string length.
8087
8088         * text.C (prepareToPrint): don't attempt to measure hfills
8089         for empty manual label paragraphs - the answer should be 0
8090
8091 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8092
8093         * CutAndPaste.C: remove commented code and reindent.
8094
8095 2003-03-08  John Levon  <levon@movementarian.org>
8096
8097         * lyxfunc.h:
8098         * lyxfunc.C: move reloadBuffer()
8099
8100         * BufferView.h:
8101         * BufferView.C: to here
8102
8103         * lyxvc.C: add comment
8104
8105         * vc-backend.h:
8106         * vc-backend.C: call bv->reload() to avoid
8107           getStatus() check on MENURELOAD
8108
8109 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8110
8111         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8112         to an old format .dep file.
8113
8114 2003-03-07  Angus Leeming  <leeming@lyx.org>
8115
8116         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8117         when the LFUN_MOUSE_RELEASE should have been handled by
8118         inset->localDispatch.
8119
8120 2003-03-07  Angus Leeming  <leeming@lyx.org>
8121
8122         * BufferView_pimpl.C (dispatch):
8123         * LyXAction.C (init):
8124         * ToolbarDefaults.C (init):
8125         * commandtags.h:
8126         * lyxfunc.C (getStatus):
8127         remove LFUN_INSET_GRAPHICS.
8128
8129         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8130
8131 2003-03-07  Angus Leeming  <leeming@lyx.org>
8132
8133         * commandtags.h:
8134         * LyXAction.C (init):
8135         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8136
8137         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8138
8139         * commandtags.h:
8140         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8141
8142         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8143         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8144
8145 2003-03-07  Angus Leeming  <leeming@lyx.org>
8146
8147         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8148         remove "ert".
8149
8150 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * ParagraphList.C (front): new function
8153         (back): implement
8154
8155 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8156
8157         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8158         and top_row_offset_. removed var first_y.
8159         * text.C (top_y):
8160         * text2.C (LyXText, removeRow):
8161         * text3.C:
8162         * BufferView_pimpl.C:
8163         use these methods instead of using first_y
8164
8165 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * text2.C (pasteSelection): adjust for checkPastePossible
8168
8169         * CutAndPaste.C: remove Paragraph * buf and replace with
8170         ParagraphList paragraphs.
8171         (DeleteBuffer): delete
8172         (cutSelection): change the tc type to textclass_type
8173         (copySelection): change the tc type to textclass_type
8174         (copySelection): adjust for ParagraphList
8175         (pasteSelection): change the tc type to textclass_type
8176         (pasteSelection): adjust for Paragraphlist
8177         (nrOfParagraphs): simplify for ParagraphList
8178         (checkPastePossible): simplify for ParagraphList
8179         (checkPastePossible): remove unused arg
8180
8181         * ParagraphList.C (insert): handle the case where there are no
8182         paragraphs yet.
8183
8184         * CutAndPaste.h: make CutAndPaste a namespace.
8185
8186         * text3.C (dispatch): adjust
8187
8188         * text.C (breakParagraph): add a ParagraphList as arg
8189
8190         * paragraph_funcs.C (breakParagraph): change to take a
8191         BufferParams and a ParagraphList as args.
8192         (breakParagraphConservative): ditto
8193         (mergeParagraph): ditto
8194         (TeXDeeper): add a ParagraphList arg
8195         (TeXEnvironment): ditto
8196         (TeXOnePar): ditto
8197
8198         * buffer.C (readLyXformat2): adjust
8199         (insertStringAsLines): adjust
8200         (latexParagraphs): adjust
8201
8202         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8203         (cutSelection): adjust
8204         (pasteSelection): adjust
8205
8206         * BufferView_pimpl.C (insertInset): adjust
8207
8208 2003-03-05  Angus Leeming  <leeming@lyx.org>
8209
8210         * commandtags.h:
8211         * LyXAction.C (init):
8212         * BufferView_pimpl.C (dispatch):
8213         * lyxfunc.C (getStatus):
8214         remove LFUN_CHILD_INSERT.
8215
8216         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8217
8218 2003-03-05  Angus Leeming  <leeming@lyx.org>
8219
8220         * commandtags.h:
8221         * LyXAction.C (init):
8222         * src/factory.C (createInset):
8223         * lyxfunc.C (getStatus):
8224         * text3.C (dispatch):
8225         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8226
8227         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8228
8229 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * ParagraphList.C (insert): handle insert right before end()
8232         (erase): fix cases where it can be first or last paragraph.
8233
8234 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8237         Paragraph::next and Paragraph::previous
8238         (TeXOnePar): ditto
8239
8240         * text.C (breakParagraph): adjust
8241
8242         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8243         BufferParams& as arg.
8244         (breakParagraph): use ParagraphList::insert
8245         (breakParagraphConservative): take a Buffer* instead of a
8246         BufferParams& as arg.
8247         (breakParagraphConservative): use ParagraphList::insert.
8248
8249         * buffer.C (insertStringAsLines): un-const it
8250         (insertStringAsLines): adjust
8251
8252         * ParagraphList.C (insert): new function
8253
8254         * CutAndPaste.C (pasteSelection): adjust
8255
8256         * text.C (backspace): adjust
8257
8258         * tabular.C (SetMultiColumn): adjust
8259
8260         * CutAndPaste.C (cutSelection): adjust
8261         (pasteSelection): adjust
8262
8263         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8264         Buffer const * as arg
8265
8266         * ParagraphList.C (erase): new function
8267         * paragraph_funcs.C (mergeParagraph): use it
8268         (mergeParagraph): make it take a Buffer* instead of a
8269         BufferParams* as arg
8270
8271         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8272         as arg
8273         (breakParagraphConservative): ditto
8274
8275         * paragraph.h: remove the breakParagraph friend
8276
8277         * paragraph.C (eraseIntern): new function
8278         (setChange): new function
8279
8280         * paragraph_funcs.C (mergeParagraph): make it take a
8281         ParagraphList::iterator instead of a Paragraph *, adjust
8282         accordingly.
8283
8284         * paragraph.h: move an #endif so that the change tracking stuff
8285         also works in the NO_NEXT case.
8286
8287 2003-03-04  Angus Leeming  <leeming@lyx.org>
8288
8289         * commandtags.h:
8290         * LyXAction.C: new LFUN_INSET_MODIFY.
8291
8292         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8293         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8294
8295 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8296
8297         * several files: ws changes only
8298
8299         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8300         (TeXEnvironment): ditto
8301         (TeXDeeper): ditto
8302
8303         * buffer.C (makeLaTeXFile): adjust
8304         (latexParagraphs): make it take ParagraphList::iterator as args
8305
8306 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * buffer.C (latexParagraphs): adjust
8309
8310         * paragraph.C (TeXOnePar): move function...
8311         (optArgInset): move function...
8312         (TeXEnvironment): move function...
8313         * paragraph_pimpl.C (TeXDeeper): move function...
8314         * paragraph_funcs.C: ...here
8315
8316         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8317
8318 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8319
8320         * buffer.C (readInset): remove compability code for old Figure and
8321         InsetInfo insets
8322
8323 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * buffer.C: ws changes
8326         (readInset):
8327
8328         * BufferView_pimpl.C: ditto
8329         * author.C: ditto
8330         * buffer.h: ditto
8331         * bufferlist.h: ditto
8332         * changes.h: ditto
8333         * lyxfunc.C: ditto
8334
8335 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8336
8337         * converter.[Ch]: split into itself +
8338         * graph.[Ch]
8339         * format.[Ch]
8340         * Makefile.am: += graph.[Ch] + format.[Ch]
8341         * MenuBackend.C
8342         * buffer.C
8343         * exporter.C
8344         * importer.C
8345         * lyx_main.C
8346         * lyxfunc.C
8347         * lyxrc.C: added #include "format.h"
8348
8349 2003-02-27  Angus Leeming  <leeming@lyx.org>
8350
8351         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8352           a label.
8353
8354         * factory.C (createInset): add "label" to the factory.
8355
8356         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8357           string and do no more.
8358
8359 2003-02-27  Angus Leeming  <leeming@lyx.org>
8360
8361         * commandtags.h:
8362         * LyXAction.C (init):
8363         * factory.C (createInset):
8364         * BufferView_pimpl.C (dispatch):
8365           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8366
8367         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8368
8369         * lyxfunc.C (dispatch):
8370         * text3.C (dispatch): pass name to params2string.
8371
8372 2003-02-26  Angus Leeming  <leeming@lyx.org>
8373
8374         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8375           blocks together.
8376           Rearrange the ~includes. Strip out the unnecessary ones.
8377
8378         * factory.C (createInset): reformat.
8379           create new insets for the various LFUN_XYZ_APPLY lfuns.
8380
8381 2003-02-26  John Levon  <levon@movementarian.org>
8382
8383         * lyxrow.h:
8384         * lyxrow.C: add isParStart,isParEnd helpers
8385
8386         * paragraph.h: make isInserted/DeletedText take refs
8387
8388         * paragraph_funcs.h:
8389         * paragraph_funcs.C: remove #if 0'd code
8390
8391         * lyxtext.h:
8392         * text3.C:
8393         * text2.C:
8394         * text.C: use lyxrow helpers above.
8395           Move draw and paint routines to RowPainter.
8396           Make several methods use refs not pointers.
8397           Make backgroundColor() const.
8398           Add markChangeInDraw(), isInInset().
8399           Merge changeRegionCase into changeCase.
8400           Make workWidth() shouldn't-happen code into an Assert.
8401
8402         * rowpainter.h:
8403         * rowpainter.C: new class for painting a row.
8404
8405         * vspace.h:
8406         * vspace.C: make inPixels take a ref
8407
8408 2003-02-26  Angus Leeming  <leeming@lyx.org>
8409
8410         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8411         LFUN_REF_APPLY.
8412
8413 2003-02-25  John Levon  <levon@movementarian.org>
8414
8415         * ispell.C: give the forked command a more accurate name
8416
8417 2003-02-22  John Levon  <levon@movementarian.org>
8418
8419         * toc.h:
8420         * toc.C: make TocItem store an id not a Paragraph *
8421           (bug #913)
8422
8423 2003-02-21  Angus Leeming  <leeming@lyx.org>
8424
8425         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8426           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8427           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8428           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8429           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8430           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8431
8432         * BufferView_pimpl.C (dispatch):
8433         * LyXAction.C (init):
8434         * factory.C (createInset):
8435         * lyxfunc.C (getStatus, dispatch):
8436         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8437
8438 2003-02-21  Angus Leeming  <leeming@lyx.org>
8439
8440         * BufferView_pimpl.C (MenuInsertLyXFile):
8441         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8442         * lyxfunc.C (menuNew, open, doImport):
8443           no longer pass a LyXView & to fileDlg.
8444
8445 2003-02-21  Angus Leeming  <leeming@lyx.org>
8446
8447         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8448         * LyXAction.C: change, BIBKEY to BIBITEM.
8449         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8450         Change InsetBibKey to InsetBibitem.
8451         Change BIBKEY_CODE to BIBITEM_CODE.
8452         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8453         * factory.C: replace insetbib.h with insetbibitem.h.
8454         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8455         * paragraph.C: replace insetbib.h with insetbibitem.h.
8456         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8457         Change bibkey() to bibitem().
8458         * text.C: remove insetbib.h.
8459         * text2.C: replace insetbib.h with insetbibitem.h.
8460         change bibkey() to bibitem().
8461         * text3.C: remove insetbib.h.
8462         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8463
8464 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8465
8466         * lyxrc.C (output): enclose user email in quotes (in case there are
8467         several words)
8468
8469 2003-02-18  John Levon  <levon@movementarian.org>
8470
8471         * buffer.h: add std::
8472
8473 2003-02-17  John Levon  <levon@movementarian.org>
8474
8475         * SpellBase.h:
8476         * ispell.h:
8477         * ispell.C:
8478         * pspell.h:
8479         * pspell.C: reworking. Especially in ispell, a large
8480           number of clean ups and bug fixes.
8481
8482         * lyxfunc.C: fix revert to behave sensibly
8483
8484 2003-02-17 André Pönitz <poenitz@gmx.net>
8485
8486         * LyXAction.C:
8487         * commandtags.h: new LFUN_INSERT_BIBKEY
8488
8489         * layout.h:
8490         * lyxlayout.C:
8491         * buffer.C:
8492         * factory.C:
8493         * text.C:
8494         * text2.C:
8495         * text3.C:
8496         * paragraph.[Ch]:
8497         * paragraph_func.C: remove special bibkey handling
8498
8499 2003-02-17  John Levon  <levon@movementarian.org>
8500
8501         * text.C (Delete): fix case where delete at the end of
8502           the very first paragraph would not merge the pars
8503
8504 2003-02-17  John Levon  <levon@movementarian.org>
8505
8506         * lyxrow.C: fix lastPrintablePos()
8507
8508 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8509
8510         * bufferparams.C (writeLaTeX): add a std:here
8511
8512         * buffer.C: and remove a using directive there
8513
8514 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8515
8516         * buffer.C (makeLaTeXFile): move the code that generates the
8517           preamble...
8518
8519         * bufferparams.C (writeLaTeX): ... in this new method
8520
8521         * LaTeXFeatures.C (getEncodingSet): make const
8522           (getLanguages): make const
8523
8524         * MenuBackend.C (binding): returns the binding associated to this
8525           action
8526           (add): sets the status of each item by calling getStatus. Adds
8527           some intelligence.
8528           (read): add support for OptSubMenu
8529           (expand): remove extra separator at the end of expanded menu
8530
8531 2003-02-15  John Levon  <levon@movementarian.org>
8532
8533         * BufferView.C:
8534         * BufferView_pimpl.C:
8535         * bufferlist.h:
8536         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8537           inset code that had no actual effect. Remove unneeded status
8538           code.
8539
8540 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8541
8542         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8543           in preamble
8544
8545 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8546
8547         * text.C (drawLengthMarker): also draw an arrow marker for
8548           symbolic lengths (medskip...)
8549
8550 2003-02-14  John Levon  <levon@movementarian.org>
8551
8552         * tabular.h:
8553         * tabular.C: better method names
8554
8555 2003-02-14  John Levon  <levon@movementarian.org>
8556
8557         * BufferView_pimpl.C:
8558         * bufferlist.C:
8559         * buffer.C:
8560         * converter.C:
8561         * lyx_cb.C:
8562         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8563           it's a more accurate name. Remove some pointless uses.
8564
8565 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8566
8567         * text2.C (LyXText): change order of initilizers to shut off
8568           warnings
8569
8570 2003-02-14  John Levon  <levon@movementarian.org>
8571
8572         * buffer.C: use ParIterator for getParFromID()
8573
8574         * paragraph.h:
8575         * paragraph.C:
8576         * paragraph_pimpl.h:
8577         * paragraph_pimpl.C: remove unused getParFromID()
8578
8579 2003-02-14  John Levon  <levon@movementarian.org>
8580
8581         * buffer.C: remove some very old #if 0'd parse code
8582
8583 2003-02-13  John Levon  <levon@movementarian.org>
8584
8585         * text.h:
8586         * text.C:
8587         * text2.C: move hfillExpansion(), numberOfSeparators(),
8588           rowLast(), rowLastPrintable(), numberofHfills(),
8589           numberOfLabelHfills() ...
8590
8591         * lyxrow.h:
8592         * lyxrow.C: ... to member functions here.
8593
8594         * paragraph.h:
8595         * paragraph.C:
8596         * lyxtext.h:
8597         * text.C: remove LyXText::beginningOfMainBody(), and call
8598           p->beginningOfMainBody() directly. Move the check for
8599           LABEL_MANUAL into the latter.
8600
8601         * text.h:
8602         * text.C:
8603         * text2.C:
8604         * vspace.C:
8605         * BufferView.h:
8606         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8607
8608         * text.h:
8609         * text.C:
8610         * text2.C:
8611         * text3.C:
8612         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8613           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8614
8615 2003-02-13  John Levon  <levon@movementarian.org>
8616
8617         * CutAndPaste.C: remove debug
8618
8619 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8620
8621         * paragraph.C (asString): remove two unused variables
8622
8623         * lyxtextclass.C (readTitleType):
8624           (Read):
8625           (LyXTextClass): handle new members titletype_ and titlename_
8626
8627         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8628
8629 2003-02-09  John Levon  <levon@movementarian.org>
8630
8631         * buffer.h:
8632         * buffer.C: replace hand-coded list with a map for the dep clean
8633
8634 2003-02-08  John Levon  <levon@movementarian.org>
8635
8636         * LaTeX.C: consolidate code into showRunMessage() helper
8637
8638 2003-02-08  John Levon  <levon@movementarian.org>
8639
8640         * lyxfind.C:
8641         * lyxtext.h:
8642         * text2.C:
8643         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8644           and pass the size in explicitly
8645
8646         * BufferView_pimpl.h:
8647         * BufferView_pimpl.C:
8648         * BufferView.h:
8649         * BufferView.C: add getCurrentChange()
8650
8651         * BufferView_pimpl.h:
8652         * BufferView_pimpl.C: handle change lfuns
8653
8654         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8655           for changes. Mark pasted paragraphs as new.
8656
8657         * support/lyxtime.h:
8658         * support/lyxtime.C:
8659         * DepTable.C: abstract time_t as lyx::time_type
8660
8661         * LColor.h:
8662         * LColor.C: add colours for new text, deleted text, changebars
8663
8664         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8665           package use "usenames" option.
8666
8667         * commandtags.h:
8668         * lyxfunc.C:
8669         * LyXAction.C: add change lfuns
8670
8671         * Makefile.am:
8672         * author.h:
8673         * author.C: author handling
8674
8675         * buffer.h:
8676         * buffer.C: add a per-buffer author list, with first entry as
8677           current author. Handle new .lyx tokens for change tracking. Output
8678           author list to .lyx file. Output dvipost stuff to .tex preamble.
8679           Bump lyx format to 222.
8680
8681         * bufferlist.h:
8682         * bufferlist.C: add setCurrentAuthor() to reset current author details
8683           in all buffers.
8684
8685         * bufferparams.h:
8686         * bufferparams.C: add param for tracking
8687
8688         * bufferview_funcs.C: output change info in minibuffer
8689
8690         * Makefile.am:
8691         * changes.h:
8692         * changes.C: add change-tracking structure
8693
8694         * debug.h:
8695         * debug.C: add CHANGES debug flag
8696
8697         * lyxfind.h:
8698         * lyxfind.C: add code for finding the next change piece
8699
8700         * lyxrc.h:
8701         * lyxrc.C: add user_name and user_email
8702
8703         * lyxrow.h:
8704         * lyxrow.C: add a metric for the top of the text line
8705
8706         * lyxtext.h:
8707         * text.C: implement accept/rejectChange()
8708
8709         * lyxtext.h:
8710         * text.C: paint changebars. Paint new/deleted text in the chosen
8711         colours. Strike through deleted text.
8712
8713         * paragraph.h:
8714         * paragraph.C:
8715         * paragraph_pimpl.h:
8716         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8717           in the current change to the insert functions. Rework erase to
8718           mark text as deleted, adding an eraseIntern() and a range-based
8719           erase(). Implement per-paragraph change lookup and
8720           accept/reject.
8721
8722         * paragraph_funcs.C: Fixup paste for change tracking.
8723
8724         * tabular.C: mark added row/columns as new.
8725
8726         * text.C: fix rowLast() to never return -1. Don't allow
8727           spellchecking of deleted text. Track transpose changes. Don't
8728           allow paragraph break or merge where appropriate.
8729
8730         * text2.C: leave cursor at end of selection after a cut.
8731
8732 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8733
8734         * text.C (getLengthMarkerHeight):
8735         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8736         visible on screen too.
8737
8738 2003-02-07  John Levon  <levon@movementarian.org>
8739
8740         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8741
8742 2003-02-05  Angus Leeming  <leeming@lyx.org>
8743
8744         * lyxserver.C (read_ready): revert my patch of 11 September last year
8745         as it sends PC cpu through the roof. Presumably this means that
8746         the lyxserver will no longer run on an Alpha...
8747
8748 2003-01-30  Angus Leeming  <leeming@lyx.org>
8749
8750         * factory.C (createInset): create an InsetCommandParam of type "index"
8751         and use it to 'do the right thing'.
8752
8753         * text2.C (getStringToIndex): ensure that cursor position is always
8754         reset to the reset_cursor position.
8755
8756 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8757
8758         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8759         disabled.
8760
8761 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8762
8763         * bufferview.C:
8764         * lyxcb.C:
8765         * lyxfunc.C: Output messages with identical spelling, punctuation,
8766         and spaces
8767
8768 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8769
8770         * MenuBackend.C (expandFormats): List only viewable export formats
8771         in "View" menu
8772
8773         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8774         message
8775
8776         * lyxfunc.C (getStatus): Make sure that formats other than
8777         "fax" can also be disabled
8778
8779 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8780
8781         * text3.C (dispatch): put the lfuns that insert insets in 3
8782         groups, and call doInsertInset with appropriate arguments.
8783         (doInsertInset): new function, that creates an inset and inserts
8784         it according to some boolean parameters.
8785
8786 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8787
8788         * buffer.C (readFile): remember to pass on 'par' when calling
8789         readFile recursively.
8790
8791 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8792
8793         * MenuBackend.C (expandFormats): add "..." to import formats.
8794
8795 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8796
8797         * paragraph.C (asString): Remove XForms RTL hacks.
8798
8799 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8800         * buffer.C: fix typo
8801
8802 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8803
8804         * Makefile.am (LIBS): delete var
8805         (lyx_LDADD): add @LIBS@ here instead.
8806
8807 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8808
8809         * Clarify the meaning of "wheel mouse jump"
8810
8811 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8812
8813         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8814         tabular in a float
8815
8816 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8817
8818         * importer.C (Loaders): do not preallocate 3 elements in the
8819         vector, since one ends up with 6 elements otherwise
8820
8821 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8822
8823         * DepTable.C (write): write the file name as last element of the
8824         .dep file (because it may contain spaces)
8825         (read): read info in the right order
8826
8827 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8828
8829         * paragraph_pimpl.C (simpleTeXBlanks):
8830         (simpleTeXSpecialChars):
8831         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8832
8833         * tabular.C (latex): add some missing case statements. Reindent.
8834
8835         * MenuBackend.C (expandToc): remove unused variable.
8836
8837 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8838
8839         * LColor.C:
8840         * LaTeX.C:
8841         * LyXAction.C:
8842         * MenuBackend.C:
8843         * buffer.C:
8844         * exporter.C:
8845         * lyxfunc.C:
8846         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8847         and the like.
8848
8849 2003-01-05  John Levon  <levon@movementarian.org>
8850
8851         * BufferView.h:
8852         * BufferView.C: add getEncoding()
8853
8854         * kbsequence.h:
8855         * kbsequence.C: do not store last keypress
8856
8857         * lyxfunc.h:
8858         * lyxfunc.C: store last keypress here instead. Pass encoding
8859           to getISOEncoded()
8860
8861 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8862
8863         * lyx_main.C (init): remove annoying error message when following
8864         symbolic links (bug #780)
8865
8866 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8867
8868         * text.C (insertChar):
8869         * lyxrc.C (getDescription): remove extra spaces
8870
8871 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8872
8873         * lyxrc.C (getDescription): remove extra spaces
8874
8875 2002-12-20  John Levon  <levon@movementarian.org>
8876
8877         * text3.C: hack fix for page up/down across tall rows
8878
8879 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8880
8881         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8882         not been invoked
8883
8884 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8885
8886         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8887         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8888         thesaurus is not compiled in
8889
8890 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8891
8892         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8893
8894 2002-12-16  Angus Leeming  <leeming@lyx.org>
8895
8896         * lyxrc.[Ch]:
8897         * lyx_main.C (init): remove override_x_deadkeys stuff.
8898
8899 2002-12-12  John Levon  <levon@movementarian.org>
8900
8901         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8902           insert. Only remove shift modifier under strict
8903           circumstances.
8904
8905 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8906
8907         * MenuBackend.C (expandToc): fix crash.
8908
8909 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8910
8911         * MenuBackend.C (expandToc): gettext on float names.
8912
8913 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8914
8915         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8916         implement bool empty() [bug 490]
8917
8918 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919
8920         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8921
8922 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8923
8924         * several files: ws changes
8925
8926 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8927
8928         * text2.C (setCounter): clean up a bit, use boost.format.
8929         (updateCounters): initialize par upon declaration.
8930
8931         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8932         if the layout exists. We do not just store the layout any more.
8933         (SwitchLayoutsBetweenClasses): use boost.format
8934
8935 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8936
8937         * converter.C (convert): if from and to files are the same, use a
8938         temporary files as intermediary
8939
8940 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8941
8942         * commandtags.h:
8943         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8944
8945 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8946
8947         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8948
8949 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8950
8951         * tabular.C (asciiPrintCell): use string(size, char) instead of
8952         explicit loop.
8953
8954         * sgml.C (openTag): fix order of arguments to string constructor
8955         (closeTag): ditto
8956
8957         * lyxfunc.C (dispatch): use boost.format
8958
8959         * lots of files: change "c" -> 'c'
8960
8961 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8962
8963         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8964
8965 2002-11-25  Angus Leeming  <leeming@lyx.org>
8966
8967         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8968
8969         * lyx_main.C (init): compile fix.
8970
8971 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8972
8973         * lyx_cb.C (start): boost.formatify
8974         do not include <iostream>
8975
8976         * lengthcommon.C: ws only
8977
8978         * boost-inst.C,BoostFormat.h: add more explict instantations
8979
8980 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8981
8982         * lots of files: handle USE_BOOST_FORMAT
8983
8984 2002-11-21  John Levon  <levon@movementarian.org>
8985
8986         * pspell.C: fix compile
8987
8988 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8989
8990         * lyxfunc.C (dispatch): use boost::format
8991         (open): ditto
8992         (doImport): ditto
8993
8994         * lyxfont.C (stateText): use boost::format
8995
8996         * lyx_main.C (LyX): use boost::format
8997         (init): ditto
8998         (queryUserLyXDir): ditto
8999         (readRcFile): ditto
9000         (parse_dbg): ditto
9001         (typedef boost::function): use the recommened syntax.
9002
9003         * importer.C (Import): use boost::format
9004
9005         * debug.C (showLevel): use boost::format
9006
9007         * converter.C (view): use boost::format
9008         (convert): ditto
9009         (move): ditto
9010         (scanLog): ditto
9011
9012         * bufferview_funcs.C (currentState): use boost::format
9013
9014         * bufferlist.C (emergencyWrite): use boost::format
9015
9016         * buffer.C (readLyXformat2): use boost::format
9017         (parseSingleLyXformat2Token): ditto
9018
9019         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9020
9021         * LaTeX.C (run): use boost::format
9022
9023         * Chktex.C (scanLogFile): use boost::format
9024
9025         * BufferView_pimpl.C (savePosition): use boost::format
9026         (restorePosition): ditto
9027         (MenuInsertLyXFile): ditto
9028
9029         * BoostFormat.h: help file for explicit instation.
9030
9031 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9032
9033         * tabular.C (latex): Support for block alignment in fixed width
9034         columns.
9035
9036 2002-11-17  John Levon  <levon@movementarian.org>
9037
9038         * BufferView_pimpl.C:
9039         * lyx_cb.C:
9040         * lyxfunc.C: split filedialog into open/save
9041
9042 2002-11-08  Juergen Vigna  <jug@sad.it>
9043
9044         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9045         by my last patch (hopefully).
9046
9047 2002-11-08  John Levon  <levon@movementarian.org>
9048
9049         * iterators.h:
9050         * iterators.C:
9051         * buffer.h:
9052         * buffer.C:
9053         * paragraph.h:
9054         * paragraph.C:
9055         * toc.h:
9056         * toc.C: ParConstIterator, and use it (from Lars)
9057
9058 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9059
9060         * lyxtextclass.[Ch]: revise and add doxygen comments
9061
9062 2002-11-07  John Levon  <levon@movementarian.org>
9063
9064         * text.C: fix progress value for spellchecker
9065
9066         * toc.C: fix navigate menu for insetwrap inside minipage
9067
9068         * paragraph_funcs.C: added FIXME for suspect code
9069
9070 2002-11-07  John Levon  <levon@movementarian.org>
9071
9072         * BufferView_pimpl.C: fix redrawing of insets
9073           on buffer switch
9074
9075 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9076
9077         * text2.C (updateCounters): fix bug 668
9078
9079 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9080
9081         * text3.C (dispatch): Do not make the buffer dirty when moving the
9082         cursor.
9083
9084 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9085
9086         * vc-backend.C: STRCONV
9087         (scanMaster): ditto
9088
9089         * text2.C (setCounter): STRCONV
9090
9091         * paragraph.C (asString): STRCONV
9092
9093         * lyxlength.C (asString): STRCONV
9094         (asLatexString): ditto
9095
9096         * lyxgluelength.C (asString): STRCONV
9097         (asLatexString): ditto
9098
9099         * lyxfunc.C (dispatch): STRCONV
9100         (open): ditto
9101
9102         * lyxfont.C (stateText): STRCONV
9103
9104         * importer.C (Import): STRCONV
9105
9106         * counters.C (labelItem): STRCONV
9107         (numberLabel): ditto
9108         (numberLabel): remove unused ostringstream o
9109
9110         * chset.C: STRCONV
9111         (loadFile): ditto
9112
9113         * bufferview_funcs.C (currentState): STRCONV
9114
9115         * buffer.C (readFile): STRCONV
9116         (asciiParagraph): ditto
9117         (makeLaTeXFile): ditto
9118
9119         * Spacing.C (writeEnvirBegin): STRCONV
9120
9121         * LaTeXFeatures.C (getLanguages): STRCONV
9122         (getPackages): ditto
9123         (getMacros): ditto
9124         (getBabelOptions): ditto
9125         (getTClassPreamble): ditto
9126         (getLyXSGMLEntities): ditto
9127         (getIncludedFiles): ditto
9128
9129         * LaTeX.C: STRCONV
9130         (run): ditto
9131         (scanAuxFile): ditto
9132         (deplog): ditto
9133
9134         * LString.h: add the STRCONV macros
9135
9136         * BufferView_pimpl.C (savePosition): STRCONV
9137         (restorePosition): ditto
9138         (MenuInsertLyXFile): ditto
9139
9140         * vc-backend.C (scanMaster): change from submatch[...] to
9141         submatch.str(...)
9142
9143         * funcrequest.C: include config.h
9144
9145         * factory.C: include config.h
9146
9147         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9148
9149         * box.C: include config.h
9150
9151         * LaTeX.C (scanAuxFile): change from submatch[...] to
9152         submatch.str(...)
9153         (deplog): ditto
9154
9155 2002-10-25  Angus Leeming  <leeming@lyx.org>
9156
9157         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9158
9159         * ispell.[Ch] (setError): new method.
9160         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9161         Use setError() insetead of goto END.
9162
9163         * lyx_cb.C (AutoSave): move out child process into new class
9164         AutoSaveBuffer.
9165
9166 2002-10-30  John Levon  <levon@movementarian.org>
9167
9168         * text3.C: make start appendix undoable
9169
9170 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9171
9172         * lyxlength.C (inPixels): Fix returned value.
9173
9174         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9175         environment.
9176
9177 2002-10-24  Angus Leeming  <leeming@lyx.org>
9178
9179         * lyxgluelength.h: no need to forward declare BufferParams
9180         or BufferView, so don't.
9181
9182 2002-10-21  John Levon  <levon@movementarian.org>
9183
9184         * BufferView.C: menuUndo ->undo, redo
9185
9186         * BufferView.h: document, remove dead, make some methods private
9187
9188         * paragraph_funcs.h:
9189         * paragraph_funcs.C:
9190         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9191
9192         * buffer.h:
9193         * buffer.C:
9194         * sgml.h:
9195         * sgml.C: move sgml open/close tag into sgml.C
9196
9197         * bufferview_funcs.h: unused prototype
9198
9199         * lyxfunc.h:
9200         * lyxfunc.C: remove unused
9201
9202         * lyxtext.h:
9203         * text.C: remove unused
9204
9205 2002-10-21  John Levon  <levon@movementarian.org>
9206
9207         * BufferView.h:
9208         * BufferView.C:
9209         * BufferView_pimpl.h:
9210         * BufferView_pimpl.C: fix mouse wheel handling based on
9211           patch from Darren Freeman
9212
9213 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9214
9215         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9216
9217 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9218
9219         * lyxlength.C (inPixels): Fix hanfling of negative length.
9220         Fix LyXLength::MU case.
9221
9222 2002-10-16  John Levon  <levon@movementarian.org>
9223
9224         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9225
9226 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9227
9228         * converter.C (view): add support for $$i (file name) and $$p
9229         (file path) for the viewer command. If $$i is not specified, then
9230         it is appended to the command (for compatibility with old syntax)
9231
9232 2002-10-14  Juergen Vigna  <jug@sad.it>
9233
9234         * undo_funcs.C (textHandleUndo): alter the order in which the
9235         new undopar is added to the LyXText, as we have to set first
9236         the right prev/next and then add it as otherwise the rebuild of
9237         LyXText is not correct. Also reset the cursor to the right paragraph,
9238         with this IMO we could remove the hack in "redoParagraphs()".
9239
9240 2002-10-09  Angus Leeming  <leeming@lyx.org>
9241
9242         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9243         to turn off an optimisation if a new inset is to be inserted.
9244
9245 2002-10-11 André Pönitz <poenitz@gmx.net>
9246
9247         * lyxtext.h: make some functions public to allow access
9248         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9249
9250 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9251
9252         * text3.C (dispatch): when changing layout, avoid an infinite loop
9253         [bug #652]
9254
9255 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9256
9257         * lyxrc.C (read): treat a viewer or converter command of "none" as
9258         if it were empty.
9259
9260         * MenuBackend.C (expandFormats): for an update, also allow the
9261         formats that are not viewable
9262
9263         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9264         script if it is newer than the lyxrc.defaults in user directory
9265
9266 2002-10-07 André Pönitz <poenitz@gmx.net>
9267
9268         * text.C: Vitaly Lipatov's small i18n fix
9269
9270 2002-09-25  Angus Leeming  <leeming@lyx.org>
9271
9272         * ispell.h: doxygen fix.
9273
9274 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9275
9276         * buffer.h (readFile): Add a new argument to the method, to allow
9277         reading of old-format templates.
9278
9279 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9280
9281         * toc.C (getTocList): Get TOC from InsetWrap.
9282
9283 2002-09-16  John Levon  <levon@movementarian.org>
9284
9285         * lyxfunc.C: check tabular for cut/copy too
9286
9287 2002-09-12  John Levon  <levon@movementarian.org>
9288
9289         * LyXAction.C: tidy
9290
9291         * factory.h:
9292         * factory.C: add header
9293
9294         * paragraph_funcs.h:
9295         * paragraph_funcs.C: cleanup
9296
9297 2002-09-11  John Levon  <levon@movementarian.org>
9298
9299         * PrinterParams.h: odd/even default to true
9300
9301 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9302
9303         * PrinterParams.h: update printer parameters for new xforms dialog
9304
9305 2002-09-11  Angus Leeming  <leeming@lyx.org>
9306
9307         * lyxserver.C (read_ready): re-write to make it more transparent
9308         and to make it work in coherent fashion under Tru64 Unix.
9309
9310 2002-09-11  André Pönitz <poenitz@gmx.net>
9311
9312         * commandtags.h:
9313         * LyXAction.C:
9314         * text3.C: implement LFUN_WORDSEL
9315
9316 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9317
9318         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9319         make floatlist_ a boost::shared_ptr<FloatList>
9320
9321         * lyxtextclass.C: include FloatList.h
9322         (LyXTextClass): initialize floatlist_
9323         (TextClassTags): add TC_NOFLOAT
9324         (Read): match "nofloat" to TC_NOFLOAT and use it.
9325         (readFloat): modify call to floatlist_
9326         (floats): ditto
9327         (floats): ditto
9328
9329         * FloatList.[Ch] (FloatList): remove commented out float
9330         initialization.
9331         (erase): new function
9332
9333 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9334
9335         * MenuBackend.C (expandToc): fix crash when there is no document
9336         open
9337
9338 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9339
9340         * many files: Add insetwrap.
9341
9342 2002-09-09  John Levon  <levon@movementarian.org>
9343
9344         * text2.C: remove confusing and awkward depth wraparound
9345
9346 2002-09-09  John Levon  <levon@movementarian.org>
9347
9348         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9349
9350         * buffer.h:
9351         * buffer.C: remove getIncludeonlyList()
9352
9353         * paragraph.C:
9354         * lyxfunc.C: remove headers
9355
9356 2002-09-09  Juergen Vigna  <jug@sad.it>
9357
9358         * text.C (getColumnNearX): fix form Michael this is most
9359         probably a cut&paste bug.
9360
9361 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9362
9363         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9364
9365         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9366         references, ws changes.
9367
9368         * text2.C (init): update counters after init
9369         (insertParagraph): no need to set counter on idividual paragraphs.
9370         (setCounter): access the counters object in the textclass object
9371         on in the buffer object.
9372         (updateCounters): ditto
9373
9374         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9375         shared_ptr<Counters> to avoid loading counters.h in all
9376         compilation units.
9377         (LyXTextClass): initialize ctrs_
9378         (TextClassTags): add TC_COUNTER, and ...
9379         (Read): use it here.
9380         (CounterTags): new tags
9381         (readCounter): new function
9382         (counters): new funtion
9383         (defaultLayoutName): return a const reference
9384
9385         * counters.C (Counters): remove contructor
9386         (newCounter): remove a couple of unneeded statements.
9387         (newCounter): simplify a bit.
9388         (numberLabel): some small formatting changes.
9389
9390         * buffer.[Ch]: remove all traces of counters, move the Counters
9391         object to the LyXTextClass.
9392
9393 2002-09-06  Alain Castera  <castera@in2p3.fr>
9394
9395         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9396         package to set the horizontal alignment on fixed width columns.
9397
9398         * lyx_sty.C:
9399         * lyx_sty.h: added tabularnewline macro def.
9400
9401         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9402
9403 2002-09-06  John Levon  <levon@movementarian.org>
9404
9405         * LyXAction.C: tooltips for sub/superscript
9406
9407         * MenuBackend.C: a bit more verbose
9408
9409         * lyxfunc.C: tiny clean
9410
9411         * undo_funcs.C: document undo_frozen
9412
9413 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9414
9415         * counters.C (Counters): add missing algorithm counter.
9416
9417         * text2.C (setCounter): lookup the counter with layouts latexname
9418         instead of by section number.
9419         (setCounter): use a hackish way to lookup the correct enum
9420         counter.
9421         a float name->type change
9422         reset enum couners with counter name directly instead of depth value.
9423
9424         * counters.C (Counters): remove the push_backs, change to use the
9425         float type not the float name.
9426         (labelItem): remove unused string, float name->type change
9427
9428         * counters.h: don't include vector, loose the enums and sects vectors
9429
9430 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9431
9432         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9433         (Read): add float->TC_FLOAT to textclassTags
9434         (Read): and handle it in the switch
9435         (readFloat): new function
9436
9437         * FloatList.C (FloatList): comment out the hardcoded float
9438         definitions.
9439
9440         * lyxlayout.h: ws change.
9441
9442 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9443
9444         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9445
9446 2002-09-03  Angus Leeming  <leeming@lyx.org>
9447
9448         * BufferView_pimpl.h: qualified name is not allowed in member
9449         declaration: WorkArea & Pimpl::workarea() const;
9450
9451         * factory.C: added using std::endl directive.
9452
9453         * text3.C: added using std::find and std::vector directives.
9454
9455 2002-08-29  André Pönitz <poenitz@gmx.net>
9456
9457         * lyxtext.h:
9458         * text2.C: remove unused member number_of_rows
9459
9460         * Makefile.am:
9461         * BufferView2.C: remove file, move contents to...
9462         * BufferView.C: ... here
9463
9464         * BufferView_pimpl.C:
9465         * factory.C: move more inset creation to factory
9466
9467         * vspace.C: avoid direct usage of LyXText, ws changes
9468
9469         * BufferView.[Ch]:
9470                 don't provide direct access to WorkArea, use two simple
9471                 acessors haveSelction() and workHeight() instead
9472
9473
9474 2002-08-29  John Levon  <levon@movementarian.org>
9475
9476         * BufferView_pimpl.C (dispatch): do not continue when
9477           no buffer
9478
9479 2002-08-28  André Pönitz <poenitz@gmx.net>
9480
9481         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9482
9483         * BufferView.h:
9484         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9485
9486 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9487
9488         * buffer.C: increment LYX_FORMAT to 221
9489
9490         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9491         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9492
9493         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9494
9495         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9496
9497 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9498
9499         * factory.C (createInset): use LyXTextClass::floats
9500
9501         * MenuBackend.C (expandFloatListInsert):
9502         (expandFloatInsert):
9503         (expandToc):
9504
9505         * text2.C (setCounter):
9506
9507         * LaTeXFeatures.C (useFloat):
9508         (getFloatDefinitions):
9509
9510         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9511
9512         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9513         floatlist_, with accessor floats().
9514
9515         * FloatList.h: remove global FloatList
9516
9517 2002-08-26  André Pönitz <poenitz@gmx.net>
9518
9519         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9520
9521         * BufferView.h:
9522         * BufferView2.C:
9523         * BufferView_pimpl.C:
9524         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9525
9526 2002-08-25  John Levon  <levon@movementarian.org>
9527
9528         * LyXAction.C: fix margin note description
9529
9530 2002-08-24  John Levon  <levon@movementarian.org>
9531
9532         * buffer.C:
9533         * bufferlist.C:
9534         * bufferview_funcs.C:
9535         * lyxfont.C:
9536         * undo_funcs.C: cleanups
9537
9538         * lyxfunc.C: disable CUT/COPY when no selection
9539
9540 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9541
9542         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9543         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9544
9545         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9546         Add backward compatibility to "mono", "gray" and "no".
9547
9548 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9549
9550         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9551         (and file_format >= 200).
9552
9553 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9554
9555         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9556
9557 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9558
9559         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9560
9561 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9562
9563         * BufferView_pimpl.C:
9564         * LyXAction.C:
9565         * buffer.C:
9566         * commandtags.h:
9567         * lyxfunc.C:
9568         * paragraph.[Ch]:
9569         * text2.C:
9570         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9571         inset and code to make it  work with the paragraph code. The inset
9572         can be anywhere in the paragraph, but will only do the expected
9573         thing in LaTeX if the layout file contains the parameter line
9574                         OptionalArgs    1
9575         (or more generally, a nonzero value) for that layout.
9576
9577 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9578
9579         * paragraph.h: remove the declaration of undefined counters class
9580         function.
9581
9582 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9583
9584         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9585         Dr. Richard Hawkins.
9586
9587 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9588
9589         * paragraph_funcs.h: remove some unneeded includes
9590
9591         * text.C (backspace): pasteParagraph now in global scipe
9592
9593         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9594         (pasteSelection): ditto
9595
9596         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9597         * paragraph_funcs.C (pasteParagraph): ... here
9598
9599 2002-08-20  André Pönitz <poenitz@gmx.net>
9600
9601         * commandtags.h: new LFUNs for swapping/copying table row/colums
9602
9603         * LyXAction.C:
9604         * lyxfunc.C: support for new lfuns
9605
9606 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9607
9608         * tabular.C:
9609         * buffer.[Ch]: remove NO_COMPABILITY stuff
9610
9611 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9612
9613         * boost.C (throw_exception): new file, with helper function for
9614         boost compiled without exceptions.
9615
9616         * paragraph.h:
9617         * lyxlength.C:
9618         * buffer.C:
9619         * ParameterStruct.h:
9620         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9621
9622         * bufferlist.C (emergencyWriteAll): use boost bind
9623
9624         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9625
9626         * text.C: include paragraph_funcs.h
9627         (breakParagraph): breakParagraph is now in global scope
9628
9629         * paragraph_funcs.[Ch]: new files
9630
9631         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9632         global scope
9633
9634         * buffer.C: include paragraph_funcs.h
9635         (insertStringAsLines): breakParagraph is now in global scope
9636
9637         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9638         paragraph_funcs.C
9639
9640         * CutAndPaste.C: include paragraph_funcs.h
9641         (cutSelection): breakParagraphConservative is now in global scope
9642         (pasteSelection): ditto
9643
9644         * buffer.h: declare oprator== and operator!= for
9645         Buffer::inset_iterator
9646
9647         * bufferlist.C (emergencyWrite): don't use fmt(...)
9648
9649         * text3.C: add using std::endl
9650
9651         * BufferView.C (moveCursorUpdate): remove default arg
9652
9653 2002-08-20  André Pönitz <poenitz@gmx.net>
9654
9655         * buffer.[Ch]: move inline functions to .C
9656
9657         * BufferView2.C:
9658         * BufferView_pimpl.C:
9659         * text.C:
9660         * buffer.[Ch]: use improved inset_iterator
9661
9662         * buffer.C:
9663         * paragraph.[Ch]: write one paragraph at a time
9664
9665 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9666
9667         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9668         style if style is not specified.
9669
9670 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9671
9672         * text2.C (setCounter): when searching for right label for a
9673         caption, make sure to recurse to parent insets (so that a caption
9674         in a minipage in a figure float works) (bug #568)
9675
9676 2002-08-20  André Pönitz <poenitz@gmx.net>
9677
9678         * text3.C: new file for LyXText::dispatch() and helpers
9679
9680         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9681
9682         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9683
9684 2002-08-19  André Pönitz <poenitz@gmx.net>
9685
9686         * lyxtext.h:
9687         * text.C: new LyXText::dispatch()
9688
9689         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9690
9691 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9692
9693         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9694
9695         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9696         Hebrew text.
9697
9698 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9699
9700         * Makefile.am: use $(variables) instead of @substitutions@
9701
9702 2002-08-15  André Pönitz <poenitz@gmx.net>
9703
9704         * lyxfunc.C:
9705         * BufferView_pimpl.C: streamlining mathed <-> outer world
9706         interaction
9707
9708         * commandtags.h:
9709         * LyXAction.C: remove unused LFUN_MATH
9710
9711 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9712
9713         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9714
9715 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9716
9717         * paragraph.C (Paragraph): reformat a bit
9718         (cutIntoMinibuffer): use builtin InsetList function instad of
9719         doing it manually.
9720         (getInset): ditto
9721
9722         * buffer.C: include boost/bind.hpp, add using std::for_each
9723         (writeFileAscii): use ParagraphList iterators
9724         (validate): use for_each for validate traversal of paragraphs
9725         (getBibkeyList): use ParagraphList iterators
9726         (resizeInsets): use for_each to resizeInsetsLyXText for all
9727         paragraphs.
9728         (getParFromID): use ParagraphList iterators
9729
9730         * BufferView2.C (lockInset): use paragraph list and iterators
9731
9732 2002-08-14  John Levon  <levon@movementarian.org>
9733
9734         * lyxserver.C: remove spurious xforms include
9735
9736 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9737
9738         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9739
9740 2002-08-13  André Pönitz <poenitz@gmx.net>
9741
9742         * LyXAction.[Ch]:
9743         * lyxfunc.C: further cleaning
9744
9745 2002-08-13  André Pönitz <poenitz@gmx.net>
9746
9747         * funcrequest.h: new constructor
9748
9749         * funcrequest.C: move stuff here from .h
9750
9751         * Makefile.am:
9752         * BufferView_pimpl.C:
9753         * LyXAction.C:
9754         * toc.C:
9755         * lyxfunc.C: subsequent changes
9756
9757         * lyxfunc.h: new view() member function
9758
9759         * lyxfunc.C: subsequent changes
9760
9761 2002-08-13  Angus Leeming  <leeming@lyx.org>
9762
9763         * BufferView2.C:
9764         * BufferView_pimpl.C:
9765         * buffer.C:
9766         * converter.C:
9767         * importer.C:
9768         * lyxfunc.C:
9769         * lyxvc.C:
9770         * toc.C:
9771         * vc-backend.C:
9772         changes due to the changed LyXView interface that now returns references
9773         to member variables not pointers.
9774
9775 2002-08-13  Angus Leeming  <leeming@lyx.org>
9776
9777         * WordLangTuple (word, lang_code): return references to strings,
9778         not strings.
9779
9780         * BufferView.h:
9781         * SpellBase.h:
9782         * lyxtext.h: forward-declare WordLangTuple.
9783
9784         * BufferView2.C:
9785         * ispell.C:
9786         * pspell.C:
9787         * text.C: #include "WordLangTuple.h".
9788
9789         * lyxtext.h:
9790         * text.C: (selectNextWordToSpellcheck): constify return type.
9791
9792 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9793
9794         * buffer.C:
9795         * buffer.h:
9796         * lyxtext.h:
9797         * paragraph.C:
9798         * paragraph_pimpl.h:
9799         * text.C:
9800         * text2.C:
9801         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9802         suggested by Angus.
9803         Made updateCounter always count from start of buffer, and removed
9804         second argument (par).
9805         Reverted floats number display to '#'. Perhaps I'll try again when the
9806         code base is sanitized a bit.
9807
9808 2002-08-12  Angus Leeming  <leeming@lyx.org>
9809
9810         * buffer.[Ch] (getLabelList): constify.
9811
9812 2002-08-07  André Pönitz <poenitz@gmx.net>
9813
9814         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9815
9816         * funcrequest.h: extension to keep mouse (x,y) position
9817
9818 2002-08-12  Juergen Vigna  <jug@sad.it>
9819
9820         * BufferView2.C (insertErrors): forbid undo when inserting error
9821         insets.
9822
9823         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9824
9825 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9826
9827         * ParagraphList.[Ch]: new files
9828
9829         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9830
9831         * BufferView2.C (lockInset): ParagraphList changes
9832         * toc.C: ditto
9833         * text2.C: ditto
9834         * bufferlist.C: ditto
9835         * buffer.h: ditto
9836         * buffer.C: ditto
9837
9838 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9839
9840         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9841         unused class variable counter_,
9842
9843         * paragraph.[Ch] (getFirstCounter): delete unused function
9844
9845         * counters.C: include LAssert.h
9846         (reset): add a new function with no arg, change other version to
9847         not have def. arg and to not allow empty arg.
9848
9849         * text2.C (setCounter): remove empty arg from call to Counters::reset
9850
9851 2002-08-11  John Levon  <levon@movementarian.org>
9852
9853         * Makefile.am: add WordLangTuple.h
9854
9855 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9856
9857         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9858         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9859
9860         * insets/insettext.C: InsetList changes
9861
9862         * graphics/GraphicsSupport.C (operator()): InsetList changes
9863
9864         * toc.C (getTocList): InsetList changes
9865
9866         * paragraph_pimpl.[Ch]: InsetList changes
9867
9868         * paragraph.[Ch]: InsetList changes
9869
9870         * buffer.C (inset_iterator): InsetList changes
9871         (setParagraph): ditto
9872         * buffer.h (inset_iterator): ditto
9873         * iterators.C (operator++): ditto
9874         * iterators.h: ditto
9875
9876         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9877
9878         * InsetList.[Ch]: new files, most InsetList handling moved out of
9879         paragraph.C.
9880
9881         * BufferView2.C (removeAutoInsets): InsetList changes
9882         (lockInset): ditto
9883         (ChangeInsets): ditto
9884
9885 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9886
9887         * paragraph_pimpl.h (empty): new function
9888
9889         * paragraph.[Ch] (empty): new function
9890
9891         * other files: use the new Paragraph::empty function
9892
9893 2002-08-09  John Levon  <levon@movementarian.org>
9894
9895         * lyxtext.h: remove unused refresh_height
9896
9897 2002-08-09  John Levon  <levon@movementarian.org>
9898
9899         * Makefile.am:
9900         * sgml.h:
9901         * sgml.C:
9902         * buffer.C:
9903         * paragraph.h:
9904         * paragraph.C: move sgml char escaping out of paragraph
9905
9906         * paragraph.h:
9907         * paragraph.C: remove id setter
9908
9909         * buffer.C:
9910         * paragraph.C:
9911         * paragraph_pimpl.C: remove dead tex_code_break_column
9912
9913         * bufferview_funcs.C: small cleanup
9914
9915         * lyxfunc.C: remove dead proto
9916
9917         * lyxtext.h: make some stuff private. Remove some dead stuff.
9918
9919         * lyxgluelength.C: make as[LyX]String() readable
9920
9921 2002-08-08  John Levon  <levon@movementarian.org>
9922
9923         * LyXAction.h:
9924         * LyXAction.C:
9925         * MenuBackend.C:
9926         * ToolbarDefaults.C:
9927         * lyxfunc.C:
9928         * lyxrc.C:
9929         * toc.C: lyxaction cleanup
9930
9931 2002-08-08  John Levon  <levon@movementarian.org>
9932
9933         * BufferView2.C: small cleanup
9934
9935         * lyxfind.h:
9936         * lyxfind.C: move unnecessary header into the .C
9937
9938 2002-08-08  John Levon  <levon@movementarian.org>
9939
9940         * funcrequest.h: just tedious nonsense
9941
9942         * lyx_main.h:
9943         * lyx_main.C: cleanups
9944
9945         * buffer.C:
9946         * vspace.C: remove dead header lyx_main.h
9947
9948 2002-08-07  Angus Leeming  <leeming@lyx.org>
9949
9950         * Paragraph.[Ch]:
9951         * paragraph_pimpl.h:
9952         Forward declare class Counters in paragraph.h by moving the ctrs member
9953         variable into Paragraph::Pimpl.
9954         (counters): new method, returning a reference to pimpl_->ctrs.
9955
9956         * text2.C: ensuing changes.
9957
9958 2002-08-07  John Levon  <levon@movementarian.org>
9959
9960         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9961
9962         * BufferView_pimpl.C: announce X selection on double/triple
9963           click
9964
9965         * lyx_main.C: use correct bool in batch dispatch
9966
9967         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9968
9969 2002-08-07  André Pönitz <poenitz@gmx.net>
9970
9971         * funcrequest.h: new class to wrap a kb_action and its argument
9972
9973         * BufferView.[Ch]:
9974         * BufferView_pimpl[Ch]:
9975         * LaTeX.C:
9976         * LyXAction.[Ch]:
9977         * lyxfunc.[Ch]:
9978         * lyxrc.C: subsequent changes
9979
9980
9981 2002-08-07  John Levon  <levon@movementarian.org>
9982
9983         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9984           document options change.
9985
9986 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9987
9988         * counters.[Ch]
9989         * text2.C
9990         * paragraph.[Ch]
9991         * makefile.am: move counters functionality over from
9992         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9993
9994 2002-08-06  John Levon  <levon@movementarian.org>
9995
9996         * WordLangTuple.h: new file for word + language code tuple
9997
9998         * SpellBase.h:
9999         * pspell.h:
10000         * pspell.C:
10001         * ispell.h:
10002         * ispell.C:
10003         * lyxtext.h:
10004         * text.C:
10005         * text2.C:
10006         * BufferView.h:
10007         * BufferView2.C: use WordLangTuple
10008
10009         * layout.h:
10010         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10011
10012 2002-08-06  John Levon  <levon@movementarian.org>
10013
10014         * lyx_main.C: fix cmdline batch handling
10015
10016 2002-08-06  André Pönitz <poenitz@gmx.net>
10017
10018         * lyxrc.C: set default for show_banner to true
10019
10020 2002-08-06  John Levon  <levon@movementarian.org>
10021
10022         * pspell.C: fix a crash, and allow new aspell to work
10023
10024 2002-08-06  John Levon  <levon@movementarian.org>
10025
10026         * lyxfunc.C:
10027         * kbmap.C: small cleanup
10028
10029         * vspace.h:
10030         * vspace.C: add const
10031
10032 2002-08-05  John Levon  <levon@movementarian.org>
10033
10034         * LyXAction.C: back to tabular-insert
10035
10036 2002-08-04  John Levon  <levon@movementarian.org>
10037
10038         * BufferView.h:
10039         * BufferView.C: cosmetic change
10040
10041         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10042
10043         * bufferlist.C:
10044         * buffer.h:
10045         * buffer.C:
10046         * lyxcb.h:
10047         * lyxcb.C:
10048         * lyxserver.C:
10049         * lyxvc.C:
10050         * vc-backend.C:
10051         * BufferView2.C: purge all "Lyx" not "LyX" strings
10052
10053         * lyxcursor.h:
10054         * lyxcursor.C: attempt to add some documentation
10055
10056         * lyxfunc.C:
10057         * commandtags.h:
10058         * LyXAction.C:
10059         * ToolbarDefaults.C:
10060         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10061           merge with LFUN_TABULAR_INSERT
10062
10063         * Makefile.am:
10064         * SpellBase.h:
10065         * ispell.h:
10066         * ispell.C:
10067         * pspell.h:
10068         * pspell.C: split up i/pspell implementations into separate
10069           files, many cleanups
10070
10071         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10072
10073         * text2.C: some cleanup
10074
10075         * lyxfunc.C: don't check for isp_command == "none" any more, it
10076           didn't make any sense
10077
10078 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10079
10080         * counters.[Ch]
10081         * text2.C
10082         * paragraph.[Ch]
10083         * makefile.am: move counters functionality over
10084         from text2.C/paragraph.[Ch] to counters.[Ch], and
10085         make proper C++.
10086 2002-08-02  John Levon  <levon@movementarian.org>
10087
10088         * buffer.C: s/lyxconvert/lyx2lyx/
10089
10090 2002-08-02  Angus Leeming  <leeming@lyx.org>
10091
10092         * lyxlex.C: revert John's change as it breaks reading of the user
10093         preamble.
10094
10095 2002-08-02  Angus Leeming  <leeming@lyx.org>
10096
10097         * importer.C (Import):
10098         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10099         changes due to LyXView::view() now returning a boost::shared_ptr.
10100
10101 2002-08-02  John Levon  <levon@movementarian.org>
10102
10103         * lyxlex.C: small cleanup
10104
10105 2002-08-02  John Levon  <levon@movementarian.org>
10106
10107         * text2.C (status): small cleanup, no logic change
10108
10109 2002-08-01  John Levon  <levon@movementarian.org>
10110
10111         * buffer.h:
10112         * buffer.C (writeFile): don't output alerts, caller
10113           handles this
10114
10115         * bufferlist.C:
10116         * lyx_cb.C: from above
10117
10118         * lyxfunc.C: allow to open non-existent files
10119
10120 2002-07-31  John Levon  <levon@movementarian.org>
10121
10122         * lyxserver.C: don't let incidental errors get
10123           in the way (errno)
10124
10125 2002-07-30  John Levon  <levon@movementarian.org>
10126
10127         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10128
10129 2002-07-30  John Levon  <levon@movementarian.org>
10130
10131         * lyxserver.h:
10132         * lyxserver.C: remove I/O callback too
10133
10134 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10137         log.
10138
10139 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10140
10141         * many files: strip,frontStrip -> trim,ltrim,rtrim
10142
10143 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10144
10145         * PrinterParams.h: remove extern containsOnly, and include
10146         support/lstrings.h instead.
10147
10148         * LaTeX.C (scanAuxFile): modify because of strip changes
10149         (deplog): ditto
10150         * buffer.C (makeLaTeXFile): ditto
10151         * bufferparams.C (writeFile): ditt
10152         * lyxfont.C (stateText): ditto
10153         * lyxserver.C (read_ready): ditto
10154         * vc-backend.C (scanMaster): ditto
10155
10156         * BufferView_pimpl.h: ws changes
10157
10158         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10159
10160 2002-07-26  André Pönitz <poenitz@gmx.net>
10161
10162         * kb_sequence.C: remove unnedred usings
10163
10164 2002-07-26  Juergen Vigna  <jug@sad.it>
10165
10166         * lyxfind.C (LyXReplace): we have to check better if the returned
10167         text is not of theLockingInset()->getLockingInset().
10168
10169 2002-07-25  Juergen Vigna  <jug@sad.it>
10170
10171         * lyxfind.C (LyXReplace): don't replace if we don't get the
10172         right LyXText.
10173
10174         * undo_funcs.C (createUndo): remove debugging code.
10175
10176 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10177
10178         * buffer.C (parseSingleLyXformat2Token): Use default placement
10179         when reading old floats.
10180
10181         * FloatList.C (FloatList): Change the default placement of figure
10182         and tables to "tbp".
10183
10184 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * MenuBackend.C: using std::max
10187
10188 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10189
10190         * MenuBackend.C (expandToc):
10191         (expandToc2): code moved from xforms menu frontend. It is now
10192         generic and TOCs are transparent to menu frontends.
10193
10194 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10195
10196         * toc.C (getTocList): protect against buf=0
10197
10198         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10199         Menu as first parameter. Now, this calls itself recursively to
10200         expand a whole tree (this will be useful for TOC handling)
10201         (expandFloatInsert): remove 'wide' version of floats
10202
10203         * MenuBackend.h (submenuname): returns the name of the submenu.
10204         (submenu): returns the submenu itself, provided it has been
10205         created by MenuBackend::expand
10206
10207 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10210         insets which have noFontChange == true. (bug #172)
10211
10212 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10213
10214         * BufferView_pimpl.C: add connection objects and use them...
10215         (Pimpl): here.
10216
10217 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * MenuBackend.C (expandLastfiles):
10220         (expandDocuments):
10221         (expandFormats):
10222         (expandFloatListInsert):
10223         (expandFloatInsert):
10224         (expand): split expand in parts
10225
10226 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * lyx_gui.C: use lyx_gui::exit()
10229
10230 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * LyXAction.C: show the failing pseudo action
10233
10234 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10235
10236         * buffer.C (readFile): Run the lyxconvert script in order to read
10237         old files.
10238
10239 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10240
10241         * LyXAction.C:
10242         * commandtags.h:
10243         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10244
10245 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10246
10247         * LyXAction.C:
10248         * commandtags.h:
10249         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10250
10251 2002-07-22  Herbert Voss  <voss@lyx.org>
10252
10253         * lengthcommon.C:
10254         * lyxlength.[Ch]: add support for the vertical lengths
10255
10256 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * toc.[Ch]: std:: fixes
10259
10260 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10261
10262         * lyxrc.C: do not include lyx_main.h
10263
10264         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10265         for layouts
10266
10267         * lyxrc.C:
10268         * encoding.C:
10269         * bufferlist.C:
10270         * BufferView2.C: include "lyxlex.h"
10271
10272         * tabular.h:
10273         * bufferparams.h: do not #include "lyxlex.h"
10274
10275         * lyxtextclasslist.C (Add): remove method
10276         (classlist): renamed to classlist_
10277
10278         * paragraph_pimpl.C:
10279         * paragraph.C:
10280         * text2.C:
10281         * CutAndPaste.C:
10282         * bufferview_funcs.C:
10283         * bufferlist.C:
10284         * text.C:
10285         * LaTeXFeatures.C:
10286         * buffer.C:
10287         * toc.C (getTocList): use BufferParams::getLyXTextClass
10288
10289         * toc.C (getTocList): use InsetFloat::addToToc
10290
10291         * toc.[Ch]: new files, containing helper functions to handle table
10292         of contents
10293
10294         * lyxfunc.C (dispatch): no need to remove spaces around command
10295         given as a string
10296         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10297         first command of the sequence; it is not very clever, but I do not
10298         have a better idea, actually
10299
10300         * LyXAction.C (LookupFunc): make sure to remove space at the
10301         beginning and end of the command
10302
10303 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * MenuBackend.C (getMenubar): new method: return the menubar of
10306         this menu set
10307         (read): treat differently reading of menu and menubar (in
10308         particular, the menubar has no name now)
10309         (Menu::menubar): remove
10310
10311         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10312         saving is finished
10313
10314 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10315
10316         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10317         a bibitem inset in a RTL paragraph.
10318
10319 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * paragraph_pimpl.C: constify
10322
10323         * BufferView_pimpl.C:
10324         * LaTeX.C:
10325         * lyxfunc.C: fix dispatch in a nicer way
10326
10327 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * lyxfunc.C (dispatch):
10330         * BufferView_pimpl.C:
10331         * BufferView_pimpl.h:
10332         * BufferView.C:
10333         * BufferView.h: rename Dispatch() to dispatch()
10334
10335         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10336
10337         * lyxlayout.C (Read): honor DependsOn tag
10338
10339         * lyxlayout.[Ch] (depends_on): new method
10340
10341         * version.C.in: update lyx_docversion
10342
10343         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10344
10345         * paragraph.C (validate): remove from here...
10346         * paragraph_pimpl.C (validate): ... and move here
10347         (isTextAt): make it const
10348
10349         * buffer.C (getLists): ws cleanup
10350
10351 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10352
10353         * language.C (read): Use iso8859-1 encoding in latex_lang
10354         (this prevents LyX from crashing when using iso10646-1 encoding).
10355
10356 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10357
10358         * text2.C (toggleInset): if cursor is inside an inset, close the
10359         inset and leave cursor _after_ it
10360
10361 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * lyxfunc.C: move minibuffer completion handling out of here
10364
10365 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * BufferView_pimpl.C:
10368         * LaTeX.C: fix dispatch calls
10369
10370 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10371
10372         * text.C (drawChars): Fix Arabic text rendering.
10373
10374 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * LyXAction.C:
10377         * commandtags.h:
10378         * lyxfunc.C: remove message-push/pop
10379
10380         * lyxserver.C:
10381         * lyxfunc.h:
10382         * lyxfunc.C: rationalise some code by removing verboseDispatch
10383           in favour of a bool argument to dispatch()
10384
10385 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10386
10387         * lyx_main.C (init): make sure to read symlinks as absolute paths
10388
10389 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * lyxfunc.h:
10392         * lyxfunc.C: no need for commandshortcut to be a member
10393
10394 2002-07-15  André Pönitz <poenitz@gmx.net>
10395
10396         * converter.C: add support for $$s (scripts from lib/scripts dir)
10397         * lyx_main.C: white space
10398
10399 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10400
10401         * bufferlist.C:
10402         * lyxrc.h:
10403         * lyxrc.C: remove second exit confirmation
10404
10405 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * BufferView.h:
10408         * BufferView.C:
10409         * BufferView2.C:
10410         * BufferView_pimpl.h:
10411         * BufferView_pimpl.C:
10412         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10413
10414 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10415
10416         * MenuBackend.C (expand): add numeric shortcuts to document menu
10417
10418         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10419
10420 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10421
10422         * lyxfont.C (setLyXFamily):
10423         (setLyXSeries):
10424         (setLyXShape):
10425         (setLyXSize):
10426         (setLyXMisc):
10427         (lyxRead):
10428         * debug.C (value):
10429         * buffer.C (asciiParagraph): use ascii_lowercase
10430
10431 2002-07-15  Mike Fabian  <mfabian@suse.de>
10432
10433         * lyxlex_pimpl.C (search_kw):
10434         * lyxlex.C (getLongString):
10435         * converter.h (operator<):
10436         * converter.C (operator<):
10437         * buffer.C (parseSingleLyXformat2Token):
10438         (asciiParagraph):
10439         * ToolbarDefaults.C (read):
10440         * MenuBackend.C (checkShortcuts):
10441         (read):
10442         * LColor.C (getFromGUIName):
10443         (getFromLyXName): use the compare_ascii_no_case instead of
10444         compare_no_case, because in turkish, 'i' is not the lowercase
10445         version of 'I', and thus turkish locale breaks parsing of tags.
10446
10447 2002-07-16  Angus Leeming  <leeming@lyx.org>
10448
10449         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10450         now takes a Buffer const & argument.
10451
10452 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * BufferView.C (resize): check there's a buffer to resize
10455
10456 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * lyxfunc.C: remove dead code
10459
10460         * lyxserver.h:
10461         * lyxserver.C: use lyx_guii::set_read_callback
10462
10463 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10464
10465         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10466         an inset in a RTL paragraph.
10467
10468 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * lyxfunc.C: repaint after a font size update
10471
10472 2002-07-15  André Pönitz <poenitz@gmx.net>
10473
10474         * lyxlength.C: inBP should be able to return negative values
10475
10476 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * lyxfunc.C: use lyx_gui::update_fonts()
10479
10480 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * lyxfunc.C: use lyx_gui::update_color()
10483
10484 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * bufferlist.C:
10487         * lyxfunc.h:
10488         * lyxfunc.C:
10489         * lyxrc.h:
10490         * lyxrc.C: remove file->new asks for name option, and let
10491           buffer-new take an argument
10492
10493 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * BufferView_pimpl.C: remove unneeded extra repaint()
10496
10497 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * LyXAction.C: allow command-sequence with NoBuffer
10500
10501         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10502
10503 2002-07-10  Angus Leeming  <leeming@lyx.org>
10504
10505         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10506
10507 2002-07-09  Angus Leeming  <leeming@lyx.org>
10508
10509         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10510
10511 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * lengthcommon.h: whitespace
10514
10515         * lyxfunc.C: update scrollbar after goto paragraph
10516
10517         * lyxtext.h: factor out page break drawing, and fix it so
10518           page break/added space paints as selected nicely
10519
10520 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * BufferView_pimpl.C: add FIXMEs, clean up a little
10523
10524 2002-07-09  André Pönitz <poenitz@gmx.net>
10525
10526         * lyxfont.[Ch]: support for wasy symbols
10527
10528 2002-07-08  André Pönitz <poenitz@gmx.net>
10529
10530         * BufferView_pimpl.C: apply John's patch for #93.
10531
10532 2002-07-05  Angus Leeming  <leeming@lyx.org>
10533
10534         * BufferView_pimpl.C (buffer): generate previews if desired.
10535
10536         * LColor.h: add "preview" to the color enum.
10537
10538         * LColor.C (LColor): add a corresponding entry to the items array.
10539
10540         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10541         with this buffer.
10542
10543 2002-07-05  Angus Leeming  <leeming@lyx.org>
10544
10545         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10546         The body of the code is now in the method that is passed an ostream &
10547         rather than a file name.
10548         Pass an additional only_preamble parameter, useful for the forthcoming
10549         preview stuff.
10550
10551 2002-07-03  André Pönitz <poenitz@gmx.net>
10552
10553         * lyxfunc.C: simplify getStatus() a bit for math stuff
10554
10555 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10558
10559 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10560
10561         * text.C (changeRegionCase): do not change case of all the
10562         document when region ends at paragraph end (bug #461)
10563
10564 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10565
10566         * paragraph.C (startTeXParParams):
10567         (endTeXParParams): add \protect when necessary
10568
10569 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10570
10571         * BufferView_pimpl.C (workAreaExpose): remove warning
10572
10573 2002-06-27  Angus Leeming  <leeming@lyx.org>
10574
10575         * Makefile.am: add lyxlayout_ptr_fwd.h.
10576
10577 2002-06-26  André Pönitz <poenitz@gmx.net>
10578
10579         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10580
10581 2002-06-25  Angus Leeming  <leeming@lyx.org>
10582
10583         * lyxfunc.C (dispatch): Comment out the call to
10584         grfx::GCache::changeDisplay. The method no longer exists now that the
10585         pixmap generation part of the graphics loader has been moved into
10586         InsetGraphics.
10587
10588 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10589
10590         * text2.C: layout as layout
10591
10592         * text.C: layout as layout
10593
10594         * tabular.C (OldFormatRead): layout as layout
10595
10596         * paragraph_pimpl.C (TeXDeeper): layout as layout
10597         (realizeFont): layout as layout
10598
10599         * paragraph.C (writeFile): layout as layout
10600         (validate): layout as layout
10601         (getFont): layout as layout
10602         (getLabelFont): layout as layout
10603         (getLayoutFont): layout as layout
10604         (breakParagraph): layout as layout
10605         (stripLeadingSpaces): layout as layout
10606         (getEndLabel): layout as layout
10607         (getMaxDepthAfter): layout as layout
10608         (applyLayout): layout as layout
10609         (TeXOnePar): layout as layout
10610         (simpleTeXOnePar): layout as layout
10611         (TeXEnvironment): layout as layout
10612         (layout): layout as layout
10613         (layout): layout as layout
10614
10615         * lyxtextclass.C (compare_name): new functor to work with
10616         shared_ptr, layout as layout
10617         (Read): layout as layout
10618         (hasLayout): layout as layout
10619         (operator): layout as layout
10620         (delete_layout): layout as layout
10621         (defaultLayout): layout as layout
10622
10623         * lyxlayout_ptr_fwd.h: new file
10624
10625         * lyxlayout.C (Read): layout as layout
10626
10627         * lyx_cb.C (MenuInsertLabel): layout as layout
10628
10629         * bufferlist.C (newFile): layout as layout
10630
10631         * buffer.C (readLyXformat2): layout as layout
10632         (parseSingleLyXformat2Token): layout as layout
10633         (insertStringAsLines): layout as layout
10634         (asciiParagraph): layout as layout
10635         (latexParagraphs): layout as layout
10636         (makeLinuxDocFile): layout as layout
10637         (simpleLinuxDocOnePar): layout as layout
10638         (makeDocBookFile): layout as layout
10639         (simpleDocBookOnePar): layout as layout
10640         (getLists): layout as layout
10641
10642         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10643
10644         * CutAndPaste.C (cutSelection): layout as layout
10645         (pasteSelection): layout as layout
10646         (SwitchLayoutsBetweenClasses): layout as layout
10647
10648         * BufferView_pimpl.C (Dispatch): layout as layout
10649         (smartQuote): layout as layout
10650
10651         * BufferView2.C (unlockInset): layout as layout
10652
10653 2002-06-24  André Pönitz <poenitz@gmx.net>
10654
10655         * lyxfunc.C: fix #487
10656
10657 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10658
10659         * lyxrc.h:
10660         * lyxrc.C:
10661         * lyxfunc.C: remove display_shortcuts, show_banner
10662
10663 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * Buffer_pimpl.C: oops, update on resize
10666
10667 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * buffer.C:
10670         * converter.C:
10671         * exporter.C:
10672         * lyxfunc.C:
10673         * BufferView.h:
10674         * BufferView.C: use repaint()
10675
10676         * BufferView_pimpl.h:
10677         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10678           as it's a clearer description. Remove superfluous
10679           redraws.
10680
10681 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * text.C: fix bug 488. Not ideal, but getting
10684           getWord() to work properly for the insets that
10685           matter is more difficult ...
10686
10687 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * BufferView_pimpl.C:
10690         * LyXAction.C:
10691         * commandtags.h:
10692         * lyxfunc.C: remove the six million index lyxfuncs to just
10693           one, and DTRT (bug 458)
10694
10695 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * BufferView.h:
10698         * BufferView.C:
10699         * BufferView_pimpl.h:
10700         * BufferView_pimpl.C: clean up resize() stuff,
10701           and unnecessary updateScreen()s
10702
10703 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * BufferView.h:
10706         * BufferView.C:
10707         * BufferView_pimpl.h:
10708         * BufferView_pimpl.C:
10709         * lyxfind.h:
10710         * lyxfind.C:
10711         * minibuffer.C: remove focus management of workarea,
10712           not needed. Use screen's greyOut()
10713
10714 2002-06-17  Herbert Voss  <voss@lyx.org>
10715
10716         * converter.C: (convert) do not post a message, when converting
10717         fails, let the calling function decide what to do in this case
10718
10719 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * lyxfunc.C: tidy up a little
10722
10723 2002-06-16    <alstrup@diku.dk>
10724
10725         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10726         Got rid of FORMS_H_LOCATION include. Now we are
10727         GUII.
10728
10729 2002-06-15  LyX Development team  <lyx@rilke>
10730
10731         * buffer.[Ch] (sgmlOpenTag):
10732         (sgmlCloseTag): Added support for avoiding pernicious mixed
10733         content. Return number of lines written.
10734
10735         (makeLinuxDocFile):
10736         (makeDocBookFile): Fixed calls to sgml*Tag.
10737         Simple white space clean.
10738
10739         (simpleDocBookOnePar): Simple white space clean.
10740
10741         * tabular.[Ch] (docBook): Renamed to docbook and got another
10742         argument to related with the pernicious mixed content.
10743
10744         (docbookRow): Fixed calls for docbook inset method.
10745
10746 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10747
10748         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10749         so it's X11 independent.
10750
10751         * kb*.[Ch]: ditto.
10752
10753         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10754
10755 2002-06-15  Lyx Development team  <lyx@electronia>
10756
10757         * intl.h: Renamed getTrans to getTransManager.
10758
10759 2002-06-14  Angus Leeming  <leeming@lyx.org>
10760
10761         * Makefile.am: nuke forgotten stl_string_fwd.h.
10762
10763 2002-06-12  Angus Leeming  <leeming@lyx.org>
10764
10765         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10766
10767 2002-06-13  Angus Leeming  <leeming@lyx.org>
10768
10769         * LaTeX.C:
10770         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10771
10772 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10773
10774         * kbmap.C (getiso): add support for cyrillic and greek
10775
10776 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * BufferView.h:
10779         * BufferView.C:
10780         * BufferView_pimpl.h:
10781         * BufferView_pimpl.C: move bogus scrolling logic
10782           to xforms
10783
10784 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * lyxfunc.C:
10787         * BufferView_pimpl.C: view->resize() change
10788
10789 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * BufferView_pimpl.C: topCursorVisible
10792           prototype change
10793
10794 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10795
10796         * Makefile.am:
10797         * lyx_gui.h:
10798         * lyx_gui.C: move to frontends/
10799
10800         * main.C:
10801         * lyx_main.h:
10802         * lyx_main.C: changes from above
10803
10804 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * intl.C:
10807         * intl.h:
10808         * kbmap.C:
10809         * kbsequence.C:
10810         * lyx_cb.C:
10811         * lyx_main.C: minor tidy
10812
10813 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * BufferView_pimpl.h:
10816         * BufferView_pimpl.C:
10817         * BufferView.h:
10818         * BufferView.C: make painter() const,
10819           remove dead code
10820
10821         * BufferView2.C: use screen() accessor
10822
10823         * lyx_main.h:
10824         * lyx_main.C: some minor cleanup
10825
10826 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * BufferView_pimpl.h:
10829         * BufferView_pimpl.C: remove enter/leaveView,
10830           use workHeight()
10831
10832 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * BufferView.h:
10835         * BufferView.C:
10836         * BufferView2.C:
10837         * BufferView_pimpl.h:
10838         * BufferView_pimpl.C: only construct screen once,
10839           rename
10840
10841         * lyxrc.C: remove pointless comment
10842
10843 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * BufferView.h:
10846         * BufferView.C: remove active() and belowMouse()
10847
10848         * BufferView_pimpl.h:
10849         * BufferView_pimpl.C: use workarea() not workarea_,
10850           and make it use a scoped_ptr instead
10851
10852 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * lyx_gui.C: add debug message on BadWindow
10855
10856 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10857
10858         * sp_spell.C: fdopen is not part of the C++ standard.
10859
10860         * paragraph.C (InsetIterator): use >= instead of ==
10861
10862 2002-06-07  Angus Leeming  <leeming@lyx.org>
10863
10864         Fixes needed to compile with Compaq cxx 6.5.
10865         * BufferView_pimpl.C:
10866         * DepTable.C:
10867         * buffer.C:
10868         * converter.C:
10869         * encoding.C:
10870         * lyx_gui.C:
10871         * lyx_main.C:
10872         * lyxtextclasslist.C:
10873         * minibuffer.C:
10874         * sp_spell.C:
10875         * tabular_funcs.C:
10876         * vc-backend.C:
10877         all c-library variables have been moved into namespace std. Wrap
10878         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10879
10880         * lyxlength.C:
10881         * tabular-old.C:
10882         * tabular.C:
10883         Add a using std::abs declaration.
10884
10885         * kbmap.h (modifier_pair):
10886         * paragraph.h (InsetTable, InsetList):
10887         * lyxfont.h (FontBits):
10888         type definition made public.
10889
10890         * bufferlist.C (emergencyWriteAll): the compiler complains that
10891         there is more than one possible lyx::class_fun template to choose from.
10892         I re-named the void specialisation as lyx::void_class_fun.
10893
10894         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10895
10896         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10897         the compiler is is unable to find tostr in write_attribute.
10898
10899 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10900
10901         * buffer.C (sgmlError): hide #warning
10902
10903 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10904
10905         * xtl/*: get rid of xtl, which is not in use anyway
10906
10907         * LyXAction.C (init):
10908         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10909         were unimplemented xtl experimentation
10910
10911 2002-06-04  André Pönitz <poenitz@gmx.net>
10912
10913         * lyxfunc.C: disable array operation on simple formulae
10914
10915 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * converter.C: constify a bit
10918
10919 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * lyx_gui.C: check xforms version correctly
10922
10923 2002-04-30  Herbert Voss  <voss@lyx.org>
10924
10925         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10926         "keep" option
10927
10928 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10931           attempt to register it with a VCS)
10932
10933 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10934
10935         * lyx_main.C (init): honor variables LYX_DIR_13x and
10936         LYX_USERDIR_13x
10937
10938 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * buffer.h:
10941         * buffer.C:
10942         * lyx_main.C: fix a crash on bad command line,
10943           and give a useful exit status on error
10944
10945         * lyxfunc.C (doImport): allow -i lyx to work
10946
10947 2002-03-30  André Pönitz <poenitz@gmx.net>
10948
10949         * lyxfunc.C: mathed font changes
10950
10951 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10952
10953         * LaTeX.C:
10954         * importer.h:
10955         * importer.C:
10956         * lyx_sty.h:
10957         * lyx_sty.C:
10958         * lyxlex.C:
10959         * lyxrow.h:
10960         * lyxtext.h:
10961         * paragraph.h:
10962         * paragraph.C:
10963         * texrow.h:
10964         * texrow.C:
10965         * text.C:
10966         * trans_mgr.h: srcdocs, and some minor cleanups
10967
10968 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10969
10970         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10971         call getFont all the time)
10972
10973 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * switch from SigC signals to boost::signals
10976
10977 2002-05-29  André Pönitz <poenitz@gmx.net>
10978
10979         * paragraph_pimpl.C (getChar): don't call size() too often...
10980
10981 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10982
10983         * paragraph_pimpl.C (insertChar): do not try to update tables when
10984         appending (pos == size())
10985
10986         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10987         in order to reduce drastically the number of comparisons needed to
10988         parse a large document
10989
10990 2002-05-29  André Pönitz <poenitz@gmx.net>
10991
10992         * text.C:
10993         * text2.C:
10994         * lyxtextclass.C:
10995         * sp_pspell.h:
10996         * textclasslist.[Ch]:
10997         * sp_ispell.h: whitespace change
10998
10999 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11000
11001         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11002         lyxaction directly now.
11003
11004 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11005
11006         * trans.C:
11007         * lyxfont.C:
11008         * lyxvc.C: remove unused headers
11009
11010 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11011
11012         * Makefile.am:
11013         * buffer.h:
11014         * undostack.h:
11015         * undostack.C:
11016         * undo_funcs.h:
11017         * undo_funcs.C: some cleanups. Use shared_ptr
11018           and a template for the undo stacks.
11019
11020 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11021
11022         * BufferView_pimpl.h:
11023         * BufferView_pimpl.C:
11024         * kbmap.h:
11025         * kbmap.C:
11026         * kbsequence.h:
11027         * kbsequence.C:
11028         * lyxfunc.h:
11029         * lyxfunc.C:
11030         * text2.C: use key_state/mouse_state
11031
11032 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11033
11034         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11035         and LSubstring
11036
11037         * chset.C: change include order
11038         (loadFile): use boost regex and get rid of LRegex and LSubstring
11039
11040         * Makefile.am (BOOST_LIBS): new variable
11041         (lyx_LDADD): use it
11042
11043         * LaTeX.C: change include order.
11044         (scanAuxFile): use boost regex and get rid of LRegex and
11045         LSubstring
11046         (deplog): ditto
11047
11048 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11049
11050         * ColorHandler.h:
11051         * ColorHandler.C:
11052         * FontInfo.h:
11053         * FontInfo.C: moved to frontends/xforms/
11054
11055         * FontLoader.h:
11056         * FontLoader.C: moved into frontends for GUIIzation
11057
11058         * Makefile.am:
11059         * lyx_gui.C:
11060         * lyxfont.C:
11061         * lyxfunc.C: changes from above
11062
11063 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * LColor.C: remove spurious X include
11066
11067         * BufferView_pimpl.C:
11068         * Makefile.am:
11069         * font.h:
11070         * font.C:
11071         * text.C:
11072         * text2.C: move font metrics to frontends/
11073
11074 2002-05-24  Juergen Vigna  <jug@sad.it>
11075
11076         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11077         setting the undo_cursor.
11078
11079         * ParagraphParameters.h: include local includes first.
11080
11081 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * BufferView_pimpl.C:
11084         * BufferView_pimpl.h:
11085         * Makefile.am:
11086         * WorkArea.h:
11087         * WorkArea.C:
11088         * screen.C: move WorkArea into frontends/
11089
11090         * lyxscreen.h:
11091         * screen.C:
11092         * text.C:
11093         * BufferView.C:
11094         * BufferView2.C: move LyXScreen into frontends/
11095
11096         * lyxlookup.h:
11097         * lyxlookup.C:
11098         * lyx_gui.C: move lyxlookup into frontends/xforms/
11099
11100 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * BufferView2.C:
11103         * BufferView_pimpl.C:
11104         * FontLoader.C:
11105         * LyXView.h:
11106         * LyXView.C:
11107         * Makefile.am:
11108         * WorkArea.C:
11109         * XFormsView.h:
11110         * XFormsView.C:
11111         * buffer.C:
11112         * bufferlist.C:
11113         * bufferview_funcs.C:
11114         * converter.C:
11115         * importer.C:
11116         * lyx_cb.C:
11117         * lyx_gui.C:
11118         * lyx_main.C:
11119         * lyx_find.C:
11120         * lyxfunc.C:
11121         * lyxvc.C:
11122         * minibuffer.C:
11123         * text.C:
11124         * text2.C:
11125         * trans.C:
11126         * vc-backend.C: move LyX/XFormsView into frontends/
11127
11128 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11129
11130         * Makefile.am:
11131         * PainterBase.C:
11132         * PainterBase.h:
11133         * Painter.C:
11134         * Painter.h:
11135         * WorkArea.C:
11136         * WorkArea.h:
11137         * screen.C:
11138         * tabular.C:
11139         * text.C:
11140         * text2.C: move Painter to frontends/
11141
11142 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * buffer.C: comment out some some code that depend upon lyx_format
11145         < 220
11146
11147         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11148         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11149
11150         * buffer.h (NO_COMPABILITY): turn off compability
11151
11152         * ColorHandler.C: include scoped_array.hpp
11153
11154         * font.C: Use more specific smart_ptr header.
11155         * Painter.C: ditto
11156         * gettext.C: ditto
11157         * ShareContainer.h: ditto
11158         * lyx_main.h: ditto
11159         * kbmap.h: ditto
11160         * FontInfo.h: ditto
11161         * BufferView_pimpl.h: ditto
11162         * ColorHandler.h: ditto
11163
11164         * kbmap.C (defkey): change call to shared_ptr::reset
11165
11166 2002-05-21  Juergen Vigna  <jug@sad.it>
11167
11168         * buffer.C (insertErtContents): fix to insert ert asis if it is
11169         non empty. Skip it completely if it contains only whitespaces.
11170
11171 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11172
11173         * BufferView_pimpl.C:
11174         * BufferView2.C: clear selection on paste (bug 393)
11175
11176 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * DepTable.C: include ctime
11179
11180 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11181
11182         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11183
11184 2002-05-14  Juergen Vigna  <jug@sad.it>
11185
11186         * text.C (breakParagraph): fixed function to honor the keepempty
11187         layout in the right maner and also to permit the right breaking
11188         algorithm on empty or non empyt keepempty paragraphs.
11189
11190         * paragraph.C (breakParagraph): we have to check also if the par
11191         is really empty (!size()) for isempty otherwise we do the wrong
11192         paragraph break.
11193
11194 2002-05-10  Juergen Vigna  <jug@sad.it>
11195
11196         * buffer.[Ch] : The following are only changes to the ert
11197         compatibility read reading old LaTeX layout and font stuff and
11198         convert it to ERTInsets.
11199
11200         * buffer.h: added isErtInset().
11201
11202         * buffer.C (struct ErtComp): add a fromlayout bool to check
11203         if we're inside a LaTeX layout.
11204         (isErtInset): new helper function.
11205         (insertErtContents): look for other ert insets before this one
11206         and insert the contents there, so that we don't have subsequent
11207         ERT insets with nothing between them. This way we create only one
11208         inset with multiple paragraphs. Also check if we don't insert only
11209         spaces ' ' as they are ignored anyway afterwards in the .tex file
11210         so if we have only spaces we will ignore this latex part in the
11211         new file.
11212         (parseSingleLyXformat2Token \\layout): better compatibility when
11213         reading layout-latex stuff.
11214         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11215         language tag.
11216         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11217         stuff after reading the inset only get the information back from
11218         the stack.
11219
11220 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11221
11222         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11223
11224         * LaTeXFeatures.C (getBabelOptions): New method.
11225
11226 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11227
11228         * BufferView_pimpl.C (Dispatch): work around missing argument for
11229         'layout'
11230
11231 2002-05-08  Juergen Vigna  <jug@sad.it>
11232
11233         * text.C (leftMargin): handle paragraph leftindent.
11234
11235         * paragraph.C (writeFile): write the new \\leftindent tag.
11236         (validate): handle leftindent code.
11237         (TeXEnvironment): handle paragraphleftindent code again.
11238
11239         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11240
11241         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11242         for paragrap_extra indent code and new token \\leftindent.
11243         (latexParagraphs): handle the leftindent as environment.
11244
11245         * ParameterStruct.h: added leftindent support.
11246
11247         * ParagraphParameters.C (leftIndent): added support functions for
11248         the paragraph left indent.
11249
11250         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11251         more appropriate.
11252
11253 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11254
11255         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11256         inside insetERT.
11257
11258         * text.C (computeBidiTables): No bidi in insetERT.
11259
11260         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11261         in RTL documents.
11262
11263 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11264
11265         * version.C.in: pre 5
11266
11267 2002-05-02  José Matos  <jamatos@fep.up.pt>
11268         * buffer.C (makeDocBookFile): white space changes, add newline to
11269         command styles.
11270         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11271
11272         * tabular.C (docBook): fix typo.
11273
11274 2002-05-03  Juergen Vigna  <jug@sad.it>
11275
11276         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11277         change in LyXText as we can not be sure it was not freed.
11278         (drawOneRow): remove unused code.
11279
11280         * text.C (drawInset): redo the calculation of the need_break_row as
11281         it could have a row which was already freed.
11282         (draw): look at the return value of drawInset and return false if
11283         it also returned false.
11284         (paintRowText): look at the return value of draw and return false if
11285         it also returned false.
11286
11287         * lyxtext.h: added bool return type to drawInset() and draw() so that
11288         if we have a change in the row so that the rowbreak has to be redone
11289         we abort drawing as it will be called again.
11290
11291 2002-05-02  Juergen Vigna  <jug@sad.it>
11292
11293         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11294         a change in the maintext also if we're inside an inset.
11295         (Dispatch): set the cursor again after a break line and after the
11296         screen has been updated as it could be we're in a different row.
11297
11298         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11299         to set the cursor behind the pargraph with > size().
11300         (setCursor): check also for the same paragraph when checking where
11301         to put the cursor if we have a NFR inset.
11302
11303         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11304         parts of layout read further up as it still was in the wrong
11305         position.
11306
11307 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * screen.C (drawFromTo): change sine fullRebreak always return
11310         true.
11311
11312         * buffer.C (parseSingleLyXformat2Token): reindent some
11313
11314         * BufferView_pimpl.C (update): change since fullRebreak always
11315         return true.
11316         (Dispatch): git rid of the last hardcoded "Standard"s.
11317
11318 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * text2.[Ch] (fullRebreak): make it return void now that we always
11321         returned true.
11322
11323 2002-04-30  Juergen Vigna  <jug@sad.it>
11324
11325         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11326         ert compatibility check for "latex" layout.
11327
11328 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11329
11330         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11331         minipages: use col% instead of p%, and also use the current font.
11332         (makeLaTeXFile): Fix use babel condition.
11333         (parseSingleLyXformat2Token): Correct font when reading old floats.
11334
11335 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11336
11337         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11338         inserting list of floats.
11339
11340 2002-04-25  Herbert Voss  <voss@lyx.org>
11341
11342         * MenuBackend.C (expand): don't add the graphics extensions to the
11343         export menu
11344
11345 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11346
11347         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11348         non-existing layout, do not complain if it was the default layout
11349         of the original class (bug #342)
11350
11351 2002-04-24  Juergen Vigna  <jug@sad.it>
11352
11353         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11354         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11355
11356 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11357
11358         * buffer.C (getBibkeyList): If using \bibliography, return the
11359         option field with the reference itself. Enables us to provide natbib
11360         support when using \bibliography.
11361
11362 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11363
11364         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11365
11366         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11367         natbib is provided by the LaTeX class.
11368
11369 2002-04-23  Juergen Vigna  <jug@sad.it>
11370
11371         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11372         Wakeup functions.
11373
11374         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11375
11376 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11377
11378         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11379
11380         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11381         ensuremath around textordmasculine, textordfeminine and
11382         textdegree.
11383
11384 2002-04-19  Juergen Vigna  <jug@sad.it>
11385
11386         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11387         reinitializing the buffer otherwise row-dimensions may be wrong.
11388         (update): reset also the selection cursors if they do exits otherwise
11389         their x/y positions may be wrong.
11390
11391         * text2.C (cursorDown): don't enter the inset if we came from a row
11392         above and are one row over the inset.
11393
11394         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11395         really leaving an inset.
11396
11397 2002-04-18  Juergen Vigna  <jug@sad.it>
11398
11399         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11400         of the selected paragraph does not have the selected layout also if
11401         the last one had!
11402
11403         * text2.C (setLayout): fixed bug which did not change last selected
11404         paragraph.
11405
11406         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11407         changed the read and substituted \\end_float with \\end_inset!
11408
11409         * BufferView_pimpl.C (cursorPrevious):
11410         (cursorNext): fixed to make it work with rows heigher than the work
11411         area without moving the cursor only the draw of the row.
11412         (workAreaMotionNotify): fix jumping over high rows.
11413
11414 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11415
11416         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11417         Ressler.
11418
11419 2002-04-16  Juergen Vigna  <jug@sad.it>
11420
11421         * text2.C (setCursor): set also the irow().
11422         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11423         (cursorUp):
11424         (cursorDown): support for locking an inset if the x_fix value goes
11425         inside it. That way I can transverse insets too with cursor up/down.
11426
11427         * lyxrow.h: added irow helper function same as other (i) functions.
11428
11429         * BufferView_pimpl.C (cursorPrevious):
11430         (cursorNext): fixed for insets!
11431
11432 2002-04-15  Juergen Vigna  <jug@sad.it>
11433
11434         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11435         position otherwise it is wrong in some cases.
11436
11437         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11438         inside the inset before the call.
11439
11440 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11441
11442         * buffer.[Ch] (getBibkeyList): make it const.
11443
11444 2002-04-12  Juergen Vigna  <jug@sad.it>
11445
11446         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11447
11448         * text2.C (getCursorX): new helper function
11449         (setCursor): compute also ix_
11450         (setCursorFromCoordinates): set also ix.
11451
11452         * lyxcursor.h: added ix_ and helper functions.
11453
11454         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11455
11456         * buffer.C (insertStringAsLines): dont break paragraph if the this
11457         paragraph is inside an inset which does not permit it!
11458
11459         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11460         also with no chars on this paragraph.
11461         (paintRowText): only paint stuff if it's inside the workarea!
11462
11463         * paragraph.C (breakParagraph): honor keepempty flag and break the
11464         paragraph always below not above.
11465
11466         * BufferView2.C (unlockInset): update the paragraph layout on inset
11467         unlock as we changed paragraph in such a case.
11468
11469         * lyxfind.C (LyXFind): clear the former selection if not found!
11470
11471         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11472         again called in insertChar().
11473
11474         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11475         an inset which uses the whole row!
11476         (rightMargin): ditto.
11477         (insertChar): force a rebreak if we inserted an inset!
11478
11479 2002-03-28  Herbert Voss  <voss@lyx.org>
11480
11481         * lyxlength.[Ch]: add inBP() to get the right PS-point
11482         units (BigPoint). With inPixels we have rounding errors
11483
11484 2002-04-11  Juergen Vigna  <jug@sad.it>
11485
11486         * text2.C (setCursorFromCoordinates): set iy to the right value.
11487         (setCursor): add check if row->previous exists!
11488
11489         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11490         an old float_type as this was the case in the old code!
11491
11492         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11493
11494         * BufferView2.C (showLockedInsetCursor): use iy
11495         (fitLockedInsetCursor): ditto
11496
11497         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11498         locked insets as there we have the right value now.
11499
11500         * lyxcursor.C: added iy_ variable and iy functions to set to the
11501         baseline of cursor-y of the locked inset.
11502
11503         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11504         (setCursor): fixed for insets which need a full row.
11505
11506         * text.C (rowLastPrintable): don't ignore the last space when before
11507         an inset which needs a full row.
11508         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11509         as last character of a row when before a inset which needs a full row.
11510
11511 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * version.C.in: update date
11514
11515         * text2.C (fullRebreak): try to always return true and see what
11516         happens...
11517
11518 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11519
11520         * MenuBackend.C (expand): use Floating::listName
11521
11522         * FloatList.C (FloatList): add listName argument to the built-in
11523         floats
11524
11525         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11526         text associated with the float.
11527
11528 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11531
11532 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * ShareContainer.h: add a couple of missing typenames.
11535
11536 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * lyxrc.C (getDescription): use _() correctly rather than N_().
11539
11540 2002-03-28  Herbert Voss  <voss@lyx.org>
11541
11542         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11543         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11544
11545 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11546
11547         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11548         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11549
11550 2002-03-29  Juergen Vigna  <jug@sad.it>
11551
11552         * lyxfunc.C (dispatch): add a missing fitCursor call.
11553
11554         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11555         it was scrolled by a cursor move, so return the bool status.
11556
11557         * BufferView.C (fitCursor): return the bool flag also to the outside
11558         world as this is needed.
11559
11560         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11561
11562         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11563         call the edit() as it is not needed (and wrong) IMO.
11564         (workAreaButtonPress): set the screen_first variable before evt.
11565         unlock the inset as this may change screen_first and then we have
11566         a wrong y position for the click!
11567
11568 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11569
11570         * MenuBackend.C (expand): another translation that I missed
11571
11572 2002-03-28  Juergen Vigna  <jug@sad.it>
11573
11574         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11575
11576         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11577
11578 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11579
11580         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11581
11582         * MenuBackend.C (expand): fix export/view/update when there is no
11583         document open.
11584
11585 2002-03-27  Herbert Voss  <voss@lyx.org>
11586
11587         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11588         and text%
11589
11590 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11591
11592         * bufferview_funcs.C (currentState): only show paragraph number
11593         for is DEVEL_VERSION is set.
11594
11595         * lyxfunc.C (dispatch): put warning in INFO channel
11596
11597         * MenuBackend.C (expand): translate the name of floats
11598
11599         * FloatList.C (FloatList): mark the float names for translation
11600
11601         * converter.C (convert): use LibScriptSearch
11602
11603 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11604
11605         * MenuBackend.C (defaults): fix default menu (we might as well get
11606         rid of it...)
11607
11608 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11609
11610         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11611         directory.
11612
11613 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * lyxvc.C: reorder includes.
11616
11617 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11618
11619         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11620           properly
11621
11622 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * CutAndPaste.C: change layouts earlier on paste
11625           to avoid crashing when calling getFont()
11626
11627 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11628
11629         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11630         irritating #error.
11631
11632 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * WorkArea.C: remove 'Pending' debug message.
11635
11636         * most files: ws cleanup
11637
11638         * buffer.[Ch]: ws changes
11639
11640         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11641
11642 2002-03-21  Juergen Vigna  <jug@sad.it>
11643
11644         * tabular.C (SetMultiColumn): collapse also the contents of the
11645         cells and set the last border right. Added a Buffer const * param.
11646
11647 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11650         linking or not.
11651
11652 2002-03-19  Juergen Vigna  <jug@sad.it>
11653
11654         * text2.C (clearSelection): reset also xsel_cache.
11655
11656         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11657         where it needs to be called (John tells us to do so too :)
11658         (selectionLost): reset sel_cache.
11659
11660         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11661
11662 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11663
11664         * text2.C (setCursorIntern): put debuging code in INSETS channel
11665
11666 2002-03-19  André Pönitz <poenitz@gmx.net>
11667
11668         * lyxfunc.C: tiny whitespace change
11669
11670 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11671
11672         * ToolbarDefaults.C (init):
11673         * LyXAction.C (init):
11674         * commandtags.h:
11675         * BufferView_pimpl.C (Dispatch):
11676         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11677
11678 2002-03-19  Allan Rae  <rae@lyx.org>
11679
11680         * exporter.C (Export): removeAutoInsets before doing anything else.
11681         While I've just introduced a dependency on BufferView this really is
11682         the best place to clean the buffer otherwise you need to cleanup in
11683         a dozen places before calling export or cleanup in a dozen functions
11684         that export calls.
11685
11686         * converter.C (runLaTeX):
11687         (scanLog): Better handling of removeAutoInsets and screen updates.
11688
11689         * lyxfunc.C (dispatch): small whitespace changes
11690
11691 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * WorkArea.C (C_WorkAreaEvent): return a value.
11694         (event_cb): return 1 if we handled the event, 0 otherwise.
11695
11696         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11697
11698 2002-03-18  Juergen Vigna  <jug@sad.it>
11699
11700         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11701         (GetAdditionalWidth): ditto.
11702         (RightLine): ditto.
11703         (LeftLine): ditto.
11704
11705         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11706         inset if we're there actually (probably not used right now but this
11707         is the direction to go for unifying code).
11708         (paste): disable code to clear the selection.
11709
11710         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11711         inside an InsetText and move the check further up as it is in the
11712         wrong place.
11713
11714         * text2.C (pasteSelection): set a selection over the pasted text.
11715
11716 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11717
11718         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11719         and libgraphics to build on Cygwin.
11720
11721 2002-03-15  Juergen Vigna  <jug@sad.it>
11722
11723         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11724         inserting an Inset into the paragraph. I know this is not the best
11725         fix but we already use current_view in CutAndPaste so we will remove
11726         all of it's using at the same time.
11727
11728         * buffer.C (sgmlError): deactivated function till it is rewritten in
11729         the right mode, now it can create problems.
11730
11731         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11732         before accessing it.
11733
11734 2002-03-14  Juergen Vigna  <jug@sad.it>
11735
11736         * undo_funcs.C (textHandleUndo): do the right thing when updating
11737         the inset after the undo/redo.
11738
11739         * text2.C (setCursor): just some testcode for #44 not ready yet.
11740
11741         * undo_funcs.C (textHandleUndo): set the next() and previous()
11742         pointers of the paragraph to 0 before deleting otherwise we have
11743         problems with the Paragraph::[destructor].
11744
11745         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11746         on a paragraph insertion.
11747
11748 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11749
11750         * buffer.C (asciiParagraph): use += operator for char append to
11751         string.
11752
11753         * paragraph.C (getFontSettings): compare >= not just >
11754         (highestFontInRange): ditto
11755         (setFont): ditto
11756
11757 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11758
11759         * paragraph.C: change several algorithm to be more appripriate for
11760         the problem domain. This is lookip in FontList and in the InsetList.
11761
11762 2002-03-13  André Pönitz <poenitz@gmx.net>
11763
11764         * commandtags.h:
11765         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11766
11767 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * commandtags.h:
11770         * LyXAction.C:
11771         * lyxfunc.C:
11772         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11773
11774 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * Painter.C (display): anon helper function, adjust code for this
11777         change.
11778         (pixmap): remove function.
11779
11780         * Painter.h: remove private display variable.
11781
11782         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11783
11784 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11785
11786         * WorkArea.[Ch]: remove figinset_canvas cruft.
11787
11788 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * lyxtextclass.C (operator): add one item cache optimization.
11791
11792         * bufferlist.h: doxy changes
11793
11794         * bufferlist.C: ws changes
11795
11796         * DepTable.[Ch] (ext_exist): place const in the right spot.
11797
11798         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11799         call resizeInsets.
11800         (workAreaExpose): call resizeInsets when the with BufferView changes.
11801         (Dispatch): adjust for protectedBlank removal
11802         (specialChar): call updateInset if the insert went ok.
11803
11804         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11805         specialChar instead.
11806
11807         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11808
11809         * BufferView.h: doxy change
11810
11811         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11812
11813         * lyxtextclass.C (operator[]): remove non-const version
11814         (defaultLayout): remove non-const version
11815
11816 2002-03-12  Juergen Vigna  <jug@sad.it>
11817
11818         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11819         did resize the LyXText too.
11820
11821         * buffer.C (readLyXformat2): set layout information on newly allocated
11822         paragraphs.
11823
11824         * tabular.C (OldFormatRead): set layout information on the paragraph.
11825
11826 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11827
11828         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11829
11830 2002-03-11  Juergen Vigna  <jug@sad.it>
11831
11832         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11833         plainly wrong.
11834         (resizeCurrentBuffer): force also the insets to resize themselfes.
11835         (moveCursorUpdate): fixed up for InsetText.
11836
11837 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11838
11839         * commandtags.h:
11840         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11841         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11842         value of Dialogs::tooltipsEnabled().
11843         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11844
11845 2002-03-08  Juergen Vigna  <jug@sad.it>
11846
11847         * BufferView_pimpl.C (updateInset): update inset inside inset also
11848         if it isn't inside theLockingInset().
11849
11850 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * buffer.C (asciiParagraph): redo some of the word and line length
11853         handling.
11854         (getLists): look for Caption instead of caption.
11855
11856 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * buffer.C (Buffer): initialize niceFile to true
11859         (makeLaTeXFile):
11860         (makeLinuxDocFile):
11861         (makeDocBookFile): make sure niceFile is true on exit
11862
11863 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11864
11865         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11866
11867 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11868
11869         * LyXSendto.C: remove.
11870         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11871         * lyx_gui.C: remove now-redundant comment.
11872         * ColorHandler.h: remove forward declaration of class WorkArea.
11873         * lyxfunc.C: remove #include "WorkArea.h".
11874
11875 2002-03-07  Juergen Vigna  <jug@sad.it>
11876
11877         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11878         got moved away with the DEPM and also set the inset_owner always
11879         right which before could have been omitted.
11880
11881 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11882
11883         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11884         wanted layout is not found.
11885
11886 2002-03-07  Juergen Vigna  <jug@sad.it>
11887
11888         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11889
11890 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * paragraph.C (breakParagraph): use default layout not layout of
11893         prev paragraph.
11894         (Paragraph): clear ParagraphParameters.
11895
11896 2002-03-06  Juergen Vigna  <jug@sad.it>
11897
11898         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11899         otherwise it would not be a valid lenght. Fixed a special case in
11900         the minipage compatibility read where we end the document with a
11901         minipage.
11902
11903         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11904         was set as it could be 0 for InsetTexts first entry.
11905
11906 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11907
11908         * paragraph.C (writeFile): if layout is empty write out
11909         defaultLayoutName().
11910
11911         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11912         file without named layout we set layout to defaultLayoutName().
11913
11914 2002-03-06  Juergen Vigna  <jug@sad.it>
11915
11916         * CutAndPaste.C (copySelection): set layout for new paragraph.
11917
11918         * text.C (prepareToPrint): leave ERT inset left aligned
11919         (leftMargin): don't indent paragraphs inside ERT insets
11920
11921 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * paragraph.C (breakParagraph): dont call clear do the work manually
11924
11925         * paragraph.[Ch] (clear): remove function
11926
11927 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11928
11929         * paragraph.C (Paragraph): dont call clear, the work has already
11930         been done.
11931
11932         * lyxtextclass.C (operator): assert if n is empty
11933
11934         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11935         work manually instead.
11936
11937 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11938
11939         * BufferView_pimpl.C: protect selectionLost against text == 0
11940
11941 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * text.C (breakParagraph): fix a setting layout to '0' problem.
11944
11945 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11946
11947         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11948         final location of file, for the included files, and graphics.
11949
11950 2002-03-05  Juergen Vigna  <jug@sad.it>
11951
11952         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11953
11954 2002-03-04  Juergen Vigna  <jug@sad.it>
11955
11956         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11957
11958         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11959         last column of multicolumn cells.
11960         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11961
11962 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11963
11964         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11965         file if it doesn't go to a temporary file.
11966
11967         * buffer.C (sgmlOpenTag):
11968         (sgmlCloseTag):  remove extra newline insertion.
11969
11970 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11971
11972         * text.C (getRowNearY): comment out debug msg
11973
11974 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11975
11976         * text2.C: first -> first_y
11977
11978         * text.C (getRowNearY): add some attemts at a possible
11979         optimization, not working.
11980
11981         * tabular.[Ch]: add BufferParams to several function so that newly
11982         created paragraph can be initialized to he default layotu for the
11983         buffers textclass.
11984
11985         * tabular-old.C (ReadOld): add buf->params to call of Init
11986
11987         * screen.C: rename text->first to text->first_y
11988
11989         * paragraph.C (breakParagraph): always set layout in the broken
11990         paragraph
11991
11992         * lyxtextclass.C (Read): remove lowercase
11993         (hasLayout): ditto
11994         (operator): ditto
11995         (delete_layout): ditto
11996
11997         * lyxtext.h: rename first -> first_y
11998
11999         * lyxlayout.C (Read): remove lowercase
12000         (name): ditto
12001         (setName): ditto
12002         (obsoleted_by): ditto
12003
12004         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12005
12006         * buffer.C (insertErtContents): add params are to InsetERT
12007         (parseSingleLyXformat2Token): add code to check if a paragraphs
12008         layout really exist.
12009         (parseSingleLyXformat2Token): add params to several inset
12010         constructors
12011         (asciiParagraph): remove lowercase, do the layout comparisons with
12012         no_case
12013
12014         * BufferView_pimpl.C (cursorNext): first -> first_y
12015         (resizeCurrentBuffer): first -> first_y
12016         (updateScrollbar): first -> first_y
12017         (scrollCB): first -> first_y
12018         (workAreaMotionNotify): first -> first_y
12019         (workAreaButtonPress): first -> first_y
12020         (checkInsetHit): first -> first_y
12021         (cursorPrevious): first -> first_y
12022         (cursorNext): first -> first_y
12023         (Dispatch): add buffer_->params to severl inset contructors
12024
12025 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * lyxlayout.C (Read): remove some debug info that I forgot.
12028
12029         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12030         clean up the code slightly.
12031         (makeLinuxDocFile): ditto
12032         (makeDocBookFile): ditto
12033
12034         * text2.C: layout as string
12035
12036         * text.C: layout as string
12037
12038         * paragraph_pimpl.C: layout as string
12039
12040         * paragraph.[Ch]: layout as string
12041
12042         * lyxtextclasslist.[Ch]: layout as string
12043
12044         * lyxtextclass.[Ch]: layout as string
12045
12046         * lyxtext.h: layout as string
12047
12048         * lyxlayout.[Ch]: layout as string
12049
12050         * lyx_cb.C: layout as string
12051
12052         * bufferview_funcs.C: layout as string
12053
12054         * bufferparams.C: layout as string
12055
12056         * buffer.C: layout as string
12057
12058         * LyXView.[Ch]: layout as string
12059
12060         * LaTeXFeatures.[Ch]: layout as string
12061
12062         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12063
12064         * BufferView_pimpl.C: change current_layout to string, remove
12065         lyx::layout_type.
12066         (Dispatch):
12067         (smartQuote):
12068         (insertInset):
12069         (workAreaButtonRelease): layout as string
12070
12071         * BufferView2.C (unlockInset): adjust
12072
12073         * vspace.C (asLatexCommand): use an explict temp variable.
12074
12075 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * Makefile.am: use FRONTEND_*
12078
12079 2002-03-01  Juergen Vigna  <jug@sad.it>
12080
12081         * tabular.C (SetWidthOfMulticolCell): changed to something better
12082         I hope but still work in progress.
12083         (recalculateMulticolumnsOfColumn): renamed function from
12084         recalculateMulticolCells as it is more appropriate now.
12085         (SetWidthOfCell): calculate multicols better.
12086
12087 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12088
12089         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12090
12091         * lyxfunc.C (processKeySym): print sequence also if it is
12092         `deleted' (complete)
12093
12094         * kbsequence.C (print): print sequence even if it is deleted
12095         (complete would be a better word, actually).
12096
12097         * lyxfunc.C (dispatch): print complete options after a prefix key
12098
12099         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12100
12101 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12102
12103         * text2.C (setCharFont): eliminate setCharFont code duplication.
12104
12105 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12106
12107         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12108         LFUN_TABULAR_FEATURE (bug #177)
12109
12110 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12111
12112         * Makefile.am: remove figure.h
12113
12114 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12115
12116         * Bufferview_pimpl.C:
12117         * CutAndPasteC:
12118         * LaTeX.C:
12119         * LyXSendto.C:
12120         * buffer.C:
12121         * bufferlist.C:
12122         * converter.C:
12123         * language.C:
12124         * lyxfunc.C:
12125         * lyxvc.C:
12126         * paragraph.C:
12127         * text.C:
12128         * text2.C: remove #include "lyx_gui_misc.h".
12129
12130         * LaTeX.C: added #include <cstdio>
12131
12132 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12133
12134         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12135         that the paragraph following this one can have.
12136
12137         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12138
12139         * vspace.C (asLatexCommand): fix bogus gcc warning
12140
12141         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12142
12143 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12144
12145         * text2.C (setLayout): get rid of redundant code
12146
12147 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12148
12149         * text2.C (incDepth): make sure depth cannot be increased beyond
12150         reasonable values.
12151
12152 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12153
12154         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12155         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12156
12157         * PainterBase.h (image):
12158         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12159         a LyXImage const *.
12160
12161 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12162
12163         * BufferView.C:
12164         * BufferView.h:
12165         * BufferView_pimpl.C:
12166         * BufferView_pimpl.h:
12167         * LaTeXFeatures.C:
12168         * LyXAction.C:
12169         * LyXView.C:
12170         * Makefile.am:
12171         * UpdateList.h:
12172         * UpdateList.C:
12173         * buffer.C:
12174         * figure.h:
12175         * figureForm.C:
12176         * figureForm.h:
12177         * figure_form.C:
12178         * figure_form.h:
12179         * lyx_cb.C:
12180         * lyx_gui.C:
12181         * lyx_gui_misc.C:
12182         * lyxfunc.C:
12183         * sp_base.h:
12184         * sp_ispell.h:
12185         * sp_pspell.h:
12186         * sp_spell.C: remove fig inset, and the crap house of
12187           cards that follows it
12188
12189 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * Makefile.am:
12192         * lyxserver.C:
12193         * os2_defines.h:
12194         * os2_errortable.h:
12195         * nt_defines.h: move .h into support/
12196
12197         * vms_defines.h: remove
12198
12199         * WorkArea.C: add space in debug output
12200
12201         * text2.C:
12202         * paragraph.C:
12203         * buffer.C: add WITH_WARNINGS
12204
12205         * vc-backend.h:
12206         * vc-backend.C:
12207         * bufferlist.C: s/retrive/retrieve/, add docs
12208
12209         * vspace.h:
12210         * vspace.C:
12211         * kbmap.h:
12212         * lyxlength.h:
12213         * lyxgluelength.h:
12214         * length_common.h:
12215         * chset.h:
12216         * chset.C: add docs
12217
12218         * lyxgui.C: add ID to X error handler
12219
12220         * lyxtestclass.c: fix typo
12221
12222 2002-02-26  Juergen Vigna  <jug@sad.it>
12223
12224         * tabular_funcs.C (write_attribute): changed so that some default
12225         attributes are not written at all.
12226         (getTokenValue): set default values before trying to read the
12227         value so we have the return value always set as default if we don't
12228         find the token we search for.
12229
12230         * tabular.C (Write): write bools as bools not as strings!
12231
12232 2002-02-22  Juergen Vigna  <jug@sad.it>
12233
12234         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12235         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12236
12237         * text.C (leftMargin): don't add an indent for paragraphs inside
12238         tabular cells (fix #208).
12239
12240 2002-02-21  José Matos  <jamatos@fep.up.pt>
12241
12242         * tabular.C (docBook): fixed support for long tables.
12243
12244 2002-02-20  Juergen Vigna  <jug@sad.it>
12245
12246         * text2.C (getFont): get the drawing font of the Inset if this
12247         paragraph is inside an inset (only important for InsetERT for now).
12248
12249         * buffer.C (insertErtContents): use new lanugage params in ERT
12250         constructor.
12251
12252         * CutAndPaste.C: commenting out seemingly uneeded code.
12253
12254 2002-02-19  Allan Rae  <rae@lyx.org>
12255
12256         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12257         Iterators might be simple to use but they also get invalidated.
12258         (removeAutoInsets): renamed saved cursor tracking variables and added
12259         some comments to clarify what everything does.
12260
12261 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12262
12263         * Chktex.C:
12264         * LaTeX.C:
12265         * LyXSendto.C:
12266         * converter.C:
12267         * lyx_cb.C:
12268         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12269         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12270
12271         * lyxfunc.C:
12272         * vc-backend.h: remove #include "support/syscall.h"
12273
12274         * LaTeX.C:
12275         * LyXSendto.C:
12276         * converter.C: rearrange #includes in Lars' approved fashion.
12277
12278         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12279         forward declare class Timeout in the header file.
12280
12281         * XFormsView.C: changes due to the above.
12282
12283         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12284         similar to LyXView.
12285
12286         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12287         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12288
12289 2002-02-18  José Matos  <jamatos@fep.up.pt>
12290
12291         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12292         insets contents.
12293
12294 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12295
12296         * a lot of small ws changes
12297         * add a lot of using std::XXX
12298         * use std construcs some places where approp.
12299         * use some exisint stuff from lyxfunctional where approp.
12300         * Make file changes to use partial linking (lets test this now...)
12301
12302 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12303
12304         * Chktex.C:
12305         * buffer.C:
12306         remove #include "support/syscontr.h" as it's redundant. Always has been.
12307
12308         * Chktex.C:
12309         * LaTeX.C:
12310         * LyXSendto.C:
12311         * converter.C:
12312         * lyx_cb.C:
12313         * vc-backend.C:
12314         change Systemcalls::System to Systemcalls::Wait and
12315         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12316         No change of functionality, just reflects the stripped down Systemcalls
12317         class.
12318
12319 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12320
12321         * debug.[Ch]: add a GRAPHICS type to the enum.
12322
12323 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12324
12325         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12326
12327         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12328         there is an inset.
12329
12330 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12331
12332         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12333         match the changes below.
12334
12335         * text2.C (toggleInset): if there is not editable inset at cursor
12336         position, try to see if cursor is _inside_ a collapsable inset
12337         and close it.
12338
12339 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12340
12341         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12342         document menu has a nice checkbox
12343
12344 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12345
12346         * lyxlength.C (asLatexString): change PW to output as percent of
12347         \textwidth.
12348
12349         * lengthcommon.C: change '%' to 't%'
12350
12351         * lyxfunc.C (dispatch): a few comments from Martin
12352
12353 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12354
12355         * WorkArea.h:
12356         * WorkArea.C:
12357         * BufferView_pimpl.h:
12358         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12359           the X selection.
12360
12361 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12362
12363         * vspace.C (inPixels): fix compiler warning
12364
12365 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12366
12367         * lyxfunc.C (getStatus): fix status message for disabled commands.
12368
12369 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12370
12371         * BufferView_pimpl.C: fix crash on close buffer
12372         during selection (#227)
12373
12374 2002-01-27  Herbert Voss  <voss@lyx.org>
12375
12376         * buffer.C: link old Figure to new graphic inset
12377
12378 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12379
12380         * FontLoader.C (getFontinfo): Change the latex font names in order
12381         to match the names of type1inst.
12382
12383 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12386
12387         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12388         (extchanged): ditto
12389         (ext_exist): ditto
12390         (remove_files_with_extension): ditto
12391         (remove_file): ditto
12392         (write): ditto
12393
12394         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12395         document is smaller than the work area height. Do not initialize
12396         static variables to 0.
12397
12398 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12399
12400         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12401
12402         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12403         LFUN_LAYOUT_PARAGRAPHS.
12404
12405         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12406         tabular. It is possible to provide a possible cell, which will
12407         typically be the actcell from the corresponding insettabular
12408
12409         * lyxfunc.C (getStatus): small cleanup; disable
12410         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12411         true
12412
12413 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12414
12415         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12416
12417         * paragraph.C (startTeXParParams):
12418         (endTeXParParams): new methods. The LaTeX code to
12419         start/end paragraph formatting
12420         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12421         empty (fixes bug #200)
12422
12423         * vspace.C (inPixels): adapt to the change below
12424         (inPixels): [later] more cleanups (remove unused variables)
12425
12426         * lyxlength.C (inPixels): change to use a width and a height as
12427         parameter.
12428
12429 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12430
12431         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12432         Replaced with \paperwidth
12433
12434         * DepTable.C (insert): add std:: qualifier
12435
12436 2002-01-18  Allan Rae  <rae@lyx.org>
12437
12438         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12439         updated also?
12440
12441         * text.C (drawInset): Turned out I didn't know enough about how
12442         rebreaking worked.  This fixes most of the redraw problems.  I see
12443         an occasional cursor trail when a line is broken now and the cursor
12444         placement can seem out by a few pixels also after a rebreak.
12445
12446 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12447
12448         * buffer.C (parseSingleLyXformat2Token): update because minipage
12449         width is now a LyXLength
12450
12451         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12452
12453         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12454         math insets
12455
12456 2002-01-17  Juergen Vigna  <jug@sad.it>
12457
12458         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12459
12460         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12461         is set correctly and the inset is updated correctly.
12462
12463 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12464
12465         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12466         the beginning of the loop.
12467
12468 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * lyxrc.C: improve help for use_scalable_fonts
12471
12472 2002-01-17  Allan Rae  <rae@lyx.org>
12473
12474         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12475
12476 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12477
12478         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12479         make sure to set their inset_owner to the right value (bug #171)
12480
12481 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12482
12483         * DepTable.h
12484         * DepTable.C: Implement mtime checking to reduce time spent doing
12485         CRCs.
12486
12487 2002-01-16  Juergen Vigna  <jug@sad.it>
12488
12489         * tabular.C (GetAdditionalHeight): one of error fixed.
12490
12491         * lyxrc.C (output): small fix in writing use_pspell.
12492
12493 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12494
12495         * sp_base.h: #include LString.h
12496
12497 2002-01-16  Allan Rae  <rae@lyx.org>
12498
12499         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12500         Can someone check this please?
12501
12502         * text.C (drawInset): It was possible that p.row would be removed by
12503         breakAgainOneRow upsetting a few other settings.  There may be another
12504         small tweak possible by setting need_break_row = 0 when p.row has been
12505         removed but I don't know enough about the logic here.
12506
12507 2002-01-15  Allan Rae  <rae@lyx.org>
12508
12509         * text.C (insertChar): removed conditional truism.
12510
12511         * BufferView2.C (removeAutoInsets): More tweaks.
12512         cur_par_prev could be a stray pointer.  Check for trailing empty line
12513         in case last line was cur_par and only had an error inset on it.
12514
12515 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12516
12517         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12518         absolute
12519
12520         * vc-backend.C (most methods):
12521         * exporter.C (Export):
12522         * converter.C (convert):
12523         (runLaTeX):
12524         * LyXSendto.C (SendtoApplyCB):
12525         * lyxfunc.C (dispatch):
12526         (menuNew):
12527         (open):
12528         (doImport):
12529         * lyx_cb.C (AutoSave):
12530         (InsertAsciiFile):
12531         * BufferView_pimpl.C (MenuInsertLyXFile):
12532         * buffer.C (runChktex): use Buffer::filePath().
12533
12534         * buffer.h: rename filename to filename_; rename filepath to
12535         filepath_ and make it private
12536         (filePath): new method
12537
12538         * buffer.C (writeFile): use fileName()
12539         (getLatexName):
12540
12541         * lyx_main.C (init): fix starting  of LyX when the binary is a
12542         link from so,ewhere else.
12543
12544         * minibuffer.C: include <cctype> for isprint
12545
12546 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12547
12548         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12549         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12550         name clash with InsetCollapsable's width function.
12551
12552 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * lastfiles.C: include <iterator>
12555
12556 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12557
12558         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12559         std::count.
12560
12561         * buffer.C (makeLaTeXFile): ditto.
12562         Also make loop operation more transparent.
12563
12564 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12565
12566         * ToolbarDefaults.C: remove trailing comma closing namespace.
12567
12568         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12569
12570         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12571         as in WorkArea.
12572
12573         * trans.C (Load): comment out unused variable, allowed.
12574
12575 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12576
12577         * minibuffer.[Ch] (append_char): new method to recieve input from the
12578         drop-down completion browser. If a key was pressed, then recieve this
12579         char and append it to the existing string.
12580         (peek_event): modify the positioning data passed to the completion
12581         browser so that it can be placed above the minibuffer rather than below.
12582 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * LyXAction.C (init): alloe error-next for readonly documents.
12585
12586         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12587         count.
12588
12589 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12590
12591         * bufferlist.C (readFile): create the buffer _after_ checking that
12592         the file exists.
12593
12594         * lyxfunc.C (verboseDispatch): fix handling of arguments
12595
12596         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12597
12598         * lyxrc.C: use string::erase() instead of initializing to "".
12599
12600
12601 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12602
12603         * BufferView_pimpl.h:
12604         * BufferView_pimpl.C:
12605         * WorkArea.h:
12606         * WorkArea.C:
12607         * text2.C: tell X when we have made a selection for copying
12608
12609 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12610
12611         * BufferView_pimpl.C (MenuInsertLyXFile):
12612         * lyxfunc.C (menuNew):
12613         (open):
12614         (doImport): add shortcuts to directory buttons
12615
12616         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12617         open a float)
12618
12619         * lyxfunc.C (setStatusMessage):
12620         (getStatusMessage): new methods
12621         (getStatus):use setStatusMessage instead of setErrorMessage
12622         (dispatch): when function is disabled, set error message here
12623         [instead of in getStatus previously]
12624
12625         * BufferView_pimpl.C (workAreaButtonRelease): update
12626         toolbar/menubar here too.
12627
12628 2002-01-13  Allan Rae  <rae@lyx.org>
12629
12630         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12631         Now seems indestructible.  Remaining task is to audit all other
12632         code affected by deleteEmptyParagraphMechanism.  One small quirk
12633         left is that an empty document with an error in the preamble can
12634         be made to report an error but no error box appears.  I don't know
12635         where it goes.
12636         (removeAutoInsets): Improved comments.
12637
12638 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * Thesaurus.h:
12641         * Thesaurus.C: update for Aiksaurus 0.14
12642
12643 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12644
12645         * text2.C (firstParagraph): removed member function, all uses
12646         replaces with ownerParagraph
12647         (redoParagraphs): here
12648         (updateInset): here
12649         (toggleAppendix): here
12650         * BufferView2.C (insertErrors): here
12651         (setCursorFromRow): here
12652
12653 2002-01-13  Allan Rae  <rae@lyx.org>
12654
12655         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12656         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12657         There is still a way to segfault this although you may have to do this
12658         multiple times: Have an InsetERT with an unknown command in it.
12659         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12660         <down-arrow>, <Enter> again, View->DVI, BANG!
12661
12662         * text2.C (setCursor):
12663         (deleteEmptyParagraphMechanism):
12664         * lyxtext.h (setCursor):
12665         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12666         Making use of the return value may help fix other bugs.
12667
12668 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12669
12670         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12671
12672         * LyXView.C (updateMenubar): call MenuBar::update here
12673         (updateToolbar): but not here
12674         (showState): do not update toolbar/menubar
12675
12676         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12677         should need to care about that.
12678
12679         * lyxfunc.C (verboseDispatch): simplify a bit
12680         (getStatus): have a version which takes a pseudoaction, and
12681         another which requires a (kb_action,string).
12682
12683         * LyXAction.C (retrieveActionArg): make it work also when action
12684         is not a pseudo-action.
12685         (getActionName): simplify a bit
12686         (helpText):
12687
12688 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12689
12690         * lyxfunc.C (verboseDispatch): new families of methods with
12691         several ways to specify a command and a bool to indicate whether
12692         the command name and shortcut should be displayed in minibuffer
12693         (eventually, we could extend that to a finer bitmask like
12694         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12695         (dispatch): the pristine dispatch command which just, well,
12696         dispatchs! Note it still sets its result to minibuffer; I'm not
12697         sure we want that.
12698
12699         * lyxfunc.h: remove setHintMessage
12700
12701         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12702
12703 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12704
12705         * BufferView_pimpl.C (specialChar): delete new inset if we have
12706         not been able to insert it.
12707
12708         * kbmap.C: revert to using int instead of kb_action, since all we
12709         are dealing with is pseudo-actions.
12710
12711         * LyXAction.C (searchActionArg): change to return int instead of
12712         kb_action, since the result is a pseudoaction.
12713
12714 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12715
12716         * buffer.C (insertErtContents): Fix (partially) the font bug.
12717
12718 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12719
12720         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12721         as the other one is broken on my machine!
12722
12723 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12724
12725         * commandtags.h:
12726         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12727
12728 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12729
12730         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12731         reflect their actual use. Provide compatibility code for older lyxrc
12732         files.
12733
12734         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12735         FL_NORMAL_STYLE.
12736         change names of popup font variables in line with the changes to lyxrc.C
12737
12738 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12739
12740         * buffer.C (asciiParagraph): avoid outputing a word twice after
12741         an inset.
12742
12743         * lyxrc.C (getDescription): document that document_path and
12744         template_path can be empty.
12745
12746 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12747
12748         * LaTeXFeatures.C (getMacros):
12749         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12750
12751         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12752
12753         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12754         getPackages.
12755         (getPackages): rename feature "floats" to "float". Use an array to
12756         iterate over 'simple' features (i.e. just a \usepackage). Add
12757         handling of "amsmath" (renamed from "amsstyle").
12758
12759 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12760
12761         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12762         features list.
12763
12764 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12765
12766         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12767         FuncStaus::FuncStatus & FuncStaus::some_method().
12768
12769 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12770
12771         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12772         of the func_satus stuff. Edited and massaged in various ways by
12773         JMarc.
12774
12775         * lyxfunc.C (getStatus): use FuncStatus
12776
12777 2002-01-08  Juergen Vigna  <jug@sad.it>
12778
12779         * text.C (nextBreakPoint): use function Inset::isChar().
12780
12781         * paragraph.C (TeXOnePar): use function
12782         Inset::forceDefaultParagraphs.
12783
12784         * buffer.C (latexParagraphs): use function
12785         Inset::forceDefaultParagraphs.
12786
12787 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12788
12789         * lyx_gui.C (init): set the style of the menu popups to
12790         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12791
12792 2002-01-07  Juergen Vigna  <jug@sad.it>
12793
12794         * text.C (setHeightOfRow): small fix
12795         (prepareToPrint): don't look at alignment if we don't have the place
12796         for doing it.
12797
12798 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12799
12800         * box.C: New file. Move the Box methods and functions out of box.h,
12801         following Lars' suggestion.
12802
12803 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12804
12805         * box.h: #include "support/LOstream.h", needed for inlined function.
12806
12807         * lyxtextclass.C:
12808         * lyxtextclasslist.C: added some using std declarations.
12809
12810 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12811
12812         * box.h: make signed dimensions to allow insets wider than
12813           the screen (bug #162)
12814
12815         * BufferView_pimpl.C: add some insetHit debug
12816
12817 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * vc-backend.C: add FIXME
12820
12821 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12822
12823         * lyxfunc.C (getStatus): enable code for showing math font status
12824         in toolbar/menu.
12825
12826 2002-01-07  Juergen Vigna  <jug@sad.it>
12827
12828         * text.C (nextBreakPoint): removed debug output not needed anymore.
12829
12830 2002-01-06  Juergen Vigna  <jug@sad.it>
12831
12832         * text.C (nextBreakPoint): fixed up this function we had this bug
12833         since ever but now hopefully we break row better.
12834         (insertChar): we have to check if an inset is the next char as it
12835         could now happen that a large inset is causing a break.
12836
12837 2002-01-05  Juergen Vigna  <jug@sad.it>
12838
12839         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12840         if it doesn't like to be drawed.
12841
12842 2002-01-04  Juergen Vigna  <jug@sad.it>
12843
12844         * BufferView2.C (lockInset): forgot to set a cursor.
12845
12846         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12847
12848 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12849
12850         * FormMathsPanel.C:
12851         * FormMathsPanel.h
12852         * MathsSymbols.C:
12853         * form_maths_panel.C:
12854         * form_maths_panel.h:
12855         * form_maths_panel.fd: implemented sub- and super- buttons in math
12856         panel.
12857
12858         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12859         (or ^ space) to be used as in TeX (req'd by André).
12860
12861         * lyxfunc.C: Allow ^ and _ again to be used both as
12862         super/subscript (mathed) and as themselves (in text).
12863
12864 2002-01-03  Allan Rae  <rae@lyx.org>
12865
12866         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12867         "LyX" or the filename of the current buffer if it has one.  This is a
12868         modified form of John Levon's patch.
12869
12870         * XFormsView.C (setWindowTitle): also set icon title.
12871
12872         * LyXView.h (setWindowTitle): signature changed.
12873         * XFormsView.h (setWindowTitle): ditto.
12874
12875 2002-01-02  Juergen Vigna  <jug@sad.it>
12876
12877         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12878
12879 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12880
12881         * screen.C (topCursorVisible): introduce a temp var for
12882         text->cursor.row(), handle the case where this row is null. (kindo
12883         hachish)
12884
12885         * text2.C (setCursor): add a couple of asserts.
12886
12887         * paragraph.h (inset_iterator): add -> operator
12888
12889         * paragraph.[Ch] (autoDeleteInsets): remove member function
12890
12891         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12892         cursor pos correctly and handle inset deletion by itself.
12893         (insertErrors): move iterator declaration out of for expression
12894
12895         * lyxtextclass.C: add <algorithm>
12896
12897         * Makefile.am: added the new files to sources, removed layout.C
12898
12899         * layout.C: removed file
12900
12901         * layout.h: remove LYX_DUMMY_LAYOUT
12902
12903         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12904         layout.
12905
12906         * lyxlayout.[Ch]:
12907         * lyxtextclass.[Ch]:
12908         * lyxtextclasslist.[Ch]: new files
12909
12910         * include order changes to a lot of files, also changes because of
12911         the six new files.
12912
12913 2001-12-27  Juergen Vigna  <jug@sad.it>
12914
12915         * buffer.C (asciiParagraph): more fixes.
12916
12917         * tabular.C (ascii): make ascii export support export of only the
12918         data separated by a column-delimiter.
12919         (ascii): better support for ascii export.
12920
12921         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12922
12923 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12924
12925         * tabular_funcs.C: use a "using std::getline" instead of the
12926         previous fix from Angus (necessary for cxx + lyxstring)
12927
12928 2001-12-24  Juergen Vigna  <jug@sad.it>
12929
12930         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12931
12932         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12933         problems. First check a minipage also if we have some ert-contents
12934         (not only on par->size(), second set the right depth of the paragraph
12935         on the relink to the root-paragraph-list!
12936
12937         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12938         which then did not anymore update the main paragraphs on undo/redo!
12939
12940 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12941
12942         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12943         code. Support all font-changing funcs (even those which are not in
12944         menu currently). Support for reporting font settings in
12945         mathed (disabled until Andre provides a function on mathed's side).
12946
12947         * func_status.h (toggle): small helper function to set toggle
12948         state on a flag.
12949
12950 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12951
12952         * tabular_funcs.C: getline -> std::getline
12953
12954 2001-12-21  Juergen Vigna  <jug@sad.it>
12955
12956         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12957         accessed and could be 0 (I couldn't generate this but it seems
12958         Michael could!).
12959
12960 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12961
12962         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12963         * tabular_funcs.h: here and include iosfwd
12964
12965 2001-12-20  Juergen Vigna  <jug@sad.it>
12966
12967         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12968         inside inset but undo_par was.
12969
12970 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12971
12972         * Thesaurus.C: always include <config.h> in sources.
12973
12974         * Painter.h:
12975         * lyxlookup.h:
12976         * box.h: do not include <config.h> in header files
12977
12978         * text.C (paintLastRow): remove unused variable
12979
12980         * text.C (transformChar):
12981         (insertChar):
12982         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12983
12984         * Painter.C (text):
12985         * font.C (width): rewrite to use uppercase() instead of
12986         islower/toupper.
12987
12988         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12989
12990 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12991
12992         * lyxfind.C: clean up of find failure position change
12993
12994 2001-12-20  Juergen Vigna  <jug@sad.it>
12995
12996         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12997
12998         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12999         (TeXRow): added to LaTeX a single tabular row.
13000         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13001         (Latex): simplified and finally good LT-h/f support.
13002         (various_functions): just small adaptions for LT-h/f support.
13003
13004         * tabular_funcs.[hC]: added and moved here all not classfunctions
13005         of LyXTabular.
13006
13007 2001-12-19  Juergen Vigna  <jug@sad.it>
13008
13009         * tabular.[Ch]: better support for longtabular options (not finished
13010         yet!)
13011
13012 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13013
13014         * text.C (paintLastRow): use the label font instead of the font of
13015         the last character to compute the size of *_BOX. This makes more
13016         sense and avoids a crash with empty paragraphs.
13017         Use Painter::rectangle to draw EMPTY_BOX.
13018
13019 2001-12-19  Juergen Vigna  <jug@sad.it>
13020
13021         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13022         the paragraphs if the replaced paragraph is not the first one!
13023         Tried to delete not used paragraphs but does not work yet so for
13024         now it's inside #ifdef's and by default off!
13025
13026 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13027
13028         * MenuBackend.C: include "lyx_main.h" instead of declaring
13029         lastfiles (actually was declared as LastFiles* instead of a
13030         scoped_ptr).
13031
13032 2001-12-17  Juergen Vigna  <jug@sad.it>
13033
13034         * tabular.C (AppendColumn): applied John's fix
13035
13036 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13037
13038         * BufferView.h:
13039         * BufferView.C:
13040         * BufferView_pimpl.h:
13041         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13042
13043         * Makefile.am:
13044         * box.h: new start of class for above
13045
13046         * lyxfunc.C: ignore space-only minibuffer dispatches.
13047           Show the command name when it doesn't exist
13048
13049         * minibuffer.C: don't add empty lines to the history
13050
13051         * minibuffer.C: add a space on dropdown completion
13052
13053 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13054
13055         * text.C: fix line above/below drawing in insets
13056
13057 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * lyxlength.C (LyXLength): Initialize private variables.
13060
13061 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13062
13063         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13064         when inserting error insets.
13065
13066 2001-12-13  Juergen Vigna  <jug@sad.it>
13067
13068         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13069         actually sometimes the before-paragraph.
13070         (setUndo): don't clear the redostack if we're not actually undoing!
13071
13072 2001-12-06  Juergen Vigna  <jug@sad.it>
13073
13074         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13075         and fixed redoing of main paragraph, so we can use it now ;)
13076
13077         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13078
13079 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13080
13081         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13082         Juergen's request
13083
13084 2001-12-13  André Pönitz <poenitz@gmx.net>
13085
13086         * undostack.[Ch]:
13087         * undo_func.C: minor cleanup
13088
13089 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13090
13091         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13092         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13093         font in urw-fonts package which is marked as -urw-fontspecific and
13094         does not work (incidentally, changing the encoding in the
13095         fonts.dir of this package to -adobe-fontspecific fixes the
13096         problem).
13097
13098         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13099         is a crash when undoing first paragraph (Juergen, please take a
13100         look). THis does not mean the undo fix is wrong, just that it
13101         uncovers problems.
13102
13103         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13104         the (Paragraph*) version when needed instead of duplicating the
13105         code.
13106
13107         * text.C (workWidth): use Inset::parOwner to find out where the
13108         inset has been inserted. This is a huge performance gain for large
13109         documents with lots of insets. If Inset::parOwner is not set, fall
13110         back on the brute force method
13111
13112         * paragraph_pimpl.C (insertInset):
13113         * paragraph.C (Paragraph):
13114         (cutIntoMinibuffer): set parOwner of insets when
13115         inserting/removing them
13116
13117         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13118
13119 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13120
13121         * commandtags.h:
13122         * LyXAction.C:
13123         * lyx_main.C:
13124         * lyxfunc.C:
13125         * mathed/formulabase.C:
13126         * mathed/math_cursor.[Ch]:
13127         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13128
13129
13130 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * lyxlength.[Ch] (operator!=): new function
13133
13134 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * text.C (workWidth): use Inset::parOwner to find out where the
13137         inset has been inserted. This is a huge performance gain for large
13138         documents with lots of insets. If Inset::parOwner is not set, fall
13139         back on the brute force method
13140
13141         * paragraph_pimpl.C (insertInset):
13142         * paragraph.C (Paragraph):
13143         (cutIntoMinibuffer): set parOwner of insets when
13144         inserting/removing them
13145
13146         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13147
13148 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13149
13150         * tabular-old.C (getTokenValue):
13151         * tabular.C (getTokenValue):
13152         (write_attribute): new versions for LyXLength
13153         (everywhere): adjust the use of widths
13154
13155         * tabular.h: change the type of widths from string to LyXLength
13156
13157 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13158
13159         * paragraph.C: fixed missing line number count when exporting
13160         Environments to LaTeX file
13161
13162         * buffer.C: added informational message for checking line numbers.
13163
13164 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13165
13166         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13167         paragraph, do the 'double space' part, but not the 'empty
13168         paragraph' one.
13169
13170         * text.C (workWidth): small optimization
13171         (getLengthMarkerHeight): use minimal size for negative lengths.
13172
13173 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13174
13175         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13176
13177         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13178
13179 2001-12-11  André Pönitz <poenitz@gmx.net>
13180
13181         * FontLoader.C:
13182         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13183
13184 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13185
13186         * text2.C: keep selection on a setFont()
13187
13188 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * lyx_cb.C: another bv->text misuse, from insert label
13191
13192 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * kbsequence.h:
13195         * kbsequence.C: re-instate nmodifier mask
13196
13197 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13198
13199         * lyx_main.h: make lyxGUI private.
13200
13201 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * lyxfind.C: place the cursor correctly on failed search
13204
13205 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13206
13207         * text.C (getLengthMarkerHeight): for small heights, the arrows
13208         are not always on top/bottom of the text
13209         (drawLengthMarker): smaller arrows; take the left margin in
13210         account; draw also vfills.
13211         (paintFirstRow):
13212         (paintLastRow): remove special code for vfill and standard spaces,
13213         since everything is handled in drawLengthMarker now.
13214
13215 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * buffer.C (insertErtContents): try to handle font and language
13218         interaction a bit better.g
13219
13220         * ColorHandler.C (updateColor): change the hash to cover the whole
13221         LColor enum, ws cleanup
13222         (getGCLinepars): ditto
13223         (getGCLinepars): only lookup in the linecache once.
13224
13225 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13226
13227         * iterators.C (operator++): Make the iterator more robust
13228
13229         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13230         (John's patch)
13231         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13232
13233 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13234
13235         * lyxtext.h:
13236         * text.C: better added space drawing
13237
13238 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * LyXView.C:
13241         * BufferView2.C: fix layout combo update on inset unlock
13242
13243 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * Makefile.am: don't compile unused files
13246
13247 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * lyxfunc.C:
13250         * commandtags.h:
13251         * LyXAction.C: remove old LFUN_LAYOUTNO
13252
13253 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * paragraph_pimpl.h:
13256         * paragraph_pimpl.C: isTextAt() doesn't need font param
13257
13258 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13259
13260         * lyxlex.h:
13261         * lyxlex.C: little cleanup
13262
13263 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * BufferView_pimpl.C: fix insertAscii for insets
13266
13267 2001-12-05  Juergen Vigna  <jug@sad.it>
13268
13269         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13270         set the right font on the "multi" paragraph paste!
13271
13272 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * trans_decl.h:
13275         * trans_mgr.[Ch]:
13276         * trans.[Ch]:
13277         * lyxgluelength.C:
13278         * lyxlength.C: remove out-commented code.
13279
13280         * BufferView_pimpl:
13281         * CutAndPaste.C:
13282         * DepTable.C:
13283         * buffer.C:
13284         * chset.C:
13285         * lastfiles.C:
13286         * lyxlex.C:
13287         * lyxlex_pimpl.C:
13288         * lyxserver.C:
13289         * screen.C:
13290         * tabular-old.C:
13291         * tabular.C:
13292         * text.C:
13293         * trans_mgr.C:
13294         * vc-backend.C: change "while(" to "while ("
13295
13296         * lyxlength.[Ch]: add zero function to check if length is zero or
13297         not
13298         * lyxgluelength.C: use it
13299
13300 2001-12-05  Allan Rae  <rae@lyx.org>
13301
13302         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13303         Works for 2.95.3, from what I understand of Garst's reports this should
13304         work for other g++ versions.  We're screwed if the abs(int) definition
13305         changed between bugfix releases of gcc.
13306
13307 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13308
13309         * text.C: fix chapter label offset !
13310
13311 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13312
13313         * lyxtext.h:
13314         * text.C: fix hfill at end of line, clean up
13315
13316 2001-12-04  Juergen Vigna  <jug@sad.it>
13317
13318         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13319         that we force an update of the inset and it's owners if neccessary.
13320
13321 2001-12-03  Juergen Vigna  <jug@sad.it>
13322
13323         * text.C (rowLast): simplified code
13324
13325 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13326
13327         * lyxfunc.C: fix show options on timeout
13328
13329 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * screen.C (topCursorVisible): scroll half a page when the cursor
13332         reached top of bottom of screen
13333
13334 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13335
13336         * minibuffer.C: deactivate on loss of focus
13337
13338 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * vspace.[Ch] (operator!=): add operator.
13341
13342 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13343
13344         * BufferView_pimpl.C: refuse to open an inset when
13345         there's a selection.
13346
13347 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13348
13349         * BufferView_pimpl.C: allow to click on RHS of full row insets
13350
13351 2001-11-30  Juergen Vigna  <jug@sad.it>
13352
13353         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13354         insets for undo reasons.
13355
13356 2001-11-28  André Pönitz <poenitz@gmx.net>
13357
13358         * vspace.[Ch]: cosmetical changes
13359
13360 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * LyXAction.h:
13363         * LyXAction.C:
13364         * lyxfunc.h:
13365         * lyxfunc.C:
13366         * kbmap.h:
13367         * kbmap.C:
13368         * lyxrc.C:
13369         * kbsequence.h:
13370         * kbsequence.C: part re-write of old kb code
13371
13372         * Painter.C:
13373         * WorkArea.C: remove Lgb_bug_find_hack
13374
13375 2001-11-30  José Matos <jamatos@fep.up.pt>
13376
13377         * buffer.C (makeDocBookFile): add a comment to point a hack.
13378         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13379         Fixed a double write of labels.
13380
13381 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13382
13383         * LaTeX.C:
13384         * LaTeX.h Fixed bug in LaTeX class where it would not
13385         re-run latex if no depfiles were changed, but the .dvi was removed.
13386
13387 2001-11-28  André Pönitz <poenitz@gmx.net>
13388
13389         * all the files from the change on 2001/11/26:
13390         use lyx::layout_type instead of LyXTextClass::size_type
13391         use lyx::textclass_type instead of LyXTextClassList::size_type
13392
13393 2001-11-29  Juergen Vigna  <jug@sad.it>
13394
13395         * text.C: added support for paragraph::isFreeSpacing()
13396
13397         * buffer.C: same as above
13398
13399         * paragraph.h: inserted isFreeSpacing() function to enable
13400         FreeSpacing inside InsetERT.
13401
13402         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13403         of the paragraph's in the cut/copy buffer to 0!
13404
13405         * text2.C (removeRow): remove the assert as it can!
13406
13407         * lyxtext.h: added helper function firstRow returning firstrow and
13408         made firstrow private again.
13409
13410         * BufferView2.C (lockInset): don't relock if we're already locked!
13411
13412         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13413         the only paragraph.
13414         (removeRow): added Assert::(firstrow)
13415
13416         * debug.C: forgot to add INSETTEXT here.
13417
13418 2001-11-28  Juergen Vigna  <jug@sad.it>
13419
13420         * sp_spell.C (initialize): changed error text to more general
13421         spellchecker command use (not only ispell!)
13422
13423         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13424
13425         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13426
13427 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13428
13429         * vspace.C: initialise lyxgluelength on failure
13430
13431 2001-11-28  Allan Rae  <rae@lyx.org>
13432
13433         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13434         declaration & definition that looks like a function declaration.
13435
13436 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13437
13438         * BufferView2.C (copy):
13439         (copyEnvironment): do not clear the selection when doing a copy.
13440
13441         * text.C (paintFirstRow): compilation fix
13442
13443 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13444
13445         * tabular.C (Latex): correct line count when writing latex.
13446
13447 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13448
13449         * paragraph_pimpl.h:
13450         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13451           bug a bit
13452
13453 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13454
13455         * text.C:
13456         * LColor.h:
13457         * LColor.C: change vfillline->added_space
13458
13459         * text.C: add markers and text for added space
13460
13461         * vspace.C: fix comment
13462
13463 2001-11-28  André Pönitz <poenitz@gmx.net>
13464
13465         * paragraph.C: whitespace changes
13466         * all the other files from the change on 2001/11/26:
13467         change *::pos_type into lyx::pos_type
13468
13469 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13470
13471         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13472         language of the document when inserting error insets.
13473
13474 2001-11-26  André Pönitz <poenitz@gmx.net>
13475
13476         * BufferView_pimpl.[Ch]:
13477         *       CutAndPaste.C:
13478         * buffer.[Ch]:
13479         * lyxcursor.[Ch]:
13480         * lyxfind.C:
13481         * lyxfunc.C:
13482         * lyxrow.[Ch]:
13483         * paragraph.[Ch]:
13484         * paragraph_pimpl.[Ch]:
13485         * sp_spell.C:
13486         * text.C:
13487         * text2.C: reduce header dependencies, introduce type for positions
13488
13489 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * <various>: change to use Alert.h
13492
13493 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13494
13495         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13496         when encountering an unknown token.
13497         (readLyXformat2): Show an error message if there were unknown tokens.
13498
13499 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13500
13501         * BufferView2.C:
13502         * BufferView_pimpl.C:
13503         * buffer.C:
13504         * paragraph.h:
13505         * text.C:
13506         * text2.C: use par->isInset()
13507
13508 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13509
13510         * paragraph_pimpl.h:
13511         * paragraph_pimpl.C: cleanup
13512
13513 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13514
13515         * text2.C (removeRow):
13516         * text.C (setHeightOfRow): remove useless (and costly) call to
13517         getRow.
13518
13519 2001-11-20  Allan Rae  <rae@lyx.org>
13520
13521         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13522         Now need Inset*::checkInsertChar() to return true for appropriate
13523         cases so that the characters in the minibuffer will actually be
13524         inserted.
13525
13526 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * text.C: change the order of the includes.
13529         (workWidth): initialize it at once.
13530         (workWidth): make maxw unsigned
13531         (setHeightOfRow): remove unused variable (inset)
13532         (selectSelectedWord): remove unused variable (inset)
13533         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13534
13535 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13536
13537         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13538         server is not running.
13539         (openConnection):
13540         (closeConnection): add debug info when server is disabled.
13541
13542         * ColorHandler.C (getGCForeground): send debug message to GUI
13543         channel.
13544
13545         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13546
13547         * kbmap.C (bind): modify because return conventions of
13548         kb_sequence::parse have changed.
13549
13550         * kbsequence.C (parse): only ignore spaces and not any stupid
13551         control character. This avoids tests like s[i] <= ' ', which are
13552         guaranteed to fail with 8bit characters and signed chars.
13553         Change return code to string::npos when there have been no error
13554         (0 was a bad idea when error is at first character)
13555
13556 2001-11-14  José Matos  <jamatos@fep.up.pt>
13557
13558         * buffer.h:
13559         * buffer.C (simpleDocBookOnePar): removed unused argument.
13560
13561 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13562
13563         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13564         insets which are part of a word. Paragraph::isLetter takes care of
13565         that now. Use Paragraph::isInset to identify insets.
13566         (selectSelectedWord): do not test for hyphenation break.
13567
13568         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13569         that protected spaces are considered as spaces.
13570
13571         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13572         Inset::isLetter.
13573
13574 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * lyxserver.h:
13577         * lyxserver.C: fix it. and small cleanup.
13578
13579 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13580
13581         * BufferView_pimpl.C: use inline helpers
13582
13583         * LaTeXFeatures.h:
13584         * LaTeXFeatures.C: fix typos
13585
13586         * Spacing.h:
13587         * Spacing.C: move spacing_string into class
13588
13589         * ToolbarDefaults.C: move stuff into namespace anon
13590
13591         * layout.h: update enum
13592
13593         * lyxfunc.C: use better debug
13594
13595         * minibuffer.h: fix typo
13596
13597         * debug.h:
13598         * debug.C:
13599         * WorkArea.C: add and use Debug::WORKAREA
13600
13601         * lyxtext.h:
13602         * text.C:
13603         * text2.C: code re-organisation, inline helpers
13604
13605 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13606
13607         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13608         std::vector.empty().
13609
13610 2001-11-09  Allan Rae  <rae@lyx.org>
13611
13612         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13613         '\n's after tables.  Tabular and ERT inset work now makes this no
13614         longer necessary.
13615
13616 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * minibuffer.h:
13619         * minibuffer.C: fix crash, improve drop-down completion
13620
13621 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13622
13623         * lyxserver.h:
13624         * lyxserver.C: invalidate fd's when doing endPipe()
13625
13626 2001-11-08  José Matos  <jamatos@fep.up.pt>
13627
13628         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13629         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13630
13631         * paragraph.h:
13632         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13633
13634 2001-11-07  José Matos  <jamatos@fep.up.pt>
13635
13636         * buffer.h:
13637         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13638         const qualifier.
13639
13640         * buffer.C (sgmlOpenTag):
13641         * buffer.C (sgmlCloseTag): removed debug info.
13642
13643         * buffer.h (sgmlOpenTag):
13644         * buffer.h (sgmlCloseTag): made public.
13645
13646 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13647
13648         * buffer.C (saveParamsAsDefaults):
13649         * lyx_cb.C (MenuLayoutSave): remove
13650
13651         * LyXAction.C (init):
13652         * commandtags.h:
13653         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13654
13655 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * buffer.C (setPaperStuff): removed from here...
13658
13659         * bufferparams.C (setPaperStuff): ... and moved there.
13660
13661 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13662
13663         * minibuffer.h:
13664         * minibuffer.C:
13665         * XFormsView.C: add support for drop-down completion
13666
13667 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13670         commands.
13671
13672 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13673
13674         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13675         disabled.
13676
13677 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13678
13679         * lyx_main.C: change ref to known bugs
13680
13681 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13682
13683         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13684         to work around older babel problems.
13685
13686 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13687
13688         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13689
13690 2001-10-24  Juergen Vigna  <jug@sad.it>
13691
13692         * tabular-old.C (ReadOld): below variable changes reflected.
13693
13694         * tabular.[Ch]: added ltType struct for longtable header/footer
13695         defines and changed all instances where they are used. Added
13696         future support for double top/bottom rows.
13697
13698 2001-10-24  José Matos  <jamatos@fep.up.pt>
13699
13700         * buffer.h (docbookHandleCaption):
13701         * buffer.C (docbookHandleCaption): removed unused function.
13702         (makeDocBookFile): moved docbook supported version to v4.1.
13703
13704 2001-10-24  José Matos  <jamatos@fep.up.pt>
13705
13706         * tabular.h:
13707         * tabular.C (docbookRow): new function to export docbook code of a row.
13708         (DocBook): now honors the longtable flags.
13709
13710 2001-10-23  José Matos  <jamatos@fep.up.pt>
13711
13712         * LaTeXFeatures.h:
13713         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13714         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13715
13716         * buffer.C (makeLinuxDocFile):
13717         (makeDocBookFile): reworked the preamble, more clean, and with
13718         support for lyx defined entities. Changed the document declaration
13719         to be more XML friendly.
13720
13721         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13722         if we need to output XML that should be done with a filter.
13723
13724 2001-10-22  Juergen Vigna  <jug@sad.it>
13725
13726         * sp_pspell.h (class PSpell): add alive function needed in the
13727         controller to see if the spellchecker could be started.
13728
13729 2001-10-22  Juergen Vigna  <jug@sad.it>
13730
13731         * buffer.C (insertStringAsLines): modify the font for inserting
13732         chars in certain conditions by calling checkInsertChar(font).
13733
13734 2001-10-19  Juergen Vigna  <jug@sad.it>
13735
13736         * text.C (workWidth): use getRow instead of wrong algorithm.
13737         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13738
13739 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13740
13741         * lyxserver.h:
13742         * lyxserver.C:
13743         * lyx_main.h:
13744         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13745
13746 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13747
13748         * text.C (workWidth): do not search for the exact row when
13749         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13750         optimization for big documents.
13751
13752 2001-10-18  Juergen Vigna  <jug@sad.it>
13753
13754         * text.C (workWidth): new function with added Inset * parameter.
13755
13756 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13757
13758         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13759
13760         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13761         change return type of getColumnNearX.
13762
13763
13764         * text.C (changeRegionCase): use uppercase/lowercase instead of
13765         toupper/tolower.
13766         (leftMargin):
13767         (rightMargin): simplify code by factoring out the uses of
13768         textclasslist.
13769         (labelFill):
13770         (numberOfHfills):
13771         (setHeightOfRow):
13772         (appendParagraph): use Paragraph::size_type
13773
13774 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13775
13776         * vspace.C (asLatexString): add a missing break
13777
13778 2001-10-15  Herbert Voss  <voss@perce.de>
13779
13780         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13781
13782 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13783
13784         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13785         is not available.
13786
13787 2001-10-10  André Pönitz <poenitz@gmx.net>
13788
13789         * lyxfunc.C: removed greek_kb_flag.
13790
13791 2001-10-10  Herbert Voss  <voss@perce.de>
13792
13793         * lyx_main.C: delete global string help_lyxdir.
13794
13795 2001-10-09  Herbert Voss  <voss@perce.de>
13796
13797         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13798
13799         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13800
13801         * lyx_main.C: added global string help_lyxdir.
13802
13803         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13804
13805 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13806
13807         * lyxrc.C (set_font_norm_type): support iso8859-4
13808
13809 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13810
13811         * LaTeX.C (deplog): add another regex for MikTeX
13812
13813 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13814
13815         * lyxrc.C (set_font_norm_type): support iso8859-3
13816
13817 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13818
13819         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13820
13821         * LaTeXFeatures.C: remove special case of french and index
13822
13823         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13824         before \begin{document}). This solves several incompatibilities.
13825
13826 2001-10-03  Garst Reese  <reese@isn.net>
13827
13828         * lyx_cb.C: change CheckTex error msg.
13829
13830 2001-10-03  José Matos  <jamatos@fep.up.pt>
13831
13832         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13833
13834 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13835
13836         * .cvsignore: update
13837
13838         * lyx_main.C (commandLineVersionInfo): use new style version info.
13839
13840         * buffer.C (writeFile):
13841         (makeLaTeXFile):
13842         (makeLinuxDocFile):
13843         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13844
13845         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13846
13847         * version.h: update to use stuff in version.C
13848
13849         * version.C.in: new file. Contains version information determined
13850         at compile time. This is a merging of version.h and
13851         version_info.h.in.
13852
13853 2001-10-03  Juergen Vigna  <jug@sad.it>
13854
13855         * BufferView_pimpl.C (update): don't change "dirty" status in
13856         updateInset call.
13857
13858 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13859
13860         * WorkArea.C (c-tor): re-position version string slightly.
13861
13862 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13863
13864         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13865         revert to previous code.
13866
13867         WorkArea.[Ch]: (show, destroySplash): methods removed.
13868
13869         WorkArea.C: rework code so that it's an amalgam of the codes before and
13870         after the splash screen was moved to WorkArea.
13871
13872 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * lyxrc.C (read):
13875         * vspace.C (inPixels):
13876         (lyx_advance):
13877         * kbmap.C (bind):
13878         * buffer.C (insertStringAsLines):
13879         (asciiParagraph): fix types to be large enough
13880
13881         * lyxlex_pimpl.h: change member status from short to int
13882
13883         * layout.h: fix type of endlabeltype
13884
13885         * kbmap.C (bind):
13886         * kbsequence.C (parse): change return type to string::size_type
13887
13888         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13889         variable
13890
13891         * Bullet.C (bulletSize):
13892         (bulletEntry): do not use short ints as parameters
13893
13894         * BufferView2.C (insertLyXFile): change a char to an int.
13895
13896         * WorkArea.C (WorkArea): remove unneeded floats in computation
13897
13898 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13899
13900         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13901
13902         * paragraph.C (asString): Do not ignore newline/hfill chars when
13903         copying to the clipboard.
13904
13905 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13906
13907         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13908         after a multi-line inset.
13909
13910 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13911
13912         * paragraph.C (validate): Set NeedLyXFootnoteCode
13913
13914 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13915
13916         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13917         and decrease-error to decrease.
13918
13919 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13920
13921         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13922         it more readable (should be equivalent)
13923
13924 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13925
13926         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13927
13928 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13929
13930         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13931         of a cursor (row, etc.) after a character has been deleted
13932         (deleteEmptyParagraphMechanism): call the method above on _all_
13933         cursors held by the LyXText when a double space has been
13934         detected/deleted.
13935
13936 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13937
13938         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13939         pixmap.
13940         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13941
13942         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13943         background. Use greyOut() and the new show() methods to toggle between
13944         the foreground and background. Add code to remove the splash after
13945         its initial showing.
13946
13947         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13948         (create_forms): no longer call Dialogs::showSplash.
13949
13950 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * .cvsignore: add version_info.h
13953
13954 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * version_info.h.in: new file
13957
13958         * Makefile.am: add version_info.h.in
13959
13960         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13961         version_info.h instead of VERSION_INFO
13962
13963 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13966         The ERT inset now returns string().
13967
13968 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13969
13970         * lyxtext.h, text.C (selectNextWord): renamed as
13971         selectNextWordToSpellcheck.
13972
13973         * text.C (selectNextWordToSpellcheck): Modified to not select
13974         words inside an ERT inset.
13975
13976 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13977
13978         * lyx_cb.C (MenuLayoutSave): change a bit the question
13979
13980         * sp_base.h: include <sys/types.h>
13981
13982 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13983
13984         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13985
13986 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13987
13988         * several files: fix typos in user-visible strings
13989
13990 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * text2.C (pasteSelection): do not set the selection, since it
13993         will be cleared later. Actually, the intent was to fix the way the
13994         selection was set, but I figured rmoving the code was just as good.
13995
13996 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13997
13998         * FontLoader.C (available): Check if font is available without
13999         loading the font.
14000
14001 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14002
14003         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14004
14005 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14006
14007         * lyxrc.[Ch]: added display_graphics variable and associated code.
14008
14009 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * bufferparams.C (hasClassDefaults): new method. Returns true if
14012         the buffer parameters correspond to known class defaults
14013
14014 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14015
14016         * XFormsView.C (show): set minimum size to the main window.
14017
14018 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14019
14020         * text2.C (copySelection):
14021         (cutSelection):
14022         * lyxfind.C (LyXReplace):
14023         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14024         LyXText::selectionAsString.
14025
14026         * paragraph.C (asString): add "label" argument to the second form
14027
14028         * text2.C (selectionAsString): add "label" argument and pass it to
14029         Paragraph::asString.
14030
14031 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14032
14033         * lyx_main.C (commandLineHelp): remove version information
14034
14035 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14036
14037         * lyx_main.C: add -version commandline option
14038
14039 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14040
14041         * paragraph.h: make the optional constructor arg required instead.
14042         some modifications to other files because of this.
14043
14044         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14045
14046         * lyxserver.C (C_LyXComm_callback): make it static
14047
14048         * lyx_main.C (error_handler): make it static
14049
14050         * lyx_gui.C (LyX_XErrHandler): make it static
14051
14052         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14053
14054         * WorkArea.C: make the extern "C" methods static.
14055
14056         * Makefile.am (lyx_LDADD): simplify
14057
14058 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14059
14060         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14061         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14062
14063         * LyXAction.C (init):
14064         * lyxfunc.C (dispatch): associated code removal.
14065
14066 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14067
14068         * lyxfont.h (isSymbolFont): shut off warning
14069
14070         * text.C (setHeightOfRow):
14071         (getVisibleRow): fix crash with empty paragraphs which have a
14072         bottom line
14073
14074 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14075
14076         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14077         code.
14078
14079 2001-09-04  José Matos  <jamatos@fep.up.pt>
14080         * buffer.C
14081         * buffer.h
14082         * tabular.C (docbook): rename docBook method to docbook.
14083
14084 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * Makefile.am: add dependencies to main.o.
14087
14088 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14089
14090         * FontLoader.C (available): Return false if !lyxrc.use_gui
14091
14092 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14093
14094         * FontInfo.C (query):
14095         * converter.C (view):
14096         * importer.C (Import):
14097         * exporter.C (Export): Can not -> cannot.
14098
14099 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14100
14101         * BufferView_pimpl.C: allow to create index inset even if
14102           string is empty
14103
14104 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14105
14106         * buffer.C (getLists): replace boost::tie code with an explicit pair
14107         as boost::tie can break some compilers.
14108
14109         * iterators.h: Added a std:: declaration to the return type of
14110         ParIterator::size.
14111
14112 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14113
14114         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14115           case.
14116
14117 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14118
14119         * iterators.[Ch]: New files. Provide paragraph iterators.
14120
14121         * buffer.C (changeLanguage): Use paragraph iterators.
14122         (isMultiLingual): ditto
14123
14124         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14125
14126 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * FontLoader.C: Support for cmr font.
14129
14130 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14133         (available): New method.
14134
14135         * FontInfo.C (getFontname): Use scalable fonts even when
14136         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14137         found.
14138
14139 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14140
14141         * converter.C (Formats::view): reverted! Incorrect fix.
14142
14143 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14144
14145         * converter.C (Formats::view): only output the -paper option
14146         if the dvi viewer is xdvi, thereby fixing bug #233429.
14147
14148 2001-08-23  Herbert Voss  <voss@perce>
14149
14150         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14151
14152 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14153
14154         * Spacing.h (Spacing): Set space to Default on in the default
14155         constructor.
14156
14157 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14158
14159         * vc-backend.h (RCS::versionString): add RCS to version
14160         (CVS::versionString): add CVS to version
14161
14162         * vc-backend.C (scanMaster): do not add CVS to version.
14163         (scanMaster): do not add RCS to version
14164
14165         * lyxvc.C (versionString): new method
14166
14167         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14168
14169 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14170
14171         * Spacing.C (set): initialize fval
14172
14173 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14174
14175         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14176         " or \.
14177
14178 2001-08-16  Juergen Vigna  <jug@sad.it>
14179
14180         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14181
14182 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14183
14184         * BufferView_pimpl.C:
14185         * figureForm.C:
14186         * lyxtext.h:
14187         * text2.C: setParagraph takes linespacing now
14188
14189 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14190
14191         * LyxAction.C: add internal LFUN_CITATION_INSERT
14192
14193         * LyXView.C: actually apply fix
14194
14195         * bufferlist.C: fix open non-existent file
14196
14197         * lyxfind.C: fix indentation
14198
14199         * lyxfunc.C: remove unneeded assert, fix typo
14200
14201 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14202
14203         * MenuBackend.C: use "Floatname List"
14204
14205 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14208         when converting LaTeX layout to insetERT.
14209         Generate a non-collapsed float when reading old float
14210
14211 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14212
14213         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14214         ERT insets.
14215
14216 2001-08-13  Juergen Vigna  <jug@sad.it>
14217
14218         * text.C (fill): return 0 instead of 20 as this seems to be the more
14219         correct value.
14220
14221 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14222
14223         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14224         lyxrc.font_norm.
14225
14226 2001-08-13  Juergen Vigna  <jug@sad.it>
14227
14228         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14229         casesensitive off.
14230         (SearchBackward): comment out the unlocking of the inset_owner this
14231         should not be needed!
14232
14233 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * Many files: Remove inherit_language, and add latex_language
14236
14237         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14238         collapsible insets.
14239
14240 2001-08-10  Juergen Vigna  <jug@sad.it>
14241
14242         * text.C (prepareToPrint): fixed hfill-width in draw!
14243
14244         * BufferView2.C (selectLastWord): save the selection cursor as this
14245         now is cleared in the function LyXText::clearSelection!
14246
14247 2001-08-08  Juergen Vigna  <jug@sad.it>
14248
14249         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14250         BACKSPACE type functions.
14251
14252         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14253         is only cutted from the document but not put in the cut-buffer, where
14254         still the old stuff should be.
14255
14256         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14257
14258         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14259
14260         * tabular.C (SetWidthOfCell): fixed special case where the width
14261         was not updated!
14262         (LeftLine): handle '|' in align_special.
14263         (RightLine): ditto
14264         (LeftAlreadyDrawed): ditto
14265         (SetWidthOfCell): ditto
14266
14267 2001-08-07  Juergen Vigna  <jug@sad.it>
14268
14269         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14270
14271 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14272
14273         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14274         * lyxlex.[hC]: ditto
14275
14276 2001-08-06  Juergen Vigna  <jug@sad.it>
14277
14278         * text.C (getVisibleRow): fix up row clearing a bit.
14279
14280 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14281
14282         * minibuffer.C: make sure the X server sees the changes in the input.
14283
14284 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * paragraph.C (getFont): split into...
14287         (getLabelFont): this
14288         (getLayoutFont): and this
14289         * paragraph_pimpl.C (realizeFont): calling this
14290
14291         * text2.C (getFont): split into...
14292         (getLayoutFont): this
14293         (getLabelFont): and this
14294         (realizeFont): all three calling this
14295
14296         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14297         files where used.
14298
14299 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14300
14301         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14302
14303 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14304
14305         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14306         layouts from the Quote inset insertion.
14307
14308 2001-08-03  Juergen Vigna  <jug@sad.it>
14309
14310         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14311
14312         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14313         only if status not is already CHANGED_IN_DRAW (second level).
14314
14315         * text.C (draw): don't set the need_break_row when inside an
14316         InsetText LyXText.
14317
14318 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * buffer.C (parseSingleLyXformat2Token): handle more latex
14321         conversion cases.
14322
14323         * bufferview_funcs.[hC]: change function names to
14324         begin with small char, adjust other files.
14325
14326 2001-08-02  André Pönitz <poenitz@gmx.net>
14327
14328         * lyxfunc.C:
14329         BufferView_pimpl.C: remove broken special code for math-greek
14330
14331 2001-08-02  Juergen Vigna  <jug@sad.it>
14332
14333         * BufferView_pimpl.C (update): redone this function so that we
14334         update the text again if there was a CHANGE_IN_DRAW.
14335
14336         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14337         (drawFromTo): added a new internal bool which is used by draw() and
14338         redraw() function.
14339         (general): some cursor drawing problems fixed.
14340
14341 2001-08-01  Juergen Vigna  <jug@sad.it>
14342
14343         * lyxfind.C (LyXFind): fixed
14344         (SearchForward): ditto
14345         (SearchBackward): ditto
14346
14347         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14348         spurius drawing of the cursor in the main area.
14349
14350         * text2.C (status): small fix which could lead to a segfault!
14351         (clearSelection): remove unneeded BufferView param.
14352
14353 2001-08-01  André Pönitz <poenitz@gmx.net>
14354
14355         * lyxfunc.C: small change due to changed mathed interface
14356
14357 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14358
14359         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14360
14361 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14362
14363         * lyxfunc.c: fail gracefully if file doesn't exist
14364
14365         * LyXSendto.C:
14366         * buffer.C:
14367         * lyxfunc.C:
14368         * BufferView_pimpl.C: IsDirWriteable() proto changed
14369
14370         * LyXView.C: fix updateWindowTitle() to store the last title
14371
14372 2001-07-31  Juergen Vigna  <jug@sad.it>
14373
14374         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14375         the font (wrong since using of Paragraph::highestFontInRange).
14376
14377         * paragraph.C (highestFontInRange): added a default_size parameter.
14378
14379         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14380         (setHeightOfRow): reformat
14381
14382 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14383
14384         * converter.[hC] + affected files: move to (inital-char)lowercase
14385         function names.
14386
14387         * ParagraphParameters.C (ParagraphParameters): remove commented code
14388
14389         * PainterBase.[Ch]: remove commented code
14390
14391         * LaTeXFeatures.h: add "bool floats" for float.sty
14392
14393         * LaTeXFeatures.C (LaTeXFeatures): init floats
14394         (require): handle float
14395         (getPackages): do it with floats
14396
14397 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14398
14399         * BufferView_pimpl.C (Dispatch): improve handling of
14400         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14401
14402         * commandtags.h: #include lyxfont.h here temporarily to avoid
14403         keybinding bug.
14404
14405         * bufferlist.h: include LString.h here.
14406
14407 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14408
14409         * text2.C (getStringToIndex): new method.
14410
14411 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14412
14413         * *: Reduced header file dependencies all over.
14414
14415 2001-07-30  Baruch Even  <baruch@lyx.org>
14416
14417         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14418
14419 2001-07-29  Baruch Even  <baruch@lyx.org>
14420
14421         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14422
14423 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14424
14425         * ParameterStruct.h (endif): add a default constructor to make
14426         sure that all variables is initialized.
14427
14428         * ParagraphParameters.C (ParagraphParameters): adjust
14429
14430 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14431
14432         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14433         index; also, check that there is something to index, and that it
14434         does not span over several paragraphs.
14435         (doubleClick): use WHOLE_WORD_STRICT for double click.
14436
14437         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14438
14439         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14440         scheme.
14441
14442 2001-07-26  Baruch Even  <baruch@lyx.org>
14443
14444         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14445         an InsetFig figure, backwards compatible reading of old figure code.
14446
14447 2001-07-27  Juergen Vigna  <jug@sad.it>
14448
14449         * text2.C: font.realize function adaption.
14450
14451         * text.C (draw): add a warnings lyxerr text if needed.
14452
14453         * layout.C: font.realize function adaption.
14454
14455         * language.C: add inherit_language and implement it's handlings
14456
14457         * bufferview_funcs.C (StyleReset): remove language parameter from
14458         font creation (should be language_inherit now).
14459
14460         * bufferparams.C (writeFile): handle ignore_language.
14461
14462         * paragraph.C (getFontSettings): the language has to be resolved
14463         otherwise we have problems in LyXFont!
14464
14465         * lyxfont.C (lyxWriteChanges): added document_language parameter
14466         (update): removed unneeded language parameter
14467
14468         * paragraph.C (validate): fixed wrong output of color-package when
14469         using interface colors for certain fonts in certain environments,
14470         which should not seen as that on the final output.
14471
14472 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14473
14474         * BufferView_pimpl.C:
14475         * Thesaurus.h:
14476         * Thesaurus.C:
14477         * Makefile.am:
14478         * commandtags.h:
14479         * LyXAction.C: add thesaurus support
14480
14481         * lyxfind.h:
14482         * lyxfind.C: add "once" parameter, for thesaurus, to not
14483           move to the next match
14484
14485 2001-07-26  Juergen Vigna  <jug@sad.it>
14486
14487         * lyxfont.C (realize): honor ignore_language too!
14488         (resolved): ditto.
14489
14490         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14491
14492         * text.C (draw): one place more for ignore_language to not draw
14493         itself!
14494
14495 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14496
14497         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14498
14499 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14500
14501         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14502         the minipage conversion problem.
14503
14504 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14505
14506         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14507         insert an inset.
14508
14509 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14510
14511         * BufferView.h: don't forward declare WorkArea
14512
14513         * BufferView.C: don't include WorkArea.h
14514
14515 2001-07-25  André Pönitz <poenitz@gmx.net>
14516
14517         * commandtags.h:
14518         * LyXAction.C:
14519         * lyxfunc.C:  new LFUN 'math-space'
14520
14521         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14522
14523 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14524
14525         * text2.C (toggleInset): call open/close
14526
14527 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * lyxfunc.C (dispatch): add debug for the disabled case
14530
14531         * font.C (buttonText): make similar to rectText
14532
14533         * buffer.C (readInset): comment out parsing of insetlist and
14534         insttheorem
14535
14536         * PainterBase.C (rectText): small correction
14537
14538         * BufferView_pimpl.C: comment out insettheorem and insetlist
14539         * LyXAction.C: ditto
14540         * commandtags.h: ditto
14541
14542 2001-07-24  Juergen Vigna  <jug@sad.it>
14543
14544         * text.C (draw): honor the ignore_language.
14545
14546         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14547
14548 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14551         char inset.
14552
14553 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14554
14555         * lyxtext.h: remove unused (and unimplemented) methods
14556
14557 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14558
14559         * text.C (getVisibleRow): honor background color
14560
14561         * PainterBase.h:
14562         * Painter.h: remove default color argument for fillRectangle
14563
14564         * text.C (backgroundColor): new method
14565
14566 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14567
14568         * text.C (getVisibleRow): adjust
14569
14570         * font.[Ch] (rectText): new method, metrics
14571         (buttonText): new method, metrics
14572
14573         * PainterBase.[hC]: make rectText and buttonText always draw and take
14574         fewer paramteres.
14575
14576 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14577
14578         * ToolbarDefaults.C (read):
14579         * MenuBackend.C (read): allow escaping in all strings
14580
14581         * BufferView_pimpl.C (insertAndEditInset): new method.
14582         (Dispatch): use insertAndEditInset whenever appropriate.
14583
14584         * BufferView_pimpl.C (insertNote): removed
14585
14586         * BufferView_pimpl.C (smartQuote): new method, moved from
14587         BufferView; if an insetquote cannot be inserted, insert a '"'
14588         character instead.
14589
14590         * BufferView2.C: remove insertCorrectQuote();
14591
14592         * lyxfunc.C (getStatus): Add support for all remaingin
14593         inset-insert lfuns.
14594
14595         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14596
14597         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14598         command (necessary to pass " as parameter of self-insert.
14599
14600         * text.C (selectWordWhenUnderCursor):
14601         (selectWord): add word_location parameter
14602         (selectWordWhenUnderCursor): same + remove special code for word
14603         boundary.
14604         (selectNextWord): use kind() to guess type of insetspecialchar,
14605         not latex().
14606
14607         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14608         (insertErtContents): create ert insets as collapsed.
14609         (readInset): better compatibility code for Info inset.
14610
14611 2001-07-20  Juergen Vigna  <jug@sad.it>
14612
14613         * lyxfunc.C (dispatch): use always LyXFind now!
14614
14615         * text2.C (init): add a reinit flag so that the LyXText can be
14616         reinited instead of deleted and reallocated (used in InsetText).
14617
14618         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14619
14620         * text.C: ditto
14621
14622         * text2.C: ditto
14623
14624 2001-07-18  Juergen Vigna  <jug@sad.it>
14625
14626         * text.C (selectNextWord): handle insets inside inset by calling
14627         always the bv->text functions so that we can go up the_locking_inset!
14628
14629         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14630         in strange locations when inside an inset!
14631
14632         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14633         handling to include insets.
14634
14635         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14636
14637 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * LyXAction.C (init):
14640         * commandtags.h:
14641         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14642         LIGATURE_BREAK, since the name is so stupid.
14643
14644 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14645
14646         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14647         InsetInfos.
14648
14649         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14650
14651         * sp_form.[Ch]: remove.
14652
14653         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14654
14655         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14656         InsetInfo.
14657
14658         * src/buffer.C (readInset): ditto.
14659
14660 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14661
14662         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14663         menuSeparator(), endOfSentenceDot(), ldots() and
14664         hyphenationPoint(), which are therefore removed.
14665         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14666
14667         * LyXAction.C (init):
14668         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14669
14670         * paragraph.C (getWord): removed.
14671
14672         * BufferView_pimpl.C (Dispatch): use last word or selection for
14673         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14674
14675         * lyx_main.C (queryUserLyXDir): do not ask before creating
14676         user_dir, except if it has been named explicitely.
14677
14678 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14679
14680         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14681         a document of zero size.
14682
14683 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14684
14685         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14686         approriately in the c-tor and in require().
14687         (getPackages): output the appropriate LaTeX for natbib support.
14688
14689         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14690         variables "use_natbib" and "use_numerical_citations" when reading the
14691         LyX file.
14692         (readInset): read the various natbib cite commands.
14693         (validate): white-space change.
14694
14695         * bufferparams.[Ch]: new variables "bool use_natbib" and
14696         "bool use_numerical_citations".
14697         (writeFile): output them in the LyX file.
14698
14699 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14700
14701         * lyxfunc.C (getStatus): add support for all the inset insertion
14702         commands.
14703
14704         * text2.C (insertInset):
14705         * paragraph.C (insetAllowed):
14706         * BufferView_pimpl.C (insertInset): update to take in account the
14707         renaming of insertInsetAllowed
14708
14709         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14710
14711         * text2.C (getInset): new method. returns inset at cursor position.
14712
14713         * BufferView_pimpl.C (Dispatch): changes because of this.
14714
14715         * LyXAction.C (init): rename open-stuff to inset-toggle.
14716
14717         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14718
14719         * text2.C (toggleInset): renamed from openStuff; use
14720         Inset::open().
14721
14722 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14723
14724         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14725
14726         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14727
14728 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14729
14730         * buffer.C (readLyXformat2): Add filename to the error dialog
14731
14732 2001-07-18  Juergen Vigna  <jug@sad.it>
14733
14734         * tabular.C (GetCellNumber): put an assert here instead of the check!
14735
14736 2001-07-17  Juergen Vigna  <jug@sad.it>
14737
14738         * BufferView_pimpl.C (toggleSelection): adapted too.
14739
14740         * text.C (selectNextWord): adapted for use with insets.
14741         (selectSelectedWord): ditto
14742
14743 2001-07-17  Juergen Vigna  <jug@sad.it>
14744
14745         * sp_spell.C (PSpell): fix initialitation order.
14746
14747 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14748
14749         * paragraph.C: spacing
14750
14751 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14752
14753         * sp_spell.C: repair language selection for pspell
14754
14755 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14756
14757         * lyxfunc.h: change more methods to begin with lower char.
14758
14759 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14760
14761         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14762         for unknown layouts.
14763
14764 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14765
14766         * buffer.C (readLyXformat2): Generate an error dialog if there are
14767         unknown layouts.
14768
14769 2001-07-16  Juergen Vigna  <jug@sad.it>
14770
14771         * sp_spell.C: always compile ISpell part.
14772
14773         * lyxrc.C: added use_pspell entry and it's handling.
14774
14775 2001-07-13  Juergen Vigna  <jug@sad.it>
14776
14777         * sp_spell.C: removed double includes.
14778
14779 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14780
14781         Consistent use of Lsstream.h:
14782         * Lsstream.h: added using std::stringstream for consistencies sake.
14783
14784         * buffer.C: removed using std::stringstream
14785
14786         * lyxfont.C (stateText):
14787         * paragraph.C (asString):
14788         * text.C (selectNextWord, selectSelectedWord):
14789         * text2.C (setCounter):
14790         * vspace.C (asString, asLatexString):
14791         std::ostringstream -> ostringstream.
14792
14793 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14794
14795         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14796         * commandtags.h: add LFUN_HELP_ABOUTLYX
14797         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14798
14799 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14800
14801         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14802         cursorToggle()
14803         * lyx_gui_misc.C: remove spellchecker
14804         * lyxfunc.C: showSpellchecker
14805         * sp_base.h: added
14806         * sp_ispell.h: added
14807         * sp_pspell.h: added
14808         * sp_spell.C: added
14809         * sp_form.[Ch]: removed
14810         * spellchecker.[Ch]: removed
14811
14812 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14813
14814         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14815         is set.
14816         (simpleTeXSpecialChars): Simply print the input character without
14817         any special translation if pass_thru is set.
14818
14819         * layout.h: Added bool pass_thru to layout class for being able to
14820         implement pass through of a paragraph for Literate Programming.
14821
14822         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14823         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14824         * layout.C (Read): add "passthru" to list of layout tags and add
14825         code to set the pass_thru boolean when it is read.
14826
14827 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * trans_decl.h: remove allowed from KmodInfo
14830
14831         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14832         remove allowed code
14833         (Load): adjust
14834
14835         * paragraph_pimpl.C (erase): use boost::prior
14836
14837         * Painter.C (text): use data() instead of c_str() when length is
14838         also provided.
14839         * WorkArea.C (putClipboard): ditto
14840         * font.h (width): ditto
14841
14842         * BufferView2.C: use it-> instead of (*it). for iterators
14843         * texrow.C: ditto
14844         * paragraph_pimpl.C: ditto
14845         * paragraph.C: ditto
14846         * minibuffer.C: ditto
14847         * language.C: ditto
14848         * kbmap.C: ditto
14849         * encoding.C: ditto
14850         * counters.C: ditto
14851         * converter.C: ditto
14852         * chset.C: ditto
14853         * Variables.C: ditto
14854         * TextCache.C: ditto
14855         * MenuBackend.C: ditto
14856         * LyXAction.C: ditto
14857         * LColor.C: ditto
14858         * FloatList.C: ditto
14859         * DepTable.C: ditto
14860         * ColorHandler.C (LyXColorHandler): ditto
14861
14862 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14863
14864         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14865
14866         * text2.C (openStuff): reintroduce this method (which had been
14867         nuked in NEW_INSETS frenzy).
14868
14869         * lyxfunc.C (Dispatch): when an action has not been handled, use
14870         its name in the error message, not its number.
14871
14872         * paragraph.C (inInset): change method name to begin with lowercase.
14873
14874         * undo_funcs.C:
14875         * text2.C: updates because of this.
14876
14877 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14878
14879         * ToolbarDefaults.C (add): add spaces in error message
14880
14881 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14882
14883         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14884         (readLyXformat2): rename return_par to first_par, use lyxlex's
14885         pushToken and remove the manual push handling.
14886         (parseSingleLyXformat2Token): add another ert comp. variable:
14887         in_tabular, rename return_par to first_par. handle newlines better
14888
14889 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14892
14893 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14894
14895         * text2.C (getParFromID): removed
14896
14897         * buffer.C (getParFromID): new method moved form lyxtext.
14898         * BufferView2.C (insertErrors): adjust
14899         (setCursorFromRow): adjust
14900         * BufferView_pimpl.C (restorePosition): adjust
14901         * lyxfunc.C (Dispatch): adjust
14902         * undo_funcs.C (textUndo): adjust
14903         (textRedo): adjust
14904         (textHandleUndo): adjust
14905         (textHandleUndo): adjust
14906
14907 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14908
14909         * buffer.C: up' the LYX_FORMAT
14910
14911         * lyxfont.h: turn NO_LATEX on as default
14912
14913         * buffer.C (insertErtContents): new methods of tex style compability.
14914         (parseSingleLyXformat2Token): use it several places.
14915         * tabular.C (OldFormatRead): and here
14916
14917 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14918
14919         * text2.C: remove some commented code.
14920         reindent file.
14921
14922         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14923         * trans.C: changes because of the above.
14924
14925 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14926
14927         * text2.C (setCounter): Fix counters bug with bibliography layout.
14928
14929 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14930
14931         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14932         own member functions
14933         (simpleTeXSpecialChars): ditto
14934
14935 2001-07-06  Juergen Vigna  <jug@sad.it>
14936
14937         * a lot of files: changed the access to LyXText::status and the
14938         call of undo-functions.
14939
14940         * undo.[Ch]: added a inset_id to the undo informations.
14941
14942         * undo_funcs.[Ch]: added and moved here all undo functions.
14943
14944         * lyxtext.h: give the status enum a weight, made status_ a private
14945         variable and made accessor functions for it, removed the whole bunch
14946         of undo-functions as they are now in their own file, make some
14947         functions publically available. Added function ownerParagraph with
14948         int parameter.
14949
14950         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14951         made InInset() a const function, added getParFromID() function.
14952
14953         * buffer.[Ch]: added const version for inset_iterator functions,
14954         added getInsetFromID() function.
14955
14956         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14957         changed undo functions for new version.
14958
14959 2001-07-05  Juergen Vigna  <jug@sad.it>
14960
14961         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14962         unknow mechanism does not call the proper constructor but only this
14963         one also if I request the other!?
14964
14965 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14968
14969         * text2.C (LyXText): use initialization lists.
14970
14971         * lyxtext.h (Selection): initialize set_ and mark_
14972         (init): remove method
14973
14974 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14975
14976         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14977
14978 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * screen.[Ch]: change method names to begin with lowercase
14981
14982         * BufferView_pimpl.C (updateScrollbar): simplify further and
14983         hopefully make it a bit faster.
14984
14985 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14986
14987         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14988         calling directly xforms functions.
14989
14990         * Painter.C (Painter):
14991         * lyx_cb.C (MenuWrite):
14992         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14993         fl_display.
14994
14995         * lyx_gui.C: remove bogus guiruntime extern declaration.
14996
14997 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15000         in NEW_INSETS
15001         (redoDrawingOfParagraph): ditto
15002         (redoParagraphs): ditto
15003         (cutSelection): don't create a object for CutAndPaste use the
15004         static method directly
15005         (pasteSelection): ditto
15006
15007         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15008         LyXview (+ rename)
15009
15010 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15011
15012         * modifications to some other files because of this.
15013
15014         * Makefile.am (lyx_SOURCES): add XFormsView
15015
15016         * XFormsView.[Ch]: new files
15017
15018         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15019         the main window. Move the gui dependent stuff to XFormsView
15020
15021 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15022
15023         * tabular.C (GetCellInset): update cur_cell also in the row/col
15024         version of this function.
15025
15026         * lyxfunc.C: no need to include figure_form.h here.
15027
15028         * FontLoader.h:
15029         * lyxfunc.h:
15030         * lyxscreen.h:
15031         * text2.C:
15032         * lyxvc.C: no need to include forms.h here.
15033
15034 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15035
15036         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15037
15038         * lyxfunc.C (Dispatch):
15039         * Spacing.C (set):
15040         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15041         constructor argument.
15042
15043 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * paragraph.C (Paragraph): dont't clear, and just set layout.
15046         (makeSameLayout): use params's copy contructor.
15047
15048         * ParagraphParameters.[Ch] (makeSame): delete method
15049
15050 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15051
15052         * Variables.[Ch]: fix indentation, rename set to isSet
15053
15054 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * lyxfunc.C (Dispatch): fix typo
15057
15058 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15061         upper_bound.
15062
15063         * bufferlist.C: include assert.h for emergencyWrite().
15064
15065 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15066
15067         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15068           give up at last (bug #425202) !
15069
15070 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * lyx_gui_misc.C:
15073         * sp_form.h:
15074         * sp_form.C:
15075         * spellchecker.h:
15076         * spellchecker.C: strip spellchecker options and bring up
15077           preferences tab instead
15078
15079 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15082         the istringstream constructor
15083
15084 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * paragraph.C (getLayout): fix return value
15087
15088         * paragraph.h: do not declare getLayout as inline.
15089
15090         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15091
15092 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15093
15094         * lyxcursor.h (operator<): new func
15095         (operator>): new func
15096         (operator>=): new func
15097         (operator<=): new func
15098
15099         * text.C (changeCase): use selection.start and selection.end
15100         (changeRegionCase): require from to be <= to. Require par to be a
15101         valid paragraph.
15102
15103         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15104
15105 2001-06-27  Juergen Vigna  <jug@sad.it>
15106
15107         * text.C (cursorLeftOneWord): changed to return the cursor and added
15108         overlay with BufferView * parameter which calls this one.
15109         (getWord): added
15110         (selectWord): use new getWord function.
15111         (changeCase): renamed from changeWordCase as and extended to work
15112         also on selections.
15113
15114         * lyxtext.h: added enum word_location
15115
15116         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15117         changeCase as this operates now also on selections.
15118
15119 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15120
15121         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15122
15123         * many files: send debug output to Debug::INFO instead of
15124         Debug::ANY.
15125
15126         * converter.C (View):
15127         (Convert):
15128         (Move): send debug output to Debug::FILES instead of console.
15129
15130 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15131
15132         * lyxfunc.C (getStatus): use func_status
15133
15134         * func_status.h: new header, describing the results of
15135         LyXFunc::getStatus;
15136
15137         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15138         LFUN_MATH_HALIGN.
15139
15140 2001-06-25  The LyX Project  <jug@sad.it>
15141
15142         * buffer.C (sgmlOpenTag):
15143         (sgmlCloseTag):
15144         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15145
15146 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15147
15148         * text2.C: remove some dead code
15149
15150         * tabular.C (GetCellInset): store the last cell checked (gotten)
15151
15152         * tabular.h: add the helper for the speedup
15153
15154         * lyxtext.h: remove some dead code
15155
15156 2001-06-26  The LyX Project  <Asger>
15157
15158         * paragraph.C: Change export to LaTeX of alignment to
15159         \begin{center} and family for better roundtrip work with reLyX.
15160
15161         * Tune the math drawing a bit.
15162
15163 2001-06-25  The LyX Project  <Asger>
15164
15165         * LColor.C (LColor): New color for math background. New color
15166         for buttons.
15167
15168 2001-06-25  The LyX Project  <jug@sad.it>
15169
15170         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15171
15172         * lyxfunc.C (Open):
15173         * bufferlist.C (newFile): do not restrict to files ending with
15174         .lyx
15175
15176         * BufferView_pimpl.C (MenuInsertLyXFile):
15177
15178 2001-06-24  The LyX Project  <jug@sad.it>
15179
15180         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15181         of compare_no_case
15182
15183 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15184
15185         * lyxtext.h: rename most methods to begin with a small char.
15186         Lots of changes because of this.
15187
15188         * paragraph.C (Paragraph): do not call fitToSize
15189         (erase): call Pimpl::erase
15190         (insertChar): call Pimpl::insertChar
15191         (insertInset): call Pipl::insertInset
15192         (breakParagraph): do not call fitToSize
15193         (breakParagraphConservative): do not call fitToSize
15194         (fitToSize): remove method
15195
15196         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15197
15198 2001-06-24  The LyX Project  <Asger>
15199
15200         * Fix Qt compilation^2
15201
15202 2001-06-24  The LyX Project  <jug@sad.it>
15203
15204         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15205         depthHook(getDepth()-1).
15206
15207         * paragraph.h:
15208         * ParagraphParameters.h:
15209         * ParameterStruct.h: change type of depth to unsigned int ==
15210         depth_type. Many adaptations to other files before of that.
15211
15212 2001-06-24  The LyX Project  <Asger>
15213
15214         * Fix Qt compilation.
15215
15216 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15217
15218         * paragraph.h: renamed several methods to begin with small letter.
15219         several changes to many parts of the code because of this.
15220
15221 2001-06-23  The LyX Project  <jug@sad.it>
15222
15223         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15224         rewritten to discard all double spaces when KeepEmpty is off
15225         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15226         to only handle newlines but not fiddle with spaces and friends.
15227
15228         * lyxfunc.C (MenuNew): when doing 'new from template', use
15229         template_path as default directory
15230
15231 2001-06-23  The LyX Project  <Asger>
15232
15233         * Clean-up of header file includes all over
15234         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15235
15236 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15237
15238         * paragraph.h: renamed from lyxparagraph.h
15239
15240 2001-06-23  Asger  <lyx@violet.home.sad.it>
15241
15242         * Buffer.h: Removed Buffer::resize
15243         * BufferList.h: Removed BufferList::resize
15244         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15245         the document lazily when we change the width, or the font settings.
15246
15247 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15250
15251 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15252
15253         * buffer.h: remove out of date comment
15254
15255 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15256
15257         * lyxscreen.h:
15258         * screen.C: fix "theoretical" GC leak
15259
15260 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15261
15262         * LaTeX.C (scanAuxFile):
15263         (deplog): remove trailing \r when reading stream (useful under
15264         win32)
15265
15266 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15267
15268         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15269         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15270         and BufferView::theLockingInset(Inset*), so should use them and not
15271         access bv_->text->the_locking_inset directly.
15272
15273         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15274
15275 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15276
15277         * Makefile.am:
15278         * tex-defs.h: remove old unused file
15279
15280 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15281
15282         * BufferView_pimpl.C: fix typo, remove minibuffer message
15283           when buffer has loaded
15284
15285 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15286
15287         * lyxfunc.C (Dispatch): use stringstream
15288         (MenuNew): use stringstream
15289         (Open): use stringstream
15290
15291         * importer.C (Import): use stringstream
15292
15293         * bufferview_funcs.C (CurrentState): use stringstream
15294
15295         * LaTeX.C (run): use stringstream
15296
15297         * BufferView_pimpl.C (savePosition): use stringstream
15298         (restorePosition): use stringstream
15299         (MenuInsertLyXFile): use stringstream
15300
15301 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15302
15303         * BufferView.C:
15304         * Bullet.C:
15305         * ColorHandler.C:
15306         * FontInfo.C:
15307         * FontLoader.C:
15308         * LColor.C:
15309         * LaTeXFeatures.C:
15310         * Painter.C:
15311         * gettext.C:
15312         * lyx_gui_misc.C:
15313         * lyxserver.C:
15314         * vspace.C: removed // -*- C++ -*- as first line.
15315
15316         * lyxfind.h:
15317         * version.h: added // -*- C++ -*- as first line.
15318
15319 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15322
15323         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15324         of string
15325
15326 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15327
15328         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15329         of floats.
15330
15331 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * gettext.C: include LString.h even when --disable-nls is on.
15334
15335 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15336
15337         * converter.h (Get): changed argument type from int to
15338         FormatList::size_type to avoid unnecessary conversion.
15339
15340         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15341         before using it.
15342
15343 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15344
15345         * gettext.h: include LString.h even when --disable-nls is on.
15346
15347 2001-06-07  Juergen Vigna  <jug@sad.it>
15348
15349         * text.C (BreakAgain): subst spaces with tabs.
15350
15351         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15352         (resizeInsetsLyXText): set force on resizeLyXText.
15353
15354 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15355
15356         * gettext.h (gettext_init):
15357         (locale_init): use a real definition instead of a macro
15358
15359 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15360
15361         * Bufferview_pimpl.C:
15362         * LColor.h:
15363         * LColor.C: further lcolor tidies
15364
15365 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * BufferView_pimpl.C (updateScrollbar): simplify.
15368
15369         * BufferView2.C: don't include insets/insetinfo.h, change
15370         prototype for insertInset and call the Pimpl version. let
15371         updateInset call Pimpl version.
15372
15373         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15374         gotoInset to BufferView::Pimpl
15375
15376 2001-06-01  Juergen Vigna  <jug@sad.it>
15377
15378         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15379         inside a LockingInset (is the update needed at all?).
15380
15381 2001-05-31  Juergen Vigna  <jug@sad.it>
15382
15383         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15384         here not the old one otherwise how should we compare it afterwards
15385         if it's the same!
15386
15387 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * lyxfont.C:
15390         * tabular.C:
15391         * tabular-old.C:
15392         * FontInfo.C: bring C functions into global namespace when
15393         necessary
15394
15395 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * LString.h: make sure config.h has been loaded before LString.h.
15398
15399         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15400         (one for each char read by EatLine!).
15401
15402         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15403         variables.
15404
15405 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15406
15407         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15408         to the same as the par we break from
15409
15410 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15413
15414         * MenuBackend.C (expand): also create menu entries for wide
15415         versions of the floats.
15416
15417         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15418
15419         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15420
15421         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15422         frontends/Makefile.am
15423
15424         * text2.C: adjust
15425         * text.C: adjust
15426
15427
15428         * tabular.C (getTokenValue): add std::
15429
15430         * tabular-old.C (getTokenValue): add std::
15431         (getTokenValue): ditto
15432         (getTokenValue): ditto
15433
15434         * screen.C (ToggleSelection): adjust
15435
15436         * lyxtext.h: put selection cursors inside a Selection struct.
15437
15438         * lyxfunc.C (moveCursorUpdate): adjust
15439
15440         * lyxfont.C (latexWriteStartChanges): add std::
15441
15442         * lyxfind.C: adjust
15443
15444         * font.h: delete with(char const *, LyXFont const &)
15445
15446         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15447
15448         * FontInfo.C (getFontname): add std::
15449
15450         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15451         (workAreaButtonPress): adjust
15452         (tripleClick): adjust
15453         (update): adjust
15454         (moveCursorUpdate): adjust
15455         (Dispatch): adjust
15456
15457         * BufferView2.C (gotoInset): adjust
15458
15459 2001-05-30  Juergen Vigna  <jug@sad.it>
15460
15461         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15462         to check pspell I add this as default as I now have new pspell
15463         libraries and they seem to use this.
15464
15465 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15466
15467         * text2.C (CutSelection): make the cursor valid before the call to
15468         ClearSelection.
15469
15470 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15473         relied on 0 terminated strings and other horrors. Bug found due to
15474         the new assert in lyxstring!
15475
15476         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15477         KP_ keys.
15478
15479 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15482         to latinkeys.bind.
15483
15484         * lyxfunc.C (processKeySym): change method of getting to the
15485         self-insert char.
15486
15487         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15488         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15489         * BufferView_pimpl.[Ch]: here as private methods.
15490
15491 2001-05-28  Juergen Vigna  <jug@sad.it>
15492
15493         * text.C (SetHeightOfRow): added the update() call again as it is
15494         needed to initialize inset dimensions!
15495
15496 2001-05-16  Juergen Vigna  <jug@sad.it>
15497
15498         * text2.C (SetCharFont): Add new function with BufferView * and
15499         bool toggleall parameters for setting insets internal fonts.
15500         (SetFont): Freeze the undo as we may change fonts in Insets and
15501         all this change should be inside only one Undo!
15502
15503         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15504         setting font's in insets as for them we have the SetFont function!
15505
15506 2001-05-15  Juergen Vigna  <jug@sad.it>
15507
15508         * text2.C (ClearSelection): to be sure we REALLY don't have any
15509         selection anymore!
15510
15511         * tabular.C (TeXCellPreamble): fixed the left border problem for
15512         multicolumn cells.
15513
15514 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15515
15516         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15517         dependancy file
15518
15519 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15520
15521         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15522         LFUN_BREAKPARAGRAPH.
15523
15524         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15525         help test to "internal only", similar for LFUN_INSERT_URL
15526
15527         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15528         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15529         auto_region_delete and deadkeys.
15530
15531 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15532
15533         * LColor.h:
15534         * LColor.C: remove some dead entries, tidy a little
15535
15536 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15537
15538         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15539         commented code.
15540         (Dispatch): implement LFUN_ESCAPE
15541
15542         * commandtags.h: add LFUN_ESCAPE
15543
15544         * LyXAction.C (init): add entry for LFUN_ESCAPE
15545
15546         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15547         Remove commented code.
15548         (insertNote): moved here
15549         (open_new_inset): moved here
15550
15551         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15552         BufferView_pimpl
15553
15554 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * kbmap.C (findbinding): clean it up and make it work correctly.
15557
15558         * lyx_main.C (init): do not pass argc and argv as parameters
15559
15560 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15561
15562         * buffer.C: fix path for OS/2 & Win32
15563
15564         * lyx_gui.C:
15565         * lyx_main:
15566         * lyx_main.C: Added os:: class.
15567
15568         * os2_defines.h: update
15569
15570 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15571
15572         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15573         better by trying again with reduced state.
15574
15575 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15576
15577         * lyxrc.C (read): print error about invalid key sequence only when
15578         debugging (because not all latinX keysyms are known to some X
15579         servers)
15580
15581         * kbsequence.C (getiso): add a few std:: qualifiers
15582         (getiso): comment out extra return statement.
15583
15584 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15585
15586         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15587         handling.
15588         (Dispatch): enhance the accent inset a bit. (not perfect)
15589
15590 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15591
15592         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15593
15594 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15595
15596         * bufferlist.C (emergencyWrite): fix assert() call
15597
15598 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15599
15600         * text.C (InsertChar): Added trivial patch to only send the "you
15601         can not do multiple spaces this way" message once during a
15602         session.
15603
15604 2001-05-08  Baruch Even  <baruch@lyx.org>
15605
15606         * Makefile.am: Changed order of libraries to get LyX to link properly
15607         with the gnome frontend.
15608
15609 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15610
15611         * LaTeXFeatures.h: add a std:: qualifier
15612
15613 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15614
15615         * paragraph.C (String): use stringstream
15616
15617 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15618
15619         * paragraph.C (writeFile): remove footflag arg
15620
15621         * buffer.C (makeLaTeXFile): use stringstream
15622         (latexParagraphs): remove footnot gurba
15623
15624         * LaTeXFeatures.C (getPackages): use stringstream
15625         (getMacros): likewise
15626         (getTClassPreamble): likewise
15627         (getFloatDefinitions): new method
15628
15629         * paragraph.C (writeFile): reindent
15630         (Erase): reindent
15631
15632         * WorkArea.h: revert the xpos + etc changes.
15633
15634         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15635
15636         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15637
15638         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15639         (pasteSelection): likewise
15640         * text2.C (CreateUndo): likewise
15641
15642 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15643
15644         * minibuffer.C (peek_event): temporarily reduce the functionality
15645         of the minibuffer (to allow args on lfuns)
15646
15647         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15648         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15649
15650         * buffer.C (readInset): add compability reading of old float
15651         lists, add reading of new style float list.
15652         (readInset): avoid reevaluation of inscmd.getCmdName()
15653         (getLists): reindent
15654
15655         * MenuBackend.C (MenuItem): implement parsing of
15656         md_floatlistinsert and md_floatinsert.
15657         (expand::LastFiles): move initalizaton of iterators out of loop,
15658         avoid reevaluation.
15659         (expand::Documents): introduce typdedef vector<string> Strings,
15660         and use it.
15661         (expand::ExportFormats): introduce typedef vector<Format const *>
15662         Formats, and use it.
15663         (expand): implement FloatListInsert and FloatInsert.
15664
15665         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15666         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15667         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15668
15669         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15670         handling.
15671         (Dispatch::LFUN_FLOAT_LIST): implement
15672
15673 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15674
15675         * LaTeX.C (run): Fix problem with --export code.
15676
15677 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15678
15679         * BufferView.[Ch] (workarea): removed.
15680         (getClipboard) new method; wrapper for workarea()->getClipboard()
15681
15682         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15683         bug.
15684
15685         * WorkArea.h (width, height, xpos, ypos): These methods all
15686         returned the dimensions of the work_area sub-area of WorkArea,
15687         resulting in a position error if the WorkArea were resized. Now
15688         return the dimensions of the entire WorkArea.
15689
15690         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15691
15692 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * LaTeX.C (deplog): correct the syntax of regex reg1
15695
15696 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * undo.C: remove !NEW_INSETS cruft
15699
15700 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15701
15702         * text2.C: remove !NEW_INSETS cruft
15703
15704         * text.C: remove !NEW_INSETS cruft
15705
15706         * tabular.C: remove !NEW_INSETS cruft
15707
15708         * spellchecker.C: remove !NEW_INSETS cruft
15709
15710         * lyxtext.h: remove !NEW_INSETS cruft
15711
15712         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15713
15714         * lyxfunc.C: remove !NEW_INSETS cruft
15715
15716         * lyxfind.C: remove !NEW_INSETS cruft
15717
15718         * lyx_cb.C: remove !NEW_INSETS cruft
15719
15720         * figureForm.C: remove  !NEW_INSETS cruft
15721
15722         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15723
15724         * buffer.[Ch]: remove !NEW_INSETS cruft
15725
15726         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15727
15728         * CutAndPaste.C: remove !NEW_INSETS cruft
15729
15730         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15731
15732         * BufferView2.C: remove !NEW_INSETS cruft
15733
15734         * BufferView.h: remove !NEW_INSETS cruft
15735
15736 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * Lsstream.h: include LString.h before the sstream headers to
15739         fix problem with gcc 2.95.3 and lyxstring
15740
15741 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15742
15743         * lyx_main.C: add using directives when needed for C functions
15744         declared in std:: namespace.
15745
15746 2001-04-27  Juergen Vigna  <jug@sad.it>
15747
15748         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15749         (SetHeightOfRow): comment out the update call should not be needed!
15750
15751 2001-04-13  Juergen Vigna  <jug@sad.it>
15752
15753         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15754         (LyXTabular): tried to minimize operator= operations (and realized
15755         hopfully Lars wish).
15756
15757 2001-04-27  Juergen Vigna  <jug@sad.it>
15758
15759         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15760
15761 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15762
15763         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15764
15765         * buffer.C (readInset): hack to make listof algorithm work
15766
15767         * BufferView_pimpl.C: hack to make listof algorithm work
15768
15769 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15770
15771         * LyXAction.C: removed all !NEW_INSETS cruft
15772         (init): moved lfun_item in method
15773
15774         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15775
15776 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15777
15778         * BufferView2.C (theLockingInset): white space.
15779
15780 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15781
15782         * minibuffer.C: include <iostream>
15783
15784         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15785
15786         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15787
15788         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15789
15790         * text.[Ch] (TransposeChars): new method
15791
15792 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15793
15794         * call message directly through LyXView instead of through LyXFunc
15795         * BufferView2.C: adjust
15796         * BufferView_pimpl.C: adjust
15797         * FontLoader.C: adjust
15798         * buffer.C: adjust
15799         * bufferview_funcs.C: adjust
15800         * converter.C: adjust
15801         * figureForm.C: adjust
15802         * importer.C: adjust
15803         * lyx_cb.C: adjust
15804         * lyx_gui_misc.C: adjust
15805         * lyxfunc.C: adjust
15806         * lyxvc.C: adjust
15807         * text2.C: adjust
15808         + more files in subdirs
15809
15810         * lyxparagraph.h (size): move up int file
15811         (GetLayout): ditto
15812
15813         * adjust all uses of Assert to lyx::Assert.
15814
15815         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15816         lyxfunctional in namespace lyx
15817         * layout.C (hasLayout): ditto
15818         (GetLayout): ditto
15819         (GetLayout): ditto
15820         (delete_layout): ditto
15821         (NumberOfClass): ditto
15822         * converter.C (GetFormat): ditto
15823         (GetNumber): ditto
15824         (Add): ditto
15825         (Delete): ditto
15826         (SetViewer): ditto
15827         * bufferlist.C (getFileNames): ditto
15828         (emergencyWriteAll): ditto
15829         (exists): ditto
15830         (getBuffer): ditto
15831         * MenuBackend.C (hasSubmenu): ditto
15832         (hasMenu): ditto
15833         (getMenu): ditto
15834         * BufferView_pimpl.C (getInsetByCode): ditto
15835
15836 2001-04-18  Juergen Vigna  <jug@sad.it>
15837
15838         * vspace.C (asLatexString): fixed the 100% problem.
15839
15840 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15841
15842         * lyxfunc.C (Dispatch):
15843         * minibuffer.C:
15844         * minibuffer.h: add a few std:: qualifiers
15845
15846 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15847
15848         * minibuffer.[Ch]: reimplement so that commands is initiated and
15849         run from lyxfunc, simplified som handling, and made the completion
15850         and history code for complete. wip.
15851
15852         * lyxfunc.C (processKeySym): call message
15853         (miniDispatch): new temporary method
15854         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15855         (LFUN_MESSAGE): implement
15856         (LFUN_MESSAGE_PUSH): implement
15857         (LFUN_MESSAGE_POP): implement
15858         (initMiniBuffer): the initial/defualt minibuffer message.
15859
15860         * lyxfont.[Ch]: inline some more getters
15861
15862         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15863
15864         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15865
15866         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15867         (AutoSave): use LFUN_MESSAGE
15868         (Reconfigure): ditto
15869
15870         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15871
15872         * figureForm.C: use LFUN_MESSAGE
15873
15874         * converter.C (runLaTeX): use LFUN_MESSAGE
15875
15876         * bufferview_funcs.C: use LFUN_MESSAGE
15877         (Melt): ditto
15878         (changeDepth): ditto
15879
15880         * bufferparams.h: use boost::
15881
15882         * bufferlist.h: inherit privately from noncopyable
15883
15884         * bufferlist.C (loadLyXFile): remove some commented code.
15885
15886         * buffer.C (runChktex): use LFUN_MESSAGE
15887
15888         * ShareContainer.h: inherit privately from noncopyable
15889
15890         * ParagraphParameters.[hC] (depth): inline it.
15891
15892         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15893         methods.
15894         (message): new method
15895         (messagePush): ditto
15896         (messagePop): ditto
15897         (show): init minibuffer
15898         (showState): direct call
15899
15900         * LaTeX.[Ch]: inherit privately from noncopyable
15901         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15902         instead of WriteStatus.
15903
15904         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15905
15906         * BufferView_pimpl.C (buffer): don't init minibuffer
15907         (workAreaButtonPress): use LFUN_MESSAGE
15908         (workAreaButtonRelease): ditto
15909         (savePosition): ditto
15910         (restorePosition): ditto
15911         (MenuInsertLyXFile): ditto
15912         (workAreaExpose): don't init minibuffer
15913         (update): remove commented code, simplify
15914
15915         * BufferView2.C (openStuff): use LFUN_MESSAGE
15916         (toggleFloat): ditto
15917         (menuUndo): ditto
15918         (menuRedo): ditto
15919         (copyEnvironment): ditto
15920         (pasteEnvironment): ditto
15921         (copy): ditto
15922         (cut): ditto
15923         (paste): ditto
15924         (gotoInset): ditto
15925         (updateInset): remove some commented code
15926
15927         * lastfiles.h: inherit privately from noncopyable
15928         * layout.h: ditto
15929         * lyx_gui.h: ditto
15930         * lyx_main.h: ditto
15931         * lyxlex.h: ditto
15932         * lyxlex_pimpl.h: ditto
15933
15934         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15935         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15936         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15937
15938         * LyXAction.h: inherit privately from noncopyable, add methods
15939         func_begin, func_end, returning iterators to the func map.
15940
15941         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15942         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15943         (func_begin): new method
15944         (func_end): new method
15945
15946         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15947         and not)
15948         (copySelection): ditto
15949         (pasteSelection): ditto
15950
15951         * BufferView.C: whitespace change
15952         * BufferView.h: inherit privately from noncopyable
15953
15954 2001-04-16  Allan Rae  <rae@lyx.org>
15955
15956         * tabular-old.C (l_getline):
15957         * spellchecker.C (sc_check_word):
15958         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15959         an unrecognised preprocessor directive.  So ensure they're wrapped.
15960
15961 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15962
15963         * src/exporter.C (Export): Give an error message when path to file
15964         contains spaces.
15965
15966 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15967
15968         * LaTeX.C (deplog): Always check that foundfile exists.
15969
15970 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15971
15972         * lyx_main.h:
15973         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15974
15975 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * tabular.[Ch] (getLabelList): implement new method
15978
15979         * minibuffer.h: comment ouf setTiimer
15980
15981         * minibuffer.C (ExecutingCB): constify res
15982         (peek_event): constify s
15983         (Set): constify ntext
15984         (Init): constify nicename
15985
15986         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15987
15988         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15989         (savePosition): use two params to Minibuffer::Set
15990         (restorePosition): ditto
15991
15992 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15993
15994         * lyx_main.C: include language.h
15995
15996         * Makefile.am (lyx_main.o): add language.h
15997
15998 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15999
16000         * exporter.C:
16001         * paragraph.C:
16002         * screen.C:
16003         * tabular.C:
16004         * CutAndPaste.C: include gettext.h
16005
16006         * lyxfont.h: remove old hack with ON and OFF.
16007
16008         * lyxparagraph.h:
16009         * lyxfont.h: do not include language.h...
16010
16011         * BufferView2.C:
16012         * LaTeXFeatures.C:
16013         * Painter.C:
16014         * bufferview_funcs.C:
16015         * font.C:
16016         * lyxfont.C:
16017         * text.C:
16018         * text2.C:
16019         * trans_mgr.C:
16020         * paragraph.C: ... but do it here instead
16021
16022 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16023
16024         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16025
16026         * tabular.C: small reformat
16027
16028         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16029         NEW_INSETS version
16030         (GetChar): ditto
16031         (BreakParagraph): ditto
16032         (SetOnlyLayout): ditto
16033         (SetLayout): ditto
16034
16035         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16036         with one arg less.
16037
16038         * lastfiles.C: removed most using decl, add std:: where needed
16039
16040         * buffer.C: ws changes
16041
16042         * MenuBackend.C (class compare_format): put into anon namespace
16043         (expand): constify label, names, action, action2
16044         (expand):
16045
16046         * text.C (SingleWidth): constify font
16047         (IsBoundary): constify rtl2
16048         (GetVisibleRow): constify ww
16049
16050         * LaTeX.C (deplog): constify logfile
16051
16052         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16053         start_x, end_x
16054         (workAreaExpose): constify widthChange, heightChange
16055
16056         * lyxrow.C (par): moved
16057         (height): moved
16058         (next): moved
16059         * lyxrow.h: as inlines here
16060
16061         * lyxfont.h (shape): moved from lyxfont.C
16062         (emph): moved from lyxfont.C
16063
16064         * lyxfont.C (LyXFont): use initialization list for all
16065         constructors
16066         (shape): move to lyxfont.h as inline
16067         (emph): move to lyxfont.h as inline
16068
16069
16070 2001-04-04  Juergen Vigna  <jug@sad.it>
16071
16072         * vspace.C: had to include stdio.h for use of sscanf
16073
16074 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16075
16076         * BufferView.h:
16077         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16078         independent of xforms.
16079
16080 2001-04-02  Juergen Vigna  <jug@sad.it>
16081
16082         * spellchecker.C: fixed namespace placing!
16083
16084 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16085
16086         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16087         the LyXParagraph * is 0.
16088
16089 2001-03-29  Juergen Vigna  <jug@sad.it>
16090
16091         * vspace.C: added support for %, c%, p%, l%.
16092         (stringFromUnit): added helper function.
16093         (asLatexString): changed to give right results for the %-values.
16094
16095         * buffer.C: convert the widthp in a width%.
16096
16097 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16098
16099         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16100         figureForm.[Ch].
16101
16102         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16103         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16104
16105         * lyx_cb.[Ch]: see above.
16106
16107         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16108         form1.[Ch].
16109
16110         * form1.[Ch]:
16111         * lyx.[Ch]: replaced by figure_form.[Ch].
16112
16113         * lyx_gui.C:
16114         * lyx_gui_misc.C:
16115         * lyxfunc.C: changed headers associated with above changes.
16116
16117 2001-03-27  Juergen Vigna  <jug@sad.it>
16118
16119         * BufferView_pimpl.C: set the temporary cursor right!
16120
16121 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16122
16123         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16124
16125 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16126
16127         * LString.h: removed "using std::getline"!
16128
16129         * BufferView_pimpl.C (Dispatch): changes due to changes in
16130         InsetInclude::Params.
16131
16132         * buffer.C (tag_name): removed redundant break statements as they were
16133         producing lots of warnings with my compiler.
16134
16135 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16136
16137         * LString.h: add "using std::getline" when using the real <string>.
16138
16139 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16140
16141         * buffer.C: removed bitset usage.
16142         PAR_TAG moved to an anonymous name space.
16143         (tag_name): new funtion, also in the anonymous namespace.
16144         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16145         (makeDocBookFile): clean code. Completed transition from string arrays
16146         to string vectors.
16147         (SimpleDocBookOnePar): code clean.
16148
16149 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16150
16151         * tabular.C: add some comments.
16152
16153 2001-03-22  Juergen Vigna  <jug@sad.it>
16154
16155         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16156         compatibility read a bit and fixed bug with minipage in different
16157         depth.
16158
16159 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16160
16161         * buffer.C (pop_tag): removed.
16162         (push_tag): removed.
16163         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16164         array replaced with vector. Added support for CDATA sections.
16165         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16166         at any nest level.
16167         (makeDocBookFile): XML conformant declaration of CDATA section,
16168         fixed bug related to <emphasis> in the first paragraph char.
16169         (sgmlOpenTag): exclude empty tags.
16170         (sgmlCloseTag): ditto.
16171
16172         * buffer.h (pop_tag): removed.
16173         (push_tag): removed.
16174
16175 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16176
16177         * language.h (Languages): added size_type and size().
16178
16179 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16180
16181         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16182         response on compability reading of minipages. One probliem is that
16183         the old usage of minipages was «flertydig»
16184
16185         * several files here and in subdirs: don't use static at file
16186         scope use anon namespaces instead.
16187
16188 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16189
16190         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16191         LaTeX output. This is necessary for Literate document
16192         processing.
16193
16194 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16195
16196         * buffer.C: insert hfill when needed.
16197
16198         * tabular.C (l_getline): use string::erase, small whitespace change.
16199
16200         * BufferView_pimpl.C: try the anon namespace.
16201         * WorkArea.C: ditto
16202
16203 2001-03-16  Juergen Vigna  <jug@sad.it>
16204
16205         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16206         otherwise it won't open options-dialogs.
16207
16208         * buffer.C: honor pextraWidth(p) on converting minipages.
16209
16210         * tabular.C (l_getline): changed the functions to strip trailing \r.
16211
16212 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16213
16214         * BufferView_pimpl.C:
16215         * minibuffer..C: added "using SigC::slot" declaration.
16216
16217 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16218
16219         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16220
16221         * text2.C: ditto
16222
16223         * text.C: ditto
16224
16225         * paragraph.C: ditto
16226
16227         * lyxtext.h: NO_PEXTRA
16228
16229         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16230
16231         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16232         * ParameterStruct.h: ditto
16233         * ParagraphParameters.h: ditto
16234         * lyxparagraph.h: ditto
16235
16236 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16237
16238         * buffer.C: add compability for minipage alignment.
16239         (latexParagraphs): remove unwanted pextra check.
16240
16241         * several files: remove CXX_WORKING_NAMESPACES
16242
16243         * buffer.C (pop_tag): tie is in namespace boost
16244
16245         * BufferView.h: noncopyable is in namespace boost
16246         * lyxlex.h: ditto
16247         * lyx_main.h: ditto
16248         * lyx_gui.h: ditto
16249         * layout.h: ditto
16250         * lastfiles.h: ditto
16251         * bufferlist.h: ditto
16252         * ShareContainer.h: ditto
16253         * LyXView.h: ditto
16254         * LyXAction.h: ditto
16255         * LaTeX.h: ditto
16256
16257 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16258
16259         * Merging changes from BRANCH_MVC back into HEAD.
16260
16261         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16262
16263 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16264
16265         * BufferView_pimpl.C: change from intl.C
16266
16267         * combox.h:
16268         * combox.C:
16269         * Makefile.am: move combox.*
16270
16271         * form1.h:
16272         * form1.C:
16273         * lyx_gui.C:
16274         * intl.h:
16275         * intl.C: remove dialog (covered by prefs)
16276
16277 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16278
16279         * lyxfunc.C (Dispatch): removed redundant break statement.
16280
16281 2001-03-14  Juergen Vigna  <jug@sad.it>
16282
16283         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16284
16285 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16286
16287         * buffer.C: add hack to fix compability reading of minipages.
16288
16289 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16290
16291         * buffer.C (getLists): Cleanup.
16292
16293 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16294
16295         * lyxfont.C (update): don't honor toggleall on font size.
16296
16297 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16298
16299         * bmtable.c:
16300         * bmtable.h:
16301         * Makefile.am: moved to frontends/xforms/
16302
16303         * lyx_gui_misc.C:
16304         * lyxfunc.C:
16305         * BufferView_pimpl.C: changes for moved mathpanel
16306
16307 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16308
16309         * gettext.h: fix gettext_init() in --disable-nls
16310
16311 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16312
16313         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16314
16315 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16316
16317         * lyx.C:
16318         * lyx.h: strip external form
16319
16320 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16321
16322         * BufferView_pimpl.C: add comment, destroySplash()
16323
16324 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16325
16326         * BufferView_pimpl.C:
16327         * LyXAction.C:
16328         * buffer.C:
16329         * commandtags.h:
16330         * lyxfunc.C: use re-worked insetinclude
16331
16332 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16333
16334         * buffer.C: add using std::stringstream.
16335
16336         * lyx_cb.C: readd using std::ios.
16337
16338         * buffer.C: add using std::map.
16339
16340         * BufferView_pimpl.C: add using std::vector.
16341
16342         * ShareContainer.h: add std:: to swap.
16343
16344         * buffer.h: add some typedefs
16345         * buffer.C (getLists): use them
16346         (getLists): renamed from getTocList.
16347         add a counter for the different float types and use it in the
16348         generated string.
16349         (getLists): use the same counter for the NEW_INSETS and the "non"
16350         NEW_INSETS
16351
16352         * lyx_cb.h: remove unused items, includes, using etc.
16353
16354         * ShareContainer.h: remove some commented code, add more comments
16355         and "documentation".
16356
16357 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16358
16359         * buffer.C (getTocList): make the list also when NEW_INSETS is
16360         defined.
16361
16362         * buffer.h: remove TocType
16363
16364         * buffer.C (getTocList): change to return a map<string,
16365         vector<TocItem> >, implement for dynamic number of list.
16366
16367         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16368         * text2.C (PasteSelection): adjust
16369         * CutAndPaste.C (pasteSelection): adjust
16370
16371         * FloatList.C (FloatList): update from the new_insets branch.
16372         * Floating.[Ch]: ditto
16373         * LaTeXFeatures.C: ditto
16374         * buffer.C: ditto
16375         * lyxlex_pimpl.C: ditto
16376
16377         * paragraph.C (Last): remove when NEW_INSETS is defined.
16378
16379         * other file: changes because of the above.
16380
16381 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16382
16383         * lyxparagraph.h: rename next to next_, previous to previous_,
16384         make them private for NEW_INSETS. Rename Next() to next(),
16385         Previous() to previous().
16386
16387         * other files: changes because of the above.
16388
16389 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16390
16391         * BufferView.h:
16392         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16393         problem.
16394
16395 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16396
16397         * main.C (main): pass lyx_localedir to gettext_init().
16398
16399         * gettext.h: remove locale_init and gettext_init macros
16400
16401         * gettext.C (locale_init): new function
16402         (gettext_init): new function
16403
16404         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16405         setlocale().
16406
16407 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16408
16409         * Moved credits to frontends:
16410         * credits.[Ch]: removed
16411         * credits_form.[Ch]: removed
16412         * lyx_gui_misc.C: remove credits stuff
16413         * Makefile.am:
16414
16415 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16416
16417         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16418
16419         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16420         unneeded destructor.
16421
16422         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16423         a standalone pointer again.
16424
16425         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16426
16427 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16428
16429         * Makefile.am:
16430         * filedlg.h:
16431         * filedlg.C:
16432         * LyXAction.C:
16433         * ToolbarDefaults.C:
16434         * bufferlist.C:
16435         * commandtags.h:
16436         * form1.C:
16437         * form1.h:
16438         * lyx_cb.C:
16439         * lyx_cb.h:
16440         * lyxfunc.h:
16441         * lyxfunc.C:
16442         * BufferView_pimpl.C: use new file dialog in GUII
16443
16444         * lyx_cb.h:
16445         * lyx_cb.C: remove LayoutsCB to Toolbar
16446
16447 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16448
16449         * ShareContainer.h (get): add std:: qualifier
16450
16451 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16452
16453         * ShareContainer.h: define a proper ShareContainer::value_type
16454         type (and use typename to please compaq cxx)
16455
16456 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16457
16458         * lyxparagraph.h: move serveral local vars to
16459         ParameterStruct/ParagraphParameters., use ShareContainer in
16460         FontTable., make vars in FontTable private and add getter and
16461         setter.
16462
16463         * paragraph.C: changes because of the above.
16464
16465         * lyxfont.h: remove copy constructor and copy assignment. (the
16466         default ones is ok), move number inside FontBits. move inlines to
16467         lyxfont.C
16468
16469         * lyxfont.C: add number to initializaton of statics, move several
16470         inlines here. constify several local vars. some whitespace
16471         cleanup. Dont hide outerscope variables.
16472
16473         * Spacing.h: add two new constructors to match the set methods.
16474
16475         * ShareContainer.h: new file, will perhaps be moved to support
16476
16477         * ParameterStruct.h: new file
16478
16479         * ParagraphParameters.h: new file
16480
16481         * ParagraphParameters.C: new file
16482
16483         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16484         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16485
16486         * BufferView_pimpl.C: ParagraphParameter changes.
16487         * buffer.C: Likewise.
16488         * bufferview_funcs.C: Likewise.
16489         * text.C: Likewise.
16490         * text2.C: Likewise.
16491
16492 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16493
16494         * lyxfind.C (LyXReplace): do not redefine default argument in
16495         implementation.
16496         (IsStringInText): ditto
16497         (SearchForward): ditto
16498         (SearchBackward): ditto
16499
16500 2001-03-06  Juergen Vigna  <jug@sad.it>
16501
16502         * lyxfind.C (IsStringInText): put parentes around expressions.
16503
16504 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16505
16506         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16507
16508 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16509
16510         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16511
16512         * stl_string_fwd.h: add comment
16513
16514         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16515
16516         * tabular.h:
16517         * tabular.C: remove unused DocBook methods
16518
16519         * intl.C:
16520         * language.C:
16521         * paragraph.C:
16522         * buffer.C:
16523         killed DO_USE_DEFAULT_LANGUAGE
16524
16525 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16526
16527         * lyx_gui.C: do not include language.h.
16528
16529         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16530         arguments in function implementation.
16531
16532 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16533
16534         * BufferView_pimpl.C: add <ctime>
16535
16536 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16537
16538         * BufferView_pimpl.C: add using std::find_if
16539
16540 2001-02-27  José Matos  <jamatos@fep.up.pt>
16541
16542         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16543         by OnlyPath.
16544
16545 2001-02-11  José Matos  <jamatos@fep.up.pt>
16546
16547         * buffer.C (makeDocBookFile): command styles now have a parameter as
16548         "title" by default.
16549
16550 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16551
16552         * layout_forms.[Ch]: removed
16553         * lyx_cb.[Ch]: out character
16554         * lyx_gui.C: out character
16555         * lyx_gui_misc.C: out character
16556         * bufferview_funcs.C: : out character,
16557         added toggleall as parameter in ToggleAndShow
16558
16559 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16560
16561         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16562
16563         * text2.C (SetCurrentFont): Disable number property at boundary.
16564
16565 2001-02-26  Juergen Vigna  <jug@sad.it>
16566
16567         * lyxfunc.C (getStatus): added a string argument override function so
16568         that this is correctly called from LyXFunc::Dispatch if it contains a
16569         do_not_use_argument which is used!
16570         (Dispatch): added check for "custom" export and call appropriate func.
16571
16572 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16573
16574         * lyxrc.C: Add language_command_local, language_use_babel and
16575         language_global_options.
16576
16577         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16578
16579         * buffer.C (makeLaTeXFile): Use language_use_babel and
16580         language_global_options.
16581
16582 2001-02-23  Juergen Vigna  <jug@sad.it>
16583
16584         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16585         which works with LyXText and putted it inside BufferView. Here now we
16586         only call for that part the BufferView::Dispatch() function.
16587
16588         * BufferView.C (Dispatch): added.
16589
16590         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16591         functions which needs to use a LyXText over from LyXFunc.
16592         (MenuInsertLyXFile): added
16593         (getInsetByCode): added
16594         (moveCursorUpdate): added
16595         (static TEXT): added
16596
16597 2001-02-22  Juergen Vigna  <jug@sad.it>
16598
16599         * BufferView_pimpl.C (update): call a status update to see if LyXText
16600         needs it.
16601
16602 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16603
16604         * vc-backend.C (revert): implement for CVS
16605         (getLog): implement for CVS
16606
16607 2001-02-20  Juergen Vigna  <jug@sad.it>
16608
16609         * text2.C (ClearSelection): added BufferView param for inset_owner call
16610
16611         * lyxfunc.C (TEXT): added this function and use it instead of
16612         directly owner->view()-text of getLyXText().
16613
16614 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16615
16616         * src/layout_forms.C: out preamble
16617         * src/layout_forms.h: out preamble
16618         * src/lyx_cb.C: out preamble
16619         * src/lyx_cb.h: out preamble
16620         * src/lyx_gui.C: out preamble
16621         * src/lyx_gui_misc.C: out preamble
16622         * src/lyxfunc.C: connect with guii preamble
16623
16624 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16625
16626         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16627
16628 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16629
16630         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16631         whether to run bibtex.
16632
16633 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16634
16635         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16636
16637 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16638
16639         * Makefile.am (lyx_SOURCES): removed bibforms.h
16640
16641         * vspace.h: doxygen
16642
16643         * text.C (GetVisibleRow): make several local vars const
16644
16645         * tabular.C: small cleanup.
16646
16647         * lyxserver.C (callback): use compare instead of strncmp
16648
16649         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16650         inlines to after class or to paragraph.C
16651
16652         * lyxfont.h: remove friend operator!=
16653
16654         * converter.h: move friend bool operator< to non friend and after
16655         class def.
16656
16657         * combox.h: small cleanup
16658
16659         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16660         to inlines after class def.
16661
16662         * buffer.C (pop_tag): use string operations instead of strcmp
16663
16664         * bmtable.c: doxygen, small cleanup
16665
16666         * LaTeX.h: remove friend operator==
16667
16668 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16669
16670         * screen.C:
16671         * lyxrc.[Ch]:
16672         * lyxfunc.C:
16673         * lyxfont.[Ch]:
16674         * lyx_cb.C:
16675         * intl.[Ch]:
16676         * commandtags.h:
16677         * buffer.C:
16678         * WorkArea.[Ch]:
16679         * LyXAction.C:
16680         * BufferView_pimpl.C:
16681         * BufferView.[Ch]: remove cruft
16682
16683 2001-02-14  Juergen Vigna  <jug@sad.it>
16684
16685         * lyxfunc.C: removed #if 0 unused code
16686
16687         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16688
16689         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16690
16691         * text2.C (SetSelection): added a BufferView * parameter
16692
16693 2001-02-13  Juergen Vigna  <jug@sad.it>
16694
16695         * lyxfunc.C (Dispatch): fixed protected blank problem.
16696         * BufferView2.C (protectedBlank): added LyxText * parameter.
16697
16698         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16699         (AppendColumn): same as above for column_info.
16700
16701         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16702         (moveCursorUpdate): use a LyXText param for support of InsetText.
16703
16704         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16705         (tripleClick): ditto
16706
16707         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16708
16709         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16710
16711         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16712
16713         * text2.C (SetSelection): set correct update status if inset_owner
16714         (ToggleFree): ditto
16715
16716 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16717
16718         * tabular.C: remove some commented code.
16719
16720 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16721
16722         * BufferView_pimpl.C: call hideSplash()
16723
16724         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16725
16726         * include_form.h:
16727         * bibforms.h: remove
16728
16729         * lyxfunc.C:
16730         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16731           add LFUN_CHILD_CREATE
16732
16733         * counters.h: fix tiny typo
16734
16735         * lyx_cb.C:
16736         * lyx.h:
16737         * lyx_gui.C:
16738         * lyx.C: move splash to frontends/xforms/
16739
16740         * lyx_gui_misc.C: move Include and Bibform to frontends
16741
16742         * lyxvc.h: clarify comment
16743
16744         * vspace.C: tiny housekeeping
16745
16746 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16747
16748         * text.C (PrepareToPrint): RTL Fix.
16749
16750         * paragraph.C (GetUChar): New method.
16751         (String):  Use GetUChar.
16752
16753         * buffer.C (asciiParagraph): Use GetUChar.
16754
16755 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16756
16757         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16758
16759 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16760
16761         * buffer.h:
16762         * buffer.C: rename to getLogName(), handle
16763           build log / latex log nicely
16764
16765 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16766
16767         * MenuBackend.C:
16768         * MenuBackend.h: remove support for reference menuitem type.
16769
16770 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16771
16772         * BufferView_pimpl.C: housekeeping
16773         * BufferView_pimpl.h:
16774         * LyXView.h:
16775         * Makefile.am:
16776         * Timeout.C:
16777         * Timeout.h:
16778         * minibuffer.h: move Timeout GUI-I
16779
16780 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16781
16782         * lyxrc.C (read): Update converters data-structures.
16783
16784 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16785
16786         * LaTeX.h (operator!=): add operator != for Aux_Info
16787
16788 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16789
16790         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16791
16792         * LaTeXLog.C: deleted, useful code moved to Buffer
16793
16794         * buffer.h:
16795         * buffer.C: new function getLatexLogName()
16796
16797         * lyx_gui_misc.C:
16798         * lyx_gui.C:
16799         * lyxvc.C:
16800         * lyxvc.h:
16801         * lyxfunc.C: use frontends for LaTeX and VC logs
16802
16803 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16804
16805         * LaTeX.h: yet another std:: that Allan forgot.
16806
16807         * Variables.C (set): renamed from isset(), because this clashes
16808         with some HP-UX macros (grr).
16809
16810 2001-02-06  Allan Rae  <rae@lyx.org>
16811
16812         * LaTeX.h: Another bug fix.  Missing std:: this time.
16813
16814 2001-02-04  Allan Rae  <rae@lyx.org>
16815
16816         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16817         floats problem. I've left it commented out because it's not quite
16818         correct.  It should also test that the current object is a table or
16819         figure inset.  But I haven't gotten around to figuring out how to do
16820         that.  I *think* it'll be something like: "table" == inset.type()
16821
16822         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16823         bool.
16824
16825 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16826
16827         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16828         all the citation/databases/styles in the auxilary file.
16829         (run): Rerun latex if there was a babel language error.
16830
16831 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16832
16833         * text.C (Backspace): Preserve the font when changing newline char
16834         with a space.
16835         (BreakParagraph): If the cursor is before a space, delete the space.
16836
16837         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16838
16839 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16840
16841         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16842         new argument (code).
16843         (ChangeCitationsIfUnique): New method.
16844
16845         * paragraph.C (GetPositionOfInset): Handle bibkey.
16846
16847 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * BufferView_pimpl.h: change type of Position::par_pos to
16850         LyXParagraph::size_type.
16851
16852 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16853
16854         * BufferView_pimpl.C (savePosition, restorePosition): Write
16855         messages to minibuffer.
16856
16857 2001-01-28  José Matos  <jamatos@fep.up.pt>
16858
16859         * buffer.C (makeDocBookFile): adds support for document language.
16860         A silly restriction on the name of LatexCommand types where removed.
16861         Added support for CDATA sections, allows to chars unescaped, used
16862         among others in code, to avoid escape < and >.
16863
16864 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16865
16866         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16867         saved positions instrad of a stack. Furthermore, a position is
16868         stored using paragraph id/paragraph position.
16869
16870         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16871         Remove LFUN_REF_BACK.
16872
16873 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16874
16875         * converter.C (dvipdfm_options): New method.
16876
16877 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16878
16879         * vspace.C (isValidLength): Fix for empty input string.
16880
16881 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16882
16883         * LyXAction.C (init): change description of LFUN_FIGURE to
16884         "Insert Graphics"
16885
16886 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16887
16888         * LaTeX.C: add using directive
16889
16890 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16891
16892         * MenuBackend.C (expand): Fix the sorting of the formats.
16893
16894 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16895
16896         * lyx_main.C: tiny error message fix
16897
16898 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16899
16900         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16901         calling fl_initialize(). This fixes the problem with ',' as
16902         decimal separator in text files.
16903
16904 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16905
16906         * trans.C (process): Fix the keymap bug.
16907
16908 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16909
16910         * LaTeX.C (scanAuxFiles): New method. Provides support for
16911         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16912         (scanLogFile) Scan for "run BibTeX" messages.
16913
16914         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16915         OT1 font encoding. Also, load the aecompl package if the ae
16916         package is loaded.
16917
16918         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16919
16920 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16921
16922         * texrow.C (increasePos): turn two error messages into debug
16923         messages.
16924
16925 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16926
16927         * LaTeX.C (scanAux): Handle the \@input macro.
16928         (runBibTeX): Use scanAux().
16929
16930         * language.C (latex_options_): New field.
16931
16932         * LaTeXFeatures.C (getMacros): Add language macros.
16933
16934         * buffer.C (makeLaTeXFile): Small fix.
16935
16936 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16937
16938         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16939
16940         * text2.C: add a using directive.
16941
16942 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16943
16944         * BufferView2.C:
16945         * lyx_gui_misc.h:
16946         * lyxfr1.C:
16947         * lyxfunc.C: kill LyXBell.
16948
16949 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16950
16951         * text.C (IsBoundary): Remove the error message
16952
16953         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16954
16955         * lyxrc.C (setDefaults): Correct initialization value for
16956         font_norm_type.
16957
16958 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16959
16960         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16961         gotoError().
16962
16963         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16964         and GotoNextNote().
16965
16966         * src/LyXAction.C: Added reference-next.
16967
16968         * text.C (InsertChar): Use contains instead of strchr.
16969
16970         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16971
16972 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16973
16974         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16975         alignment commands (when needed).
16976
16977         * text.C (InsertChar): Add ':' to number separator chars.