]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
1a81bcc627a034435567ccff9b0df878624ba8b6
[lyx.git] / src / ChangeLog
1 2005-01-16  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
4         for MacOSX and Windows to use prependEnvPath.
5         Strip out the hard-coded block to add elements to the PATH for
6         MacOSX and replace it with a call to prependEnvPath using the
7         contents of LyXRC::path_prefix.
8         (queryUserLyXDir): strip out the code to run reconfigure, instead
9         returning a boolean indicating the necessity to do so.
10         (reconfigureUserLyXDir): contains the code to reconfigure the
11         user support directory. Is now called after the various LyXRC data
12         files have been read.
13
14         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
15
16 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
17
18         * converter.[Ch] (convert): take a new parameter try_default. Use
19         a default converter (imagemagick) if try_default is true.
20
21 2005-01-13  Angus Leeming  <leeming@lyx.org>
22
23         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
24         os::cygwin_path_fix.
25         (write): output LyXRC::cygwin_path_fix as necessary.
26
27 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
28
29         * lyxrc.h:
30         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
31
32 2005-01-12  Angus Leeming  <leeming@lyx.org>
33
34         * lyx_main.C (init): set the PATH variable to include the
35         directory containing the LyX binary when running on Mac or Windows.
36
37 2005-01-12  Angus Leeming  <leeming@lyx.org>
38
39         * lyx_main.C (init): remove cruft that purports to set the locale
40         dir. It doesn't and is not needed anyway.
41
42 2005-01-10  Angus Leeming  <leeming@lyx.org>
43
44         * Makefile.am: remove the lyx_main.C special casing.
45
46         * BufferView_pimpl.C:
47         * bufferlist.C:
48         * exporter.C:
49         * lyx_cb.C:
50         * lyx_main.C:
51         * lyxfunc.C:
52         * messages.C: use support/package.h to provide the paths to the
53         various directories used by LyX.
54
55 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
58         layout if pasting into an empty paragraph)
59
60 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
61
62         * tex-accent.C: add <string>
63
64 2005-01-06  José Matos  <jamatos@lyx.org>
65
66         * ParagraphParameters.C (write): put every parameter in its own line.
67         * paragraph.C (write): reduce number of consecutive empty lines exported.
68         * buffer.C (LYX_FORMAT): increase file format to 239.
69
70 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
71
72         * everywhere: change support/tostr.h -> support/convert.h
73
74         * tabular.C: make all write_attributes templates, tostr -> convert
75
76         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
77         (emptyTag): and -> &&, and fix type for ret from getChar
78         (getFirstWord): fix type for ret from getChar
79         (onlyText): and -> &&
80         (simpleDocBookOnePar): and not -> && !, fix type for ret from
81         getChar
82
83         * toc.C (goTo, action):
84         * text3.C (dispatch):
85         * text.C (currentState):
86         * tex-accent.C (DoAccent):
87         * sgml.C:
88         * lyxrc.C:
89         * lyxfunc.C (menuNew):
90         * lyxfinc.C (replace):
91         * counters.C (laberItem):
92         * bufferview_funcs.C (font2string):
93         * bufferparams.C (writeFile):
94         * buffer.C (readFile):
95         * Spacing.C (set):
96         * MenuBackend.C: tostr -> convert
97
98         * LaTeX.C (runMessage): fix format
99         (scanAuxFiles): tostr -> convert
100
101         * BufferView_pimpl.C (savePosition): fix format
102         (restorePosition): ditto
103         (dispatch): ditto
104
105 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
106
107         * Spacing.[Ch]: New method getValueAsString().
108
109         * Spacing.[Ch]:
110         * bufferparams.C:
111         * ParagraphParameters.C:
112         * lyxlayout.C:
113         * text.C:
114         * text3.C: store/read spacing value as string.
115
116         * rowpainter.C: change float value (spacing_val) to double.
117
118         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
119         broken custom document spacing).
120
121 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
122
123         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
124         namespace, also more use of temp references and const
125
126         * cursor.[Ch] (getStatus): move to lyxfunc.C
127
128         * bufferparams.C: reformat slightly
129
130         * bufferview_funcs.C (font2string): constify arg
131
132         * changes.C:
133         * converter.C:
134         * counters.C:
135         * bufferlist.C:
136         * buffer_funcs.C: (many funcs): constify arg on function
137         definitions, also make more local vars const, also add ASSERTS on
138         pointer args.
139
140         * buffer.C (LYX_FORMAT): put const in correct place
141         (many funcs): constify arg on function definitions, also make
142         more local vars const
143
144         * aspell_local.h: remove "struct" from typdef setup
145
146         * aspell.C (check): make word_ok const
147         (nextMiss): simplify slightly
148         (error): ditto
149
150 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
151
152         * lyxrc.[Ch]: store all float values as strings.
153         use int (not float) for lyxrc.dpi.
154
155 2005-01-04  Angus Leeming  <leeming@lyx.org>
156
157         * lyx_cb.C (Reconfigure):
158         * lyx_main.C (queryUserLyXDir):
159         to run the <system_lyxdir>/configure correctly on Windows, prefix
160         the path to the script with "sh " when generating the string that
161         is passed to system().
162
163 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
164
165         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
166
167 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * lyxlength.C (asLatexString): get rid of setprecision
170
171 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
172
173         * text2.C (setLayout): remove unused variable endpit.
174         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
175
176         * paragraph.C (onlyText): remove unused variable style.
177
178         * cursor.C (bruteFind): remove unused variables beg and end.
179
180         * Makefile.am (dist_noinset_DATA): not needed anymore
181
182         * cheaders/*: remove.
183
184 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
185
186         * text3.C: fix LFUN_MATH_MODE.
187
188 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * buffer_funcs.C (countWords): new function. Counts words between
191         two iterators.
192
193         * BufferView_pimpl.C (getStatus, dispatch): handle
194         LFUN_WORDS_COUNT.
195
196         * LyXAction.C (init):
197         * lfuns.h: add LFUN_WORDS_COUNT.
198
199 2004-12-19  Angus Leeming  <leeming@lyx.org>
200
201         * buffer.C (save): s/slashify_path/internal_path/.
202
203 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
204
205         * lyxfind.C (findChange): do not search for end of pars, because
206         the change tracker cannot handle this (fixes bug 1719).
207
208 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
209
210         * paragraph.[Ch] (autoBreakRows): remove
211
212         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
213
214         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
215         avoid using the paragraph one
216
217         * text2.C (LyXText, insertStringAsLines): adjust
218
219 2004-12-16  Angus Leeming  <leeming@lyx.org>
220
221         * bufferlist.C:
222         * lyx_main.C:
223         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
224
225 2004-12-14  Angus Leeming  <leeming@lyx.org>
226
227         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
228
229         * bufferlist.C (emergencyWrite):
230         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
231         GetEnvPath("HOME").
232
233 2004-12-14  Angus Leeming  <leeming@lyx.org>
234
235         * main.C: (main): no longer pass pointers to os::init.
236
237 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * undo.C (textUndoOrRedo): simplify logic, fix a crash
240         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
241
242 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * lyxfunc.C:
245         * text3.C: remove selection_possible global flag
246
247 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * text2.C (getSelectionSpan): remove
250         (changeDepth, changeDepthAllowed): adjust
251
252 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
253
254         * Makefile.am (BOOST_LIBS): use boost variables
255
256 2004-12-03  José Matos  <jamatos@lyx.org>
257
258         * buffer.C: format up to 238.
259
260 2004-12-03  José Matos  <jamatos@lyx.org>
261
262         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
263
264 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
265
266         * cursor.C (goUpDown): remove call to idxUpDown2
267
268 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
269
270         * tabular.[Ch]: use size_t-like types for cell, row and column
271         indices
272
273 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * lyxfunc.C (getStatus): do not lose previous information when
276         calling BufferView::getStatus; do not set a default "Command
277         disabled" message at the beginning, but just before returning.
278
279 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
280
281         * cursor.h (getStatus): add better comment from src/cursor.C
282
283 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * text3.C (getStatus): return false when the lfun is not handled
286
287 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * broken_headers.h: remove
290
291         * Makefile.am (lyx_SOURCES): remove broken_headers.h
292
293 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
294
295         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
296         offset_ref accessors
297
298         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
299         top_y_, merge fitcursor with update
300         (updateScrollbar, scrollDocView, fitCursor, center, update): new
301         coord scheme
302         (metrics): introduce
303         (workAreaDispatch): adapt to new coord scheme
304         (redoCurrentBuffer): remove
305
306         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
307
308         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
309         CurStatus enum.
310
311         * coordcache.[Ch]: add paragraph cache and helpers
312
313         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
314         adjust everywhere
315
316         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
317         (targetX, setTargetX): introduce
318
319         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
320         baseline -> ascent, as the rest of lyx
321
322         * lyxtext.h: remove redoParagraphs, updateParPositions,
323         fullRebreak, redoParagraphInternal. move dist to anon namespace in
324         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
325         have ascent/descent (ascent is ascent of first par)
326
327         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
328         step of BufferView
329
330         * paragraph.[Ch]: unify dimension handling with the rest of lyx
331
332         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
333
334         * pariterator.C: fix infinite loop introduced in par->pit renaming
335
336         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
337         in insets and LyXText, draw two off-screen paragraphs using
338         NullPainter, and adapt to new coord scheme
339
340         * text.C:
341         * text2.C:
342         * text3.C: adapt lfun handlers to the new coord scheme, which
343         means: there's only guaranteed coord information for onscreen pars
344         plus one above and one below. This implies that one can do search
345         from y coordinates in the range [-1,workHeight]
346
347 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
348
349         * rename a lot of InsetOld to InsetBase
350
351 2004-11-25  Angus Leeming  <leeming@lyx.org>
352
353         * BufferView_pimpl.C:
354         * lyx_cb.C:
355         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
356
357 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
360         call BufferView::getStatus if LCursor::getStatus did nothing
361         (setStatusMessage, getStatusMessage): removed.
362
363         * FuncStatus.C (message): new methods. Used to provide an error
364         message indicating why a command is disabled.
365         (clear, |=, FuncStatus): update for message.
366
367 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
368
369         * lyxfunc.C (dispatch): always call sendDispatchMessage
370
371 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
372
373         * BufferView.C:
374         * BufferView_pimpl.C:
375         * CutAndPaste.C:
376         * FontIterator.C:
377         * buffer.C:
378         * cursor.C:
379         * cursor_slice.[Ch]:
380         * dociterator.[Ch]:
381         * lyxfind.C:
382         * paragraph_funcs.C:
383         * pariterator.C:
384         * rowpainter.C:
385         * text.C:
386         * text2.C:
387         * text3.C:
388         * undo.C: par->pit renaming
389
390 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
391
392         * tabular.C (cellstruct): use initialization, store a shared_ptr
393         to insettext instead of the insettext directly, adjust to fit.
394         (operator=):  new function
395         (swap): new function
396         (rowstruct): use initialization
397         (columnstruct): use initialization
398         (ltType): use initialization
399
400
401         * lyxlength.h (swap): new function
402
403         * LColor.[Ch] (operator=): use the common semantics
404
405 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * lyxfind.C (findNextChange): update the bufferview after setting
408         the selection.
409
410 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
411
412         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
413         number of InsetOptArgs has already been inserted.
414
415         * output_latex.C (latexOptArgInsets): new method. This outputs all
416         the optarg insets, up to the limit defined in the layout file.
417         (optArgInset): removed
418         (TeXOnePar): call latexOptArgInsets; correctly update texrow
419
420 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
421
422         * paragraph.C (isLetter): remove special spellchecker-related
423         code; return true also for digits
424         (isWord, isKomma): remove
425
426         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
427         * lyxfind.C (MatchString()): use isLetter instead of isWord
428
429 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
430
431         * pariterator.h (operatir=): comment out un-implemented member
432         function.
433
434         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
435         static cast.
436
437 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
438
439         * lyxfont.h: include LColor.h to satisfy concept checks.
440
441 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
442
443         * pariterator.h: add typdefs for value_type, difference_type,
444         pointer and reference to satisfy concept checks. Also add default
445         constructor for same reason.
446
447         * pariterator.C (operator++): add post-increment operator to
448         satisfy concept checks.
449
450         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
451         checks.
452
453         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
454
455         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
456         checks. Also rename base_type to BaseType to follow naming
457         standard better.
458
459         * FloatList.h: include Floating.h to satisfy concept checks.
460
461 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * lyxfunc.C (getStatus): when the origin of the request is menu or
464         toolbar, and the LyXView does not have focus, do as if there was
465         no buffer (bug 1720)
466
467         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
468         FuncRequest to individual entries of LFUN_SEQUENCE
469
470 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * output_latex.C (TeXOnePar): override runparams.moving_arg
473         according to the needprotect value of the current paragraph (bug
474         1739)
475
476         * paragraph.C (simpleTeXOnePar): no need to override
477         runparams.moving_args here
478
479 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
480
481         * vspace.C: fix off-by-one-error, related to fix #1682
482
483 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
484
485         * lengthcommon.C: a more general fix for bug 1682
486
487 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
488
489         * text.C (backspace): fix crash
490
491 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
492
493         * format.[Ch] (getFormatFromFile): new method
494         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
495
496 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
499
500 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * lyxfunc.C (dispatch): remove the verbose argument
503         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
504         instead
505
506         * kbmap.C (defkey): set the origin of func to KEYBOARD
507
508         * MenuBackend.C (MenuItem):
509         * ToolbarBackend.C (add): set the origin of func to UI
510
511         * funcrequest.[Ch]: add origin member, which indicates which part
512         of LyX requests an action
513
514 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
515
516         * converter.C (move): don't lie in the error message
517         * converter.h (isReachable, move): document
518
519 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
520
521         * buffer.C: remove unused using lyx::support::atoi
522         * paragraph_funcs.C: ditto
523
524 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
525
526         * bufferlist.C (exists): use bind and equal_to instead of
527         compare_memfun
528         (getBuffer): ditto
529         * lyxtextclasslist.C (NumberOfClass): ditto
530
531         * cursor.C (insert): use for_each instead of explicit for loop
532
533         * bufferlist.C (getFileNames): use std::transform and
534         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
535
536         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
537         for loop
538
539         * buffer.C (changeLanguage): use for_each instead of explicit for
540         loop
541         (hasParWithID): implement using getParFromID
542
543         * LaTeXFeatures.C: ws change only
544
545         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
546         to cleanup a bit.
547
548         * BufferView_pimpl.C (trackChanges): use for_each instead of
549         expilicit for loop
550
551 2004-11-04  André Pönitz  <poenitz@gmx.net>
552
553         * undo.h:
554         * undo.C (textUndoOrRedo): fix crash when creating undo information.
555
556         * dociterator.C (asDocIterator): use hard assert again.
557
558 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * lyxlength.C (asLatexString): rewrite so that it does not use
561         snprintf anymore
562
563 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * text3.C (specialChar, dispatch): make sure cursor moves to the
566         right after inserting an inset
567
568 2004-11-02  José Matos  <jamatos@lyx.org>
569
570         * output_docbook.C (docbook):
571         * paragraph.C (getID):
572         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
573         garantee that the output is always legal.
574
575         * tabular.C (docbook):
576         * outputprams.[Ch]: remove mixed contents.
577
578 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
579
580         * text2.C (setCounter): prevent endless loop
581
582 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
583
584         * exporter.C (copyFile): use the mover instead of support::copy()
585         * exporter.C (Export): pass format and latex name to copyFile()
586         * exporter.h (addExternalFile): document
587         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
588
589 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
590
591         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
592
593 2004-10-30  José Matos  <jamatos@lyx.org>
594
595         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
596         text and no inset or font change. This allows to use CDATA
597         sections just for the whole paragraph.
598
599 2004-10-30  José Matos  <jamatos@lyx.org>
600
601         * paragraph.C (getFirstWord): remove unused variable.
602
603 2004-10-30  José Matos  <jamatos@lyx.org>
604
605         * paragraph.C (getFirstWord): the content should always be escaped
606         there.
607         (simpleDocBookOnePar):
608         * output_docbook.C (makeEnvironment): replace reference to CDATA
609         to style pass_thru.
610
611 2004-10-30  José Matos  <jamatos@lyx.org>
612
613         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
614
615 2004-10-30  José Matos  <jamatos@lyx.org>
616
617         * output_docbook.C (makeParagraphs):
618         * paragraph.[Ch] (emptyTag): for docbook and company, if the
619         standard paragraph has only a given type of content drop the wrapper.
620
621 2004-10-29  José Matos  <jamatos@lyx.org>
622
623         * output_docbook.C (makeEnvironment):
624         * sgml.C (openTag):
625         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
626
627 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
628
629         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
630         (cleanID): sanitize any id.
631
632 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
633
634         * buffer.C, lyxlex_pimpl.C:
635         * lyxlex_pimpl.C (setFile):
636         s/getExtFromContents/getFormatFromContents/
637
638 2004-10-28  José Matos  <jamatos@lyx.org>
639
640         * output_docbook.C (makeEnvironment): move id to broadest possible
641         scope.
642
643         * sgml.C (openTag): apply substitution of <> for all attributes.
644
645 2004-10-28  José Matos  <jamatos@lyx.org>
646
647         * buffer.C (makeLinuxDocFile, makeDocBookFile):
648         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
649         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
650
651         * sgml.[Ch]: new version for open and closeTag for paragraph and
652         for strings. Now they handle the ids of paragraphs.
653
654 2004-10-26  Angus Leeming  <leeming@lyx.org>
655
656         * Makefile.am: add mover.[Ch].
657
658         * converter.C (convert, move): use the new Movers to move external
659         files to the temp directory.
660
661         * lyx_main.C (init): ensure that the global system_movers data
662         is initialised.
663
664         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
665         preferences file.
666
667         * mover.[Ch]: new files, defining a Mover as a utility to move an
668         external file between directories and, if necessary, manipulate this
669         file using a helper script.
670
671 2004-10-25  José Matos  <jamatos@lyx.org>
672
673         * output_docbook.C (makeCommand): merge two if's that tested the
674         same condition.
675
676 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         * sgml.C (escapeString): fix warning in a better way
679
680 2004-10-25  José Matos  <jamatos@lyx.org>
681
682         * sgml.C (escapeString): import the require boosts header file for
683         tie, and avoid a signed unsigned comparison.
684
685 2004-10-25  José Matos  <jamatos@lyx.org>
686
687         * sgml.h: add #include <string>
688
689 2004-10-25  José Matos  <jamatos@lyx.org>
690
691         * sgml.[Ch] (escapeString): new function to escape all the string.
692
693 2004-10-24  José Matos  <jamatos@lyx.org>
694
695         * paragraph.[Ch] (getFirstWord): new function to get the first
696         word. Useful for description.
697         (simpleDocBookOnePar): remove depth argument, add another that
698         says where to start the paragraph.
699
700         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
701         use the new functions to fix cleanly the support for descriptions.
702
703 2004-10-24  José Matos  <jamatos@lyx.org>
704
705         * buffer.C (makeLinuxDocFile, makeDocBookFile):
706         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
707         * output_linuxdoc.C (linuxdocParagraphs):
708         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
709         add buffer as argument.
710
711 2004-10-24  José Matos  <jamatos@lyx.org>
712
713         * output_docbook.C (makeEnvironment, searchEnvironment): place
714         CDATA inside paragraphs and fix scope for listitems.
715
716 2004-10-24  José Matos  <jamatos@lyx.org>
717
718         * output_docbook.C: remove using statement for stack.
719
720 2004-10-23  José Matos  <jamatos@lyx.org>
721
722         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
723         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
724         docbook. The new scheme is recursive and makes use of iterators, the
725         same as latex export works.
726         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
727         directly with the paragraph contents. This code was moved up to
728         output_docbook.C (docbookParagraphs).
729         * sgml.C (openTag, closeTag): removed unneeded newlines.
730         (closeEnvTags) removed.
731
732 2004-10-23  André Pönitz  <poenitz@gmx.net>
733
734         * undo.C (textUndoOrRedo):
735         * dociterator.C (asDocIterator): work around crash
736
737         * cursor.C (getStatus): replace ASSERT by more verbose error message
738           and manual correction of the problem. Should increase stability
739           while providing more sensible information.
740
741 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
744
745         * bufferlist.C (previous, next): new methods
746
747         * lfuns.h:
748         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
749
750 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
751
752         * buffer.C (makeDocBookFile): add dsssl stylesheet control
753         entities to preamble.
754
755 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
756
757         * messages.C (Pimpl): strip off translation context information
758
759 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
760
761         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
762         the cursor is correct (bug 1694)
763
764 2004-10-13  José Matos  <jamatos@lyx.org>
765
766         * output_docbook.C (docbookParagraphs): fix closing tags in the
767         end of the document.
768
769 2004-10-09  José Matos  <jamatos@lyx.org>
770
771         * buffer.C: format up to 237.
772         * bufferparams.C (write): use tostr to convert booleans to strings.
773
774 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
775
776         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
777
778 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
779
780         * LaTeX.C: implement use of babel language in xindy.
781
782 2004-10-05  José Matos  <jamatos@lyx.org>
783
784         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
785         Add new translators to help reading and writing the lyx file.
786
787 2004-10-05  José Matos  <jamatos@lyx.org>
788
789         * ParagraphParameters.C (read):
790         * text.C (readParToken): replace nexToken by more appropriate lex
791         methods.
792
793 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
794
795         * LaTeX.C (runMakeIndex):
796         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
797         (usually 'makeindex') configurable.
798
799         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
800         with a variable rather than with a number.
801
802 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * output_latex.C (TeXOnePar): make sure font setting is the first
805         thing that gets output (and the last at the end). Should fix bug
806         1404.
807
808 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
809
810         * pch.h: use proper signal include
811
812         * LaTeX.h: Use preferred calling of Boost.Signal
813         * buffer.h: ditto
814
815 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
816
817         * pch.h: dont include <boost/function/function0.hpp>
818
819         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
820
821         * paragraph_pimpl.h: remove usage of ShareContainer
822
823         * paragraph_pimpl.C: remove initialization of ShareContainer.
824
825 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         Fix bug #1666
828
829         * BufferView.C (putSelectionAt): change the semantics when
830         backwards == true: now, this just swaps cursor and anchor wrt the
831         forward case
832
833         * BufferView.h (putSelectionAt): add some documentation
834
835         * lyxfind.C (findBackwards): rewrite using while(). In particular,
836         make sure backwardChar is done at least once (to avoid getting
837         stuck)
838         (findNextChange): use putSelectionAt in the forward direction
839         (operator()): use Paragraph::isWord
840
841 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
842
843         * Spacing.C (set): c_str fix
844
845 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * lyx_cb.C (Reconfigure): quote the name of configure script in
848         case it contains spaces
849
850 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
851
852         * client: new dir
853
854         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
855         (BOOST_LIBS): use top_buildir when looking for the file
856
857 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
858
859         * pch.h: do not use include boost/format.hpp, multiple symbols
860                 will result (gcc bug)
861
862
863 2004-08-23  José Matos  <jamatos@lyx.org>
864
865         * bufferparams.C (readToken): fix reading of the author field.
866
867 2004-08-20  José Matos  <jamatos@lyx.org>
868
869         * lyxrc.C: remove support/translator.h inclusion since it is not used.
870
871 2004-08-20  José Matos  <jamatos@lyx.org>
872
873         * lyxlex.[Ch] (findToken): remove function.
874
875         * ParagraphParameters.C (findToken):
876         * bufferparams.C (findToken): replace call for previous function
877         with local copy. This local function has one more argument, the
878         read string argument.
879
880 2004-08-16  José Matos  <jamatos@lyx.org>
881
882         * ParagraphParameters.C (write):
883         * Spacing.C (writeFile):
884         * bufferparams.C (writeLaTeX):
885         * lyx_cb.C (Reconfigure):
886         * paragraph.C (write):
887         * tabular.C (write): remove unnecessary space at end of line.
888
889
890 2004-08-16  José Matos  <jamatos@lyx.org>
891
892         * text.C (readParagraph): remove debug message.
893
894 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
895
896         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
897         crash
898
899         * output_plaintext.C (asciiParagraph): set depth correctly
900
901         * outputparams.h: add member depth
902
903         * paragraph_funcs.C (ownerPar): remove.
904
905         * text2.C (setCounter): remove first_pit; comment out some
906         non-working code that uses ownerPar
907
908         * BufferView.C (getParentLanguage): remove. Not used anymore, and
909         uses ownerPar
910
911 2004-08-16  José Matos  <jamatos@lyx.org>
912
913         * text.C (readParToken, readParagraph, read): report all unknown tokens.
914         For the same level of importance use the same chanel to report problems.
915         (read): add code to deal with \begin_body and \end_body.
916
917
918 2004-08-15  José Matos  <jamatos@lyx.org>
919
920         * lyxlex.C (getString): fix comment, buffer::readBody is now
921         buffer:readDocument.
922
923         * tex-strings.C (string_papersize): Default -> default,
924         Custom -> custom, for consistency with other options.
925
926 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * pch.h: new file
929
930         * Makefile.am: support pch
931
932 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         * text.C (readParToken): remove the static LyXFont variable and
935         pass it as a parameter instead. This fixes a nasty bug where an
936         inset will be inserted with a bad font in some situations
937         (readParagraph): adapt
938
939         * text2.C (setCounter): reduce number of calls to pars_[pit]
940
941         * text.C (singleWidth): add an assert, fix a test
942
943         * rowpainter.C (paintText): reduce number of calls to singleWidth
944
945         * paragraph.C (isHfill):
946         (isNewline): ws only
947
948 2004-08-14  André Pönitz  <poenitz@gmx.net>
949
950         * text.C:
951         * text2.C:
952         * rowpainter.C:
953         * lyxtext.h (several functions): use a Paragraph & argument
954         instead of par_type
955
956 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * metricsinfo.h: add a new field ltr_pos to PainterInfo
959
960         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
961
962         * text.C (singleWidth): remove useless test
963
964 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
965
966         * tabular.h: remove bogus comments
967
968         * tabular.C (getDescentOfRow):
969         (isPartOfMultiColumn): add assertions
970
971         * lyxlength.C (inPixels): remove #warning
972
973 2004-08-14  André Pönitz  <poenitz@gmx.net>
974
975         * paragraph.h: inline getChar()
976
977         * BufferView.h: remove unused declarations
978
979 2004-08-14  José Matos  <jamatos@lyx.org>
980
981         * Buffer.[Ch] (readDocument): new name for old readBody.
982         * Buffer.C: new file format, new keywords: \begin_document,
983         \begin_header, \begin_body, \end_body.
984
985         * bufferparams.C (readToken): replace all calls to lex.nextToken
986         by lex.next(). Do the same to eatLine except where really needed.
987
988         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
989         line when writing to the lyx file.
990
991         * output_plaintext.C (asciiParagraph): fix Bibliography style
992         handling.
993
994         * text.C (read): fix end of file handling.
995
996 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
997
998         * MenuBackend.C (Menu::operator[]): new method to access
999         individual menu items
1000         (Menu::hasFunc): new method. search for an item that corresponds
1001         to a given func
1002         (MenuBackend::specialMenu): new method
1003         (MenuBackend::expand): if a special menu has been set, skip
1004         entries whose func() appears in this menu
1005
1006 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1007
1008         * text3.C: use Debug::DEBUG a bit more
1009
1010         * text.C (leftMargin): try to simplify a tiny bit change var x to
1011         l_margin. Dont output the wide margins always.
1012         (rightMargin): no margin in inner texts
1013
1014         * rowpainter.h (nestMargin): new func
1015         (changebarMargin): new func
1016         (rightMargin): new func
1017
1018         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1019         now functions.
1020         (paintLast): ditto
1021
1022         * factory.C (createInset): modify setDrawFrame
1023
1024         * cursor.C: use Debug::DEBUG a bit more
1025
1026 2004-08-14  André Pönitz  <poenitz@gmx.net>
1027
1028         * coordcache.[Ch]:
1029         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1030         cache for all insets in (at least partially) visible (top-level)
1031         paragraphs.
1032
1033         * BufferView_pimpl.C: reset external coord cache before every update.
1034         This means the coord cache only contains valid entries.
1035
1036 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1037
1038         bug 1096
1039         * BufferView_pimpl.C (getInsetByCode): move function out of class
1040         and change in to a template in anon namespace. Also fix to do what
1041         suits us better.
1042
1043 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1044
1045         bug 1305
1046         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1047         of char
1048         (breakParagraph): rename par to par_offset and use a local
1049         reference. Add code to keep the language over a rebreak.
1050         (breakParagraphConservative): rename par to par_offset, use a
1051         local reference
1052         (mergeParagraph): ditto
1053         (outerHook): ditto
1054         (isFirstInSequence): ditto
1055         (outerFont): rename pit to par_offset
1056
1057         * paragraph.C: ws change
1058         * paragraph.h: ditto
1059         * text3.C: ditto
1060         * text.C: ditto
1061
1062 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1065         treatment for ']'
1066
1067         * paragraph.C (simpleTeXOnePar): when we have a \item with
1068         optional argument, enclose the argument with curly brackets (in
1069         case it contains a closing square bracket)
1070
1071         * text2.C (editXY):
1072         * text2.C (editXY):
1073         * text3.C (checkInsetHit): constify
1074
1075 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1076
1077         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1078         documents (bug 1629)
1079
1080 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         Fix toggling of collapsable insets with the mouse (bug 1558)
1083
1084         * lyxfunc.C (dispatch): adapt to LCursor changes
1085
1086         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1087         make sure that dispatch is not invoked twice
1088
1089         * cursor.C (needsUpdate): new method
1090         (dispatch): return void
1091         (result): new method, to access the DispatchResult of the cursor.
1092
1093 2004-08-13  José Matos  <jamatos@lyx.org>
1094
1095         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1096
1097 2004-08-13  André Pönitz  <poenitz@gmx.net>
1098
1099         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1100
1101         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1102           multiple cells
1103
1104 2004-08-12  André Pönitz  <poenitz@gmx.net>
1105
1106         * text3.C: take out the 'cursor right' form insertInset and only
1107         do it in those places when it is really needed. Fixes crash on
1108         C-m...
1109
1110 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1111
1112         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1113
1114         * BufferView_pimpl.C (setBuffer): initialize the current font of
1115         the underlying LyXText
1116
1117 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         * kbsequence.C (print): use UI native formatting for menu
1120         shortcuts
1121
1122         * text.C (insertChar): call Paragraph::insertChar with a font
1123         argument (cosmetic)
1124
1125         * paragraph.C (insertInset, insertChar): the version that takes a
1126         LyXFont argument is now a wrapper around the other one (the
1127         opposite used to be true).
1128
1129         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1130         argument. Font setting is done in Paragraph now.
1131
1132 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1133
1134         * outputparams.h: add new members intitle and lang.
1135
1136         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1137         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1138
1139 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1140
1141         * text3.C (dispatch): remove special handling of button 4 and 5,
1142         it is now taken care of in the frontend code.
1143
1144 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1145
1146         * Spacing.h: add <string> (STLPort compile fix)
1147
1148 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1149
1150         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1151
1152 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1153
1154         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1155         to bool.
1156
1157         * converter.C (showMessage): inherit from unary_function, make
1158         operator() const.
1159
1160         * buffer.C (writeFile): initialize retval
1161
1162         * InsetList.h: rename private variable list to list_
1163         * InsetList.[Ch]: adjust accordingly.
1164
1165 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1166
1167         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1168         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1169         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1170         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1171         * ParagraphParameters.C, LaTeXFeatures.C: replace
1172         "support/std_sstream.h" with <sstream>
1173
1174 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1175
1176         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1177         * lyxsocket.C (LyXServerSocket): ditto
1178         (serverCallback): ditto
1179
1180 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1181
1182         * LaTeXFeatures.C: check release date when loading jurabib.
1183
1184 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1185
1186         * lyxserver.C (startPipe): call register_socket_callback
1187         (endPipe): call unregister_socket_callback
1188
1189 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1190
1191         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1192         (LyXServerSocket): register the callback
1193         (LyXServerSocket): unregister the callback
1194         (fd): delete function
1195         (serverCallback): improve error checking and setup the callbacks.
1196         (dataCallback): change arg to fd.
1197         (writeln): new func (copied fro the client socket) used for server
1198         write to client.
1199         (LyXDataSocket): simplify
1200         (~LyXDataSocket): close ann unregiser callback
1201         (server): delete function
1202         (fd): delete function
1203         (readln): small changes, improve some std::string usage
1204         (writeln): constify a bit
1205
1206 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1209         Qt frontend
1210
1211 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1212
1213         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1214         after it has been populated
1215
1216 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * text2.C (insertInset): move cursor when inserting inset.
1219
1220 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1221
1222         * kbmap.C (findbindings): a couple of new methods. returns a
1223         container of kb_sequence objects. The real work is done by the
1224         private recursive version
1225         (printbindings): uses findbindings to print out a bracketed list
1226         of bindings (renamed from findbinding).
1227
1228         * MenuBackend.C (binding): use kb_keymap::findbindings
1229
1230         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1231
1232 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1233
1234         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1235
1236 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1237
1238         * paragraph.C (isWord): return true on insets that report
1239         isLetter().
1240
1241         * text.C (getWord): use Paragraph::isWord to decide what is in a
1242         word and what is not; fix bug 1609.
1243
1244 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1245
1246         * tex-strings.C: add "none" to string_paperpackages[], fixes
1247         off-by-one-error in the paperpackage selection.
1248
1249         * lyxlex.[Ch]:
1250         * tex-strings.[Ch]: char const * string[n]
1251         -> char const * const string[]
1252
1253 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1256         command, return early.
1257
1258 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1259
1260         * debug.h: add DEBUG to enum and fix size of ANY.
1261
1262         * debug.C: add support for Debug::DEBUG
1263         (showTags): cast errorTags.level to unsigned int
1264
1265         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1266         (redoCurrentBuffer): ditto
1267         (updateScrollbar): ditto
1268         * cursor.C (dispatch): ditto
1269         * text2.C (setLayout): ditto
1270         (setFont): ditto
1271         (updateCounters): ditto
1272         (editXY): ditto
1273         (deleteEmptyParagraphMechanism): ditto
1274
1275 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1276
1277         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1278         annotations to cleanup the Makefile slightly.
1279
1280 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * lyxrc.C: do not set user_email to a default value but use empty
1283         instead. The entry used to be translated, which does not work
1284         since at the point where lyxrc is constructed there is no
1285         translation service available
1286
1287         * messages.C (getLocaleDir): remove and use directly
1288         lyx_localedir() instead
1289
1290 2004-06-02  Angus Leeming  <leeming@lyx.org>
1291
1292         Fix crash caused by dereferencing null pointer 'exportdata' in
1293         OutputParams by creating a new ExportData variable on the heap,
1294         storing it in a boost::shared_ptr.
1295         The crash was triggered when generating an Instant Preview
1296         of an external inset.
1297
1298         * Makefile.am: add outputparams.C
1299
1300         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1301         (c-tor): allocate memory to it.
1302
1303         * exporter.C (c-tor): associated changes.
1304
1305 2004-06-01  Angus Leeming  <leeming@lyx.org>
1306
1307         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1308         contains data before calling isInset(0). (Bug 1513.)
1309
1310 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1311
1312         * exporter.C (checkOverwrite): new method
1313         * exporter.C (copyFile): new method
1314         * exporter.C (Export): copy referenced files to the document dir
1315         * exporter.[Ch]: new class ExportedFile
1316         * exporter.[Ch]: new class ExportData. Contains currently the
1317         names of referenced external files
1318         * outputparams.h: add exportdata member.
1319
1320 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1321
1322         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1323         version.C-tmp
1324
1325 2004-05-19  Angus Leeming  <leeming@lyx.org>
1326
1327         * LaTeXFeatures.C:
1328         * ToolbarBackend.C:
1329         * bufferparams.C:
1330         * lyxfunc.C: small changes due to the introduction of namespace
1331         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1332
1333 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1334
1335         * text3.C (dispatch): supress update when only moving the cursor
1336         * cursor.C (selHandle): remove commented code
1337
1338 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1339
1340         * paragraph.C (startTeXParParams): correct column count
1341         * CutAndPaste.C (pasteSelection): remove const_cast
1342         * output_docbook.C (docbookParagraphs): remove const_cast
1343         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1344         const_cast and return ParagraphList::const_iterator
1345         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1346         * output_plaintext.C (writeFileAscii): remove const_cast
1347         * paragraph.[Ch] (simpleTeXOnePar): make const
1348         * paragraph_funcs.C (outerPar): use const iterators
1349         * paragraph_pimpl.C (validate): use const iterators
1350         * text.C (setHeightOfRow): use const iterators
1351
1352 2004-05-17  Angus Leeming  <leeming@lyx.org>
1353
1354         * lfuns.h:
1355         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1356
1357         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1358         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1359         if the citation engine has changed.
1360
1361 2004-05-14  José Matos  <jamatos@lyx.org>
1362
1363         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1364         if the textclass does not provide it. Have it different for sgml and
1365         xml.
1366         support the language of document.
1367         * output_docbook.C (docbookParagraphs):
1368         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1369         first anchor as the id of the paragraph, remove special case code.
1370         * sgml.C (escapeChar): escape only < & >.
1371
1372 2004-05-14  Angus Leeming  <leeming@lyx.org>
1373
1374         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1375         dependencies on src/frontends/controllers/biblio.h. Define a
1376         CiteEngine_enum wrapper class to enable the enum to be forward
1377         declared.
1378
1379 2004-05-12  Angus Leeming  <leeming@lyx.org>
1380
1381         * buffer.C: up LYX_FORMAT to 234.
1382         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1383         use_numerical_citations with a single biblio::CiteEngine cite_engine
1384         variable.
1385         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1386
1387 2004-05-13  José Matos  <jamatos@lyx.org>
1388
1389         * converter.h:
1390         * converter.C (Converter, readFlags): add xml member.
1391         * outputparams.h: add XML flavor.
1392         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1393
1394 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1395
1396         * lyxfunc.C (dispatch):
1397         (getStatus): fix handling of LFUN_SEQUENCE
1398
1399 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * debug.C (showLevel): do not forget the end-of-line marker
1402
1403 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1404
1405         * kbmap.C (read): do not stop parsing a bind file when an error
1406         occurs (bug 1575)
1407
1408 2004-04-29  Angus Leeming  <leeming@lyx.org>
1409
1410         * cursor.C:
1411         * factory.C:
1412         * pariterator.C:
1413         * text2.C: wrap a bunch of #warning statements
1414         inside #ifdef WITH_WARNINGS blocks.
1415
1416 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1417
1418         * buffer.C: increment format to 233.
1419
1420 2004-04-28  Angus Leeming  <leeming@lyx.org>
1421
1422         * BufferView_pimpl.C:
1423         * lyxfunc.C:
1424         * text3.C:
1425         s/updateToolbar()/updateToolbars()/
1426         s/Toolbar.h/Toolbars.h/
1427
1428 2004-04-28  Angus Leeming  <leeming@lyx.org>
1429
1430         * BufferView.[Ch] (c-tor):
1431         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1432         No longer passes these data to the WorkArea generator.
1433
1434 2004-04-28  Angus Leeming  <leeming@lyx.org>
1435
1436         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1437
1438 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1439
1440         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1441
1442 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443
1444         * output_latex.C (TeXEnvironment): make sure that there is a line
1445         break before \end{foo} for the last paragraph of a document
1446         (TeXOnePar): if the paragraph is at the end of the document (or
1447         inset) and the language has to be reset, then make sure that the
1448         line break is _before_ the language command, not after (fixes bug
1449         1225); also make sure that the language reset command is the first
1450         thing after the paragraph (to ensure proper nesting of
1451         environments and thus fix bug 1404)
1452
1453 2004-04-21  John Levon  <levon@movementarian.org>
1454
1455         * ToolbarBackend.h:
1456         * ToolbarBackend.C: make "name" be a programmatic name
1457         and a gui_name field.
1458
1459         * lyxfunc.C: display the minibuffer on M-x
1460
1461 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1462
1463         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1464         (bug 1526)
1465
1466 2004-04-19  Angus Leeming  <leeming@lyx.org>
1467
1468         * BufferView_pimpl.C (setBuffer): changed preview interface.
1469
1470         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1471         possible values.
1472
1473 2004-04-19  John Levon  <levon@movementarian.org>
1474
1475         * BufferView_pimpl.C:
1476         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1477
1478 2004-04-05  Angus Leeming  <leeming@lyx.org>
1479
1480         * text.C (redoParagraphs): add call to updateCounters(), thereby
1481         fixing the missing "Figure #:" label from the caption of a
1482         figure float.
1483
1484 2004-04-13  Angus Leeming  <leeming@lyx.org>
1485
1486         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1487         cursor is clicked out of an inset.
1488
1489 2004-04-13  Angus Leeming  <leeming@lyx.org>
1490
1491         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1492         than an InsetOld one.
1493
1494 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1495
1496         * format.[Ch]: add editor to Format
1497         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1498         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1499
1500 2004-04-08  André Pönitz  <poenitz@gmx.net>
1501
1502         * metricsinfo.h: remove PainterInfo::width member
1503
1504 2004-04-08  Angus Leeming  <leeming@lyx.org>
1505
1506         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1507         "\providecommand" rather than "\newcommand", thereby preventing
1508         clashes with packages that define "\boldsymbol" themselves.
1509         Eg, beamer.
1510
1511 2004-04-08  Angus Leeming  <leeming@lyx.org>
1512
1513         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1514         thereby squashing an unnecessary warning.
1515
1516 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1517
1518         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1519         setBuffer()
1520
1521 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1522
1523         * BufferView.C (setCursor): call redoParagraph (some insets could
1524         have been opened)
1525         (putSelectionAt): remove the 'double update' trick
1526
1527         * BufferView_pimpl.C (fitCursor): call refreshPar
1528         (workAreaDispatch): remove an uneeded update call
1529         (dispatch): remove some manual update calls
1530
1531         * cursor.[Ch]: remove cached_y_, updatePos
1532         (selHandle): set noUpdate when appropriate
1533
1534         * lyxfunc.C (dispatch): track if we need an update
1535
1536         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1537
1538         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1539         (paintSelection): cheap optimization, do not call cursorX when not
1540         needed
1541         (paintPars): change signature
1542         (refreshPar): add
1543         (paintText): adjust
1544         (paintTextInset): adjust
1545
1546         * text.C: adjust
1547
1548 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1549
1550         * lengthcommon.C: compilation fix: remove explicit array size from
1551         unit_name[] and friends
1552
1553 2004-04-05  Angus Leeming  <leeming@lyx.org>
1554
1555         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1556
1557         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1558         present only for the preferences dialog.
1559         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1560
1561 2004-04-05  Angus Leeming  <leeming@lyx.org>
1562
1563         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1564         to enable the frontends to export changes to lyxrc correctly.
1565
1566         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1567
1568 2004-04-07  André Pönitz  <poenitz@gmx.net>
1569
1570         * cursor.[Ch] (selClear, adjust): remove math
1571
1572         * cursor_slice.C: more agressive assert
1573
1574         * lyxfunc.C:
1575         * BufferView_pimpl.C: rework mouse event dispatch
1576
1577         * dociterator.C:
1578         * paragraph.C:
1579         * text2.C:
1580         * text3.C: adjust
1581
1582 2004-04-05  André Pönitz  <poenitz@gmx.net>
1583
1584         * cursor.[Ch] (valign, halign...): remove unneeded functions
1585
1586 2004-04-05  Angus Leeming  <leeming@lyx.org>
1587
1588         * lyxlength.[Ch] (unit_name et al.): const-correct.
1589
1590 2004-04-05  Angus Leeming  <leeming@lyx.org>
1591
1592         * BufferView_pimpl.C:
1593         * buffer.C:
1594         * counters.C:
1595         * cursor.C:
1596         * lyxfunc.C
1597         * paragraph.C:
1598         * pariterator.C:
1599         * text.C:
1600         * text2.C:
1601         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1602
1603 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1604
1605         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1606
1607 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1610         * BufferView_pimpl.[Ch] (getStatus)
1611         * BufferView.[Ch] (getStatus): add
1612         * lyxfunc.C (getStatus): move lfuns handled in
1613         BufferView::dispatch to te function above
1614         * Cursor.C (setSelection): set selection() = true
1615
1616 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1617
1618         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1619
1620 2004-03-31  Angus Leeming  <leeming@lyx.org>
1621
1622         * lyxfunc.C (dispatch): Fall through to the generic
1623         Dialogs::show("preamble").
1624
1625 2004-03-31  Angus Leeming  <leeming@lyx.org>
1626
1627         * lyxfunc.C (dispatch): Fall through to the generic
1628         Dialogs::show("spellchecker").
1629
1630 2004-03-31  Angus Leeming  <leeming@lyx.org>
1631
1632         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1633         preferences dialog.
1634
1635 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1636
1637         * BufferView.C
1638         * cursor.[Ch]
1639         * dociterator.[Ch]:
1640         * insetiterator.[Ch]:
1641         * lyxfind.C:
1642         * lyxfunc.C:
1643         * pariterator.[Ch]:
1644         * text2.C:
1645         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1646
1647 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1648
1649         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1650         insets where we are putting the cursor.
1651
1652 2004-03-31  Angus Leeming  <leeming@lyx.org>
1653
1654         * lfuns.h:
1655         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1656
1657         * lyxrc.[Ch] (read, write): overloaded member functions taking
1658         a std::[io]stream arguments.
1659
1660         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1661
1662 2004-03-31  Angus Leeming  <leeming@lyx.org>
1663
1664         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1665         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1666
1667         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1668         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1669
1670 2004-03-31  Angus Leeming  <leeming@lyx.org>
1671
1672         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1673         the LFUN_ALL_INSETS_TOGGLE code.
1674
1675 2004-03-30  Angus Leeming  <leeming@lyx.org>
1676
1677         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1678         has died. Fall through to the generic Dialogs::show("document").
1679
1680 2004-03-30  Angus Leeming  <leeming@lyx.org>
1681
1682         * lfuns.h:
1683         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1684         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1685
1686         * lyxfunc.C (getStatus, dispatch): define the actions for these
1687         lfuns. Little more than a cut and pste job from ControlDocument.C
1688
1689         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1690
1691 2004-03-30  Angus Leeming  <leeming@lyx.org>
1692
1693         * lfuns.h:
1694         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1695         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1696
1697         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1698         open/closed state of ollapsable insets. Usage:
1699
1700         all-inset-toggle <state> <name>, where
1701         <state> == "open" || "closed" || "toggle" and
1702         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1703
1704         * lyxtext.h, text2.C (toggleInset): removed.
1705
1706         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1707         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1708         now passes LFUN_INSET_TOGGLE to the found inset.
1709
1710         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1711         is now invoked as "all-insets-toggle toggle branch".
1712
1713 2004-03-30  Angus Leeming  <leeming@lyx.org>
1714
1715         * dociterator.C:
1716         * insetiterator.C:
1717         * pariterator.[Ch]: added/corrected header blurb.
1718
1719 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1720
1721         * dociterator.[Ch]: add an inset_ member
1722         (backwardPos): implemented
1723         (backwardPos, forwardPos): use inset_ when the stack is empty.
1724         (doc_iterator_begin, doc_iterator_end): implemented
1725         * pariterator.[Ch]: adjust, add begin, end
1726         * insetiterator.[Ch]: adjust, add begin, end
1727         * cursor.C:
1728         * document.C:
1729         * BufferView.C:
1730         * BufferView_pimpl.C:
1731         * CutAndPaste.C: adjust
1732
1733 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1734
1735         * buffer.C: increment file format to 232.
1736         * LaTeXFeatures.C: add bibtopic package.
1737         * bufferparams.[Ch]: param \use_bibtopic.
1738
1739         * lyxrc.[Ch]: add lyxrc bibtex_command
1740         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1741
1742         * buffer.C: increment file format to 231.
1743
1744 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1745
1746         * dociterator.C: implement forwardPar
1747         * iterators.[Ch]: remove, replaced by
1748         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1749         * BufferView.C:
1750         * BufferView_pimpl.C:
1751         * CutAndPaste.C:
1752         * buffer.C:
1753         * bufferview_funcs.C:
1754         * cursor.C:
1755         * lyxfind.C
1756         * lyxfunc.C
1757         * paragraph_funcs.C
1758         * toc.C:
1759         * Makefile.am: adjust
1760
1761 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1762
1763         * CutAndPaste.C (pasteSelection): fix 2 crashes
1764         (eraseSelection): fix a crash
1765         * paragraph_funcs.C: remove a warning
1766
1767 2004-03-28  Angus Leeming  <leeming@lyx.org>
1768
1769         * lfuns.h:
1770         * LyXAction.C (init): new LFUN_PRINT.
1771
1772         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1773
1774 2004-03-27  Angus Leeming  <leeming@lyx.org>
1775
1776         * lfuns.h:
1777         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1778
1779         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1780
1781 2004-03-27  Angus Leeming  <leeming@lyx.org>
1782
1783         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1784         insetlist always contains non-null pointers to insets.
1785
1786 2004-03-26  Angus Leeming  <leeming@lyx.org>
1787
1788         * src/BufferView_pimpl.C:
1789         * src/CutAndPaste.C:
1790         * src/buffer.C:
1791         * src/iterators.C:
1792         * src/output_plaintext.C:
1793         * src/outputparams.h:
1794         * src/paragraph_funcs.C:
1795         * src/rowpainter.C:
1796         * src/text.C:
1797         * src/text2.C:
1798         * src/frontends/controllers/ControlErrorList.C:
1799         * src/frontends/gtk/FileDialogPrivate.C:
1800         * src/frontends/gtk/GPainter.C:
1801         * src/frontends/gtk/GToolbar.C:
1802         * src/frontends/qt2/QRef.C:
1803         * src/mathed/math_scriptinset.C: squash compiler warnings.
1804
1805 2004-03-26  Angus Leeming  <leeming@lyx.org>
1806
1807         * ispell.C (LaunchIspell::start):
1808         * lyx_cb.C (AutoSaveBuffer::start):
1809         invoke run(DontWait) rather than runNonBlocking().
1810
1811 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1812
1813         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1814
1815 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1816
1817         * kbsequence.C (print): adjust
1818
1819         * kbmap.C (printKeySym): rename and change signature
1820         (printKey): use LyXKeySym::print()
1821
1822 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1823
1824         * undo.C: add using std::advance to compile for stlport
1825
1826 2004-03-24  Angus Leeming  <leeming@lyx.org>
1827
1828         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1829         it leads to a crash when no buffer is present.
1830
1831 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1832             Martin Vermeer  <martin.vermeer@hut.fi>
1833
1834         * lyxfunc.C (dispatch):
1835         * bufferparams.C (readToken): use the new LColor::setColor
1836
1837         * LColor.[Ch] (setColor): new version that takes two strings as
1838         argument and creates a new color entry if necessary
1839
1840 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1841
1842         * buffer.C (makeLaTeXFile): if the main latex file that is
1843         processed is usually a subdocument of some master, then pretend
1844         for a while that it is actually the master
1845
1846 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1847
1848         * buffer.C (getLabelList):
1849         (getBibkeyList): use getMasterBuffer()
1850         (getMasterBuffer): new method. Returns the main document in the
1851         case where one is using included documents.
1852
1853 2004-03-25  André Pönitz  <poenitz@gmx.net>
1854
1855         * Makefile.am:
1856         * iterators.[Ch]:
1857         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1858
1859         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1860
1861         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1862         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1863
1864         * ParameterStruct.h: merge with ParagraphParameters
1865
1866         * lyxtext.h: remove LyXText::parOffset() and getPar()
1867
1868         * text3.C: Remove all 'manual' update calls. We do now one per user
1869         interaction which is completely sufficient.
1870
1871         * Bidi.C:
1872         * BufferView.[Ch]:
1873         * BufferView_pimpl.C:
1874         * FontIterator.[Ch]:
1875         * MenuBackend.C:
1876         * ParagraphParameters.[Ch]:
1877         * buffer.C:
1878         * buffer.h:
1879         * bufferlist.C:
1880         * cursor.[Ch]:
1881         * cursor_slice.[Ch]:
1882         * dociterator.[Ch]:
1883         * errorlist.[Ch]:
1884         * factory.C:
1885         * lfuns.h:
1886         * lyxfind.C:
1887         * lyxfunc.C:
1888         * output_docbook.[Ch]:
1889         * output_latex.[Ch]:
1890         * output_linuxdoc.[Ch]:
1891         * output_plaintext.[Ch]:
1892         * paragraph.[Ch]:
1893         * paragraph_funcs.[Ch]:
1894         * paragraph_pimpl.[Ch]:
1895         * rowpainter.C:
1896         * tabular.[Ch]:
1897         * text.C:
1898         * text2.C:
1899         * toc.C:
1900         * undo.[Ch]: adjust
1901
1902         * frontends/controllers/ControlDocument.C:
1903         * frontends/controllers/ControlErrorList.C:
1904         * frontends/controllers/ControlSpellchecker.C:
1905         * insets/inset.C:
1906         * insets/inset.h:
1907         * insets/insetbase.h:
1908         * insets/insetbibitem.C:
1909         * insets/insetbox.C:
1910         * insets/insetbranch.C:
1911         * insets/insetcaption.C:
1912         * insets/insetcharstyle.C:
1913         * insets/insetcharstyle.h:
1914         * insets/insetcollapsable.C:
1915         * insets/insetcollapsable.h:
1916         * insets/insetert.C:
1917         * insets/insetfloat.C:
1918         * insets/insetfoot.C:
1919         * insets/insetmarginal.C:
1920         * insets/insetnote.C:
1921         * insets/insetoptarg.C:
1922         * insets/insettabular.C:
1923         * insets/insettext.C:
1924         * insets/insettext.h:
1925         * insets/insetwrap.C:
1926         * mathed/math_mboxinset.C:
1927         * mathed/math_nestinset.C:
1928         * mathed/math_scriptinset.C:
1929         * mathed/math_scriptinset.h:
1930         * support/types.h:
1931
1932 2004-03-24  Angus Leeming  <leeming@lyx.org>
1933
1934         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1935         deal with any child processes that have finished but are waiting to
1936         communicate this fact to the rest of LyX.
1937
1938 2004-03-24  Angus Leeming  <leeming@lyx.org>
1939
1940         64-bit compile fixes.
1941
1942         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1943         (c-tor): pass lyx::pos_types rather than ints.
1944
1945         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1946         lyx::pos_type.
1947
1948         * text.C (Delete): compile fix.
1949         (getPar): ensure that function declaration is the same as that in
1950         the header file.
1951
1952 2004-03-23  Angus Leeming  <leeming@lyx.org>
1953
1954         * ispell.C (LaunchIspell):
1955         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1956         a boost::shred_ptr rather than a std::auto_ptr.
1957
1958 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1959
1960         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1961         handle LFUN_FILE_INSERT_*
1962
1963         * lyxrc.C (setDefaults, getDescription, output, read):
1964         * lyxrc.h: remove ps_command
1965
1966 2004-03-22  Angus Leeming  <leeming@lyx.org>
1967
1968         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1969         Ensure that error_handler is processed once only and that all data
1970         is saved before attempting to output any warning messages.
1971
1972         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1973
1974 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1977
1978 2004-03-19  André Pönitz  <poenitz@gmx.net>
1979
1980         * cursor.[Ch] (reset): take main text inset as argument
1981
1982         * BufferView: adjust
1983         * BufferView_pimpl.C: adjust
1984
1985         * paragraph.[Ch]: fix completely broken operator=()
1986
1987 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * LColor.C (getFromLyXName): make sure that the color name is used
1990         as lowercase.
1991
1992 2004-03-17  Angus Leeming  <leeming@lyx.org>
1993
1994         * lfuns.h:
1995         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1996
1997         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1998         dialog and to kill a forked process.
1999
2000 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2001
2002         * text2.C (setCursorFromCoordinates): fix font problem
2003
2004 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2005
2006         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2007         bogus "rebuild cursor" code
2008
2009 2004-03-11  André Pönitz  <poenitz@gmx.net>
2010
2011         * buffer.[Ch]: use InsetText instead of LyXText as container for
2012         the main lyx text.
2013
2014         * dociterator.[Ch]: drop the BufferView * member which is not needed
2015         anymore after the change to buffer.C
2016
2017         * paragraph_funcs.C:
2018         * text.C:
2019         * text2.C:
2020         * BufferView.[Ch]:
2021         * BufferView_pimpl.[Ch]:
2022         * cursor.[Ch]:
2023         * cursor_slice.[Ch]: adjust
2024
2025         * text3.C: fix bug in mathDispatch
2026
2027 2004-03-08  André Pönitz  <poenitz@gmx.net>
2028
2029         * undo.[Ch]: use 'StableDocumentIterator' as base for
2030         the Undo struct.
2031
2032 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2033
2034         * LaTeXFeatures.C:
2035         * bufferparams.[Ch]: add jurabib support and param.
2036
2037         * LaTeX.C: add FIXME/comment.
2038
2039 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2040
2041         * buffer.C: increment file format to 230.
2042
2043 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2044
2045         * cursor.C (dispatch): avoid infinite loops
2046
2047 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2048
2049         * rowpainter.C (paintSelection): fix x coordinates
2050
2051 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2052
2053         * text.C (rowBreakPoint): fix breaking before displayed insets
2054
2055 2004-03-01  André Pönitz  <poenitz@gmx.net>
2056
2057         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2058
2059         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2060
2061         * Makefile.am:
2062         * BufferView.C:
2063         * BufferView_pimpl.C:
2064         * buffer.C:
2065         * lyxfind.C:
2066         * lyxfunc.C:
2067         * text.C:
2068         * text2.C:
2069         * text3.C: adjust
2070
2071 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2072
2073         * lyxtext.h:
2074         * text.C:
2075         * text2.C:
2076         * rowpainter.C:
2077         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2078         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2079
2080 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * Bidi.[Ch] (computeTables): const correctness
2083         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2084         fill_hfill, fill_label_hfill and x from Row
2085         * lyxtext.h: prepareToPrint returns a RowMetrics
2086         * rowPainter.C: adjust
2087         * text.C (prepareToPrint): use width, not textWidth. adjust
2088         (redoParagraphInternal, cursorX): adjust
2089         * text2.C (getColumnNearX): adjust
2090         (init): put a default value to the top LyXText::width
2091
2092 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2093
2094         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2095
2096 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2097
2098         * lyxtext.h: add FontIterator class
2099
2100         * text.C (FontIterator, operator*, operator->, operator++): add
2101         (rowBreakPoint, setRowWidth): adjust (fixing a
2102         rebreaking bug)
2103
2104 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * BufferView_pimpl.C (workAreaDispatch): allow also
2107         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2108
2109 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2110
2111         * text.C (rowBreakPoint): fix a bug showing with very large insets
2112
2113 2004-02-25  André Pönitz  <poenitz@gmx.net>
2114
2115         * text3.C:
2116         * cursor.[Ch]: move some mathed specific code to mathed
2117
2118 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2119
2120         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2121         use_tempdir in preferences
2122         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2123         tempfile creation
2124         * lyx_main.C: ensure that tempdir is valid
2125         * lyxlex.h: correct typo
2126         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2127         * paragraph.[Ch] (isMultiLingual): make const
2128         * cursor.[Ch] (openable): make const
2129
2130 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2131
2132         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2133
2134 2004-02-20  André Pönitz  <poenitz@gmx.net>
2135
2136         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2137
2138         * cursor.[Ch]: prepare for localized getStatus()
2139
2140         * lyxtext.h:
2141         * tabular.C:
2142         * text.C:
2143         * text2.C:
2144         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2145
2146 2004-02-20  André Pönitz  <poenitz@gmx.net>
2147
2148         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2149
2150 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2151
2152         * text2.C (setCursorFromCoordinates): switch to absolute coords
2153         (cursorUp): adjust
2154         (cursorDown): adjust
2155         * text3.C (dispatch): adjust
2156
2157 2004-02-16  André Pönitz  <poenitz@gmx.net>
2158
2159         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2160           insets/ChangeLog)
2161
2162         * cursor_slice.[Ch]: remove unneeded acessor function
2163
2164         * lyxtext.h: rename rtl() to isRTL()
2165
2166         * rowpainter.C:
2167         * tabular.C:
2168         * text.C:
2169         * text2.C:
2170         * text3.C: adjust
2171
2172 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2173
2174         * rowpainter.C (paintSelection): coord fix
2175
2176 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2177
2178         * Spacing.C: compile fix
2179
2180 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2181
2182         * cursor.C (dispatch): restore current_ before returning
2183
2184 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2185
2186         * text2.C (cursorUp, cursorDown): fix coords
2187         (moveUp): fix crash
2188
2189 2004-02-12  André Pönitz  <poenitz@gmx.net>
2190
2191         * lyxtext.h:
2192         * text.C:
2193         * text2.C:
2194         * text3.C: add LCursor & parameter to most cursor movement functions
2195           remove usage of LyXText::cursorRow() and cursorPar()
2196
2197         * cursor.[Ch]: add textRow() needed members
2198
2199         * BufferView.C:
2200         * BufferView_pimpl.C:
2201         * paragraph.[Ch]:
2202         * BufferView.C:
2203         * BufferView_pimpl.C: adjust
2204
2205 2004-02-11  André Pönitz  <poenitz@gmx.net>
2206
2207         * lyxfunc.C:
2208         * BufferView.[Ch]:
2209         * BufferView_pimpl.C: shift undo/redo handling
2210
2211         * cursor.[Ch]: fix mathed crash
2212
2213         * lyxfind.C:
2214         * lyxtext.h: move selectionAsText to LCursor
2215
2216         * output_latex.C:
2217         * paragraph.C:
2218         * text.C:
2219         * text2.C:
2220         * text3.C: adjust
2221
2222         * rowpainter.C: fix excessive drawing
2223
2224 2004-02-06  André Pönitz  <poenitz@gmx.net>
2225
2226         * BufferView.[Ch]:
2227         * BufferView_pimpl.[Ch]:
2228         * text3.C: move some text specific LFUN handling
2229
2230 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2231
2232         * text3.C (checkInsetHit): adjust coords
2233         * text2.C (getColumnNearX): adjust coords
2234         (edit): adjust coords
2235         * text.C (getRowNearY): add two asserts
2236
2237 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2238
2239         * converter.C:
2240         * format.C: add using std::distance to compile on gcc 2.95/stlport
2241
2242 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2243
2244         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2245
2246 2004-02-04  André Pönitz  <poenitz@gmx.net>
2247
2248         * BufferView.[Ch] (insertInset):
2249         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2250
2251         * text2.C:
2252         * text3.C: adjust
2253
2254 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2255
2256         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2257         on the default clause of the switch
2258         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2259         wasn't catched by LCursor::dispatch
2260
2261 2004-02-03  André Pönitz  <poenitz@gmx.net>
2262
2263         * BufferView.C:
2264         * cursor.[Ch]: some additional asserts
2265
2266         * undo.[Ch]: remove LyXText dependency in interface
2267
2268         * lyxfunc.C: adjust
2269
2270         * lyxtext.h (firstPar, lastPar): remove dead functions
2271
2272         * text.C:
2273         * text2.C:
2274         * text3.C:
2275         * paragraph.[Ch]: adjust
2276
2277 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2278
2279         * lyxfind.C (find): fix argument order in call to ::find
2280
2281 2004-02-02  André Pönitz  <poenitz@gmx.net>
2282
2283         * cursor.[Ch]: remove direct access to anchor
2284
2285         * text.C: remove findText() hack
2286
2287 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * iterators.[Ch] (lockPath): remove in favour of...
2290         * BufferView.[Ch] (setCursor): this addition
2291         * BufferView.C (putSelectionAt): adjust
2292         * undo.C (performUndoOrRedo): adjust
2293         * lyxfunc.C (dispatch): adjust
2294
2295 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2296
2297         * iterators.C (lockPath): add a missing slice
2298         * undo.C (performUndoOrRedo): remove redundant positioning code
2299
2300 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2301
2302         * vc-backend.C (scanMaster): ";" -> ';'
2303
2304 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2305
2306         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2307         std::binary_function
2308
2309         * lyxtextclass.C (compare_name): rename to...
2310         (LayoutNamesEqual): ...this
2311
2312         * lyxlex_pimpl.C (compare_tags): inherit from
2313         std::binary_function, put back into anon namespace
2314
2315         * lyxfind.C (MatchString): inherig from std::binary_function
2316         (findChange): use empty() istead of !size()
2317
2318         * format.C (FormatNamesEqual): new functor
2319         (getFormat): use it
2320         (getNumber): use it
2321         (add): use it
2322         (erase): use it
2323         (setViewer): use it
2324
2325         * converter.C (compare_Converter): rename to...
2326         (ConverterEqual): ...this, and fixup a bit.
2327         (getConverter): use it, and make function const
2328         (getNumber): use it, and make function const
2329         (add): use it
2330         (erase): use it:
2331
2332         * bufferlist.C: add using boost::bind
2333
2334         * MenuBackend.C (MenuNamesEqual): new functor
2335         (hasMenu): use it, and make function const
2336         (hasSubmenu): use nested bind to get rid of compare_memfun.
2337
2338 2004-01-30  André Pönitz  <poenitz@gmx.net>
2339
2340         * BufferView_pimpl.C:
2341         * cursor.C:
2342         * cursor.h:
2343         * cursor_slice.[Ch]:
2344         * lyxfunc.C:
2345         * lyxtext.h:
2346         * paragraph_funcs.C:
2347         * paragraph_funcs.h:
2348         * rowpainter.C:
2349         * text.C:
2350         * text2.C:
2351         * text3.C: move some of the edit(x,y) handling to the insets
2352         some coordinate changes.
2353
2354 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2355
2356         * text.C: add using statements for std::advance and std::distance
2357
2358         * paragraph.C: add using statement for std::distance
2359
2360         * lyxfind.C: add using statement for std::advance
2361
2362         * cursor.C (region): remove std:: from swap
2363         (openable): use nucleus in stead of operator->
2364
2365         * BufferView.C: add using statements for std::distance and std::swap
2366
2367 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2368
2369         * iterators.C: Remove the pimple, move the needed structures to
2370         the header file. Create accessor for the positions stack.
2371         (asPosIterator): remove function
2372
2373         * PosIterator.C (PosIterator): move constructors to top of file
2374         (PosIterator): reimplement the constructor taking a ParIterator in
2375         terms of setFrom.
2376         (setFrom): new function
2377         (operator!=): inline it
2378
2379 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2380
2381         * lyxfind.C (replaceAll): use std::advance
2382
2383         * iterators.h: inherit from std::iterator.
2384
2385         * PosIterator.C (advance, distance): remove
2386         * PosIterator.h: interit from std::iterator.
2387
2388 2004-01-26  André Pönitz  <poenitz@gmx.net>
2389
2390         * BufferView.[Ch]:
2391         * BufferView_pimpl.[Ch]:
2392         * InsetList.[Ch]:
2393         * PosIterator.[Ch]:
2394         * buffer.h:
2395         * bufferview_funcs.C:
2396         * cursor.[Ch]:
2397         * cursor_slice.h:
2398         * factory.[Ch]:
2399         * iterators.[Ch]:
2400         * lyxfind.C:
2401         * lyxfunc.C:
2402         * lyxtext.h:
2403         * output_docbook.C:
2404         * output_latex.C:
2405         * output_linuxdoc.C:
2406         * output_plaintext.C:
2407         * paragraph.[Ch]:
2408         * paragraph_funcs.[Ch]:
2409         * paragraph_pimpl.[Ch]:
2410         * rowpainter.C:
2411         * tabular.C:
2412         * tabular.h:
2413         * text.C:
2414         * text2.C:
2415         * text3.C: more IU:  dumps most of the rest of the mathcursor
2416     implementation into cursor.[Ch]; "globalize" a bit of it.
2417
2418 2004-01-25  Angus Leeming  <leeming@lyx.org>
2419
2420         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2421
2422 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2423
2424         * LaTeXFeatures.h: add nice_ and nice() const
2425         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2426
2427 2004-01-20  André Pönitz  <poenitz@gmx.net>
2428
2429         * BufferView.[Ch]:
2430         * BufferView_pimpl.C:
2431         * PosIterator.C:
2432         * bufferview_funcs.C:
2433         * cursor.[Ch]:
2434         * cursor_slice.[Ch]:
2435         * factory.C:
2436         * iterators.C:
2437         * lyx_cb.C:
2438         * lyxfind.C:
2439         * lyxfunc.C:
2440         * lyxtext.h:
2441         * rowpainter.C:
2442         * text.C:
2443         * text2.C:
2444         * text3.C:
2445         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2446           LCursor and mathcursor parts to LCursor and InsetBase.
2447
2448 2004-01-15  André Pönitz  <poenitz@gmx.net>
2449
2450         * cursor_slice.[Ch]: add a few covienience functions
2451
2452         * funcrequest.[Ch]: remove BufferView * member
2453
2454         * BufferView_pimpl.C:
2455         * cursor.C:
2456         * factory.[Ch]:
2457         * lyxfind.[Ch]:
2458         * lyxfunc.C:
2459         * lyxtext.h:
2460         * text3.C:
2461         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2462
2463 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2464
2465         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2466         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2467
2468 2004-01-13  André Pönitz  <poenitz@gmx.net>
2469
2470         * textcursor.[Ch]:
2471         * lyxtext.h: hide cursor and selection anchor behind accessor function
2472
2473         * BufferView.C:
2474         * BufferView_pimpl.[Ch]:
2475         * PosIterator.C:
2476         * bufferview_funcs.C:
2477         * cursor.h:
2478         * lyxfind.C:
2479         * lyxfunc.C:
2480         * text.C:
2481         * text2.C:
2482         * text3.C:
2483         * undo.C: adjust
2484
2485         * cursor.h:
2486         * cursor_slice.[Ch]: some integer type changes for inset unification
2487
2488         * lyxcursor.[hC]: remove, it's CursorSlice now.
2489
2490         * Makefile.am:
2491         * BufferView_pimpl.[Ch]:
2492         * bufferview_funcs.C:
2493         * cursor_slice.C:
2494         * lyxtext.h:
2495         * text.C:
2496         * text2.C:
2497         * text3.C:
2498         * textcursor.[Ch]: adjust
2499
2500 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * text2.C (undoSpan): add and use
2503         * text.C (breakParagraph): use undoSpan (fix bug 578)
2504         * lyxtext.h: adjust
2505
2506 2004-01-08  Angus Leeming  <leeming@lyx.org>
2507
2508         * BufferView_pimpl.C (MenuInsertLyXFile):
2509         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2510         * lyxfunc.C (menuNew, open, doImport):
2511         FileFilterList change to the FileDialog open and save functions.
2512
2513 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2514
2515         * ShareContainer.h: make isEqual and isUnique adaptable
2516
2517         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2518
2519 2004-01-07  Angus Leeming  <leeming@lyx.org>
2520
2521         * LyXAction.C:
2522         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2523
2524         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2525
2526         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2527         functions replacing find, replace and replaceAll.
2528
2529         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2530         LFUN_WORDFIND(FORWARD|BACKWARD).
2531
2532 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2533
2534         * text.C (breakParagraph): remove an outdated #warning
2535
2536 2004-01-07  André Pönitz  <poenitz@gmx.net>
2537
2538         * lyxfind.C: somewhat clearer logic
2539
2540         * text.C: prevent crash in cursorX on unitialized row cache
2541
2542 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2543
2544         * lyxcursor.[Ch] (operator>): add
2545         * textcursor.C (selStart, selEnd): use std::min and std::max
2546
2547 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2548
2549         * Chktex.C: include boost/format.hpp
2550
2551 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2552
2553         * InsetList.C: replace functor MathcIt with adaptable functor
2554         InsetTablePosLess
2555         (insetIterator): modify accordingly
2556
2557         * BranchList.h: move the BranchNamesEqual functor here from...
2558         * BranchList.C: ... to here
2559
2560         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2561         SameName and match.
2562         (add): replace a finding loop with std::find_if.
2563
2564 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2565
2566         * output_docbook.C: moving LatexParam functionality into
2567         .layout files
2568
2569 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2570
2571         * buffer.C: increment format to 229.
2572
2573 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2574
2575         * LaTeXFeatures.C:
2576         * lyx_sty.[Ch]: remove minipageindent_def
2577
2578         * LyXAction.C:
2579         * factory.C:
2580         * lfuns.h:
2581         * lyxfunc.C:
2582         * text3.C: remove LFUN_INSET_MINIPAGE
2583
2584 2003-12-28  Angus Leeming  <leeming@lyx.org>
2585
2586         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2587
2588 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * text2.C (setParagraph): fix off-by-one crash
2591
2592 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2593
2594         * output_docbook.C: header stuff for AGU
2595
2596 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2597
2598         * text2.C (redoCursor): remove
2599         * text.C:
2600         * text3.C:
2601         * BufferView_pimpl.C: remove calls to redoCursor and
2602         setCursor(cursor.par(), cursor.pos()) all around
2603
2604 2003-12-15  Angus Leeming  <leeming@lyx.org>
2605
2606         * buffer.C: up the format to 228.
2607
2608 2003-12-15  André Pönitz  <poenitz@gmx.net>
2609
2610         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2611         slices
2612
2613         * Makefile.am:
2614
2615         * BufferView_pimpl.C:
2616         * cursor.[Ch]:
2617         * lyxcursor.[Ch]:
2618         * rowpainter.[Ch]:
2619         * lyxtext.h:
2620         * text.C:
2621         * text2.C:
2622         * text3.C: adjust
2623
2624 2003-12-15  Angus Leeming  <leeming@lyx.org>
2625
2626         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2627         than getFromGUIName to manipulate the color.
2628
2629 2003-12-14  Angus Leeming  <leeming@lyx.org>
2630
2631         * BranchList.[Ch]: minimize the API.
2632         (Branch::getBranch, getColor): now return a 'const &'.
2633         (Branch::setSelected) now returns a bool set to true if the
2634         selection status changes.
2635         (BranchList::clear, size, getColor, setColor, setSelected,
2636         allBranches, allSelected, separator): removed.
2637         (BranchList::find): new functions, returning the Branch with
2638         the given name.
2639         (BranchList::add, remove): return a bool indicating that
2640         the operation was successful.
2641
2642         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2643         new InsetBranch::isBranchSlected member function.
2644
2645         * LColor.[Ch]: mimimize the API.
2646         (fill): renamed as addColor and made private.
2647         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2648         versions of these functions taking a string arg have been removed.
2649
2650         * bufferparams.C (readToken):
2651         * lyxfunc.C (dispatch):
2652         * lyxrc.C (read): changes due to the altered BranchList and
2653         LColor APIs.
2654
2655         * factory.C (createInset, readInset): changes due to altered
2656         InsetBranch c-tor.
2657
2658 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2659
2660         * factory.C:
2661         * lyxfunc.C: remove insetminipage. "minipage-insert"
2662         now produces a frameless minipage box inset.
2663
2664 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2665
2666         * textcursor.[Ch] (selStart,selEnd): add new methods
2667         remove selection::start, end, use LyXCursor::operator<
2668         * lyxcursor.[Ch] (operator<): add
2669         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2670         * BufferView.[Ch] (unsetXSel): add
2671         * text2.C (clearSelection): use unsetXSel,adjust
2672         * text.C: adjust
2673         * text3.C: adjust
2674         * rowpainter.C: adjust
2675         * bufferview_funcs.C (put_selection_at): adjust
2676
2677 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2678
2679         * BufferView_pimpl.C: small coord. correction
2680
2681 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2682
2683         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2684         dragging over the splash screen.
2685
2686 2003-12-11  Angus Leeming  <leeming@lyx.org>
2687
2688         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2689         as it is now handled in LyXText::dispatch.
2690
2691         * text3.C (doInsertInset): remove a level of nesting.
2692
2693 2003-12-11  Angus Leeming  <leeming@lyx.org>
2694
2695         * factory.C (createInset): changes due to the changed interface to
2696         InsetCommandMailer::string2params.
2697
2698 2003-12-10  Angus Leeming  <leeming@lyx.org>
2699
2700         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2701         'dialog-show-new-inset <inset name>'
2702
2703 2003-12-10  Angus Leeming  <leeming@lyx.org>
2704
2705         * buffer.C: up the format to 227.
2706
2707         * factory.C: the box inset is now identified simply by 'Box'.
2708
2709 2003-12-10  Angus Leeming  <leeming@lyx.org>
2710
2711         * buffer.C: up the format to 226.
2712
2713         * factory.C: the note inset is now identified simply by 'Note'.
2714
2715 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2716
2717         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2718         when a pit is enough. Standarize a couple of loops.
2719
2720 2003-12-05  Angus Leeming  <leeming@lyx.org>
2721
2722         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2723         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2724         data to the re-worked "log" dialog.
2725
2726 2003-12-03  André Pönitz  <poenitz@gmx.net>
2727
2728         * PosIterator.C:
2729         * iterators.C:
2730         * lyxtext.h:
2731         * output_latex.C:
2732         * paragraph_funcs.C:
2733         * text.C:
2734         * text2.C: use Inset::getText instead of Inset::getParagraph
2735
2736 2003-12-03  André Pönitz  <poenitz@gmx.net>
2737
2738         * buffer.[Ch]:
2739         * lyxtext.h:
2740         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2741         InsetText::read() as LyXText::read()
2742
2743 2003-12-02  Angus Leeming  <leeming@lyx.org>
2744
2745         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2746         type. Add a comment in the implementation that the function uses
2747         the stream's bad() function rather than fail() as the std::streams
2748         would do.
2749
2750 2003-12-02  André Pönitz  <poenitz@gmx.net>
2751
2752         * lyxlex.[Ch]: make interface more similar to std::stream
2753
2754         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2755
2756 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2757
2758         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2759
2760 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2761
2762         * vspace.[Ch]: remove VSpace::NONE
2763
2764 2003-12-01  André Pönitz  <poenitz@gmx.net>
2765
2766         * buffer.[Ch]:
2767         * lyxtext.h: move ParagraphList member to LyXText
2768         rename LyXText::ownerParagraphs to LyXText::paragraph
2769
2770         * CutAndPaste.C:
2771         * bufferview_funcs.C:
2772         * iterators.[Ch]:
2773         * lyx_cb.C:
2774         * paragraph.C:
2775         * rowpainter.C:
2776         * tabular.C:
2777         * text.C:
2778         * text2.C:
2779         * text3.C: adjust
2780
2781         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2782
2783         * undo.C: fix cursor positioning
2784
2785 2003-12-01  John Levon  <levon@movementarian.org>
2786
2787         * BufferView_pimpl.C: fix a crash on exit with
2788         a buffer open
2789
2790 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2791
2792         * BranchList.C: fix setSelected() method.
2793
2794 2003-11-28  André Pönitz  <poenitz@gmx.net>
2795
2796         * ParagraphParameters.[Ch]:
2797         * ParameterStruct.h: remove space above/below from Paragraph to
2798          InsetVSpace
2799
2800         * BufferView_pimpl.C:
2801         * factory.C:
2802         * lyxfunc.C:
2803         * lyxtext.h:
2804         * output_latex.C:
2805         * paragraph.C:
2806         * paragraph_funcs.C:
2807         * rowpainter.[Ch]:
2808         * text.C:
2809         * text2.C:
2810         * text3.C: adjust
2811
2812 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2813
2814         * factory.C: Syntax change for CharStyles
2815
2816 2003-11-28  André Pönitz  <poenitz@gmx.net>
2817
2818         * BufferView.[Ch]:
2819         * BufferView.[Ch]:
2820         * buffer.[Ch]:
2821         * buffer.[Ch]: move LyXText member
2822
2823 2003-11-28  André Pönitz  <poenitz@gmx.net>
2824
2825         * BufferView.[Ch]: make LyXText * text a private member
2826
2827         * BufferView_pimpl.C:
2828         * cursor.C:
2829         * iterators.C:
2830         * lyx_cb.C:
2831         * lyxfind.C:
2832         * lyxtext.h:
2833         * rowpainter.[Ch]:
2834         * text.C:
2835         * text2.C:
2836         * undo.C: adjust
2837
2838         * output_plaintext.C: cleanup
2839
2840 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2841
2842         * buffer.C:
2843         * lyxtextclass.[Ch]: parametrize SGML document header
2844
2845 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2846
2847         * converter.[Ch]:
2848         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2849         getFlavor().
2850
2851 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2852
2853         * text2.C (setFont): rework using PosIterator (no more recursive)
2854         (setCharFont): no more needed
2855         (setLayout): no more selection cursors fiddling (done by redoCursor)
2856         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2857         destroy remaining ones)
2858
2859 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2860
2861         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2862         * lyxtext.h: ditto
2863         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2864         selection cursors
2865         * lyxfunc.C: adjust
2866         * text3.C: adjust + re-allow multi par depth changes
2867         * textcursor.C: simplify a bit
2868
2869 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2870
2871         * src/buffer.C:
2872         * src/lyxlayout.C:
2873         * src/lyxlayout.h:
2874         * src/lyxtext.h:
2875         * src/output_docbook.C:
2876         * src/output_latex.C:
2877         * src/paragraph.C:
2878         * src/paragraph.h:
2879         * src/sgml.C:
2880         * src/sgml.h:
2881         * src/text2.C: Introducing a number of tags parametrizing various
2882         XML formats that we may want to support
2883
2884 2003-11-25  André Pönitz  <poenitz@gmx.net>
2885
2886         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2887
2888         * lyxtext.h (leftMargin/rightMargin): simplify interface
2889
2890         * rowpainter.C:
2891         * text.C:
2892         * text2.C:
2893         * text3.C: adjust
2894
2895 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2896
2897         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2898         master file to any child files. Fixes bug 546.
2899
2900 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2901
2902         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2903
2904 2003-11-24  André Pönitz  <poenitz@gmx.net>
2905
2906         * rowpainter.C: simplification
2907
2908         * text2.C (updateCounters): remove call to redoParagraph on
2909         changed labels as this is far too expensive.
2910
2911 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2912
2913         * converter.C (convert): fix a crash: this function gets
2914         called with buffer == 0 from importer code.
2915
2916 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2917
2918         * text3.C (cursorPrevious): make sure that we do not compare
2919         iterators form different containers.
2920         (cursorNext): ditto
2921
2922         * rowpainter.C (paintSelection): make sure that we do not compare
2923         iterators from different containers.
2924
2925         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2926         iterators from different ParagraphList containers.
2927         [NEXT] ditto
2928
2929         * text2.C (LyXText): change order of initialization slightly
2930         (operator=): new function. copy all variables except cache_par_
2931         (moveUp): make sure that we do not compare iterators from
2932         different ParagraphList constainers.
2933         (moveDown): ditto
2934
2935         * text.C (firstPar): new function
2936         (lastPar): new function
2937         (endPar): new function
2938
2939         * lyxtext.h: move things around and group public functions, public
2940         variables, private functions, private variables
2941
2942 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2943
2944         * factory.C: change call to InsetERT constructor to avoid
2945         additional invocation of method status
2946         * text2.C (toggleInset): remove redundant update() call
2947         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2948         instead of a Bufferview pointer
2949
2950 2003-11-21  André Pönitz  <poenitz@gmx.net>
2951
2952         * rowpainter.C: simplification
2953
2954 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2955
2956         * text3.C (dispatch): make possible to extend a word/row selection
2957         with the mouse
2958
2959 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * lyxtext.h: x0_,y0_ -> xo_,yo_
2962         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2963         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2964         * rowpainter.C (paintRows): paint full paragraphs
2965
2966 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2967
2968         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2969         screen coordinates)
2970
2971 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2972
2973         * lyxtext.h: add x0_, y0_
2974         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2975         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2976
2977 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2978
2979         * text2.C (setCursorIntern): move the x_target update here *
2980         * text3.C: change some bv() to true/false in calls to
2981         cursorUp/Down/Right/Left
2982         * cursor.C: use helper function.
2983
2984 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2985
2986         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2987         * paragraph_funcs.[Ch]: correct comment
2988         * rowpainter.C: do not paint selections away from bv->cursor()
2989         Fix a long standing selection painting bug.
2990         * text3.C: generalize mouse-selection code to LyXTexts other that
2991         top one
2992         * textcursor.C: do not use y coords if we can use par offsets
2993
2994 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2997         cursor position after e.g. inset insert)
2998
2999 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3000
3001         * lyxfind.C (replace): adjust to locking removal + some
3002         code simplification
3003
3004 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3007         of the path
3008
3009 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3010
3011         * lyxlayout.[Ch]:
3012         * output_docbook.C: XML sanitation: new layout
3013         parameters InnerTag and CommandDepth
3014
3015 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3016
3017         * BufferView_pimpl.C:
3018         * factory.C:
3019         * text3.C: Fix the insertion and modification of button-style
3020         insets
3021
3022 2003-11-13  André Pönitz  <poenitz@gmx.net>
3023
3024         * InsetList.[Ch]: remove deleteLyXText
3025
3026         * paragraph.[Ch]: cache beginOfBody position
3027
3028         * Bidi.C:
3029         * text.C:
3030         * text2.C:
3031         * text3.C: remove superfluous update() calls
3032
3033         * vspace.C: cleanup
3034
3035 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3036
3037         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3038         * BufferView.C (fitLockedInsetCursor): remove
3039         * cursor.[Ch] (getDim): add
3040         * text.C (getRowNearY): add faster version
3041         * text3.C: remove some update calls
3042
3043 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3044
3045         * LaTeXFeatures.C:
3046         * LyXAction.C:
3047         * MenuBackend.C:
3048         * MenuBackend.h:
3049         * dispatchresult.h:
3050         * factory.C:
3051         * lfuns.h:
3052         * lyxfunc.C:
3053         * lyxtextclass.C:
3054         * lyxtextclass.h:
3055         * text3.C: The Character Style /XML short element patch.
3056
3057 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3058
3059         * text3.C:
3060         * factory.C: Small step to solving 'unable to insert some insets'
3061         problem
3062
3063 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3064
3065         * cursor.[Ch] (updatePos): new function for updating the y
3066         position of the tip inset
3067         * bufferview_funcs.C (put_selection_at):
3068         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3069
3070 2003-11-11  André Pönitz  <poenitz@gmx.net>
3071
3072         * text.C: remove big comment on invalid Paragraph pointers as it is
3073         not valid anymore
3074
3075 2003-11-11  André Pönitz  <poenitz@gmx.net>
3076
3077         * text_funcs.[Ch]: merge with ...
3078
3079         * text.C: ... this
3080
3081         * lyxtext.h:
3082         * text2.C:
3083         * text3.C: adjust
3084
3085         * Makefile.am: remove text_funcs.[Ch]
3086
3087 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3088
3089         * cursor.C (getPos): return absolute cached y coord
3090
3091         * BufferView_pimpl.C (fitCursor): new simplistic code
3092         (workAreaDispatch): add a fitCursor call
3093
3094 2003-11-10  André Pönitz  <poenitz@gmx.net>
3095
3096         * BufferView.[Ch]:
3097         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3098
3099 2003-11-10  André Pönitz  <poenitz@gmx.net>
3100
3101         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3102         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3103         indicate that the cursor needs to leave an inset
3104
3105         * lyxtext.h: remove inset locking
3106
3107         * cursor.[Ch]: re-implement functionality provided by inset locking
3108
3109         * BufferView.[Ch]:
3110         * BufferView_pimpl.[Ch]:
3111         * LyXAction.C:
3112         * bufferview_funcs.[Ch]:
3113         * factory.C:
3114         * funcrequest.[Ch]:
3115         * iterators.C:
3116         * lyx_cb.C:
3117         * lyxfind.C:
3118         * lyxfunc.C:
3119         * text.C:
3120         * text2.C:
3121         * text3.C:
3122         * undo.C: adjust
3123
3124 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3125
3126         * PosIterator.[Ch]: replace the stack with a vector, add inset
3127         accesor
3128         * iterators.[C]: adjust
3129
3130 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3131
3132         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3133         replaced
3134         * paragraph_funcs.C (readParToken): put the correct id in the
3135         error item, not the id of the top paragraph
3136
3137 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3138
3139         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3140         * bufferview_funcs.C (put_selection_at): use the above
3141
3142 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3143
3144         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3145
3146 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3147
3148         * output_linuxdoc.h:
3149         * output_plaintext.h:
3150         * output.h:
3151         * output_docbook.h: add #include statements
3152
3153 2003-11-05  José Matos  <jamatos@lyx.org>
3154
3155         * output_docbook.[Ch]:
3156         * output_latex.[Ch]:
3157         * output_linuxdoc.[Ch]:
3158         * output_plaintext.[Ch]: New files for output formats.
3159         * output.[Ch]: New file for helper functions.
3160
3161         * buffer.[Ch]:
3162         * paragraph_funcs.[Ch]: output functions moved to new files.
3163
3164         * outputparams.h: rename of latexrunparams.h
3165
3166         * LaTeX.[Ch]:
3167         * buffer.[Ch]:
3168         * bufferlist.[Ch]:
3169         * converter.[Ch]:
3170         * exporter.C:
3171         * paragraph.[Ch]:
3172         * paragraph_funcs.[Ch]:
3173         * paragraph_pimpl.[Ch]:
3174         * tabular.[Ch]: rename ascii to plaintext
3175         and LatexRunParams to OutputParams.
3176
3177 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3178
3179         * iterators.[Ch] (text): require bv argument
3180         * undo.C (recordUndo):
3181         * lyxfunc.C (dispatch):
3182         * bufferview_funcs.C (put_selection_at): adjust
3183
3184 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3185
3186         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3187
3188 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3191         nestings
3192
3193 2003-11-04  André Pönitz  <poenitz@gmx.net>
3194
3195         * cursor.[Ch]: restructure
3196
3197         * BufferView.[Ch]:
3198         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3199
3200         * iterators.[Ch] (asCursor): remove
3201
3202         * lfuns.h: remove LFUN_INSET_EDIT
3203
3204         * lyxfunc.C:
3205         * tabular.C:
3206         * text.C:
3207         * text2.C:
3208         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3209
3210 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3211
3212         * lyxfind.[Ch]: complete overhaul
3213         * BufferView_pimpl.C:
3214         * lyxfunc.C: adjust
3215         * paragraph.[Ch] (insert): add
3216
3217 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * BufferView.[Ch]:
3220         * lyxtext.h:
3221         * text.C: remove dead spellcheck code
3222
3223 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3224
3225         * dispatchresult.h: add a val setter
3226
3227         * cursor.C (dispatch): use a tempvar for data_[i]
3228
3229 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * PosIterator.[Ch]: compile fix
3232
3233 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3234
3235         * text.C (cursorPar): deactivate the cursor cache
3236
3237 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3238
3239         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3240
3241 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3242
3243         * text3.C (dispatch): adjust for new DisptchResult semantics.
3244
3245         * lyxfunc.C (dispatch): handle update when return from
3246         Cursor::dispatch, adjust for new DispatchResult semantics.
3247
3248         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3249         DispatchResult(true) mean to not update. Add class functions for
3250         setting dispatched and update, as well as reading.
3251
3252         * cursor.C (dispatch): don't handle update here
3253
3254 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3257         * trans_mgr.C: adjust
3258
3259         * paragraph_funcs.C (readParToken): exception safety
3260
3261         * lyxvc.h: store the vcs pointer in a scoped_ptr
3262         * lyxvc.C: adjust
3263
3264         * lyxsocket.C (serverCallback): exception safety
3265
3266         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3267
3268         * ispell.C (clone): make it return a auto_ptr
3269
3270         * factory.C (createInset): exception safety
3271         (readInset): exception safety
3272
3273         * bufferlist.C (newBuffer): exception safety
3274
3275         * Thesaurus.C (Thesaurus): use initialization for aik_
3276
3277         * MenuBackend.C (expandToc): exception safety.
3278
3279 2003-11-03  André Pönitz  <poenitz@gmx.net>
3280
3281         * buffer.C:
3282         * buffer.h:
3283         * bufferview_funcs.C: remove getInsetFromId()
3284
3285         * lyxcursor.[Ch]:
3286         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3287
3288         * lyxfunc.C:
3289         * text2.C:
3290         * text3.C: adjust
3291
3292 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * PosIterator.C (distance, advance): new
3295         * bufferview_funcs.[Ch] (put_selection_at): new
3296         * iterators.[Ch] (lockPath): new
3297
3298 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3299
3300         * iterators.[Ch] (asPosIterator): added
3301         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3302         * PosIterator.[Ch]: added
3303
3304 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * text3.C:
3307         * lyxfunc.C:
3308         * cursor.C (dispatch):
3309         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3310
3311         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3312         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3313         contructor, add a class function dispatched. Remove operator>=
3314
3315 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * debug.C: only use the default constructor for debugstream
3318         (lyxerr) here.
3319
3320         * main.C (main): include debug.h and setup the lyxerr streambuf
3321         here.
3322
3323 2003-10-31  José Matos  <jamatos@lyx.org>
3324
3325         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3326
3327         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3328         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3329         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3330         * paragraph_pimpl.C (simpleTeXSpecialC):
3331         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3332         add LatexRunParams argument.
3333
3334         * exporter.C (Export): change call accordingly.
3335
3336         * latexrunparams.h: add new member to take care of the other backends.
3337 2003-10-30  José Matos  <jamatos@lyx.org>
3338
3339         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3340         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3341         factorise code for paragraph output.
3342         * buffer.[Ch]:
3343         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3344         move functions.
3345
3346 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * text3.C (dispatch):
3349         * lyxfunc.C (dispatch):
3350         * cursor.C (dispatch):
3351         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3352
3353         * dispatchresult.h: make the dispatch_result_t ctor explicit
3354
3355 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3356
3357         * sgml.[Ch]:
3358         * buffer.C: small refactoring of docbook stuff
3359
3360 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3363         meaning.
3364
3365 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3368         operator dispatch_result_t, and operators for == != and >=
3369
3370         * cursor.C (dispatch): adjust for operator dispatch_result_t
3371         removal. comment out call to update
3372
3373         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3374
3375 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * text3.C:
3378         * text2.C:
3379         * text.C:
3380         * lyxtext.h:
3381         * lyxfunc.C:
3382         * cursor.C:
3383         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3384         (dispatch):
3385
3386         * dispatchresult.h: new file, DispatchResult broken out of
3387         insets/insetbase.h
3388
3389         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3390
3391 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3392
3393         * text.C (rowBreakPoint): put a hack inside #if 0
3394
3395 2003-10-28  André Pönitz  <poenitz@gmx.net>
3396
3397         * lyxtext.h:
3398         * metricsinfo.C:
3399         * paragraph_funcs.C:
3400         * rowpainter.C:
3401         * text.C:
3402         * text2.C: general cleanup (lots of small stuff)
3403
3404 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3405
3406         * text2.C (cursorEnd): simple fix to the "end key goes to one
3407         before the end on last row" bug
3408
3409 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3410
3411         * text.C (backspace): fix the "zombie characters"
3412
3413 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3414
3415         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3416
3417 2003-10-27  André Pönitz  <poenitz@gmx.net>
3418
3419         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3420
3421         * factory.C: handle new InsetPagebreak, InsetLine
3422
3423         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3424         and move handling into new InsetPagebreak, InsetLine
3425
3426         * BufferView_pimpl.C:
3427         * LyXAction.C:
3428         * ParagraphParameters.C:
3429         * ParameterStruct.h:
3430         * lyxfunc.C:
3431         * lyxtext.h:
3432         * paragraph.C:
3433         * paragraph.h:
3434         * paragraph_funcs.C:
3435         * paragraph_pimpl.C:
3436         * rowpainter.C:
3437         * text.C:
3438         * text2.C:
3439         * text3.C: adjust
3440
3441 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3442
3443         * text.C:
3444         * lyxrow_funcs.[Ch]:
3445         * Bidi.C:
3446         * paragraph.C:
3447         * lyxtext.h:
3448         * rowpainter.C:
3449         * text2.C:
3450         * text3.C: remove lastPos uses in favour of Row::endpos
3451
3452 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3453
3454         * undo.C (performUndoOrRedo): fix two crashes by setting a
3455         cursor by hand and reordering some calls. Use bv->lockInset instead
3456         of inset->edit because the latter loses cursor information
3457
3458 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3461         by Martin
3462         (rowBreakPoint): fix width. change point to point + 1.
3463         Add a missing check.
3464
3465 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3466
3467         * MenuBackend.C:
3468         * lyxfunc.C: fix (at least partly) the problems
3469         with the Nav menu and headers inside branch insets
3470         reported by Kayvan
3471
3472 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3473
3474         * paragraph.C (getChar): add strong asserts
3475
3476         * lyxrow_funcs.C (lastPos): remove hideous hack
3477
3478         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3479         (fill): adjust to that (avoid an infinite loop)
3480
3481 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3482
3483         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3484
3485 2003-10-23  André Pönitz  <poenitz@gmx.net>
3486
3487         * RowList_fwd.h: change list<> to vector<> to gain speed
3488         after suggestion from Alfredo
3489
3490 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * lyxtext.h: move the bidi stuff from here...
3493         * text.C: and here
3494         * text2.C: and here
3495         * Bidi.[Ch]: ... to here
3496
3497 2003-10-23  André Pönitz  <poenitz@gmx.net>
3498
3499         * lyxtext.h:
3500         * text.C (isLastRow, isFirstRow): new functions
3501
3502         * paragraph.h: new width cache member
3503
3504         * rowpainter.C: replace RowList::iterator with Row & where possible
3505
3506         * lyxfunc.C: replace several view()->text with a single call
3507
3508         * toc.C: fix 'unused' warning
3509
3510 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3511
3512         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3513         when woring with stream::pos_type
3514         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3515
3516 2003-10-22  André Pönitz  <poenitz@gmx.net>
3517
3518         * lyxtext.h:
3519         * text.C: use Row & instead of RowList::iterator
3520
3521         * lyxrow.h: rename end() to endpos()
3522
3523         * rowpainter.C:
3524         * text.C:
3525         * text2.C: adjust
3526
3527 2003-10-22  Angus Leeming  <leeming@lyx.org>
3528
3529         * buffer.[Ch] (fully_loaded): new member function, returning true
3530         only when the file has been loaded fully.
3531         Used to prevent the premature generation of previews and by the
3532         citation inset to prevent computation of the natbib-style label.
3533
3534         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3535         templates are all set up.
3536
3537         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3538
3539 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3540
3541         * text.C: fixed an "oops" in the "is a bit silly"
3542         bug fix
3543
3544 2003-10-21  André Pönitz  <poenitz@gmx.net>
3545
3546         * FuncStatus.[Ch]: small stuff, whitespace
3547
3548         * lyxfont.[Ch]: operator<<() for debug reasons
3549
3550         * lyxfunc.C:
3551         * lyxrow_funcs.C:
3552         * lyxtext.h: whitespace, spelling
3553
3554         * paragraph.C: naming of variables
3555
3556         * text.C:
3557         * text2.C: small stuff
3558
3559
3560 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3561
3562         * text.C: (1) finish off the inset display() work;
3563         (2) fix the "is a bit silly" bug (accessing char
3564         past end of par).
3565
3566 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3567
3568         * text.C: re-introduce display() for insets, fixing the
3569         various bugs (stretch of line above, math inset
3570         positioning, ...)
3571
3572 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3573
3574         * text.C (rightMargin): remove spurious semicolon
3575
3576         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3577         1415)
3578
3579 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3580
3581         * text3.C: fix one crash due to wrong cursor def
3582
3583 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3584
3585         * vc-backend.C (scanMaster): make the regex static
3586
3587         * LaTeX.C (scanAuxFile): make the regexs static
3588
3589         * text3.C (doInsertInset, dispatch, dispatch):
3590         * text2.C (cursorUp, cursorDown):
3591         * text.C (selectNextWordToSpellcheck):
3592         * BufferView_pimpl.C (dispatch):
3593         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3594
3595 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3596
3597         * lyxsocket.C: include <cerrno>
3598
3599 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3600
3601         * lyxfunc.C (dispatch): remove textcache stuff
3602
3603         * bufferlist.C (release): remove textcache stuff
3604         (closeAll): ditto
3605
3606         * TextCache.C: delete file
3607         * TextCache.h: delete file
3608
3609         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3610
3611         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3612         delete of the bv_->text.
3613         (resizeCurrentBuffer): remove texcache stuff
3614         (workAreaResize): ditto
3615
3616 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3619         action.
3620
3621 2003-10-16  André Pönitz  <poenitz@gmx.net>
3622
3623         * lyxrow.[Ch]:
3624         * paragraph.h:
3625         * rowpainter.C:
3626         * text.C:
3627         * text2.C:
3628         * text3.C: speed up by storing y positions per paragraph plus per-row
3629         offset instead of having a 'full' y position in the row.
3630
3631 2003-10-15  André Pönitz  <poenitz@gmx.net>
3632
3633         * iterators.[Ch]:
3634         * iterators.[Ch]:
3635         * undo.[Ch]: make undo aware of inner insets
3636
3637 2003-10-14  Angus Leeming  <leeming@lyx.org>
3638
3639         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3640         static member functions LyX::ref() and LyX::cref.
3641         (lastfiles): new accessor functions for the new lastfiles_ member var.
3642         (addLyXView, views_): add a new LyXView to the list of views_.
3643         (updateInset): loop over all LyXViews to call their own updateInset
3644         member function, returning a pointer to the Buffer owning the inset.
3645
3646         * BufferView_pimpl.C (loadLyXFile):
3647         * MenuBackend.C (expandLastfiles):
3648         * bufferlist.C (MenuWrite, QuitLyX):
3649         lastfiles is no longer a global variable.
3650         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3651
3652         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3653         static function. Access through LyX::cref().emergencyCleanup().
3654
3655 2003-10-14  André Pönitz  <poenitz@gmx.net>
3656
3657         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3658
3659         * undo.[Ch]: restoring part of 'undo in insets'
3660
3661         * Makefile.am:
3662         * undo_funcs.[Ch]: merge with undo.[Ch]
3663
3664         * tabular.C: small cleansing stuff
3665
3666 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3667
3668         * paragraph_funcs.C (readParToken): report unknown insets as error
3669         boxes. Use the outer paragraph as location (also for unknown
3670         tokens).
3671
3672         * factory.C (readInset): do not abort on reading an unknown inset.
3673         Eat it and return 0.
3674
3675 2003-10-13  Angus Leeming  <leeming@lyx.org>
3676
3677         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3678
3679         * lyxrc.C: displayTranslator is now a function,
3680         declared in GraphicsTypes.h.
3681
3682 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3683
3684         * format.C: new placeholder $$a to pass the socket address.
3685
3686         * bufferlist.[Ch]: new function getBufferFromTmp.
3687
3688         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3689           files in the temporary dir.
3690
3691 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3692
3693         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3694
3695         * Makefile.am: add lyxsocket.[Ch].
3696
3697         * lyx_main.C (error_handler): handle SIGPIPE.
3698
3699 2003-10-13  André Pönitz  <poenitz@gmx.net>
3700
3701         * BufferView_pimpl.C:
3702         * lyxtext.h:
3703         * text.C:
3704         * text2.C:
3705         * text3.C:
3706         * undo_funcs.[Ch]: use paroffset_type instead of
3707           ParagraphList::iterators to prevent multiple conversion
3708           (and get a more robust interface)
3709
3710 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3713         * lyxtext.h: ditto
3714         * text3.C (dispatch): ditto
3715
3716 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3717
3718         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3719         move the onlyfile, use onlyfile instead of foundfile in a couple
3720         of places.
3721
3722         * DepTable.C (update): flush the error stream a bit more
3723
3724 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3725
3726         * lyxserver.C (callback): adjust
3727
3728         * lyxfunc.C (getStatus): add a missing brace in commented code
3729         (ensureBufferClean): reindent
3730         (dispatch): delete version taking a string
3731
3732 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * LaTeX.C (deplog): move found file handlig from here...
3735         (handleFoundFile): .. to new function here.
3736         (deplog): make sure to discover several files mentioned on the
3737         same log line.
3738
3739 2003-10-10  André Pönitz  <poenitz@gmx.net>
3740
3741         * lyxfunc.C:
3742         * lyxtext.h:
3743         * tabular.C:
3744         * text.C:
3745         * text2.C:
3746         * text3.C: fix some of the tabular crashes
3747
3748 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3749
3750         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3751
3752         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3753
3754 2003-10-09  André Pönitz  <poenitz@gmx.net>
3755
3756         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3757
3758         * BufferView.C:
3759         * BufferView_pimpl.C:
3760         * bufferview_funcs.C:
3761         * lyx_cb.C:
3762         * lyxcursor.C:
3763         * lyxfind.C:
3764         * lyxfunc.C:
3765         * lyxtext.h:
3766         * text.C:
3767         * text2.C:
3768         * text3.C:
3769         * text_funcs.[Ch]:
3770         * textcursor.[Ch]:
3771         * undo_funcs.C: adjust
3772
3773 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * text2.C (incrementItemDepth): new function, use a backtracking
3776         algorithm to discover the correct item depth.
3777         (resetEnumCounterIfNeeded): new function, use a backtracking
3778         algorithm to discover if counter reset is needed.
3779         (setCounter): use them. Simplify a bit. Add different labels for
3780         different item depths for itemize.
3781
3782         * paragraph.C (Paragraph): remove initialization of enumdepth
3783         (operator=): ditto
3784
3785         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3786         enumerate and itemize. Change the type of itemdepth to signed char.
3787
3788 2003-10-08  André Pönitz  <poenitz@gmx.net>
3789
3790         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3791           thing assignable.
3792         * text.C:
3793         * text2.C: adjust
3794
3795         * tabular.[Ch]: fix crash after 'row-insert'
3796
3797 2003-10-08  Angus Leeming  <leeming@lyx.org>
3798
3799         Fix doxygen warnings.
3800
3801         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3802         Remove CutAndPaste:: prefix from header file declaration.
3803
3804         * LColor.h (fill): remove LColor:: prefix from declaration.
3805
3806         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3807         use lyx::depth_type rather than Paragraph::depth_type so that
3808         header file and .C file match.
3809
3810         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3811
3812         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3813         * aspell.C: \file aspell_local.C -> \file aspell.C
3814         * gettext.C: \file gettext.C -> \file src/gettext.C
3815         * gettext.h: \file gettext.h -> \file src/gettext.h
3816         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3817         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3818         * text.C: \file text.C -> \file src/text.C
3819
3820         * toc.C: move comment so that doxygen is not confused.
3821
3822 2003-10-07  Angus Leeming  <leeming@lyx.org>
3823
3824         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3825
3826 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3827
3828         * aspell.C:
3829         * aspell_local.h: add forgotten std::string's.
3830
3831 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3832
3833         * LaTeXFeatures.C:
3834         * LyXAction.C:
3835         * factory.C:
3836         * lfuns.h:
3837         * lyxfunc.C:
3838         * text3.C: The Box patch. Fancybox support, minipage, parbox
3839
3840 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3841
3842         * CutAndPaste.h:
3843         * DepTable.h:
3844         * FloatList.h:
3845         * LaTeXFeatures.h:
3846         * ParagraphParameters.h:
3847         * TextCache.h:
3848         * Thesaurus.h:
3849         * bufferlist.h:
3850         * exporter.h:
3851         * importer.h:
3852         * lastfiles.h:
3853         * lyxfind.h:
3854         * lyxfont.h:
3855         * lyxlex.h:
3856         * lyxtextclasslist.h:
3857         * messages.h:
3858         * paragraph.h:
3859         * paragraph_pimpl.C:
3860         * textcursor.h: add <string> and other small fixes to make Lars'
3861         std::string patch compile with STLport.
3862
3863 2003-10-06  Angus Leeming  <leeming@lyx.org>
3864
3865         * LColor.h: Add missing #include <string>.
3866
3867 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * All most all file in all subdirs: Make <string> be the prefered
3870         way of getting to std::string, add using declarations.
3871
3872 2003-10-06  André Pönitz  <poenitz@gmx.net>
3873
3874         * metricsinfo.C: initialize LyXFont before changing attribute.
3875         (fixes the 'math in \emph is upright' bug)
3876
3877 2003-10-06  André Pönitz  <poenitz@gmx.net>
3878
3879         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3880
3881 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3882
3883         * graph.C:
3884         * paragraph_pimpl.C: Small fixes to build using STLport
3885
3886 2003-10-02  André Pönitz  <poenitz@gmx.net>
3887
3888         * lyxfunc.C:
3889         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3890
3891 2003-10-01  André Pönitz  <poenitz@gmx.net>
3892
3893         * factory.C: assert early
3894
3895 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * lyx_main.C: remove the global debug object
3898
3899         * debug.h: adjust for new debugstream
3900
3901         * debug.C: adjust for new debugstream and keep the global debug
3902         object here.
3903
3904 2003-09-22  Angus Leeming  <leeming@lyx.org>
3905
3906         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3907         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3908         an incomplete class LyXFont.
3909
3910 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3911
3912         * factory.C: bug fix in branches
3913
3914 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * lyxfunc.C (processKeySym): adjust
3917         (dispatch): adjust
3918         (dispatch): change arg name from ev to func, adjust
3919         (sendDispatchMessage): ditto
3920
3921         * lyx_main.C (defaultKeyBindings): adjust keybindings
3922         (deadKeyBindings): ditto
3923
3924         * kbsequence.C (addkey): return a FuncRequest
3925
3926         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3927
3928         * kbmap.C (bind): take a FuncRequest as arg, adjust
3929         (read): adjust
3930         (lookup): adjust
3931         (defkey): change to take a FuncRequest as arg, adjust
3932         (findbinding): take a FuncRequest as arg, adjust.
3933
3934         * funcrequest.h (operator=): added
3935
3936         * funcrequest.C (FuncRequest): default kb_action changed from
3937         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3938
3939         * buffer.C (dispatch): simplify
3940         (dispatch): adjust to take a FuncRequest as arg, adjust
3941
3942         * boost.C (assertion_failed): change assertion message slightly
3943
3944         * ToolbarBackend.C (read): simplify
3945
3946         * MenuBackend.C (binding): adjust call to findbinding, add a
3947         message if no binding is found.
3948         (read): simplify
3949         (expandToc): correct by adding a empty FuncRequest
3950
3951         * LyXAction.C: include <boost/assert.hpp>
3952         (isPseudoAction): delete function
3953         (LookupFunc): change name to...
3954         (lookupFunc): this. change return type to FuncRequest.
3955         (getActionName): take kb_action as arg, simplify
3956         (funcHasFlag): add an assert, simplify.
3957
3958 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * toc.C (action): return a FuncRequest, simplify
3961
3962         * lyxfunc.C (processKeySym): adjust
3963         (getStatus): delete version that takes an int.
3964         (getStatus): adjust
3965         (dispatch): delete version that takes action as int
3966         (dispatch): adjust
3967         (sendDispatchMessage): simplify and adjust
3968
3969         * funcrequest.C (getArg): take unsigned int as arg
3970
3971         * ToolbarBackend.C (read): adjust
3972         (add): delete version that takes func as a string.
3973         (getIton): take a FuncRequest as arg
3974
3975         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3976         action.
3977
3978         * MenuBackend.C (MenuItem): add a new construct that only takes a
3979         Kind, simplify the constructor use for submenus.
3980         (add): adjust
3981         (expandLastfiles): adjust
3982         (expandDocuments): adjust
3983         (expandFormats): adjust
3984         (expandFloatListInsert): adjust
3985         (expandFloatInsert): adjust
3986         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3987
3988         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3989         Remove class variables lyx_pseudo_map and lyx_arg_map
3990
3991         * LyXAction.C (searchActionArg): delete function
3992         (getPseudoAction): delete function
3993         (retrieveActionArg): delete function
3994         (LookupFunc): make it return kb_action, simplify.
3995         (getActionName): simplify
3996
3997         * factory.C (createInset): fix new bug
3998
3999 2003-09-19  Angus Leeming  <leeming@lyx.org>
4000
4001         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4002         masterFilename_ parameter in the include inset.
4003
4004         * factory.C (createInset): changes due to the changes to InsetInclude.
4005
4006 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4007
4008         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4009
4010 2003-09-18  Angus Leeming  <leeming@lyx.org>
4011
4012         * buffer.C:
4013         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4014         Inset::fillWithBibKeys.
4015         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4016
4017 2003-09-18  Angus Leeming  <leeming@lyx.org>
4018
4019         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4020         variables.
4021         (ctor): pass and store a 'Buffer const &'
4022         (buffer): new member function.
4023
4024         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4025         '*this' to the LaTeXFeatures ctor.
4026
4027 2003-09-18  Angus Leeming  <leeming@lyx.org>
4028
4029         * LColor.h:
4030         * lyxfont.C:
4031         * lyxfont.h:
4032         * lyxtext.h:
4033         * text.C: rename EnumLColor as LColor_color.
4034
4035 2003-09-18  Angus Leeming  <leeming@lyx.org>
4036
4037         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4038         remove #include "insets/insetbase.h" from cursor.h.
4039
4040 2003-09-18  Angus Leeming  <leeming@lyx.org>
4041
4042         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4043         InsetOld_code to remove #include "inset.h".
4044
4045         * iterators.C: add #include "insets/inset.h"
4046
4047 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4048
4049         * BufferView.C: remove more locking stuff that apparently doesn't
4050         do anything sensible.
4051
4052 2003-09-16  André Pönitz  <poenitz@gmx.net>
4053
4054         * paragraph.[Ch]:
4055         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4056           performance boost.
4057
4058 2003-09-16  Angus Leeming  <leeming@lyx.org>
4059
4060         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4061
4062         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4063         arg/return type.
4064
4065         * paragraph.h: remove #include "lyxfont.h". Forward declare
4066         LyXFont_size.
4067
4068 2003-09-16  Angus Leeming  <leeming@lyx.org>
4069
4070         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4071         of support/textutils.h.
4072         (isWord): move the contents of support/textutils.h's IsWordChar here.
4073
4074         * buffer.C:
4075         * lyxfind.C:
4076         * rowpainter.C:
4077         * text.C:
4078         * text2.C: add #include "paragraph.h".
4079
4080         * rowpainter.C:
4081         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4082
4083 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * main.C:
4086         * lyx_main.C:
4087         * lyx_cb.C:
4088         * buffer.C:
4089         * LaTeX.C: use namespace alias for lyx::support::os
4090
4091 2003-09-16  Angus Leeming  <leeming@lyx.org>
4092
4093         * bufferparams.C:
4094         * bufferview_funcs.C:
4095         * factory.C:
4096         * lyxfunc.C:
4097         * paragraph_pimpl.C:
4098         * rowpainter.C:
4099         * text.C: add #include "LColor.h".
4100
4101 2003-09-16  Angus Leeming  <leeming@lyx.org>
4102
4103         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4104         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4105         return LyXFont &.
4106         Store the FontBits::color variable as an int rather than as an
4107         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4108         file.
4109
4110         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4111         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4112         string calls together.
4113
4114         * lyxrc.C: add #include "LColor.h".
4115
4116 2003-09-15  Angus Leeming  <leeming@lyx.org>
4117
4118         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4119         a cow_ptr.
4120
4121 2003-09-15  Angus Leeming  <leeming@lyx.org>
4122
4123         * LColor.h: add an EnumLColor wrapper for LColor::color.
4124
4125         * lyxfont.[Ch] (color, setColor, realColor):
4126         * lyxtext.h, text.C (backgroundColor):
4127         pass EnumLColor args to/from the functions, rather than LColor::color
4128         ones.
4129
4130         * lyxfont.h:
4131         * lyxtext.h: forward declare EnumLColor.
4132
4133         * lyx_main.C: add #include "LColor.h".
4134
4135 2003-09-15  Angus Leeming  <leeming@lyx.org>
4136
4137         * .cvsignore: add lyx-gtk.
4138
4139 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * Chktex.C
4142         * LaTeX.C
4143         * LaTeXFeatures.C
4144         * ParagraphParameters.C
4145         * Spacing.C
4146         * buffer.C
4147         * bufferparams.C
4148         * bufferview_funcs.C
4149         * chset.C
4150         * counters.C
4151         * funcrequest.C
4152         * lyxfont.C
4153         * lyxgluelength.C
4154         * lyxlength.C
4155         * paragraph.C
4156         * paragraph_funcs.C
4157         * text3.C
4158         * vc-backend.C: remove usage of STRCONV
4159
4160 2003-09-15  Angus Leeming  <leeming@lyx.org>
4161
4162         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4163         explicitly define the color passed to the painter.
4164
4165 2003-09-15  Angus Leeming  <leeming@lyx.org>
4166
4167         * bufferparams.C (BufferParams): reorder member initializers to avoid
4168         compiler warning.
4169
4170 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4173         * text.C (updateRowPositions): remove an unusual nop
4174
4175 2003-09-12  André Pönitz  <poenitz@gmx.net>
4176
4177         * BufferView_pimpl.C:
4178         * Bullet.C:
4179         * layout.h:
4180         * lyxfunc.C:
4181         * lyxlayout.[Ch]:
4182         * lyxtextclass.C:
4183         * rowpainter.C:
4184         * text.C:
4185         * text2.C:
4186         * Counters.[Ch]: finish the 'automatic counters' job
4187
4188 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4189
4190         * aspell.C: include <boost/assert.cpp> (compile fix)
4191
4192 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4193
4194         * boost.C (assertion_failed): use lyx::support::abort instead of
4195         assert.
4196
4197 2003-09-10  Angus Leeming  <leeming@lyx.org>
4198
4199         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4200         with their _fwd progeny.
4201
4202 2003-09-09  Angus Leeming  <leeming@lyx.org>
4203
4204         134 files throughtout the source tree: replace 'using namespace abc;'
4205         directives with the appropriate 'using abc::xyz;' declarations.
4206
4207 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4208
4209         * boost.C (emergencyCleanup): moved here from LAssert.c
4210         (assertion_failed): new function, called by BOOST_ASSERT
4211
4212         * several files: change Assert to BOOST_ASSERT
4213
4214 2003-09-09  Angus Leeming  <leeming@lyx.org>
4215
4216         * buffer.[Ch]: Add an Impl class and move Buffer's member
4217         variables into it. As a result move several header files out of
4218         buffer.h.
4219
4220         Add header files to lots of .C files all over the tree as a result.
4221
4222 2003-09-09  Angus Leeming  <leeming@lyx.org>
4223
4224         * buffer.[Ch]: make Buffer's member variables private. Add
4225         accessor functions.
4226
4227         Lots of changes all over the tree as a result.
4228
4229 2003-09-08  Angus Leeming  <leeming@lyx.org>
4230
4231         * graph.C: #include <config.h>.
4232
4233 2003-09-08  Angus Leeming  <leeming@lyx.org>
4234
4235         * BranchList.C:
4236         * BufferView.C:
4237         * BufferView_pimpl.C:
4238         * CutAndPaste.C:
4239         * DepTable.C:
4240         * LaTeX.C:
4241         * LaTeXFeatures.C:
4242         * LyXAction.C:
4243         * MenuBackend.C:
4244         * TextCache.C:
4245         * aspell.C:
4246         * buffer.C:
4247         * bufferlist.C:
4248         * changes.C:
4249         * chset.C:
4250         * converter.C:
4251         * counters.C:
4252         * debug.C:
4253         * graph.C:
4254         * ispell.C:
4255         * lyx_cb.C:
4256         * lyxfind.C:
4257         * lyxfunc.C:
4258         * lyxlex_pimpl.C:
4259         * lyxrc.C:
4260         * lyxrow.C:
4261         * paragraph.C:
4262         * rowpainter.C:
4263         * texrow.C:
4264         * text.C:
4265         * text2.C:
4266         * toc.C: remove redundant using directives.
4267
4268 2003-09-07  Angus Leeming  <leeming@lyx.org>
4269
4270         * LaTeXFeatures.h: remove #include "support/types.h".
4271         * ToolbarBackend.h: remove #include <algorithm>.
4272         * changes.h: remove #include <ctime>.
4273         * debug.h: remove #include <iosfwd>.
4274         * graph.h: remove #include "support/std_string.h".
4275         * lyx_main.h: remove #include <csignal>.
4276         * lyxlex_pimpl.h: remove #include <fstream>.
4277         * sgml.h: remove #include <algorithm>, <utility>.
4278         * toc.h: remove #include "support/std_ostream.h".
4279         Add #include <iosfwd>.
4280
4281 2003-09-07  Angus Leeming  <leeming@lyx.org>
4282
4283         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4284
4285         * converter.h: forward declare LatexRunParams.
4286         * encoding.h: remove #include "lyxrc.h".
4287         * lyxtext.h: remove #include "LColor.h".
4288         * lyxtextclass.h: remove #include "support/types.h".
4289         * trans.h: remove #include "tex-accent.h".
4290         * trans_mgr.h: remove #include "tex-accent.h".
4291         * insets/inset.h: remove #include "support/types.h", <vector>.
4292         * insets/insetcollapsable.h: remove #include "LColor.h".
4293         * insets/insetinclude.h: remove #include "dimension.h".
4294         * insets/insetlatexaccent.h: remove #include "dimension.h".
4295         * insets/insetoptarg.h:: remove #include "insettext.h".
4296         * insets/insettext.h: remove #include "dimension.h",
4297         <boost/shared_ptr.hpp>
4298
4299         * insets/renderers.h: add #include "dimension.h".
4300         * insets/updatableinset.h: add #include "support/types.h".
4301
4302         * many .C files: Associated changes.
4303
4304 2003-09-06  Angus Leeming  <leeming@lyx.org>
4305
4306         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4307         one, inside testInvariant.
4308
4309         * PrinterParams.C: new file.
4310         * PrinterParams.[Ch]: move the function bodies out of line.
4311
4312 2003-09-06  Angus Leeming  <leeming@lyx.org>
4313
4314         * ParagraphParameters.h: forward declare ParameterStruct rather than
4315         including its header file.
4316         (depth): moved out-of-line.
4317
4318 2003-09-06  Angus Leeming  <leeming@lyx.org>
4319
4320         * BufferView_pimpl.h:
4321         * kbmap.h:
4322         * kbsequence.h:
4323         * lyxfunc.h: forward declare LyXKeySym rather than
4324         #include "frontends/LyXKeySym.h".
4325
4326         * BufferView_pimpl.C:
4327         * kbmap.C:
4328         * kbsequence.C:
4329         * lyxfunc.C: associated changes.
4330
4331 2003-09-06  Angus Leeming  <leeming@lyx.org>
4332
4333         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4334         As a result, can remove the #include "insets/inset.h" from BufferView.h
4335
4336 2003-09-06  Angus Leeming  <leeming@lyx.org>
4337
4338         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4339         As a result, can remove the #include "insets/inset.h" from BufferView.h
4340
4341 2003-09-06  Angus Leeming  <leeming@lyx.org>
4342
4343         * buffer_funcs.C:
4344         * buffer.h:
4345         * bufferlist.C:
4346         * BufferView.C:
4347         * bufferview_funcs.C:
4348         * BufferView_pimpl.C:
4349         * CutAndPaste.C:
4350         * lyx_cb.C:
4351         * lyxfunc.C:
4352         * paragraph.h:
4353         * ParagraphParameters.C:
4354         * tabular.C:
4355         * text3.C:
4356         * toc.C:
4357         * undo_funcs.C:
4358         * frontends/controllers/ControlDocument.C:
4359         * insets/insetcaption.C: rearrange the #includes into some sort of
4360         coherent order.
4361
4362         * buffer.h: remove #includes ErrorList.h, undo.h
4363
4364 2003-09-06  Angus Leeming  <leeming@lyx.org>
4365
4366         * support/types.h: add a 'depth_type' typedef, used to store the
4367         nesting depth of a paragraph.
4368
4369         * paragraph.h:
4370         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4371         defining explicitly.
4372
4373         * buffer.h:
4374         * paragraph_funcs.h:
4375         * ParagraphParameters.h:
4376         * sgml.h: use lyx::depth_type rather than Paragraph or
4377         ParameterStruct's depth_type.
4378
4379         * buffer.h
4380         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4381
4382         * BufferView.C:
4383         * BufferView_pimpl.C:
4384         * CutAndPaste.C:
4385         * ParagraphParameters.C:
4386         * buffer_funcs.C:
4387         * bufferlist.C:
4388         * bufferview_funcs.C:
4389         * lyx_cb.C:
4390         * lyxfunc.C:
4391         * tabular.C:
4392         * text3.C:
4393         * toc.C:
4394         * undo_funcs.C:
4395         * frontends/LyXView.C:
4396         * frontends/controllers/ControlDocument.C:
4397         * frontends/controllers/ControlErrorList.C:
4398         * insets/insetbibitem.C:
4399         * insets/insetbranch.C:
4400         * insets/insetcaption.C:
4401         * insets/insetcollapsable.C:
4402         * insets/insetenv.C:
4403         * insets/insetert.C:
4404         * insets/insetfloat.C:
4405         * insets/insetfoot.C:
4406         * insets/insetfootlike.C:
4407         * insets/insetnewline.C:
4408         * insets/insetquotes.C:
4409         * insets/insettabular.C:
4410         * insets/insettext.C:
4411         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4412
4413         * frontends/controllers/ControlChanges.C: #include "changes.h".
4414
4415 2003-09-06  Angus Leeming  <leeming@lyx.org>
4416
4417         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4418         than #including paragraph.h.
4419
4420         * ParagraphList.h:
4421         * RowList.h: deleted. Superfluous.
4422
4423         * CutAndPaste.h:
4424         * iterators.h:
4425         * lyxcursor.h:
4426         * lyxtext.h:
4427         * text_funcs.h:
4428         * undo.h:
4429         * undo_funcs.h:
4430         * insets/inset.h:
4431         * insets/insettext.h: use ParagraphList_fwd.h rather than
4432         ParagraphList.h.
4433
4434         * paragraph.h: don't forward declare ParagraphList.
4435
4436         * buffer.h:
4437         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4438         rather than ParagraphList.h. paragraph.h is still needed for the
4439         Paragraph::depth_type parameters.
4440
4441         * textcursor.h: enable it to compile stand-alone in light of the
4442         above changes.
4443
4444         * bufferview_funcs.C:
4445         * iterators.C:
4446         * lyxfunc.C:
4447         * lyxrow_funcs.C:
4448         * paragraph.C:
4449         * rowpainter.C:
4450         * text.C:
4451         * text2.C:
4452         * text3.C:
4453         * text_funcs.C:
4454         * textcursor.C:
4455         * undo.C:
4456         * frontends/controllers/ControlParagraph.C:
4457         * frontends/controllers/ControlTabular.C:
4458         * insets/insetmarginal.C:
4459         * insets/insetminipage.C:
4460         * insets/insetnote.C:
4461         * insets/insetoptarg.C: add header files needed to compile again.
4462
4463 2003-09-06  Angus Leeming  <leeming@lyx.org>
4464
4465         * RowList_fwd.h: new file, forward-declaring Row rather than
4466         #including lyxrow.h.
4467
4468         * lyxrow_funcs.h:
4469         * lyxtext.h:
4470         * paragraph.h:
4471         * insets/insettext.h: use it instead of RowList.h
4472
4473         * bufferview_funcs.C:
4474         * lyxfunc.C:
4475         * lyxrow_funcs.C:
4476         * paragraph.C:
4477         * rowpainter.C:
4478         * text.C:
4479         * text2.C:
4480         * text3.C: #include "RowList.h".
4481
4482 2003-09-05  Angus Leeming  <leeming@lyx.org>
4483
4484         * factory.C (createInset):
4485         * vspace.C (c-tor): replace sscanf call with an istringstream.
4486         * ispell.C: re-add missing HP/UX headers.
4487         * lyxserver.C: re-add missing  os2 headers.
4488
4489 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4490
4491         * BranchList.C:
4492         * graph.C:
4493         * ispell.C:
4494         * lastfiles.C:
4495         * lyx_cb.C:
4496         * lyxserver.C:
4497         * texrow.C:
4498         * text3.C: re-add missing system headers, needed for 2.95.2.
4499
4500 2003-09-05  Angus Leeming  <leeming@lyx.org>
4501
4502         Changes most place everywhere due to the removal of using directives
4503         from support/std_sstream.h.
4504
4505 2003-09-05  Angus Leeming  <leeming@lyx.org>
4506
4507         Replace LString.h with support/std_string.h,
4508         Lsstream.h with support/std_sstream.h,
4509         support/LIstream.h with support/std_istream.h,
4510         support/LOstream.h with support/std_ostream.h.
4511
4512         Changes resulting throughout the tree.
4513
4514 2003-09-05  Angus Leeming  <leeming@lyx.org>
4515
4516         * sgml.h: ensure that the header file can be compiled stand-alone.
4517         * *.C: strip out redundant #includes. (320 in total.)
4518
4519 2003-09-04  Angus Leeming  <leeming@lyx.org>
4520
4521         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4522         here (from getPackages).
4523
4524         * debug.[Ch]: add a new EXTERNAL tag.
4525
4526 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4527
4528         * text2.C (cursorEnd): simplify
4529         (setCursor): adjust
4530         (getColumnNearX): adjust
4531
4532         * text.C (computeBidiTables): adjust
4533         (fill): adjust
4534
4535         * rowpainter.C (paintChars): adjust
4536         (paintSelection): adjust
4537         (paintChangeBar): adjust
4538         (paintText): adjust
4539
4540         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4541         lastPos instead.
4542         (numberOfSeparators): adjust
4543
4544 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4545
4546         * LyXAction.C:
4547         * box.[Ch]:
4548         * lfuns.h:
4549         * lyxfunc.C:
4550         * text3.C: Restricts the mouse click functionality
4551         of insets like bibtex, include, toc and floatlist to the visible
4552         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4553         up the dialogs. Cursor has to be in front of the inset (i.e.
4554         start of row) for this to function.
4555
4556 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4557
4558         * bufferview_funcs.C (currentState): output row information
4559
4560 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4561
4562         * bufferview_funcs.C (currentState): output paragraph position
4563
4564 2003-09-04  Angus Leeming  <leeming@lyx.org>
4565
4566         * FloatList.h: move out #include "Floating.h".
4567         * LaTeX.h: move out #include "DepTable.h".
4568         * LyXAction.h: move out #include "funcrequest.h".
4569         * buffer.h: move out #include "author.h", "iterators.h".
4570         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4571         * lyx_main.h: move out #include "errorlist.h".
4572         * lyxfunc.h: move out #include "FuncStatus.h".
4573         * lyxtext: move out #include "lyxcursor.h".
4574         * paragraph_pimpl.h: move out #include "counters.h".
4575
4576 2003-09-03  Angus Leeming  <leeming@lyx.org>
4577
4578         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4579         preamble_snippets list, enabling us to add snippets to the preamble
4580         only if the snippet was not there already.
4581
4582 2003-09-04  Angus Leeming  <leeming@lyx.org>
4583
4584         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4585
4586 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4589         update
4590
4591 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4592
4593         * BranchList.C: point fix, earlier forgotten
4594
4595 2003-09-02  Angus Leeming  <leeming@lyx.org>
4596
4597         * box.C (contains): renamed from 'contained' after a fantastic
4598         amount of hot air.
4599
4600 2003-09-02  John Levon  <levon@movementarian.org>
4601
4602         * BufferView.C:
4603         * lyxcursor.h:
4604         * lyxcursor.C:
4605         * lyxfunc.C:
4606         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4607
4608 2003-09-02  John Levon  <levon@movementarian.org>
4609
4610         * text2.C: simplification of cursorEnd(), including partial
4611         fix for bug 1376
4612
4613 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * buffer.C (readFile): add a space
4616
4617 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4618
4619         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4620
4621 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * buffer.C (readFile): new function, take a filename and a
4624         ParagraphList::iterator
4625         (readFile): adjust
4626         (readFile): adjust, make it private. don't use setStream, make
4627         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4628         always contain the filename.
4629
4630         * BufferView.C (insertLyXFile): simplify and make it work for
4631         gzipped files.
4632
4633 2003-08-30  John Levon  <levon@movementarian.org>
4634
4635         * Makefile.am: fix dist (from Kayvan)
4636
4637 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * most files: change to use const Buffer refs
4640
4641 2003-08-27  André Pönitz  <poenitz@gmx.net>
4642
4643         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4644         on top of ownerPar().
4645
4646 2003-08-27  John Levon  <levon@movementarian.org>
4647
4648         * funcrequest.C: properly initialise POD members
4649
4650 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4651
4652         * lyxtext.h (top_y): move top_y from here
4653         * text.C:
4654         * text2.C:
4655         * text3.C:
4656         * BufferView.[Ch]:
4657         * BufferView_pimpl.[Ch]: to here
4658         * frontends/screen.C:
4659         * insets/insettabular.C:
4660         * insets/insettext.C: adjust
4661         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4662
4663 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4664
4665         * BufferView.[Ch]:
4666         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4667
4668 2003-08-26  André Pönitz  <poenitz@gmx.net>
4669
4670         * paragraph_func.[Ch] (outerPar): new function
4671
4672         * paragraph.C:
4673         * paragraph_funcs.C:
4674         * paragraph_funcs.h:
4675         * paragraph_pimpl.C:
4676         * text2.C: remove Inset::par_owner
4677
4678 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4679
4680         * lyxrow_funcs.C:
4681         * lyxtext.h:
4682         * text.C:
4683         * text2.C: eliminates the needFullRow/display() stuff
4684         altogether, putting the logic in metrics/draw in the insets.
4685
4686 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4687
4688         * text2.C (redoParagraphInternal, redoParagraphs):
4689         * text.C (redoParagraph): add a call to updateRowPositions at the
4690         end of each 'metrics-like' call. Remove all others.
4691         (getRow): remove the 'y-computing' version.
4692         (getRowNearY): do not compute nor return the real y. Solve the
4693         'y < 0' problem and simplify.
4694
4695 2003-08-22  Angus Leeming  <leeming@lyx.org>
4696
4697         * *.[Ch]: clean-up of licence and author blurbs.
4698         Also move config.h out of a few .h files and into a few .C files.
4699
4700 2003-08-22  André Pönitz  <poenitz@gmx.net>
4701
4702         * lyxrow.[Ch]: add x_ and *fill_ members
4703
4704         * lyxtext.h:
4705         * text.C:
4706         * rowpainter.C:
4707         * text2.C: adjust/remove prepareToPrint() calls
4708
4709 2003-08-22  André Pönitz  <poenitz@gmx.net>
4710
4711         * lyxrow.[Ch]: add  end_ member
4712
4713         * lyxrow_funcs.C: use LyXRow::end_
4714
4715         * lyxtext.h (singleWidth): add LyXFont parameter
4716
4717         * rowpainter.C:
4718         * text2.C: adjust LyXText::singleWidth() calls
4719
4720         * text.C (redoParagraph): simplify row breaking logic
4721
4722
4723 2003-08-19  André Pönitz  <poenitz@gmx.net>
4724
4725         * funcrequest.C: initialize button_ member
4726
4727         * text3.C:
4728         * rowpainter.[Ch]: interface consolidation
4729
4730 2003-08-18  André Pönitz  <poenitz@gmx.net>
4731
4732         * BufferView.C:
4733         * BufferView_pimpl.C:
4734         * lyxfind.C:
4735         * paragraph_funcs.C:
4736         * rowpainter.C:
4737         * text3.C: remove LyXScreen::draw() and fitCursor calls
4738
4739         * BranchList.h: remove spurious semicolons
4740
4741         * MenuBackend.C: fix branchlist related crash
4742
4743 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4744
4745         * BranchList.[Ch]:
4746         * InsetList.[Ch]:
4747         * LColor.[Ch]:
4748         * LyXAction.C:
4749         * Makefile.am:
4750         * MenuBackend.[Ch]:
4751         * bufferparams.[Ch]:
4752         * factory.C:
4753         * lfuns.h:
4754         * lyxfunc.C:
4755         * text3.C: implements the 'branch inset'
4756         idea. This allows the output of various versions of a document
4757         from a single source version, selectively outputing or suppressing
4758         output of parts of the text.
4759         This implementation contains a 'branch list editor' in a separate
4760         tab of the document settings dialog. Branches are user definable
4761         and have a "display colour" to distinguish them on-screen.
4762
4763         ColorHandler was somewhat cleaned up.
4764         (1) make possible a dynamically growing LColor list by allowing
4765         the graphic context cache to grow along (vector);
4766         (2) eliminate an IMHO unnecessary step in colour allocation.
4767
4768 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4769
4770         * BufferView_pimpl.C: compile fix
4771
4772 2003-08-15  André Pönitz  <poenitz@gmx.net>
4773
4774         * rowpainter.C: remove extra metrics calls
4775
4776         * lyxtext.h: merge the two constructors into a single one,
4777           pass reference to owner's par list
4778
4779         * BufferView_pimpl.C:
4780         * text.C:
4781         * text2.C: adjust
4782
4783 2003-08-15  André Pönitz  <poenitz@gmx.net>
4784
4785         * lyxrow_funcs.[Ch]:
4786         * lyxtext.h:
4787         * paragraph.h:
4788         * paragraph_funcs.C:
4789         * rowpainter.C:
4790         * text.C:
4791         * text2.C:
4792         * text3.C:
4793         * text_funcs.C: split LyXText::rowlist_ into individual
4794         Paragraph::rows_ chunks
4795
4796         * BufferView.[Ch]:
4797         * BufferView_pimpl.[Ch]:
4798         * lyxfind.C:
4799         * lyxtext.h:
4800         * text3.C: remove toggleSelection()
4801
4802 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4803
4804         * bufferlist.C: beautify two alerts (shorter text of buttons)
4805         * buffer.C: Remove redundant ' ' from message
4806         * tabular.h:
4807         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4808         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4809         rename VALIGN_CENTER to VALIGN_MIDDLE
4810
4811 2003-08-11  André Pönitz  <poenitz@gmx.net>
4812
4813         * lyxtext.h (getPar):
4814         * text.C: new function
4815
4816 2003-08-11  André Pönitz  <poenitz@gmx.net>
4817
4818         * Makefile.am:
4819         * tracer.[Ch]: remove unneeded files
4820
4821         * InsetList.[Ch]: remove resizeInsetsLyXText()
4822
4823         * lyxtext.h:
4824         * text.C:
4825         * text2.C:
4826         * text3.C: merge insertParagraphs() and appendParagraph()
4827         remove breakAgain(), update()
4828
4829         * BufferView_pimpl.[Ch]:
4830         * bufferview_funcs.[Ch]:
4831         * lyxfunc.C:
4832         * paragraph.[Ch]:
4833         * rowpainter.C:
4834         * tabular.C: adjust after text & InsetList changes.
4835
4836 2003-08-08  André Pönitz  <poenitz@gmx.net>
4837
4838         * text.C (insertChar, backspace): replace rowlist fiddling
4839         with rebreak of full par
4840
4841         * lyxtext.h:
4842         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4843         checkParagraph, updateInset): removed
4844
4845 2003-08-07  André Pönitz  <poenitz@gmx.net>
4846
4847         * paragraph.C:
4848         * text3.C: merge some LFUN handlers, remove dead code
4849
4850 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4851
4852         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4853
4854 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4855
4856         * text2.C (DEPM): fix part of bug 1255 and 1256
4857
4858 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4859
4860         * BufferView_pimpl.C (workAreaDispatch): change to use
4861         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4862         that are no mouse related.
4863
4864 2003-08-05  André Pönitz  <poenitz@gmx.net>
4865
4866         * BufferView.[Ch]:
4867         * BufferView_pimpl.[Ch]:
4868         * bufferview_funcs.C:
4869         * text2.C:
4870         * text3.C: rip out "deep update"
4871
4872         * textcursor.[Ch] (last_sel_cursor): remove unused member
4873
4874 2003-08-04  André Pönitz  <poenitz@gmx.net>
4875
4876         * BufferView.[Ch]:
4877         * BufferView_pimpl.[Ch]:
4878         * ParagraphParameters.C:
4879         * bufferview_funcs.C:
4880         * lyx_cb.C:
4881         * lyxfind.C:
4882         * lyxfunc.C:
4883         * text.C:
4884         * text2.C:
4885         * text3.C: replace "complicated" BufferView::update(...) calls with
4886         simpler ones.
4887
4888         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4889
4890 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4891
4892         * Makefile.am (lyx_SOURCES): add paper.h
4893
4894 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4895
4896         * Makefile.am: move things around so that both lyx-qt and
4897         lyx-xforms can be built (according to --with-frontend). Then lyx
4898         is a symbolic link to lyx-[firstfrontend]
4899
4900 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4901
4902         * Always use std::endl with lyxerr
4903
4904 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4905
4906         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4907
4908 2003-08-01  André Pönitz  <poenitz@gmx.net>
4909
4910         * BufferView.[Ch]:
4911         * BufferView_pimpl.[Ch]:
4912         * lyxfunc.C:
4913         * text3.C: merge BufferView::repaint() and BufferView::update()
4914
4915 2003-08-01  José Matos  <jamatos@lyx.org>
4916
4917         * buffer.[Ch]: file_format is no longer a buffer data element.
4918
4919 2003-08-01  André Pönitz  <poenitz@gmx.net>
4920
4921         * BufferView.C:
4922         * lyxtext.h:
4923         * text.C:
4924         * text2.C: make redoParagraph more independent of current cursor
4925
4926         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4927         * text.C:
4928         * text2.C: remove unneeded members
4929
4930 2003-07-30  André Pönitz  <poenitz@gmx.net>
4931
4932         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4933
4934         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4935           create a single function...
4936
4937         * paragraph_funcs.C (moveItem): ... here.
4938
4939         * text.C:
4940           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4941
4942 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4943
4944         * LColor.[Ch]: Add comment and greyedout logical colors.
4945
4946 2003-07-30  André Pönitz  <poenitz@gmx.net>
4947
4948         * tabular.C: don't use Assert too heavily. This crashes where it
4949           shouldn't
4950
4951 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4954         is disabled (bug 1232)
4955
4956 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4957
4958         * factory.C: limited 'arg' scope
4959
4960 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4961
4962         * factory.C: fixed Note submenu issues
4963
4964 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4965
4966         * factory.C: submenu for Note/Comment/Greyedout
4967
4968 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4969
4970         * lyx_main.C (LyX):
4971         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4972
4973 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4974
4975         * LaTeXFeatures.C:
4976         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4977         greyedout. Patch provided by Jürgen Spitzmüller.
4978
4979 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4980
4981         * kbmap.C (read): fix error message when reading bind files
4982
4983 2003-07-29  Angus Leeming  <leeming@lyx.org>
4984
4985         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4986         certainly does not do what it purports to do. I am doing it, and
4987         us, a favour by killing it.
4988
4989 2003-07-28  José Matos  <jamatos@lyx.org>
4990
4991         * buffer.C (readBody, do_writeFile):
4992         * paragraph.C(readParagraph): \end_document replaces \the_end.
4993
4994 2003-07-29  André Pönitz  <poenitz@gmx.net>
4995
4996         * BufferView.[Ch]:
4997         * BufferView_pimpl.[Ch]:
4998         * lyxfunc.C:
4999         * text2.C:
5000         * text3.C:
5001         * textcursor.[Ch]: remove toggleToggle & Co
5002
5003 2003-07-28  José Matos  <jamatos@fep.up.pt>
5004
5005         * buffer.C (readParagraph):
5006         * params_func (readParToken, readParagraph):
5007         * paragraph.C (write): \layout -> \begin_layout.
5008
5009 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * lyxlex_pimpl.C (setFile): clean up slightly.
5012
5013         * bufferparams.h: add compressed var
5014
5015         * buffer_funcs.C (readFile): adjust for LyXLex change
5016         (newFile): ditto + simplify
5017
5018         * buffer.C (writeFile): handle writing of compressed files
5019
5020         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5021         Check if the file is compressed and set a bufferparm if so.
5022
5023         * Makefile.am (lyx_LDADD): remove explicit -lz
5024
5025 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5026
5027         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5028         makeDocBookFile): put the real LyX version in the first line of
5029         the file
5030
5031         * version.h:
5032         * version.C.in: remove lyx_docversion
5033
5034         * tabular.C (write_attribute): add a template-based version to
5035         write enums properly
5036
5037 2003-07-28  André Pönitz  <poenitz@gmx.net>
5038
5039         * lyxtext.h:
5040         * text.C:
5041         * text2.C:
5042         * text3.C: use doubles again for x-coordinates. They are needed.
5043
5044 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * messages.C (getLocaleDir): use lyx_localedir()
5047
5048         * lyxlex_pimpl.C (setFile): compress stuff
5049
5050         * buffer.C (writeFile): add some compression stuff
5051         (do_writeFile): new func, dont call expliti close... will this
5052         breake anything?
5053
5054         * Makefile.am (lyx_LDADD): add -lz
5055
5056 2003-07-28  José Matos  <jamatos@fep.up.pt>
5057
5058         * buffer.C: increment file format.
5059         * paragraph_funcs (readParagraph, readParToken):
5060         * paragraph.C (readParagraph): add \end_layout.
5061
5062 2003-07-27  Angus Leeming  <leeming@lyx.org>
5063
5064         * Makefile.am: remove special casing for configure-time setting of
5065         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5066
5067         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5068         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5069
5070 2003-07-26  André Pönitz  <poenitz@gmx.net>
5071
5072         * paragraph_func.[Ch]:
5073         * paragraph.C (realizeFont): inline it whereever it is used
5074
5075         * rowpainter.C:
5076         * text.C:
5077         * text2.C:
5078         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5079
5080
5081 2003-07-26  André Pönitz  <poenitz@gmx.net>
5082
5083         *       lyxtext.h:
5084         * text.C:
5085         * text2.C: get rid of LyXText::need_break_row
5086
5087 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * toc.[Ch]: put namespace toc inside namespace lyx
5090
5091         * MenuBackend.C (expandToc2): adjust for lyx::toc
5092         (expandToc): ditto
5093
5094         * lyxfunc.C (dispatch): adjust for lyx::find
5095
5096         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5097         lyx::find instead. Reorganize a bit.
5098         (LyXReplace): rename to replace
5099         (LyXFind): rename to find
5100
5101         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5102         (dispatch): ditto
5103
5104 2003-07-26  André Pönitz  <poenitz@gmx.net>
5105
5106         * text.C (setHeightOfRow): restrict scope of temporary variable
5107
5108         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5109           code (never has been used?)
5110
5111 2003-07-27  Asger Alstrup  <alstrup@local>
5112
5113         * text.C (fill): Optimise algorithm to exploit that we can reuse
5114         the LyXFont for many characters.
5115         (setHeightOfRow): Same thing.
5116         (rowBreakPoint): Same thing.
5117
5118 2003-07-26  Asger Alstrup  <alstrup@local>
5119
5120         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5121
5122         * text.C (singleWidth): Spurious font copying in hot-spot
5123         singleWidth avoided. Reorder tests for arabic for efficiency.
5124
5125         * text.C (fill): handle empty paragraphs better.
5126
5127 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5128
5129         * ispell.C:
5130         * encoding.h: add includes
5131
5132         * lyxrc.C: remove reading of bind files
5133
5134         * lyx_main.C (init): setup bindings and menus only if we have a
5135         gui.
5136
5137         * kbmap.C (read): new method. Do the actual reading of bind
5138         files.
5139
5140         * converter.C (dvipdfm_options):
5141         * bufferparams.C:
5142         * lyxrc.C (read):
5143         (output): adapt PAPER_* enums.
5144
5145         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5146
5147         * bufferparams.h: remove paper-related enums from there
5148
5149         * paper.h: New file. A trivial header file to hold paper-related
5150         enums. It should later expand to contain many paper-related
5151         horrors access.
5152
5153         * lyxrc.C: declare extern displayTranslator
5154
5155 2003-07-27  José Matos  <jamatos@fep.up.pt>
5156
5157         * tabular.[Ch] (linuxdoc): add support for tables and figures
5158         (linuxdoc).
5159
5160 2003-07-27  José Matos  <jamatos@fep.up.pt>
5161
5162         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5163         consistency in both functions.
5164         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5165
5166 2003-07-26  Asger Alstrup  <alstrup@local>
5167
5168         * rowpainter.C (paintRows): Change algorithm to work directly on
5169         the insets rather than asking every character in the document
5170         whether its an inset.
5171
5172 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * buffer.C (openFileWrite): factorize some code
5175
5176 2003-07-26  Angus Leeming  <leeming@lyx.org>
5177
5178         * lyx_cb.C:
5179         * lyx_main.[Ch]: replace occurances of system_tempdir with
5180         os::getTmpDir().
5181
5182 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * rename Inset to InsetOld
5185
5186 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5187
5188         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5189         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5190         which I think is a bit clearer. EDIT is gone, since it was
5191         premature optimisation, and broken for mathed anyway.
5192         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5193         with cursor positioning in insets as well (math insets still do not
5194         work, but that's a different story anyway.) It mysteriously
5195         crashes sometimes with undo in the first paragraph, but I'm fairly
5196         confident that this is a compiler bug.
5197
5198 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * paragraph.C (Paragraph): adjust for new clone return type
5201         (operator==): ditto
5202         (copyIntoMinibuffer): ditto
5203
5204 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5205
5206         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5207         by not having a special case, and always doing a full rebreak of
5208         the document after undo.
5209
5210 2003-07-23  Angus Leeming  <leeming@lyx.org>
5211
5212         * factory.C (createInset): InsetExternal::setParams now takes a
5213         Buffer const * arg.
5214
5215 2003-07-23  Angus Leeming  <leeming@lyx.org>
5216
5217         * factory.C (createInset): changed interface to the external and
5218         graphics mailers' string2params functions.
5219
5220 2003-07-23  Angus Leeming  <leeming@lyx.org>
5221
5222         * factory.C (createInset): pass a
5223         Buffer const * parameter to InsetExternalMailer's string2params.
5224
5225 2003-07-22  John Levon  <levon@movementarian.org>
5226
5227         * Thesaurus.h: include the right aiksaurus header
5228
5229 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5230
5231         * MenuBackend.C (expand): check menu shortcuts unconditionally
5232
5233 2003-07-21  Angus Leeming  <leeming@lyx.org>
5234
5235         * factory.C (createInset): pass a
5236         buffer_path parameter to InsetGraphicsMailer's string2params.
5237
5238 2003-07-21  Angus Leeming  <leeming@lyx.org>
5239
5240         * BufferView_pimpl.C (buffer):
5241         * buffer.C (d-tor):
5242         * lyx_main.C (LyX):
5243         * lyxfunc.C (dispatch):
5244         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5245         rather than the grfx shortcut.
5246
5247 2003-07-21  André Pönitz  <poenitz@gmx.net>
5248
5249         * rowpainter.C: remove unused variables
5250
5251         * tabular_funcs.C:
5252         * tabular_funcs.h: move to tabular.C
5253         * Makefile.am: adjust
5254
5255         * tabular.[Ch]: basic optical cleaning
5256
5257         * author.h: pass references, not values
5258
5259 2003-07-18  André Pönitz  <poenitz@gmx.net>
5260
5261         * lyxtext.h:
5262         * metricsinfo.C:
5263         * metricsinfo.h:
5264         * rowpainter.C:
5265         * text.C:
5266         * text2.C:
5267         * text3.C: two-phase drawing for InsetText and InsetTabular
5268         some float -> int changes.
5269
5270 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5271
5272         * lyx_main.C: fix the fix
5273
5274 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5275
5276         * lyx_main.C: fix a crash in batch mode if no files specified
5277         * converter.C: ws
5278
5279 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5280
5281         * format.[Ch] (papersize): moved to BufferParams
5282         * converter.[Ch] (dvips_options): moved to BufferParams
5283         (dvipdfm_options): moved to anon namespace
5284         * bufferparams.[Ch]: added above functions.
5285
5286 2003-07-17  André Pönitz  <poenitz@gmx.net>
5287
5288         * lyxtext.h:
5289         * rowpainter.C:
5290         * text2.C: don't call inset->update() anymore
5291
5292         * metricsinfo.[Ch]: add convenience constructor
5293
5294 2003-07-16  André Pönitz  <poenitz@gmx.net>
5295
5296         * lyxcursor.[Ch]:
5297         * lyxfunc.[Ch]:
5298         * text.C:
5299         * text2.C: replace the LyXCursor::irow_ member with
5300          on-demand computation of the value
5301
5302 2003-07-16  John Levon  <levon@movementarian.org>
5303
5304         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5305
5306 2003-07-15  André Pönitz  <poenitz@gmx.net>
5307
5308         * text.C:
5309         * text2.C: remove no more needed refresh_row
5310
5311 2003-07-15  André Pönitz  <poenitz@gmx.net>
5312
5313         * lyxtext.h:
5314         * rowpainter.C:
5315         * text2.C:
5316         * text3.C: refresh_status tristate -> need_update bool
5317
5318 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * lyxtext.h (init): remove reinit argument (act as if always true)
5321         * text2.C: adjust to that
5322
5323 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5324
5325         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5326         * text3.C: use it to delete selections in some cases
5327         (bugs 441, 673, 702, 954).
5328
5329 2003-07-14  André Pönitz  <poenitz@gmx.net>
5330
5331         * rowpainter.[Ch]: reduce interface
5332
5333 2003-07-14  André Pönitz  <poenitz@gmx.net>
5334
5335         * BufferView_pimpl.C:
5336         * text2.C: adjust after removing unused BufferView * argument
5337
5338 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5339
5340         * text2.C (init): fix a crash fired on resize
5341
5342 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5343
5344         * buffer.[Ch]: added new closing signal
5345         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5346         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5347         BufferView::Pimpl via the closing the signal
5348
5349 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5350
5351         * buffer.[Ch]: take out all bv-related from buffer
5352         * BufferView.C:
5353         * BufferView_pimpl.[Ch]: connect to new signals
5354         * CutAndPaste.C: removed useless asserts
5355         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5356         * lyxvc.[Ch]:
5357         * vc-backend.[Ch]:
5358         * lyxfunc.C: moved view-related funciontality from vc here
5359         * paragraph.C: removed outdated comments
5360         * text.C: ws
5361
5362 2003-07-10  André Pönitz  <poenitz@gmx.net>
5363
5364         * BufferView_pimpl.C:
5365         * tabular.h:
5366         * tabular_funcs.C:
5367         * text.C:
5368         * text2.C: remove InsetText::InnerCache, clean up consequences
5369
5370 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5371
5372         * ispell.C: fix two typos in error messages
5373
5374 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5375
5376         * Extend Note inset to other forms of annotation like Comment
5377         and Greyedout. Right button click gives dialog.
5378
5379         Files modified or added (+):
5380
5381         * insetnote.[Ch]
5382         * FormNote.[Ch]      +
5383         * ControlNote.[Ch]   +
5384         * form_note.fd       +
5385         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5386         frontends/controllers
5387         * xforms/Dialogs.C
5388         * factory.C
5389
5390 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5391
5392         * aspell.C: add missing namespace lyx::support
5393
5394 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5395
5396         * BufferView.[Ch] (newFile): Add
5397         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5398         * LaTeX.[Ch] (message): added this signal and use it
5399         * buffer.[Ch] (busy, message): added these signals and use them
5400         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5401         * converter.C:
5402         * exporter.C:
5403         * format.C:
5404         * importer.C: use buffer signals instead of direct bv calling
5405         * lyx_cb.[Ch] (ShowMessage): removed
5406         * lyx_main.C:
5407         * lyxfunc.C:
5408         * paragraph_funcs.C:
5409         * text2.C: use buffer signals
5410
5411 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * introduce namespace lyx::graphics
5414
5415 2003-07-02  André Pönitz  <poenitz@gmx.net>
5416
5417         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5418
5419 2003-07-01  André Pönitz  <poenitz@gmx.net>
5420
5421         * text.C:
5422         * text2.C:
5423         * text3.C:
5424         * text_funcs.[Ch]:
5425         * textcursor.h:
5426         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5427           text*.C to text_func.C
5428
5429 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * introduce namespace lyx::support
5432
5433 2003-06-30  André Pönitz  <poenitz@gmx.net>
5434
5435         * Chktex.C:
5436         * funcrequest.C:
5437         * lyxtext.h:
5438         * text.C: re-enable --with-included-string
5439
5440 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5441
5442         * textcursor.C: add <config.h>
5443
5444         * text.C (getWord): remove const from word_location arg
5445
5446         * lyxvc.C (getLogFile): fix const type order
5447
5448         * lyxtext.h: remove const from word_location arg, add arg name
5449
5450         * lyxlayout.h: currect type on labeltype.
5451
5452         * importer.C: correct \file
5453
5454         * converter.C (intToFormat): use std:: on ret val, ws changes
5455
5456         * bufferlist.h: correct \file
5457
5458         * buffer.C (makeLinuxDocFile): fix const type order
5459         (makeDocBookFile): ditto
5460         (fillWithBibKeys): use std:: on stdlib args.
5461
5462         * CutAndPaste.C: fix authors.
5463         (availableSelections): use std:: on return vector
5464
5465 2003-06-27  André Pönitz  <poenitz@gmx.net>
5466
5467         * BufferView_pimpl.C:
5468         * bufferview_funcs.C:
5469         * lyxcursor.C:
5470         * lyxcursor.h:
5471         * lyxfunc.C:
5472         * lyxtext.h:
5473         * rowpainter.C:
5474         * text.C:
5475         * text2.C:
5476         * text3.C: remove LyXCursor::row_ member
5477
5478         * lyxtext.h:
5479         * text.C: rename fullRebreak() to partialRebreak() and implement
5480           a fullRebreak() that really bereks fully
5481
5482         * textcursor.h: new struct for cursor-related data
5483
5484 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5485
5486         * lyx_main.C (LyX): get full path of document loaded on the
5487         command line
5488
5489 2003-06-26  André Pönitz  <poenitz@gmx.net>
5490
5491         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5492           remove unused/broken operator>,<,>=.
5493
5494         *       text.C: remove only use of broken operator<= in an Assert().
5495
5496 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5497
5498         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5499         moved errorlist_.clear to showErrorList
5500
5501 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5502
5503         * converter.C (scanLog, runLaTeX):
5504         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5505         move the bv->showErrorList call to the callers
5506         * lyxfunc.C: i.e. here...
5507         * text2.C: and here
5508         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5509         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5510         namespace, the second to...
5511         * buffer_funcs (BufferFormat, parseErrors): added
5512         * errorlist.C (ErrorList(TeXErrors const &)): removed
5513
5514 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5515
5516         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5517
5518 2003-06-24  "Garst R. Reese" <reese@isn.net>
5519
5520         * debug.C: fix typo
5521
5522 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5523
5524         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5525
5526         * version.C.in: change docversion to 1.4
5527
5528 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5529
5530         * buffer.C: fix a bug just introduced
5531
5532 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5533
5534         * buffer.[Ch]: added the parseError signal and use it, removed
5535         sgmlError
5536         * BufferView.[Ch] (addError): moved to ...
5537         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5538         to the Buffer::parseError signal to catch (guess what) parse errors
5539         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5540
5541 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5542
5543         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5544         ability to create a buffer and to return an existing one from
5545         the list. Moved these functions to...
5546         * buffer_funcs.[Ch]: added
5547         * BufferView.[Ch] (loadLyXFile): added
5548         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5549         job removed from bufferlist::loadLyXFile.
5550         * buffer.C (setReadOnly): make it work without view
5551         (i.e added an if (users))
5552
5553 2003-06-19  Angus Leeming  <leeming@lyx.org>
5554
5555         * lfuns.h:
5556         * LyXAction.C (init):
5557         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5558         with LFUN_DIALOG_SHOW <name> <data>.
5559
5560 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5561
5562         * CutAndPaste.C (availableSelections): small compilation fix for
5563         ancient (gcc 2.9x) compilers
5564
5565 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5566
5567         * text3.C (cursorNext): add tmp var
5568
5569         * text2.C (updateCounters): for function calling out of for clause
5570         (replaceSelectionWithString): ditto
5571         (insertStringAsParagraphs): ditto
5572         (getColumnNearX): add tmp var
5573         (setCursorFromCoordinates): add tmp var
5574         (cursorDownParagraph): add tmp var
5575         (deleteEmptyParagraphMechanism): add tmp var
5576
5577         * text.C (insertChar): add tmp var
5578
5579         * rowpainter.C (paintDepthBar): add tmp var
5580
5581         * CutAndPaste.C (availableSelections): potentially check all
5582         paragraphs in a cut to fill the shown strings.
5583
5584 2003-06-18  André Pönitz  <poenitz@gmx.net>
5585
5586         * kbmap.[Ch]: use vector<> instead of list<>
5587
5588 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5589
5590         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5591         pasteSelection with index
5592
5593         * text2.C (pasteSelection): modify, call pasteSelection with index
5594
5595         * paragraph.C (asString): reimplement version with no interval to
5596         call the one with interval.
5597
5598         * lyxtext.h: add index arg to pasteSelection
5599
5600         * MenuBackend.C (MenuItem): handle PasteRecent
5601         (Menu::read::Menutags): add md_pasterecent
5602         (read): handle it
5603         (expandPasteRecent): new function
5604         (expand): use it
5605
5606         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5607
5608         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5609         the limited stack
5610         (availableSelections): new function
5611
5612 2003-06-17  Angus Leeming  <leeming@lyx.org>
5613
5614         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5615
5616 2003-06-17  Angus Leeming  <leeming@lyx.org>
5617
5618         * lfuns.h:
5619         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5620
5621         * lyxfunc.C (dispatch): invoke it.
5622
5623 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5624
5625         * iterators.C (operator++, ParPosition): reintroduce some
5626         const_cast for the benefit of older compilers.
5627
5628 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5629
5630         * text3.C (dispatch): do not modify clipboard when doing
5631         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5632         LFUN_DELETE_SKIP on a selection selection
5633
5634 2003-06-16  André Pönitz  <poenitz@gmx.net>
5635
5636         * BufferView.C:
5637         * buffer.C:
5638         * buffer.h:
5639         * paragraph.C:
5640         * tabular.[Ch]: IU of clone() and getLabelList();
5641
5642 2003-06-13  André Pönitz  <poenitz@gmx.net>
5643
5644         * tabular.h: compactification
5645
5646 2003-06-12  André Pönitz  <poenitz@gmx.net>
5647
5648         * tabular.C:
5649         * tabular.h:
5650         * tabular_funcs.h: some renaming plus whitespace
5651
5652 2003-06-12  André Pönitz  <poenitz@gmx.net>
5653
5654         * BufferView.C:
5655         * BufferView_pimpl.C:
5656         * CutAndPaste.C:
5657         * buffer.C:
5658         * iterators.[Ch]:
5659         * lyxfunc.C:
5660         * text.C:
5661         * toc.C: Return a Paragraph & for ParIterator::operator*()
5662
5663 2003-06-11  John Levon  <levon@movementarian.org>
5664
5665         * lyx_main.C:
5666         * ToolbarBackend.h:
5667         * ToolbarBackend.C: add "Toolbars" section and
5668         put the flags there
5669
5670 2003-06-10  Angus Leeming  <leeming@lyx.org>
5671
5672         * lfuns.h:
5673         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5674
5675         * lyxfunc.C (dispatch): invoke it.
5676
5677 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * main.C: protect <ios> with HAVE_IOS
5680         (main): protect sync_with_stdio with HAVE_IOS
5681
5682 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5683
5684         * text2.C (cutSelection): adjust
5685         (pasteSelection): adjust
5686
5687         * messages.C: handle get of empty string
5688
5689         * main.C (main): use sync_with_stdio(false)
5690
5691         * lyxfunc.C (dispatch): adjust
5692
5693         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5694         (WriteAs): remove unneeded BufferView arg.
5695
5696         * bufferparams.h: use correct types on papersize, papersize2 and
5697         paperpackage.
5698
5699         * bufferparams.C (readToken): adjust for type
5700         (writeLaTeX): add missing cases to switch.
5701
5702         * bufferlist.C (quitWriteBuffer): adjust
5703         (close): adjust
5704
5705         * buffer.C (asciiParagraph): remove some commented code.
5706
5707         * CutAndPaste.C: remove current_view extern variable.
5708         (cutSelection): add BufferParams arg.
5709         (eraseSelection): add BufferParams arg.
5710         (pasteSelection): add Buffer const & arg
5711
5712 2003-06-07  John Levon  <levon@movementarian.org>
5713
5714         * buffer.C:
5715         * paragraph_funcs.C:
5716         * paragraph_pimpl.C:
5717         * text.C:
5718         * text2.C:
5719         * paragraph.h:
5720         * paragraph.C: allow InsetERT to freely space lines,
5721         and some consolidation of code
5722
5723 2003-06-06  José Matos  <jamatos@fep.up.pt>
5724
5725         * buffer.C (makeDocBookFile): fix bug #821
5726
5727 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5728
5729         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5730
5731 2003-06-04  Angus Leeming  <leeming@lyx.org>
5732
5733         * buffer.C: bump format to 224.
5734
5735 2003-06-05  André Pönitz  <poenitz@gmx.net>
5736
5737         * text2.C (redoParagraphs): remove two const_cast<>
5738
5739 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5740
5741         * ParagraphList.h: remove last remnants of NO_STD_LIST
5742
5743 2003-06-03  Angus Leeming  <leeming@lyx.org>
5744
5745         * factory.C (createInset): small change to the way InsetExternal's params
5746         are set.
5747
5748 2003-06-04  André Pönitz  <poenitz@gmx.net>
5749
5750         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5751
5752         * paragraph_pimpl.h:
5753         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5754
5755         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5756
5757         * undo_funcs.C: make some simple cases of undo work again
5758
5759 2003-06-03  John Levon  <levon@movementarian.org>
5760
5761         * ispell.C: HPUX doesn't have sys/select.h
5762         (from Albert Chin)
5763
5764 2003-06-03  John Levon  <levon@movementarian.org>
5765
5766         * CutAndPaste.C: update tabular and include inset
5767         buffer references
5768
5769         * buffer.h:
5770         * paragraph.h:
5771         * paragraph.C: remove owningBuffer(), don't pass Buffer
5772         to clone()
5773
5774         * factory.C: insetGraphicsParams changed
5775
5776 2003-06-02  John Levon  <levon@movementarian.org>
5777
5778         * LyXAction.C:
5779         * factory.C:
5780         * lfuns.h:
5781         * lyxfunc.C:
5782         * text3.C: remove insetparent
5783
5784 2003-06-02  John Levon  <levon@movementarian.org>
5785
5786         * buffer.h:
5787         * buffer.C: fix inset_iterator.end(), move out of line
5788         (bug 1149)
5789
5790 2003-06-01  John Levon  <levon@movementarian.org>
5791
5792         * text3.C: use a proper cut/paste when doing inset
5793         insert (from Jürgen Spitzmüller)
5794
5795 2003-06-01  John Levon  <levon@movementarian.org>
5796
5797         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5798
5799 2003-05-30  André Pönitz  <poenitz@gmx.net>
5800
5801         * rowpainter.C: unify second drawing phase
5802
5803 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * trans_mgr.C: remove one case of current_view
5806
5807         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5808
5809         * paragraph_funcs.h: remove paragraph.h include
5810
5811         * paragraph.h: delete NO_STD_LIST stuff
5812
5813         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5814
5815         * buffer.h: remove paragraph.h include
5816
5817         * ParagraphList.C: delete file
5818
5819         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5820
5821         * toc.C (getTocList): adjust
5822
5823         * paragraph_pimpl.C (validate): adjust
5824
5825         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5826
5827         * paragraph.C (Paragraph): adjust
5828         (getPositionOfInset): use const_iterator, adjust
5829         (bibitem): use const_iterator, adjust
5830         (setInsetOwner): adjust
5831
5832         * iterators.C (operator++): adjust
5833
5834         * InsetList.[Ch]: Replace selfmade iterator with standard
5835         vector::iterator also introduce const_iterator. Remove getPos,
5836         getInset and setInset from InsetTable. Adjust accordingly.
5837
5838         * BufferView.C (lockInset): adjust
5839         (ChangeInsets): adjust
5840
5841         * tabular.[Ch]: delete commented same_id functions
5842
5843 2003-05-28  John Levon  <levon@movementarian.org>
5844
5845         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5846
5847 2003-05-28  André Pönitz  <poenitz@gmx.net>
5848
5849         * metricsinfo.[Ch]: remove 'fullredraw' member
5850
5851 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5852
5853         * lyxtextclass.C (operator): remove caching.
5854
5855 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5856
5857         * text3.C: adjust
5858
5859         * text2.C (cursorBottom): adjust
5860         (setCounter): use ParagraphList::find, adjust
5861
5862         * text.C (workWidth): use ParagraphList::find, adjust
5863
5864         * lyxcursor.C (LyXCursor): adjust
5865
5866         * buffer.C (inset_iterator): adjust
5867
5868         * ParagraphList.h: make iterator(value_type) private, make
5869         ParagraphList a friend of iterator.
5870
5871         * ParagraphList.C (find): new function
5872
5873         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5874
5875 2003-05-27  André Pönitz  <poenitz@gmx.net>
5876
5877         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5878
5879 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5880
5881         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5882
5883 2003-05-26  John Levon  <levon@movementarian.org>
5884
5885         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5886
5887 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * remove same_id from function signatures, adjust.
5890
5891 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5892
5893         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5894
5895         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5896
5897         * paragraph.C (Paragraph): get rid of same_ids parameter
5898
5899         * ParagraphList.C (insert): adjust
5900         (push_back): adjust
5901
5902 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * paragraph_funcs.C (breakParagraph): adjust
5905         (breakParagraphConservative): adjust
5906
5907         * buffer.C (readParagraph): adjust
5908
5909         * ParagraphList.C (insert): take a reference instead of a pointer
5910         (insert): adjust
5911
5912         * paragraph.[Ch] (id): new function
5913
5914         * bufferlist.C (newFile): adjust
5915
5916         * ParagraphList.C (ParagraphList): adjust
5917         (assign): adjust
5918         (push_back): take a reference instead of a pointer.
5919
5920         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5921
5922         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5923         instead.
5924
5925         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5926         set else use old code.
5927
5928         * ParagraphList.C: remove all NO_NEXT code and only compile this
5929         code of NO_STD_LIST is set.
5930
5931 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5932
5933         * BufferView_pimpl.C:
5934         * TextCache.C:
5935         * TextCache.h:
5936         * bufferlist.C:
5937         * errorlist.h:
5938         * format.C:
5939         * format.h:
5940         * graph.C:
5941         * lyxfunc.C:
5942         * lyxrc.C:
5943         * graphics/GraphicsConverter.C:
5944         * graphics/PreviewLoader.C: header adjustment
5945
5946 2003-05-23  Angus Leeming  <leeming@lyx.org>
5947
5948         * LaTeXFeatures.[Ch] (useBabel): new method.
5949         * bufferparams.C (writeLaTeX): use it.
5950
5951 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * ParagraphList.h (set): remove unused function.
5954
5955 2003-05-23  André Pönitz  <poenitz@gmx.net>
5956
5957         * BufferView.C:
5958         * BufferView_pimpl.C:
5959         * buffer.C:
5960         * buffer.h:
5961         * lyxfunc.C:
5962         * undo_funcs.C: setUndo reworked
5963
5964         * iterators.[Ch]: add access to topmost ParagraphList
5965
5966         * lyxtext.[Ch] (workWidth): add a const
5967
5968 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5969
5970         * texrow.[Ch] (increasePos): remove function
5971         * exporter.C (export): removed unused var and outdated comment
5972
5973 2003-05-23  Angus Leeming  <leeming@lyx.org>
5974
5975         * latexrunparams.h: rename fragile as moving_arg.
5976         * paragraph.C (simpleTeXOnePar): ditto.
5977         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5978
5979 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5982         (createUndo): ditto
5983         (textUndoOrRedo): comment out a currently unused var.
5984
5985         * paragraph.h (NO_NEXT): enable NO_NEXT
5986
5987         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5988
5989         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5990
5991         * exporter.C (Export): adjust for removeAutoInsets removal.
5992
5993         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5994
5995         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5996
5997         * BufferView.[Ch] (removeAutoInsets): delete function
5998
5999 2003-05-22  Angus Leeming  <leeming@lyx.org>
6000
6001         * latexrunparams.h: add a free_spacing variable.
6002
6003         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6004         to pass moving_arg, as the data is stored in runparams.fragile.
6005
6006         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6007         to Inset::latexOptional or to simpleTeXOnePar.
6008
6009         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6010         free_spacing arg to Inset::latexOptional.
6011
6012         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6013         free_spacing arg.
6014
6015 2003-05-22  Angus Leeming  <leeming@lyx.org>
6016
6017         * latexrunparams.h: add fragile and use_babel variables.
6018
6019         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6020         * buffer.C (makeLaTeXFile): store this returned value in
6021         runparams.use_babel, thus passing it to the inset::latex methods.
6022
6023         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6024         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6025
6026         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6027         longer has a fragile arg, as it is stored in runparams.fragile.
6028
6029         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6030         moving_arg parameter as the data is stored in runparams.fragile.
6031
6032         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6033         a fragile parameter as the data is stored in runparams.fragile.
6034
6035 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6038
6039 2003-05-22  Angus Leeming  <leeming@lyx.org>
6040
6041         * latexrunparams.h: add a 'bool nice' which defaults to false.
6042
6043         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6044         now encapsulated within runparams.
6045
6046         * bufferlist.C (updateIncludedTeXfiles):
6047         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6048
6049 2003-05-22  Angus Leeming  <leeming@lyx.org>
6050
6051         * latexrunparams.h: new file containing struct LatexRunParams.
6052         * Makefile.am: add new file.
6053
6054         * LaTeX.[Ch] (c-tor, run):
6055         * buffer.[Ch] (makeLaTeXFile):
6056         * bufferlist.[Ch] (updateIncludedTeXfiles):
6057         * converter.C (convert, scanLog):
6058         * converter.[Ch] (runLaTeX):
6059         * exporter.C (Export):
6060         * paragraph.[Ch] (simpleTeXOnePar):
6061         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6062         * paragraph_funcs.[Ch] (latexParagraphs):
6063         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6064         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6065         pass around a LatexRunParams parameter.
6066
6067 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * paragraph.[Ch]: remove unused constructor
6070
6071         * ParagraphList.C (erase): new function, taking two iterators
6072
6073 2003-05-22  André Pönitz  <poenitz@gmx.net>
6074
6075         * undo_funcs.C: remove duplicated code
6076
6077         * iterator.[Ch]: operator=
6078
6079 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6080
6081         * tabular.C (SetMultiColumn): ws changes
6082
6083         * rowpainter.C (paintFirst): get rid of a ->previous
6084
6085         * lyx_cb.C (getPossibleLabel): parlist simplification
6086
6087         * BufferView.C (ChangeInsets): simplify slightly.
6088
6089 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6090
6091         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6092         * lfuns.h: new LFUN_SPACE
6093         * lyxfunc.C: protected space has a new lfun
6094         * paragraph_funcs.C: read new space insets
6095         * text3.C:
6096         * factory.C: handle new space insets
6097
6098 2003-05-22  André Pönitz  <poenitz@gmx.net>
6099
6100         * BufferView.C:
6101         * BufferView_pimpl.C:
6102         * buffer.[Ch]:
6103         * lyxfunc.C:
6104         * undo_funcs.C: return a ParIterator from getParFromID.
6105
6106         * iterators.[Ch]: add two const's
6107
6108 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * toc.C (getTocList): adjust
6111
6112         * iterators.[Ch]: rework for parlist
6113
6114         * buffer.C (par_iterator_begin): adjust
6115         (par_iterator_end): adjust
6116
6117         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6118
6119         * BufferView.C (removeAutoInsets): adjust
6120         (ChangeInsets): adjust
6121
6122 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6123
6124         * text.C (top_y): fix bug 1110
6125
6126 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6127
6128         * errorlist.[Ch]: added
6129         * buffer.C:
6130         * BufferView.[Ch]:
6131         * BufferView_pimpl.C:
6132         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6133         instead
6134
6135 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * Makefile.am: ensure that lyx is relinked upon changes to the
6138         various "convenience" libs.
6139
6140 2003-05-20  Angus Leeming  <leeming@lyx.org>
6141
6142         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6143         files are compiled in alphabetical order again.
6144
6145         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6146
6147 2003-05-19  Angus Leeming  <leeming@lyx.org>
6148
6149         * gettext.[Ch]: remove "char const * _(char const *)".
6150
6151 2003-05-19  André Pönitz  <poenitz@gmx.net>
6152
6153         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6154
6155         * Makefile.am:
6156         * BufferView.C:
6157         * DepTable.h:
6158         * LaTeXFeatures.C:
6159         * buffer.C:
6160         * lyxfont.C:
6161         * lyxlex.h:
6162         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6163
6164 2003-05-19  André Pönitz  <poenitz@gmx.net>
6165
6166         * buffer.C:
6167         * lyxlayout.[Ch]:
6168         * lyxtextclass.[Ch]:
6169         * paragraph.C:
6170         * paragraph_funcs.[Ch]:
6171         * text2.C:
6172         * text3.C: more insetenv work
6173
6174 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6175
6176         * ParagraphParameters.C (params2string): small bug fixed
6177
6178 2003-05-16  André Pönitz  <poenitz@gmx.net>
6179
6180         * debug.C:
6181         * bufferview_funcs.C: patch from Kornel Benko to prevent
6182           crash when _(...) is called twice in a statement
6183
6184 2003-05-16  André Pönitz  <poenitz@gmx.net>
6185
6186         * BufferView.C:
6187         * lyxfunc.C:
6188         * text.C:
6189         * text2.C:
6190         * text3.C:
6191         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6192
6193 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6194
6195         * lyx_main.C (init): remove spurious static_cast
6196
6197 2003-05-14  André Pönitz  <poenitz@gmx.net>
6198
6199         * BufferView.C: fix format string
6200
6201 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6202
6203         * BufferView.[Ch] (insertErrors): removed
6204         * BufferView.[Ch] (showErrorList): added
6205         * buffer.C (runChkTeX):
6206         * converter.C (scanLog): call showErrorList instead of inserterrors
6207
6208 2003-05-13  André Pönitz  <poenitz@gmx.net>
6209
6210         * BufferView_pimpl.C:
6211         * buffer.C:
6212         * bufferview_func.C:
6213         * MenuBackend.C:
6214         * lyxfunc.C:
6215         * lyxrc.C:
6216         * tex-accent.C:
6217         * text3.C:
6218         * toc.C:
6219         * tabular_funcs.h: tostr() from its own header
6220
6221         * ParagraphParameters.C:
6222         * ToolbarBackend.C:
6223         * bufferparams.C:
6224         * format.C:
6225         * lyxlex_pimpl.C:
6226         * text3.C: STRCONV()
6227
6228 2003-05-12  André Pönitz  <poenitz@gmx.net>
6229
6230         * BufferView.C:
6231         * BufferView_pimpl.C:
6232         * CutAndPaste.C:
6233         * LaTeX.C:
6234         * LaTeXFeatures.C:
6235         * ParagraphParameters.C:
6236         * buffer.C:
6237         * bufferlist.C:
6238         * bufferparams.C:
6239         * bufferview_funcs.C:
6240         * converter.C:
6241         * counters.C:
6242         * debug.C:
6243         * exporter.C:
6244         * format.C:
6245         * importer.C:
6246         * lyx_cb.C:
6247         * lyx_main.C:
6248         * lyxfont.C:
6249         * lyxfunc.C:
6250         * lyxvc.C:
6251         * paragraph.C:
6252         * paragraph_funcs.C:
6253         * tabular.C:
6254         * tabular_funcs.C:
6255         * text2.C:
6256         * text3.C:  boost::format -> bformat  all over the place
6257
6258
6259 2003-05-09  André Pönitz  <poenitz@gmx.net>
6260
6261         * LColor.[Ch]: Pimpl the #include <map> away
6262
6263 2003-05-09  John Levon  <levon@movementarian.org>
6264
6265         * bufferlist.C: never remove emergency saves
6266
6267 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * Makefile.am: better lib building
6270
6271 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6274         instead.
6275         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6276         (simpleTeXSpecialChars): adjust
6277         (simpleTeXSpecialChars): adjust
6278         * paragraph.C (simpleTeXOnePar): adjust
6279         * buffer.C (makeLaTeXFile): adjust
6280
6281         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6282
6283         * text2.C (changeDepth): parlist cleanup
6284         (getColumnNearX): ditto
6285
6286         * rowpainter.C (getLabelFont): parlist cleanup
6287
6288         * bufferlist.C (newFile): parlist cleanup
6289
6290         * CutAndPaste.C (eraseSelection): parlist cleanup
6291
6292         * BufferView_pimpl.C (trackChanges): parlist cleanup
6293         (dispatch): ditto
6294
6295         * BufferView.C (lockInset): parlist cleanup.
6296         (ChangeInsets): ditto
6297
6298 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * CutAndPaste.h: Update file header.
6301
6302         * CutAndPaste.C: Update file header.
6303         Store the parts cut out of the Document in a limited_stack.
6304         (copySelection): adjust
6305         (pasteSelection): new function, takes the index in the limited stack.
6306         (nrOfParagraphs): adjust
6307         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6308         simplify error inset insertion.
6309         (checkPastePossible): adjust
6310
6311 2003-05-06  John Levon  <levon@movementarian.org>
6312
6313         * text2.C: don't cast wrap inset to float
6314
6315 2003-05-05  André Pönitz  <poenitz@gmx.net>
6316
6317         * iterator.C:
6318         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6319
6320         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6321           few naked Paragraph *.
6322
6323 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6324
6325         * bufferparams.C: Output warning if a document with missing
6326         TeX document class is loaded
6327         * exporter.C: Disable TeX exports if the document class is missing
6328         * lyxtextclass.C:
6329         * lyxtextclass.h:
6330         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6331         isTeXClassAvailable()
6332
6333 2003-05-03  John Levon  <levon@movementarian.org>
6334
6335         * BufferView.h:
6336         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6337         explicit cursor show/hide
6338
6339         * BufferView_pimpl.h:
6340         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6341         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6342
6343         * lyxfunc.C: hide cursor before dispatching.
6344
6345         * lyx_cb.C:
6346         * lyxfind.C:
6347         * text.C:
6348         * text3.C: remove explicit cursor hides
6349
6350 2003-05-02  André Pönitz  <poenitz@gmx.net>
6351
6352         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6353
6354         * undo_funcs.C:
6355         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6356           linked lists
6357
6358         * text2.C: tiny whitespace
6359
6360 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * undo_funcs.C: almost only ws changes.
6363
6364         * ParagraphList.C (splice): just return if pl is empty.
6365
6366 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6367
6368         * ParagraphList.C (splice): new function.
6369
6370         * CutAndPaste.C (pasteSelection): use it
6371
6372 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * CutAndPaste.C (pasteSelection): remove the last next and
6375         previous from this file.
6376
6377 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6378
6379         * CutAndPaste.C (pasteSelection): more clean up, user proper
6380         ParagraphList functions for pasteing.
6381
6382         * ParagraphList.C (insert): new function, three arg insert
6383
6384 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * ParagraphList.C (insert): new function, three arg insert
6387
6388         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6389         not on paragraphs.
6390
6391 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6394
6395 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6398
6399 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6402         (copySelection): clean up a bit.
6403         (pasteSelection): use make_pair
6404
6405         * ParagraphList.C (ParagraphList): implement copy constructor
6406         (operator=): implement, base on copy constructor.
6407         (assign): new func
6408
6409         * paragraph.C (erase): return a bool
6410
6411         * paragraph_pimpl.C (erasePos): remove function, move contents...
6412         (erase): ... here. Return a bool.
6413         (erase): call erase instead of erasePos.
6414
6415 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6416
6417         * ParagraphList.h: define PitPosPair
6418         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6419         ParagraphList, fix a bug on pasting multiple pars
6420         * text2.C: change interface to C&P
6421
6422 2003-04-30  André Pönitz  <poenitz@gmx.net>
6423
6424         * undo_func.C: revert part of yesterday's patch 2
6425
6426 2003-04-30  John Levon  <levon@movementarian.org>
6427
6428         * LColor.C: s/tabular/table/
6429
6430 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * text3.C (dispatch): do not convert iterator -> pointer
6433         * undo_funcs.C (setCursorParUndo): ditto
6434         * text_funcs.C (transposeChars): ditto
6435
6436         * text2.C (setLayout): ws changes only
6437
6438         * text.C (breakParagraph): do not convert iterator -> pointer
6439         (insertChar): ditto
6440         (acceptChange): ditto
6441         (rejectChange): ditto
6442         (changeCase): ditto
6443         (Delete): ditto
6444         (backspace): ditto
6445
6446         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6447         pointer
6448
6449 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * text3.C (gotoInset): YABG (yet another bad getChar)
6452
6453 2003-04-29  André Pönitz  <poenitz@gmx.net>
6454
6455         * paragraph.h: make operator= private unimplemented as long as
6456           it is unusable
6457
6458         * ParagraphList.C: whitespace
6459
6460         * paragraph.[Ch]:
6461         * paragraph_pimpl.[Ch]:
6462         * paragraph_funcs.C:
6463         * CutAndPaste.C:
6464         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6465
6466         * text2.C:
6467           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6468
6469 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6470
6471         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6472         * paragraph.[Ch] (erase):
6473         * paragraph_pimpl.[Ch] (erase): change return type and value
6474         * text2.C (cutSelection): some rework
6475
6476 2003-04-28  John Levon  <levon@movementarian.org>
6477
6478         * bufferlist.C: changes for unsaved changes dialog
6479
6480 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * bufferlist.C (newFile): set language (messages_) for new
6483         documents also.
6484
6485         * buffer.C (readFile): ws changes only.
6486
6487 2003-04-28  André Pönitz  <poenitz@gmx.net>
6488
6489         * undo_funcs.C:
6490         * lyxfunc.C:
6491         * buffer.[Ch]:
6492         * BufferView_pimpl.C:
6493         * BufferView.C: getParFromID related ParagraphList::iterator changes
6494
6495 2003-04-28  André Pönitz  <poenitz@gmx.net>
6496
6497         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6498           Changes
6499
6500 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6501
6502         * messages.C: remove one more localedir class variable.
6503
6504 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * messages.C (getLocaleDir): singleton generation function
6507         (Pimpl): use it.
6508         (Messages): add a default constructor.
6509
6510         * main.C (main): do not setup localedir here, do not call
6511         gettext_init.
6512
6513         * gettext.C (_): use it.
6514         (gettext_init): delete funciton
6515
6516 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * gettext.C (getLyXMessages): new singleton generating function.
6519
6520         * buffer.C (updateDocLang): adjust
6521
6522         * Makefile.am (messages.o): add target
6523         (main.o): remove target
6524
6525 2003-04-27  John Levon  <levon@movementarian.org>
6526
6527         * bufferlist.C:
6528         * lyx_cb.C:
6529         * lyxfunc.C:
6530         * lyxvc.C: specify cancel button in Alert::prompt
6531
6532 2003-04-26  John Levon  <levon@movementarian.org>
6533
6534         * text3.C:
6535         * lyxfunc.C:
6536         * lfuns.h:
6537         * LyXAction.C: add LFUN_INSET_SETTINGS
6538
6539         * lyxfunc.C: don't enable tabular-feature when there's
6540         just any locking inset
6541
6542 2003-04-26  John Levon  <levon@movementarian.org>
6543
6544         * bufferlist.C: re-add Cancel to buffer close question
6545
6546         * lyxfunc.C: fix import UI a bit
6547
6548 2003-04-25  John Levon  <levon@movementarian.org>
6549
6550         * gettext.C: remove the broken asserts for now
6551
6552 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * messages.C: make case where setlocale cannot comply work better.
6555
6556         * buffer.C (updateDocLang): new function
6557         (changeLanguage): use it
6558         (readFile): use it
6559
6560         * text2.C (setCounter): use B_ a bit.
6561
6562         * lyxlayout.C (Read): be sure to trim the label strings.
6563
6564         * messages.C (Messages): fix typo in comment
6565
6566         * buffer.C (readFile): set message_ after file is loaded.
6567         (makeDocBookFile): remove double return
6568         (changeLanguage): reset message_ upon language change.
6569         (B_): new func, use this to get translated buffer strings.
6570
6571         * main.C: add myself and Jean Marc as authors.
6572
6573 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * messages.[hC]: pimplify Messages, and three different pimpls to be
6576         used in different circumstances.
6577
6578         * gettext.[Ch]: change for use with new message code.
6579
6580 2003-04-24 André Pönitz <poenitz@gmx.net>
6581
6582         * factory.C: support for eqref
6583
6584 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * messages.[Ch]: add missing char
6587
6588         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6589
6590         * messages.[Ch]: New files
6591
6592 2003-04-18  John Levon  <levon@movementarian.org>
6593
6594         * BufferView.h:
6595         * BufferView.C:
6596         * BufferView_pimpl.C:
6597         * lfuns.h:
6598         * LyXAction.C:
6599         * lyxtext.h:
6600         * text2.C: remove layout-copy/paste (bug 778)
6601
6602 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6603
6604         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6605
6606 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6609         if they succeed. Act accordingly.
6610
6611 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6612
6613         * text2.C (setCharFont): adjust
6614         (setCounter): adjust
6615         (insertStringAsLines): adjust
6616
6617         * text.C (leftMargin): adjust
6618         (setHeightOfRow): adjust
6619
6620         * rowpainter.C (paintFirst): adjust
6621         (paintLast): adjust
6622
6623         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6624         (outerHook): ditto
6625         (isFirstInSequence): ditto
6626         (getEndLabel): ditto
6627         (outerFont): adjust
6628
6629         * paragraph.C (getParLanguage): comment out some hard stuff.
6630
6631         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6632         (sgmlError): ditto
6633         (simpleDocBookOnePar): ditto
6634         (makeDocBookFile): use ParagraphList::iterator
6635
6636         * CutAndPaste.C (pasteSelection): adjust
6637
6638 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6639
6640         * text2.C (getFont): adjust
6641         (getLayoutFont): adjust
6642         (getLabelFont): adjust
6643
6644         * paragraph_funcs.C (TeXOnePar): adjust
6645
6646         * buffer.C (simpleLinuxDocOnePar): adjust
6647         (simpleDocBookOnePar): adjust
6648
6649         * CutAndPaste.C (pasteSelection): adjust
6650
6651         * BufferView.C (getEncoding): adjust
6652
6653         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6654
6655 2003-04-16  John Levon  <levon@movementarian.org>
6656
6657         * lyxfind.C: use parlist stuff for search/changes
6658
6659 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6662
6663         * text2.C (deleteEmptyParagraphMechanism): adjust
6664
6665         * text2.[Ch] (ownerParagraph): delete func (both of them
6666
6667 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6668
6669         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6670
6671 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * ParagraphList.C: prepare for NO_NEXT
6674
6675 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6676
6677         * text2.C (getFont): adjust
6678         (getLayoutFont): adjust
6679         (getLabelFont): adjust
6680
6681         * paragraph.C (getFont): adjust
6682         (getLabelFont): adjust
6683         (getLayoutFont): adjust
6684
6685         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6686
6687 2003-04-15  John Levon  <levon@movementarian.org>
6688
6689         From Angus Leeming
6690
6691         * lyx_main.C: handle Include in .ui files
6692
6693 2003-04-15  John Levon  <levon@movementarian.org>
6694
6695         * MenuBackend.C: make the doc files length shorter
6696
6697         * ToolbarBackend.h:
6698         * ToolbarBackend.C: handle toolbar placement flags,
6699         Minibuffer
6700
6701 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6702
6703         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6704         adjust
6705
6706         * paragraph_funcs.C (TeXOnePar): adjust
6707
6708         * paragraph.C (getLabelFont): add outerfont arg, adjust
6709         (getLayoutFont): ditto
6710         (simpleTeXOnePar): adjust
6711
6712         * paragraph_pimpl.C (realizeFont): delete func
6713
6714 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6715
6716         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6717         row argument, constify cur argument.
6718
6719 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * text2.C (getFont): adjust
6722         (getLayoutFont): adjust
6723         (getLabelFont): adjust
6724
6725         * paragraph_funcs.C (TeXOnePar): adjust
6726         (outerFont): new func...
6727         (realizeFont): ...moved out from here, changed this to facilitate
6728         transition
6729
6730         * paragraph.C (getFont): take outerfont as arg, adjust
6731         (simpleTeXOnePar): add outerfont arg, adjust
6732
6733         * buffer.C (simpleLinuxDocOnePar): adjust
6734         (simpleDocBookOnePar): adjust
6735
6736         * CutAndPaste.C (pasteSelection): adjust
6737
6738         * BufferView.C (getEncoding): adjust
6739
6740 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * text2.C (setCharFont): adjust
6743         (setCounter): adjust
6744
6745         * text.C (leftMargin): adjust
6746         (setHeightOfRow): adjust
6747
6748         * rowpainter.C (paintFirst): adjust
6749         (paintLast): adjust
6750
6751         * paragraph_pimpl.C (realizeFont): adjust
6752
6753         * paragraph.C (isFirstInSequence): move from here...
6754         * paragraph_funcs.C (isFirstInSequence): ...to here
6755
6756         * paragraph.C (outerHook): move from here...
6757         * paragraph_funcs.C (outerHook): ...to here
6758
6759         * paragraph.C (depthHook): move from here...
6760         * paragraph_funcs.C (depthHook): ...to here
6761
6762         * paragraph.C (getEndLabel): move from here...
6763         * paragraph_funcs.C (getEndLabel): ...to here
6764
6765         * text2.C (realizeFont): move from here...
6766         * paragraph_funcs.C (realizeFont): ...to here
6767
6768 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6769
6770         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6771
6772 2003-04-14  Angus Leeming  <leeming@lyx.org>
6773
6774         * LColor.[Ch]: scrap LColor mathcursor.
6775
6776 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * lyxlex.[Ch] (text): delete function
6779         * trans.C (Load): adjust
6780         * paragraph_funcs.C (readParToken): adjust
6781
6782 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6785         vector<char> instead of a char[].
6786
6787         * lyxlex_pimpl.C (getString): adjust
6788         (next): adjust
6789         (lex): use getString
6790         (eatLine): adjust
6791         (nextToken): adjust
6792
6793         * lyxlex.C (text): use pimpl_->getString()
6794         (getBool): ditto
6795         (findToken): ditto
6796
6797 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6800         (makeFontEntriesLayoutSpecific): temp var for par.size()
6801         (setLayout): temp var for ownerParagraphs().end()
6802         (fullRebreak): temp var for rows().end()
6803         (selectionAsString): temp var for boost::next(startpit), realize
6804         that the while really is a regular for loop.
6805         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6806         setCursor in one place.
6807         (setParagraph): temp vr for ownerParagraphs().end()
6808         (updateCounters): make the while loop a for loop
6809         (cutSelection): temp var for ownerParagraphs().end()
6810         (updateInset): make the do {} while() a regular for loop
6811         (getCursorX): use temp vars
6812         (setCurrentFont): use temp vars
6813         (getColumnNearX): use temp vars
6814
6815 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6816
6817         * text.C (transformChar): use temp var for getChar
6818         (computeBidiTables): use temp var for row->par()
6819         (fill): move temp vars for row->par() and pit->layout() earlier in
6820         the function.
6821         (labelFill): use temp var for row->par()
6822         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6823         asc and desc, realize that pit never changes and that firstpit is
6824         just a duplicate and not needed. Exchange rit->par() with pit in a
6825         lot of places.
6826         (breakAgain): use a temp var for boost::next(rit)
6827         (breakAgainOneRow): ditto
6828         (breakParagraph): use a temp var for rows().begin()
6829         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6830         (cursorRightOneWord): use temp var for cursor.par() and
6831         cursor.pos(), remove usage of tmpcursor.
6832         (cursorLeftOneWord): use temp var for cursor.par() and
6833         cursor.pos() only set cur at end of function.
6834
6835 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * text.C, text2.C: exchange all usage of Paragraph::next with
6838         boost::next(ParagraphList::iterator)
6839
6840         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6841
6842         * text2.C (cursorTop): simplify implementation
6843         (cursorBottom): ditto
6844         (setParagraph): use ParagraphList::iterator
6845         (setCurrentFont): adjust
6846         (getColumnNearX): adjust
6847         (cursorRight): adjust
6848         (cursorLeft): remove usage of Paragraph::previous
6849         (cursorUpParagraph): ditto
6850         (deleteEmptyParagraphMechanism): slight cleanup
6851
6852         * text.C (isBoundary): take a Paragraph const & instead of a
6853         pointer as arg.
6854         (addressBreakPoint): ditto
6855         (leftMargin): remove usage of Paragraph::previous.
6856         (setHeightOfRow): ditto
6857         (cursorLeftOneWord): ditto
6858         (selectNextWordToSpellcheck): ditto
6859         (Delete): ditto
6860         (backspace): ditto
6861         (breakParagraph): remove one usage of Paragraph::next
6862         (redoParagraph): ditto
6863         (acceptChange): ditto
6864         (insertChar): adjust
6865         (rowBreakPoint): adjust
6866
6867         * bufferview_funcs.C (toggleAndShow): adjust
6868
6869 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6870
6871         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6872         methods to access it.
6873         * lyxtext.h:
6874         * text.C: Added updateRowPositions to compute all row positions.
6875         Make top_y and getRowNearY() to use the cached y position
6876
6877 2003-04-11  John Levon  <levon@movementarian.org>
6878
6879         * text.C (rowBreakPoint): reintroduce the labelEnd
6880         checks, code copied from the row fill stuff. Deep voodoo.
6881
6882         * text.C (fill): add a comment and debugging for the
6883         next poor soul.
6884
6885 2003-04-11  John Levon  <levon@movementarian.org>
6886
6887         * text.C: make sure fullrow insets get wrapped to the next line,
6888         even when they're in a manual label
6889
6890 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6891
6892         * text2.C (insertParagraph): make it take ParagraphList::iterator
6893         as arg.
6894         (setLayout): make it return ParagraphList::iterator
6895         (redoParagraphs): ditto
6896         (setCounter): ditto
6897         (checkParagraph): ditto
6898
6899         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6900
6901         * text2.C: adjust several funcs.
6902         (realizeFont): take a ParagraphList::iterator as arg.
6903         (getLayoutFont): ditto
6904         (getLabelFont): ditto
6905         (setCharFont): ditto
6906
6907         * text.C: adjust several funcs.
6908
6909 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6910
6911         * text.C (selectNextWordToSpellcheck): don't accidentally
6912         skip insets
6913
6914 2003-04-10  John Levon  <levon@movementarian.org>
6915
6916         * ToolbarBackend.C (getIcon): special handling for
6917         LFUN_MATH_DELIM
6918
6919 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * text2.C (cursorRight): a getChar assert fixed
6922
6923 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * text2.C (getFont): change to take a ParagraphList::iterator
6926         instead of Paragraph*
6927         Adjust several functions.
6928
6929         * text.C (transformChar): change to take a ParagraphList::iterator
6930         instead of Paragraph*
6931         (singleWidth): ditto
6932         Adjust several functions.
6933
6934         * rowpainter.C: adjust several functions
6935         * rowpainter.h:store a ParagraphList::iterator and not a
6936         Paragraph&.
6937
6938
6939 2003-04-09  John Levon  <levon@movementarian.org>
6940
6941         * lyxfunc.C:
6942         * lfuns.h:
6943         * LyXAction.h:
6944         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6945         and the "help" bits as well
6946
6947 2003-04-09  John Levon  <levon@movementarian.org>
6948
6949         * ToolbarBackend.h:
6950         * ToolbarBackend.C: allow multiple toolbars
6951
6952 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * undo_funcs.C (setCursorParUndo): adjust
6955
6956         * text_funcs.C (transposeChars): adjust
6957
6958         * text3.C (gotoNextInset): adjust
6959         (dispatch): adjust
6960
6961         * text2.C (setLayout): adjust
6962         (changeDepth): adjust
6963         (setFont): adjust
6964         (redoParagraphs): adjust
6965         (selectionAsString): adjust
6966         (setParagraph): adjust
6967         (insertInset): adjust
6968         (cutSelection): adjust
6969         (copySelection): adjust
6970         (pasteSelection): adjust
6971         (insertStringAsLines): adjust
6972         (updateInset): adjust
6973         (setCursor): change to take a ParagraphList::iterator parameter
6974         (setCursorIntern): change to take a ParagraphList::iterator parameter
6975         (setCurrentFont): adjust
6976         (cursorLeft): adjust
6977         (cursorRight): adjust
6978         (deleteEmptyParagraphMechanism): adjust
6979
6980         * text.C (breakParagraph): adjust
6981         (insertChar): adjust
6982         (acceptChange): adjust
6983         (rejectChange): adjust
6984         (selectNextWordToSpellcheck): adjust
6985         (changeCase): adjust
6986         (Delete): adjust
6987         (backspace): adjust
6988
6989         * lyxfind.C (SearchForward): adjust
6990         (SearchBackward): adjust
6991         (nextChange): adjust
6992
6993         * lyxcursor.C (par): adjust
6994
6995         * lyxcursor.h: store a ParagraphList::iterator instead of a
6996         Paragraph*
6997
6998         * lyx_cb.C (getPossibleLabel): adjust
6999
7000         * bufferview_funcs.C (toggleAndShow): adjust
7001
7002         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7003         (dispatch): adjust
7004
7005         * BufferView.C (removeAutoInsets): adjust
7006         (lockedInsetStoreUndo): adjust
7007
7008 2003-04-09  John Levon  <levon@movementarian.org>
7009
7010         * ToolbarBackend.C: try icon without argument
7011         if with argument fails
7012
7013 2003-04-08  John Levon  <levon@movementarian.org>
7014
7015         * ToolbarBackend.h:
7016         * ToolbarBackend.C: add getIcon(), handle tooltip,
7017         and change from "Icon" to "Item".
7018
7019 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7020
7021         * BufferView.C (lockInset): another bad getchar crunched
7022
7023 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7024
7025         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7026         again)
7027
7028 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7029
7030         * lyxfind.C (searchForward, searchBackwards): bug 782
7031
7032 2003-04-07  John Levon  <levon@movementarian.org>
7033
7034         * paragraph.C: remove dead comment
7035
7036         * text.C: remove troublesome depth-fiddling code
7037         in leftMargin() and rightMargin() (bug 1017)
7038
7039         * text.C: fix breaking of rows in nested lists
7040         (bug 1004)
7041
7042         * text2.C (updateCounters): fix up depth values
7043         (bug 1013)
7044
7045 2003-04-07  John Levon  <levon@movementarian.org>
7046
7047         * BufferView_pimpl.C: clear message when doc finishes resizing,
7048         and after a mouse event
7049
7050         * lyxfunc.C: clear message after exiting inset
7051
7052 2003-04-07  John Levon  <levon@movementarian.org>
7053
7054         * bufferview_funcs.C: show math status not outside
7055         status in the statusbar
7056
7057 2003-04-07  John Levon  <levon@movementarian.org>
7058
7059         * lyxfunc.C: note status changed after a depth change
7060
7061 2003-04-04  Angus Leeming  <leeming@lyx.org>
7062
7063         * LaTeX.h: move AuxInfo operator==, != out of line.
7064         Remove LaTeX virtual destructor; nothing derives from it.
7065         Move operator()() out of public area and rename it startscript().
7066         Change protected for private.
7067
7068 2003-04-04  Angus Leeming  <leeming@lyx.org>
7069
7070         * lyxfunc.C:
7071         * text2.C: remove unneeded #includes.
7072
7073 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7074
7075         * text2.C (dEPM): fix the heigth of the next row
7076
7077 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7078
7079         * text.C: squashed an invalid getChar requester + some ws changes
7080
7081 2003-04-03  John Levon  <levon@movementarian.org>
7082
7083         * bufferview_funcs.h:
7084         * bufferview_funcs.C:
7085         * lyxfunc.C:
7086         * lyxtext.h:
7087         * text2.C: make getStatus work for the env depth lfuns
7088
7089 2003-04-03  John Levon  <levon@movementarian.org>
7090
7091         * bufferview_funcs.h:
7092         * bufferview_funcs.C:
7093         * lyxfunc.C:
7094         * lyxtext.h:
7095         * text2.C: parlistize decDepth(), by merging it with incDepth()
7096
7097 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * lyxrow.h: store a ParagraphList::iterator instead of a
7100         Paragraph* and adjust other class functions to suit.
7101
7102         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7103         above.
7104
7105 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7106
7107         * text2.C (setCursor): do not anchor to cursor row for the time being
7108
7109 2003-04-02  John Levon  <levon@movementarian.org>
7110
7111         * LyXAction.C:
7112         * lfuns.h:
7113         * lyx_main.C:
7114         * lyxtext.h:
7115         * text.C:
7116         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7117
7118 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * paragraph.h: make ParagraphList and ParagraphList::iterator
7121         friends of Paragraph.
7122
7123         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7124
7125         * ParagraphList.C: Use the private next_ and previous_ from
7126         Paragraph.
7127
7128 2003-04-01  John Levon  <levon@movementarian.org>
7129
7130         * ToolbarBackend.h:
7131         * ToolbarBackend.C:
7132         * Makefile.am: rename, remove defaults gunk
7133
7134         * MenuBackend.h:
7135         * MenuBackend.C: remove defaults gunk
7136
7137         * Languages.h:
7138         * Languages.C: remove defaults gunk
7139
7140         * lyx_main.h:
7141         * lyx_main.C: error out if files couldn't be found.
7142
7143 2003-04-02  John Levon  <levon@movementarian.org>
7144
7145         * text2.C: make incDepth() use parlist
7146
7147 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * undo_funcs.C (firstUndoParagraph): adjust
7150
7151         * text3.C (gotoInset): adjust
7152         (dispatch): adjust, and rewrite loop.
7153
7154         * text2.C (init): adjust, and rewrite loop.
7155         (redoParagraphs): adjust
7156         (updateInset): adjust, and rewrite loop.
7157         (deleteEmptyParagraphMechanism): adjust
7158
7159         * tabular.C (LyXTabular): adjust
7160         (SetMultiColumn): adjust
7161         (TeXRow): adjust
7162
7163         * lyxtext.[Ch] (ownerParagraph): delete function
7164         (ownerParagraphs): new function returns a ParagraphList.
7165
7166         * BufferView.C (removeAutoInsets): adjust
7167         (insertErrors): adjust
7168         (setCursorFromRow): adjust
7169
7170 2003-04-01  Angus Leeming  <leeming@lyx.org>
7171
7172         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7173         in the frontends.
7174
7175 2003-04-02  John Levon  <levon@movementarian.org>
7176
7177         * lyxtext.h:
7178         * text.C:
7179         * Makefile.am:
7180         * text_funcs.h:
7181         * text_funcs.C: make transposeChars a free function
7182
7183         * lyxrow_funcs.C: remove wrong comment
7184
7185 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * lyxtext.h: adjust
7188         * rowpainter.C: adjust
7189         * text.C: adjust
7190         * text2.C: adjust
7191         * text3.C: adjust
7192
7193         * lyxrow_funcs. [Ch]: new files
7194
7195         * lyxrow.[Ch]: remove next and previous pointers
7196         (next,previous): remove accessor functions
7197         (isParEnd): move to lyxrow_funcs
7198         (lastPos): move to lyxrow_funcs
7199         (nextRowIsAllInset): move to lyxrow_funcs
7200         (lastPrintablePos): move to lyxrow_funcs
7201         (numberOfSeparators): move to lyxrow_funcs
7202         (numberOfHfills): move to lyxrow_funcs
7203         (numberOfLabelHfills): move to lyxrow_funcs
7204         (hfillExpansion): move to lyxrow_funcs
7205
7206         * lyxfunc.C: adjust
7207
7208         * bufferview_funcs.C (toggleAndShow): adjust
7209
7210         * RowList.h: Remove class RowList from file leave just a
7211         std::list<Row>.
7212
7213         * RowList.C: delete file
7214
7215         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7216         and lyxrow_funcs.h
7217
7218 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * text3.C (cursorPrevious): adjust
7221         (cursorNext): adjust
7222         (dispatch): adjust
7223
7224         * text2.C (redoHeightOfParagraph): adjust
7225         (redoDrawingOfParagraph): adjust
7226         (setCursor): adjust
7227
7228         * text.C (breakParagraph): adjust
7229         (insertChar): adjust
7230         (backspace): adjust
7231
7232         * rowpainter.C (RowPainter): adjust
7233         (leftMargin): simplify and adjust
7234         (most rowpainter functions): adjust.
7235
7236         * rowpainter.h: store the row as RowList::iterator not as Row*
7237
7238         * lyxcursor.C (row): taka RowList::iterator as arg
7239         (irow): ditto
7240
7241         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7242         of Row*.
7243
7244 2003-04-01  Angus Leeming  <leeming@lyx.org>
7245
7246         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7247         stuff like bool Bool.
7248
7249 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7250
7251         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7252         rewrite a loop
7253
7254 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7257         RowList::iterator.
7258
7259         * lyxtext.h (rows): drop one version and leve a const variant that
7260         returns a RowList::iterator.
7261
7262 2003-03-31  Angus Leeming  <leeming@lyx.org>
7263
7264         * text.C (fill): ensure that the signature is the same as that in the
7265         header file.
7266
7267 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * text2.C (redoParagraphs): adjust
7270         (updateCounters): adjust
7271         (checkParagraph): adjust
7272         (getColumnNearX): adjust and reformat a bit.
7273
7274         * text.C (top_y): adjust
7275         (workWidth): adjust
7276         (leftMargin): adjust
7277         (prepareToPrint): adjust
7278         (getRow): adjust
7279         (getRowNearY): adjust
7280
7281         * lyxtext.h: make rowlist_ mutable.
7282
7283         * RowList.h: add const_iterator
7284         * RowList.C: adjust for RowList::const_iterator.
7285
7286         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7287         adjust.
7288
7289 2003-03-31  John Levon  <levon@movementarian.org>
7290
7291         * lyxrc.h:
7292         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7293
7294         * lyx_main.C: set default fonts from using lyx_gui funcs
7295
7296         * exporter.C: pdf_mode moved from lyxrc
7297
7298         * lyx_cb.C:
7299         * lyxfunc.C: changes from above
7300
7301 2003-03-31  John Levon  <levon@movementarian.org>
7302
7303         * lyx_main.C: fix to the last fix
7304
7305 2003-03-31  John Levon  <levon@movementarian.org>
7306
7307         * bufferlist.C: "Load original" -> "Load Original"
7308
7309         * converter.C:
7310         * exporter.C:
7311         * importer.C:
7312         * lyx_main.C:
7313         * format.C: more Alert cleanups
7314
7315 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7316
7317         * text2.C (removeParagraph): make it take a RowList::iterator as
7318         arg, adjust.
7319         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7320         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7321
7322         * text.C (anchor_row): make it take a RowList::iterator as arg,
7323         adjust.
7324         (computeBidiTables): make it take a const reference to Row instead
7325         of Row pointer, adjust.
7326         (leftMargin): make it take a RowList::iterator as arg, adjust.
7327         (rowBreakPoint): adjust
7328         (breakAgainOneRow): make it take a RowList::iterator as arg,
7329         adjust.
7330         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7331
7332         * bufferview_funcs.C (toggleAndShow): adjust
7333
7334 2003-03-30  John Levon  <levon@movementarian.org>
7335
7336         * Makefile.am:
7337         * BoostFormat.h:
7338         * boost-inst.C: moved to support
7339
7340         * several files: changes as a result
7341
7342 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7343
7344         * text2.C (LyXText): adjust.
7345         (init): adjust
7346         (removeRow): make it take a RowList::iterator as arg, adjust.
7347         (fullRebreak): adjust
7348         (deleteEmptyParagraphMechanism): adjust
7349         (clearPaint): adjust
7350         (postPaint): adjust
7351
7352         * text.C (top_y): adjust
7353         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7354         (breakAgain): make it take a RowList::iterator as arg, adjust.
7355         (breakParagraph): adjust
7356         (insertChar): adjust
7357         (backspace): adjust
7358
7359         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7360         need_break_row, and refresh_row.
7361
7362         * text3.C (dispatch): adjust
7363
7364         * text2.C (checkParagraph): adjust
7365         (setCursor): adjust
7366         (setCursorFromCoordinates): adjust
7367
7368         * text.C (top_y): adjust
7369         (workWidth): adjust
7370         (getRow): make it return a RowList::iterator, adjust
7371         (getRowNearY): make it return a RowList::iterator, adjust
7372
7373         * text2.C (init): adjust
7374         (insertRow): remove function
7375         (insertParagraph): adjust
7376         (redoParagraphs): adjust
7377         (fullRebreak): adjust
7378         (updateCounters): adjust
7379
7380         * text.C (top_y): rewrite to use RowList iterators.
7381         (top_y): adjust
7382         (setHeightOfRow): rewrite to sue RowList iterators.
7383         (appendParagraph): adjust
7384         (breakAgain): adjust
7385         (breakAgainOneRow): adjust
7386         (breakParagraph): adjust
7387         (getRow): adjust
7388         (getRowNearY): adjust, and remove commented code.
7389
7390         * lyxtext.h (firstRow): delete function
7391         (lastRow): delete function
7392         (rows): new function (const and non-const versions.)
7393         (insertRow): delete function
7394
7395         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7396
7397 2003-03-29  John Levon  <levon@movementarian.org>
7398
7399         * BufferView_pimpl.C: always update scrollbar top
7400         because pasting text when we're anchored could mean we
7401         miss an update altogether
7402
7403 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7404
7405         * text2.C (init): use rowlist_.end() and not 0.
7406         (insertRow): change to take a RowList::iterator as arg, adjust
7407         for this.
7408         (insertParagraph): change to take a RowList::iterator as arg,
7409         adjust for this.
7410         (redoParagraphs): remove some debug msgs.
7411
7412         * text.C (appendParagraph): change to take a RowList::iterator
7413         arg, adjust for this.
7414         (breakAgain): add an assert
7415         (breakAgainOneRow): ditto
7416
7417 2003-03-29  John Levon  <levon@movementarian.org>
7418
7419         * text2.C: do not clear selection after inc/decDepth
7420         (bug 550)
7421
7422 2003-03-29  John Levon  <levon@movementarian.org>
7423
7424         * BufferView.C:
7425         * buffer.C: fix broken strerrors according to Lars
7426
7427 2003-03-29  John Levon  <levon@movementarian.org>
7428
7429         * converters.C: more Alert cleanups
7430
7431 2003-03-29  John Levon  <levon@movementarian.org>
7432
7433         * bufferview_funcs.C: remove pointless Alert
7434
7435         * buffer.C: fix confusing error message when
7436         a template is chmoded 000
7437
7438 2003-03-29  John Levon  <levon@movementarian.org>
7439
7440         * BufferView.C:
7441         * BufferView.h:
7442         * BufferView_pimpl.C: Alert fixes
7443
7444         * Makefile.am:
7445         * tabular.C:
7446         * tabular-old.C: remove unused table compat reading
7447
7448 2003-03-29  John Levon  <levon@movementarian.org>
7449
7450         * BufferView.C:
7451         * buffer.C:
7452         * lyx_cb.h:
7453         * lyx_cb.C: more Alert cleanups
7454
7455         * lyxfunc.C: don't allow chktex if not latex document
7456
7457 2003-03-29  John Levon  <levon@movementarian.org>
7458
7459         * lyx_cb.C:
7460         * BufferView.C:
7461         * buffer.C: warnings pushed down from support/,
7462         kill err_alert
7463
7464 2003-03-29  John Levon  <levon@movementarian.org>
7465
7466         * lyxfunc.C: safety check for C-r (revert)
7467
7468 2003-03-29  John Levon  <levon@movementarian.org>
7469
7470         * bufferlist.h:
7471         * bufferlist.C: several UI fixes using Alert::prompt.
7472         Fix the pointless looping quit code. Fix stupid revert
7473         behaviour (bug 938)
7474
7475         * lyxvc.h:
7476         * lyxvc.C:
7477         * lyx_cb.C: use Alert::prompt
7478
7479         * lyx_main.C: remove a silly question
7480
7481         * lyxfunc.C: remove a couple of silly questions,
7482         use Alert::prompt
7483
7484 2003-03-28  John Levon  <levon@movementarian.org>
7485
7486         * text2.C: fix bug 974 (End on empty par)
7487
7488 2003-03-28  John Levon  <levon@movementarian.org>
7489
7490         * BufferView_pimpl.C:
7491         * LyXAction.C:
7492         * lfuns.h: remove do-nothing math greek lfuns
7493
7494 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * lyxgluelength.h (isValidGlueLength): add default arg on
7497         parameter 2. Remove default arg from friend in class.
7498
7499         * lyxlength.h (isValidLength): add default arg on parameter 2.
7500         Remove default arg from friend in class.
7501
7502         * text2.C (LyXText): adjust, initialize refresh_row.
7503         (init): adjust
7504         (removeRow): adjust
7505         (insertRow): adjust
7506         (insertParagraph): adjst
7507         (redoParagraphs): adjust
7508         (fullRebreak): adjust
7509         (updateCounters): adjust
7510         (deleteEmptyParagraphMechanism): first attempt at fixing a
7511         crashing bug.
7512
7513         * text.C (top_y): adjust
7514         (setHeightOfRow): adjust
7515         (getRow): adjust
7516         (getRowNearY): adjust
7517
7518         * lyxtext.h: include RowList.h
7519         (~LyXText): not needed anymore, deleted.
7520         (firstRow): modify for RowList
7521         (lastRow): new function
7522         Delete firstrow and lastrow class variables, add a Rowlist
7523         rowlist_ class variable.
7524
7525         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7526         paragraph is empty.
7527
7528         * RowList.C (insert): fix case where it == begin().
7529
7530 2003-03-26  Angus Leeming  <leeming@lyx.org>
7531
7532         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7533         the thesaurus dialog.
7534
7535 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7536
7537         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7538
7539         * RowList.[Ch]: new files
7540
7541         * ParagraphList.C (erase): handle the case where it == begin
7542         correctly.
7543
7544 2003-03-25  John Levon  <levon@movementarian.org>
7545
7546         * Makefile.am:
7547         * aspell_local.h:
7548         * aspell.C: add new aspell support
7549
7550         * lyxrc.h:
7551         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7552         have it accessible.
7553
7554 2003-03-25  Angus Leeming  <leeming@lyx.org>
7555
7556         * lfuns.h:
7557         * LyXAction.C (init): new LFUN_INSET_INSERT.
7558
7559         * BufferView_pimpl.C (dispatch): split out part of the
7560         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7561
7562         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7563         LFUN_INSET_APPLY.
7564
7565 2003-03-25  Angus Leeming  <leeming@lyx.org>
7566
7567         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7568
7569 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7570
7571         * text2.C:
7572         * text3.C: remove useless row->height(0)
7573
7574 2003-03-25  John Levon  <levon@movementarian.org>
7575
7576         * lyxtext.h:
7577         * text2.C:
7578         * text3.C: rename the refreshing stuff to better names
7579
7580 2003-03-24  John Levon  <levon@movementarian.org>
7581
7582         * BufferView_pimpl.h:
7583         * BufferView_pimpl.C: update layout choice on a mouse
7584         press/release
7585
7586 2003-03-23  John Levon  <levon@movementarian.org>
7587
7588         * Makefile.am: fix commandtags.h reference
7589
7590 2003-03-22  John Levon  <levon@movementarian.org>
7591
7592         * BufferView_pimpl.C:
7593         * lyxtext.h:
7594         * rowpainter.C:
7595         * rowpainter.h:
7596         * text.C:
7597         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7598
7599 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7600
7601         * lyxtext.h:
7602         * text.C: take the rtl methods out of line
7603
7604 2003-03-21 André Pönitz <poenitz@gmx.net>
7605
7606         * metricsinfo.[Ch]: new files containing structures to be passed around
7607         during the two-phase-drawing...
7608
7609 2003-03-21 André Pönitz <poenitz@gmx.net>
7610
7611         * lyxtextclass.C: read 'environment' tag.
7612
7613 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7614
7615         * text2.C (removeRow): fix bug 964
7616
7617 2003-03-20  John Levon  <levon@movementarian.org>
7618
7619         * rowpainter.C:
7620         * text.C:
7621         * text2.C: paint cleanups. Inset::update() dropped font
7622         parameter
7623
7624 2003-03-19  John Levon  <levon@movementarian.org>
7625
7626         * lyxfunc.C: only fitcursor/markDirty if available()
7627
7628 2003-03-19  John Levon  <levon@movementarian.org>
7629
7630         * commandtags.h: rename to ...
7631
7632         * lfuns.h: ... this, and renumber / cleanup
7633
7634 2003-03-19  John Levon  <levon@movementarian.org>
7635
7636         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7637         fit the cursor after an lfun
7638
7639         * BufferView.h:
7640         * BufferView.C:
7641         * BufferView_pimpl.h:
7642         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7643
7644         * LyXAction.C: layout-character should have ReadOnly
7645
7646         * ParagraphParameters.C:
7647         * buffer.C:
7648         * bufferview_funcs.C:
7649         * lyx_cb.C:
7650         * lyxfind.C:
7651         * lyxtext.h:
7652         * text.C:
7653         * text2.C:
7654         * text3.C:
7655         * undo_funcs.C: changes from above
7656
7657 2003-03-18  John Levon  <levon@movementarian.org>
7658
7659         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7660         remove it from update()
7661
7662         * lyxfunc.C: update layout choice after an lfun
7663
7664         * text3.C: remove extra updateLayoutChoice()s
7665
7666 2003-03-18  John Levon  <levon@movementarian.org>
7667
7668         * text.C: top_y change means full repaint, fix
7669         a drawing bug with cursor movement
7670
7671 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7672
7673         * lyxtext.h:
7674         * text.C:
7675         * text2.C: anchor row on setCursor
7676
7677 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7678
7679         * lyxtext.h: remove almost all mutable keywords
7680         * text.C:
7681         * text2.C:
7682         * text3.C: remove const keywords accordingly
7683
7684 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7687         anon namespace
7688         (TeXEnvironment): ditto
7689         (TeXOnePar): ditto
7690
7691 2003-03-17  John Levon  <levon@movementarian.org>
7692
7693         * text.C (rowBreakPoint): remove attempt to fix displayed
7694         math insets inside a manual label
7695
7696 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7697
7698         * lyxtext.h: remove BufferView* as first arg from almost all class
7699         functions.
7700         * other files: adjust.
7701
7702 2003-03-17  John Levon  <levon@movementarian.org>
7703
7704         * lyxtext.h:
7705         * undo_funcs.C:
7706         * text2.C: more paint cleanups
7707
7708         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7709
7710         * rowpainter.h:
7711         * rowpainter.C: remove "smart" background painting code
7712
7713 2003-03-16  John Levon  <levon@movementarian.org>
7714
7715         * lyxtext.h:
7716         * text.C:
7717         * text2.C:
7718         * text3.C: add helper functions for setting refresh_row/y
7719
7720 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7721
7722         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7723         newline inset which *can* get inserted in the pass_thru layouts.
7724         This is primarily for literate documents.
7725
7726 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7727
7728         * buffer.C: increment LYX_FORMAT to 223
7729
7730 2003-03-14 André Pönitz <poenitz@gmx.net>
7731
7732         * textclass.h: prepare for environment handling, ws changes
7733         * lyxlayout.C: read latexheader and latexfooter tags
7734
7735 2003-03-14  John Levon  <levon@movementarian.org>
7736
7737         * text2.C: rewrite ::status() a bit
7738
7739 2003-03-13  John Levon  <levon@movementarian.org>
7740
7741         * lyxtext.h: add some docs
7742
7743 2003-03-13  John Levon  <levon@movementarian.org>
7744
7745         * lyxtext.h:
7746         * text.C:
7747         * text2.C:
7748         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7749
7750 2003-03-13  John Levon  <levon@movementarian.org>
7751
7752         * text3.C: fix appendix redrawing
7753
7754 2003-03-13  John Levon  <levon@movementarian.org>
7755
7756         * text.C (setHeightOfRow):
7757         * rowpainter.h:
7758         * rowpainter.C: make appendix mark have the text
7759           "Appendix" so the user knows what it is
7760
7761         * LColor.h:
7762         * LColor.C: s/appendixline/appendix/ from above
7763
7764 2003-03-13  John Levon  <levon@movementarian.org>
7765
7766         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7767
7768         * text.C: fix a getChar(pos) bug properly
7769
7770 2003-03-13  Angus Leeming  <leeming@lyx.org>
7771
7772         * commandtags.h:
7773         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7774         Probably only temporary. Let's see how things pan out.
7775
7776         * BufferView.C (unlockInset):
7777         * BufferView_pimpl.C (fitCursor):
7778         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7779
7780         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7781         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7782
7783         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7784         new functions that convert ParagraphParameters to and from a string.
7785
7786         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7787         BufferView::Pimpl's dispatch.
7788         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7789
7790 2003-03-13 André Pönitz <poenitz@gmx.net>
7791
7792         * lyxfunc.C:
7793         * text3.C:
7794         * factory.C: make it aware of InsetEnv
7795
7796 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * text2.C (setCursor): never ask for one past last
7799         (setCursor): add some debugging messages.
7800
7801         * text.C (singleWidth): never ask for one past last
7802         (singleWidth): ditto
7803         (leftMargin): ditto
7804         (rightMargin): ditto
7805         (rowBreakPoint): ditto
7806         (setHeightOfRow): ditto
7807         (prepareToPrint): ditto
7808
7809         * rowpainter.C (paintBackground): never ask for one past last
7810         (paintText): never ask for one past last
7811
7812         * paragraph_pimpl.C (getChar): make the assert stricter, never
7813         allow the one past last pos to be taken
7814
7815         * paragraph.C (getChar): ws changes only
7816
7817         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7818         (numberOfSeparators): ditto
7819         (numberOfHfills): ditto
7820
7821 2003-03-12  John Levon  <levon@movementarian.org>
7822
7823         * author.h:
7824         * author.C:
7825         * bufferparams.h:
7826         * bufferparams.C:
7827         * paragraph_funcs.C: fix per-buffer authorlists
7828
7829 2003-03-12  John Levon  <levon@movementarian.org>
7830
7831         * text.C: fix newline in right address
7832
7833 2003-03-12  Angus Leeming  <leeming@lyx.org>
7834
7835         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7836         duplicate those in LyXFunc::dispatch.
7837
7838         * commandtags.h:
7839         * LyXAction.C:
7840         * ToolbarDefaults.C:
7841         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7842         Add LFUN_FONTFREE_UPDATE.
7843
7844         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7845         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7846
7847         * bufferview_func.[Ch]: several new functions to facilliate
7848         transfer of data to and from the character dialog.
7849
7850 2003-03-12  John Levon  <levon@movementarian.org>
7851
7852         * buffer.C:
7853         * paragraph.h:
7854         * paragraph.C:
7855         * paragraph_funcs.C:
7856         * paragraph_pimpl.C:
7857         * sgml.C:
7858         * tabular.C:
7859         * text.C:
7860         * text3.C: remove META_NEWLINE in favour of an inset
7861
7862         * rowpainter.h:
7863         * rowpainter.C: remove paintNewline (done by inset)
7864
7865 2003-03-12  John Levon  <levon@movementarian.org>
7866
7867         * paragraph_pimpl.C: complain about bad getChar()s
7868         for a while at least
7869
7870 2003-03-12  John Levon  <levon@movementarian.org>
7871
7872         * buffer.h:
7873         * buffer.C: move paragraph read into a separate function,
7874         a little renaming to reflect that.
7875
7876         * bufferparams.h:
7877         * bufferparams.C: remove the author_ids map, not necessary now
7878
7879         * factory.h:
7880         * factory.C: moved Buffer::readInset to here
7881
7882         * paragraph_funcs.h:
7883         * paragraph_funcs.C: readParagraph free function moved from
7884         buffer.C
7885
7886         * tabular.C: name change
7887
7888 2003-03-12  John Levon  <levon@movementarian.org>
7889
7890         * buffer.C:
7891         * ParagraphParameters.C: move par params input to
7892         a read() method
7893
7894         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7895         behave like a normal read from the stream wrt reading
7896         a line vs. a \\token
7897
7898 2003-03-12  John Levon  <levon@movementarian.org>
7899
7900         * paragraph.C:
7901         * ParagraphParameters.h:
7902         * ParagraphParameters.C: move output code to a
7903         ::write() method
7904
7905 2003-03-12  John Levon  <levon@movementarian.org>
7906
7907         * BufferView.C (insertLyXFile):
7908         * buffer.h:
7909         * buffer.C:
7910         * tabular.C: use a parlist iterator for creating the
7911           document.
7912
7913 2003-03-12  John Levon  <levon@movementarian.org>
7914
7915         * buffer.C: make current_change static local not
7916           static file-scope
7917
7918 2003-03-12  John Levon  <levon@movementarian.org>
7919
7920         * buffer.C: fix insertStringAsLines for change tracking
7921
7922 2003-03-12  John Levon  <levon@movementarian.org>
7923
7924         * BufferView.C:
7925         * tabular.C:
7926         * buffer.h:
7927         * buffer.C:
7928         * bufferparams.h:
7929         * bufferparams.C: move author list into params. Rename some
7930           functions. Move the header reading into a separate token
7931           loop. Move the header token reading into BufferParams.
7932
7933 2003-03-12  John Levon  <levon@movementarian.org>
7934
7935         * changes.C: put debug inside lyxerr.debugging() checks
7936
7937 2003-03-11 André Pönitz <poenitz@gmx.net>
7938
7939         * factory.C: make it aware of InsetHFill
7940
7941 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7942
7943         * buffer.C (latexParagraphs): move function from here...
7944         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7945         args.
7946
7947 2003-03-10  Angus Leeming  <leeming@lyx.org>
7948
7949         * LyXAction.C (init): fix bug in poplating array with multiple entries
7950         with the same LFUN (spotted by JMarc).
7951
7952 2003-03-10  John Levon  <levon@movementarian.org>
7953
7954         * text.C:
7955         * text2.C: move getColumnNearX() near its
7956         only call site
7957
7958 2003-03-10  John Levon  <levon@movementarian.org>
7959
7960         * text.C: fix break before a minipage
7961
7962 2003-03-10  John Levon  <levon@movementarian.org>
7963
7964         * text.C: fix the last commit
7965
7966 2003-03-09  John Levon  <levon@movementarian.org>
7967
7968         * lyxtext.h:
7969         * text.C:
7970         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7971         bug 365 (don't break before insets unless needed). Don't
7972         return a value > last under any circumstances.
7973
7974 2003-03-09  Angus Leeming  <leeming@lyx.org>
7975
7976         * BufferView_pimpl.C (trackChanges, dispatch): call
7977         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7978
7979 2003-03-09  Angus Leeming  <leeming@lyx.org>
7980
7981         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7982         than Dialogs::showAboutlyx().
7983
7984 2003-03-09  Angus Leeming  <leeming@lyx.org>
7985
7986         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7987         than Dialogs::showTabularCreate().
7988
7989 2003-03-09  John Levon  <levon@movementarian.org>
7990
7991         * lyxtext.h:
7992         * text.C:
7993         * text2.C: 3rd arg to nextBreakPoint was always the same.
7994           Use references.
7995
7996 2003-03-08  John Levon  <levon@movementarian.org>
7997
7998         * lyxrow.C:
7999         * paragraph.C:
8000         * paragraph.h:
8001         * rowpainter.C:
8002         * text.C:
8003         * text2.C: Remove the "main" bit from the "main body"
8004           notion.
8005
8006 2003-03-08  John Levon  <levon@movementarian.org>
8007
8008         * text.C (leftMargin): The left margin of an empty
8009         manual label paragraph should not include the label width
8010         string length.
8011
8012         * text.C (prepareToPrint): don't attempt to measure hfills
8013         for empty manual label paragraphs - the answer should be 0
8014
8015 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8016
8017         * CutAndPaste.C: remove commented code and reindent.
8018
8019 2003-03-08  John Levon  <levon@movementarian.org>
8020
8021         * lyxfunc.h:
8022         * lyxfunc.C: move reloadBuffer()
8023
8024         * BufferView.h:
8025         * BufferView.C: to here
8026
8027         * lyxvc.C: add comment
8028
8029         * vc-backend.h:
8030         * vc-backend.C: call bv->reload() to avoid
8031           getStatus() check on MENURELOAD
8032
8033 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8034
8035         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8036         to an old format .dep file.
8037
8038 2003-03-07  Angus Leeming  <leeming@lyx.org>
8039
8040         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8041         when the LFUN_MOUSE_RELEASE should have been handled by
8042         inset->localDispatch.
8043
8044 2003-03-07  Angus Leeming  <leeming@lyx.org>
8045
8046         * BufferView_pimpl.C (dispatch):
8047         * LyXAction.C (init):
8048         * ToolbarDefaults.C (init):
8049         * commandtags.h:
8050         * lyxfunc.C (getStatus):
8051         remove LFUN_INSET_GRAPHICS.
8052
8053         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8054
8055 2003-03-07  Angus Leeming  <leeming@lyx.org>
8056
8057         * commandtags.h:
8058         * LyXAction.C (init):
8059         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8060
8061         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8062
8063         * commandtags.h:
8064         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8065
8066         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8067         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8068
8069 2003-03-07  Angus Leeming  <leeming@lyx.org>
8070
8071         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8072         remove "ert".
8073
8074 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8075
8076         * ParagraphList.C (front): new function
8077         (back): implement
8078
8079 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8080
8081         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8082         and top_row_offset_. removed var first_y.
8083         * text.C (top_y):
8084         * text2.C (LyXText, removeRow):
8085         * text3.C:
8086         * BufferView_pimpl.C:
8087         use these methods instead of using first_y
8088
8089 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * text2.C (pasteSelection): adjust for checkPastePossible
8092
8093         * CutAndPaste.C: remove Paragraph * buf and replace with
8094         ParagraphList paragraphs.
8095         (DeleteBuffer): delete
8096         (cutSelection): change the tc type to textclass_type
8097         (copySelection): change the tc type to textclass_type
8098         (copySelection): adjust for ParagraphList
8099         (pasteSelection): change the tc type to textclass_type
8100         (pasteSelection): adjust for Paragraphlist
8101         (nrOfParagraphs): simplify for ParagraphList
8102         (checkPastePossible): simplify for ParagraphList
8103         (checkPastePossible): remove unused arg
8104
8105         * ParagraphList.C (insert): handle the case where there are no
8106         paragraphs yet.
8107
8108         * CutAndPaste.h: make CutAndPaste a namespace.
8109
8110         * text3.C (dispatch): adjust
8111
8112         * text.C (breakParagraph): add a ParagraphList as arg
8113
8114         * paragraph_funcs.C (breakParagraph): change to take a
8115         BufferParams and a ParagraphList as args.
8116         (breakParagraphConservative): ditto
8117         (mergeParagraph): ditto
8118         (TeXDeeper): add a ParagraphList arg
8119         (TeXEnvironment): ditto
8120         (TeXOnePar): ditto
8121
8122         * buffer.C (readLyXformat2): adjust
8123         (insertStringAsLines): adjust
8124         (latexParagraphs): adjust
8125
8126         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8127         (cutSelection): adjust
8128         (pasteSelection): adjust
8129
8130         * BufferView_pimpl.C (insertInset): adjust
8131
8132 2003-03-05  Angus Leeming  <leeming@lyx.org>
8133
8134         * commandtags.h:
8135         * LyXAction.C (init):
8136         * BufferView_pimpl.C (dispatch):
8137         * lyxfunc.C (getStatus):
8138         remove LFUN_CHILD_INSERT.
8139
8140         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8141
8142 2003-03-05  Angus Leeming  <leeming@lyx.org>
8143
8144         * commandtags.h:
8145         * LyXAction.C (init):
8146         * src/factory.C (createInset):
8147         * lyxfunc.C (getStatus):
8148         * text3.C (dispatch):
8149         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8150
8151         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8152
8153 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8154
8155         * ParagraphList.C (insert): handle insert right before end()
8156         (erase): fix cases where it can be first or last paragraph.
8157
8158 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8161         Paragraph::next and Paragraph::previous
8162         (TeXOnePar): ditto
8163
8164         * text.C (breakParagraph): adjust
8165
8166         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8167         BufferParams& as arg.
8168         (breakParagraph): use ParagraphList::insert
8169         (breakParagraphConservative): take a Buffer* instead of a
8170         BufferParams& as arg.
8171         (breakParagraphConservative): use ParagraphList::insert.
8172
8173         * buffer.C (insertStringAsLines): un-const it
8174         (insertStringAsLines): adjust
8175
8176         * ParagraphList.C (insert): new function
8177
8178         * CutAndPaste.C (pasteSelection): adjust
8179
8180         * text.C (backspace): adjust
8181
8182         * tabular.C (SetMultiColumn): adjust
8183
8184         * CutAndPaste.C (cutSelection): adjust
8185         (pasteSelection): adjust
8186
8187         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8188         Buffer const * as arg
8189
8190         * ParagraphList.C (erase): new function
8191         * paragraph_funcs.C (mergeParagraph): use it
8192         (mergeParagraph): make it take a Buffer* instead of a
8193         BufferParams* as arg
8194
8195         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8196         as arg
8197         (breakParagraphConservative): ditto
8198
8199         * paragraph.h: remove the breakParagraph friend
8200
8201         * paragraph.C (eraseIntern): new function
8202         (setChange): new function
8203
8204         * paragraph_funcs.C (mergeParagraph): make it take a
8205         ParagraphList::iterator instead of a Paragraph *, adjust
8206         accordingly.
8207
8208         * paragraph.h: move an #endif so that the change tracking stuff
8209         also works in the NO_NEXT case.
8210
8211 2003-03-04  Angus Leeming  <leeming@lyx.org>
8212
8213         * commandtags.h:
8214         * LyXAction.C: new LFUN_INSET_MODIFY.
8215
8216         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8217         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8218
8219 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8220
8221         * several files: ws changes only
8222
8223         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8224         (TeXEnvironment): ditto
8225         (TeXDeeper): ditto
8226
8227         * buffer.C (makeLaTeXFile): adjust
8228         (latexParagraphs): make it take ParagraphList::iterator as args
8229
8230 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8231
8232         * buffer.C (latexParagraphs): adjust
8233
8234         * paragraph.C (TeXOnePar): move function...
8235         (optArgInset): move function...
8236         (TeXEnvironment): move function...
8237         * paragraph_pimpl.C (TeXDeeper): move function...
8238         * paragraph_funcs.C: ...here
8239
8240         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8241
8242 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8243
8244         * buffer.C (readInset): remove compability code for old Figure and
8245         InsetInfo insets
8246
8247 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * buffer.C: ws changes
8250         (readInset):
8251
8252         * BufferView_pimpl.C: ditto
8253         * author.C: ditto
8254         * buffer.h: ditto
8255         * bufferlist.h: ditto
8256         * changes.h: ditto
8257         * lyxfunc.C: ditto
8258
8259 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8260
8261         * converter.[Ch]: split into itself +
8262         * graph.[Ch]
8263         * format.[Ch]
8264         * Makefile.am: += graph.[Ch] + format.[Ch]
8265         * MenuBackend.C
8266         * buffer.C
8267         * exporter.C
8268         * importer.C
8269         * lyx_main.C
8270         * lyxfunc.C
8271         * lyxrc.C: added #include "format.h"
8272
8273 2003-02-27  Angus Leeming  <leeming@lyx.org>
8274
8275         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8276           a label.
8277
8278         * factory.C (createInset): add "label" to the factory.
8279
8280         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8281           string and do no more.
8282
8283 2003-02-27  Angus Leeming  <leeming@lyx.org>
8284
8285         * commandtags.h:
8286         * LyXAction.C (init):
8287         * factory.C (createInset):
8288         * BufferView_pimpl.C (dispatch):
8289           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8290
8291         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8292
8293         * lyxfunc.C (dispatch):
8294         * text3.C (dispatch): pass name to params2string.
8295
8296 2003-02-26  Angus Leeming  <leeming@lyx.org>
8297
8298         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8299           blocks together.
8300           Rearrange the ~includes. Strip out the unnecessary ones.
8301
8302         * factory.C (createInset): reformat.
8303           create new insets for the various LFUN_XYZ_APPLY lfuns.
8304
8305 2003-02-26  John Levon  <levon@movementarian.org>
8306
8307         * lyxrow.h:
8308         * lyxrow.C: add isParStart,isParEnd helpers
8309
8310         * paragraph.h: make isInserted/DeletedText take refs
8311
8312         * paragraph_funcs.h:
8313         * paragraph_funcs.C: remove #if 0'd code
8314
8315         * lyxtext.h:
8316         * text3.C:
8317         * text2.C:
8318         * text.C: use lyxrow helpers above.
8319           Move draw and paint routines to RowPainter.
8320           Make several methods use refs not pointers.
8321           Make backgroundColor() const.
8322           Add markChangeInDraw(), isInInset().
8323           Merge changeRegionCase into changeCase.
8324           Make workWidth() shouldn't-happen code into an Assert.
8325
8326         * rowpainter.h:
8327         * rowpainter.C: new class for painting a row.
8328
8329         * vspace.h:
8330         * vspace.C: make inPixels take a ref
8331
8332 2003-02-26  Angus Leeming  <leeming@lyx.org>
8333
8334         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8335         LFUN_REF_APPLY.
8336
8337 2003-02-25  John Levon  <levon@movementarian.org>
8338
8339         * ispell.C: give the forked command a more accurate name
8340
8341 2003-02-22  John Levon  <levon@movementarian.org>
8342
8343         * toc.h:
8344         * toc.C: make TocItem store an id not a Paragraph *
8345           (bug #913)
8346
8347 2003-02-21  Angus Leeming  <leeming@lyx.org>
8348
8349         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8350           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8351           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8352           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8353           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8354           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8355
8356         * BufferView_pimpl.C (dispatch):
8357         * LyXAction.C (init):
8358         * factory.C (createInset):
8359         * lyxfunc.C (getStatus, dispatch):
8360         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8361
8362 2003-02-21  Angus Leeming  <leeming@lyx.org>
8363
8364         * BufferView_pimpl.C (MenuInsertLyXFile):
8365         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8366         * lyxfunc.C (menuNew, open, doImport):
8367           no longer pass a LyXView & to fileDlg.
8368
8369 2003-02-21  Angus Leeming  <leeming@lyx.org>
8370
8371         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8372         * LyXAction.C: change, BIBKEY to BIBITEM.
8373         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8374         Change InsetBibKey to InsetBibitem.
8375         Change BIBKEY_CODE to BIBITEM_CODE.
8376         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8377         * factory.C: replace insetbib.h with insetbibitem.h.
8378         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8379         * paragraph.C: replace insetbib.h with insetbibitem.h.
8380         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8381         Change bibkey() to bibitem().
8382         * text.C: remove insetbib.h.
8383         * text2.C: replace insetbib.h with insetbibitem.h.
8384         change bibkey() to bibitem().
8385         * text3.C: remove insetbib.h.
8386         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8387
8388 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8389
8390         * lyxrc.C (output): enclose user email in quotes (in case there are
8391         several words)
8392
8393 2003-02-18  John Levon  <levon@movementarian.org>
8394
8395         * buffer.h: add std::
8396
8397 2003-02-17  John Levon  <levon@movementarian.org>
8398
8399         * SpellBase.h:
8400         * ispell.h:
8401         * ispell.C:
8402         * pspell.h:
8403         * pspell.C: reworking. Especially in ispell, a large
8404           number of clean ups and bug fixes.
8405
8406         * lyxfunc.C: fix revert to behave sensibly
8407
8408 2003-02-17 André Pönitz <poenitz@gmx.net>
8409
8410         * LyXAction.C:
8411         * commandtags.h: new LFUN_INSERT_BIBKEY
8412
8413         * layout.h:
8414         * lyxlayout.C:
8415         * buffer.C:
8416         * factory.C:
8417         * text.C:
8418         * text2.C:
8419         * text3.C:
8420         * paragraph.[Ch]:
8421         * paragraph_func.C: remove special bibkey handling
8422
8423 2003-02-17  John Levon  <levon@movementarian.org>
8424
8425         * text.C (Delete): fix case where delete at the end of
8426           the very first paragraph would not merge the pars
8427
8428 2003-02-17  John Levon  <levon@movementarian.org>
8429
8430         * lyxrow.C: fix lastPrintablePos()
8431
8432 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8433
8434         * bufferparams.C (writeLaTeX): add a std:here
8435
8436         * buffer.C: and remove a using directive there
8437
8438 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8439
8440         * buffer.C (makeLaTeXFile): move the code that generates the
8441           preamble...
8442
8443         * bufferparams.C (writeLaTeX): ... in this new method
8444
8445         * LaTeXFeatures.C (getEncodingSet): make const
8446           (getLanguages): make const
8447
8448         * MenuBackend.C (binding): returns the binding associated to this
8449           action
8450           (add): sets the status of each item by calling getStatus. Adds
8451           some intelligence.
8452           (read): add support for OptSubMenu
8453           (expand): remove extra separator at the end of expanded menu
8454
8455 2003-02-15  John Levon  <levon@movementarian.org>
8456
8457         * BufferView.C:
8458         * BufferView_pimpl.C:
8459         * bufferlist.h:
8460         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8461           inset code that had no actual effect. Remove unneeded status
8462           code.
8463
8464 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8465
8466         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8467           in preamble
8468
8469 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8470
8471         * text.C (drawLengthMarker): also draw an arrow marker for
8472           symbolic lengths (medskip...)
8473
8474 2003-02-14  John Levon  <levon@movementarian.org>
8475
8476         * tabular.h:
8477         * tabular.C: better method names
8478
8479 2003-02-14  John Levon  <levon@movementarian.org>
8480
8481         * BufferView_pimpl.C:
8482         * bufferlist.C:
8483         * buffer.C:
8484         * converter.C:
8485         * lyx_cb.C:
8486         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8487           it's a more accurate name. Remove some pointless uses.
8488
8489 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8490
8491         * text2.C (LyXText): change order of initilizers to shut off
8492           warnings
8493
8494 2003-02-14  John Levon  <levon@movementarian.org>
8495
8496         * buffer.C: use ParIterator for getParFromID()
8497
8498         * paragraph.h:
8499         * paragraph.C:
8500         * paragraph_pimpl.h:
8501         * paragraph_pimpl.C: remove unused getParFromID()
8502
8503 2003-02-14  John Levon  <levon@movementarian.org>
8504
8505         * buffer.C: remove some very old #if 0'd parse code
8506
8507 2003-02-13  John Levon  <levon@movementarian.org>
8508
8509         * text.h:
8510         * text.C:
8511         * text2.C: move hfillExpansion(), numberOfSeparators(),
8512           rowLast(), rowLastPrintable(), numberofHfills(),
8513           numberOfLabelHfills() ...
8514
8515         * lyxrow.h:
8516         * lyxrow.C: ... to member functions here.
8517
8518         * paragraph.h:
8519         * paragraph.C:
8520         * lyxtext.h:
8521         * text.C: remove LyXText::beginningOfMainBody(), and call
8522           p->beginningOfMainBody() directly. Move the check for
8523           LABEL_MANUAL into the latter.
8524
8525         * text.h:
8526         * text.C:
8527         * text2.C:
8528         * vspace.C:
8529         * BufferView.h:
8530         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8531
8532         * text.h:
8533         * text.C:
8534         * text2.C:
8535         * text3.C:
8536         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8537           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8538
8539 2003-02-13  John Levon  <levon@movementarian.org>
8540
8541         * CutAndPaste.C: remove debug
8542
8543 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8544
8545         * paragraph.C (asString): remove two unused variables
8546
8547         * lyxtextclass.C (readTitleType):
8548           (Read):
8549           (LyXTextClass): handle new members titletype_ and titlename_
8550
8551         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8552
8553 2003-02-09  John Levon  <levon@movementarian.org>
8554
8555         * buffer.h:
8556         * buffer.C: replace hand-coded list with a map for the dep clean
8557
8558 2003-02-08  John Levon  <levon@movementarian.org>
8559
8560         * LaTeX.C: consolidate code into showRunMessage() helper
8561
8562 2003-02-08  John Levon  <levon@movementarian.org>
8563
8564         * lyxfind.C:
8565         * lyxtext.h:
8566         * text2.C:
8567         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8568           and pass the size in explicitly
8569
8570         * BufferView_pimpl.h:
8571         * BufferView_pimpl.C:
8572         * BufferView.h:
8573         * BufferView.C: add getCurrentChange()
8574
8575         * BufferView_pimpl.h:
8576         * BufferView_pimpl.C: handle change lfuns
8577
8578         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8579           for changes. Mark pasted paragraphs as new.
8580
8581         * support/lyxtime.h:
8582         * support/lyxtime.C:
8583         * DepTable.C: abstract time_t as lyx::time_type
8584
8585         * LColor.h:
8586         * LColor.C: add colours for new text, deleted text, changebars
8587
8588         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8589           package use "usenames" option.
8590
8591         * commandtags.h:
8592         * lyxfunc.C:
8593         * LyXAction.C: add change lfuns
8594
8595         * Makefile.am:
8596         * author.h:
8597         * author.C: author handling
8598
8599         * buffer.h:
8600         * buffer.C: add a per-buffer author list, with first entry as
8601           current author. Handle new .lyx tokens for change tracking. Output
8602           author list to .lyx file. Output dvipost stuff to .tex preamble.
8603           Bump lyx format to 222.
8604
8605         * bufferlist.h:
8606         * bufferlist.C: add setCurrentAuthor() to reset current author details
8607           in all buffers.
8608
8609         * bufferparams.h:
8610         * bufferparams.C: add param for tracking
8611
8612         * bufferview_funcs.C: output change info in minibuffer
8613
8614         * Makefile.am:
8615         * changes.h:
8616         * changes.C: add change-tracking structure
8617
8618         * debug.h:
8619         * debug.C: add CHANGES debug flag
8620
8621         * lyxfind.h:
8622         * lyxfind.C: add code for finding the next change piece
8623
8624         * lyxrc.h:
8625         * lyxrc.C: add user_name and user_email
8626
8627         * lyxrow.h:
8628         * lyxrow.C: add a metric for the top of the text line
8629
8630         * lyxtext.h:
8631         * text.C: implement accept/rejectChange()
8632
8633         * lyxtext.h:
8634         * text.C: paint changebars. Paint new/deleted text in the chosen
8635         colours. Strike through deleted text.
8636
8637         * paragraph.h:
8638         * paragraph.C:
8639         * paragraph_pimpl.h:
8640         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8641           in the current change to the insert functions. Rework erase to
8642           mark text as deleted, adding an eraseIntern() and a range-based
8643           erase(). Implement per-paragraph change lookup and
8644           accept/reject.
8645
8646         * paragraph_funcs.C: Fixup paste for change tracking.
8647
8648         * tabular.C: mark added row/columns as new.
8649
8650         * text.C: fix rowLast() to never return -1. Don't allow
8651           spellchecking of deleted text. Track transpose changes. Don't
8652           allow paragraph break or merge where appropriate.
8653
8654         * text2.C: leave cursor at end of selection after a cut.
8655
8656 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8657
8658         * text.C (getLengthMarkerHeight):
8659         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8660         visible on screen too.
8661
8662 2003-02-07  John Levon  <levon@movementarian.org>
8663
8664         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8665
8666 2003-02-05  Angus Leeming  <leeming@lyx.org>
8667
8668         * lyxserver.C (read_ready): revert my patch of 11 September last year
8669         as it sends PC cpu through the roof. Presumably this means that
8670         the lyxserver will no longer run on an Alpha...
8671
8672 2003-01-30  Angus Leeming  <leeming@lyx.org>
8673
8674         * factory.C (createInset): create an InsetCommandParam of type "index"
8675         and use it to 'do the right thing'.
8676
8677         * text2.C (getStringToIndex): ensure that cursor position is always
8678         reset to the reset_cursor position.
8679
8680 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8681
8682         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8683         disabled.
8684
8685 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8686
8687         * bufferview.C:
8688         * lyxcb.C:
8689         * lyxfunc.C: Output messages with identical spelling, punctuation,
8690         and spaces
8691
8692 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8693
8694         * MenuBackend.C (expandFormats): List only viewable export formats
8695         in "View" menu
8696
8697         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8698         message
8699
8700         * lyxfunc.C (getStatus): Make sure that formats other than
8701         "fax" can also be disabled
8702
8703 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8704
8705         * text3.C (dispatch): put the lfuns that insert insets in 3
8706         groups, and call doInsertInset with appropriate arguments.
8707         (doInsertInset): new function, that creates an inset and inserts
8708         it according to some boolean parameters.
8709
8710 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8711
8712         * buffer.C (readFile): remember to pass on 'par' when calling
8713         readFile recursively.
8714
8715 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8716
8717         * MenuBackend.C (expandFormats): add "..." to import formats.
8718
8719 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8720
8721         * paragraph.C (asString): Remove XForms RTL hacks.
8722
8723 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8724         * buffer.C: fix typo
8725
8726 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8727
8728         * Makefile.am (LIBS): delete var
8729         (lyx_LDADD): add @LIBS@ here instead.
8730
8731 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8732
8733         * Clarify the meaning of "wheel mouse jump"
8734
8735 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8736
8737         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8738         tabular in a float
8739
8740 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8741
8742         * importer.C (Loaders): do not preallocate 3 elements in the
8743         vector, since one ends up with 6 elements otherwise
8744
8745 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8746
8747         * DepTable.C (write): write the file name as last element of the
8748         .dep file (because it may contain spaces)
8749         (read): read info in the right order
8750
8751 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8752
8753         * paragraph_pimpl.C (simpleTeXBlanks):
8754         (simpleTeXSpecialChars):
8755         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8756
8757         * tabular.C (latex): add some missing case statements. Reindent.
8758
8759         * MenuBackend.C (expandToc): remove unused variable.
8760
8761 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8762
8763         * LColor.C:
8764         * LaTeX.C:
8765         * LyXAction.C:
8766         * MenuBackend.C:
8767         * buffer.C:
8768         * exporter.C:
8769         * lyxfunc.C:
8770         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8771         and the like.
8772
8773 2003-01-05  John Levon  <levon@movementarian.org>
8774
8775         * BufferView.h:
8776         * BufferView.C: add getEncoding()
8777
8778         * kbsequence.h:
8779         * kbsequence.C: do not store last keypress
8780
8781         * lyxfunc.h:
8782         * lyxfunc.C: store last keypress here instead. Pass encoding
8783           to getISOEncoded()
8784
8785 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8786
8787         * lyx_main.C (init): remove annoying error message when following
8788         symbolic links (bug #780)
8789
8790 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8791
8792         * text.C (insertChar):
8793         * lyxrc.C (getDescription): remove extra spaces
8794
8795 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8796
8797         * lyxrc.C (getDescription): remove extra spaces
8798
8799 2002-12-20  John Levon  <levon@movementarian.org>
8800
8801         * text3.C: hack fix for page up/down across tall rows
8802
8803 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8804
8805         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8806         not been invoked
8807
8808 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8809
8810         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8811         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8812         thesaurus is not compiled in
8813
8814 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8815
8816         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8817
8818 2002-12-16  Angus Leeming  <leeming@lyx.org>
8819
8820         * lyxrc.[Ch]:
8821         * lyx_main.C (init): remove override_x_deadkeys stuff.
8822
8823 2002-12-12  John Levon  <levon@movementarian.org>
8824
8825         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8826           insert. Only remove shift modifier under strict
8827           circumstances.
8828
8829 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8830
8831         * MenuBackend.C (expandToc): fix crash.
8832
8833 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8834
8835         * MenuBackend.C (expandToc): gettext on float names.
8836
8837 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8838
8839         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8840         implement bool empty() [bug 490]
8841
8842 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8843
8844         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8845
8846 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8847
8848         * several files: ws changes
8849
8850 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8851
8852         * text2.C (setCounter): clean up a bit, use boost.format.
8853         (updateCounters): initialize par upon declaration.
8854
8855         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8856         if the layout exists. We do not just store the layout any more.
8857         (SwitchLayoutsBetweenClasses): use boost.format
8858
8859 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8860
8861         * converter.C (convert): if from and to files are the same, use a
8862         temporary files as intermediary
8863
8864 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8865
8866         * commandtags.h:
8867         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8868
8869 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8870
8871         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8872
8873 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8874
8875         * tabular.C (asciiPrintCell): use string(size, char) instead of
8876         explicit loop.
8877
8878         * sgml.C (openTag): fix order of arguments to string constructor
8879         (closeTag): ditto
8880
8881         * lyxfunc.C (dispatch): use boost.format
8882
8883         * lots of files: change "c" -> 'c'
8884
8885 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8886
8887         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8888
8889 2002-11-25  Angus Leeming  <leeming@lyx.org>
8890
8891         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8892
8893         * lyx_main.C (init): compile fix.
8894
8895 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8896
8897         * lyx_cb.C (start): boost.formatify
8898         do not include <iostream>
8899
8900         * lengthcommon.C: ws only
8901
8902         * boost-inst.C,BoostFormat.h: add more explict instantations
8903
8904 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8905
8906         * lots of files: handle USE_BOOST_FORMAT
8907
8908 2002-11-21  John Levon  <levon@movementarian.org>
8909
8910         * pspell.C: fix compile
8911
8912 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8913
8914         * lyxfunc.C (dispatch): use boost::format
8915         (open): ditto
8916         (doImport): ditto
8917
8918         * lyxfont.C (stateText): use boost::format
8919
8920         * lyx_main.C (LyX): use boost::format
8921         (init): ditto
8922         (queryUserLyXDir): ditto
8923         (readRcFile): ditto
8924         (parse_dbg): ditto
8925         (typedef boost::function): use the recommened syntax.
8926
8927         * importer.C (Import): use boost::format
8928
8929         * debug.C (showLevel): use boost::format
8930
8931         * converter.C (view): use boost::format
8932         (convert): ditto
8933         (move): ditto
8934         (scanLog): ditto
8935
8936         * bufferview_funcs.C (currentState): use boost::format
8937
8938         * bufferlist.C (emergencyWrite): use boost::format
8939
8940         * buffer.C (readLyXformat2): use boost::format
8941         (parseSingleLyXformat2Token): ditto
8942
8943         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8944
8945         * LaTeX.C (run): use boost::format
8946
8947         * Chktex.C (scanLogFile): use boost::format
8948
8949         * BufferView_pimpl.C (savePosition): use boost::format
8950         (restorePosition): ditto
8951         (MenuInsertLyXFile): ditto
8952
8953         * BoostFormat.h: help file for explicit instation.
8954
8955 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8956
8957         * tabular.C (latex): Support for block alignment in fixed width
8958         columns.
8959
8960 2002-11-17  John Levon  <levon@movementarian.org>
8961
8962         * BufferView_pimpl.C:
8963         * lyx_cb.C:
8964         * lyxfunc.C: split filedialog into open/save
8965
8966 2002-11-08  Juergen Vigna  <jug@sad.it>
8967
8968         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8969         by my last patch (hopefully).
8970
8971 2002-11-08  John Levon  <levon@movementarian.org>
8972
8973         * iterators.h:
8974         * iterators.C:
8975         * buffer.h:
8976         * buffer.C:
8977         * paragraph.h:
8978         * paragraph.C:
8979         * toc.h:
8980         * toc.C: ParConstIterator, and use it (from Lars)
8981
8982 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8983
8984         * lyxtextclass.[Ch]: revise and add doxygen comments
8985
8986 2002-11-07  John Levon  <levon@movementarian.org>
8987
8988         * text.C: fix progress value for spellchecker
8989
8990         * toc.C: fix navigate menu for insetwrap inside minipage
8991
8992         * paragraph_funcs.C: added FIXME for suspect code
8993
8994 2002-11-07  John Levon  <levon@movementarian.org>
8995
8996         * BufferView_pimpl.C: fix redrawing of insets
8997           on buffer switch
8998
8999 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9000
9001         * text2.C (updateCounters): fix bug 668
9002
9003 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9004
9005         * text3.C (dispatch): Do not make the buffer dirty when moving the
9006         cursor.
9007
9008 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9009
9010         * vc-backend.C: STRCONV
9011         (scanMaster): ditto
9012
9013         * text2.C (setCounter): STRCONV
9014
9015         * paragraph.C (asString): STRCONV
9016
9017         * lyxlength.C (asString): STRCONV
9018         (asLatexString): ditto
9019
9020         * lyxgluelength.C (asString): STRCONV
9021         (asLatexString): ditto
9022
9023         * lyxfunc.C (dispatch): STRCONV
9024         (open): ditto
9025
9026         * lyxfont.C (stateText): STRCONV
9027
9028         * importer.C (Import): STRCONV
9029
9030         * counters.C (labelItem): STRCONV
9031         (numberLabel): ditto
9032         (numberLabel): remove unused ostringstream o
9033
9034         * chset.C: STRCONV
9035         (loadFile): ditto
9036
9037         * bufferview_funcs.C (currentState): STRCONV
9038
9039         * buffer.C (readFile): STRCONV
9040         (asciiParagraph): ditto
9041         (makeLaTeXFile): ditto
9042
9043         * Spacing.C (writeEnvirBegin): STRCONV
9044
9045         * LaTeXFeatures.C (getLanguages): STRCONV
9046         (getPackages): ditto
9047         (getMacros): ditto
9048         (getBabelOptions): ditto
9049         (getTClassPreamble): ditto
9050         (getLyXSGMLEntities): ditto
9051         (getIncludedFiles): ditto
9052
9053         * LaTeX.C: STRCONV
9054         (run): ditto
9055         (scanAuxFile): ditto
9056         (deplog): ditto
9057
9058         * LString.h: add the STRCONV macros
9059
9060         * BufferView_pimpl.C (savePosition): STRCONV
9061         (restorePosition): ditto
9062         (MenuInsertLyXFile): ditto
9063
9064         * vc-backend.C (scanMaster): change from submatch[...] to
9065         submatch.str(...)
9066
9067         * funcrequest.C: include config.h
9068
9069         * factory.C: include config.h
9070
9071         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9072
9073         * box.C: include config.h
9074
9075         * LaTeX.C (scanAuxFile): change from submatch[...] to
9076         submatch.str(...)
9077         (deplog): ditto
9078
9079 2002-10-25  Angus Leeming  <leeming@lyx.org>
9080
9081         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9082
9083         * ispell.[Ch] (setError): new method.
9084         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9085         Use setError() insetead of goto END.
9086
9087         * lyx_cb.C (AutoSave): move out child process into new class
9088         AutoSaveBuffer.
9089
9090 2002-10-30  John Levon  <levon@movementarian.org>
9091
9092         * text3.C: make start appendix undoable
9093
9094 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9095
9096         * lyxlength.C (inPixels): Fix returned value.
9097
9098         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9099         environment.
9100
9101 2002-10-24  Angus Leeming  <leeming@lyx.org>
9102
9103         * lyxgluelength.h: no need to forward declare BufferParams
9104         or BufferView, so don't.
9105
9106 2002-10-21  John Levon  <levon@movementarian.org>
9107
9108         * BufferView.C: menuUndo ->undo, redo
9109
9110         * BufferView.h: document, remove dead, make some methods private
9111
9112         * paragraph_funcs.h:
9113         * paragraph_funcs.C:
9114         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9115
9116         * buffer.h:
9117         * buffer.C:
9118         * sgml.h:
9119         * sgml.C: move sgml open/close tag into sgml.C
9120
9121         * bufferview_funcs.h: unused prototype
9122
9123         * lyxfunc.h:
9124         * lyxfunc.C: remove unused
9125
9126         * lyxtext.h:
9127         * text.C: remove unused
9128
9129 2002-10-21  John Levon  <levon@movementarian.org>
9130
9131         * BufferView.h:
9132         * BufferView.C:
9133         * BufferView_pimpl.h:
9134         * BufferView_pimpl.C: fix mouse wheel handling based on
9135           patch from Darren Freeman
9136
9137 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9138
9139         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9140
9141 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9142
9143         * lyxlength.C (inPixels): Fix hanfling of negative length.
9144         Fix LyXLength::MU case.
9145
9146 2002-10-16  John Levon  <levon@movementarian.org>
9147
9148         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9149
9150 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9151
9152         * converter.C (view): add support for $$i (file name) and $$p
9153         (file path) for the viewer command. If $$i is not specified, then
9154         it is appended to the command (for compatibility with old syntax)
9155
9156 2002-10-14  Juergen Vigna  <jug@sad.it>
9157
9158         * undo_funcs.C (textHandleUndo): alter the order in which the
9159         new undopar is added to the LyXText, as we have to set first
9160         the right prev/next and then add it as otherwise the rebuild of
9161         LyXText is not correct. Also reset the cursor to the right paragraph,
9162         with this IMO we could remove the hack in "redoParagraphs()".
9163
9164 2002-10-09  Angus Leeming  <leeming@lyx.org>
9165
9166         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9167         to turn off an optimisation if a new inset is to be inserted.
9168
9169 2002-10-11 André Pönitz <poenitz@gmx.net>
9170
9171         * lyxtext.h: make some functions public to allow access
9172         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9173
9174 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9175
9176         * text3.C (dispatch): when changing layout, avoid an infinite loop
9177         [bug #652]
9178
9179 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9180
9181         * lyxrc.C (read): treat a viewer or converter command of "none" as
9182         if it were empty.
9183
9184         * MenuBackend.C (expandFormats): for an update, also allow the
9185         formats that are not viewable
9186
9187         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9188         script if it is newer than the lyxrc.defaults in user directory
9189
9190 2002-10-07 André Pönitz <poenitz@gmx.net>
9191
9192         * text.C: Vitaly Lipatov's small i18n fix
9193
9194 2002-09-25  Angus Leeming  <leeming@lyx.org>
9195
9196         * ispell.h: doxygen fix.
9197
9198 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9199
9200         * buffer.h (readFile): Add a new argument to the method, to allow
9201         reading of old-format templates.
9202
9203 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9204
9205         * toc.C (getTocList): Get TOC from InsetWrap.
9206
9207 2002-09-16  John Levon  <levon@movementarian.org>
9208
9209         * lyxfunc.C: check tabular for cut/copy too
9210
9211 2002-09-12  John Levon  <levon@movementarian.org>
9212
9213         * LyXAction.C: tidy
9214
9215         * factory.h:
9216         * factory.C: add header
9217
9218         * paragraph_funcs.h:
9219         * paragraph_funcs.C: cleanup
9220
9221 2002-09-11  John Levon  <levon@movementarian.org>
9222
9223         * PrinterParams.h: odd/even default to true
9224
9225 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9226
9227         * PrinterParams.h: update printer parameters for new xforms dialog
9228
9229 2002-09-11  Angus Leeming  <leeming@lyx.org>
9230
9231         * lyxserver.C (read_ready): re-write to make it more transparent
9232         and to make it work in coherent fashion under Tru64 Unix.
9233
9234 2002-09-11  André Pönitz <poenitz@gmx.net>
9235
9236         * commandtags.h:
9237         * LyXAction.C:
9238         * text3.C: implement LFUN_WORDSEL
9239
9240 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9241
9242         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9243         make floatlist_ a boost::shared_ptr<FloatList>
9244
9245         * lyxtextclass.C: include FloatList.h
9246         (LyXTextClass): initialize floatlist_
9247         (TextClassTags): add TC_NOFLOAT
9248         (Read): match "nofloat" to TC_NOFLOAT and use it.
9249         (readFloat): modify call to floatlist_
9250         (floats): ditto
9251         (floats): ditto
9252
9253         * FloatList.[Ch] (FloatList): remove commented out float
9254         initialization.
9255         (erase): new function
9256
9257 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9258
9259         * MenuBackend.C (expandToc): fix crash when there is no document
9260         open
9261
9262 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9263
9264         * many files: Add insetwrap.
9265
9266 2002-09-09  John Levon  <levon@movementarian.org>
9267
9268         * text2.C: remove confusing and awkward depth wraparound
9269
9270 2002-09-09  John Levon  <levon@movementarian.org>
9271
9272         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9273
9274         * buffer.h:
9275         * buffer.C: remove getIncludeonlyList()
9276
9277         * paragraph.C:
9278         * lyxfunc.C: remove headers
9279
9280 2002-09-09  Juergen Vigna  <jug@sad.it>
9281
9282         * text.C (getColumnNearX): fix form Michael this is most
9283         probably a cut&paste bug.
9284
9285 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9286
9287         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9288
9289         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9290         references, ws changes.
9291
9292         * text2.C (init): update counters after init
9293         (insertParagraph): no need to set counter on idividual paragraphs.
9294         (setCounter): access the counters object in the textclass object
9295         on in the buffer object.
9296         (updateCounters): ditto
9297
9298         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9299         shared_ptr<Counters> to avoid loading counters.h in all
9300         compilation units.
9301         (LyXTextClass): initialize ctrs_
9302         (TextClassTags): add TC_COUNTER, and ...
9303         (Read): use it here.
9304         (CounterTags): new tags
9305         (readCounter): new function
9306         (counters): new funtion
9307         (defaultLayoutName): return a const reference
9308
9309         * counters.C (Counters): remove contructor
9310         (newCounter): remove a couple of unneeded statements.
9311         (newCounter): simplify a bit.
9312         (numberLabel): some small formatting changes.
9313
9314         * buffer.[Ch]: remove all traces of counters, move the Counters
9315         object to the LyXTextClass.
9316
9317 2002-09-06  Alain Castera  <castera@in2p3.fr>
9318
9319         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9320         package to set the horizontal alignment on fixed width columns.
9321
9322         * lyx_sty.C:
9323         * lyx_sty.h: added tabularnewline macro def.
9324
9325         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9326
9327 2002-09-06  John Levon  <levon@movementarian.org>
9328
9329         * LyXAction.C: tooltips for sub/superscript
9330
9331         * MenuBackend.C: a bit more verbose
9332
9333         * lyxfunc.C: tiny clean
9334
9335         * undo_funcs.C: document undo_frozen
9336
9337 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9338
9339         * counters.C (Counters): add missing algorithm counter.
9340
9341         * text2.C (setCounter): lookup the counter with layouts latexname
9342         instead of by section number.
9343         (setCounter): use a hackish way to lookup the correct enum
9344         counter.
9345         a float name->type change
9346         reset enum couners with counter name directly instead of depth value.
9347
9348         * counters.C (Counters): remove the push_backs, change to use the
9349         float type not the float name.
9350         (labelItem): remove unused string, float name->type change
9351
9352         * counters.h: don't include vector, loose the enums and sects vectors
9353
9354 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9355
9356         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9357         (Read): add float->TC_FLOAT to textclassTags
9358         (Read): and handle it in the switch
9359         (readFloat): new function
9360
9361         * FloatList.C (FloatList): comment out the hardcoded float
9362         definitions.
9363
9364         * lyxlayout.h: ws change.
9365
9366 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9367
9368         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9369
9370 2002-09-03  Angus Leeming  <leeming@lyx.org>
9371
9372         * BufferView_pimpl.h: qualified name is not allowed in member
9373         declaration: WorkArea & Pimpl::workarea() const;
9374
9375         * factory.C: added using std::endl directive.
9376
9377         * text3.C: added using std::find and std::vector directives.
9378
9379 2002-08-29  André Pönitz <poenitz@gmx.net>
9380
9381         * lyxtext.h:
9382         * text2.C: remove unused member number_of_rows
9383
9384         * Makefile.am:
9385         * BufferView2.C: remove file, move contents to...
9386         * BufferView.C: ... here
9387
9388         * BufferView_pimpl.C:
9389         * factory.C: move more inset creation to factory
9390
9391         * vspace.C: avoid direct usage of LyXText, ws changes
9392
9393         * BufferView.[Ch]:
9394                 don't provide direct access to WorkArea, use two simple
9395                 acessors haveSelction() and workHeight() instead
9396
9397
9398 2002-08-29  John Levon  <levon@movementarian.org>
9399
9400         * BufferView_pimpl.C (dispatch): do not continue when
9401           no buffer
9402
9403 2002-08-28  André Pönitz <poenitz@gmx.net>
9404
9405         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9406
9407         * BufferView.h:
9408         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9409
9410 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9411
9412         * buffer.C: increment LYX_FORMAT to 221
9413
9414         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9415         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9416
9417         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9418
9419         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9420
9421 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9422
9423         * factory.C (createInset): use LyXTextClass::floats
9424
9425         * MenuBackend.C (expandFloatListInsert):
9426         (expandFloatInsert):
9427         (expandToc):
9428
9429         * text2.C (setCounter):
9430
9431         * LaTeXFeatures.C (useFloat):
9432         (getFloatDefinitions):
9433
9434         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9435
9436         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9437         floatlist_, with accessor floats().
9438
9439         * FloatList.h: remove global FloatList
9440
9441 2002-08-26  André Pönitz <poenitz@gmx.net>
9442
9443         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9444
9445         * BufferView.h:
9446         * BufferView2.C:
9447         * BufferView_pimpl.C:
9448         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9449
9450 2002-08-25  John Levon  <levon@movementarian.org>
9451
9452         * LyXAction.C: fix margin note description
9453
9454 2002-08-24  John Levon  <levon@movementarian.org>
9455
9456         * buffer.C:
9457         * bufferlist.C:
9458         * bufferview_funcs.C:
9459         * lyxfont.C:
9460         * undo_funcs.C: cleanups
9461
9462         * lyxfunc.C: disable CUT/COPY when no selection
9463
9464 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9465
9466         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9467         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9468
9469         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9470         Add backward compatibility to "mono", "gray" and "no".
9471
9472 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9473
9474         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9475         (and file_format >= 200).
9476
9477 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9480
9481 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9482
9483         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9484
9485 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9486
9487         * BufferView_pimpl.C:
9488         * LyXAction.C:
9489         * buffer.C:
9490         * commandtags.h:
9491         * lyxfunc.C:
9492         * paragraph.[Ch]:
9493         * text2.C:
9494         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9495         inset and code to make it  work with the paragraph code. The inset
9496         can be anywhere in the paragraph, but will only do the expected
9497         thing in LaTeX if the layout file contains the parameter line
9498                         OptionalArgs    1
9499         (or more generally, a nonzero value) for that layout.
9500
9501 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9502
9503         * paragraph.h: remove the declaration of undefined counters class
9504         function.
9505
9506 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9507
9508         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9509         Dr. Richard Hawkins.
9510
9511 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9512
9513         * paragraph_funcs.h: remove some unneeded includes
9514
9515         * text.C (backspace): pasteParagraph now in global scipe
9516
9517         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9518         (pasteSelection): ditto
9519
9520         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9521         * paragraph_funcs.C (pasteParagraph): ... here
9522
9523 2002-08-20  André Pönitz <poenitz@gmx.net>
9524
9525         * commandtags.h: new LFUNs for swapping/copying table row/colums
9526
9527         * LyXAction.C:
9528         * lyxfunc.C: support for new lfuns
9529
9530 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9531
9532         * tabular.C:
9533         * buffer.[Ch]: remove NO_COMPABILITY stuff
9534
9535 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9536
9537         * boost.C (throw_exception): new file, with helper function for
9538         boost compiled without exceptions.
9539
9540         * paragraph.h:
9541         * lyxlength.C:
9542         * buffer.C:
9543         * ParameterStruct.h:
9544         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9545
9546         * bufferlist.C (emergencyWriteAll): use boost bind
9547
9548         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9549
9550         * text.C: include paragraph_funcs.h
9551         (breakParagraph): breakParagraph is now in global scope
9552
9553         * paragraph_funcs.[Ch]: new files
9554
9555         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9556         global scope
9557
9558         * buffer.C: include paragraph_funcs.h
9559         (insertStringAsLines): breakParagraph is now in global scope
9560
9561         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9562         paragraph_funcs.C
9563
9564         * CutAndPaste.C: include paragraph_funcs.h
9565         (cutSelection): breakParagraphConservative is now in global scope
9566         (pasteSelection): ditto
9567
9568         * buffer.h: declare oprator== and operator!= for
9569         Buffer::inset_iterator
9570
9571         * bufferlist.C (emergencyWrite): don't use fmt(...)
9572
9573         * text3.C: add using std::endl
9574
9575         * BufferView.C (moveCursorUpdate): remove default arg
9576
9577 2002-08-20  André Pönitz <poenitz@gmx.net>
9578
9579         * buffer.[Ch]: move inline functions to .C
9580
9581         * BufferView2.C:
9582         * BufferView_pimpl.C:
9583         * text.C:
9584         * buffer.[Ch]: use improved inset_iterator
9585
9586         * buffer.C:
9587         * paragraph.[Ch]: write one paragraph at a time
9588
9589 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9590
9591         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9592         style if style is not specified.
9593
9594 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * text2.C (setCounter): when searching for right label for a
9597         caption, make sure to recurse to parent insets (so that a caption
9598         in a minipage in a figure float works) (bug #568)
9599
9600 2002-08-20  André Pönitz <poenitz@gmx.net>
9601
9602         * text3.C: new file for LyXText::dispatch() and helpers
9603
9604         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9605
9606         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9607
9608 2002-08-19  André Pönitz <poenitz@gmx.net>
9609
9610         * lyxtext.h:
9611         * text.C: new LyXText::dispatch()
9612
9613         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9614
9615 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9616
9617         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9618
9619         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9620         Hebrew text.
9621
9622 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * Makefile.am: use $(variables) instead of @substitutions@
9625
9626 2002-08-15  André Pönitz <poenitz@gmx.net>
9627
9628         * lyxfunc.C:
9629         * BufferView_pimpl.C: streamlining mathed <-> outer world
9630         interaction
9631
9632         * commandtags.h:
9633         * LyXAction.C: remove unused LFUN_MATH
9634
9635 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9636
9637         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9638
9639 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9640
9641         * paragraph.C (Paragraph): reformat a bit
9642         (cutIntoMinibuffer): use builtin InsetList function instad of
9643         doing it manually.
9644         (getInset): ditto
9645
9646         * buffer.C: include boost/bind.hpp, add using std::for_each
9647         (writeFileAscii): use ParagraphList iterators
9648         (validate): use for_each for validate traversal of paragraphs
9649         (getBibkeyList): use ParagraphList iterators
9650         (resizeInsets): use for_each to resizeInsetsLyXText for all
9651         paragraphs.
9652         (getParFromID): use ParagraphList iterators
9653
9654         * BufferView2.C (lockInset): use paragraph list and iterators
9655
9656 2002-08-14  John Levon  <levon@movementarian.org>
9657
9658         * lyxserver.C: remove spurious xforms include
9659
9660 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9661
9662         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9663
9664 2002-08-13  André Pönitz <poenitz@gmx.net>
9665
9666         * LyXAction.[Ch]:
9667         * lyxfunc.C: further cleaning
9668
9669 2002-08-13  André Pönitz <poenitz@gmx.net>
9670
9671         * funcrequest.h: new constructor
9672
9673         * funcrequest.C: move stuff here from .h
9674
9675         * Makefile.am:
9676         * BufferView_pimpl.C:
9677         * LyXAction.C:
9678         * toc.C:
9679         * lyxfunc.C: subsequent changes
9680
9681         * lyxfunc.h: new view() member function
9682
9683         * lyxfunc.C: subsequent changes
9684
9685 2002-08-13  Angus Leeming  <leeming@lyx.org>
9686
9687         * BufferView2.C:
9688         * BufferView_pimpl.C:
9689         * buffer.C:
9690         * converter.C:
9691         * importer.C:
9692         * lyxfunc.C:
9693         * lyxvc.C:
9694         * toc.C:
9695         * vc-backend.C:
9696         changes due to the changed LyXView interface that now returns references
9697         to member variables not pointers.
9698
9699 2002-08-13  Angus Leeming  <leeming@lyx.org>
9700
9701         * WordLangTuple (word, lang_code): return references to strings,
9702         not strings.
9703
9704         * BufferView.h:
9705         * SpellBase.h:
9706         * lyxtext.h: forward-declare WordLangTuple.
9707
9708         * BufferView2.C:
9709         * ispell.C:
9710         * pspell.C:
9711         * text.C: #include "WordLangTuple.h".
9712
9713         * lyxtext.h:
9714         * text.C: (selectNextWordToSpellcheck): constify return type.
9715
9716 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9717
9718         * buffer.C:
9719         * buffer.h:
9720         * lyxtext.h:
9721         * paragraph.C:
9722         * paragraph_pimpl.h:
9723         * text.C:
9724         * text2.C:
9725         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9726         suggested by Angus.
9727         Made updateCounter always count from start of buffer, and removed
9728         second argument (par).
9729         Reverted floats number display to '#'. Perhaps I'll try again when the
9730         code base is sanitized a bit.
9731
9732 2002-08-12  Angus Leeming  <leeming@lyx.org>
9733
9734         * buffer.[Ch] (getLabelList): constify.
9735
9736 2002-08-07  André Pönitz <poenitz@gmx.net>
9737
9738         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9739
9740         * funcrequest.h: extension to keep mouse (x,y) position
9741
9742 2002-08-12  Juergen Vigna  <jug@sad.it>
9743
9744         * BufferView2.C (insertErrors): forbid undo when inserting error
9745         insets.
9746
9747         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9748
9749 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9750
9751         * ParagraphList.[Ch]: new files
9752
9753         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9754
9755         * BufferView2.C (lockInset): ParagraphList changes
9756         * toc.C: ditto
9757         * text2.C: ditto
9758         * bufferlist.C: ditto
9759         * buffer.h: ditto
9760         * buffer.C: ditto
9761
9762 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9763
9764         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9765         unused class variable counter_,
9766
9767         * paragraph.[Ch] (getFirstCounter): delete unused function
9768
9769         * counters.C: include LAssert.h
9770         (reset): add a new function with no arg, change other version to
9771         not have def. arg and to not allow empty arg.
9772
9773         * text2.C (setCounter): remove empty arg from call to Counters::reset
9774
9775 2002-08-11  John Levon  <levon@movementarian.org>
9776
9777         * Makefile.am: add WordLangTuple.h
9778
9779 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9780
9781         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9782         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9783
9784         * insets/insettext.C: InsetList changes
9785
9786         * graphics/GraphicsSupport.C (operator()): InsetList changes
9787
9788         * toc.C (getTocList): InsetList changes
9789
9790         * paragraph_pimpl.[Ch]: InsetList changes
9791
9792         * paragraph.[Ch]: InsetList changes
9793
9794         * buffer.C (inset_iterator): InsetList changes
9795         (setParagraph): ditto
9796         * buffer.h (inset_iterator): ditto
9797         * iterators.C (operator++): ditto
9798         * iterators.h: ditto
9799
9800         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9801
9802         * InsetList.[Ch]: new files, most InsetList handling moved out of
9803         paragraph.C.
9804
9805         * BufferView2.C (removeAutoInsets): InsetList changes
9806         (lockInset): ditto
9807         (ChangeInsets): ditto
9808
9809 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9810
9811         * paragraph_pimpl.h (empty): new function
9812
9813         * paragraph.[Ch] (empty): new function
9814
9815         * other files: use the new Paragraph::empty function
9816
9817 2002-08-09  John Levon  <levon@movementarian.org>
9818
9819         * lyxtext.h: remove unused refresh_height
9820
9821 2002-08-09  John Levon  <levon@movementarian.org>
9822
9823         * Makefile.am:
9824         * sgml.h:
9825         * sgml.C:
9826         * buffer.C:
9827         * paragraph.h:
9828         * paragraph.C: move sgml char escaping out of paragraph
9829
9830         * paragraph.h:
9831         * paragraph.C: remove id setter
9832
9833         * buffer.C:
9834         * paragraph.C:
9835         * paragraph_pimpl.C: remove dead tex_code_break_column
9836
9837         * bufferview_funcs.C: small cleanup
9838
9839         * lyxfunc.C: remove dead proto
9840
9841         * lyxtext.h: make some stuff private. Remove some dead stuff.
9842
9843         * lyxgluelength.C: make as[LyX]String() readable
9844
9845 2002-08-08  John Levon  <levon@movementarian.org>
9846
9847         * LyXAction.h:
9848         * LyXAction.C:
9849         * MenuBackend.C:
9850         * ToolbarDefaults.C:
9851         * lyxfunc.C:
9852         * lyxrc.C:
9853         * toc.C: lyxaction cleanup
9854
9855 2002-08-08  John Levon  <levon@movementarian.org>
9856
9857         * BufferView2.C: small cleanup
9858
9859         * lyxfind.h:
9860         * lyxfind.C: move unnecessary header into the .C
9861
9862 2002-08-08  John Levon  <levon@movementarian.org>
9863
9864         * funcrequest.h: just tedious nonsense
9865
9866         * lyx_main.h:
9867         * lyx_main.C: cleanups
9868
9869         * buffer.C:
9870         * vspace.C: remove dead header lyx_main.h
9871
9872 2002-08-07  Angus Leeming  <leeming@lyx.org>
9873
9874         * Paragraph.[Ch]:
9875         * paragraph_pimpl.h:
9876         Forward declare class Counters in paragraph.h by moving the ctrs member
9877         variable into Paragraph::Pimpl.
9878         (counters): new method, returning a reference to pimpl_->ctrs.
9879
9880         * text2.C: ensuing changes.
9881
9882 2002-08-07  John Levon  <levon@movementarian.org>
9883
9884         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9885
9886         * BufferView_pimpl.C: announce X selection on double/triple
9887           click
9888
9889         * lyx_main.C: use correct bool in batch dispatch
9890
9891         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9892
9893 2002-08-07  André Pönitz <poenitz@gmx.net>
9894
9895         * funcrequest.h: new class to wrap a kb_action and its argument
9896
9897         * BufferView.[Ch]:
9898         * BufferView_pimpl[Ch]:
9899         * LaTeX.C:
9900         * LyXAction.[Ch]:
9901         * lyxfunc.[Ch]:
9902         * lyxrc.C: subsequent changes
9903
9904
9905 2002-08-07  John Levon  <levon@movementarian.org>
9906
9907         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9908           document options change.
9909
9910 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9911
9912         * counters.[Ch]
9913         * text2.C
9914         * paragraph.[Ch]
9915         * makefile.am: move counters functionality over from
9916         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9917
9918 2002-08-06  John Levon  <levon@movementarian.org>
9919
9920         * WordLangTuple.h: new file for word + language code tuple
9921
9922         * SpellBase.h:
9923         * pspell.h:
9924         * pspell.C:
9925         * ispell.h:
9926         * ispell.C:
9927         * lyxtext.h:
9928         * text.C:
9929         * text2.C:
9930         * BufferView.h:
9931         * BufferView2.C: use WordLangTuple
9932
9933         * layout.h:
9934         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9935
9936 2002-08-06  John Levon  <levon@movementarian.org>
9937
9938         * lyx_main.C: fix cmdline batch handling
9939
9940 2002-08-06  André Pönitz <poenitz@gmx.net>
9941
9942         * lyxrc.C: set default for show_banner to true
9943
9944 2002-08-06  John Levon  <levon@movementarian.org>
9945
9946         * pspell.C: fix a crash, and allow new aspell to work
9947
9948 2002-08-06  John Levon  <levon@movementarian.org>
9949
9950         * lyxfunc.C:
9951         * kbmap.C: small cleanup
9952
9953         * vspace.h:
9954         * vspace.C: add const
9955
9956 2002-08-05  John Levon  <levon@movementarian.org>
9957
9958         * LyXAction.C: back to tabular-insert
9959
9960 2002-08-04  John Levon  <levon@movementarian.org>
9961
9962         * BufferView.h:
9963         * BufferView.C: cosmetic change
9964
9965         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9966
9967         * bufferlist.C:
9968         * buffer.h:
9969         * buffer.C:
9970         * lyxcb.h:
9971         * lyxcb.C:
9972         * lyxserver.C:
9973         * lyxvc.C:
9974         * vc-backend.C:
9975         * BufferView2.C: purge all "Lyx" not "LyX" strings
9976
9977         * lyxcursor.h:
9978         * lyxcursor.C: attempt to add some documentation
9979
9980         * lyxfunc.C:
9981         * commandtags.h:
9982         * LyXAction.C:
9983         * ToolbarDefaults.C:
9984         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9985           merge with LFUN_TABULAR_INSERT
9986
9987         * Makefile.am:
9988         * SpellBase.h:
9989         * ispell.h:
9990         * ispell.C:
9991         * pspell.h:
9992         * pspell.C: split up i/pspell implementations into separate
9993           files, many cleanups
9994
9995         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9996
9997         * text2.C: some cleanup
9998
9999         * lyxfunc.C: don't check for isp_command == "none" any more, it
10000           didn't make any sense
10001
10002 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10003
10004         * counters.[Ch]
10005         * text2.C
10006         * paragraph.[Ch]
10007         * makefile.am: move counters functionality over
10008         from text2.C/paragraph.[Ch] to counters.[Ch], and
10009         make proper C++.
10010 2002-08-02  John Levon  <levon@movementarian.org>
10011
10012         * buffer.C: s/lyxconvert/lyx2lyx/
10013
10014 2002-08-02  Angus Leeming  <leeming@lyx.org>
10015
10016         * lyxlex.C: revert John's change as it breaks reading of the user
10017         preamble.
10018
10019 2002-08-02  Angus Leeming  <leeming@lyx.org>
10020
10021         * importer.C (Import):
10022         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10023         changes due to LyXView::view() now returning a boost::shared_ptr.
10024
10025 2002-08-02  John Levon  <levon@movementarian.org>
10026
10027         * lyxlex.C: small cleanup
10028
10029 2002-08-02  John Levon  <levon@movementarian.org>
10030
10031         * text2.C (status): small cleanup, no logic change
10032
10033 2002-08-01  John Levon  <levon@movementarian.org>
10034
10035         * buffer.h:
10036         * buffer.C (writeFile): don't output alerts, caller
10037           handles this
10038
10039         * bufferlist.C:
10040         * lyx_cb.C: from above
10041
10042         * lyxfunc.C: allow to open non-existent files
10043
10044 2002-07-31  John Levon  <levon@movementarian.org>
10045
10046         * lyxserver.C: don't let incidental errors get
10047           in the way (errno)
10048
10049 2002-07-30  John Levon  <levon@movementarian.org>
10050
10051         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10052
10053 2002-07-30  John Levon  <levon@movementarian.org>
10054
10055         * lyxserver.h:
10056         * lyxserver.C: remove I/O callback too
10057
10058 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10059
10060         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10061         log.
10062
10063 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10064
10065         * many files: strip,frontStrip -> trim,ltrim,rtrim
10066
10067 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10068
10069         * PrinterParams.h: remove extern containsOnly, and include
10070         support/lstrings.h instead.
10071
10072         * LaTeX.C (scanAuxFile): modify because of strip changes
10073         (deplog): ditto
10074         * buffer.C (makeLaTeXFile): ditto
10075         * bufferparams.C (writeFile): ditt
10076         * lyxfont.C (stateText): ditto
10077         * lyxserver.C (read_ready): ditto
10078         * vc-backend.C (scanMaster): ditto
10079
10080         * BufferView_pimpl.h: ws changes
10081
10082         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10083
10084 2002-07-26  André Pönitz <poenitz@gmx.net>
10085
10086         * kb_sequence.C: remove unnedred usings
10087
10088 2002-07-26  Juergen Vigna  <jug@sad.it>
10089
10090         * lyxfind.C (LyXReplace): we have to check better if the returned
10091         text is not of theLockingInset()->getLockingInset().
10092
10093 2002-07-25  Juergen Vigna  <jug@sad.it>
10094
10095         * lyxfind.C (LyXReplace): don't replace if we don't get the
10096         right LyXText.
10097
10098         * undo_funcs.C (createUndo): remove debugging code.
10099
10100 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10101
10102         * buffer.C (parseSingleLyXformat2Token): Use default placement
10103         when reading old floats.
10104
10105         * FloatList.C (FloatList): Change the default placement of figure
10106         and tables to "tbp".
10107
10108 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * MenuBackend.C: using std::max
10111
10112 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10113
10114         * MenuBackend.C (expandToc):
10115         (expandToc2): code moved from xforms menu frontend. It is now
10116         generic and TOCs are transparent to menu frontends.
10117
10118 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10119
10120         * toc.C (getTocList): protect against buf=0
10121
10122         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10123         Menu as first parameter. Now, this calls itself recursively to
10124         expand a whole tree (this will be useful for TOC handling)
10125         (expandFloatInsert): remove 'wide' version of floats
10126
10127         * MenuBackend.h (submenuname): returns the name of the submenu.
10128         (submenu): returns the submenu itself, provided it has been
10129         created by MenuBackend::expand
10130
10131 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10134         insets which have noFontChange == true. (bug #172)
10135
10136 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10137
10138         * BufferView_pimpl.C: add connection objects and use them...
10139         (Pimpl): here.
10140
10141 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10142
10143         * MenuBackend.C (expandLastfiles):
10144         (expandDocuments):
10145         (expandFormats):
10146         (expandFloatListInsert):
10147         (expandFloatInsert):
10148         (expand): split expand in parts
10149
10150 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10151
10152         * lyx_gui.C: use lyx_gui::exit()
10153
10154 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10155
10156         * LyXAction.C: show the failing pseudo action
10157
10158 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10159
10160         * buffer.C (readFile): Run the lyxconvert script in order to read
10161         old files.
10162
10163 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * LyXAction.C:
10166         * commandtags.h:
10167         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10168
10169 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * LyXAction.C:
10172         * commandtags.h:
10173         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10174
10175 2002-07-22  Herbert Voss  <voss@lyx.org>
10176
10177         * lengthcommon.C:
10178         * lyxlength.[Ch]: add support for the vertical lengths
10179
10180 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10181
10182         * toc.[Ch]: std:: fixes
10183
10184 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * lyxrc.C: do not include lyx_main.h
10187
10188         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10189         for layouts
10190
10191         * lyxrc.C:
10192         * encoding.C:
10193         * bufferlist.C:
10194         * BufferView2.C: include "lyxlex.h"
10195
10196         * tabular.h:
10197         * bufferparams.h: do not #include "lyxlex.h"
10198
10199         * lyxtextclasslist.C (Add): remove method
10200         (classlist): renamed to classlist_
10201
10202         * paragraph_pimpl.C:
10203         * paragraph.C:
10204         * text2.C:
10205         * CutAndPaste.C:
10206         * bufferview_funcs.C:
10207         * bufferlist.C:
10208         * text.C:
10209         * LaTeXFeatures.C:
10210         * buffer.C:
10211         * toc.C (getTocList): use BufferParams::getLyXTextClass
10212
10213         * toc.C (getTocList): use InsetFloat::addToToc
10214
10215         * toc.[Ch]: new files, containing helper functions to handle table
10216         of contents
10217
10218         * lyxfunc.C (dispatch): no need to remove spaces around command
10219         given as a string
10220         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10221         first command of the sequence; it is not very clever, but I do not
10222         have a better idea, actually
10223
10224         * LyXAction.C (LookupFunc): make sure to remove space at the
10225         beginning and end of the command
10226
10227 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10228
10229         * MenuBackend.C (getMenubar): new method: return the menubar of
10230         this menu set
10231         (read): treat differently reading of menu and menubar (in
10232         particular, the menubar has no name now)
10233         (Menu::menubar): remove
10234
10235         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10236         saving is finished
10237
10238 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10239
10240         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10241         a bibitem inset in a RTL paragraph.
10242
10243 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * paragraph_pimpl.C: constify
10246
10247         * BufferView_pimpl.C:
10248         * LaTeX.C:
10249         * lyxfunc.C: fix dispatch in a nicer way
10250
10251 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * lyxfunc.C (dispatch):
10254         * BufferView_pimpl.C:
10255         * BufferView_pimpl.h:
10256         * BufferView.C:
10257         * BufferView.h: rename Dispatch() to dispatch()
10258
10259         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10260
10261         * lyxlayout.C (Read): honor DependsOn tag
10262
10263         * lyxlayout.[Ch] (depends_on): new method
10264
10265         * version.C.in: update lyx_docversion
10266
10267         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10268
10269         * paragraph.C (validate): remove from here...
10270         * paragraph_pimpl.C (validate): ... and move here
10271         (isTextAt): make it const
10272
10273         * buffer.C (getLists): ws cleanup
10274
10275 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10276
10277         * language.C (read): Use iso8859-1 encoding in latex_lang
10278         (this prevents LyX from crashing when using iso10646-1 encoding).
10279
10280 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10281
10282         * text2.C (toggleInset): if cursor is inside an inset, close the
10283         inset and leave cursor _after_ it
10284
10285 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10286
10287         * lyxfunc.C: move minibuffer completion handling out of here
10288
10289 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * BufferView_pimpl.C:
10292         * LaTeX.C: fix dispatch calls
10293
10294 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10295
10296         * text.C (drawChars): Fix Arabic text rendering.
10297
10298 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * LyXAction.C:
10301         * commandtags.h:
10302         * lyxfunc.C: remove message-push/pop
10303
10304         * lyxserver.C:
10305         * lyxfunc.h:
10306         * lyxfunc.C: rationalise some code by removing verboseDispatch
10307           in favour of a bool argument to dispatch()
10308
10309 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10310
10311         * lyx_main.C (init): make sure to read symlinks as absolute paths
10312
10313 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * lyxfunc.h:
10316         * lyxfunc.C: no need for commandshortcut to be a member
10317
10318 2002-07-15  André Pönitz <poenitz@gmx.net>
10319
10320         * converter.C: add support for $$s (scripts from lib/scripts dir)
10321         * lyx_main.C: white space
10322
10323 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10324
10325         * bufferlist.C:
10326         * lyxrc.h:
10327         * lyxrc.C: remove second exit confirmation
10328
10329 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * BufferView.h:
10332         * BufferView.C:
10333         * BufferView2.C:
10334         * BufferView_pimpl.h:
10335         * BufferView_pimpl.C:
10336         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10337
10338 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * MenuBackend.C (expand): add numeric shortcuts to document menu
10341
10342         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10343
10344 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * lyxfont.C (setLyXFamily):
10347         (setLyXSeries):
10348         (setLyXShape):
10349         (setLyXSize):
10350         (setLyXMisc):
10351         (lyxRead):
10352         * debug.C (value):
10353         * buffer.C (asciiParagraph): use ascii_lowercase
10354
10355 2002-07-15  Mike Fabian  <mfabian@suse.de>
10356
10357         * lyxlex_pimpl.C (search_kw):
10358         * lyxlex.C (getLongString):
10359         * converter.h (operator<):
10360         * converter.C (operator<):
10361         * buffer.C (parseSingleLyXformat2Token):
10362         (asciiParagraph):
10363         * ToolbarDefaults.C (read):
10364         * MenuBackend.C (checkShortcuts):
10365         (read):
10366         * LColor.C (getFromGUIName):
10367         (getFromLyXName): use the compare_ascii_no_case instead of
10368         compare_no_case, because in turkish, 'i' is not the lowercase
10369         version of 'I', and thus turkish locale breaks parsing of tags.
10370
10371 2002-07-16  Angus Leeming  <leeming@lyx.org>
10372
10373         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10374         now takes a Buffer const & argument.
10375
10376 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * BufferView.C (resize): check there's a buffer to resize
10379
10380 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * lyxfunc.C: remove dead code
10383
10384         * lyxserver.h:
10385         * lyxserver.C: use lyx_guii::set_read_callback
10386
10387 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10388
10389         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10390         an inset in a RTL paragraph.
10391
10392 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * lyxfunc.C: repaint after a font size update
10395
10396 2002-07-15  André Pönitz <poenitz@gmx.net>
10397
10398         * lyxlength.C: inBP should be able to return negative values
10399
10400 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10401
10402         * lyxfunc.C: use lyx_gui::update_fonts()
10403
10404 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * lyxfunc.C: use lyx_gui::update_color()
10407
10408 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * bufferlist.C:
10411         * lyxfunc.h:
10412         * lyxfunc.C:
10413         * lyxrc.h:
10414         * lyxrc.C: remove file->new asks for name option, and let
10415           buffer-new take an argument
10416
10417 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * BufferView_pimpl.C: remove unneeded extra repaint()
10420
10421 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * LyXAction.C: allow command-sequence with NoBuffer
10424
10425         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10426
10427 2002-07-10  Angus Leeming  <leeming@lyx.org>
10428
10429         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10430
10431 2002-07-09  Angus Leeming  <leeming@lyx.org>
10432
10433         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10434
10435 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * lengthcommon.h: whitespace
10438
10439         * lyxfunc.C: update scrollbar after goto paragraph
10440
10441         * lyxtext.h: factor out page break drawing, and fix it so
10442           page break/added space paints as selected nicely
10443
10444 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10445
10446         * BufferView_pimpl.C: add FIXMEs, clean up a little
10447
10448 2002-07-09  André Pönitz <poenitz@gmx.net>
10449
10450         * lyxfont.[Ch]: support for wasy symbols
10451
10452 2002-07-08  André Pönitz <poenitz@gmx.net>
10453
10454         * BufferView_pimpl.C: apply John's patch for #93.
10455
10456 2002-07-05  Angus Leeming  <leeming@lyx.org>
10457
10458         * BufferView_pimpl.C (buffer): generate previews if desired.
10459
10460         * LColor.h: add "preview" to the color enum.
10461
10462         * LColor.C (LColor): add a corresponding entry to the items array.
10463
10464         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10465         with this buffer.
10466
10467 2002-07-05  Angus Leeming  <leeming@lyx.org>
10468
10469         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10470         The body of the code is now in the method that is passed an ostream &
10471         rather than a file name.
10472         Pass an additional only_preamble parameter, useful for the forthcoming
10473         preview stuff.
10474
10475 2002-07-03  André Pönitz <poenitz@gmx.net>
10476
10477         * lyxfunc.C: simplify getStatus() a bit for math stuff
10478
10479 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10480
10481         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10482
10483 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * text.C (changeRegionCase): do not change case of all the
10486         document when region ends at paragraph end (bug #461)
10487
10488 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * paragraph.C (startTeXParParams):
10491         (endTeXParParams): add \protect when necessary
10492
10493 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10494
10495         * BufferView_pimpl.C (workAreaExpose): remove warning
10496
10497 2002-06-27  Angus Leeming  <leeming@lyx.org>
10498
10499         * Makefile.am: add lyxlayout_ptr_fwd.h.
10500
10501 2002-06-26  André Pönitz <poenitz@gmx.net>
10502
10503         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10504
10505 2002-06-25  Angus Leeming  <leeming@lyx.org>
10506
10507         * lyxfunc.C (dispatch): Comment out the call to
10508         grfx::GCache::changeDisplay. The method no longer exists now that the
10509         pixmap generation part of the graphics loader has been moved into
10510         InsetGraphics.
10511
10512 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * text2.C: layout as layout
10515
10516         * text.C: layout as layout
10517
10518         * tabular.C (OldFormatRead): layout as layout
10519
10520         * paragraph_pimpl.C (TeXDeeper): layout as layout
10521         (realizeFont): layout as layout
10522
10523         * paragraph.C (writeFile): layout as layout
10524         (validate): layout as layout
10525         (getFont): layout as layout
10526         (getLabelFont): layout as layout
10527         (getLayoutFont): layout as layout
10528         (breakParagraph): layout as layout
10529         (stripLeadingSpaces): layout as layout
10530         (getEndLabel): layout as layout
10531         (getMaxDepthAfter): layout as layout
10532         (applyLayout): layout as layout
10533         (TeXOnePar): layout as layout
10534         (simpleTeXOnePar): layout as layout
10535         (TeXEnvironment): layout as layout
10536         (layout): layout as layout
10537         (layout): layout as layout
10538
10539         * lyxtextclass.C (compare_name): new functor to work with
10540         shared_ptr, layout as layout
10541         (Read): layout as layout
10542         (hasLayout): layout as layout
10543         (operator): layout as layout
10544         (delete_layout): layout as layout
10545         (defaultLayout): layout as layout
10546
10547         * lyxlayout_ptr_fwd.h: new file
10548
10549         * lyxlayout.C (Read): layout as layout
10550
10551         * lyx_cb.C (MenuInsertLabel): layout as layout
10552
10553         * bufferlist.C (newFile): layout as layout
10554
10555         * buffer.C (readLyXformat2): layout as layout
10556         (parseSingleLyXformat2Token): layout as layout
10557         (insertStringAsLines): layout as layout
10558         (asciiParagraph): layout as layout
10559         (latexParagraphs): layout as layout
10560         (makeLinuxDocFile): layout as layout
10561         (simpleLinuxDocOnePar): layout as layout
10562         (makeDocBookFile): layout as layout
10563         (simpleDocBookOnePar): layout as layout
10564         (getLists): layout as layout
10565
10566         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10567
10568         * CutAndPaste.C (cutSelection): layout as layout
10569         (pasteSelection): layout as layout
10570         (SwitchLayoutsBetweenClasses): layout as layout
10571
10572         * BufferView_pimpl.C (Dispatch): layout as layout
10573         (smartQuote): layout as layout
10574
10575         * BufferView2.C (unlockInset): layout as layout
10576
10577 2002-06-24  André Pönitz <poenitz@gmx.net>
10578
10579         * lyxfunc.C: fix #487
10580
10581 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10582
10583         * lyxrc.h:
10584         * lyxrc.C:
10585         * lyxfunc.C: remove display_shortcuts, show_banner
10586
10587 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * Buffer_pimpl.C: oops, update on resize
10590
10591 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * buffer.C:
10594         * converter.C:
10595         * exporter.C:
10596         * lyxfunc.C:
10597         * BufferView.h:
10598         * BufferView.C: use repaint()
10599
10600         * BufferView_pimpl.h:
10601         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10602           as it's a clearer description. Remove superfluous
10603           redraws.
10604
10605 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * text.C: fix bug 488. Not ideal, but getting
10608           getWord() to work properly for the insets that
10609           matter is more difficult ...
10610
10611 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * BufferView_pimpl.C:
10614         * LyXAction.C:
10615         * commandtags.h:
10616         * lyxfunc.C: remove the six million index lyxfuncs to just
10617           one, and DTRT (bug 458)
10618
10619 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10620
10621         * BufferView.h:
10622         * BufferView.C:
10623         * BufferView_pimpl.h:
10624         * BufferView_pimpl.C: clean up resize() stuff,
10625           and unnecessary updateScreen()s
10626
10627 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * BufferView.h:
10630         * BufferView.C:
10631         * BufferView_pimpl.h:
10632         * BufferView_pimpl.C:
10633         * lyxfind.h:
10634         * lyxfind.C:
10635         * minibuffer.C: remove focus management of workarea,
10636           not needed. Use screen's greyOut()
10637
10638 2002-06-17  Herbert Voss  <voss@lyx.org>
10639
10640         * converter.C: (convert) do not post a message, when converting
10641         fails, let the calling function decide what to do in this case
10642
10643 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * lyxfunc.C: tidy up a little
10646
10647 2002-06-16    <alstrup@diku.dk>
10648
10649         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10650         Got rid of FORMS_H_LOCATION include. Now we are
10651         GUII.
10652
10653 2002-06-15  LyX Development team  <lyx@rilke>
10654
10655         * buffer.[Ch] (sgmlOpenTag):
10656         (sgmlCloseTag): Added support for avoiding pernicious mixed
10657         content. Return number of lines written.
10658
10659         (makeLinuxDocFile):
10660         (makeDocBookFile): Fixed calls to sgml*Tag.
10661         Simple white space clean.
10662
10663         (simpleDocBookOnePar): Simple white space clean.
10664
10665         * tabular.[Ch] (docBook): Renamed to docbook and got another
10666         argument to related with the pernicious mixed content.
10667
10668         (docbookRow): Fixed calls for docbook inset method.
10669
10670 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10671
10672         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10673         so it's X11 independent.
10674
10675         * kb*.[Ch]: ditto.
10676
10677         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10678
10679 2002-06-15  Lyx Development team  <lyx@electronia>
10680
10681         * intl.h: Renamed getTrans to getTransManager.
10682
10683 2002-06-14  Angus Leeming  <leeming@lyx.org>
10684
10685         * Makefile.am: nuke forgotten stl_string_fwd.h.
10686
10687 2002-06-12  Angus Leeming  <leeming@lyx.org>
10688
10689         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10690
10691 2002-06-13  Angus Leeming  <leeming@lyx.org>
10692
10693         * LaTeX.C:
10694         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10695
10696 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10697
10698         * kbmap.C (getiso): add support for cyrillic and greek
10699
10700 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * BufferView.h:
10703         * BufferView.C:
10704         * BufferView_pimpl.h:
10705         * BufferView_pimpl.C: move bogus scrolling logic
10706           to xforms
10707
10708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * lyxfunc.C:
10711         * BufferView_pimpl.C: view->resize() change
10712
10713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * BufferView_pimpl.C: topCursorVisible
10716           prototype change
10717
10718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * Makefile.am:
10721         * lyx_gui.h:
10722         * lyx_gui.C: move to frontends/
10723
10724         * main.C:
10725         * lyx_main.h:
10726         * lyx_main.C: changes from above
10727
10728 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10729
10730         * intl.C:
10731         * intl.h:
10732         * kbmap.C:
10733         * kbsequence.C:
10734         * lyx_cb.C:
10735         * lyx_main.C: minor tidy
10736
10737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * BufferView_pimpl.h:
10740         * BufferView_pimpl.C:
10741         * BufferView.h:
10742         * BufferView.C: make painter() const,
10743           remove dead code
10744
10745         * BufferView2.C: use screen() accessor
10746
10747         * lyx_main.h:
10748         * lyx_main.C: some minor cleanup
10749
10750 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * BufferView_pimpl.h:
10753         * BufferView_pimpl.C: remove enter/leaveView,
10754           use workHeight()
10755
10756 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * BufferView.h:
10759         * BufferView.C:
10760         * BufferView2.C:
10761         * BufferView_pimpl.h:
10762         * BufferView_pimpl.C: only construct screen once,
10763           rename
10764
10765         * lyxrc.C: remove pointless comment
10766
10767 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10768
10769         * BufferView.h:
10770         * BufferView.C: remove active() and belowMouse()
10771
10772         * BufferView_pimpl.h:
10773         * BufferView_pimpl.C: use workarea() not workarea_,
10774           and make it use a scoped_ptr instead
10775
10776 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * lyx_gui.C: add debug message on BadWindow
10779
10780 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10781
10782         * sp_spell.C: fdopen is not part of the C++ standard.
10783
10784         * paragraph.C (InsetIterator): use >= instead of ==
10785
10786 2002-06-07  Angus Leeming  <leeming@lyx.org>
10787
10788         Fixes needed to compile with Compaq cxx 6.5.
10789         * BufferView_pimpl.C:
10790         * DepTable.C:
10791         * buffer.C:
10792         * converter.C:
10793         * encoding.C:
10794         * lyx_gui.C:
10795         * lyx_main.C:
10796         * lyxtextclasslist.C:
10797         * minibuffer.C:
10798         * sp_spell.C:
10799         * tabular_funcs.C:
10800         * vc-backend.C:
10801         all c-library variables have been moved into namespace std. Wrap
10802         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10803
10804         * lyxlength.C:
10805         * tabular-old.C:
10806         * tabular.C:
10807         Add a using std::abs declaration.
10808
10809         * kbmap.h (modifier_pair):
10810         * paragraph.h (InsetTable, InsetList):
10811         * lyxfont.h (FontBits):
10812         type definition made public.
10813
10814         * bufferlist.C (emergencyWriteAll): the compiler complains that
10815         there is more than one possible lyx::class_fun template to choose from.
10816         I re-named the void specialisation as lyx::void_class_fun.
10817
10818         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10819
10820         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10821         the compiler is is unable to find tostr in write_attribute.
10822
10823 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * buffer.C (sgmlError): hide #warning
10826
10827 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * xtl/*: get rid of xtl, which is not in use anyway
10830
10831         * LyXAction.C (init):
10832         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10833         were unimplemented xtl experimentation
10834
10835 2002-06-04  André Pönitz <poenitz@gmx.net>
10836
10837         * lyxfunc.C: disable array operation on simple formulae
10838
10839 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10840
10841         * converter.C: constify a bit
10842
10843 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * lyx_gui.C: check xforms version correctly
10846
10847 2002-04-30  Herbert Voss  <voss@lyx.org>
10848
10849         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10850         "keep" option
10851
10852 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10855           attempt to register it with a VCS)
10856
10857 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10858
10859         * lyx_main.C (init): honor variables LYX_DIR_13x and
10860         LYX_USERDIR_13x
10861
10862 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10863
10864         * buffer.h:
10865         * buffer.C:
10866         * lyx_main.C: fix a crash on bad command line,
10867           and give a useful exit status on error
10868
10869         * lyxfunc.C (doImport): allow -i lyx to work
10870
10871 2002-03-30  André Pönitz <poenitz@gmx.net>
10872
10873         * lyxfunc.C: mathed font changes
10874
10875 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10876
10877         * LaTeX.C:
10878         * importer.h:
10879         * importer.C:
10880         * lyx_sty.h:
10881         * lyx_sty.C:
10882         * lyxlex.C:
10883         * lyxrow.h:
10884         * lyxtext.h:
10885         * paragraph.h:
10886         * paragraph.C:
10887         * texrow.h:
10888         * texrow.C:
10889         * text.C:
10890         * trans_mgr.h: srcdocs, and some minor cleanups
10891
10892 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10895         call getFont all the time)
10896
10897 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10898
10899         * switch from SigC signals to boost::signals
10900
10901 2002-05-29  André Pönitz <poenitz@gmx.net>
10902
10903         * paragraph_pimpl.C (getChar): don't call size() too often...
10904
10905 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10906
10907         * paragraph_pimpl.C (insertChar): do not try to update tables when
10908         appending (pos == size())
10909
10910         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10911         in order to reduce drastically the number of comparisons needed to
10912         parse a large document
10913
10914 2002-05-29  André Pönitz <poenitz@gmx.net>
10915
10916         * text.C:
10917         * text2.C:
10918         * lyxtextclass.C:
10919         * sp_pspell.h:
10920         * textclasslist.[Ch]:
10921         * sp_ispell.h: whitespace change
10922
10923 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10926         lyxaction directly now.
10927
10928 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10929
10930         * trans.C:
10931         * lyxfont.C:
10932         * lyxvc.C: remove unused headers
10933
10934 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10935
10936         * Makefile.am:
10937         * buffer.h:
10938         * undostack.h:
10939         * undostack.C:
10940         * undo_funcs.h:
10941         * undo_funcs.C: some cleanups. Use shared_ptr
10942           and a template for the undo stacks.
10943
10944 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * BufferView_pimpl.h:
10947         * BufferView_pimpl.C:
10948         * kbmap.h:
10949         * kbmap.C:
10950         * kbsequence.h:
10951         * kbsequence.C:
10952         * lyxfunc.h:
10953         * lyxfunc.C:
10954         * text2.C: use key_state/mouse_state
10955
10956 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10959         and LSubstring
10960
10961         * chset.C: change include order
10962         (loadFile): use boost regex and get rid of LRegex and LSubstring
10963
10964         * Makefile.am (BOOST_LIBS): new variable
10965         (lyx_LDADD): use it
10966
10967         * LaTeX.C: change include order.
10968         (scanAuxFile): use boost regex and get rid of LRegex and
10969         LSubstring
10970         (deplog): ditto
10971
10972 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * ColorHandler.h:
10975         * ColorHandler.C:
10976         * FontInfo.h:
10977         * FontInfo.C: moved to frontends/xforms/
10978
10979         * FontLoader.h:
10980         * FontLoader.C: moved into frontends for GUIIzation
10981
10982         * Makefile.am:
10983         * lyx_gui.C:
10984         * lyxfont.C:
10985         * lyxfunc.C: changes from above
10986
10987 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10988
10989         * LColor.C: remove spurious X include
10990
10991         * BufferView_pimpl.C:
10992         * Makefile.am:
10993         * font.h:
10994         * font.C:
10995         * text.C:
10996         * text2.C: move font metrics to frontends/
10997
10998 2002-05-24  Juergen Vigna  <jug@sad.it>
10999
11000         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11001         setting the undo_cursor.
11002
11003         * ParagraphParameters.h: include local includes first.
11004
11005 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * BufferView_pimpl.C:
11008         * BufferView_pimpl.h:
11009         * Makefile.am:
11010         * WorkArea.h:
11011         * WorkArea.C:
11012         * screen.C: move WorkArea into frontends/
11013
11014         * lyxscreen.h:
11015         * screen.C:
11016         * text.C:
11017         * BufferView.C:
11018         * BufferView2.C: move LyXScreen into frontends/
11019
11020         * lyxlookup.h:
11021         * lyxlookup.C:
11022         * lyx_gui.C: move lyxlookup into frontends/xforms/
11023
11024 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * BufferView2.C:
11027         * BufferView_pimpl.C:
11028         * FontLoader.C:
11029         * LyXView.h:
11030         * LyXView.C:
11031         * Makefile.am:
11032         * WorkArea.C:
11033         * XFormsView.h:
11034         * XFormsView.C:
11035         * buffer.C:
11036         * bufferlist.C:
11037         * bufferview_funcs.C:
11038         * converter.C:
11039         * importer.C:
11040         * lyx_cb.C:
11041         * lyx_gui.C:
11042         * lyx_main.C:
11043         * lyx_find.C:
11044         * lyxfunc.C:
11045         * lyxvc.C:
11046         * minibuffer.C:
11047         * text.C:
11048         * text2.C:
11049         * trans.C:
11050         * vc-backend.C: move LyX/XFormsView into frontends/
11051
11052 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * Makefile.am:
11055         * PainterBase.C:
11056         * PainterBase.h:
11057         * Painter.C:
11058         * Painter.h:
11059         * WorkArea.C:
11060         * WorkArea.h:
11061         * screen.C:
11062         * tabular.C:
11063         * text.C:
11064         * text2.C: move Painter to frontends/
11065
11066 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11067
11068         * buffer.C: comment out some some code that depend upon lyx_format
11069         < 220
11070
11071         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11072         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11073
11074         * buffer.h (NO_COMPABILITY): turn off compability
11075
11076         * ColorHandler.C: include scoped_array.hpp
11077
11078         * font.C: Use more specific smart_ptr header.
11079         * Painter.C: ditto
11080         * gettext.C: ditto
11081         * ShareContainer.h: ditto
11082         * lyx_main.h: ditto
11083         * kbmap.h: ditto
11084         * FontInfo.h: ditto
11085         * BufferView_pimpl.h: ditto
11086         * ColorHandler.h: ditto
11087
11088         * kbmap.C (defkey): change call to shared_ptr::reset
11089
11090 2002-05-21  Juergen Vigna  <jug@sad.it>
11091
11092         * buffer.C (insertErtContents): fix to insert ert asis if it is
11093         non empty. Skip it completely if it contains only whitespaces.
11094
11095 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11096
11097         * BufferView_pimpl.C:
11098         * BufferView2.C: clear selection on paste (bug 393)
11099
11100 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * DepTable.C: include ctime
11103
11104 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11105
11106         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11107
11108 2002-05-14  Juergen Vigna  <jug@sad.it>
11109
11110         * text.C (breakParagraph): fixed function to honor the keepempty
11111         layout in the right maner and also to permit the right breaking
11112         algorithm on empty or non empyt keepempty paragraphs.
11113
11114         * paragraph.C (breakParagraph): we have to check also if the par
11115         is really empty (!size()) for isempty otherwise we do the wrong
11116         paragraph break.
11117
11118 2002-05-10  Juergen Vigna  <jug@sad.it>
11119
11120         * buffer.[Ch] : The following are only changes to the ert
11121         compatibility read reading old LaTeX layout and font stuff and
11122         convert it to ERTInsets.
11123
11124         * buffer.h: added isErtInset().
11125
11126         * buffer.C (struct ErtComp): add a fromlayout bool to check
11127         if we're inside a LaTeX layout.
11128         (isErtInset): new helper function.
11129         (insertErtContents): look for other ert insets before this one
11130         and insert the contents there, so that we don't have subsequent
11131         ERT insets with nothing between them. This way we create only one
11132         inset with multiple paragraphs. Also check if we don't insert only
11133         spaces ' ' as they are ignored anyway afterwards in the .tex file
11134         so if we have only spaces we will ignore this latex part in the
11135         new file.
11136         (parseSingleLyXformat2Token \\layout): better compatibility when
11137         reading layout-latex stuff.
11138         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11139         language tag.
11140         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11141         stuff after reading the inset only get the information back from
11142         the stack.
11143
11144 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11145
11146         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11147
11148         * LaTeXFeatures.C (getBabelOptions): New method.
11149
11150 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11151
11152         * BufferView_pimpl.C (Dispatch): work around missing argument for
11153         'layout'
11154
11155 2002-05-08  Juergen Vigna  <jug@sad.it>
11156
11157         * text.C (leftMargin): handle paragraph leftindent.
11158
11159         * paragraph.C (writeFile): write the new \\leftindent tag.
11160         (validate): handle leftindent code.
11161         (TeXEnvironment): handle paragraphleftindent code again.
11162
11163         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11164
11165         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11166         for paragrap_extra indent code and new token \\leftindent.
11167         (latexParagraphs): handle the leftindent as environment.
11168
11169         * ParameterStruct.h: added leftindent support.
11170
11171         * ParagraphParameters.C (leftIndent): added support functions for
11172         the paragraph left indent.
11173
11174         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11175         more appropriate.
11176
11177 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11178
11179         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11180         inside insetERT.
11181
11182         * text.C (computeBidiTables): No bidi in insetERT.
11183
11184         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11185         in RTL documents.
11186
11187 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * version.C.in: pre 5
11190
11191 2002-05-02  José Matos  <jamatos@fep.up.pt>
11192         * buffer.C (makeDocBookFile): white space changes, add newline to
11193         command styles.
11194         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11195
11196         * tabular.C (docBook): fix typo.
11197
11198 2002-05-03  Juergen Vigna  <jug@sad.it>
11199
11200         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11201         change in LyXText as we can not be sure it was not freed.
11202         (drawOneRow): remove unused code.
11203
11204         * text.C (drawInset): redo the calculation of the need_break_row as
11205         it could have a row which was already freed.
11206         (draw): look at the return value of drawInset and return false if
11207         it also returned false.
11208         (paintRowText): look at the return value of draw and return false if
11209         it also returned false.
11210
11211         * lyxtext.h: added bool return type to drawInset() and draw() so that
11212         if we have a change in the row so that the rowbreak has to be redone
11213         we abort drawing as it will be called again.
11214
11215 2002-05-02  Juergen Vigna  <jug@sad.it>
11216
11217         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11218         a change in the maintext also if we're inside an inset.
11219         (Dispatch): set the cursor again after a break line and after the
11220         screen has been updated as it could be we're in a different row.
11221
11222         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11223         to set the cursor behind the pargraph with > size().
11224         (setCursor): check also for the same paragraph when checking where
11225         to put the cursor if we have a NFR inset.
11226
11227         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11228         parts of layout read further up as it still was in the wrong
11229         position.
11230
11231 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11232
11233         * screen.C (drawFromTo): change sine fullRebreak always return
11234         true.
11235
11236         * buffer.C (parseSingleLyXformat2Token): reindent some
11237
11238         * BufferView_pimpl.C (update): change since fullRebreak always
11239         return true.
11240         (Dispatch): git rid of the last hardcoded "Standard"s.
11241
11242 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11243
11244         * text2.[Ch] (fullRebreak): make it return void now that we always
11245         returned true.
11246
11247 2002-04-30  Juergen Vigna  <jug@sad.it>
11248
11249         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11250         ert compatibility check for "latex" layout.
11251
11252 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11253
11254         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11255         minipages: use col% instead of p%, and also use the current font.
11256         (makeLaTeXFile): Fix use babel condition.
11257         (parseSingleLyXformat2Token): Correct font when reading old floats.
11258
11259 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11260
11261         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11262         inserting list of floats.
11263
11264 2002-04-25  Herbert Voss  <voss@lyx.org>
11265
11266         * MenuBackend.C (expand): don't add the graphics extensions to the
11267         export menu
11268
11269 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11272         non-existing layout, do not complain if it was the default layout
11273         of the original class (bug #342)
11274
11275 2002-04-24  Juergen Vigna  <jug@sad.it>
11276
11277         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11278         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11279
11280 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11281
11282         * buffer.C (getBibkeyList): If using \bibliography, return the
11283         option field with the reference itself. Enables us to provide natbib
11284         support when using \bibliography.
11285
11286 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11287
11288         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11289
11290         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11291         natbib is provided by the LaTeX class.
11292
11293 2002-04-23  Juergen Vigna  <jug@sad.it>
11294
11295         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11296         Wakeup functions.
11297
11298         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11299
11300 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11303
11304         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11305         ensuremath around textordmasculine, textordfeminine and
11306         textdegree.
11307
11308 2002-04-19  Juergen Vigna  <jug@sad.it>
11309
11310         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11311         reinitializing the buffer otherwise row-dimensions may be wrong.
11312         (update): reset also the selection cursors if they do exits otherwise
11313         their x/y positions may be wrong.
11314
11315         * text2.C (cursorDown): don't enter the inset if we came from a row
11316         above and are one row over the inset.
11317
11318         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11319         really leaving an inset.
11320
11321 2002-04-18  Juergen Vigna  <jug@sad.it>
11322
11323         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11324         of the selected paragraph does not have the selected layout also if
11325         the last one had!
11326
11327         * text2.C (setLayout): fixed bug which did not change last selected
11328         paragraph.
11329
11330         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11331         changed the read and substituted \\end_float with \\end_inset!
11332
11333         * BufferView_pimpl.C (cursorPrevious):
11334         (cursorNext): fixed to make it work with rows heigher than the work
11335         area without moving the cursor only the draw of the row.
11336         (workAreaMotionNotify): fix jumping over high rows.
11337
11338 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11341         Ressler.
11342
11343 2002-04-16  Juergen Vigna  <jug@sad.it>
11344
11345         * text2.C (setCursor): set also the irow().
11346         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11347         (cursorUp):
11348         (cursorDown): support for locking an inset if the x_fix value goes
11349         inside it. That way I can transverse insets too with cursor up/down.
11350
11351         * lyxrow.h: added irow helper function same as other (i) functions.
11352
11353         * BufferView_pimpl.C (cursorPrevious):
11354         (cursorNext): fixed for insets!
11355
11356 2002-04-15  Juergen Vigna  <jug@sad.it>
11357
11358         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11359         position otherwise it is wrong in some cases.
11360
11361         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11362         inside the inset before the call.
11363
11364 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11365
11366         * buffer.[Ch] (getBibkeyList): make it const.
11367
11368 2002-04-12  Juergen Vigna  <jug@sad.it>
11369
11370         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11371
11372         * text2.C (getCursorX): new helper function
11373         (setCursor): compute also ix_
11374         (setCursorFromCoordinates): set also ix.
11375
11376         * lyxcursor.h: added ix_ and helper functions.
11377
11378         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11379
11380         * buffer.C (insertStringAsLines): dont break paragraph if the this
11381         paragraph is inside an inset which does not permit it!
11382
11383         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11384         also with no chars on this paragraph.
11385         (paintRowText): only paint stuff if it's inside the workarea!
11386
11387         * paragraph.C (breakParagraph): honor keepempty flag and break the
11388         paragraph always below not above.
11389
11390         * BufferView2.C (unlockInset): update the paragraph layout on inset
11391         unlock as we changed paragraph in such a case.
11392
11393         * lyxfind.C (LyXFind): clear the former selection if not found!
11394
11395         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11396         again called in insertChar().
11397
11398         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11399         an inset which uses the whole row!
11400         (rightMargin): ditto.
11401         (insertChar): force a rebreak if we inserted an inset!
11402
11403 2002-03-28  Herbert Voss  <voss@lyx.org>
11404
11405         * lyxlength.[Ch]: add inBP() to get the right PS-point
11406         units (BigPoint). With inPixels we have rounding errors
11407
11408 2002-04-11  Juergen Vigna  <jug@sad.it>
11409
11410         * text2.C (setCursorFromCoordinates): set iy to the right value.
11411         (setCursor): add check if row->previous exists!
11412
11413         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11414         an old float_type as this was the case in the old code!
11415
11416         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11417
11418         * BufferView2.C (showLockedInsetCursor): use iy
11419         (fitLockedInsetCursor): ditto
11420
11421         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11422         locked insets as there we have the right value now.
11423
11424         * lyxcursor.C: added iy_ variable and iy functions to set to the
11425         baseline of cursor-y of the locked inset.
11426
11427         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11428         (setCursor): fixed for insets which need a full row.
11429
11430         * text.C (rowLastPrintable): don't ignore the last space when before
11431         an inset which needs a full row.
11432         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11433         as last character of a row when before a inset which needs a full row.
11434
11435 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11436
11437         * version.C.in: update date
11438
11439         * text2.C (fullRebreak): try to always return true and see what
11440         happens...
11441
11442 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11443
11444         * MenuBackend.C (expand): use Floating::listName
11445
11446         * FloatList.C (FloatList): add listName argument to the built-in
11447         floats
11448
11449         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11450         text associated with the float.
11451
11452 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11455
11456 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * ShareContainer.h: add a couple of missing typenames.
11459
11460 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11461
11462         * lyxrc.C (getDescription): use _() correctly rather than N_().
11463
11464 2002-03-28  Herbert Voss  <voss@lyx.org>
11465
11466         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11467         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11468
11469 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11470
11471         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11472         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11473
11474 2002-03-29  Juergen Vigna  <jug@sad.it>
11475
11476         * lyxfunc.C (dispatch): add a missing fitCursor call.
11477
11478         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11479         it was scrolled by a cursor move, so return the bool status.
11480
11481         * BufferView.C (fitCursor): return the bool flag also to the outside
11482         world as this is needed.
11483
11484         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11485
11486         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11487         call the edit() as it is not needed (and wrong) IMO.
11488         (workAreaButtonPress): set the screen_first variable before evt.
11489         unlock the inset as this may change screen_first and then we have
11490         a wrong y position for the click!
11491
11492 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11493
11494         * MenuBackend.C (expand): another translation that I missed
11495
11496 2002-03-28  Juergen Vigna  <jug@sad.it>
11497
11498         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11499
11500         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11501
11502 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11503
11504         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11505
11506         * MenuBackend.C (expand): fix export/view/update when there is no
11507         document open.
11508
11509 2002-03-27  Herbert Voss  <voss@lyx.org>
11510
11511         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11512         and text%
11513
11514 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11515
11516         * bufferview_funcs.C (currentState): only show paragraph number
11517         for is DEVEL_VERSION is set.
11518
11519         * lyxfunc.C (dispatch): put warning in INFO channel
11520
11521         * MenuBackend.C (expand): translate the name of floats
11522
11523         * FloatList.C (FloatList): mark the float names for translation
11524
11525         * converter.C (convert): use LibScriptSearch
11526
11527 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11528
11529         * MenuBackend.C (defaults): fix default menu (we might as well get
11530         rid of it...)
11531
11532 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11535         directory.
11536
11537 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * lyxvc.C: reorder includes.
11540
11541 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11544           properly
11545
11546 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * CutAndPaste.C: change layouts earlier on paste
11549           to avoid crashing when calling getFont()
11550
11551 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11552
11553         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11554         irritating #error.
11555
11556 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11557
11558         * WorkArea.C: remove 'Pending' debug message.
11559
11560         * most files: ws cleanup
11561
11562         * buffer.[Ch]: ws changes
11563
11564         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11565
11566 2002-03-21  Juergen Vigna  <jug@sad.it>
11567
11568         * tabular.C (SetMultiColumn): collapse also the contents of the
11569         cells and set the last border right. Added a Buffer const * param.
11570
11571 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11572
11573         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11574         linking or not.
11575
11576 2002-03-19  Juergen Vigna  <jug@sad.it>
11577
11578         * text2.C (clearSelection): reset also xsel_cache.
11579
11580         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11581         where it needs to be called (John tells us to do so too :)
11582         (selectionLost): reset sel_cache.
11583
11584         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11585
11586 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11587
11588         * text2.C (setCursorIntern): put debuging code in INSETS channel
11589
11590 2002-03-19  André Pönitz <poenitz@gmx.net>
11591
11592         * lyxfunc.C: tiny whitespace change
11593
11594 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11595
11596         * ToolbarDefaults.C (init):
11597         * LyXAction.C (init):
11598         * commandtags.h:
11599         * BufferView_pimpl.C (Dispatch):
11600         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11601
11602 2002-03-19  Allan Rae  <rae@lyx.org>
11603
11604         * exporter.C (Export): removeAutoInsets before doing anything else.
11605         While I've just introduced a dependency on BufferView this really is
11606         the best place to clean the buffer otherwise you need to cleanup in
11607         a dozen places before calling export or cleanup in a dozen functions
11608         that export calls.
11609
11610         * converter.C (runLaTeX):
11611         (scanLog): Better handling of removeAutoInsets and screen updates.
11612
11613         * lyxfunc.C (dispatch): small whitespace changes
11614
11615 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * WorkArea.C (C_WorkAreaEvent): return a value.
11618         (event_cb): return 1 if we handled the event, 0 otherwise.
11619
11620         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11621
11622 2002-03-18  Juergen Vigna  <jug@sad.it>
11623
11624         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11625         (GetAdditionalWidth): ditto.
11626         (RightLine): ditto.
11627         (LeftLine): ditto.
11628
11629         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11630         inset if we're there actually (probably not used right now but this
11631         is the direction to go for unifying code).
11632         (paste): disable code to clear the selection.
11633
11634         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11635         inside an InsetText and move the check further up as it is in the
11636         wrong place.
11637
11638         * text2.C (pasteSelection): set a selection over the pasted text.
11639
11640 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11641
11642         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11643         and libgraphics to build on Cygwin.
11644
11645 2002-03-15  Juergen Vigna  <jug@sad.it>
11646
11647         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11648         inserting an Inset into the paragraph. I know this is not the best
11649         fix but we already use current_view in CutAndPaste so we will remove
11650         all of it's using at the same time.
11651
11652         * buffer.C (sgmlError): deactivated function till it is rewritten in
11653         the right mode, now it can create problems.
11654
11655         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11656         before accessing it.
11657
11658 2002-03-14  Juergen Vigna  <jug@sad.it>
11659
11660         * undo_funcs.C (textHandleUndo): do the right thing when updating
11661         the inset after the undo/redo.
11662
11663         * text2.C (setCursor): just some testcode for #44 not ready yet.
11664
11665         * undo_funcs.C (textHandleUndo): set the next() and previous()
11666         pointers of the paragraph to 0 before deleting otherwise we have
11667         problems with the Paragraph::[destructor].
11668
11669         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11670         on a paragraph insertion.
11671
11672 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11673
11674         * buffer.C (asciiParagraph): use += operator for char append to
11675         string.
11676
11677         * paragraph.C (getFontSettings): compare >= not just >
11678         (highestFontInRange): ditto
11679         (setFont): ditto
11680
11681 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * paragraph.C: change several algorithm to be more appripriate for
11684         the problem domain. This is lookip in FontList and in the InsetList.
11685
11686 2002-03-13  André Pönitz <poenitz@gmx.net>
11687
11688         * commandtags.h:
11689         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11690
11691 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * commandtags.h:
11694         * LyXAction.C:
11695         * lyxfunc.C:
11696         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11697
11698 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11699
11700         * Painter.C (display): anon helper function, adjust code for this
11701         change.
11702         (pixmap): remove function.
11703
11704         * Painter.h: remove private display variable.
11705
11706         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11707
11708 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11709
11710         * WorkArea.[Ch]: remove figinset_canvas cruft.
11711
11712 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * lyxtextclass.C (operator): add one item cache optimization.
11715
11716         * bufferlist.h: doxy changes
11717
11718         * bufferlist.C: ws changes
11719
11720         * DepTable.[Ch] (ext_exist): place const in the right spot.
11721
11722         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11723         call resizeInsets.
11724         (workAreaExpose): call resizeInsets when the with BufferView changes.
11725         (Dispatch): adjust for protectedBlank removal
11726         (specialChar): call updateInset if the insert went ok.
11727
11728         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11729         specialChar instead.
11730
11731         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11732
11733         * BufferView.h: doxy change
11734
11735         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11736
11737         * lyxtextclass.C (operator[]): remove non-const version
11738         (defaultLayout): remove non-const version
11739
11740 2002-03-12  Juergen Vigna  <jug@sad.it>
11741
11742         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11743         did resize the LyXText too.
11744
11745         * buffer.C (readLyXformat2): set layout information on newly allocated
11746         paragraphs.
11747
11748         * tabular.C (OldFormatRead): set layout information on the paragraph.
11749
11750 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11751
11752         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11753
11754 2002-03-11  Juergen Vigna  <jug@sad.it>
11755
11756         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11757         plainly wrong.
11758         (resizeCurrentBuffer): force also the insets to resize themselfes.
11759         (moveCursorUpdate): fixed up for InsetText.
11760
11761 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11762
11763         * commandtags.h:
11764         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11765         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11766         value of Dialogs::tooltipsEnabled().
11767         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11768
11769 2002-03-08  Juergen Vigna  <jug@sad.it>
11770
11771         * BufferView_pimpl.C (updateInset): update inset inside inset also
11772         if it isn't inside theLockingInset().
11773
11774 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * buffer.C (asciiParagraph): redo some of the word and line length
11777         handling.
11778         (getLists): look for Caption instead of caption.
11779
11780 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11781
11782         * buffer.C (Buffer): initialize niceFile to true
11783         (makeLaTeXFile):
11784         (makeLinuxDocFile):
11785         (makeDocBookFile): make sure niceFile is true on exit
11786
11787 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11788
11789         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11790
11791 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11792
11793         * LyXSendto.C: remove.
11794         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11795         * lyx_gui.C: remove now-redundant comment.
11796         * ColorHandler.h: remove forward declaration of class WorkArea.
11797         * lyxfunc.C: remove #include "WorkArea.h".
11798
11799 2002-03-07  Juergen Vigna  <jug@sad.it>
11800
11801         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11802         got moved away with the DEPM and also set the inset_owner always
11803         right which before could have been omitted.
11804
11805 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11808         wanted layout is not found.
11809
11810 2002-03-07  Juergen Vigna  <jug@sad.it>
11811
11812         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11813
11814 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11815
11816         * paragraph.C (breakParagraph): use default layout not layout of
11817         prev paragraph.
11818         (Paragraph): clear ParagraphParameters.
11819
11820 2002-03-06  Juergen Vigna  <jug@sad.it>
11821
11822         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11823         otherwise it would not be a valid lenght. Fixed a special case in
11824         the minipage compatibility read where we end the document with a
11825         minipage.
11826
11827         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11828         was set as it could be 0 for InsetTexts first entry.
11829
11830 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * paragraph.C (writeFile): if layout is empty write out
11833         defaultLayoutName().
11834
11835         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11836         file without named layout we set layout to defaultLayoutName().
11837
11838 2002-03-06  Juergen Vigna  <jug@sad.it>
11839
11840         * CutAndPaste.C (copySelection): set layout for new paragraph.
11841
11842         * text.C (prepareToPrint): leave ERT inset left aligned
11843         (leftMargin): don't indent paragraphs inside ERT insets
11844
11845 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * paragraph.C (breakParagraph): dont call clear do the work manually
11848
11849         * paragraph.[Ch] (clear): remove function
11850
11851 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11852
11853         * paragraph.C (Paragraph): dont call clear, the work has already
11854         been done.
11855
11856         * lyxtextclass.C (operator): assert if n is empty
11857
11858         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11859         work manually instead.
11860
11861 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * BufferView_pimpl.C: protect selectionLost against text == 0
11864
11865 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * text.C (breakParagraph): fix a setting layout to '0' problem.
11868
11869 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11870
11871         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11872         final location of file, for the included files, and graphics.
11873
11874 2002-03-05  Juergen Vigna  <jug@sad.it>
11875
11876         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11877
11878 2002-03-04  Juergen Vigna  <jug@sad.it>
11879
11880         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11881
11882         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11883         last column of multicolumn cells.
11884         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11885
11886 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11887
11888         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11889         file if it doesn't go to a temporary file.
11890
11891         * buffer.C (sgmlOpenTag):
11892         (sgmlCloseTag):  remove extra newline insertion.
11893
11894 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * text.C (getRowNearY): comment out debug msg
11897
11898 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11899
11900         * text2.C: first -> first_y
11901
11902         * text.C (getRowNearY): add some attemts at a possible
11903         optimization, not working.
11904
11905         * tabular.[Ch]: add BufferParams to several function so that newly
11906         created paragraph can be initialized to he default layotu for the
11907         buffers textclass.
11908
11909         * tabular-old.C (ReadOld): add buf->params to call of Init
11910
11911         * screen.C: rename text->first to text->first_y
11912
11913         * paragraph.C (breakParagraph): always set layout in the broken
11914         paragraph
11915
11916         * lyxtextclass.C (Read): remove lowercase
11917         (hasLayout): ditto
11918         (operator): ditto
11919         (delete_layout): ditto
11920
11921         * lyxtext.h: rename first -> first_y
11922
11923         * lyxlayout.C (Read): remove lowercase
11924         (name): ditto
11925         (setName): ditto
11926         (obsoleted_by): ditto
11927
11928         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11929
11930         * buffer.C (insertErtContents): add params are to InsetERT
11931         (parseSingleLyXformat2Token): add code to check if a paragraphs
11932         layout really exist.
11933         (parseSingleLyXformat2Token): add params to several inset
11934         constructors
11935         (asciiParagraph): remove lowercase, do the layout comparisons with
11936         no_case
11937
11938         * BufferView_pimpl.C (cursorNext): first -> first_y
11939         (resizeCurrentBuffer): first -> first_y
11940         (updateScrollbar): first -> first_y
11941         (scrollCB): first -> first_y
11942         (workAreaMotionNotify): first -> first_y
11943         (workAreaButtonPress): first -> first_y
11944         (checkInsetHit): first -> first_y
11945         (cursorPrevious): first -> first_y
11946         (cursorNext): first -> first_y
11947         (Dispatch): add buffer_->params to severl inset contructors
11948
11949 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * lyxlayout.C (Read): remove some debug info that I forgot.
11952
11953         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11954         clean up the code slightly.
11955         (makeLinuxDocFile): ditto
11956         (makeDocBookFile): ditto
11957
11958         * text2.C: layout as string
11959
11960         * text.C: layout as string
11961
11962         * paragraph_pimpl.C: layout as string
11963
11964         * paragraph.[Ch]: layout as string
11965
11966         * lyxtextclasslist.[Ch]: layout as string
11967
11968         * lyxtextclass.[Ch]: layout as string
11969
11970         * lyxtext.h: layout as string
11971
11972         * lyxlayout.[Ch]: layout as string
11973
11974         * lyx_cb.C: layout as string
11975
11976         * bufferview_funcs.C: layout as string
11977
11978         * bufferparams.C: layout as string
11979
11980         * buffer.C: layout as string
11981
11982         * LyXView.[Ch]: layout as string
11983
11984         * LaTeXFeatures.[Ch]: layout as string
11985
11986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11987
11988         * BufferView_pimpl.C: change current_layout to string, remove
11989         lyx::layout_type.
11990         (Dispatch):
11991         (smartQuote):
11992         (insertInset):
11993         (workAreaButtonRelease): layout as string
11994
11995         * BufferView2.C (unlockInset): adjust
11996
11997         * vspace.C (asLatexCommand): use an explict temp variable.
11998
11999 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12000
12001         * Makefile.am: use FRONTEND_*
12002
12003 2002-03-01  Juergen Vigna  <jug@sad.it>
12004
12005         * tabular.C (SetWidthOfMulticolCell): changed to something better
12006         I hope but still work in progress.
12007         (recalculateMulticolumnsOfColumn): renamed function from
12008         recalculateMulticolCells as it is more appropriate now.
12009         (SetWidthOfCell): calculate multicols better.
12010
12011 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12012
12013         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12014
12015         * lyxfunc.C (processKeySym): print sequence also if it is
12016         `deleted' (complete)
12017
12018         * kbsequence.C (print): print sequence even if it is deleted
12019         (complete would be a better word, actually).
12020
12021         * lyxfunc.C (dispatch): print complete options after a prefix key
12022
12023         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12024
12025 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12026
12027         * text2.C (setCharFont): eliminate setCharFont code duplication.
12028
12029 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12030
12031         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12032         LFUN_TABULAR_FEATURE (bug #177)
12033
12034 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * Makefile.am: remove figure.h
12037
12038 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12039
12040         * Bufferview_pimpl.C:
12041         * CutAndPasteC:
12042         * LaTeX.C:
12043         * LyXSendto.C:
12044         * buffer.C:
12045         * bufferlist.C:
12046         * converter.C:
12047         * language.C:
12048         * lyxfunc.C:
12049         * lyxvc.C:
12050         * paragraph.C:
12051         * text.C:
12052         * text2.C: remove #include "lyx_gui_misc.h".
12053
12054         * LaTeX.C: added #include <cstdio>
12055
12056 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12057
12058         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12059         that the paragraph following this one can have.
12060
12061         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12062
12063         * vspace.C (asLatexCommand): fix bogus gcc warning
12064
12065         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12066
12067 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12068
12069         * text2.C (setLayout): get rid of redundant code
12070
12071 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12072
12073         * text2.C (incDepth): make sure depth cannot be increased beyond
12074         reasonable values.
12075
12076 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12077
12078         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12079         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12080
12081         * PainterBase.h (image):
12082         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12083         a LyXImage const *.
12084
12085 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * BufferView.C:
12088         * BufferView.h:
12089         * BufferView_pimpl.C:
12090         * BufferView_pimpl.h:
12091         * LaTeXFeatures.C:
12092         * LyXAction.C:
12093         * LyXView.C:
12094         * Makefile.am:
12095         * UpdateList.h:
12096         * UpdateList.C:
12097         * buffer.C:
12098         * figure.h:
12099         * figureForm.C:
12100         * figureForm.h:
12101         * figure_form.C:
12102         * figure_form.h:
12103         * lyx_cb.C:
12104         * lyx_gui.C:
12105         * lyx_gui_misc.C:
12106         * lyxfunc.C:
12107         * sp_base.h:
12108         * sp_ispell.h:
12109         * sp_pspell.h:
12110         * sp_spell.C: remove fig inset, and the crap house of
12111           cards that follows it
12112
12113 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * Makefile.am:
12116         * lyxserver.C:
12117         * os2_defines.h:
12118         * os2_errortable.h:
12119         * nt_defines.h: move .h into support/
12120
12121         * vms_defines.h: remove
12122
12123         * WorkArea.C: add space in debug output
12124
12125         * text2.C:
12126         * paragraph.C:
12127         * buffer.C: add WITH_WARNINGS
12128
12129         * vc-backend.h:
12130         * vc-backend.C:
12131         * bufferlist.C: s/retrive/retrieve/, add docs
12132
12133         * vspace.h:
12134         * vspace.C:
12135         * kbmap.h:
12136         * lyxlength.h:
12137         * lyxgluelength.h:
12138         * length_common.h:
12139         * chset.h:
12140         * chset.C: add docs
12141
12142         * lyxgui.C: add ID to X error handler
12143
12144         * lyxtestclass.c: fix typo
12145
12146 2002-02-26  Juergen Vigna  <jug@sad.it>
12147
12148         * tabular_funcs.C (write_attribute): changed so that some default
12149         attributes are not written at all.
12150         (getTokenValue): set default values before trying to read the
12151         value so we have the return value always set as default if we don't
12152         find the token we search for.
12153
12154         * tabular.C (Write): write bools as bools not as strings!
12155
12156 2002-02-22  Juergen Vigna  <jug@sad.it>
12157
12158         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12159         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12160
12161         * text.C (leftMargin): don't add an indent for paragraphs inside
12162         tabular cells (fix #208).
12163
12164 2002-02-21  José Matos  <jamatos@fep.up.pt>
12165
12166         * tabular.C (docBook): fixed support for long tables.
12167
12168 2002-02-20  Juergen Vigna  <jug@sad.it>
12169
12170         * text2.C (getFont): get the drawing font of the Inset if this
12171         paragraph is inside an inset (only important for InsetERT for now).
12172
12173         * buffer.C (insertErtContents): use new lanugage params in ERT
12174         constructor.
12175
12176         * CutAndPaste.C: commenting out seemingly uneeded code.
12177
12178 2002-02-19  Allan Rae  <rae@lyx.org>
12179
12180         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12181         Iterators might be simple to use but they also get invalidated.
12182         (removeAutoInsets): renamed saved cursor tracking variables and added
12183         some comments to clarify what everything does.
12184
12185 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12186
12187         * Chktex.C:
12188         * LaTeX.C:
12189         * LyXSendto.C:
12190         * converter.C:
12191         * lyx_cb.C:
12192         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12193         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12194
12195         * lyxfunc.C:
12196         * vc-backend.h: remove #include "support/syscall.h"
12197
12198         * LaTeX.C:
12199         * LyXSendto.C:
12200         * converter.C: rearrange #includes in Lars' approved fashion.
12201
12202         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12203         forward declare class Timeout in the header file.
12204
12205         * XFormsView.C: changes due to the above.
12206
12207         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12208         similar to LyXView.
12209
12210         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12211         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12212
12213 2002-02-18  José Matos  <jamatos@fep.up.pt>
12214
12215         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12216         insets contents.
12217
12218 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12219
12220         * a lot of small ws changes
12221         * add a lot of using std::XXX
12222         * use std construcs some places where approp.
12223         * use some exisint stuff from lyxfunctional where approp.
12224         * Make file changes to use partial linking (lets test this now...)
12225
12226 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12227
12228         * Chktex.C:
12229         * buffer.C:
12230         remove #include "support/syscontr.h" as it's redundant. Always has been.
12231
12232         * Chktex.C:
12233         * LaTeX.C:
12234         * LyXSendto.C:
12235         * converter.C:
12236         * lyx_cb.C:
12237         * vc-backend.C:
12238         change Systemcalls::System to Systemcalls::Wait and
12239         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12240         No change of functionality, just reflects the stripped down Systemcalls
12241         class.
12242
12243 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12244
12245         * debug.[Ch]: add a GRAPHICS type to the enum.
12246
12247 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12248
12249         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12250
12251         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12252         there is an inset.
12253
12254 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12255
12256         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12257         match the changes below.
12258
12259         * text2.C (toggleInset): if there is not editable inset at cursor
12260         position, try to see if cursor is _inside_ a collapsable inset
12261         and close it.
12262
12263 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12264
12265         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12266         document menu has a nice checkbox
12267
12268 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12269
12270         * lyxlength.C (asLatexString): change PW to output as percent of
12271         \textwidth.
12272
12273         * lengthcommon.C: change '%' to 't%'
12274
12275         * lyxfunc.C (dispatch): a few comments from Martin
12276
12277 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12278
12279         * WorkArea.h:
12280         * WorkArea.C:
12281         * BufferView_pimpl.h:
12282         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12283           the X selection.
12284
12285 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12286
12287         * vspace.C (inPixels): fix compiler warning
12288
12289 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12290
12291         * lyxfunc.C (getStatus): fix status message for disabled commands.
12292
12293 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * BufferView_pimpl.C: fix crash on close buffer
12296         during selection (#227)
12297
12298 2002-01-27  Herbert Voss  <voss@lyx.org>
12299
12300         * buffer.C: link old Figure to new graphic inset
12301
12302 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12303
12304         * FontLoader.C (getFontinfo): Change the latex font names in order
12305         to match the names of type1inst.
12306
12307 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12310
12311         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12312         (extchanged): ditto
12313         (ext_exist): ditto
12314         (remove_files_with_extension): ditto
12315         (remove_file): ditto
12316         (write): ditto
12317
12318         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12319         document is smaller than the work area height. Do not initialize
12320         static variables to 0.
12321
12322 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12323
12324         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12325
12326         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12327         LFUN_LAYOUT_PARAGRAPHS.
12328
12329         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12330         tabular. It is possible to provide a possible cell, which will
12331         typically be the actcell from the corresponding insettabular
12332
12333         * lyxfunc.C (getStatus): small cleanup; disable
12334         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12335         true
12336
12337 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12340
12341         * paragraph.C (startTeXParParams):
12342         (endTeXParParams): new methods. The LaTeX code to
12343         start/end paragraph formatting
12344         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12345         empty (fixes bug #200)
12346
12347         * vspace.C (inPixels): adapt to the change below
12348         (inPixels): [later] more cleanups (remove unused variables)
12349
12350         * lyxlength.C (inPixels): change to use a width and a height as
12351         parameter.
12352
12353 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12354
12355         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12356         Replaced with \paperwidth
12357
12358         * DepTable.C (insert): add std:: qualifier
12359
12360 2002-01-18  Allan Rae  <rae@lyx.org>
12361
12362         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12363         updated also?
12364
12365         * text.C (drawInset): Turned out I didn't know enough about how
12366         rebreaking worked.  This fixes most of the redraw problems.  I see
12367         an occasional cursor trail when a line is broken now and the cursor
12368         placement can seem out by a few pixels also after a rebreak.
12369
12370 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * buffer.C (parseSingleLyXformat2Token): update because minipage
12373         width is now a LyXLength
12374
12375         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12376
12377         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12378         math insets
12379
12380 2002-01-17  Juergen Vigna  <jug@sad.it>
12381
12382         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12383
12384         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12385         is set correctly and the inset is updated correctly.
12386
12387 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12388
12389         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12390         the beginning of the loop.
12391
12392 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12393
12394         * lyxrc.C: improve help for use_scalable_fonts
12395
12396 2002-01-17  Allan Rae  <rae@lyx.org>
12397
12398         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12399
12400 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12401
12402         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12403         make sure to set their inset_owner to the right value (bug #171)
12404
12405 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12406
12407         * DepTable.h
12408         * DepTable.C: Implement mtime checking to reduce time spent doing
12409         CRCs.
12410
12411 2002-01-16  Juergen Vigna  <jug@sad.it>
12412
12413         * tabular.C (GetAdditionalHeight): one of error fixed.
12414
12415         * lyxrc.C (output): small fix in writing use_pspell.
12416
12417 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12418
12419         * sp_base.h: #include LString.h
12420
12421 2002-01-16  Allan Rae  <rae@lyx.org>
12422
12423         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12424         Can someone check this please?
12425
12426         * text.C (drawInset): It was possible that p.row would be removed by
12427         breakAgainOneRow upsetting a few other settings.  There may be another
12428         small tweak possible by setting need_break_row = 0 when p.row has been
12429         removed but I don't know enough about the logic here.
12430
12431 2002-01-15  Allan Rae  <rae@lyx.org>
12432
12433         * text.C (insertChar): removed conditional truism.
12434
12435         * BufferView2.C (removeAutoInsets): More tweaks.
12436         cur_par_prev could be a stray pointer.  Check for trailing empty line
12437         in case last line was cur_par and only had an error inset on it.
12438
12439 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12440
12441         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12442         absolute
12443
12444         * vc-backend.C (most methods):
12445         * exporter.C (Export):
12446         * converter.C (convert):
12447         (runLaTeX):
12448         * LyXSendto.C (SendtoApplyCB):
12449         * lyxfunc.C (dispatch):
12450         (menuNew):
12451         (open):
12452         (doImport):
12453         * lyx_cb.C (AutoSave):
12454         (InsertAsciiFile):
12455         * BufferView_pimpl.C (MenuInsertLyXFile):
12456         * buffer.C (runChktex): use Buffer::filePath().
12457
12458         * buffer.h: rename filename to filename_; rename filepath to
12459         filepath_ and make it private
12460         (filePath): new method
12461
12462         * buffer.C (writeFile): use fileName()
12463         (getLatexName):
12464
12465         * lyx_main.C (init): fix starting  of LyX when the binary is a
12466         link from so,ewhere else.
12467
12468         * minibuffer.C: include <cctype> for isprint
12469
12470 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12471
12472         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12473         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12474         name clash with InsetCollapsable's width function.
12475
12476 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * lastfiles.C: include <iterator>
12479
12480 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12481
12482         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12483         std::count.
12484
12485         * buffer.C (makeLaTeXFile): ditto.
12486         Also make loop operation more transparent.
12487
12488 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12489
12490         * ToolbarDefaults.C: remove trailing comma closing namespace.
12491
12492         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12493
12494         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12495         as in WorkArea.
12496
12497         * trans.C (Load): comment out unused variable, allowed.
12498
12499 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12500
12501         * minibuffer.[Ch] (append_char): new method to recieve input from the
12502         drop-down completion browser. If a key was pressed, then recieve this
12503         char and append it to the existing string.
12504         (peek_event): modify the positioning data passed to the completion
12505         browser so that it can be placed above the minibuffer rather than below.
12506 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * LyXAction.C (init): alloe error-next for readonly documents.
12509
12510         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12511         count.
12512
12513 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * bufferlist.C (readFile): create the buffer _after_ checking that
12516         the file exists.
12517
12518         * lyxfunc.C (verboseDispatch): fix handling of arguments
12519
12520         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12521
12522         * lyxrc.C: use string::erase() instead of initializing to "".
12523
12524
12525 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12526
12527         * BufferView_pimpl.h:
12528         * BufferView_pimpl.C:
12529         * WorkArea.h:
12530         * WorkArea.C:
12531         * text2.C: tell X when we have made a selection for copying
12532
12533 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12534
12535         * BufferView_pimpl.C (MenuInsertLyXFile):
12536         * lyxfunc.C (menuNew):
12537         (open):
12538         (doImport): add shortcuts to directory buttons
12539
12540         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12541         open a float)
12542
12543         * lyxfunc.C (setStatusMessage):
12544         (getStatusMessage): new methods
12545         (getStatus):use setStatusMessage instead of setErrorMessage
12546         (dispatch): when function is disabled, set error message here
12547         [instead of in getStatus previously]
12548
12549         * BufferView_pimpl.C (workAreaButtonRelease): update
12550         toolbar/menubar here too.
12551
12552 2002-01-13  Allan Rae  <rae@lyx.org>
12553
12554         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12555         Now seems indestructible.  Remaining task is to audit all other
12556         code affected by deleteEmptyParagraphMechanism.  One small quirk
12557         left is that an empty document with an error in the preamble can
12558         be made to report an error but no error box appears.  I don't know
12559         where it goes.
12560         (removeAutoInsets): Improved comments.
12561
12562 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * Thesaurus.h:
12565         * Thesaurus.C: update for Aiksaurus 0.14
12566
12567 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * text2.C (firstParagraph): removed member function, all uses
12570         replaces with ownerParagraph
12571         (redoParagraphs): here
12572         (updateInset): here
12573         (toggleAppendix): here
12574         * BufferView2.C (insertErrors): here
12575         (setCursorFromRow): here
12576
12577 2002-01-13  Allan Rae  <rae@lyx.org>
12578
12579         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12580         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12581         There is still a way to segfault this although you may have to do this
12582         multiple times: Have an InsetERT with an unknown command in it.
12583         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12584         <down-arrow>, <Enter> again, View->DVI, BANG!
12585
12586         * text2.C (setCursor):
12587         (deleteEmptyParagraphMechanism):
12588         * lyxtext.h (setCursor):
12589         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12590         Making use of the return value may help fix other bugs.
12591
12592 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12593
12594         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12595
12596         * LyXView.C (updateMenubar): call MenuBar::update here
12597         (updateToolbar): but not here
12598         (showState): do not update toolbar/menubar
12599
12600         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12601         should need to care about that.
12602
12603         * lyxfunc.C (verboseDispatch): simplify a bit
12604         (getStatus): have a version which takes a pseudoaction, and
12605         another which requires a (kb_action,string).
12606
12607         * LyXAction.C (retrieveActionArg): make it work also when action
12608         is not a pseudo-action.
12609         (getActionName): simplify a bit
12610         (helpText):
12611
12612 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12613
12614         * lyxfunc.C (verboseDispatch): new families of methods with
12615         several ways to specify a command and a bool to indicate whether
12616         the command name and shortcut should be displayed in minibuffer
12617         (eventually, we could extend that to a finer bitmask like
12618         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12619         (dispatch): the pristine dispatch command which just, well,
12620         dispatchs! Note it still sets its result to minibuffer; I'm not
12621         sure we want that.
12622
12623         * lyxfunc.h: remove setHintMessage
12624
12625         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12626
12627 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12628
12629         * BufferView_pimpl.C (specialChar): delete new inset if we have
12630         not been able to insert it.
12631
12632         * kbmap.C: revert to using int instead of kb_action, since all we
12633         are dealing with is pseudo-actions.
12634
12635         * LyXAction.C (searchActionArg): change to return int instead of
12636         kb_action, since the result is a pseudoaction.
12637
12638 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12639
12640         * buffer.C (insertErtContents): Fix (partially) the font bug.
12641
12642 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12645         as the other one is broken on my machine!
12646
12647 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12648
12649         * commandtags.h:
12650         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12651
12652 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12653
12654         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12655         reflect their actual use. Provide compatibility code for older lyxrc
12656         files.
12657
12658         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12659         FL_NORMAL_STYLE.
12660         change names of popup font variables in line with the changes to lyxrc.C
12661
12662 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12663
12664         * buffer.C (asciiParagraph): avoid outputing a word twice after
12665         an inset.
12666
12667         * lyxrc.C (getDescription): document that document_path and
12668         template_path can be empty.
12669
12670 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12671
12672         * LaTeXFeatures.C (getMacros):
12673         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12674
12675         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12676
12677         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12678         getPackages.
12679         (getPackages): rename feature "floats" to "float". Use an array to
12680         iterate over 'simple' features (i.e. just a \usepackage). Add
12681         handling of "amsmath" (renamed from "amsstyle").
12682
12683 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12684
12685         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12686         features list.
12687
12688 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12689
12690         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12691         FuncStaus::FuncStatus & FuncStaus::some_method().
12692
12693 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12694
12695         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12696         of the func_satus stuff. Edited and massaged in various ways by
12697         JMarc.
12698
12699         * lyxfunc.C (getStatus): use FuncStatus
12700
12701 2002-01-08  Juergen Vigna  <jug@sad.it>
12702
12703         * text.C (nextBreakPoint): use function Inset::isChar().
12704
12705         * paragraph.C (TeXOnePar): use function
12706         Inset::forceDefaultParagraphs.
12707
12708         * buffer.C (latexParagraphs): use function
12709         Inset::forceDefaultParagraphs.
12710
12711 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12712
12713         * lyx_gui.C (init): set the style of the menu popups to
12714         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12715
12716 2002-01-07  Juergen Vigna  <jug@sad.it>
12717
12718         * text.C (setHeightOfRow): small fix
12719         (prepareToPrint): don't look at alignment if we don't have the place
12720         for doing it.
12721
12722 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12723
12724         * box.C: New file. Move the Box methods and functions out of box.h,
12725         following Lars' suggestion.
12726
12727 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12728
12729         * box.h: #include "support/LOstream.h", needed for inlined function.
12730
12731         * lyxtextclass.C:
12732         * lyxtextclasslist.C: added some using std declarations.
12733
12734 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12735
12736         * box.h: make signed dimensions to allow insets wider than
12737           the screen (bug #162)
12738
12739         * BufferView_pimpl.C: add some insetHit debug
12740
12741 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * vc-backend.C: add FIXME
12744
12745 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12746
12747         * lyxfunc.C (getStatus): enable code for showing math font status
12748         in toolbar/menu.
12749
12750 2002-01-07  Juergen Vigna  <jug@sad.it>
12751
12752         * text.C (nextBreakPoint): removed debug output not needed anymore.
12753
12754 2002-01-06  Juergen Vigna  <jug@sad.it>
12755
12756         * text.C (nextBreakPoint): fixed up this function we had this bug
12757         since ever but now hopefully we break row better.
12758         (insertChar): we have to check if an inset is the next char as it
12759         could now happen that a large inset is causing a break.
12760
12761 2002-01-05  Juergen Vigna  <jug@sad.it>
12762
12763         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12764         if it doesn't like to be drawed.
12765
12766 2002-01-04  Juergen Vigna  <jug@sad.it>
12767
12768         * BufferView2.C (lockInset): forgot to set a cursor.
12769
12770         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12771
12772 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12773
12774         * FormMathsPanel.C:
12775         * FormMathsPanel.h
12776         * MathsSymbols.C:
12777         * form_maths_panel.C:
12778         * form_maths_panel.h:
12779         * form_maths_panel.fd: implemented sub- and super- buttons in math
12780         panel.
12781
12782         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12783         (or ^ space) to be used as in TeX (req'd by André).
12784
12785         * lyxfunc.C: Allow ^ and _ again to be used both as
12786         super/subscript (mathed) and as themselves (in text).
12787
12788 2002-01-03  Allan Rae  <rae@lyx.org>
12789
12790         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12791         "LyX" or the filename of the current buffer if it has one.  This is a
12792         modified form of John Levon's patch.
12793
12794         * XFormsView.C (setWindowTitle): also set icon title.
12795
12796         * LyXView.h (setWindowTitle): signature changed.
12797         * XFormsView.h (setWindowTitle): ditto.
12798
12799 2002-01-02  Juergen Vigna  <jug@sad.it>
12800
12801         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12802
12803 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * screen.C (topCursorVisible): introduce a temp var for
12806         text->cursor.row(), handle the case where this row is null. (kindo
12807         hachish)
12808
12809         * text2.C (setCursor): add a couple of asserts.
12810
12811         * paragraph.h (inset_iterator): add -> operator
12812
12813         * paragraph.[Ch] (autoDeleteInsets): remove member function
12814
12815         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12816         cursor pos correctly and handle inset deletion by itself.
12817         (insertErrors): move iterator declaration out of for expression
12818
12819         * lyxtextclass.C: add <algorithm>
12820
12821         * Makefile.am: added the new files to sources, removed layout.C
12822
12823         * layout.C: removed file
12824
12825         * layout.h: remove LYX_DUMMY_LAYOUT
12826
12827         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12828         layout.
12829
12830         * lyxlayout.[Ch]:
12831         * lyxtextclass.[Ch]:
12832         * lyxtextclasslist.[Ch]: new files
12833
12834         * include order changes to a lot of files, also changes because of
12835         the six new files.
12836
12837 2001-12-27  Juergen Vigna  <jug@sad.it>
12838
12839         * buffer.C (asciiParagraph): more fixes.
12840
12841         * tabular.C (ascii): make ascii export support export of only the
12842         data separated by a column-delimiter.
12843         (ascii): better support for ascii export.
12844
12845         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12846
12847 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12848
12849         * tabular_funcs.C: use a "using std::getline" instead of the
12850         previous fix from Angus (necessary for cxx + lyxstring)
12851
12852 2001-12-24  Juergen Vigna  <jug@sad.it>
12853
12854         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12855
12856         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12857         problems. First check a minipage also if we have some ert-contents
12858         (not only on par->size(), second set the right depth of the paragraph
12859         on the relink to the root-paragraph-list!
12860
12861         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12862         which then did not anymore update the main paragraphs on undo/redo!
12863
12864 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12865
12866         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12867         code. Support all font-changing funcs (even those which are not in
12868         menu currently). Support for reporting font settings in
12869         mathed (disabled until Andre provides a function on mathed's side).
12870
12871         * func_status.h (toggle): small helper function to set toggle
12872         state on a flag.
12873
12874 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12875
12876         * tabular_funcs.C: getline -> std::getline
12877
12878 2001-12-21  Juergen Vigna  <jug@sad.it>
12879
12880         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12881         accessed and could be 0 (I couldn't generate this but it seems
12882         Michael could!).
12883
12884 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12887         * tabular_funcs.h: here and include iosfwd
12888
12889 2001-12-20  Juergen Vigna  <jug@sad.it>
12890
12891         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12892         inside inset but undo_par was.
12893
12894 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12895
12896         * Thesaurus.C: always include <config.h> in sources.
12897
12898         * Painter.h:
12899         * lyxlookup.h:
12900         * box.h: do not include <config.h> in header files
12901
12902         * text.C (paintLastRow): remove unused variable
12903
12904         * text.C (transformChar):
12905         (insertChar):
12906         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12907
12908         * Painter.C (text):
12909         * font.C (width): rewrite to use uppercase() instead of
12910         islower/toupper.
12911
12912         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12913
12914 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * lyxfind.C: clean up of find failure position change
12917
12918 2001-12-20  Juergen Vigna  <jug@sad.it>
12919
12920         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12921
12922         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12923         (TeXRow): added to LaTeX a single tabular row.
12924         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12925         (Latex): simplified and finally good LT-h/f support.
12926         (various_functions): just small adaptions for LT-h/f support.
12927
12928         * tabular_funcs.[hC]: added and moved here all not classfunctions
12929         of LyXTabular.
12930
12931 2001-12-19  Juergen Vigna  <jug@sad.it>
12932
12933         * tabular.[Ch]: better support for longtabular options (not finished
12934         yet!)
12935
12936 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12937
12938         * text.C (paintLastRow): use the label font instead of the font of
12939         the last character to compute the size of *_BOX. This makes more
12940         sense and avoids a crash with empty paragraphs.
12941         Use Painter::rectangle to draw EMPTY_BOX.
12942
12943 2001-12-19  Juergen Vigna  <jug@sad.it>
12944
12945         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12946         the paragraphs if the replaced paragraph is not the first one!
12947         Tried to delete not used paragraphs but does not work yet so for
12948         now it's inside #ifdef's and by default off!
12949
12950 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12951
12952         * MenuBackend.C: include "lyx_main.h" instead of declaring
12953         lastfiles (actually was declared as LastFiles* instead of a
12954         scoped_ptr).
12955
12956 2001-12-17  Juergen Vigna  <jug@sad.it>
12957
12958         * tabular.C (AppendColumn): applied John's fix
12959
12960 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12961
12962         * BufferView.h:
12963         * BufferView.C:
12964         * BufferView_pimpl.h:
12965         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12966
12967         * Makefile.am:
12968         * box.h: new start of class for above
12969
12970         * lyxfunc.C: ignore space-only minibuffer dispatches.
12971           Show the command name when it doesn't exist
12972
12973         * minibuffer.C: don't add empty lines to the history
12974
12975         * minibuffer.C: add a space on dropdown completion
12976
12977 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12978
12979         * text.C: fix line above/below drawing in insets
12980
12981 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12982
12983         * lyxlength.C (LyXLength): Initialize private variables.
12984
12985 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12986
12987         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12988         when inserting error insets.
12989
12990 2001-12-13  Juergen Vigna  <jug@sad.it>
12991
12992         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12993         actually sometimes the before-paragraph.
12994         (setUndo): don't clear the redostack if we're not actually undoing!
12995
12996 2001-12-06  Juergen Vigna  <jug@sad.it>
12997
12998         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12999         and fixed redoing of main paragraph, so we can use it now ;)
13000
13001         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13002
13003 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13004
13005         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13006         Juergen's request
13007
13008 2001-12-13  André Pönitz <poenitz@gmx.net>
13009
13010         * undostack.[Ch]:
13011         * undo_func.C: minor cleanup
13012
13013 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13014
13015         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13016         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13017         font in urw-fonts package which is marked as -urw-fontspecific and
13018         does not work (incidentally, changing the encoding in the
13019         fonts.dir of this package to -adobe-fontspecific fixes the
13020         problem).
13021
13022         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13023         is a crash when undoing first paragraph (Juergen, please take a
13024         look). THis does not mean the undo fix is wrong, just that it
13025         uncovers problems.
13026
13027         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13028         the (Paragraph*) version when needed instead of duplicating the
13029         code.
13030
13031         * text.C (workWidth): use Inset::parOwner to find out where the
13032         inset has been inserted. This is a huge performance gain for large
13033         documents with lots of insets. If Inset::parOwner is not set, fall
13034         back on the brute force method
13035
13036         * paragraph_pimpl.C (insertInset):
13037         * paragraph.C (Paragraph):
13038         (cutIntoMinibuffer): set parOwner of insets when
13039         inserting/removing them
13040
13041         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13042
13043 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13044
13045         * commandtags.h:
13046         * LyXAction.C:
13047         * lyx_main.C:
13048         * lyxfunc.C:
13049         * mathed/formulabase.C:
13050         * mathed/math_cursor.[Ch]:
13051         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13052
13053
13054 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13055
13056         * lyxlength.[Ch] (operator!=): new function
13057
13058 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13059
13060         * text.C (workWidth): use Inset::parOwner to find out where the
13061         inset has been inserted. This is a huge performance gain for large
13062         documents with lots of insets. If Inset::parOwner is not set, fall
13063         back on the brute force method
13064
13065         * paragraph_pimpl.C (insertInset):
13066         * paragraph.C (Paragraph):
13067         (cutIntoMinibuffer): set parOwner of insets when
13068         inserting/removing them
13069
13070         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13071
13072 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13073
13074         * tabular-old.C (getTokenValue):
13075         * tabular.C (getTokenValue):
13076         (write_attribute): new versions for LyXLength
13077         (everywhere): adjust the use of widths
13078
13079         * tabular.h: change the type of widths from string to LyXLength
13080
13081 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13082
13083         * paragraph.C: fixed missing line number count when exporting
13084         Environments to LaTeX file
13085
13086         * buffer.C: added informational message for checking line numbers.
13087
13088 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13089
13090         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13091         paragraph, do the 'double space' part, but not the 'empty
13092         paragraph' one.
13093
13094         * text.C (workWidth): small optimization
13095         (getLengthMarkerHeight): use minimal size for negative lengths.
13096
13097 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13098
13099         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13100
13101         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13102
13103 2001-12-11  André Pönitz <poenitz@gmx.net>
13104
13105         * FontLoader.C:
13106         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13107
13108 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * text2.C: keep selection on a setFont()
13111
13112 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * lyx_cb.C: another bv->text misuse, from insert label
13115
13116 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13117
13118         * kbsequence.h:
13119         * kbsequence.C: re-instate nmodifier mask
13120
13121 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13122
13123         * lyx_main.h: make lyxGUI private.
13124
13125 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13126
13127         * lyxfind.C: place the cursor correctly on failed search
13128
13129 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13130
13131         * text.C (getLengthMarkerHeight): for small heights, the arrows
13132         are not always on top/bottom of the text
13133         (drawLengthMarker): smaller arrows; take the left margin in
13134         account; draw also vfills.
13135         (paintFirstRow):
13136         (paintLastRow): remove special code for vfill and standard spaces,
13137         since everything is handled in drawLengthMarker now.
13138
13139 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * buffer.C (insertErtContents): try to handle font and language
13142         interaction a bit better.g
13143
13144         * ColorHandler.C (updateColor): change the hash to cover the whole
13145         LColor enum, ws cleanup
13146         (getGCLinepars): ditto
13147         (getGCLinepars): only lookup in the linecache once.
13148
13149 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13150
13151         * iterators.C (operator++): Make the iterator more robust
13152
13153         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13154         (John's patch)
13155         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13156
13157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * lyxtext.h:
13160         * text.C: better added space drawing
13161
13162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * LyXView.C:
13165         * BufferView2.C: fix layout combo update on inset unlock
13166
13167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * Makefile.am: don't compile unused files
13170
13171 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13172
13173         * lyxfunc.C:
13174         * commandtags.h:
13175         * LyXAction.C: remove old LFUN_LAYOUTNO
13176
13177 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * paragraph_pimpl.h:
13180         * paragraph_pimpl.C: isTextAt() doesn't need font param
13181
13182 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * lyxlex.h:
13185         * lyxlex.C: little cleanup
13186
13187 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13188
13189         * BufferView_pimpl.C: fix insertAscii for insets
13190
13191 2001-12-05  Juergen Vigna  <jug@sad.it>
13192
13193         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13194         set the right font on the "multi" paragraph paste!
13195
13196 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13197
13198         * trans_decl.h:
13199         * trans_mgr.[Ch]:
13200         * trans.[Ch]:
13201         * lyxgluelength.C:
13202         * lyxlength.C: remove out-commented code.
13203
13204         * BufferView_pimpl:
13205         * CutAndPaste.C:
13206         * DepTable.C:
13207         * buffer.C:
13208         * chset.C:
13209         * lastfiles.C:
13210         * lyxlex.C:
13211         * lyxlex_pimpl.C:
13212         * lyxserver.C:
13213         * screen.C:
13214         * tabular-old.C:
13215         * tabular.C:
13216         * text.C:
13217         * trans_mgr.C:
13218         * vc-backend.C: change "while(" to "while ("
13219
13220         * lyxlength.[Ch]: add zero function to check if length is zero or
13221         not
13222         * lyxgluelength.C: use it
13223
13224 2001-12-05  Allan Rae  <rae@lyx.org>
13225
13226         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13227         Works for 2.95.3, from what I understand of Garst's reports this should
13228         work for other g++ versions.  We're screwed if the abs(int) definition
13229         changed between bugfix releases of gcc.
13230
13231 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13232
13233         * text.C: fix chapter label offset !
13234
13235 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * lyxtext.h:
13238         * text.C: fix hfill at end of line, clean up
13239
13240 2001-12-04  Juergen Vigna  <jug@sad.it>
13241
13242         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13243         that we force an update of the inset and it's owners if neccessary.
13244
13245 2001-12-03  Juergen Vigna  <jug@sad.it>
13246
13247         * text.C (rowLast): simplified code
13248
13249 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13250
13251         * lyxfunc.C: fix show options on timeout
13252
13253 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13254
13255         * screen.C (topCursorVisible): scroll half a page when the cursor
13256         reached top of bottom of screen
13257
13258 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13259
13260         * minibuffer.C: deactivate on loss of focus
13261
13262 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13263
13264         * vspace.[Ch] (operator!=): add operator.
13265
13266 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13267
13268         * BufferView_pimpl.C: refuse to open an inset when
13269         there's a selection.
13270
13271 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13272
13273         * BufferView_pimpl.C: allow to click on RHS of full row insets
13274
13275 2001-11-30  Juergen Vigna  <jug@sad.it>
13276
13277         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13278         insets for undo reasons.
13279
13280 2001-11-28  André Pönitz <poenitz@gmx.net>
13281
13282         * vspace.[Ch]: cosmetical changes
13283
13284 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13285
13286         * LyXAction.h:
13287         * LyXAction.C:
13288         * lyxfunc.h:
13289         * lyxfunc.C:
13290         * kbmap.h:
13291         * kbmap.C:
13292         * lyxrc.C:
13293         * kbsequence.h:
13294         * kbsequence.C: part re-write of old kb code
13295
13296         * Painter.C:
13297         * WorkArea.C: remove Lgb_bug_find_hack
13298
13299 2001-11-30  José Matos <jamatos@fep.up.pt>
13300
13301         * buffer.C (makeDocBookFile): add a comment to point a hack.
13302         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13303         Fixed a double write of labels.
13304
13305 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13306
13307         * LaTeX.C:
13308         * LaTeX.h Fixed bug in LaTeX class where it would not
13309         re-run latex if no depfiles were changed, but the .dvi was removed.
13310
13311 2001-11-28  André Pönitz <poenitz@gmx.net>
13312
13313         * all the files from the change on 2001/11/26:
13314         use lyx::layout_type instead of LyXTextClass::size_type
13315         use lyx::textclass_type instead of LyXTextClassList::size_type
13316
13317 2001-11-29  Juergen Vigna  <jug@sad.it>
13318
13319         * text.C: added support for paragraph::isFreeSpacing()
13320
13321         * buffer.C: same as above
13322
13323         * paragraph.h: inserted isFreeSpacing() function to enable
13324         FreeSpacing inside InsetERT.
13325
13326         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13327         of the paragraph's in the cut/copy buffer to 0!
13328
13329         * text2.C (removeRow): remove the assert as it can!
13330
13331         * lyxtext.h: added helper function firstRow returning firstrow and
13332         made firstrow private again.
13333
13334         * BufferView2.C (lockInset): don't relock if we're already locked!
13335
13336         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13337         the only paragraph.
13338         (removeRow): added Assert::(firstrow)
13339
13340         * debug.C: forgot to add INSETTEXT here.
13341
13342 2001-11-28  Juergen Vigna  <jug@sad.it>
13343
13344         * sp_spell.C (initialize): changed error text to more general
13345         spellchecker command use (not only ispell!)
13346
13347         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13348
13349         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13350
13351 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13352
13353         * vspace.C: initialise lyxgluelength on failure
13354
13355 2001-11-28  Allan Rae  <rae@lyx.org>
13356
13357         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13358         declaration & definition that looks like a function declaration.
13359
13360 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13361
13362         * BufferView2.C (copy):
13363         (copyEnvironment): do not clear the selection when doing a copy.
13364
13365         * text.C (paintFirstRow): compilation fix
13366
13367 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13368
13369         * tabular.C (Latex): correct line count when writing latex.
13370
13371 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13372
13373         * paragraph_pimpl.h:
13374         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13375           bug a bit
13376
13377 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13378
13379         * text.C:
13380         * LColor.h:
13381         * LColor.C: change vfillline->added_space
13382
13383         * text.C: add markers and text for added space
13384
13385         * vspace.C: fix comment
13386
13387 2001-11-28  André Pönitz <poenitz@gmx.net>
13388
13389         * paragraph.C: whitespace changes
13390         * all the other files from the change on 2001/11/26:
13391         change *::pos_type into lyx::pos_type
13392
13393 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13394
13395         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13396         language of the document when inserting error insets.
13397
13398 2001-11-26  André Pönitz <poenitz@gmx.net>
13399
13400         * BufferView_pimpl.[Ch]:
13401         *       CutAndPaste.C:
13402         * buffer.[Ch]:
13403         * lyxcursor.[Ch]:
13404         * lyxfind.C:
13405         * lyxfunc.C:
13406         * lyxrow.[Ch]:
13407         * paragraph.[Ch]:
13408         * paragraph_pimpl.[Ch]:
13409         * sp_spell.C:
13410         * text.C:
13411         * text2.C: reduce header dependencies, introduce type for positions
13412
13413 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13414
13415         * <various>: change to use Alert.h
13416
13417 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13418
13419         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13420         when encountering an unknown token.
13421         (readLyXformat2): Show an error message if there were unknown tokens.
13422
13423 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13424
13425         * BufferView2.C:
13426         * BufferView_pimpl.C:
13427         * buffer.C:
13428         * paragraph.h:
13429         * text.C:
13430         * text2.C: use par->isInset()
13431
13432 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13433
13434         * paragraph_pimpl.h:
13435         * paragraph_pimpl.C: cleanup
13436
13437 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13438
13439         * text2.C (removeRow):
13440         * text.C (setHeightOfRow): remove useless (and costly) call to
13441         getRow.
13442
13443 2001-11-20  Allan Rae  <rae@lyx.org>
13444
13445         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13446         Now need Inset*::checkInsertChar() to return true for appropriate
13447         cases so that the characters in the minibuffer will actually be
13448         inserted.
13449
13450 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13451
13452         * text.C: change the order of the includes.
13453         (workWidth): initialize it at once.
13454         (workWidth): make maxw unsigned
13455         (setHeightOfRow): remove unused variable (inset)
13456         (selectSelectedWord): remove unused variable (inset)
13457         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13458
13459 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13460
13461         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13462         server is not running.
13463         (openConnection):
13464         (closeConnection): add debug info when server is disabled.
13465
13466         * ColorHandler.C (getGCForeground): send debug message to GUI
13467         channel.
13468
13469         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13470
13471         * kbmap.C (bind): modify because return conventions of
13472         kb_sequence::parse have changed.
13473
13474         * kbsequence.C (parse): only ignore spaces and not any stupid
13475         control character. This avoids tests like s[i] <= ' ', which are
13476         guaranteed to fail with 8bit characters and signed chars.
13477         Change return code to string::npos when there have been no error
13478         (0 was a bad idea when error is at first character)
13479
13480 2001-11-14  José Matos  <jamatos@fep.up.pt>
13481
13482         * buffer.h:
13483         * buffer.C (simpleDocBookOnePar): removed unused argument.
13484
13485 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13486
13487         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13488         insets which are part of a word. Paragraph::isLetter takes care of
13489         that now. Use Paragraph::isInset to identify insets.
13490         (selectSelectedWord): do not test for hyphenation break.
13491
13492         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13493         that protected spaces are considered as spaces.
13494
13495         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13496         Inset::isLetter.
13497
13498 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13499
13500         * lyxserver.h:
13501         * lyxserver.C: fix it. and small cleanup.
13502
13503 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * BufferView_pimpl.C: use inline helpers
13506
13507         * LaTeXFeatures.h:
13508         * LaTeXFeatures.C: fix typos
13509
13510         * Spacing.h:
13511         * Spacing.C: move spacing_string into class
13512
13513         * ToolbarDefaults.C: move stuff into namespace anon
13514
13515         * layout.h: update enum
13516
13517         * lyxfunc.C: use better debug
13518
13519         * minibuffer.h: fix typo
13520
13521         * debug.h:
13522         * debug.C:
13523         * WorkArea.C: add and use Debug::WORKAREA
13524
13525         * lyxtext.h:
13526         * text.C:
13527         * text2.C: code re-organisation, inline helpers
13528
13529 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13530
13531         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13532         std::vector.empty().
13533
13534 2001-11-09  Allan Rae  <rae@lyx.org>
13535
13536         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13537         '\n's after tables.  Tabular and ERT inset work now makes this no
13538         longer necessary.
13539
13540 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13541
13542         * minibuffer.h:
13543         * minibuffer.C: fix crash, improve drop-down completion
13544
13545 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13546
13547         * lyxserver.h:
13548         * lyxserver.C: invalidate fd's when doing endPipe()
13549
13550 2001-11-08  José Matos  <jamatos@fep.up.pt>
13551
13552         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13553         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13554
13555         * paragraph.h:
13556         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13557
13558 2001-11-07  José Matos  <jamatos@fep.up.pt>
13559
13560         * buffer.h:
13561         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13562         const qualifier.
13563
13564         * buffer.C (sgmlOpenTag):
13565         * buffer.C (sgmlCloseTag): removed debug info.
13566
13567         * buffer.h (sgmlOpenTag):
13568         * buffer.h (sgmlCloseTag): made public.
13569
13570 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13571
13572         * buffer.C (saveParamsAsDefaults):
13573         * lyx_cb.C (MenuLayoutSave): remove
13574
13575         * LyXAction.C (init):
13576         * commandtags.h:
13577         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13578
13579 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13580
13581         * buffer.C (setPaperStuff): removed from here...
13582
13583         * bufferparams.C (setPaperStuff): ... and moved there.
13584
13585 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13586
13587         * minibuffer.h:
13588         * minibuffer.C:
13589         * XFormsView.C: add support for drop-down completion
13590
13591 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13592
13593         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13594         commands.
13595
13596 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13597
13598         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13599         disabled.
13600
13601 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * lyx_main.C: change ref to known bugs
13604
13605 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13606
13607         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13608         to work around older babel problems.
13609
13610 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13611
13612         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13613
13614 2001-10-24  Juergen Vigna  <jug@sad.it>
13615
13616         * tabular-old.C (ReadOld): below variable changes reflected.
13617
13618         * tabular.[Ch]: added ltType struct for longtable header/footer
13619         defines and changed all instances where they are used. Added
13620         future support for double top/bottom rows.
13621
13622 2001-10-24  José Matos  <jamatos@fep.up.pt>
13623
13624         * buffer.h (docbookHandleCaption):
13625         * buffer.C (docbookHandleCaption): removed unused function.
13626         (makeDocBookFile): moved docbook supported version to v4.1.
13627
13628 2001-10-24  José Matos  <jamatos@fep.up.pt>
13629
13630         * tabular.h:
13631         * tabular.C (docbookRow): new function to export docbook code of a row.
13632         (DocBook): now honors the longtable flags.
13633
13634 2001-10-23  José Matos  <jamatos@fep.up.pt>
13635
13636         * LaTeXFeatures.h:
13637         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13638         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13639
13640         * buffer.C (makeLinuxDocFile):
13641         (makeDocBookFile): reworked the preamble, more clean, and with
13642         support for lyx defined entities. Changed the document declaration
13643         to be more XML friendly.
13644
13645         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13646         if we need to output XML that should be done with a filter.
13647
13648 2001-10-22  Juergen Vigna  <jug@sad.it>
13649
13650         * sp_pspell.h (class PSpell): add alive function needed in the
13651         controller to see if the spellchecker could be started.
13652
13653 2001-10-22  Juergen Vigna  <jug@sad.it>
13654
13655         * buffer.C (insertStringAsLines): modify the font for inserting
13656         chars in certain conditions by calling checkInsertChar(font).
13657
13658 2001-10-19  Juergen Vigna  <jug@sad.it>
13659
13660         * text.C (workWidth): use getRow instead of wrong algorithm.
13661         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13662
13663 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13664
13665         * lyxserver.h:
13666         * lyxserver.C:
13667         * lyx_main.h:
13668         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13669
13670 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13671
13672         * text.C (workWidth): do not search for the exact row when
13673         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13674         optimization for big documents.
13675
13676 2001-10-18  Juergen Vigna  <jug@sad.it>
13677
13678         * text.C (workWidth): new function with added Inset * parameter.
13679
13680 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13681
13682         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13683
13684         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13685         change return type of getColumnNearX.
13686
13687
13688         * text.C (changeRegionCase): use uppercase/lowercase instead of
13689         toupper/tolower.
13690         (leftMargin):
13691         (rightMargin): simplify code by factoring out the uses of
13692         textclasslist.
13693         (labelFill):
13694         (numberOfHfills):
13695         (setHeightOfRow):
13696         (appendParagraph): use Paragraph::size_type
13697
13698 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * vspace.C (asLatexString): add a missing break
13701
13702 2001-10-15  Herbert Voss  <voss@perce.de>
13703
13704         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13705
13706 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13707
13708         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13709         is not available.
13710
13711 2001-10-10  André Pönitz <poenitz@gmx.net>
13712
13713         * lyxfunc.C: removed greek_kb_flag.
13714
13715 2001-10-10  Herbert Voss  <voss@perce.de>
13716
13717         * lyx_main.C: delete global string help_lyxdir.
13718
13719 2001-10-09  Herbert Voss  <voss@perce.de>
13720
13721         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13722
13723         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13724
13725         * lyx_main.C: added global string help_lyxdir.
13726
13727         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13728
13729 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13730
13731         * lyxrc.C (set_font_norm_type): support iso8859-4
13732
13733 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13734
13735         * LaTeX.C (deplog): add another regex for MikTeX
13736
13737 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13738
13739         * lyxrc.C (set_font_norm_type): support iso8859-3
13740
13741 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13742
13743         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13744
13745         * LaTeXFeatures.C: remove special case of french and index
13746
13747         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13748         before \begin{document}). This solves several incompatibilities.
13749
13750 2001-10-03  Garst Reese  <reese@isn.net>
13751
13752         * lyx_cb.C: change CheckTex error msg.
13753
13754 2001-10-03  José Matos  <jamatos@fep.up.pt>
13755
13756         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13757
13758 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13759
13760         * .cvsignore: update
13761
13762         * lyx_main.C (commandLineVersionInfo): use new style version info.
13763
13764         * buffer.C (writeFile):
13765         (makeLaTeXFile):
13766         (makeLinuxDocFile):
13767         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13768
13769         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13770
13771         * version.h: update to use stuff in version.C
13772
13773         * version.C.in: new file. Contains version information determined
13774         at compile time. This is a merging of version.h and
13775         version_info.h.in.
13776
13777 2001-10-03  Juergen Vigna  <jug@sad.it>
13778
13779         * BufferView_pimpl.C (update): don't change "dirty" status in
13780         updateInset call.
13781
13782 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13783
13784         * WorkArea.C (c-tor): re-position version string slightly.
13785
13786 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13789         revert to previous code.
13790
13791         WorkArea.[Ch]: (show, destroySplash): methods removed.
13792
13793         WorkArea.C: rework code so that it's an amalgam of the codes before and
13794         after the splash screen was moved to WorkArea.
13795
13796 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13797
13798         * lyxrc.C (read):
13799         * vspace.C (inPixels):
13800         (lyx_advance):
13801         * kbmap.C (bind):
13802         * buffer.C (insertStringAsLines):
13803         (asciiParagraph): fix types to be large enough
13804
13805         * lyxlex_pimpl.h: change member status from short to int
13806
13807         * layout.h: fix type of endlabeltype
13808
13809         * kbmap.C (bind):
13810         * kbsequence.C (parse): change return type to string::size_type
13811
13812         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13813         variable
13814
13815         * Bullet.C (bulletSize):
13816         (bulletEntry): do not use short ints as parameters
13817
13818         * BufferView2.C (insertLyXFile): change a char to an int.
13819
13820         * WorkArea.C (WorkArea): remove unneeded floats in computation
13821
13822 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13823
13824         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13825
13826         * paragraph.C (asString): Do not ignore newline/hfill chars when
13827         copying to the clipboard.
13828
13829 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13830
13831         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13832         after a multi-line inset.
13833
13834 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13835
13836         * paragraph.C (validate): Set NeedLyXFootnoteCode
13837
13838 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13839
13840         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13841         and decrease-error to decrease.
13842
13843 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13844
13845         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13846         it more readable (should be equivalent)
13847
13848 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13849
13850         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13851
13852 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13855         of a cursor (row, etc.) after a character has been deleted
13856         (deleteEmptyParagraphMechanism): call the method above on _all_
13857         cursors held by the LyXText when a double space has been
13858         detected/deleted.
13859
13860 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13861
13862         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13863         pixmap.
13864         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13865
13866         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13867         background. Use greyOut() and the new show() methods to toggle between
13868         the foreground and background. Add code to remove the splash after
13869         its initial showing.
13870
13871         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13872         (create_forms): no longer call Dialogs::showSplash.
13873
13874 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13875
13876         * .cvsignore: add version_info.h
13877
13878 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13879
13880         * version_info.h.in: new file
13881
13882         * Makefile.am: add version_info.h.in
13883
13884         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13885         version_info.h instead of VERSION_INFO
13886
13887 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13888
13889         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13890         The ERT inset now returns string().
13891
13892 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13893
13894         * lyxtext.h, text.C (selectNextWord): renamed as
13895         selectNextWordToSpellcheck.
13896
13897         * text.C (selectNextWordToSpellcheck): Modified to not select
13898         words inside an ERT inset.
13899
13900 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * lyx_cb.C (MenuLayoutSave): change a bit the question
13903
13904         * sp_base.h: include <sys/types.h>
13905
13906 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13907
13908         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13909
13910 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13911
13912         * several files: fix typos in user-visible strings
13913
13914 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13915
13916         * text2.C (pasteSelection): do not set the selection, since it
13917         will be cleared later. Actually, the intent was to fix the way the
13918         selection was set, but I figured rmoving the code was just as good.
13919
13920 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13921
13922         * FontLoader.C (available): Check if font is available without
13923         loading the font.
13924
13925 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13926
13927         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13928
13929 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13930
13931         * lyxrc.[Ch]: added display_graphics variable and associated code.
13932
13933 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * bufferparams.C (hasClassDefaults): new method. Returns true if
13936         the buffer parameters correspond to known class defaults
13937
13938 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13939
13940         * XFormsView.C (show): set minimum size to the main window.
13941
13942 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13943
13944         * text2.C (copySelection):
13945         (cutSelection):
13946         * lyxfind.C (LyXReplace):
13947         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13948         LyXText::selectionAsString.
13949
13950         * paragraph.C (asString): add "label" argument to the second form
13951
13952         * text2.C (selectionAsString): add "label" argument and pass it to
13953         Paragraph::asString.
13954
13955 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * lyx_main.C (commandLineHelp): remove version information
13958
13959 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13960
13961         * lyx_main.C: add -version commandline option
13962
13963 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13964
13965         * paragraph.h: make the optional constructor arg required instead.
13966         some modifications to other files because of this.
13967
13968         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13969
13970         * lyxserver.C (C_LyXComm_callback): make it static
13971
13972         * lyx_main.C (error_handler): make it static
13973
13974         * lyx_gui.C (LyX_XErrHandler): make it static
13975
13976         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13977
13978         * WorkArea.C: make the extern "C" methods static.
13979
13980         * Makefile.am (lyx_LDADD): simplify
13981
13982 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13983
13984         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13985         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13986
13987         * LyXAction.C (init):
13988         * lyxfunc.C (dispatch): associated code removal.
13989
13990 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * lyxfont.h (isSymbolFont): shut off warning
13993
13994         * text.C (setHeightOfRow):
13995         (getVisibleRow): fix crash with empty paragraphs which have a
13996         bottom line
13997
13998 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13999
14000         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14001         code.
14002
14003 2001-09-04  José Matos  <jamatos@fep.up.pt>
14004         * buffer.C
14005         * buffer.h
14006         * tabular.C (docbook): rename docBook method to docbook.
14007
14008 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14009
14010         * Makefile.am: add dependencies to main.o.
14011
14012 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14013
14014         * FontLoader.C (available): Return false if !lyxrc.use_gui
14015
14016 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14017
14018         * FontInfo.C (query):
14019         * converter.C (view):
14020         * importer.C (Import):
14021         * exporter.C (Export): Can not -> cannot.
14022
14023 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14024
14025         * BufferView_pimpl.C: allow to create index inset even if
14026           string is empty
14027
14028 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14029
14030         * buffer.C (getLists): replace boost::tie code with an explicit pair
14031         as boost::tie can break some compilers.
14032
14033         * iterators.h: Added a std:: declaration to the return type of
14034         ParIterator::size.
14035
14036 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14037
14038         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14039           case.
14040
14041 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14042
14043         * iterators.[Ch]: New files. Provide paragraph iterators.
14044
14045         * buffer.C (changeLanguage): Use paragraph iterators.
14046         (isMultiLingual): ditto
14047
14048         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14049
14050 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14051
14052         * FontLoader.C: Support for cmr font.
14053
14054 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14055
14056         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14057         (available): New method.
14058
14059         * FontInfo.C (getFontname): Use scalable fonts even when
14060         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14061         found.
14062
14063 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14064
14065         * converter.C (Formats::view): reverted! Incorrect fix.
14066
14067 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14068
14069         * converter.C (Formats::view): only output the -paper option
14070         if the dvi viewer is xdvi, thereby fixing bug #233429.
14071
14072 2001-08-23  Herbert Voss  <voss@perce>
14073
14074         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14075
14076 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14077
14078         * Spacing.h (Spacing): Set space to Default on in the default
14079         constructor.
14080
14081 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14082
14083         * vc-backend.h (RCS::versionString): add RCS to version
14084         (CVS::versionString): add CVS to version
14085
14086         * vc-backend.C (scanMaster): do not add CVS to version.
14087         (scanMaster): do not add RCS to version
14088
14089         * lyxvc.C (versionString): new method
14090
14091         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14092
14093 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14094
14095         * Spacing.C (set): initialize fval
14096
14097 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14098
14099         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14100         " or \.
14101
14102 2001-08-16  Juergen Vigna  <jug@sad.it>
14103
14104         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14105
14106 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14107
14108         * BufferView_pimpl.C:
14109         * figureForm.C:
14110         * lyxtext.h:
14111         * text2.C: setParagraph takes linespacing now
14112
14113 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14114
14115         * LyxAction.C: add internal LFUN_CITATION_INSERT
14116
14117         * LyXView.C: actually apply fix
14118
14119         * bufferlist.C: fix open non-existent file
14120
14121         * lyxfind.C: fix indentation
14122
14123         * lyxfunc.C: remove unneeded assert, fix typo
14124
14125 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * MenuBackend.C: use "Floatname List"
14128
14129 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14130
14131         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14132         when converting LaTeX layout to insetERT.
14133         Generate a non-collapsed float when reading old float
14134
14135 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14136
14137         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14138         ERT insets.
14139
14140 2001-08-13  Juergen Vigna  <jug@sad.it>
14141
14142         * text.C (fill): return 0 instead of 20 as this seems to be the more
14143         correct value.
14144
14145 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14146
14147         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14148         lyxrc.font_norm.
14149
14150 2001-08-13  Juergen Vigna  <jug@sad.it>
14151
14152         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14153         casesensitive off.
14154         (SearchBackward): comment out the unlocking of the inset_owner this
14155         should not be needed!
14156
14157 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14158
14159         * Many files: Remove inherit_language, and add latex_language
14160
14161         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14162         collapsible insets.
14163
14164 2001-08-10  Juergen Vigna  <jug@sad.it>
14165
14166         * text.C (prepareToPrint): fixed hfill-width in draw!
14167
14168         * BufferView2.C (selectLastWord): save the selection cursor as this
14169         now is cleared in the function LyXText::clearSelection!
14170
14171 2001-08-08  Juergen Vigna  <jug@sad.it>
14172
14173         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14174         BACKSPACE type functions.
14175
14176         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14177         is only cutted from the document but not put in the cut-buffer, where
14178         still the old stuff should be.
14179
14180         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14181
14182         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14183
14184         * tabular.C (SetWidthOfCell): fixed special case where the width
14185         was not updated!
14186         (LeftLine): handle '|' in align_special.
14187         (RightLine): ditto
14188         (LeftAlreadyDrawed): ditto
14189         (SetWidthOfCell): ditto
14190
14191 2001-08-07  Juergen Vigna  <jug@sad.it>
14192
14193         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14194
14195 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14196
14197         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14198         * lyxlex.[hC]: ditto
14199
14200 2001-08-06  Juergen Vigna  <jug@sad.it>
14201
14202         * text.C (getVisibleRow): fix up row clearing a bit.
14203
14204 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * minibuffer.C: make sure the X server sees the changes in the input.
14207
14208 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14209
14210         * paragraph.C (getFont): split into...
14211         (getLabelFont): this
14212         (getLayoutFont): and this
14213         * paragraph_pimpl.C (realizeFont): calling this
14214
14215         * text2.C (getFont): split into...
14216         (getLayoutFont): this
14217         (getLabelFont): and this
14218         (realizeFont): all three calling this
14219
14220         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14221         files where used.
14222
14223 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14224
14225         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14226
14227 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14228
14229         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14230         layouts from the Quote inset insertion.
14231
14232 2001-08-03  Juergen Vigna  <jug@sad.it>
14233
14234         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14235
14236         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14237         only if status not is already CHANGED_IN_DRAW (second level).
14238
14239         * text.C (draw): don't set the need_break_row when inside an
14240         InsetText LyXText.
14241
14242 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14243
14244         * buffer.C (parseSingleLyXformat2Token): handle more latex
14245         conversion cases.
14246
14247         * bufferview_funcs.[hC]: change function names to
14248         begin with small char, adjust other files.
14249
14250 2001-08-02  André Pönitz <poenitz@gmx.net>
14251
14252         * lyxfunc.C:
14253         BufferView_pimpl.C: remove broken special code for math-greek
14254
14255 2001-08-02  Juergen Vigna  <jug@sad.it>
14256
14257         * BufferView_pimpl.C (update): redone this function so that we
14258         update the text again if there was a CHANGE_IN_DRAW.
14259
14260         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14261         (drawFromTo): added a new internal bool which is used by draw() and
14262         redraw() function.
14263         (general): some cursor drawing problems fixed.
14264
14265 2001-08-01  Juergen Vigna  <jug@sad.it>
14266
14267         * lyxfind.C (LyXFind): fixed
14268         (SearchForward): ditto
14269         (SearchBackward): ditto
14270
14271         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14272         spurius drawing of the cursor in the main area.
14273
14274         * text2.C (status): small fix which could lead to a segfault!
14275         (clearSelection): remove unneeded BufferView param.
14276
14277 2001-08-01  André Pönitz <poenitz@gmx.net>
14278
14279         * lyxfunc.C: small change due to changed mathed interface
14280
14281 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14282
14283         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14284
14285 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14286
14287         * lyxfunc.c: fail gracefully if file doesn't exist
14288
14289         * LyXSendto.C:
14290         * buffer.C:
14291         * lyxfunc.C:
14292         * BufferView_pimpl.C: IsDirWriteable() proto changed
14293
14294         * LyXView.C: fix updateWindowTitle() to store the last title
14295
14296 2001-07-31  Juergen Vigna  <jug@sad.it>
14297
14298         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14299         the font (wrong since using of Paragraph::highestFontInRange).
14300
14301         * paragraph.C (highestFontInRange): added a default_size parameter.
14302
14303         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14304         (setHeightOfRow): reformat
14305
14306 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * converter.[hC] + affected files: move to (inital-char)lowercase
14309         function names.
14310
14311         * ParagraphParameters.C (ParagraphParameters): remove commented code
14312
14313         * PainterBase.[Ch]: remove commented code
14314
14315         * LaTeXFeatures.h: add "bool floats" for float.sty
14316
14317         * LaTeXFeatures.C (LaTeXFeatures): init floats
14318         (require): handle float
14319         (getPackages): do it with floats
14320
14321 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14322
14323         * BufferView_pimpl.C (Dispatch): improve handling of
14324         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14325
14326         * commandtags.h: #include lyxfont.h here temporarily to avoid
14327         keybinding bug.
14328
14329         * bufferlist.h: include LString.h here.
14330
14331 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14332
14333         * text2.C (getStringToIndex): new method.
14334
14335 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14336
14337         * *: Reduced header file dependencies all over.
14338
14339 2001-07-30  Baruch Even  <baruch@lyx.org>
14340
14341         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14342
14343 2001-07-29  Baruch Even  <baruch@lyx.org>
14344
14345         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14346
14347 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * ParameterStruct.h (endif): add a default constructor to make
14350         sure that all variables is initialized.
14351
14352         * ParagraphParameters.C (ParagraphParameters): adjust
14353
14354 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14357         index; also, check that there is something to index, and that it
14358         does not span over several paragraphs.
14359         (doubleClick): use WHOLE_WORD_STRICT for double click.
14360
14361         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14362
14363         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14364         scheme.
14365
14366 2001-07-26  Baruch Even  <baruch@lyx.org>
14367
14368         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14369         an InsetFig figure, backwards compatible reading of old figure code.
14370
14371 2001-07-27  Juergen Vigna  <jug@sad.it>
14372
14373         * text2.C: font.realize function adaption.
14374
14375         * text.C (draw): add a warnings lyxerr text if needed.
14376
14377         * layout.C: font.realize function adaption.
14378
14379         * language.C: add inherit_language and implement it's handlings
14380
14381         * bufferview_funcs.C (StyleReset): remove language parameter from
14382         font creation (should be language_inherit now).
14383
14384         * bufferparams.C (writeFile): handle ignore_language.
14385
14386         * paragraph.C (getFontSettings): the language has to be resolved
14387         otherwise we have problems in LyXFont!
14388
14389         * lyxfont.C (lyxWriteChanges): added document_language parameter
14390         (update): removed unneeded language parameter
14391
14392         * paragraph.C (validate): fixed wrong output of color-package when
14393         using interface colors for certain fonts in certain environments,
14394         which should not seen as that on the final output.
14395
14396 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14397
14398         * BufferView_pimpl.C:
14399         * Thesaurus.h:
14400         * Thesaurus.C:
14401         * Makefile.am:
14402         * commandtags.h:
14403         * LyXAction.C: add thesaurus support
14404
14405         * lyxfind.h:
14406         * lyxfind.C: add "once" parameter, for thesaurus, to not
14407           move to the next match
14408
14409 2001-07-26  Juergen Vigna  <jug@sad.it>
14410
14411         * lyxfont.C (realize): honor ignore_language too!
14412         (resolved): ditto.
14413
14414         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14415
14416         * text.C (draw): one place more for ignore_language to not draw
14417         itself!
14418
14419 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14420
14421         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14422
14423 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14424
14425         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14426         the minipage conversion problem.
14427
14428 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429
14430         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14431         insert an inset.
14432
14433 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14434
14435         * BufferView.h: don't forward declare WorkArea
14436
14437         * BufferView.C: don't include WorkArea.h
14438
14439 2001-07-25  André Pönitz <poenitz@gmx.net>
14440
14441         * commandtags.h:
14442         * LyXAction.C:
14443         * lyxfunc.C:  new LFUN 'math-space'
14444
14445         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14446
14447 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14448
14449         * text2.C (toggleInset): call open/close
14450
14451 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14452
14453         * lyxfunc.C (dispatch): add debug for the disabled case
14454
14455         * font.C (buttonText): make similar to rectText
14456
14457         * buffer.C (readInset): comment out parsing of insetlist and
14458         insttheorem
14459
14460         * PainterBase.C (rectText): small correction
14461
14462         * BufferView_pimpl.C: comment out insettheorem and insetlist
14463         * LyXAction.C: ditto
14464         * commandtags.h: ditto
14465
14466 2001-07-24  Juergen Vigna  <jug@sad.it>
14467
14468         * text.C (draw): honor the ignore_language.
14469
14470         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14471
14472 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14473
14474         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14475         char inset.
14476
14477 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14478
14479         * lyxtext.h: remove unused (and unimplemented) methods
14480
14481 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14482
14483         * text.C (getVisibleRow): honor background color
14484
14485         * PainterBase.h:
14486         * Painter.h: remove default color argument for fillRectangle
14487
14488         * text.C (backgroundColor): new method
14489
14490 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14491
14492         * text.C (getVisibleRow): adjust
14493
14494         * font.[Ch] (rectText): new method, metrics
14495         (buttonText): new method, metrics
14496
14497         * PainterBase.[hC]: make rectText and buttonText always draw and take
14498         fewer paramteres.
14499
14500 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14501
14502         * ToolbarDefaults.C (read):
14503         * MenuBackend.C (read): allow escaping in all strings
14504
14505         * BufferView_pimpl.C (insertAndEditInset): new method.
14506         (Dispatch): use insertAndEditInset whenever appropriate.
14507
14508         * BufferView_pimpl.C (insertNote): removed
14509
14510         * BufferView_pimpl.C (smartQuote): new method, moved from
14511         BufferView; if an insetquote cannot be inserted, insert a '"'
14512         character instead.
14513
14514         * BufferView2.C: remove insertCorrectQuote();
14515
14516         * lyxfunc.C (getStatus): Add support for all remaingin
14517         inset-insert lfuns.
14518
14519         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14520
14521         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14522         command (necessary to pass " as parameter of self-insert.
14523
14524         * text.C (selectWordWhenUnderCursor):
14525         (selectWord): add word_location parameter
14526         (selectWordWhenUnderCursor): same + remove special code for word
14527         boundary.
14528         (selectNextWord): use kind() to guess type of insetspecialchar,
14529         not latex().
14530
14531         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14532         (insertErtContents): create ert insets as collapsed.
14533         (readInset): better compatibility code for Info inset.
14534
14535 2001-07-20  Juergen Vigna  <jug@sad.it>
14536
14537         * lyxfunc.C (dispatch): use always LyXFind now!
14538
14539         * text2.C (init): add a reinit flag so that the LyXText can be
14540         reinited instead of deleted and reallocated (used in InsetText).
14541
14542         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14543
14544         * text.C: ditto
14545
14546         * text2.C: ditto
14547
14548 2001-07-18  Juergen Vigna  <jug@sad.it>
14549
14550         * text.C (selectNextWord): handle insets inside inset by calling
14551         always the bv->text functions so that we can go up the_locking_inset!
14552
14553         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14554         in strange locations when inside an inset!
14555
14556         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14557         handling to include insets.
14558
14559         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14560
14561 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * LyXAction.C (init):
14564         * commandtags.h:
14565         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14566         LIGATURE_BREAK, since the name is so stupid.
14567
14568 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14569
14570         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14571         InsetInfos.
14572
14573         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14574
14575         * sp_form.[Ch]: remove.
14576
14577         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14578
14579         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14580         InsetInfo.
14581
14582         * src/buffer.C (readInset): ditto.
14583
14584 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14585
14586         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14587         menuSeparator(), endOfSentenceDot(), ldots() and
14588         hyphenationPoint(), which are therefore removed.
14589         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14590
14591         * LyXAction.C (init):
14592         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14593
14594         * paragraph.C (getWord): removed.
14595
14596         * BufferView_pimpl.C (Dispatch): use last word or selection for
14597         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14598
14599         * lyx_main.C (queryUserLyXDir): do not ask before creating
14600         user_dir, except if it has been named explicitely.
14601
14602 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14603
14604         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14605         a document of zero size.
14606
14607 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14608
14609         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14610         approriately in the c-tor and in require().
14611         (getPackages): output the appropriate LaTeX for natbib support.
14612
14613         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14614         variables "use_natbib" and "use_numerical_citations" when reading the
14615         LyX file.
14616         (readInset): read the various natbib cite commands.
14617         (validate): white-space change.
14618
14619         * bufferparams.[Ch]: new variables "bool use_natbib" and
14620         "bool use_numerical_citations".
14621         (writeFile): output them in the LyX file.
14622
14623 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14624
14625         * lyxfunc.C (getStatus): add support for all the inset insertion
14626         commands.
14627
14628         * text2.C (insertInset):
14629         * paragraph.C (insetAllowed):
14630         * BufferView_pimpl.C (insertInset): update to take in account the
14631         renaming of insertInsetAllowed
14632
14633         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14634
14635         * text2.C (getInset): new method. returns inset at cursor position.
14636
14637         * BufferView_pimpl.C (Dispatch): changes because of this.
14638
14639         * LyXAction.C (init): rename open-stuff to inset-toggle.
14640
14641         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14642
14643         * text2.C (toggleInset): renamed from openStuff; use
14644         Inset::open().
14645
14646 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14647
14648         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14649
14650         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14651
14652 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14653
14654         * buffer.C (readLyXformat2): Add filename to the error dialog
14655
14656 2001-07-18  Juergen Vigna  <jug@sad.it>
14657
14658         * tabular.C (GetCellNumber): put an assert here instead of the check!
14659
14660 2001-07-17  Juergen Vigna  <jug@sad.it>
14661
14662         * BufferView_pimpl.C (toggleSelection): adapted too.
14663
14664         * text.C (selectNextWord): adapted for use with insets.
14665         (selectSelectedWord): ditto
14666
14667 2001-07-17  Juergen Vigna  <jug@sad.it>
14668
14669         * sp_spell.C (PSpell): fix initialitation order.
14670
14671 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * paragraph.C: spacing
14674
14675 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14676
14677         * sp_spell.C: repair language selection for pspell
14678
14679 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * lyxfunc.h: change more methods to begin with lower char.
14682
14683 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14684
14685         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14686         for unknown layouts.
14687
14688 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14689
14690         * buffer.C (readLyXformat2): Generate an error dialog if there are
14691         unknown layouts.
14692
14693 2001-07-16  Juergen Vigna  <jug@sad.it>
14694
14695         * sp_spell.C: always compile ISpell part.
14696
14697         * lyxrc.C: added use_pspell entry and it's handling.
14698
14699 2001-07-13  Juergen Vigna  <jug@sad.it>
14700
14701         * sp_spell.C: removed double includes.
14702
14703 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14704
14705         Consistent use of Lsstream.h:
14706         * Lsstream.h: added using std::stringstream for consistencies sake.
14707
14708         * buffer.C: removed using std::stringstream
14709
14710         * lyxfont.C (stateText):
14711         * paragraph.C (asString):
14712         * text.C (selectNextWord, selectSelectedWord):
14713         * text2.C (setCounter):
14714         * vspace.C (asString, asLatexString):
14715         std::ostringstream -> ostringstream.
14716
14717 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14718
14719         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14720         * commandtags.h: add LFUN_HELP_ABOUTLYX
14721         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14722
14723 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14724
14725         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14726         cursorToggle()
14727         * lyx_gui_misc.C: remove spellchecker
14728         * lyxfunc.C: showSpellchecker
14729         * sp_base.h: added
14730         * sp_ispell.h: added
14731         * sp_pspell.h: added
14732         * sp_spell.C: added
14733         * sp_form.[Ch]: removed
14734         * spellchecker.[Ch]: removed
14735
14736 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14737
14738         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14739         is set.
14740         (simpleTeXSpecialChars): Simply print the input character without
14741         any special translation if pass_thru is set.
14742
14743         * layout.h: Added bool pass_thru to layout class for being able to
14744         implement pass through of a paragraph for Literate Programming.
14745
14746         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14747         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14748         * layout.C (Read): add "passthru" to list of layout tags and add
14749         code to set the pass_thru boolean when it is read.
14750
14751 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * trans_decl.h: remove allowed from KmodInfo
14754
14755         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14756         remove allowed code
14757         (Load): adjust
14758
14759         * paragraph_pimpl.C (erase): use boost::prior
14760
14761         * Painter.C (text): use data() instead of c_str() when length is
14762         also provided.
14763         * WorkArea.C (putClipboard): ditto
14764         * font.h (width): ditto
14765
14766         * BufferView2.C: use it-> instead of (*it). for iterators
14767         * texrow.C: ditto
14768         * paragraph_pimpl.C: ditto
14769         * paragraph.C: ditto
14770         * minibuffer.C: ditto
14771         * language.C: ditto
14772         * kbmap.C: ditto
14773         * encoding.C: ditto
14774         * counters.C: ditto
14775         * converter.C: ditto
14776         * chset.C: ditto
14777         * Variables.C: ditto
14778         * TextCache.C: ditto
14779         * MenuBackend.C: ditto
14780         * LyXAction.C: ditto
14781         * LColor.C: ditto
14782         * FloatList.C: ditto
14783         * DepTable.C: ditto
14784         * ColorHandler.C (LyXColorHandler): ditto
14785
14786 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14787
14788         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14789
14790         * text2.C (openStuff): reintroduce this method (which had been
14791         nuked in NEW_INSETS frenzy).
14792
14793         * lyxfunc.C (Dispatch): when an action has not been handled, use
14794         its name in the error message, not its number.
14795
14796         * paragraph.C (inInset): change method name to begin with lowercase.
14797
14798         * undo_funcs.C:
14799         * text2.C: updates because of this.
14800
14801 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * ToolbarDefaults.C (add): add spaces in error message
14804
14805 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14806
14807         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14808         (readLyXformat2): rename return_par to first_par, use lyxlex's
14809         pushToken and remove the manual push handling.
14810         (parseSingleLyXformat2Token): add another ert comp. variable:
14811         in_tabular, rename return_par to first_par. handle newlines better
14812
14813 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14814
14815         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14816
14817 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14818
14819         * text2.C (getParFromID): removed
14820
14821         * buffer.C (getParFromID): new method moved form lyxtext.
14822         * BufferView2.C (insertErrors): adjust
14823         (setCursorFromRow): adjust
14824         * BufferView_pimpl.C (restorePosition): adjust
14825         * lyxfunc.C (Dispatch): adjust
14826         * undo_funcs.C (textUndo): adjust
14827         (textRedo): adjust
14828         (textHandleUndo): adjust
14829         (textHandleUndo): adjust
14830
14831 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * buffer.C: up' the LYX_FORMAT
14834
14835         * lyxfont.h: turn NO_LATEX on as default
14836
14837         * buffer.C (insertErtContents): new methods of tex style compability.
14838         (parseSingleLyXformat2Token): use it several places.
14839         * tabular.C (OldFormatRead): and here
14840
14841 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * text2.C: remove some commented code.
14844         reindent file.
14845
14846         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14847         * trans.C: changes because of the above.
14848
14849 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14850
14851         * text2.C (setCounter): Fix counters bug with bibliography layout.
14852
14853 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14854
14855         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14856         own member functions
14857         (simpleTeXSpecialChars): ditto
14858
14859 2001-07-06  Juergen Vigna  <jug@sad.it>
14860
14861         * a lot of files: changed the access to LyXText::status and the
14862         call of undo-functions.
14863
14864         * undo.[Ch]: added a inset_id to the undo informations.
14865
14866         * undo_funcs.[Ch]: added and moved here all undo functions.
14867
14868         * lyxtext.h: give the status enum a weight, made status_ a private
14869         variable and made accessor functions for it, removed the whole bunch
14870         of undo-functions as they are now in their own file, make some
14871         functions publically available. Added function ownerParagraph with
14872         int parameter.
14873
14874         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14875         made InInset() a const function, added getParFromID() function.
14876
14877         * buffer.[Ch]: added const version for inset_iterator functions,
14878         added getInsetFromID() function.
14879
14880         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14881         changed undo functions for new version.
14882
14883 2001-07-05  Juergen Vigna  <jug@sad.it>
14884
14885         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14886         unknow mechanism does not call the proper constructor but only this
14887         one also if I request the other!?
14888
14889 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14890
14891         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14892
14893         * text2.C (LyXText): use initialization lists.
14894
14895         * lyxtext.h (Selection): initialize set_ and mark_
14896         (init): remove method
14897
14898 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14899
14900         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14901
14902 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14903
14904         * screen.[Ch]: change method names to begin with lowercase
14905
14906         * BufferView_pimpl.C (updateScrollbar): simplify further and
14907         hopefully make it a bit faster.
14908
14909 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14910
14911         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14912         calling directly xforms functions.
14913
14914         * Painter.C (Painter):
14915         * lyx_cb.C (MenuWrite):
14916         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14917         fl_display.
14918
14919         * lyx_gui.C: remove bogus guiruntime extern declaration.
14920
14921 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14924         in NEW_INSETS
14925         (redoDrawingOfParagraph): ditto
14926         (redoParagraphs): ditto
14927         (cutSelection): don't create a object for CutAndPaste use the
14928         static method directly
14929         (pasteSelection): ditto
14930
14931         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14932         LyXview (+ rename)
14933
14934 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14935
14936         * modifications to some other files because of this.
14937
14938         * Makefile.am (lyx_SOURCES): add XFormsView
14939
14940         * XFormsView.[Ch]: new files
14941
14942         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14943         the main window. Move the gui dependent stuff to XFormsView
14944
14945 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * tabular.C (GetCellInset): update cur_cell also in the row/col
14948         version of this function.
14949
14950         * lyxfunc.C: no need to include figure_form.h here.
14951
14952         * FontLoader.h:
14953         * lyxfunc.h:
14954         * lyxscreen.h:
14955         * text2.C:
14956         * lyxvc.C: no need to include forms.h here.
14957
14958 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14959
14960         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14961
14962         * lyxfunc.C (Dispatch):
14963         * Spacing.C (set):
14964         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14965         constructor argument.
14966
14967 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14968
14969         * paragraph.C (Paragraph): dont't clear, and just set layout.
14970         (makeSameLayout): use params's copy contructor.
14971
14972         * ParagraphParameters.[Ch] (makeSame): delete method
14973
14974 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * Variables.[Ch]: fix indentation, rename set to isSet
14977
14978 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * lyxfunc.C (Dispatch): fix typo
14981
14982 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14983
14984         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14985         upper_bound.
14986
14987         * bufferlist.C: include assert.h for emergencyWrite().
14988
14989 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14990
14991         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14992           give up at last (bug #425202) !
14993
14994 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14995
14996         * lyx_gui_misc.C:
14997         * sp_form.h:
14998         * sp_form.C:
14999         * spellchecker.h:
15000         * spellchecker.C: strip spellchecker options and bring up
15001           preferences tab instead
15002
15003 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15004
15005         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15006         the istringstream constructor
15007
15008 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15009
15010         * paragraph.C (getLayout): fix return value
15011
15012         * paragraph.h: do not declare getLayout as inline.
15013
15014         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15015
15016 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15017
15018         * lyxcursor.h (operator<): new func
15019         (operator>): new func
15020         (operator>=): new func
15021         (operator<=): new func
15022
15023         * text.C (changeCase): use selection.start and selection.end
15024         (changeRegionCase): require from to be <= to. Require par to be a
15025         valid paragraph.
15026
15027         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15028
15029 2001-06-27  Juergen Vigna  <jug@sad.it>
15030
15031         * text.C (cursorLeftOneWord): changed to return the cursor and added
15032         overlay with BufferView * parameter which calls this one.
15033         (getWord): added
15034         (selectWord): use new getWord function.
15035         (changeCase): renamed from changeWordCase as and extended to work
15036         also on selections.
15037
15038         * lyxtext.h: added enum word_location
15039
15040         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15041         changeCase as this operates now also on selections.
15042
15043 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15044
15045         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15046
15047         * many files: send debug output to Debug::INFO instead of
15048         Debug::ANY.
15049
15050         * converter.C (View):
15051         (Convert):
15052         (Move): send debug output to Debug::FILES instead of console.
15053
15054 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15055
15056         * lyxfunc.C (getStatus): use func_status
15057
15058         * func_status.h: new header, describing the results of
15059         LyXFunc::getStatus;
15060
15061         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15062         LFUN_MATH_HALIGN.
15063
15064 2001-06-25  The LyX Project  <jug@sad.it>
15065
15066         * buffer.C (sgmlOpenTag):
15067         (sgmlCloseTag):
15068         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15069
15070 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15071
15072         * text2.C: remove some dead code
15073
15074         * tabular.C (GetCellInset): store the last cell checked (gotten)
15075
15076         * tabular.h: add the helper for the speedup
15077
15078         * lyxtext.h: remove some dead code
15079
15080 2001-06-26  The LyX Project  <Asger>
15081
15082         * paragraph.C: Change export to LaTeX of alignment to
15083         \begin{center} and family for better roundtrip work with reLyX.
15084
15085         * Tune the math drawing a bit.
15086
15087 2001-06-25  The LyX Project  <Asger>
15088
15089         * LColor.C (LColor): New color for math background. New color
15090         for buttons.
15091
15092 2001-06-25  The LyX Project  <jug@sad.it>
15093
15094         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15095
15096         * lyxfunc.C (Open):
15097         * bufferlist.C (newFile): do not restrict to files ending with
15098         .lyx
15099
15100         * BufferView_pimpl.C (MenuInsertLyXFile):
15101
15102 2001-06-24  The LyX Project  <jug@sad.it>
15103
15104         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15105         of compare_no_case
15106
15107 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15108
15109         * lyxtext.h: rename most methods to begin with a small char.
15110         Lots of changes because of this.
15111
15112         * paragraph.C (Paragraph): do not call fitToSize
15113         (erase): call Pimpl::erase
15114         (insertChar): call Pimpl::insertChar
15115         (insertInset): call Pipl::insertInset
15116         (breakParagraph): do not call fitToSize
15117         (breakParagraphConservative): do not call fitToSize
15118         (fitToSize): remove method
15119
15120         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15121
15122 2001-06-24  The LyX Project  <Asger>
15123
15124         * Fix Qt compilation^2
15125
15126 2001-06-24  The LyX Project  <jug@sad.it>
15127
15128         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15129         depthHook(getDepth()-1).
15130
15131         * paragraph.h:
15132         * ParagraphParameters.h:
15133         * ParameterStruct.h: change type of depth to unsigned int ==
15134         depth_type. Many adaptations to other files before of that.
15135
15136 2001-06-24  The LyX Project  <Asger>
15137
15138         * Fix Qt compilation.
15139
15140 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15141
15142         * paragraph.h: renamed several methods to begin with small letter.
15143         several changes to many parts of the code because of this.
15144
15145 2001-06-23  The LyX Project  <jug@sad.it>
15146
15147         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15148         rewritten to discard all double spaces when KeepEmpty is off
15149         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15150         to only handle newlines but not fiddle with spaces and friends.
15151
15152         * lyxfunc.C (MenuNew): when doing 'new from template', use
15153         template_path as default directory
15154
15155 2001-06-23  The LyX Project  <Asger>
15156
15157         * Clean-up of header file includes all over
15158         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15159
15160 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15161
15162         * paragraph.h: renamed from lyxparagraph.h
15163
15164 2001-06-23  Asger  <lyx@violet.home.sad.it>
15165
15166         * Buffer.h: Removed Buffer::resize
15167         * BufferList.h: Removed BufferList::resize
15168         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15169         the document lazily when we change the width, or the font settings.
15170
15171 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15172
15173         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15174
15175 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15176
15177         * buffer.h: remove out of date comment
15178
15179 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * lyxscreen.h:
15182         * screen.C: fix "theoretical" GC leak
15183
15184 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15185
15186         * LaTeX.C (scanAuxFile):
15187         (deplog): remove trailing \r when reading stream (useful under
15188         win32)
15189
15190 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15191
15192         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15193         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15194         and BufferView::theLockingInset(Inset*), so should use them and not
15195         access bv_->text->the_locking_inset directly.
15196
15197         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15198
15199 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15200
15201         * Makefile.am:
15202         * tex-defs.h: remove old unused file
15203
15204 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * BufferView_pimpl.C: fix typo, remove minibuffer message
15207           when buffer has loaded
15208
15209 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15210
15211         * lyxfunc.C (Dispatch): use stringstream
15212         (MenuNew): use stringstream
15213         (Open): use stringstream
15214
15215         * importer.C (Import): use stringstream
15216
15217         * bufferview_funcs.C (CurrentState): use stringstream
15218
15219         * LaTeX.C (run): use stringstream
15220
15221         * BufferView_pimpl.C (savePosition): use stringstream
15222         (restorePosition): use stringstream
15223         (MenuInsertLyXFile): use stringstream
15224
15225 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15226
15227         * BufferView.C:
15228         * Bullet.C:
15229         * ColorHandler.C:
15230         * FontInfo.C:
15231         * FontLoader.C:
15232         * LColor.C:
15233         * LaTeXFeatures.C:
15234         * Painter.C:
15235         * gettext.C:
15236         * lyx_gui_misc.C:
15237         * lyxserver.C:
15238         * vspace.C: removed // -*- C++ -*- as first line.
15239
15240         * lyxfind.h:
15241         * version.h: added // -*- C++ -*- as first line.
15242
15243 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15244
15245         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15246
15247         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15248         of string
15249
15250 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15251
15252         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15253         of floats.
15254
15255 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15256
15257         * gettext.C: include LString.h even when --disable-nls is on.
15258
15259 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15260
15261         * converter.h (Get): changed argument type from int to
15262         FormatList::size_type to avoid unnecessary conversion.
15263
15264         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15265         before using it.
15266
15267 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * gettext.h: include LString.h even when --disable-nls is on.
15270
15271 2001-06-07  Juergen Vigna  <jug@sad.it>
15272
15273         * text.C (BreakAgain): subst spaces with tabs.
15274
15275         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15276         (resizeInsetsLyXText): set force on resizeLyXText.
15277
15278 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * gettext.h (gettext_init):
15281         (locale_init): use a real definition instead of a macro
15282
15283 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15284
15285         * Bufferview_pimpl.C:
15286         * LColor.h:
15287         * LColor.C: further lcolor tidies
15288
15289 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15290
15291         * BufferView_pimpl.C (updateScrollbar): simplify.
15292
15293         * BufferView2.C: don't include insets/insetinfo.h, change
15294         prototype for insertInset and call the Pimpl version. let
15295         updateInset call Pimpl version.
15296
15297         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15298         gotoInset to BufferView::Pimpl
15299
15300 2001-06-01  Juergen Vigna  <jug@sad.it>
15301
15302         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15303         inside a LockingInset (is the update needed at all?).
15304
15305 2001-05-31  Juergen Vigna  <jug@sad.it>
15306
15307         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15308         here not the old one otherwise how should we compare it afterwards
15309         if it's the same!
15310
15311 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * lyxfont.C:
15314         * tabular.C:
15315         * tabular-old.C:
15316         * FontInfo.C: bring C functions into global namespace when
15317         necessary
15318
15319 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * LString.h: make sure config.h has been loaded before LString.h.
15322
15323         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15324         (one for each char read by EatLine!).
15325
15326         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15327         variables.
15328
15329 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15330
15331         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15332         to the same as the par we break from
15333
15334 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15337
15338         * MenuBackend.C (expand): also create menu entries for wide
15339         versions of the floats.
15340
15341         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15342
15343         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15344
15345         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15346         frontends/Makefile.am
15347
15348         * text2.C: adjust
15349         * text.C: adjust
15350
15351
15352         * tabular.C (getTokenValue): add std::
15353
15354         * tabular-old.C (getTokenValue): add std::
15355         (getTokenValue): ditto
15356         (getTokenValue): ditto
15357
15358         * screen.C (ToggleSelection): adjust
15359
15360         * lyxtext.h: put selection cursors inside a Selection struct.
15361
15362         * lyxfunc.C (moveCursorUpdate): adjust
15363
15364         * lyxfont.C (latexWriteStartChanges): add std::
15365
15366         * lyxfind.C: adjust
15367
15368         * font.h: delete with(char const *, LyXFont const &)
15369
15370         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15371
15372         * FontInfo.C (getFontname): add std::
15373
15374         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15375         (workAreaButtonPress): adjust
15376         (tripleClick): adjust
15377         (update): adjust
15378         (moveCursorUpdate): adjust
15379         (Dispatch): adjust
15380
15381         * BufferView2.C (gotoInset): adjust
15382
15383 2001-05-30  Juergen Vigna  <jug@sad.it>
15384
15385         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15386         to check pspell I add this as default as I now have new pspell
15387         libraries and they seem to use this.
15388
15389 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15390
15391         * text2.C (CutSelection): make the cursor valid before the call to
15392         ClearSelection.
15393
15394 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15395
15396         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15397         relied on 0 terminated strings and other horrors. Bug found due to
15398         the new assert in lyxstring!
15399
15400         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15401         KP_ keys.
15402
15403 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15404
15405         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15406         to latinkeys.bind.
15407
15408         * lyxfunc.C (processKeySym): change method of getting to the
15409         self-insert char.
15410
15411         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15412         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15413         * BufferView_pimpl.[Ch]: here as private methods.
15414
15415 2001-05-28  Juergen Vigna  <jug@sad.it>
15416
15417         * text.C (SetHeightOfRow): added the update() call again as it is
15418         needed to initialize inset dimensions!
15419
15420 2001-05-16  Juergen Vigna  <jug@sad.it>
15421
15422         * text2.C (SetCharFont): Add new function with BufferView * and
15423         bool toggleall parameters for setting insets internal fonts.
15424         (SetFont): Freeze the undo as we may change fonts in Insets and
15425         all this change should be inside only one Undo!
15426
15427         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15428         setting font's in insets as for them we have the SetFont function!
15429
15430 2001-05-15  Juergen Vigna  <jug@sad.it>
15431
15432         * text2.C (ClearSelection): to be sure we REALLY don't have any
15433         selection anymore!
15434
15435         * tabular.C (TeXCellPreamble): fixed the left border problem for
15436         multicolumn cells.
15437
15438 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15439
15440         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15441         dependancy file
15442
15443 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15446         LFUN_BREAKPARAGRAPH.
15447
15448         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15449         help test to "internal only", similar for LFUN_INSERT_URL
15450
15451         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15452         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15453         auto_region_delete and deadkeys.
15454
15455 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15456
15457         * LColor.h:
15458         * LColor.C: remove some dead entries, tidy a little
15459
15460 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15461
15462         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15463         commented code.
15464         (Dispatch): implement LFUN_ESCAPE
15465
15466         * commandtags.h: add LFUN_ESCAPE
15467
15468         * LyXAction.C (init): add entry for LFUN_ESCAPE
15469
15470         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15471         Remove commented code.
15472         (insertNote): moved here
15473         (open_new_inset): moved here
15474
15475         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15476         BufferView_pimpl
15477
15478 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * kbmap.C (findbinding): clean it up and make it work correctly.
15481
15482         * lyx_main.C (init): do not pass argc and argv as parameters
15483
15484 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15485
15486         * buffer.C: fix path for OS/2 & Win32
15487
15488         * lyx_gui.C:
15489         * lyx_main:
15490         * lyx_main.C: Added os:: class.
15491
15492         * os2_defines.h: update
15493
15494 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15495
15496         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15497         better by trying again with reduced state.
15498
15499 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15500
15501         * lyxrc.C (read): print error about invalid key sequence only when
15502         debugging (because not all latinX keysyms are known to some X
15503         servers)
15504
15505         * kbsequence.C (getiso): add a few std:: qualifiers
15506         (getiso): comment out extra return statement.
15507
15508 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15509
15510         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15511         handling.
15512         (Dispatch): enhance the accent inset a bit. (not perfect)
15513
15514 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15515
15516         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15517
15518 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15519
15520         * bufferlist.C (emergencyWrite): fix assert() call
15521
15522 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15523
15524         * text.C (InsertChar): Added trivial patch to only send the "you
15525         can not do multiple spaces this way" message once during a
15526         session.
15527
15528 2001-05-08  Baruch Even  <baruch@lyx.org>
15529
15530         * Makefile.am: Changed order of libraries to get LyX to link properly
15531         with the gnome frontend.
15532
15533 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * LaTeXFeatures.h: add a std:: qualifier
15536
15537 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15538
15539         * paragraph.C (String): use stringstream
15540
15541 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15542
15543         * paragraph.C (writeFile): remove footflag arg
15544
15545         * buffer.C (makeLaTeXFile): use stringstream
15546         (latexParagraphs): remove footnot gurba
15547
15548         * LaTeXFeatures.C (getPackages): use stringstream
15549         (getMacros): likewise
15550         (getTClassPreamble): likewise
15551         (getFloatDefinitions): new method
15552
15553         * paragraph.C (writeFile): reindent
15554         (Erase): reindent
15555
15556         * WorkArea.h: revert the xpos + etc changes.
15557
15558         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15559
15560         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15561
15562         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15563         (pasteSelection): likewise
15564         * text2.C (CreateUndo): likewise
15565
15566 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15567
15568         * minibuffer.C (peek_event): temporarily reduce the functionality
15569         of the minibuffer (to allow args on lfuns)
15570
15571         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15572         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15573
15574         * buffer.C (readInset): add compability reading of old float
15575         lists, add reading of new style float list.
15576         (readInset): avoid reevaluation of inscmd.getCmdName()
15577         (getLists): reindent
15578
15579         * MenuBackend.C (MenuItem): implement parsing of
15580         md_floatlistinsert and md_floatinsert.
15581         (expand::LastFiles): move initalizaton of iterators out of loop,
15582         avoid reevaluation.
15583         (expand::Documents): introduce typdedef vector<string> Strings,
15584         and use it.
15585         (expand::ExportFormats): introduce typedef vector<Format const *>
15586         Formats, and use it.
15587         (expand): implement FloatListInsert and FloatInsert.
15588
15589         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15590         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15591         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15592
15593         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15594         handling.
15595         (Dispatch::LFUN_FLOAT_LIST): implement
15596
15597 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15598
15599         * LaTeX.C (run): Fix problem with --export code.
15600
15601 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15602
15603         * BufferView.[Ch] (workarea): removed.
15604         (getClipboard) new method; wrapper for workarea()->getClipboard()
15605
15606         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15607         bug.
15608
15609         * WorkArea.h (width, height, xpos, ypos): These methods all
15610         returned the dimensions of the work_area sub-area of WorkArea,
15611         resulting in a position error if the WorkArea were resized. Now
15612         return the dimensions of the entire WorkArea.
15613
15614         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15615
15616 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15617
15618         * LaTeX.C (deplog): correct the syntax of regex reg1
15619
15620 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15621
15622         * undo.C: remove !NEW_INSETS cruft
15623
15624 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15625
15626         * text2.C: remove !NEW_INSETS cruft
15627
15628         * text.C: remove !NEW_INSETS cruft
15629
15630         * tabular.C: remove !NEW_INSETS cruft
15631
15632         * spellchecker.C: remove !NEW_INSETS cruft
15633
15634         * lyxtext.h: remove !NEW_INSETS cruft
15635
15636         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15637
15638         * lyxfunc.C: remove !NEW_INSETS cruft
15639
15640         * lyxfind.C: remove !NEW_INSETS cruft
15641
15642         * lyx_cb.C: remove !NEW_INSETS cruft
15643
15644         * figureForm.C: remove  !NEW_INSETS cruft
15645
15646         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15647
15648         * buffer.[Ch]: remove !NEW_INSETS cruft
15649
15650         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15651
15652         * CutAndPaste.C: remove !NEW_INSETS cruft
15653
15654         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15655
15656         * BufferView2.C: remove !NEW_INSETS cruft
15657
15658         * BufferView.h: remove !NEW_INSETS cruft
15659
15660 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * Lsstream.h: include LString.h before the sstream headers to
15663         fix problem with gcc 2.95.3 and lyxstring
15664
15665 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * lyx_main.C: add using directives when needed for C functions
15668         declared in std:: namespace.
15669
15670 2001-04-27  Juergen Vigna  <jug@sad.it>
15671
15672         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15673         (SetHeightOfRow): comment out the update call should not be needed!
15674
15675 2001-04-13  Juergen Vigna  <jug@sad.it>
15676
15677         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15678         (LyXTabular): tried to minimize operator= operations (and realized
15679         hopfully Lars wish).
15680
15681 2001-04-27  Juergen Vigna  <jug@sad.it>
15682
15683         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15684
15685 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15688
15689         * buffer.C (readInset): hack to make listof algorithm work
15690
15691         * BufferView_pimpl.C: hack to make listof algorithm work
15692
15693 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15694
15695         * LyXAction.C: removed all !NEW_INSETS cruft
15696         (init): moved lfun_item in method
15697
15698         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15699
15700 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15701
15702         * BufferView2.C (theLockingInset): white space.
15703
15704 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15705
15706         * minibuffer.C: include <iostream>
15707
15708         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15709
15710         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15711
15712         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15713
15714         * text.[Ch] (TransposeChars): new method
15715
15716 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15717
15718         * call message directly through LyXView instead of through LyXFunc
15719         * BufferView2.C: adjust
15720         * BufferView_pimpl.C: adjust
15721         * FontLoader.C: adjust
15722         * buffer.C: adjust
15723         * bufferview_funcs.C: adjust
15724         * converter.C: adjust
15725         * figureForm.C: adjust
15726         * importer.C: adjust
15727         * lyx_cb.C: adjust
15728         * lyx_gui_misc.C: adjust
15729         * lyxfunc.C: adjust
15730         * lyxvc.C: adjust
15731         * text2.C: adjust
15732         + more files in subdirs
15733
15734         * lyxparagraph.h (size): move up int file
15735         (GetLayout): ditto
15736
15737         * adjust all uses of Assert to lyx::Assert.
15738
15739         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15740         lyxfunctional in namespace lyx
15741         * layout.C (hasLayout): ditto
15742         (GetLayout): ditto
15743         (GetLayout): ditto
15744         (delete_layout): ditto
15745         (NumberOfClass): ditto
15746         * converter.C (GetFormat): ditto
15747         (GetNumber): ditto
15748         (Add): ditto
15749         (Delete): ditto
15750         (SetViewer): ditto
15751         * bufferlist.C (getFileNames): ditto
15752         (emergencyWriteAll): ditto
15753         (exists): ditto
15754         (getBuffer): ditto
15755         * MenuBackend.C (hasSubmenu): ditto
15756         (hasMenu): ditto
15757         (getMenu): ditto
15758         * BufferView_pimpl.C (getInsetByCode): ditto
15759
15760 2001-04-18  Juergen Vigna  <jug@sad.it>
15761
15762         * vspace.C (asLatexString): fixed the 100% problem.
15763
15764 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15765
15766         * lyxfunc.C (Dispatch):
15767         * minibuffer.C:
15768         * minibuffer.h: add a few std:: qualifiers
15769
15770 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15771
15772         * minibuffer.[Ch]: reimplement so that commands is initiated and
15773         run from lyxfunc, simplified som handling, and made the completion
15774         and history code for complete. wip.
15775
15776         * lyxfunc.C (processKeySym): call message
15777         (miniDispatch): new temporary method
15778         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15779         (LFUN_MESSAGE): implement
15780         (LFUN_MESSAGE_PUSH): implement
15781         (LFUN_MESSAGE_POP): implement
15782         (initMiniBuffer): the initial/defualt minibuffer message.
15783
15784         * lyxfont.[Ch]: inline some more getters
15785
15786         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15787
15788         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15789
15790         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15791         (AutoSave): use LFUN_MESSAGE
15792         (Reconfigure): ditto
15793
15794         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15795
15796         * figureForm.C: use LFUN_MESSAGE
15797
15798         * converter.C (runLaTeX): use LFUN_MESSAGE
15799
15800         * bufferview_funcs.C: use LFUN_MESSAGE
15801         (Melt): ditto
15802         (changeDepth): ditto
15803
15804         * bufferparams.h: use boost::
15805
15806         * bufferlist.h: inherit privately from noncopyable
15807
15808         * bufferlist.C (loadLyXFile): remove some commented code.
15809
15810         * buffer.C (runChktex): use LFUN_MESSAGE
15811
15812         * ShareContainer.h: inherit privately from noncopyable
15813
15814         * ParagraphParameters.[hC] (depth): inline it.
15815
15816         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15817         methods.
15818         (message): new method
15819         (messagePush): ditto
15820         (messagePop): ditto
15821         (show): init minibuffer
15822         (showState): direct call
15823
15824         * LaTeX.[Ch]: inherit privately from noncopyable
15825         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15826         instead of WriteStatus.
15827
15828         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15829
15830         * BufferView_pimpl.C (buffer): don't init minibuffer
15831         (workAreaButtonPress): use LFUN_MESSAGE
15832         (workAreaButtonRelease): ditto
15833         (savePosition): ditto
15834         (restorePosition): ditto
15835         (MenuInsertLyXFile): ditto
15836         (workAreaExpose): don't init minibuffer
15837         (update): remove commented code, simplify
15838
15839         * BufferView2.C (openStuff): use LFUN_MESSAGE
15840         (toggleFloat): ditto
15841         (menuUndo): ditto
15842         (menuRedo): ditto
15843         (copyEnvironment): ditto
15844         (pasteEnvironment): ditto
15845         (copy): ditto
15846         (cut): ditto
15847         (paste): ditto
15848         (gotoInset): ditto
15849         (updateInset): remove some commented code
15850
15851         * lastfiles.h: inherit privately from noncopyable
15852         * layout.h: ditto
15853         * lyx_gui.h: ditto
15854         * lyx_main.h: ditto
15855         * lyxlex.h: ditto
15856         * lyxlex_pimpl.h: ditto
15857
15858         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15859         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15860         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15861
15862         * LyXAction.h: inherit privately from noncopyable, add methods
15863         func_begin, func_end, returning iterators to the func map.
15864
15865         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15866         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15867         (func_begin): new method
15868         (func_end): new method
15869
15870         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15871         and not)
15872         (copySelection): ditto
15873         (pasteSelection): ditto
15874
15875         * BufferView.C: whitespace change
15876         * BufferView.h: inherit privately from noncopyable
15877
15878 2001-04-16  Allan Rae  <rae@lyx.org>
15879
15880         * tabular-old.C (l_getline):
15881         * spellchecker.C (sc_check_word):
15882         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15883         an unrecognised preprocessor directive.  So ensure they're wrapped.
15884
15885 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15886
15887         * src/exporter.C (Export): Give an error message when path to file
15888         contains spaces.
15889
15890 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15891
15892         * LaTeX.C (deplog): Always check that foundfile exists.
15893
15894 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15895
15896         * lyx_main.h:
15897         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15898
15899 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15900
15901         * tabular.[Ch] (getLabelList): implement new method
15902
15903         * minibuffer.h: comment ouf setTiimer
15904
15905         * minibuffer.C (ExecutingCB): constify res
15906         (peek_event): constify s
15907         (Set): constify ntext
15908         (Init): constify nicename
15909
15910         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15911
15912         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15913         (savePosition): use two params to Minibuffer::Set
15914         (restorePosition): ditto
15915
15916 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15917
15918         * lyx_main.C: include language.h
15919
15920         * Makefile.am (lyx_main.o): add language.h
15921
15922 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15923
15924         * exporter.C:
15925         * paragraph.C:
15926         * screen.C:
15927         * tabular.C:
15928         * CutAndPaste.C: include gettext.h
15929
15930         * lyxfont.h: remove old hack with ON and OFF.
15931
15932         * lyxparagraph.h:
15933         * lyxfont.h: do not include language.h...
15934
15935         * BufferView2.C:
15936         * LaTeXFeatures.C:
15937         * Painter.C:
15938         * bufferview_funcs.C:
15939         * font.C:
15940         * lyxfont.C:
15941         * text.C:
15942         * text2.C:
15943         * trans_mgr.C:
15944         * paragraph.C: ... but do it here instead
15945
15946 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15947
15948         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15949
15950         * tabular.C: small reformat
15951
15952         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15953         NEW_INSETS version
15954         (GetChar): ditto
15955         (BreakParagraph): ditto
15956         (SetOnlyLayout): ditto
15957         (SetLayout): ditto
15958
15959         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15960         with one arg less.
15961
15962         * lastfiles.C: removed most using decl, add std:: where needed
15963
15964         * buffer.C: ws changes
15965
15966         * MenuBackend.C (class compare_format): put into anon namespace
15967         (expand): constify label, names, action, action2
15968         (expand):
15969
15970         * text.C (SingleWidth): constify font
15971         (IsBoundary): constify rtl2
15972         (GetVisibleRow): constify ww
15973
15974         * LaTeX.C (deplog): constify logfile
15975
15976         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15977         start_x, end_x
15978         (workAreaExpose): constify widthChange, heightChange
15979
15980         * lyxrow.C (par): moved
15981         (height): moved
15982         (next): moved
15983         * lyxrow.h: as inlines here
15984
15985         * lyxfont.h (shape): moved from lyxfont.C
15986         (emph): moved from lyxfont.C
15987
15988         * lyxfont.C (LyXFont): use initialization list for all
15989         constructors
15990         (shape): move to lyxfont.h as inline
15991         (emph): move to lyxfont.h as inline
15992
15993
15994 2001-04-04  Juergen Vigna  <jug@sad.it>
15995
15996         * vspace.C: had to include stdio.h for use of sscanf
15997
15998 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15999
16000         * BufferView.h:
16001         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16002         independent of xforms.
16003
16004 2001-04-02  Juergen Vigna  <jug@sad.it>
16005
16006         * spellchecker.C: fixed namespace placing!
16007
16008 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16009
16010         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16011         the LyXParagraph * is 0.
16012
16013 2001-03-29  Juergen Vigna  <jug@sad.it>
16014
16015         * vspace.C: added support for %, c%, p%, l%.
16016         (stringFromUnit): added helper function.
16017         (asLatexString): changed to give right results for the %-values.
16018
16019         * buffer.C: convert the widthp in a width%.
16020
16021 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16022
16023         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16024         figureForm.[Ch].
16025
16026         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16027         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16028
16029         * lyx_cb.[Ch]: see above.
16030
16031         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16032         form1.[Ch].
16033
16034         * form1.[Ch]:
16035         * lyx.[Ch]: replaced by figure_form.[Ch].
16036
16037         * lyx_gui.C:
16038         * lyx_gui_misc.C:
16039         * lyxfunc.C: changed headers associated with above changes.
16040
16041 2001-03-27  Juergen Vigna  <jug@sad.it>
16042
16043         * BufferView_pimpl.C: set the temporary cursor right!
16044
16045 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16046
16047         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16048
16049 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16050
16051         * LString.h: removed "using std::getline"!
16052
16053         * BufferView_pimpl.C (Dispatch): changes due to changes in
16054         InsetInclude::Params.
16055
16056         * buffer.C (tag_name): removed redundant break statements as they were
16057         producing lots of warnings with my compiler.
16058
16059 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16060
16061         * LString.h: add "using std::getline" when using the real <string>.
16062
16063 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16064
16065         * buffer.C: removed bitset usage.
16066         PAR_TAG moved to an anonymous name space.
16067         (tag_name): new funtion, also in the anonymous namespace.
16068         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16069         (makeDocBookFile): clean code. Completed transition from string arrays
16070         to string vectors.
16071         (SimpleDocBookOnePar): code clean.
16072
16073 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16074
16075         * tabular.C: add some comments.
16076
16077 2001-03-22  Juergen Vigna  <jug@sad.it>
16078
16079         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16080         compatibility read a bit and fixed bug with minipage in different
16081         depth.
16082
16083 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16084
16085         * buffer.C (pop_tag): removed.
16086         (push_tag): removed.
16087         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16088         array replaced with vector. Added support for CDATA sections.
16089         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16090         at any nest level.
16091         (makeDocBookFile): XML conformant declaration of CDATA section,
16092         fixed bug related to <emphasis> in the first paragraph char.
16093         (sgmlOpenTag): exclude empty tags.
16094         (sgmlCloseTag): ditto.
16095
16096         * buffer.h (pop_tag): removed.
16097         (push_tag): removed.
16098
16099 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16100
16101         * language.h (Languages): added size_type and size().
16102
16103 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16104
16105         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16106         response on compability reading of minipages. One probliem is that
16107         the old usage of minipages was «flertydig»
16108
16109         * several files here and in subdirs: don't use static at file
16110         scope use anon namespaces instead.
16111
16112 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16113
16114         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16115         LaTeX output. This is necessary for Literate document
16116         processing.
16117
16118 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16119
16120         * buffer.C: insert hfill when needed.
16121
16122         * tabular.C (l_getline): use string::erase, small whitespace change.
16123
16124         * BufferView_pimpl.C: try the anon namespace.
16125         * WorkArea.C: ditto
16126
16127 2001-03-16  Juergen Vigna  <jug@sad.it>
16128
16129         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16130         otherwise it won't open options-dialogs.
16131
16132         * buffer.C: honor pextraWidth(p) on converting minipages.
16133
16134         * tabular.C (l_getline): changed the functions to strip trailing \r.
16135
16136 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16137
16138         * BufferView_pimpl.C:
16139         * minibuffer..C: added "using SigC::slot" declaration.
16140
16141 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16142
16143         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16144
16145         * text2.C: ditto
16146
16147         * text.C: ditto
16148
16149         * paragraph.C: ditto
16150
16151         * lyxtext.h: NO_PEXTRA
16152
16153         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16154
16155         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16156         * ParameterStruct.h: ditto
16157         * ParagraphParameters.h: ditto
16158         * lyxparagraph.h: ditto
16159
16160 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16161
16162         * buffer.C: add compability for minipage alignment.
16163         (latexParagraphs): remove unwanted pextra check.
16164
16165         * several files: remove CXX_WORKING_NAMESPACES
16166
16167         * buffer.C (pop_tag): tie is in namespace boost
16168
16169         * BufferView.h: noncopyable is in namespace boost
16170         * lyxlex.h: ditto
16171         * lyx_main.h: ditto
16172         * lyx_gui.h: ditto
16173         * layout.h: ditto
16174         * lastfiles.h: ditto
16175         * bufferlist.h: ditto
16176         * ShareContainer.h: ditto
16177         * LyXView.h: ditto
16178         * LyXAction.h: ditto
16179         * LaTeX.h: ditto
16180
16181 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16182
16183         * Merging changes from BRANCH_MVC back into HEAD.
16184
16185         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16186
16187 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16188
16189         * BufferView_pimpl.C: change from intl.C
16190
16191         * combox.h:
16192         * combox.C:
16193         * Makefile.am: move combox.*
16194
16195         * form1.h:
16196         * form1.C:
16197         * lyx_gui.C:
16198         * intl.h:
16199         * intl.C: remove dialog (covered by prefs)
16200
16201 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16202
16203         * lyxfunc.C (Dispatch): removed redundant break statement.
16204
16205 2001-03-14  Juergen Vigna  <jug@sad.it>
16206
16207         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16208
16209 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16210
16211         * buffer.C: add hack to fix compability reading of minipages.
16212
16213 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16214
16215         * buffer.C (getLists): Cleanup.
16216
16217 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16218
16219         * lyxfont.C (update): don't honor toggleall on font size.
16220
16221 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16222
16223         * bmtable.c:
16224         * bmtable.h:
16225         * Makefile.am: moved to frontends/xforms/
16226
16227         * lyx_gui_misc.C:
16228         * lyxfunc.C:
16229         * BufferView_pimpl.C: changes for moved mathpanel
16230
16231 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16232
16233         * gettext.h: fix gettext_init() in --disable-nls
16234
16235 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16236
16237         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16238
16239 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16240
16241         * lyx.C:
16242         * lyx.h: strip external form
16243
16244 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16245
16246         * BufferView_pimpl.C: add comment, destroySplash()
16247
16248 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16249
16250         * BufferView_pimpl.C:
16251         * LyXAction.C:
16252         * buffer.C:
16253         * commandtags.h:
16254         * lyxfunc.C: use re-worked insetinclude
16255
16256 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16257
16258         * buffer.C: add using std::stringstream.
16259
16260         * lyx_cb.C: readd using std::ios.
16261
16262         * buffer.C: add using std::map.
16263
16264         * BufferView_pimpl.C: add using std::vector.
16265
16266         * ShareContainer.h: add std:: to swap.
16267
16268         * buffer.h: add some typedefs
16269         * buffer.C (getLists): use them
16270         (getLists): renamed from getTocList.
16271         add a counter for the different float types and use it in the
16272         generated string.
16273         (getLists): use the same counter for the NEW_INSETS and the "non"
16274         NEW_INSETS
16275
16276         * lyx_cb.h: remove unused items, includes, using etc.
16277
16278         * ShareContainer.h: remove some commented code, add more comments
16279         and "documentation".
16280
16281 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16282
16283         * buffer.C (getTocList): make the list also when NEW_INSETS is
16284         defined.
16285
16286         * buffer.h: remove TocType
16287
16288         * buffer.C (getTocList): change to return a map<string,
16289         vector<TocItem> >, implement for dynamic number of list.
16290
16291         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16292         * text2.C (PasteSelection): adjust
16293         * CutAndPaste.C (pasteSelection): adjust
16294
16295         * FloatList.C (FloatList): update from the new_insets branch.
16296         * Floating.[Ch]: ditto
16297         * LaTeXFeatures.C: ditto
16298         * buffer.C: ditto
16299         * lyxlex_pimpl.C: ditto
16300
16301         * paragraph.C (Last): remove when NEW_INSETS is defined.
16302
16303         * other file: changes because of the above.
16304
16305 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16306
16307         * lyxparagraph.h: rename next to next_, previous to previous_,
16308         make them private for NEW_INSETS. Rename Next() to next(),
16309         Previous() to previous().
16310
16311         * other files: changes because of the above.
16312
16313 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16314
16315         * BufferView.h:
16316         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16317         problem.
16318
16319 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16320
16321         * main.C (main): pass lyx_localedir to gettext_init().
16322
16323         * gettext.h: remove locale_init and gettext_init macros
16324
16325         * gettext.C (locale_init): new function
16326         (gettext_init): new function
16327
16328         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16329         setlocale().
16330
16331 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16332
16333         * Moved credits to frontends:
16334         * credits.[Ch]: removed
16335         * credits_form.[Ch]: removed
16336         * lyx_gui_misc.C: remove credits stuff
16337         * Makefile.am:
16338
16339 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16340
16341         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16342
16343         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16344         unneeded destructor.
16345
16346         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16347         a standalone pointer again.
16348
16349         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16350
16351 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16352
16353         * Makefile.am:
16354         * filedlg.h:
16355         * filedlg.C:
16356         * LyXAction.C:
16357         * ToolbarDefaults.C:
16358         * bufferlist.C:
16359         * commandtags.h:
16360         * form1.C:
16361         * form1.h:
16362         * lyx_cb.C:
16363         * lyx_cb.h:
16364         * lyxfunc.h:
16365         * lyxfunc.C:
16366         * BufferView_pimpl.C: use new file dialog in GUII
16367
16368         * lyx_cb.h:
16369         * lyx_cb.C: remove LayoutsCB to Toolbar
16370
16371 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16372
16373         * ShareContainer.h (get): add std:: qualifier
16374
16375 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * ShareContainer.h: define a proper ShareContainer::value_type
16378         type (and use typename to please compaq cxx)
16379
16380 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16381
16382         * lyxparagraph.h: move serveral local vars to
16383         ParameterStruct/ParagraphParameters., use ShareContainer in
16384         FontTable., make vars in FontTable private and add getter and
16385         setter.
16386
16387         * paragraph.C: changes because of the above.
16388
16389         * lyxfont.h: remove copy constructor and copy assignment. (the
16390         default ones is ok), move number inside FontBits. move inlines to
16391         lyxfont.C
16392
16393         * lyxfont.C: add number to initializaton of statics, move several
16394         inlines here. constify several local vars. some whitespace
16395         cleanup. Dont hide outerscope variables.
16396
16397         * Spacing.h: add two new constructors to match the set methods.
16398
16399         * ShareContainer.h: new file, will perhaps be moved to support
16400
16401         * ParameterStruct.h: new file
16402
16403         * ParagraphParameters.h: new file
16404
16405         * ParagraphParameters.C: new file
16406
16407         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16408         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16409
16410         * BufferView_pimpl.C: ParagraphParameter changes.
16411         * buffer.C: Likewise.
16412         * bufferview_funcs.C: Likewise.
16413         * text.C: Likewise.
16414         * text2.C: Likewise.
16415
16416 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16417
16418         * lyxfind.C (LyXReplace): do not redefine default argument in
16419         implementation.
16420         (IsStringInText): ditto
16421         (SearchForward): ditto
16422         (SearchBackward): ditto
16423
16424 2001-03-06  Juergen Vigna  <jug@sad.it>
16425
16426         * lyxfind.C (IsStringInText): put parentes around expressions.
16427
16428 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16429
16430         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16431
16432 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16433
16434         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16435
16436         * stl_string_fwd.h: add comment
16437
16438         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16439
16440         * tabular.h:
16441         * tabular.C: remove unused DocBook methods
16442
16443         * intl.C:
16444         * language.C:
16445         * paragraph.C:
16446         * buffer.C:
16447         killed DO_USE_DEFAULT_LANGUAGE
16448
16449 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16450
16451         * lyx_gui.C: do not include language.h.
16452
16453         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16454         arguments in function implementation.
16455
16456 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16457
16458         * BufferView_pimpl.C: add <ctime>
16459
16460 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16461
16462         * BufferView_pimpl.C: add using std::find_if
16463
16464 2001-02-27  José Matos  <jamatos@fep.up.pt>
16465
16466         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16467         by OnlyPath.
16468
16469 2001-02-11  José Matos  <jamatos@fep.up.pt>
16470
16471         * buffer.C (makeDocBookFile): command styles now have a parameter as
16472         "title" by default.
16473
16474 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16475
16476         * layout_forms.[Ch]: removed
16477         * lyx_cb.[Ch]: out character
16478         * lyx_gui.C: out character
16479         * lyx_gui_misc.C: out character
16480         * bufferview_funcs.C: : out character,
16481         added toggleall as parameter in ToggleAndShow
16482
16483 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16484
16485         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16486
16487         * text2.C (SetCurrentFont): Disable number property at boundary.
16488
16489 2001-02-26  Juergen Vigna  <jug@sad.it>
16490
16491         * lyxfunc.C (getStatus): added a string argument override function so
16492         that this is correctly called from LyXFunc::Dispatch if it contains a
16493         do_not_use_argument which is used!
16494         (Dispatch): added check for "custom" export and call appropriate func.
16495
16496 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16497
16498         * lyxrc.C: Add language_command_local, language_use_babel and
16499         language_global_options.
16500
16501         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16502
16503         * buffer.C (makeLaTeXFile): Use language_use_babel and
16504         language_global_options.
16505
16506 2001-02-23  Juergen Vigna  <jug@sad.it>
16507
16508         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16509         which works with LyXText and putted it inside BufferView. Here now we
16510         only call for that part the BufferView::Dispatch() function.
16511
16512         * BufferView.C (Dispatch): added.
16513
16514         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16515         functions which needs to use a LyXText over from LyXFunc.
16516         (MenuInsertLyXFile): added
16517         (getInsetByCode): added
16518         (moveCursorUpdate): added
16519         (static TEXT): added
16520
16521 2001-02-22  Juergen Vigna  <jug@sad.it>
16522
16523         * BufferView_pimpl.C (update): call a status update to see if LyXText
16524         needs it.
16525
16526 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16527
16528         * vc-backend.C (revert): implement for CVS
16529         (getLog): implement for CVS
16530
16531 2001-02-20  Juergen Vigna  <jug@sad.it>
16532
16533         * text2.C (ClearSelection): added BufferView param for inset_owner call
16534
16535         * lyxfunc.C (TEXT): added this function and use it instead of
16536         directly owner->view()-text of getLyXText().
16537
16538 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16539
16540         * src/layout_forms.C: out preamble
16541         * src/layout_forms.h: out preamble
16542         * src/lyx_cb.C: out preamble
16543         * src/lyx_cb.h: out preamble
16544         * src/lyx_gui.C: out preamble
16545         * src/lyx_gui_misc.C: out preamble
16546         * src/lyxfunc.C: connect with guii preamble
16547
16548 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16549
16550         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16551
16552 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16553
16554         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16555         whether to run bibtex.
16556
16557 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16558
16559         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16560
16561 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16562
16563         * Makefile.am (lyx_SOURCES): removed bibforms.h
16564
16565         * vspace.h: doxygen
16566
16567         * text.C (GetVisibleRow): make several local vars const
16568
16569         * tabular.C: small cleanup.
16570
16571         * lyxserver.C (callback): use compare instead of strncmp
16572
16573         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16574         inlines to after class or to paragraph.C
16575
16576         * lyxfont.h: remove friend operator!=
16577
16578         * converter.h: move friend bool operator< to non friend and after
16579         class def.
16580
16581         * combox.h: small cleanup
16582
16583         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16584         to inlines after class def.
16585
16586         * buffer.C (pop_tag): use string operations instead of strcmp
16587
16588         * bmtable.c: doxygen, small cleanup
16589
16590         * LaTeX.h: remove friend operator==
16591
16592 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16593
16594         * screen.C:
16595         * lyxrc.[Ch]:
16596         * lyxfunc.C:
16597         * lyxfont.[Ch]:
16598         * lyx_cb.C:
16599         * intl.[Ch]:
16600         * commandtags.h:
16601         * buffer.C:
16602         * WorkArea.[Ch]:
16603         * LyXAction.C:
16604         * BufferView_pimpl.C:
16605         * BufferView.[Ch]: remove cruft
16606
16607 2001-02-14  Juergen Vigna  <jug@sad.it>
16608
16609         * lyxfunc.C: removed #if 0 unused code
16610
16611         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16612
16613         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16614
16615         * text2.C (SetSelection): added a BufferView * parameter
16616
16617 2001-02-13  Juergen Vigna  <jug@sad.it>
16618
16619         * lyxfunc.C (Dispatch): fixed protected blank problem.
16620         * BufferView2.C (protectedBlank): added LyxText * parameter.
16621
16622         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16623         (AppendColumn): same as above for column_info.
16624
16625         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16626         (moveCursorUpdate): use a LyXText param for support of InsetText.
16627
16628         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16629         (tripleClick): ditto
16630
16631         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16632
16633         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16634
16635         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16636
16637         * text2.C (SetSelection): set correct update status if inset_owner
16638         (ToggleFree): ditto
16639
16640 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16641
16642         * tabular.C: remove some commented code.
16643
16644 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16645
16646         * BufferView_pimpl.C: call hideSplash()
16647
16648         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16649
16650         * include_form.h:
16651         * bibforms.h: remove
16652
16653         * lyxfunc.C:
16654         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16655           add LFUN_CHILD_CREATE
16656
16657         * counters.h: fix tiny typo
16658
16659         * lyx_cb.C:
16660         * lyx.h:
16661         * lyx_gui.C:
16662         * lyx.C: move splash to frontends/xforms/
16663
16664         * lyx_gui_misc.C: move Include and Bibform to frontends
16665
16666         * lyxvc.h: clarify comment
16667
16668         * vspace.C: tiny housekeeping
16669
16670 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16671
16672         * text.C (PrepareToPrint): RTL Fix.
16673
16674         * paragraph.C (GetUChar): New method.
16675         (String):  Use GetUChar.
16676
16677         * buffer.C (asciiParagraph): Use GetUChar.
16678
16679 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16680
16681         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16682
16683 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16684
16685         * buffer.h:
16686         * buffer.C: rename to getLogName(), handle
16687           build log / latex log nicely
16688
16689 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16690
16691         * MenuBackend.C:
16692         * MenuBackend.h: remove support for reference menuitem type.
16693
16694 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16695
16696         * BufferView_pimpl.C: housekeeping
16697         * BufferView_pimpl.h:
16698         * LyXView.h:
16699         * Makefile.am:
16700         * Timeout.C:
16701         * Timeout.h:
16702         * minibuffer.h: move Timeout GUI-I
16703
16704 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16705
16706         * lyxrc.C (read): Update converters data-structures.
16707
16708 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16709
16710         * LaTeX.h (operator!=): add operator != for Aux_Info
16711
16712 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16713
16714         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16715
16716         * LaTeXLog.C: deleted, useful code moved to Buffer
16717
16718         * buffer.h:
16719         * buffer.C: new function getLatexLogName()
16720
16721         * lyx_gui_misc.C:
16722         * lyx_gui.C:
16723         * lyxvc.C:
16724         * lyxvc.h:
16725         * lyxfunc.C: use frontends for LaTeX and VC logs
16726
16727 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16728
16729         * LaTeX.h: yet another std:: that Allan forgot.
16730
16731         * Variables.C (set): renamed from isset(), because this clashes
16732         with some HP-UX macros (grr).
16733
16734 2001-02-06  Allan Rae  <rae@lyx.org>
16735
16736         * LaTeX.h: Another bug fix.  Missing std:: this time.
16737
16738 2001-02-04  Allan Rae  <rae@lyx.org>
16739
16740         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16741         floats problem. I've left it commented out because it's not quite
16742         correct.  It should also test that the current object is a table or
16743         figure inset.  But I haven't gotten around to figuring out how to do
16744         that.  I *think* it'll be something like: "table" == inset.type()
16745
16746         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16747         bool.
16748
16749 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16750
16751         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16752         all the citation/databases/styles in the auxilary file.
16753         (run): Rerun latex if there was a babel language error.
16754
16755 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16756
16757         * text.C (Backspace): Preserve the font when changing newline char
16758         with a space.
16759         (BreakParagraph): If the cursor is before a space, delete the space.
16760
16761         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16762
16763 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16764
16765         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16766         new argument (code).
16767         (ChangeCitationsIfUnique): New method.
16768
16769         * paragraph.C (GetPositionOfInset): Handle bibkey.
16770
16771 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16772
16773         * BufferView_pimpl.h: change type of Position::par_pos to
16774         LyXParagraph::size_type.
16775
16776 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16777
16778         * BufferView_pimpl.C (savePosition, restorePosition): Write
16779         messages to minibuffer.
16780
16781 2001-01-28  José Matos  <jamatos@fep.up.pt>
16782
16783         * buffer.C (makeDocBookFile): adds support for document language.
16784         A silly restriction on the name of LatexCommand types where removed.
16785         Added support for CDATA sections, allows to chars unescaped, used
16786         among others in code, to avoid escape < and >.
16787
16788 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16789
16790         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16791         saved positions instrad of a stack. Furthermore, a position is
16792         stored using paragraph id/paragraph position.
16793
16794         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16795         Remove LFUN_REF_BACK.
16796
16797 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16798
16799         * converter.C (dvipdfm_options): New method.
16800
16801 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16802
16803         * vspace.C (isValidLength): Fix for empty input string.
16804
16805 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16806
16807         * LyXAction.C (init): change description of LFUN_FIGURE to
16808         "Insert Graphics"
16809
16810 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16811
16812         * LaTeX.C: add using directive
16813
16814 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16815
16816         * MenuBackend.C (expand): Fix the sorting of the formats.
16817
16818 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16819
16820         * lyx_main.C: tiny error message fix
16821
16822 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16823
16824         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16825         calling fl_initialize(). This fixes the problem with ',' as
16826         decimal separator in text files.
16827
16828 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16829
16830         * trans.C (process): Fix the keymap bug.
16831
16832 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16833
16834         * LaTeX.C (scanAuxFiles): New method. Provides support for
16835         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16836         (scanLogFile) Scan for "run BibTeX" messages.
16837
16838         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16839         OT1 font encoding. Also, load the aecompl package if the ae
16840         package is loaded.
16841
16842         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16843
16844 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16845
16846         * texrow.C (increasePos): turn two error messages into debug
16847         messages.
16848
16849 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16850
16851         * LaTeX.C (scanAux): Handle the \@input macro.
16852         (runBibTeX): Use scanAux().
16853
16854         * language.C (latex_options_): New field.
16855
16856         * LaTeXFeatures.C (getMacros): Add language macros.
16857
16858         * buffer.C (makeLaTeXFile): Small fix.
16859
16860 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16861
16862         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16863
16864         * text2.C: add a using directive.
16865
16866 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16867
16868         * BufferView2.C:
16869         * lyx_gui_misc.h:
16870         * lyxfr1.C:
16871         * lyxfunc.C: kill LyXBell.
16872
16873 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16874
16875         * text.C (IsBoundary): Remove the error message
16876
16877         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16878
16879         * lyxrc.C (setDefaults): Correct initialization value for
16880         font_norm_type.
16881
16882 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16883
16884         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16885         gotoError().
16886
16887         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16888         and GotoNextNote().
16889
16890         * src/LyXAction.C: Added reference-next.
16891
16892         * text.C (InsertChar): Use contains instead of strchr.
16893
16894         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16895
16896 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16897
16898         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16899         alignment commands (when needed).
16900
16901         * text.C (InsertChar): Add ':' to number separator chars.