]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Invoke scripts by prepending the name of the script language executable.
[lyx.git] / src / ChangeLog
1 2005-01-17  Angus Leeming  <leeming@lyx.org>
2
3         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
4         with "python ". Workaround for a brain-dead Windows.
5
6 2005-01-16  Angus Leeming  <leeming@lyx.org>
7
8         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
9         for MacOSX and Windows to use prependEnvPath.
10         Strip out the hard-coded block to add elements to the PATH for
11         MacOSX and replace it with a call to prependEnvPath using the
12         contents of LyXRC::path_prefix.
13         (queryUserLyXDir): strip out the code to run reconfigure, instead
14         returning a boolean indicating the necessity to do so.
15         (reconfigureUserLyXDir): contains the code to reconfigure the
16         user support directory. Is now called after the various LyXRC data
17         files have been read.
18
19         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
20
21 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
22
23         * converter.[Ch] (convert): take a new parameter try_default. Use
24         a default converter (imagemagick) if try_default is true.
25
26 2005-01-13  Angus Leeming  <leeming@lyx.org>
27
28         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
29         os::cygwin_path_fix.
30         (write): output LyXRC::cygwin_path_fix as necessary.
31
32 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
33
34         * lyxrc.h:
35         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
36
37 2005-01-12  Angus Leeming  <leeming@lyx.org>
38
39         * lyx_main.C (init): set the PATH variable to include the
40         directory containing the LyX binary when running on Mac or Windows.
41
42 2005-01-12  Angus Leeming  <leeming@lyx.org>
43
44         * lyx_main.C (init): remove cruft that purports to set the locale
45         dir. It doesn't and is not needed anyway.
46
47 2005-01-10  Angus Leeming  <leeming@lyx.org>
48
49         * Makefile.am: remove the lyx_main.C special casing.
50
51         * BufferView_pimpl.C:
52         * bufferlist.C:
53         * exporter.C:
54         * lyx_cb.C:
55         * lyx_main.C:
56         * lyxfunc.C:
57         * messages.C: use support/package.h to provide the paths to the
58         various directories used by LyX.
59
60 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
61
62         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
63         layout if pasting into an empty paragraph)
64
65 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
66
67         * tex-accent.C: add <string>
68
69 2005-01-06  José Matos  <jamatos@lyx.org>
70
71         * ParagraphParameters.C (write): put every parameter in its own line.
72         * paragraph.C (write): reduce number of consecutive empty lines exported.
73         * buffer.C (LYX_FORMAT): increase file format to 239.
74
75 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
76
77         * everywhere: change support/tostr.h -> support/convert.h
78
79         * tabular.C: make all write_attributes templates, tostr -> convert
80
81         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
82         (emptyTag): and -> &&, and fix type for ret from getChar
83         (getFirstWord): fix type for ret from getChar
84         (onlyText): and -> &&
85         (simpleDocBookOnePar): and not -> && !, fix type for ret from
86         getChar
87
88         * toc.C (goTo, action):
89         * text3.C (dispatch):
90         * text.C (currentState):
91         * tex-accent.C (DoAccent):
92         * sgml.C:
93         * lyxrc.C:
94         * lyxfunc.C (menuNew):
95         * lyxfinc.C (replace):
96         * counters.C (laberItem):
97         * bufferview_funcs.C (font2string):
98         * bufferparams.C (writeFile):
99         * buffer.C (readFile):
100         * Spacing.C (set):
101         * MenuBackend.C: tostr -> convert
102
103         * LaTeX.C (runMessage): fix format
104         (scanAuxFiles): tostr -> convert
105
106         * BufferView_pimpl.C (savePosition): fix format
107         (restorePosition): ditto
108         (dispatch): ditto
109
110 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
111
112         * Spacing.[Ch]: New method getValueAsString().
113
114         * Spacing.[Ch]:
115         * bufferparams.C:
116         * ParagraphParameters.C:
117         * lyxlayout.C:
118         * text.C:
119         * text3.C: store/read spacing value as string.
120
121         * rowpainter.C: change float value (spacing_val) to double.
122
123         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
124         broken custom document spacing).
125
126 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
127
128         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
129         namespace, also more use of temp references and const
130
131         * cursor.[Ch] (getStatus): move to lyxfunc.C
132
133         * bufferparams.C: reformat slightly
134
135         * bufferview_funcs.C (font2string): constify arg
136
137         * changes.C:
138         * converter.C:
139         * counters.C:
140         * bufferlist.C:
141         * buffer_funcs.C: (many funcs): constify arg on function
142         definitions, also make more local vars const, also add ASSERTS on
143         pointer args.
144
145         * buffer.C (LYX_FORMAT): put const in correct place
146         (many funcs): constify arg on function definitions, also make
147         more local vars const
148
149         * aspell_local.h: remove "struct" from typdef setup
150
151         * aspell.C (check): make word_ok const
152         (nextMiss): simplify slightly
153         (error): ditto
154
155 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
156
157         * lyxrc.[Ch]: store all float values as strings.
158         use int (not float) for lyxrc.dpi.
159
160 2005-01-04  Angus Leeming  <leeming@lyx.org>
161
162         * lyx_cb.C (Reconfigure):
163         * lyx_main.C (queryUserLyXDir):
164         to run the <system_lyxdir>/configure correctly on Windows, prefix
165         the path to the script with "sh " when generating the string that
166         is passed to system().
167
168 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
169
170         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
171
172 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * lyxlength.C (asLatexString): get rid of setprecision
175
176 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
177
178         * text2.C (setLayout): remove unused variable endpit.
179         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
180
181         * paragraph.C (onlyText): remove unused variable style.
182
183         * cursor.C (bruteFind): remove unused variables beg and end.
184
185         * Makefile.am (dist_noinset_DATA): not needed anymore
186
187         * cheaders/*: remove.
188
189 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
190
191         * text3.C: fix LFUN_MATH_MODE.
192
193 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * buffer_funcs.C (countWords): new function. Counts words between
196         two iterators.
197
198         * BufferView_pimpl.C (getStatus, dispatch): handle
199         LFUN_WORDS_COUNT.
200
201         * LyXAction.C (init):
202         * lfuns.h: add LFUN_WORDS_COUNT.
203
204 2004-12-19  Angus Leeming  <leeming@lyx.org>
205
206         * buffer.C (save): s/slashify_path/internal_path/.
207
208 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
209
210         * lyxfind.C (findChange): do not search for end of pars, because
211         the change tracker cannot handle this (fixes bug 1719).
212
213 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
214
215         * paragraph.[Ch] (autoBreakRows): remove
216
217         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
218
219         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
220         avoid using the paragraph one
221
222         * text2.C (LyXText, insertStringAsLines): adjust
223
224 2004-12-16  Angus Leeming  <leeming@lyx.org>
225
226         * bufferlist.C:
227         * lyx_main.C:
228         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
229
230 2004-12-14  Angus Leeming  <leeming@lyx.org>
231
232         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
233
234         * bufferlist.C (emergencyWrite):
235         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
236         GetEnvPath("HOME").
237
238 2004-12-14  Angus Leeming  <leeming@lyx.org>
239
240         * main.C: (main): no longer pass pointers to os::init.
241
242 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * undo.C (textUndoOrRedo): simplify logic, fix a crash
245         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
246
247 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * lyxfunc.C:
250         * text3.C: remove selection_possible global flag
251
252 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * text2.C (getSelectionSpan): remove
255         (changeDepth, changeDepthAllowed): adjust
256
257 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
258
259         * Makefile.am (BOOST_LIBS): use boost variables
260
261 2004-12-03  José Matos  <jamatos@lyx.org>
262
263         * buffer.C: format up to 238.
264
265 2004-12-03  José Matos  <jamatos@lyx.org>
266
267         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
268
269 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
270
271         * cursor.C (goUpDown): remove call to idxUpDown2
272
273 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
274
275         * tabular.[Ch]: use size_t-like types for cell, row and column
276         indices
277
278 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * lyxfunc.C (getStatus): do not lose previous information when
281         calling BufferView::getStatus; do not set a default "Command
282         disabled" message at the beginning, but just before returning.
283
284 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
285
286         * cursor.h (getStatus): add better comment from src/cursor.C
287
288 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
289
290         * text3.C (getStatus): return false when the lfun is not handled
291
292 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         * broken_headers.h: remove
295
296         * Makefile.am (lyx_SOURCES): remove broken_headers.h
297
298 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
299
300         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
301         offset_ref accessors
302
303         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
304         top_y_, merge fitcursor with update
305         (updateScrollbar, scrollDocView, fitCursor, center, update): new
306         coord scheme
307         (metrics): introduce
308         (workAreaDispatch): adapt to new coord scheme
309         (redoCurrentBuffer): remove
310
311         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
312
313         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
314         CurStatus enum.
315
316         * coordcache.[Ch]: add paragraph cache and helpers
317
318         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
319         adjust everywhere
320
321         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
322         (targetX, setTargetX): introduce
323
324         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
325         baseline -> ascent, as the rest of lyx
326
327         * lyxtext.h: remove redoParagraphs, updateParPositions,
328         fullRebreak, redoParagraphInternal. move dist to anon namespace in
329         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
330         have ascent/descent (ascent is ascent of first par)
331
332         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
333         step of BufferView
334
335         * paragraph.[Ch]: unify dimension handling with the rest of lyx
336
337         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
338
339         * pariterator.C: fix infinite loop introduced in par->pit renaming
340
341         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
342         in insets and LyXText, draw two off-screen paragraphs using
343         NullPainter, and adapt to new coord scheme
344
345         * text.C:
346         * text2.C:
347         * text3.C: adapt lfun handlers to the new coord scheme, which
348         means: there's only guaranteed coord information for onscreen pars
349         plus one above and one below. This implies that one can do search
350         from y coordinates in the range [-1,workHeight]
351
352 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
353
354         * rename a lot of InsetOld to InsetBase
355
356 2004-11-25  Angus Leeming  <leeming@lyx.org>
357
358         * BufferView_pimpl.C:
359         * lyx_cb.C:
360         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
361
362 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
365         call BufferView::getStatus if LCursor::getStatus did nothing
366         (setStatusMessage, getStatusMessage): removed.
367
368         * FuncStatus.C (message): new methods. Used to provide an error
369         message indicating why a command is disabled.
370         (clear, |=, FuncStatus): update for message.
371
372 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
373
374         * lyxfunc.C (dispatch): always call sendDispatchMessage
375
376 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
377
378         * BufferView.C:
379         * BufferView_pimpl.C:
380         * CutAndPaste.C:
381         * FontIterator.C:
382         * buffer.C:
383         * cursor.C:
384         * cursor_slice.[Ch]:
385         * dociterator.[Ch]:
386         * lyxfind.C:
387         * paragraph_funcs.C:
388         * pariterator.C:
389         * rowpainter.C:
390         * text.C:
391         * text2.C:
392         * text3.C:
393         * undo.C: par->pit renaming
394
395 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
396
397         * tabular.C (cellstruct): use initialization, store a shared_ptr
398         to insettext instead of the insettext directly, adjust to fit.
399         (operator=):  new function
400         (swap): new function
401         (rowstruct): use initialization
402         (columnstruct): use initialization
403         (ltType): use initialization
404
405
406         * lyxlength.h (swap): new function
407
408         * LColor.[Ch] (operator=): use the common semantics
409
410 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
411
412         * lyxfind.C (findNextChange): update the bufferview after setting
413         the selection.
414
415 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
418         number of InsetOptArgs has already been inserted.
419
420         * output_latex.C (latexOptArgInsets): new method. This outputs all
421         the optarg insets, up to the limit defined in the layout file.
422         (optArgInset): removed
423         (TeXOnePar): call latexOptArgInsets; correctly update texrow
424
425 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * paragraph.C (isLetter): remove special spellchecker-related
428         code; return true also for digits
429         (isWord, isKomma): remove
430
431         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
432         * lyxfind.C (MatchString()): use isLetter instead of isWord
433
434 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
435
436         * pariterator.h (operatir=): comment out un-implemented member
437         function.
438
439         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
440         static cast.
441
442 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
443
444         * lyxfont.h: include LColor.h to satisfy concept checks.
445
446 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
447
448         * pariterator.h: add typdefs for value_type, difference_type,
449         pointer and reference to satisfy concept checks. Also add default
450         constructor for same reason.
451
452         * pariterator.C (operator++): add post-increment operator to
453         satisfy concept checks.
454
455         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
456         checks.
457
458         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
459
460         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
461         checks. Also rename base_type to BaseType to follow naming
462         standard better.
463
464         * FloatList.h: include Floating.h to satisfy concept checks.
465
466 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * lyxfunc.C (getStatus): when the origin of the request is menu or
469         toolbar, and the LyXView does not have focus, do as if there was
470         no buffer (bug 1720)
471
472         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
473         FuncRequest to individual entries of LFUN_SEQUENCE
474
475 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
476
477         * output_latex.C (TeXOnePar): override runparams.moving_arg
478         according to the needprotect value of the current paragraph (bug
479         1739)
480
481         * paragraph.C (simpleTeXOnePar): no need to override
482         runparams.moving_args here
483
484 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
485
486         * vspace.C: fix off-by-one-error, related to fix #1682
487
488 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
489
490         * lengthcommon.C: a more general fix for bug 1682
491
492 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
493
494         * text.C (backspace): fix crash
495
496 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
497
498         * format.[Ch] (getFormatFromFile): new method
499         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
500
501 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
504
505 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * lyxfunc.C (dispatch): remove the verbose argument
508         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
509         instead
510
511         * kbmap.C (defkey): set the origin of func to KEYBOARD
512
513         * MenuBackend.C (MenuItem):
514         * ToolbarBackend.C (add): set the origin of func to UI
515
516         * funcrequest.[Ch]: add origin member, which indicates which part
517         of LyX requests an action
518
519 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
520
521         * converter.C (move): don't lie in the error message
522         * converter.h (isReachable, move): document
523
524 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
525
526         * buffer.C: remove unused using lyx::support::atoi
527         * paragraph_funcs.C: ditto
528
529 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
530
531         * bufferlist.C (exists): use bind and equal_to instead of
532         compare_memfun
533         (getBuffer): ditto
534         * lyxtextclasslist.C (NumberOfClass): ditto
535
536         * cursor.C (insert): use for_each instead of explicit for loop
537
538         * bufferlist.C (getFileNames): use std::transform and
539         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
540
541         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
542         for loop
543
544         * buffer.C (changeLanguage): use for_each instead of explicit for
545         loop
546         (hasParWithID): implement using getParFromID
547
548         * LaTeXFeatures.C: ws change only
549
550         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
551         to cleanup a bit.
552
553         * BufferView_pimpl.C (trackChanges): use for_each instead of
554         expilicit for loop
555
556 2004-11-04  André Pönitz  <poenitz@gmx.net>
557
558         * undo.h:
559         * undo.C (textUndoOrRedo): fix crash when creating undo information.
560
561         * dociterator.C (asDocIterator): use hard assert again.
562
563 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * lyxlength.C (asLatexString): rewrite so that it does not use
566         snprintf anymore
567
568 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
569
570         * text3.C (specialChar, dispatch): make sure cursor moves to the
571         right after inserting an inset
572
573 2004-11-02  José Matos  <jamatos@lyx.org>
574
575         * output_docbook.C (docbook):
576         * paragraph.C (getID):
577         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
578         garantee that the output is always legal.
579
580         * tabular.C (docbook):
581         * outputprams.[Ch]: remove mixed contents.
582
583 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
584
585         * text2.C (setCounter): prevent endless loop
586
587 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
588
589         * exporter.C (copyFile): use the mover instead of support::copy()
590         * exporter.C (Export): pass format and latex name to copyFile()
591         * exporter.h (addExternalFile): document
592         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
593
594 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
595
596         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
597
598 2004-10-30  José Matos  <jamatos@lyx.org>
599
600         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
601         text and no inset or font change. This allows to use CDATA
602         sections just for the whole paragraph.
603
604 2004-10-30  José Matos  <jamatos@lyx.org>
605
606         * paragraph.C (getFirstWord): remove unused variable.
607
608 2004-10-30  José Matos  <jamatos@lyx.org>
609
610         * paragraph.C (getFirstWord): the content should always be escaped
611         there.
612         (simpleDocBookOnePar):
613         * output_docbook.C (makeEnvironment): replace reference to CDATA
614         to style pass_thru.
615
616 2004-10-30  José Matos  <jamatos@lyx.org>
617
618         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
619
620 2004-10-30  José Matos  <jamatos@lyx.org>
621
622         * output_docbook.C (makeParagraphs):
623         * paragraph.[Ch] (emptyTag): for docbook and company, if the
624         standard paragraph has only a given type of content drop the wrapper.
625
626 2004-10-29  José Matos  <jamatos@lyx.org>
627
628         * output_docbook.C (makeEnvironment):
629         * sgml.C (openTag):
630         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
631
632 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
633
634         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
635         (cleanID): sanitize any id.
636
637 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
638
639         * buffer.C, lyxlex_pimpl.C:
640         * lyxlex_pimpl.C (setFile):
641         s/getExtFromContents/getFormatFromContents/
642
643 2004-10-28  José Matos  <jamatos@lyx.org>
644
645         * output_docbook.C (makeEnvironment): move id to broadest possible
646         scope.
647
648         * sgml.C (openTag): apply substitution of <> for all attributes.
649
650 2004-10-28  José Matos  <jamatos@lyx.org>
651
652         * buffer.C (makeLinuxDocFile, makeDocBookFile):
653         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
654         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
655
656         * sgml.[Ch]: new version for open and closeTag for paragraph and
657         for strings. Now they handle the ids of paragraphs.
658
659 2004-10-26  Angus Leeming  <leeming@lyx.org>
660
661         * Makefile.am: add mover.[Ch].
662
663         * converter.C (convert, move): use the new Movers to move external
664         files to the temp directory.
665
666         * lyx_main.C (init): ensure that the global system_movers data
667         is initialised.
668
669         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
670         preferences file.
671
672         * mover.[Ch]: new files, defining a Mover as a utility to move an
673         external file between directories and, if necessary, manipulate this
674         file using a helper script.
675
676 2004-10-25  José Matos  <jamatos@lyx.org>
677
678         * output_docbook.C (makeCommand): merge two if's that tested the
679         same condition.
680
681 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * sgml.C (escapeString): fix warning in a better way
684
685 2004-10-25  José Matos  <jamatos@lyx.org>
686
687         * sgml.C (escapeString): import the require boosts header file for
688         tie, and avoid a signed unsigned comparison.
689
690 2004-10-25  José Matos  <jamatos@lyx.org>
691
692         * sgml.h: add #include <string>
693
694 2004-10-25  José Matos  <jamatos@lyx.org>
695
696         * sgml.[Ch] (escapeString): new function to escape all the string.
697
698 2004-10-24  José Matos  <jamatos@lyx.org>
699
700         * paragraph.[Ch] (getFirstWord): new function to get the first
701         word. Useful for description.
702         (simpleDocBookOnePar): remove depth argument, add another that
703         says where to start the paragraph.
704
705         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
706         use the new functions to fix cleanly the support for descriptions.
707
708 2004-10-24  José Matos  <jamatos@lyx.org>
709
710         * buffer.C (makeLinuxDocFile, makeDocBookFile):
711         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
712         * output_linuxdoc.C (linuxdocParagraphs):
713         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
714         add buffer as argument.
715
716 2004-10-24  José Matos  <jamatos@lyx.org>
717
718         * output_docbook.C (makeEnvironment, searchEnvironment): place
719         CDATA inside paragraphs and fix scope for listitems.
720
721 2004-10-24  José Matos  <jamatos@lyx.org>
722
723         * output_docbook.C: remove using statement for stack.
724
725 2004-10-23  José Matos  <jamatos@lyx.org>
726
727         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
728         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
729         docbook. The new scheme is recursive and makes use of iterators, the
730         same as latex export works.
731         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
732         directly with the paragraph contents. This code was moved up to
733         output_docbook.C (docbookParagraphs).
734         * sgml.C (openTag, closeTag): removed unneeded newlines.
735         (closeEnvTags) removed.
736
737 2004-10-23  André Pönitz  <poenitz@gmx.net>
738
739         * undo.C (textUndoOrRedo):
740         * dociterator.C (asDocIterator): work around crash
741
742         * cursor.C (getStatus): replace ASSERT by more verbose error message
743           and manual correction of the problem. Should increase stability
744           while providing more sensible information.
745
746 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
747
748         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
749
750         * bufferlist.C (previous, next): new methods
751
752         * lfuns.h:
753         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
754
755 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
756
757         * buffer.C (makeDocBookFile): add dsssl stylesheet control
758         entities to preamble.
759
760 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
761
762         * messages.C (Pimpl): strip off translation context information
763
764 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
765
766         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
767         the cursor is correct (bug 1694)
768
769 2004-10-13  José Matos  <jamatos@lyx.org>
770
771         * output_docbook.C (docbookParagraphs): fix closing tags in the
772         end of the document.
773
774 2004-10-09  José Matos  <jamatos@lyx.org>
775
776         * buffer.C: format up to 237.
777         * bufferparams.C (write): use tostr to convert booleans to strings.
778
779 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
780
781         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
782
783 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
784
785         * LaTeX.C: implement use of babel language in xindy.
786
787 2004-10-05  José Matos  <jamatos@lyx.org>
788
789         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
790         Add new translators to help reading and writing the lyx file.
791
792 2004-10-05  José Matos  <jamatos@lyx.org>
793
794         * ParagraphParameters.C (read):
795         * text.C (readParToken): replace nexToken by more appropriate lex
796         methods.
797
798 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
799
800         * LaTeX.C (runMakeIndex):
801         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
802         (usually 'makeindex') configurable.
803
804         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
805         with a variable rather than with a number.
806
807 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * output_latex.C (TeXOnePar): make sure font setting is the first
810         thing that gets output (and the last at the end). Should fix bug
811         1404.
812
813 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
814
815         * pch.h: use proper signal include
816
817         * LaTeX.h: Use preferred calling of Boost.Signal
818         * buffer.h: ditto
819
820 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
821
822         * pch.h: dont include <boost/function/function0.hpp>
823
824         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
825
826         * paragraph_pimpl.h: remove usage of ShareContainer
827
828         * paragraph_pimpl.C: remove initialization of ShareContainer.
829
830 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         Fix bug #1666
833
834         * BufferView.C (putSelectionAt): change the semantics when
835         backwards == true: now, this just swaps cursor and anchor wrt the
836         forward case
837
838         * BufferView.h (putSelectionAt): add some documentation
839
840         * lyxfind.C (findBackwards): rewrite using while(). In particular,
841         make sure backwardChar is done at least once (to avoid getting
842         stuck)
843         (findNextChange): use putSelectionAt in the forward direction
844         (operator()): use Paragraph::isWord
845
846 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
847
848         * Spacing.C (set): c_str fix
849
850 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         * lyx_cb.C (Reconfigure): quote the name of configure script in
853         case it contains spaces
854
855 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
856
857         * client: new dir
858
859         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
860         (BOOST_LIBS): use top_buildir when looking for the file
861
862 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
863
864         * pch.h: do not use include boost/format.hpp, multiple symbols
865                 will result (gcc bug)
866
867
868 2004-08-23  José Matos  <jamatos@lyx.org>
869
870         * bufferparams.C (readToken): fix reading of the author field.
871
872 2004-08-20  José Matos  <jamatos@lyx.org>
873
874         * lyxrc.C: remove support/translator.h inclusion since it is not used.
875
876 2004-08-20  José Matos  <jamatos@lyx.org>
877
878         * lyxlex.[Ch] (findToken): remove function.
879
880         * ParagraphParameters.C (findToken):
881         * bufferparams.C (findToken): replace call for previous function
882         with local copy. This local function has one more argument, the
883         read string argument.
884
885 2004-08-16  José Matos  <jamatos@lyx.org>
886
887         * ParagraphParameters.C (write):
888         * Spacing.C (writeFile):
889         * bufferparams.C (writeLaTeX):
890         * lyx_cb.C (Reconfigure):
891         * paragraph.C (write):
892         * tabular.C (write): remove unnecessary space at end of line.
893
894
895 2004-08-16  José Matos  <jamatos@lyx.org>
896
897         * text.C (readParagraph): remove debug message.
898
899 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
900
901         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
902         crash
903
904         * output_plaintext.C (asciiParagraph): set depth correctly
905
906         * outputparams.h: add member depth
907
908         * paragraph_funcs.C (ownerPar): remove.
909
910         * text2.C (setCounter): remove first_pit; comment out some
911         non-working code that uses ownerPar
912
913         * BufferView.C (getParentLanguage): remove. Not used anymore, and
914         uses ownerPar
915
916 2004-08-16  José Matos  <jamatos@lyx.org>
917
918         * text.C (readParToken, readParagraph, read): report all unknown tokens.
919         For the same level of importance use the same chanel to report problems.
920         (read): add code to deal with \begin_body and \end_body.
921
922
923 2004-08-15  José Matos  <jamatos@lyx.org>
924
925         * lyxlex.C (getString): fix comment, buffer::readBody is now
926         buffer:readDocument.
927
928         * tex-strings.C (string_papersize): Default -> default,
929         Custom -> custom, for consistency with other options.
930
931 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
932
933         * pch.h: new file
934
935         * Makefile.am: support pch
936
937 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * text.C (readParToken): remove the static LyXFont variable and
940         pass it as a parameter instead. This fixes a nasty bug where an
941         inset will be inserted with a bad font in some situations
942         (readParagraph): adapt
943
944         * text2.C (setCounter): reduce number of calls to pars_[pit]
945
946         * text.C (singleWidth): add an assert, fix a test
947
948         * rowpainter.C (paintText): reduce number of calls to singleWidth
949
950         * paragraph.C (isHfill):
951         (isNewline): ws only
952
953 2004-08-14  André Pönitz  <poenitz@gmx.net>
954
955         * text.C:
956         * text2.C:
957         * rowpainter.C:
958         * lyxtext.h (several functions): use a Paragraph & argument
959         instead of par_type
960
961 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
962
963         * metricsinfo.h: add a new field ltr_pos to PainterInfo
964
965         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
966
967         * text.C (singleWidth): remove useless test
968
969 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * tabular.h: remove bogus comments
972
973         * tabular.C (getDescentOfRow):
974         (isPartOfMultiColumn): add assertions
975
976         * lyxlength.C (inPixels): remove #warning
977
978 2004-08-14  André Pönitz  <poenitz@gmx.net>
979
980         * paragraph.h: inline getChar()
981
982         * BufferView.h: remove unused declarations
983
984 2004-08-14  José Matos  <jamatos@lyx.org>
985
986         * Buffer.[Ch] (readDocument): new name for old readBody.
987         * Buffer.C: new file format, new keywords: \begin_document,
988         \begin_header, \begin_body, \end_body.
989
990         * bufferparams.C (readToken): replace all calls to lex.nextToken
991         by lex.next(). Do the same to eatLine except where really needed.
992
993         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
994         line when writing to the lyx file.
995
996         * output_plaintext.C (asciiParagraph): fix Bibliography style
997         handling.
998
999         * text.C (read): fix end of file handling.
1000
1001 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * MenuBackend.C (Menu::operator[]): new method to access
1004         individual menu items
1005         (Menu::hasFunc): new method. search for an item that corresponds
1006         to a given func
1007         (MenuBackend::specialMenu): new method
1008         (MenuBackend::expand): if a special menu has been set, skip
1009         entries whose func() appears in this menu
1010
1011 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1012
1013         * text3.C: use Debug::DEBUG a bit more
1014
1015         * text.C (leftMargin): try to simplify a tiny bit change var x to
1016         l_margin. Dont output the wide margins always.
1017         (rightMargin): no margin in inner texts
1018
1019         * rowpainter.h (nestMargin): new func
1020         (changebarMargin): new func
1021         (rightMargin): new func
1022
1023         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1024         now functions.
1025         (paintLast): ditto
1026
1027         * factory.C (createInset): modify setDrawFrame
1028
1029         * cursor.C: use Debug::DEBUG a bit more
1030
1031 2004-08-14  André Pönitz  <poenitz@gmx.net>
1032
1033         * coordcache.[Ch]:
1034         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1035         cache for all insets in (at least partially) visible (top-level)
1036         paragraphs.
1037
1038         * BufferView_pimpl.C: reset external coord cache before every update.
1039         This means the coord cache only contains valid entries.
1040
1041 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1042
1043         bug 1096
1044         * BufferView_pimpl.C (getInsetByCode): move function out of class
1045         and change in to a template in anon namespace. Also fix to do what
1046         suits us better.
1047
1048 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1049
1050         bug 1305
1051         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1052         of char
1053         (breakParagraph): rename par to par_offset and use a local
1054         reference. Add code to keep the language over a rebreak.
1055         (breakParagraphConservative): rename par to par_offset, use a
1056         local reference
1057         (mergeParagraph): ditto
1058         (outerHook): ditto
1059         (isFirstInSequence): ditto
1060         (outerFont): rename pit to par_offset
1061
1062         * paragraph.C: ws change
1063         * paragraph.h: ditto
1064         * text3.C: ditto
1065         * text.C: ditto
1066
1067 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1068
1069         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1070         treatment for ']'
1071
1072         * paragraph.C (simpleTeXOnePar): when we have a \item with
1073         optional argument, enclose the argument with curly brackets (in
1074         case it contains a closing square bracket)
1075
1076         * text2.C (editXY):
1077         * text2.C (editXY):
1078         * text3.C (checkInsetHit): constify
1079
1080 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1083         documents (bug 1629)
1084
1085 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         Fix toggling of collapsable insets with the mouse (bug 1558)
1088
1089         * lyxfunc.C (dispatch): adapt to LCursor changes
1090
1091         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1092         make sure that dispatch is not invoked twice
1093
1094         * cursor.C (needsUpdate): new method
1095         (dispatch): return void
1096         (result): new method, to access the DispatchResult of the cursor.
1097
1098 2004-08-13  José Matos  <jamatos@lyx.org>
1099
1100         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1101
1102 2004-08-13  André Pönitz  <poenitz@gmx.net>
1103
1104         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1105
1106         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1107           multiple cells
1108
1109 2004-08-12  André Pönitz  <poenitz@gmx.net>
1110
1111         * text3.C: take out the 'cursor right' form insertInset and only
1112         do it in those places when it is really needed. Fixes crash on
1113         C-m...
1114
1115 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1116
1117         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1118
1119         * BufferView_pimpl.C (setBuffer): initialize the current font of
1120         the underlying LyXText
1121
1122 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1123
1124         * kbsequence.C (print): use UI native formatting for menu
1125         shortcuts
1126
1127         * text.C (insertChar): call Paragraph::insertChar with a font
1128         argument (cosmetic)
1129
1130         * paragraph.C (insertInset, insertChar): the version that takes a
1131         LyXFont argument is now a wrapper around the other one (the
1132         opposite used to be true).
1133
1134         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1135         argument. Font setting is done in Paragraph now.
1136
1137 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1138
1139         * outputparams.h: add new members intitle and lang.
1140
1141         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1142         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1143
1144 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1145
1146         * text3.C (dispatch): remove special handling of button 4 and 5,
1147         it is now taken care of in the frontend code.
1148
1149 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1150
1151         * Spacing.h: add <string> (STLPort compile fix)
1152
1153 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1154
1155         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1156
1157 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1158
1159         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1160         to bool.
1161
1162         * converter.C (showMessage): inherit from unary_function, make
1163         operator() const.
1164
1165         * buffer.C (writeFile): initialize retval
1166
1167         * InsetList.h: rename private variable list to list_
1168         * InsetList.[Ch]: adjust accordingly.
1169
1170 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1171
1172         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1173         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1174         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1175         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1176         * ParagraphParameters.C, LaTeXFeatures.C: replace
1177         "support/std_sstream.h" with <sstream>
1178
1179 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1180
1181         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1182         * lyxsocket.C (LyXServerSocket): ditto
1183         (serverCallback): ditto
1184
1185 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1186
1187         * LaTeXFeatures.C: check release date when loading jurabib.
1188
1189 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1190
1191         * lyxserver.C (startPipe): call register_socket_callback
1192         (endPipe): call unregister_socket_callback
1193
1194 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1195
1196         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1197         (LyXServerSocket): register the callback
1198         (LyXServerSocket): unregister the callback
1199         (fd): delete function
1200         (serverCallback): improve error checking and setup the callbacks.
1201         (dataCallback): change arg to fd.
1202         (writeln): new func (copied fro the client socket) used for server
1203         write to client.
1204         (LyXDataSocket): simplify
1205         (~LyXDataSocket): close ann unregiser callback
1206         (server): delete function
1207         (fd): delete function
1208         (readln): small changes, improve some std::string usage
1209         (writeln): constify a bit
1210
1211 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1212
1213         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1214         Qt frontend
1215
1216 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1219         after it has been populated
1220
1221 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * text2.C (insertInset): move cursor when inserting inset.
1224
1225 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * kbmap.C (findbindings): a couple of new methods. returns a
1228         container of kb_sequence objects. The real work is done by the
1229         private recursive version
1230         (printbindings): uses findbindings to print out a bracketed list
1231         of bindings (renamed from findbinding).
1232
1233         * MenuBackend.C (binding): use kb_keymap::findbindings
1234
1235         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1236
1237 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1238
1239         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1240
1241 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1242
1243         * paragraph.C (isWord): return true on insets that report
1244         isLetter().
1245
1246         * text.C (getWord): use Paragraph::isWord to decide what is in a
1247         word and what is not; fix bug 1609.
1248
1249 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1250
1251         * tex-strings.C: add "none" to string_paperpackages[], fixes
1252         off-by-one-error in the paperpackage selection.
1253
1254         * lyxlex.[Ch]:
1255         * tex-strings.[Ch]: char const * string[n]
1256         -> char const * const string[]
1257
1258 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1259
1260         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1261         command, return early.
1262
1263 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1264
1265         * debug.h: add DEBUG to enum and fix size of ANY.
1266
1267         * debug.C: add support for Debug::DEBUG
1268         (showTags): cast errorTags.level to unsigned int
1269
1270         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1271         (redoCurrentBuffer): ditto
1272         (updateScrollbar): ditto
1273         * cursor.C (dispatch): ditto
1274         * text2.C (setLayout): ditto
1275         (setFont): ditto
1276         (updateCounters): ditto
1277         (editXY): ditto
1278         (deleteEmptyParagraphMechanism): ditto
1279
1280 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1281
1282         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1283         annotations to cleanup the Makefile slightly.
1284
1285 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * lyxrc.C: do not set user_email to a default value but use empty
1288         instead. The entry used to be translated, which does not work
1289         since at the point where lyxrc is constructed there is no
1290         translation service available
1291
1292         * messages.C (getLocaleDir): remove and use directly
1293         lyx_localedir() instead
1294
1295 2004-06-02  Angus Leeming  <leeming@lyx.org>
1296
1297         Fix crash caused by dereferencing null pointer 'exportdata' in
1298         OutputParams by creating a new ExportData variable on the heap,
1299         storing it in a boost::shared_ptr.
1300         The crash was triggered when generating an Instant Preview
1301         of an external inset.
1302
1303         * Makefile.am: add outputparams.C
1304
1305         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1306         (c-tor): allocate memory to it.
1307
1308         * exporter.C (c-tor): associated changes.
1309
1310 2004-06-01  Angus Leeming  <leeming@lyx.org>
1311
1312         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1313         contains data before calling isInset(0). (Bug 1513.)
1314
1315 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1316
1317         * exporter.C (checkOverwrite): new method
1318         * exporter.C (copyFile): new method
1319         * exporter.C (Export): copy referenced files to the document dir
1320         * exporter.[Ch]: new class ExportedFile
1321         * exporter.[Ch]: new class ExportData. Contains currently the
1322         names of referenced external files
1323         * outputparams.h: add exportdata member.
1324
1325 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1326
1327         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1328         version.C-tmp
1329
1330 2004-05-19  Angus Leeming  <leeming@lyx.org>
1331
1332         * LaTeXFeatures.C:
1333         * ToolbarBackend.C:
1334         * bufferparams.C:
1335         * lyxfunc.C: small changes due to the introduction of namespace
1336         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1337
1338 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1339
1340         * text3.C (dispatch): supress update when only moving the cursor
1341         * cursor.C (selHandle): remove commented code
1342
1343 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1344
1345         * paragraph.C (startTeXParParams): correct column count
1346         * CutAndPaste.C (pasteSelection): remove const_cast
1347         * output_docbook.C (docbookParagraphs): remove const_cast
1348         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1349         const_cast and return ParagraphList::const_iterator
1350         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1351         * output_plaintext.C (writeFileAscii): remove const_cast
1352         * paragraph.[Ch] (simpleTeXOnePar): make const
1353         * paragraph_funcs.C (outerPar): use const iterators
1354         * paragraph_pimpl.C (validate): use const iterators
1355         * text.C (setHeightOfRow): use const iterators
1356
1357 2004-05-17  Angus Leeming  <leeming@lyx.org>
1358
1359         * lfuns.h:
1360         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1361
1362         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1363         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1364         if the citation engine has changed.
1365
1366 2004-05-14  José Matos  <jamatos@lyx.org>
1367
1368         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1369         if the textclass does not provide it. Have it different for sgml and
1370         xml.
1371         support the language of document.
1372         * output_docbook.C (docbookParagraphs):
1373         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1374         first anchor as the id of the paragraph, remove special case code.
1375         * sgml.C (escapeChar): escape only < & >.
1376
1377 2004-05-14  Angus Leeming  <leeming@lyx.org>
1378
1379         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1380         dependencies on src/frontends/controllers/biblio.h. Define a
1381         CiteEngine_enum wrapper class to enable the enum to be forward
1382         declared.
1383
1384 2004-05-12  Angus Leeming  <leeming@lyx.org>
1385
1386         * buffer.C: up LYX_FORMAT to 234.
1387         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1388         use_numerical_citations with a single biblio::CiteEngine cite_engine
1389         variable.
1390         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1391
1392 2004-05-13  José Matos  <jamatos@lyx.org>
1393
1394         * converter.h:
1395         * converter.C (Converter, readFlags): add xml member.
1396         * outputparams.h: add XML flavor.
1397         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1398
1399 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * lyxfunc.C (dispatch):
1402         (getStatus): fix handling of LFUN_SEQUENCE
1403
1404 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1405
1406         * debug.C (showLevel): do not forget the end-of-line marker
1407
1408 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * kbmap.C (read): do not stop parsing a bind file when an error
1411         occurs (bug 1575)
1412
1413 2004-04-29  Angus Leeming  <leeming@lyx.org>
1414
1415         * cursor.C:
1416         * factory.C:
1417         * pariterator.C:
1418         * text2.C: wrap a bunch of #warning statements
1419         inside #ifdef WITH_WARNINGS blocks.
1420
1421 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1422
1423         * buffer.C: increment format to 233.
1424
1425 2004-04-28  Angus Leeming  <leeming@lyx.org>
1426
1427         * BufferView_pimpl.C:
1428         * lyxfunc.C:
1429         * text3.C:
1430         s/updateToolbar()/updateToolbars()/
1431         s/Toolbar.h/Toolbars.h/
1432
1433 2004-04-28  Angus Leeming  <leeming@lyx.org>
1434
1435         * BufferView.[Ch] (c-tor):
1436         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1437         No longer passes these data to the WorkArea generator.
1438
1439 2004-04-28  Angus Leeming  <leeming@lyx.org>
1440
1441         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1442
1443 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1444
1445         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1446
1447 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * output_latex.C (TeXEnvironment): make sure that there is a line
1450         break before \end{foo} for the last paragraph of a document
1451         (TeXOnePar): if the paragraph is at the end of the document (or
1452         inset) and the language has to be reset, then make sure that the
1453         line break is _before_ the language command, not after (fixes bug
1454         1225); also make sure that the language reset command is the first
1455         thing after the paragraph (to ensure proper nesting of
1456         environments and thus fix bug 1404)
1457
1458 2004-04-21  John Levon  <levon@movementarian.org>
1459
1460         * ToolbarBackend.h:
1461         * ToolbarBackend.C: make "name" be a programmatic name
1462         and a gui_name field.
1463
1464         * lyxfunc.C: display the minibuffer on M-x
1465
1466 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1469         (bug 1526)
1470
1471 2004-04-19  Angus Leeming  <leeming@lyx.org>
1472
1473         * BufferView_pimpl.C (setBuffer): changed preview interface.
1474
1475         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1476         possible values.
1477
1478 2004-04-19  John Levon  <levon@movementarian.org>
1479
1480         * BufferView_pimpl.C:
1481         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1482
1483 2004-04-05  Angus Leeming  <leeming@lyx.org>
1484
1485         * text.C (redoParagraphs): add call to updateCounters(), thereby
1486         fixing the missing "Figure #:" label from the caption of a
1487         figure float.
1488
1489 2004-04-13  Angus Leeming  <leeming@lyx.org>
1490
1491         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1492         cursor is clicked out of an inset.
1493
1494 2004-04-13  Angus Leeming  <leeming@lyx.org>
1495
1496         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1497         than an InsetOld one.
1498
1499 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1500
1501         * format.[Ch]: add editor to Format
1502         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1503         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1504
1505 2004-04-08  André Pönitz  <poenitz@gmx.net>
1506
1507         * metricsinfo.h: remove PainterInfo::width member
1508
1509 2004-04-08  Angus Leeming  <leeming@lyx.org>
1510
1511         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1512         "\providecommand" rather than "\newcommand", thereby preventing
1513         clashes with packages that define "\boldsymbol" themselves.
1514         Eg, beamer.
1515
1516 2004-04-08  Angus Leeming  <leeming@lyx.org>
1517
1518         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1519         thereby squashing an unnecessary warning.
1520
1521 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1522
1523         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1524         setBuffer()
1525
1526 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1527
1528         * BufferView.C (setCursor): call redoParagraph (some insets could
1529         have been opened)
1530         (putSelectionAt): remove the 'double update' trick
1531
1532         * BufferView_pimpl.C (fitCursor): call refreshPar
1533         (workAreaDispatch): remove an uneeded update call
1534         (dispatch): remove some manual update calls
1535
1536         * cursor.[Ch]: remove cached_y_, updatePos
1537         (selHandle): set noUpdate when appropriate
1538
1539         * lyxfunc.C (dispatch): track if we need an update
1540
1541         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1542
1543         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1544         (paintSelection): cheap optimization, do not call cursorX when not
1545         needed
1546         (paintPars): change signature
1547         (refreshPar): add
1548         (paintText): adjust
1549         (paintTextInset): adjust
1550
1551         * text.C: adjust
1552
1553 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1554
1555         * lengthcommon.C: compilation fix: remove explicit array size from
1556         unit_name[] and friends
1557
1558 2004-04-05  Angus Leeming  <leeming@lyx.org>
1559
1560         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1561
1562         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1563         present only for the preferences dialog.
1564         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1565
1566 2004-04-05  Angus Leeming  <leeming@lyx.org>
1567
1568         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1569         to enable the frontends to export changes to lyxrc correctly.
1570
1571         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1572
1573 2004-04-07  André Pönitz  <poenitz@gmx.net>
1574
1575         * cursor.[Ch] (selClear, adjust): remove math
1576
1577         * cursor_slice.C: more agressive assert
1578
1579         * lyxfunc.C:
1580         * BufferView_pimpl.C: rework mouse event dispatch
1581
1582         * dociterator.C:
1583         * paragraph.C:
1584         * text2.C:
1585         * text3.C: adjust
1586
1587 2004-04-05  André Pönitz  <poenitz@gmx.net>
1588
1589         * cursor.[Ch] (valign, halign...): remove unneeded functions
1590
1591 2004-04-05  Angus Leeming  <leeming@lyx.org>
1592
1593         * lyxlength.[Ch] (unit_name et al.): const-correct.
1594
1595 2004-04-05  Angus Leeming  <leeming@lyx.org>
1596
1597         * BufferView_pimpl.C:
1598         * buffer.C:
1599         * counters.C:
1600         * cursor.C:
1601         * lyxfunc.C
1602         * paragraph.C:
1603         * pariterator.C:
1604         * text.C:
1605         * text2.C:
1606         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1607
1608 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1609
1610         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1611
1612 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1613
1614         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1615         * BufferView_pimpl.[Ch] (getStatus)
1616         * BufferView.[Ch] (getStatus): add
1617         * lyxfunc.C (getStatus): move lfuns handled in
1618         BufferView::dispatch to te function above
1619         * Cursor.C (setSelection): set selection() = true
1620
1621 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1622
1623         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1624
1625 2004-03-31  Angus Leeming  <leeming@lyx.org>
1626
1627         * lyxfunc.C (dispatch): Fall through to the generic
1628         Dialogs::show("preamble").
1629
1630 2004-03-31  Angus Leeming  <leeming@lyx.org>
1631
1632         * lyxfunc.C (dispatch): Fall through to the generic
1633         Dialogs::show("spellchecker").
1634
1635 2004-03-31  Angus Leeming  <leeming@lyx.org>
1636
1637         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1638         preferences dialog.
1639
1640 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1641
1642         * BufferView.C
1643         * cursor.[Ch]
1644         * dociterator.[Ch]:
1645         * insetiterator.[Ch]:
1646         * lyxfind.C:
1647         * lyxfunc.C:
1648         * pariterator.[Ch]:
1649         * text2.C:
1650         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1651
1652 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1653
1654         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1655         insets where we are putting the cursor.
1656
1657 2004-03-31  Angus Leeming  <leeming@lyx.org>
1658
1659         * lfuns.h:
1660         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1661
1662         * lyxrc.[Ch] (read, write): overloaded member functions taking
1663         a std::[io]stream arguments.
1664
1665         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1666
1667 2004-03-31  Angus Leeming  <leeming@lyx.org>
1668
1669         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1670         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1671
1672         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1673         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1674
1675 2004-03-31  Angus Leeming  <leeming@lyx.org>
1676
1677         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1678         the LFUN_ALL_INSETS_TOGGLE code.
1679
1680 2004-03-30  Angus Leeming  <leeming@lyx.org>
1681
1682         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1683         has died. Fall through to the generic Dialogs::show("document").
1684
1685 2004-03-30  Angus Leeming  <leeming@lyx.org>
1686
1687         * lfuns.h:
1688         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1689         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1690
1691         * lyxfunc.C (getStatus, dispatch): define the actions for these
1692         lfuns. Little more than a cut and pste job from ControlDocument.C
1693
1694         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1695
1696 2004-03-30  Angus Leeming  <leeming@lyx.org>
1697
1698         * lfuns.h:
1699         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1700         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1701
1702         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1703         open/closed state of ollapsable insets. Usage:
1704
1705         all-inset-toggle <state> <name>, where
1706         <state> == "open" || "closed" || "toggle" and
1707         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1708
1709         * lyxtext.h, text2.C (toggleInset): removed.
1710
1711         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1712         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1713         now passes LFUN_INSET_TOGGLE to the found inset.
1714
1715         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1716         is now invoked as "all-insets-toggle toggle branch".
1717
1718 2004-03-30  Angus Leeming  <leeming@lyx.org>
1719
1720         * dociterator.C:
1721         * insetiterator.C:
1722         * pariterator.[Ch]: added/corrected header blurb.
1723
1724 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1725
1726         * dociterator.[Ch]: add an inset_ member
1727         (backwardPos): implemented
1728         (backwardPos, forwardPos): use inset_ when the stack is empty.
1729         (doc_iterator_begin, doc_iterator_end): implemented
1730         * pariterator.[Ch]: adjust, add begin, end
1731         * insetiterator.[Ch]: adjust, add begin, end
1732         * cursor.C:
1733         * document.C:
1734         * BufferView.C:
1735         * BufferView_pimpl.C:
1736         * CutAndPaste.C: adjust
1737
1738 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1739
1740         * buffer.C: increment file format to 232.
1741         * LaTeXFeatures.C: add bibtopic package.
1742         * bufferparams.[Ch]: param \use_bibtopic.
1743
1744         * lyxrc.[Ch]: add lyxrc bibtex_command
1745         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1746
1747         * buffer.C: increment file format to 231.
1748
1749 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1750
1751         * dociterator.C: implement forwardPar
1752         * iterators.[Ch]: remove, replaced by
1753         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1754         * BufferView.C:
1755         * BufferView_pimpl.C:
1756         * CutAndPaste.C:
1757         * buffer.C:
1758         * bufferview_funcs.C:
1759         * cursor.C:
1760         * lyxfind.C
1761         * lyxfunc.C
1762         * paragraph_funcs.C
1763         * toc.C:
1764         * Makefile.am: adjust
1765
1766 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1767
1768         * CutAndPaste.C (pasteSelection): fix 2 crashes
1769         (eraseSelection): fix a crash
1770         * paragraph_funcs.C: remove a warning
1771
1772 2004-03-28  Angus Leeming  <leeming@lyx.org>
1773
1774         * lfuns.h:
1775         * LyXAction.C (init): new LFUN_PRINT.
1776
1777         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1778
1779 2004-03-27  Angus Leeming  <leeming@lyx.org>
1780
1781         * lfuns.h:
1782         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1783
1784         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1785
1786 2004-03-27  Angus Leeming  <leeming@lyx.org>
1787
1788         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1789         insetlist always contains non-null pointers to insets.
1790
1791 2004-03-26  Angus Leeming  <leeming@lyx.org>
1792
1793         * src/BufferView_pimpl.C:
1794         * src/CutAndPaste.C:
1795         * src/buffer.C:
1796         * src/iterators.C:
1797         * src/output_plaintext.C:
1798         * src/outputparams.h:
1799         * src/paragraph_funcs.C:
1800         * src/rowpainter.C:
1801         * src/text.C:
1802         * src/text2.C:
1803         * src/frontends/controllers/ControlErrorList.C:
1804         * src/frontends/gtk/FileDialogPrivate.C:
1805         * src/frontends/gtk/GPainter.C:
1806         * src/frontends/gtk/GToolbar.C:
1807         * src/frontends/qt2/QRef.C:
1808         * src/mathed/math_scriptinset.C: squash compiler warnings.
1809
1810 2004-03-26  Angus Leeming  <leeming@lyx.org>
1811
1812         * ispell.C (LaunchIspell::start):
1813         * lyx_cb.C (AutoSaveBuffer::start):
1814         invoke run(DontWait) rather than runNonBlocking().
1815
1816 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1817
1818         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1819
1820 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1821
1822         * kbsequence.C (print): adjust
1823
1824         * kbmap.C (printKeySym): rename and change signature
1825         (printKey): use LyXKeySym::print()
1826
1827 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1828
1829         * undo.C: add using std::advance to compile for stlport
1830
1831 2004-03-24  Angus Leeming  <leeming@lyx.org>
1832
1833         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1834         it leads to a crash when no buffer is present.
1835
1836 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1837             Martin Vermeer  <martin.vermeer@hut.fi>
1838
1839         * lyxfunc.C (dispatch):
1840         * bufferparams.C (readToken): use the new LColor::setColor
1841
1842         * LColor.[Ch] (setColor): new version that takes two strings as
1843         argument and creates a new color entry if necessary
1844
1845 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1846
1847         * buffer.C (makeLaTeXFile): if the main latex file that is
1848         processed is usually a subdocument of some master, then pretend
1849         for a while that it is actually the master
1850
1851 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1852
1853         * buffer.C (getLabelList):
1854         (getBibkeyList): use getMasterBuffer()
1855         (getMasterBuffer): new method. Returns the main document in the
1856         case where one is using included documents.
1857
1858 2004-03-25  André Pönitz  <poenitz@gmx.net>
1859
1860         * Makefile.am:
1861         * iterators.[Ch]:
1862         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1863
1864         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1865
1866         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1867         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1868
1869         * ParameterStruct.h: merge with ParagraphParameters
1870
1871         * lyxtext.h: remove LyXText::parOffset() and getPar()
1872
1873         * text3.C: Remove all 'manual' update calls. We do now one per user
1874         interaction which is completely sufficient.
1875
1876         * Bidi.C:
1877         * BufferView.[Ch]:
1878         * BufferView_pimpl.C:
1879         * FontIterator.[Ch]:
1880         * MenuBackend.C:
1881         * ParagraphParameters.[Ch]:
1882         * buffer.C:
1883         * buffer.h:
1884         * bufferlist.C:
1885         * cursor.[Ch]:
1886         * cursor_slice.[Ch]:
1887         * dociterator.[Ch]:
1888         * errorlist.[Ch]:
1889         * factory.C:
1890         * lfuns.h:
1891         * lyxfind.C:
1892         * lyxfunc.C:
1893         * output_docbook.[Ch]:
1894         * output_latex.[Ch]:
1895         * output_linuxdoc.[Ch]:
1896         * output_plaintext.[Ch]:
1897         * paragraph.[Ch]:
1898         * paragraph_funcs.[Ch]:
1899         * paragraph_pimpl.[Ch]:
1900         * rowpainter.C:
1901         * tabular.[Ch]:
1902         * text.C:
1903         * text2.C:
1904         * toc.C:
1905         * undo.[Ch]: adjust
1906
1907         * frontends/controllers/ControlDocument.C:
1908         * frontends/controllers/ControlErrorList.C:
1909         * frontends/controllers/ControlSpellchecker.C:
1910         * insets/inset.C:
1911         * insets/inset.h:
1912         * insets/insetbase.h:
1913         * insets/insetbibitem.C:
1914         * insets/insetbox.C:
1915         * insets/insetbranch.C:
1916         * insets/insetcaption.C:
1917         * insets/insetcharstyle.C:
1918         * insets/insetcharstyle.h:
1919         * insets/insetcollapsable.C:
1920         * insets/insetcollapsable.h:
1921         * insets/insetert.C:
1922         * insets/insetfloat.C:
1923         * insets/insetfoot.C:
1924         * insets/insetmarginal.C:
1925         * insets/insetnote.C:
1926         * insets/insetoptarg.C:
1927         * insets/insettabular.C:
1928         * insets/insettext.C:
1929         * insets/insettext.h:
1930         * insets/insetwrap.C:
1931         * mathed/math_mboxinset.C:
1932         * mathed/math_nestinset.C:
1933         * mathed/math_scriptinset.C:
1934         * mathed/math_scriptinset.h:
1935         * support/types.h:
1936
1937 2004-03-24  Angus Leeming  <leeming@lyx.org>
1938
1939         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1940         deal with any child processes that have finished but are waiting to
1941         communicate this fact to the rest of LyX.
1942
1943 2004-03-24  Angus Leeming  <leeming@lyx.org>
1944
1945         64-bit compile fixes.
1946
1947         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1948         (c-tor): pass lyx::pos_types rather than ints.
1949
1950         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1951         lyx::pos_type.
1952
1953         * text.C (Delete): compile fix.
1954         (getPar): ensure that function declaration is the same as that in
1955         the header file.
1956
1957 2004-03-23  Angus Leeming  <leeming@lyx.org>
1958
1959         * ispell.C (LaunchIspell):
1960         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1961         a boost::shred_ptr rather than a std::auto_ptr.
1962
1963 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1964
1965         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1966         handle LFUN_FILE_INSERT_*
1967
1968         * lyxrc.C (setDefaults, getDescription, output, read):
1969         * lyxrc.h: remove ps_command
1970
1971 2004-03-22  Angus Leeming  <leeming@lyx.org>
1972
1973         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1974         Ensure that error_handler is processed once only and that all data
1975         is saved before attempting to output any warning messages.
1976
1977         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1978
1979 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1980
1981         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1982
1983 2004-03-19  André Pönitz  <poenitz@gmx.net>
1984
1985         * cursor.[Ch] (reset): take main text inset as argument
1986
1987         * BufferView: adjust
1988         * BufferView_pimpl.C: adjust
1989
1990         * paragraph.[Ch]: fix completely broken operator=()
1991
1992 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1993
1994         * LColor.C (getFromLyXName): make sure that the color name is used
1995         as lowercase.
1996
1997 2004-03-17  Angus Leeming  <leeming@lyx.org>
1998
1999         * lfuns.h:
2000         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2001
2002         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2003         dialog and to kill a forked process.
2004
2005 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2006
2007         * text2.C (setCursorFromCoordinates): fix font problem
2008
2009 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2010
2011         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2012         bogus "rebuild cursor" code
2013
2014 2004-03-11  André Pönitz  <poenitz@gmx.net>
2015
2016         * buffer.[Ch]: use InsetText instead of LyXText as container for
2017         the main lyx text.
2018
2019         * dociterator.[Ch]: drop the BufferView * member which is not needed
2020         anymore after the change to buffer.C
2021
2022         * paragraph_funcs.C:
2023         * text.C:
2024         * text2.C:
2025         * BufferView.[Ch]:
2026         * BufferView_pimpl.[Ch]:
2027         * cursor.[Ch]:
2028         * cursor_slice.[Ch]: adjust
2029
2030         * text3.C: fix bug in mathDispatch
2031
2032 2004-03-08  André Pönitz  <poenitz@gmx.net>
2033
2034         * undo.[Ch]: use 'StableDocumentIterator' as base for
2035         the Undo struct.
2036
2037 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2038
2039         * LaTeXFeatures.C:
2040         * bufferparams.[Ch]: add jurabib support and param.
2041
2042         * LaTeX.C: add FIXME/comment.
2043
2044 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2045
2046         * buffer.C: increment file format to 230.
2047
2048 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2049
2050         * cursor.C (dispatch): avoid infinite loops
2051
2052 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * rowpainter.C (paintSelection): fix x coordinates
2055
2056 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2057
2058         * text.C (rowBreakPoint): fix breaking before displayed insets
2059
2060 2004-03-01  André Pönitz  <poenitz@gmx.net>
2061
2062         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2063
2064         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2065
2066         * Makefile.am:
2067         * BufferView.C:
2068         * BufferView_pimpl.C:
2069         * buffer.C:
2070         * lyxfind.C:
2071         * lyxfunc.C:
2072         * text.C:
2073         * text2.C:
2074         * text3.C: adjust
2075
2076 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * lyxtext.h:
2079         * text.C:
2080         * text2.C:
2081         * rowpainter.C:
2082         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2083         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2084
2085 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2086
2087         * Bidi.[Ch] (computeTables): const correctness
2088         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2089         fill_hfill, fill_label_hfill and x from Row
2090         * lyxtext.h: prepareToPrint returns a RowMetrics
2091         * rowPainter.C: adjust
2092         * text.C (prepareToPrint): use width, not textWidth. adjust
2093         (redoParagraphInternal, cursorX): adjust
2094         * text2.C (getColumnNearX): adjust
2095         (init): put a default value to the top LyXText::width
2096
2097 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2098
2099         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2100
2101 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2102
2103         * lyxtext.h: add FontIterator class
2104
2105         * text.C (FontIterator, operator*, operator->, operator++): add
2106         (rowBreakPoint, setRowWidth): adjust (fixing a
2107         rebreaking bug)
2108
2109 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         * BufferView_pimpl.C (workAreaDispatch): allow also
2112         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2113
2114 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2115
2116         * text.C (rowBreakPoint): fix a bug showing with very large insets
2117
2118 2004-02-25  André Pönitz  <poenitz@gmx.net>
2119
2120         * text3.C:
2121         * cursor.[Ch]: move some mathed specific code to mathed
2122
2123 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2124
2125         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2126         use_tempdir in preferences
2127         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2128         tempfile creation
2129         * lyx_main.C: ensure that tempdir is valid
2130         * lyxlex.h: correct typo
2131         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2132         * paragraph.[Ch] (isMultiLingual): make const
2133         * cursor.[Ch] (openable): make const
2134
2135 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2136
2137         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2138
2139 2004-02-20  André Pönitz  <poenitz@gmx.net>
2140
2141         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2142
2143         * cursor.[Ch]: prepare for localized getStatus()
2144
2145         * lyxtext.h:
2146         * tabular.C:
2147         * text.C:
2148         * text2.C:
2149         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2150
2151 2004-02-20  André Pönitz  <poenitz@gmx.net>
2152
2153         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2154
2155 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2156
2157         * text2.C (setCursorFromCoordinates): switch to absolute coords
2158         (cursorUp): adjust
2159         (cursorDown): adjust
2160         * text3.C (dispatch): adjust
2161
2162 2004-02-16  André Pönitz  <poenitz@gmx.net>
2163
2164         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2165           insets/ChangeLog)
2166
2167         * cursor_slice.[Ch]: remove unneeded acessor function
2168
2169         * lyxtext.h: rename rtl() to isRTL()
2170
2171         * rowpainter.C:
2172         * tabular.C:
2173         * text.C:
2174         * text2.C:
2175         * text3.C: adjust
2176
2177 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2178
2179         * rowpainter.C (paintSelection): coord fix
2180
2181 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2182
2183         * Spacing.C: compile fix
2184
2185 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2186
2187         * cursor.C (dispatch): restore current_ before returning
2188
2189 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2190
2191         * text2.C (cursorUp, cursorDown): fix coords
2192         (moveUp): fix crash
2193
2194 2004-02-12  André Pönitz  <poenitz@gmx.net>
2195
2196         * lyxtext.h:
2197         * text.C:
2198         * text2.C:
2199         * text3.C: add LCursor & parameter to most cursor movement functions
2200           remove usage of LyXText::cursorRow() and cursorPar()
2201
2202         * cursor.[Ch]: add textRow() needed members
2203
2204         * BufferView.C:
2205         * BufferView_pimpl.C:
2206         * paragraph.[Ch]:
2207         * BufferView.C:
2208         * BufferView_pimpl.C: adjust
2209
2210 2004-02-11  André Pönitz  <poenitz@gmx.net>
2211
2212         * lyxfunc.C:
2213         * BufferView.[Ch]:
2214         * BufferView_pimpl.C: shift undo/redo handling
2215
2216         * cursor.[Ch]: fix mathed crash
2217
2218         * lyxfind.C:
2219         * lyxtext.h: move selectionAsText to LCursor
2220
2221         * output_latex.C:
2222         * paragraph.C:
2223         * text.C:
2224         * text2.C:
2225         * text3.C: adjust
2226
2227         * rowpainter.C: fix excessive drawing
2228
2229 2004-02-06  André Pönitz  <poenitz@gmx.net>
2230
2231         * BufferView.[Ch]:
2232         * BufferView_pimpl.[Ch]:
2233         * text3.C: move some text specific LFUN handling
2234
2235 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2236
2237         * text3.C (checkInsetHit): adjust coords
2238         * text2.C (getColumnNearX): adjust coords
2239         (edit): adjust coords
2240         * text.C (getRowNearY): add two asserts
2241
2242 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2243
2244         * converter.C:
2245         * format.C: add using std::distance to compile on gcc 2.95/stlport
2246
2247 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2248
2249         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2250
2251 2004-02-04  André Pönitz  <poenitz@gmx.net>
2252
2253         * BufferView.[Ch] (insertInset):
2254         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2255
2256         * text2.C:
2257         * text3.C: adjust
2258
2259 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2260
2261         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2262         on the default clause of the switch
2263         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2264         wasn't catched by LCursor::dispatch
2265
2266 2004-02-03  André Pönitz  <poenitz@gmx.net>
2267
2268         * BufferView.C:
2269         * cursor.[Ch]: some additional asserts
2270
2271         * undo.[Ch]: remove LyXText dependency in interface
2272
2273         * lyxfunc.C: adjust
2274
2275         * lyxtext.h (firstPar, lastPar): remove dead functions
2276
2277         * text.C:
2278         * text2.C:
2279         * text3.C:
2280         * paragraph.[Ch]: adjust
2281
2282 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2283
2284         * lyxfind.C (find): fix argument order in call to ::find
2285
2286 2004-02-02  André Pönitz  <poenitz@gmx.net>
2287
2288         * cursor.[Ch]: remove direct access to anchor
2289
2290         * text.C: remove findText() hack
2291
2292 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2293
2294         * iterators.[Ch] (lockPath): remove in favour of...
2295         * BufferView.[Ch] (setCursor): this addition
2296         * BufferView.C (putSelectionAt): adjust
2297         * undo.C (performUndoOrRedo): adjust
2298         * lyxfunc.C (dispatch): adjust
2299
2300 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * iterators.C (lockPath): add a missing slice
2303         * undo.C (performUndoOrRedo): remove redundant positioning code
2304
2305 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2306
2307         * vc-backend.C (scanMaster): ";" -> ';'
2308
2309 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2310
2311         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2312         std::binary_function
2313
2314         * lyxtextclass.C (compare_name): rename to...
2315         (LayoutNamesEqual): ...this
2316
2317         * lyxlex_pimpl.C (compare_tags): inherit from
2318         std::binary_function, put back into anon namespace
2319
2320         * lyxfind.C (MatchString): inherig from std::binary_function
2321         (findChange): use empty() istead of !size()
2322
2323         * format.C (FormatNamesEqual): new functor
2324         (getFormat): use it
2325         (getNumber): use it
2326         (add): use it
2327         (erase): use it
2328         (setViewer): use it
2329
2330         * converter.C (compare_Converter): rename to...
2331         (ConverterEqual): ...this, and fixup a bit.
2332         (getConverter): use it, and make function const
2333         (getNumber): use it, and make function const
2334         (add): use it
2335         (erase): use it:
2336
2337         * bufferlist.C: add using boost::bind
2338
2339         * MenuBackend.C (MenuNamesEqual): new functor
2340         (hasMenu): use it, and make function const
2341         (hasSubmenu): use nested bind to get rid of compare_memfun.
2342
2343 2004-01-30  André Pönitz  <poenitz@gmx.net>
2344
2345         * BufferView_pimpl.C:
2346         * cursor.C:
2347         * cursor.h:
2348         * cursor_slice.[Ch]:
2349         * lyxfunc.C:
2350         * lyxtext.h:
2351         * paragraph_funcs.C:
2352         * paragraph_funcs.h:
2353         * rowpainter.C:
2354         * text.C:
2355         * text2.C:
2356         * text3.C: move some of the edit(x,y) handling to the insets
2357         some coordinate changes.
2358
2359 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2360
2361         * text.C: add using statements for std::advance and std::distance
2362
2363         * paragraph.C: add using statement for std::distance
2364
2365         * lyxfind.C: add using statement for std::advance
2366
2367         * cursor.C (region): remove std:: from swap
2368         (openable): use nucleus in stead of operator->
2369
2370         * BufferView.C: add using statements for std::distance and std::swap
2371
2372 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2373
2374         * iterators.C: Remove the pimple, move the needed structures to
2375         the header file. Create accessor for the positions stack.
2376         (asPosIterator): remove function
2377
2378         * PosIterator.C (PosIterator): move constructors to top of file
2379         (PosIterator): reimplement the constructor taking a ParIterator in
2380         terms of setFrom.
2381         (setFrom): new function
2382         (operator!=): inline it
2383
2384 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2385
2386         * lyxfind.C (replaceAll): use std::advance
2387
2388         * iterators.h: inherit from std::iterator.
2389
2390         * PosIterator.C (advance, distance): remove
2391         * PosIterator.h: interit from std::iterator.
2392
2393 2004-01-26  André Pönitz  <poenitz@gmx.net>
2394
2395         * BufferView.[Ch]:
2396         * BufferView_pimpl.[Ch]:
2397         * InsetList.[Ch]:
2398         * PosIterator.[Ch]:
2399         * buffer.h:
2400         * bufferview_funcs.C:
2401         * cursor.[Ch]:
2402         * cursor_slice.h:
2403         * factory.[Ch]:
2404         * iterators.[Ch]:
2405         * lyxfind.C:
2406         * lyxfunc.C:
2407         * lyxtext.h:
2408         * output_docbook.C:
2409         * output_latex.C:
2410         * output_linuxdoc.C:
2411         * output_plaintext.C:
2412         * paragraph.[Ch]:
2413         * paragraph_funcs.[Ch]:
2414         * paragraph_pimpl.[Ch]:
2415         * rowpainter.C:
2416         * tabular.C:
2417         * tabular.h:
2418         * text.C:
2419         * text2.C:
2420         * text3.C: more IU:  dumps most of the rest of the mathcursor
2421     implementation into cursor.[Ch]; "globalize" a bit of it.
2422
2423 2004-01-25  Angus Leeming  <leeming@lyx.org>
2424
2425         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2426
2427 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2428
2429         * LaTeXFeatures.h: add nice_ and nice() const
2430         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2431
2432 2004-01-20  André Pönitz  <poenitz@gmx.net>
2433
2434         * BufferView.[Ch]:
2435         * BufferView_pimpl.C:
2436         * PosIterator.C:
2437         * bufferview_funcs.C:
2438         * cursor.[Ch]:
2439         * cursor_slice.[Ch]:
2440         * factory.C:
2441         * iterators.C:
2442         * lyx_cb.C:
2443         * lyxfind.C:
2444         * lyxfunc.C:
2445         * lyxtext.h:
2446         * rowpainter.C:
2447         * text.C:
2448         * text2.C:
2449         * text3.C:
2450         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2451           LCursor and mathcursor parts to LCursor and InsetBase.
2452
2453 2004-01-15  André Pönitz  <poenitz@gmx.net>
2454
2455         * cursor_slice.[Ch]: add a few covienience functions
2456
2457         * funcrequest.[Ch]: remove BufferView * member
2458
2459         * BufferView_pimpl.C:
2460         * cursor.C:
2461         * factory.[Ch]:
2462         * lyxfind.[Ch]:
2463         * lyxfunc.C:
2464         * lyxtext.h:
2465         * text3.C:
2466         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2467
2468 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2469
2470         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2471         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2472
2473 2004-01-13  André Pönitz  <poenitz@gmx.net>
2474
2475         * textcursor.[Ch]:
2476         * lyxtext.h: hide cursor and selection anchor behind accessor function
2477
2478         * BufferView.C:
2479         * BufferView_pimpl.[Ch]:
2480         * PosIterator.C:
2481         * bufferview_funcs.C:
2482         * cursor.h:
2483         * lyxfind.C:
2484         * lyxfunc.C:
2485         * text.C:
2486         * text2.C:
2487         * text3.C:
2488         * undo.C: adjust
2489
2490         * cursor.h:
2491         * cursor_slice.[Ch]: some integer type changes for inset unification
2492
2493         * lyxcursor.[hC]: remove, it's CursorSlice now.
2494
2495         * Makefile.am:
2496         * BufferView_pimpl.[Ch]:
2497         * bufferview_funcs.C:
2498         * cursor_slice.C:
2499         * lyxtext.h:
2500         * text.C:
2501         * text2.C:
2502         * text3.C:
2503         * textcursor.[Ch]: adjust
2504
2505 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2506
2507         * text2.C (undoSpan): add and use
2508         * text.C (breakParagraph): use undoSpan (fix bug 578)
2509         * lyxtext.h: adjust
2510
2511 2004-01-08  Angus Leeming  <leeming@lyx.org>
2512
2513         * BufferView_pimpl.C (MenuInsertLyXFile):
2514         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2515         * lyxfunc.C (menuNew, open, doImport):
2516         FileFilterList change to the FileDialog open and save functions.
2517
2518 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2519
2520         * ShareContainer.h: make isEqual and isUnique adaptable
2521
2522         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2523
2524 2004-01-07  Angus Leeming  <leeming@lyx.org>
2525
2526         * LyXAction.C:
2527         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2528
2529         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2530
2531         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2532         functions replacing find, replace and replaceAll.
2533
2534         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2535         LFUN_WORDFIND(FORWARD|BACKWARD).
2536
2537 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2538
2539         * text.C (breakParagraph): remove an outdated #warning
2540
2541 2004-01-07  André Pönitz  <poenitz@gmx.net>
2542
2543         * lyxfind.C: somewhat clearer logic
2544
2545         * text.C: prevent crash in cursorX on unitialized row cache
2546
2547 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2548
2549         * lyxcursor.[Ch] (operator>): add
2550         * textcursor.C (selStart, selEnd): use std::min and std::max
2551
2552 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2553
2554         * Chktex.C: include boost/format.hpp
2555
2556 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2557
2558         * InsetList.C: replace functor MathcIt with adaptable functor
2559         InsetTablePosLess
2560         (insetIterator): modify accordingly
2561
2562         * BranchList.h: move the BranchNamesEqual functor here from...
2563         * BranchList.C: ... to here
2564
2565         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2566         SameName and match.
2567         (add): replace a finding loop with std::find_if.
2568
2569 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2570
2571         * output_docbook.C: moving LatexParam functionality into
2572         .layout files
2573
2574 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2575
2576         * buffer.C: increment format to 229.
2577
2578 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2579
2580         * LaTeXFeatures.C:
2581         * lyx_sty.[Ch]: remove minipageindent_def
2582
2583         * LyXAction.C:
2584         * factory.C:
2585         * lfuns.h:
2586         * lyxfunc.C:
2587         * text3.C: remove LFUN_INSET_MINIPAGE
2588
2589 2003-12-28  Angus Leeming  <leeming@lyx.org>
2590
2591         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2592
2593 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * text2.C (setParagraph): fix off-by-one crash
2596
2597 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2598
2599         * output_docbook.C: header stuff for AGU
2600
2601 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2602
2603         * text2.C (redoCursor): remove
2604         * text.C:
2605         * text3.C:
2606         * BufferView_pimpl.C: remove calls to redoCursor and
2607         setCursor(cursor.par(), cursor.pos()) all around
2608
2609 2003-12-15  Angus Leeming  <leeming@lyx.org>
2610
2611         * buffer.C: up the format to 228.
2612
2613 2003-12-15  André Pönitz  <poenitz@gmx.net>
2614
2615         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2616         slices
2617
2618         * Makefile.am:
2619
2620         * BufferView_pimpl.C:
2621         * cursor.[Ch]:
2622         * lyxcursor.[Ch]:
2623         * rowpainter.[Ch]:
2624         * lyxtext.h:
2625         * text.C:
2626         * text2.C:
2627         * text3.C: adjust
2628
2629 2003-12-15  Angus Leeming  <leeming@lyx.org>
2630
2631         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2632         than getFromGUIName to manipulate the color.
2633
2634 2003-12-14  Angus Leeming  <leeming@lyx.org>
2635
2636         * BranchList.[Ch]: minimize the API.
2637         (Branch::getBranch, getColor): now return a 'const &'.
2638         (Branch::setSelected) now returns a bool set to true if the
2639         selection status changes.
2640         (BranchList::clear, size, getColor, setColor, setSelected,
2641         allBranches, allSelected, separator): removed.
2642         (BranchList::find): new functions, returning the Branch with
2643         the given name.
2644         (BranchList::add, remove): return a bool indicating that
2645         the operation was successful.
2646
2647         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2648         new InsetBranch::isBranchSlected member function.
2649
2650         * LColor.[Ch]: mimimize the API.
2651         (fill): renamed as addColor and made private.
2652         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2653         versions of these functions taking a string arg have been removed.
2654
2655         * bufferparams.C (readToken):
2656         * lyxfunc.C (dispatch):
2657         * lyxrc.C (read): changes due to the altered BranchList and
2658         LColor APIs.
2659
2660         * factory.C (createInset, readInset): changes due to altered
2661         InsetBranch c-tor.
2662
2663 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2664
2665         * factory.C:
2666         * lyxfunc.C: remove insetminipage. "minipage-insert"
2667         now produces a frameless minipage box inset.
2668
2669 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2670
2671         * textcursor.[Ch] (selStart,selEnd): add new methods
2672         remove selection::start, end, use LyXCursor::operator<
2673         * lyxcursor.[Ch] (operator<): add
2674         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2675         * BufferView.[Ch] (unsetXSel): add
2676         * text2.C (clearSelection): use unsetXSel,adjust
2677         * text.C: adjust
2678         * text3.C: adjust
2679         * rowpainter.C: adjust
2680         * bufferview_funcs.C (put_selection_at): adjust
2681
2682 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2683
2684         * BufferView_pimpl.C: small coord. correction
2685
2686 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2687
2688         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2689         dragging over the splash screen.
2690
2691 2003-12-11  Angus Leeming  <leeming@lyx.org>
2692
2693         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2694         as it is now handled in LyXText::dispatch.
2695
2696         * text3.C (doInsertInset): remove a level of nesting.
2697
2698 2003-12-11  Angus Leeming  <leeming@lyx.org>
2699
2700         * factory.C (createInset): changes due to the changed interface to
2701         InsetCommandMailer::string2params.
2702
2703 2003-12-10  Angus Leeming  <leeming@lyx.org>
2704
2705         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2706         'dialog-show-new-inset <inset name>'
2707
2708 2003-12-10  Angus Leeming  <leeming@lyx.org>
2709
2710         * buffer.C: up the format to 227.
2711
2712         * factory.C: the box inset is now identified simply by 'Box'.
2713
2714 2003-12-10  Angus Leeming  <leeming@lyx.org>
2715
2716         * buffer.C: up the format to 226.
2717
2718         * factory.C: the note inset is now identified simply by 'Note'.
2719
2720 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2721
2722         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2723         when a pit is enough. Standarize a couple of loops.
2724
2725 2003-12-05  Angus Leeming  <leeming@lyx.org>
2726
2727         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2728         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2729         data to the re-worked "log" dialog.
2730
2731 2003-12-03  André Pönitz  <poenitz@gmx.net>
2732
2733         * PosIterator.C:
2734         * iterators.C:
2735         * lyxtext.h:
2736         * output_latex.C:
2737         * paragraph_funcs.C:
2738         * text.C:
2739         * text2.C: use Inset::getText instead of Inset::getParagraph
2740
2741 2003-12-03  André Pönitz  <poenitz@gmx.net>
2742
2743         * buffer.[Ch]:
2744         * lyxtext.h:
2745         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2746         InsetText::read() as LyXText::read()
2747
2748 2003-12-02  Angus Leeming  <leeming@lyx.org>
2749
2750         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2751         type. Add a comment in the implementation that the function uses
2752         the stream's bad() function rather than fail() as the std::streams
2753         would do.
2754
2755 2003-12-02  André Pönitz  <poenitz@gmx.net>
2756
2757         * lyxlex.[Ch]: make interface more similar to std::stream
2758
2759         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2760
2761 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2762
2763         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2764
2765 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2766
2767         * vspace.[Ch]: remove VSpace::NONE
2768
2769 2003-12-01  André Pönitz  <poenitz@gmx.net>
2770
2771         * buffer.[Ch]:
2772         * lyxtext.h: move ParagraphList member to LyXText
2773         rename LyXText::ownerParagraphs to LyXText::paragraph
2774
2775         * CutAndPaste.C:
2776         * bufferview_funcs.C:
2777         * iterators.[Ch]:
2778         * lyx_cb.C:
2779         * paragraph.C:
2780         * rowpainter.C:
2781         * tabular.C:
2782         * text.C:
2783         * text2.C:
2784         * text3.C: adjust
2785
2786         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2787
2788         * undo.C: fix cursor positioning
2789
2790 2003-12-01  John Levon  <levon@movementarian.org>
2791
2792         * BufferView_pimpl.C: fix a crash on exit with
2793         a buffer open
2794
2795 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2796
2797         * BranchList.C: fix setSelected() method.
2798
2799 2003-11-28  André Pönitz  <poenitz@gmx.net>
2800
2801         * ParagraphParameters.[Ch]:
2802         * ParameterStruct.h: remove space above/below from Paragraph to
2803          InsetVSpace
2804
2805         * BufferView_pimpl.C:
2806         * factory.C:
2807         * lyxfunc.C:
2808         * lyxtext.h:
2809         * output_latex.C:
2810         * paragraph.C:
2811         * paragraph_funcs.C:
2812         * rowpainter.[Ch]:
2813         * text.C:
2814         * text2.C:
2815         * text3.C: adjust
2816
2817 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2818
2819         * factory.C: Syntax change for CharStyles
2820
2821 2003-11-28  André Pönitz  <poenitz@gmx.net>
2822
2823         * BufferView.[Ch]:
2824         * BufferView.[Ch]:
2825         * buffer.[Ch]:
2826         * buffer.[Ch]: move LyXText member
2827
2828 2003-11-28  André Pönitz  <poenitz@gmx.net>
2829
2830         * BufferView.[Ch]: make LyXText * text a private member
2831
2832         * BufferView_pimpl.C:
2833         * cursor.C:
2834         * iterators.C:
2835         * lyx_cb.C:
2836         * lyxfind.C:
2837         * lyxtext.h:
2838         * rowpainter.[Ch]:
2839         * text.C:
2840         * text2.C:
2841         * undo.C: adjust
2842
2843         * output_plaintext.C: cleanup
2844
2845 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2846
2847         * buffer.C:
2848         * lyxtextclass.[Ch]: parametrize SGML document header
2849
2850 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2851
2852         * converter.[Ch]:
2853         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2854         getFlavor().
2855
2856 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2857
2858         * text2.C (setFont): rework using PosIterator (no more recursive)
2859         (setCharFont): no more needed
2860         (setLayout): no more selection cursors fiddling (done by redoCursor)
2861         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2862         destroy remaining ones)
2863
2864 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2865
2866         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2867         * lyxtext.h: ditto
2868         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2869         selection cursors
2870         * lyxfunc.C: adjust
2871         * text3.C: adjust + re-allow multi par depth changes
2872         * textcursor.C: simplify a bit
2873
2874 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2875
2876         * src/buffer.C:
2877         * src/lyxlayout.C:
2878         * src/lyxlayout.h:
2879         * src/lyxtext.h:
2880         * src/output_docbook.C:
2881         * src/output_latex.C:
2882         * src/paragraph.C:
2883         * src/paragraph.h:
2884         * src/sgml.C:
2885         * src/sgml.h:
2886         * src/text2.C: Introducing a number of tags parametrizing various
2887         XML formats that we may want to support
2888
2889 2003-11-25  André Pönitz  <poenitz@gmx.net>
2890
2891         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2892
2893         * lyxtext.h (leftMargin/rightMargin): simplify interface
2894
2895         * rowpainter.C:
2896         * text.C:
2897         * text2.C:
2898         * text3.C: adjust
2899
2900 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2901
2902         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2903         master file to any child files. Fixes bug 546.
2904
2905 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2906
2907         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2908
2909 2003-11-24  André Pönitz  <poenitz@gmx.net>
2910
2911         * rowpainter.C: simplification
2912
2913         * text2.C (updateCounters): remove call to redoParagraph on
2914         changed labels as this is far too expensive.
2915
2916 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2917
2918         * converter.C (convert): fix a crash: this function gets
2919         called with buffer == 0 from importer code.
2920
2921 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2922
2923         * text3.C (cursorPrevious): make sure that we do not compare
2924         iterators form different containers.
2925         (cursorNext): ditto
2926
2927         * rowpainter.C (paintSelection): make sure that we do not compare
2928         iterators from different containers.
2929
2930         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2931         iterators from different ParagraphList containers.
2932         [NEXT] ditto
2933
2934         * text2.C (LyXText): change order of initialization slightly
2935         (operator=): new function. copy all variables except cache_par_
2936         (moveUp): make sure that we do not compare iterators from
2937         different ParagraphList constainers.
2938         (moveDown): ditto
2939
2940         * text.C (firstPar): new function
2941         (lastPar): new function
2942         (endPar): new function
2943
2944         * lyxtext.h: move things around and group public functions, public
2945         variables, private functions, private variables
2946
2947 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2948
2949         * factory.C: change call to InsetERT constructor to avoid
2950         additional invocation of method status
2951         * text2.C (toggleInset): remove redundant update() call
2952         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2953         instead of a Bufferview pointer
2954
2955 2003-11-21  André Pönitz  <poenitz@gmx.net>
2956
2957         * rowpainter.C: simplification
2958
2959 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * text3.C (dispatch): make possible to extend a word/row selection
2962         with the mouse
2963
2964 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * lyxtext.h: x0_,y0_ -> xo_,yo_
2967         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2968         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2969         * rowpainter.C (paintRows): paint full paragraphs
2970
2971 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2972
2973         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2974         screen coordinates)
2975
2976 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2977
2978         * lyxtext.h: add x0_, y0_
2979         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2980         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2981
2982 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2983
2984         * text2.C (setCursorIntern): move the x_target update here *
2985         * text3.C: change some bv() to true/false in calls to
2986         cursorUp/Down/Right/Left
2987         * cursor.C: use helper function.
2988
2989 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2990
2991         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2992         * paragraph_funcs.[Ch]: correct comment
2993         * rowpainter.C: do not paint selections away from bv->cursor()
2994         Fix a long standing selection painting bug.
2995         * text3.C: generalize mouse-selection code to LyXTexts other that
2996         top one
2997         * textcursor.C: do not use y coords if we can use par offsets
2998
2999 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3000
3001         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3002         cursor position after e.g. inset insert)
3003
3004 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * lyxfind.C (replace): adjust to locking removal + some
3007         code simplification
3008
3009 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3010
3011         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3012         of the path
3013
3014 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3015
3016         * lyxlayout.[Ch]:
3017         * output_docbook.C: XML sanitation: new layout
3018         parameters InnerTag and CommandDepth
3019
3020 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3021
3022         * BufferView_pimpl.C:
3023         * factory.C:
3024         * text3.C: Fix the insertion and modification of button-style
3025         insets
3026
3027 2003-11-13  André Pönitz  <poenitz@gmx.net>
3028
3029         * InsetList.[Ch]: remove deleteLyXText
3030
3031         * paragraph.[Ch]: cache beginOfBody position
3032
3033         * Bidi.C:
3034         * text.C:
3035         * text2.C:
3036         * text3.C: remove superfluous update() calls
3037
3038         * vspace.C: cleanup
3039
3040 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3043         * BufferView.C (fitLockedInsetCursor): remove
3044         * cursor.[Ch] (getDim): add
3045         * text.C (getRowNearY): add faster version
3046         * text3.C: remove some update calls
3047
3048 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3049
3050         * LaTeXFeatures.C:
3051         * LyXAction.C:
3052         * MenuBackend.C:
3053         * MenuBackend.h:
3054         * dispatchresult.h:
3055         * factory.C:
3056         * lfuns.h:
3057         * lyxfunc.C:
3058         * lyxtextclass.C:
3059         * lyxtextclass.h:
3060         * text3.C: The Character Style /XML short element patch.
3061
3062 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3063
3064         * text3.C:
3065         * factory.C: Small step to solving 'unable to insert some insets'
3066         problem
3067
3068 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * cursor.[Ch] (updatePos): new function for updating the y
3071         position of the tip inset
3072         * bufferview_funcs.C (put_selection_at):
3073         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3074
3075 2003-11-11  André Pönitz  <poenitz@gmx.net>
3076
3077         * text.C: remove big comment on invalid Paragraph pointers as it is
3078         not valid anymore
3079
3080 2003-11-11  André Pönitz  <poenitz@gmx.net>
3081
3082         * text_funcs.[Ch]: merge with ...
3083
3084         * text.C: ... this
3085
3086         * lyxtext.h:
3087         * text2.C:
3088         * text3.C: adjust
3089
3090         * Makefile.am: remove text_funcs.[Ch]
3091
3092 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3093
3094         * cursor.C (getPos): return absolute cached y coord
3095
3096         * BufferView_pimpl.C (fitCursor): new simplistic code
3097         (workAreaDispatch): add a fitCursor call
3098
3099 2003-11-10  André Pönitz  <poenitz@gmx.net>
3100
3101         * BufferView.[Ch]:
3102         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3103
3104 2003-11-10  André Pönitz  <poenitz@gmx.net>
3105
3106         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3107         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3108         indicate that the cursor needs to leave an inset
3109
3110         * lyxtext.h: remove inset locking
3111
3112         * cursor.[Ch]: re-implement functionality provided by inset locking
3113
3114         * BufferView.[Ch]:
3115         * BufferView_pimpl.[Ch]:
3116         * LyXAction.C:
3117         * bufferview_funcs.[Ch]:
3118         * factory.C:
3119         * funcrequest.[Ch]:
3120         * iterators.C:
3121         * lyx_cb.C:
3122         * lyxfind.C:
3123         * lyxfunc.C:
3124         * text.C:
3125         * text2.C:
3126         * text3.C:
3127         * undo.C: adjust
3128
3129 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3130
3131         * PosIterator.[Ch]: replace the stack with a vector, add inset
3132         accesor
3133         * iterators.[C]: adjust
3134
3135 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3136
3137         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3138         replaced
3139         * paragraph_funcs.C (readParToken): put the correct id in the
3140         error item, not the id of the top paragraph
3141
3142 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3143
3144         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3145         * bufferview_funcs.C (put_selection_at): use the above
3146
3147 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3150
3151 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3152
3153         * output_linuxdoc.h:
3154         * output_plaintext.h:
3155         * output.h:
3156         * output_docbook.h: add #include statements
3157
3158 2003-11-05  José Matos  <jamatos@lyx.org>
3159
3160         * output_docbook.[Ch]:
3161         * output_latex.[Ch]:
3162         * output_linuxdoc.[Ch]:
3163         * output_plaintext.[Ch]: New files for output formats.
3164         * output.[Ch]: New file for helper functions.
3165
3166         * buffer.[Ch]:
3167         * paragraph_funcs.[Ch]: output functions moved to new files.
3168
3169         * outputparams.h: rename of latexrunparams.h
3170
3171         * LaTeX.[Ch]:
3172         * buffer.[Ch]:
3173         * bufferlist.[Ch]:
3174         * converter.[Ch]:
3175         * exporter.C:
3176         * paragraph.[Ch]:
3177         * paragraph_funcs.[Ch]:
3178         * paragraph_pimpl.[Ch]:
3179         * tabular.[Ch]: rename ascii to plaintext
3180         and LatexRunParams to OutputParams.
3181
3182 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3183
3184         * iterators.[Ch] (text): require bv argument
3185         * undo.C (recordUndo):
3186         * lyxfunc.C (dispatch):
3187         * bufferview_funcs.C (put_selection_at): adjust
3188
3189 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3190
3191         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3192
3193 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3194
3195         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3196         nestings
3197
3198 2003-11-04  André Pönitz  <poenitz@gmx.net>
3199
3200         * cursor.[Ch]: restructure
3201
3202         * BufferView.[Ch]:
3203         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3204
3205         * iterators.[Ch] (asCursor): remove
3206
3207         * lfuns.h: remove LFUN_INSET_EDIT
3208
3209         * lyxfunc.C:
3210         * tabular.C:
3211         * text.C:
3212         * text2.C:
3213         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3214
3215 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3216
3217         * lyxfind.[Ch]: complete overhaul
3218         * BufferView_pimpl.C:
3219         * lyxfunc.C: adjust
3220         * paragraph.[Ch] (insert): add
3221
3222 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3223
3224         * BufferView.[Ch]:
3225         * lyxtext.h:
3226         * text.C: remove dead spellcheck code
3227
3228 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3229
3230         * dispatchresult.h: add a val setter
3231
3232         * cursor.C (dispatch): use a tempvar for data_[i]
3233
3234 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * PosIterator.[Ch]: compile fix
3237
3238 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3239
3240         * text.C (cursorPar): deactivate the cursor cache
3241
3242 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3245
3246 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3247
3248         * text3.C (dispatch): adjust for new DisptchResult semantics.
3249
3250         * lyxfunc.C (dispatch): handle update when return from
3251         Cursor::dispatch, adjust for new DispatchResult semantics.
3252
3253         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3254         DispatchResult(true) mean to not update. Add class functions for
3255         setting dispatched and update, as well as reading.
3256
3257         * cursor.C (dispatch): don't handle update here
3258
3259 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3262         * trans_mgr.C: adjust
3263
3264         * paragraph_funcs.C (readParToken): exception safety
3265
3266         * lyxvc.h: store the vcs pointer in a scoped_ptr
3267         * lyxvc.C: adjust
3268
3269         * lyxsocket.C (serverCallback): exception safety
3270
3271         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3272
3273         * ispell.C (clone): make it return a auto_ptr
3274
3275         * factory.C (createInset): exception safety
3276         (readInset): exception safety
3277
3278         * bufferlist.C (newBuffer): exception safety
3279
3280         * Thesaurus.C (Thesaurus): use initialization for aik_
3281
3282         * MenuBackend.C (expandToc): exception safety.
3283
3284 2003-11-03  André Pönitz  <poenitz@gmx.net>
3285
3286         * buffer.C:
3287         * buffer.h:
3288         * bufferview_funcs.C: remove getInsetFromId()
3289
3290         * lyxcursor.[Ch]:
3291         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3292
3293         * lyxfunc.C:
3294         * text2.C:
3295         * text3.C: adjust
3296
3297 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3298
3299         * PosIterator.C (distance, advance): new
3300         * bufferview_funcs.[Ch] (put_selection_at): new
3301         * iterators.[Ch] (lockPath): new
3302
3303 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3304
3305         * iterators.[Ch] (asPosIterator): added
3306         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3307         * PosIterator.[Ch]: added
3308
3309 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3310
3311         * text3.C:
3312         * lyxfunc.C:
3313         * cursor.C (dispatch):
3314         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3315
3316         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3317         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3318         contructor, add a class function dispatched. Remove operator>=
3319
3320 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * debug.C: only use the default constructor for debugstream
3323         (lyxerr) here.
3324
3325         * main.C (main): include debug.h and setup the lyxerr streambuf
3326         here.
3327
3328 2003-10-31  José Matos  <jamatos@lyx.org>
3329
3330         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3331
3332         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3333         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3334         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3335         * paragraph_pimpl.C (simpleTeXSpecialC):
3336         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3337         add LatexRunParams argument.
3338
3339         * exporter.C (Export): change call accordingly.
3340
3341         * latexrunparams.h: add new member to take care of the other backends.
3342 2003-10-30  José Matos  <jamatos@lyx.org>
3343
3344         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3345         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3346         factorise code for paragraph output.
3347         * buffer.[Ch]:
3348         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3349         move functions.
3350
3351 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * text3.C (dispatch):
3354         * lyxfunc.C (dispatch):
3355         * cursor.C (dispatch):
3356         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3357
3358         * dispatchresult.h: make the dispatch_result_t ctor explicit
3359
3360 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3361
3362         * sgml.[Ch]:
3363         * buffer.C: small refactoring of docbook stuff
3364
3365 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3368         meaning.
3369
3370 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3371
3372         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3373         operator dispatch_result_t, and operators for == != and >=
3374
3375         * cursor.C (dispatch): adjust for operator dispatch_result_t
3376         removal. comment out call to update
3377
3378         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3379
3380 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3381
3382         * text3.C:
3383         * text2.C:
3384         * text.C:
3385         * lyxtext.h:
3386         * lyxfunc.C:
3387         * cursor.C:
3388         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3389         (dispatch):
3390
3391         * dispatchresult.h: new file, DispatchResult broken out of
3392         insets/insetbase.h
3393
3394         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3395
3396 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3397
3398         * text.C (rowBreakPoint): put a hack inside #if 0
3399
3400 2003-10-28  André Pönitz  <poenitz@gmx.net>
3401
3402         * lyxtext.h:
3403         * metricsinfo.C:
3404         * paragraph_funcs.C:
3405         * rowpainter.C:
3406         * text.C:
3407         * text2.C: general cleanup (lots of small stuff)
3408
3409 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3410
3411         * text2.C (cursorEnd): simple fix to the "end key goes to one
3412         before the end on last row" bug
3413
3414 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3415
3416         * text.C (backspace): fix the "zombie characters"
3417
3418 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3419
3420         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3421
3422 2003-10-27  André Pönitz  <poenitz@gmx.net>
3423
3424         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3425
3426         * factory.C: handle new InsetPagebreak, InsetLine
3427
3428         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3429         and move handling into new InsetPagebreak, InsetLine
3430
3431         * BufferView_pimpl.C:
3432         * LyXAction.C:
3433         * ParagraphParameters.C:
3434         * ParameterStruct.h:
3435         * lyxfunc.C:
3436         * lyxtext.h:
3437         * paragraph.C:
3438         * paragraph.h:
3439         * paragraph_funcs.C:
3440         * paragraph_pimpl.C:
3441         * rowpainter.C:
3442         * text.C:
3443         * text2.C:
3444         * text3.C: adjust
3445
3446 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * text.C:
3449         * lyxrow_funcs.[Ch]:
3450         * Bidi.C:
3451         * paragraph.C:
3452         * lyxtext.h:
3453         * rowpainter.C:
3454         * text2.C:
3455         * text3.C: remove lastPos uses in favour of Row::endpos
3456
3457 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3458
3459         * undo.C (performUndoOrRedo): fix two crashes by setting a
3460         cursor by hand and reordering some calls. Use bv->lockInset instead
3461         of inset->edit because the latter loses cursor information
3462
3463 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3464
3465         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3466         by Martin
3467         (rowBreakPoint): fix width. change point to point + 1.
3468         Add a missing check.
3469
3470 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3471
3472         * MenuBackend.C:
3473         * lyxfunc.C: fix (at least partly) the problems
3474         with the Nav menu and headers inside branch insets
3475         reported by Kayvan
3476
3477 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * paragraph.C (getChar): add strong asserts
3480
3481         * lyxrow_funcs.C (lastPos): remove hideous hack
3482
3483         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3484         (fill): adjust to that (avoid an infinite loop)
3485
3486 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3487
3488         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3489
3490 2003-10-23  André Pönitz  <poenitz@gmx.net>
3491
3492         * RowList_fwd.h: change list<> to vector<> to gain speed
3493         after suggestion from Alfredo
3494
3495 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * lyxtext.h: move the bidi stuff from here...
3498         * text.C: and here
3499         * text2.C: and here
3500         * Bidi.[Ch]: ... to here
3501
3502 2003-10-23  André Pönitz  <poenitz@gmx.net>
3503
3504         * lyxtext.h:
3505         * text.C (isLastRow, isFirstRow): new functions
3506
3507         * paragraph.h: new width cache member
3508
3509         * rowpainter.C: replace RowList::iterator with Row & where possible
3510
3511         * lyxfunc.C: replace several view()->text with a single call
3512
3513         * toc.C: fix 'unused' warning
3514
3515 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3518         when woring with stream::pos_type
3519         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3520
3521 2003-10-22  André Pönitz  <poenitz@gmx.net>
3522
3523         * lyxtext.h:
3524         * text.C: use Row & instead of RowList::iterator
3525
3526         * lyxrow.h: rename end() to endpos()
3527
3528         * rowpainter.C:
3529         * text.C:
3530         * text2.C: adjust
3531
3532 2003-10-22  Angus Leeming  <leeming@lyx.org>
3533
3534         * buffer.[Ch] (fully_loaded): new member function, returning true
3535         only when the file has been loaded fully.
3536         Used to prevent the premature generation of previews and by the
3537         citation inset to prevent computation of the natbib-style label.
3538
3539         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3540         templates are all set up.
3541
3542         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3543
3544 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3545
3546         * text.C: fixed an "oops" in the "is a bit silly"
3547         bug fix
3548
3549 2003-10-21  André Pönitz  <poenitz@gmx.net>
3550
3551         * FuncStatus.[Ch]: small stuff, whitespace
3552
3553         * lyxfont.[Ch]: operator<<() for debug reasons
3554
3555         * lyxfunc.C:
3556         * lyxrow_funcs.C:
3557         * lyxtext.h: whitespace, spelling
3558
3559         * paragraph.C: naming of variables
3560
3561         * text.C:
3562         * text2.C: small stuff
3563
3564
3565 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3566
3567         * text.C: (1) finish off the inset display() work;
3568         (2) fix the "is a bit silly" bug (accessing char
3569         past end of par).
3570
3571 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3572
3573         * text.C: re-introduce display() for insets, fixing the
3574         various bugs (stretch of line above, math inset
3575         positioning, ...)
3576
3577 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3578
3579         * text.C (rightMargin): remove spurious semicolon
3580
3581         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3582         1415)
3583
3584 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3585
3586         * text3.C: fix one crash due to wrong cursor def
3587
3588 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * vc-backend.C (scanMaster): make the regex static
3591
3592         * LaTeX.C (scanAuxFile): make the regexs static
3593
3594         * text3.C (doInsertInset, dispatch, dispatch):
3595         * text2.C (cursorUp, cursorDown):
3596         * text.C (selectNextWordToSpellcheck):
3597         * BufferView_pimpl.C (dispatch):
3598         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3599
3600 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3601
3602         * lyxsocket.C: include <cerrno>
3603
3604 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * lyxfunc.C (dispatch): remove textcache stuff
3607
3608         * bufferlist.C (release): remove textcache stuff
3609         (closeAll): ditto
3610
3611         * TextCache.C: delete file
3612         * TextCache.h: delete file
3613
3614         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3615
3616         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3617         delete of the bv_->text.
3618         (resizeCurrentBuffer): remove texcache stuff
3619         (workAreaResize): ditto
3620
3621 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3622
3623         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3624         action.
3625
3626 2003-10-16  André Pönitz  <poenitz@gmx.net>
3627
3628         * lyxrow.[Ch]:
3629         * paragraph.h:
3630         * rowpainter.C:
3631         * text.C:
3632         * text2.C:
3633         * text3.C: speed up by storing y positions per paragraph plus per-row
3634         offset instead of having a 'full' y position in the row.
3635
3636 2003-10-15  André Pönitz  <poenitz@gmx.net>
3637
3638         * iterators.[Ch]:
3639         * iterators.[Ch]:
3640         * undo.[Ch]: make undo aware of inner insets
3641
3642 2003-10-14  Angus Leeming  <leeming@lyx.org>
3643
3644         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3645         static member functions LyX::ref() and LyX::cref.
3646         (lastfiles): new accessor functions for the new lastfiles_ member var.
3647         (addLyXView, views_): add a new LyXView to the list of views_.
3648         (updateInset): loop over all LyXViews to call their own updateInset
3649         member function, returning a pointer to the Buffer owning the inset.
3650
3651         * BufferView_pimpl.C (loadLyXFile):
3652         * MenuBackend.C (expandLastfiles):
3653         * bufferlist.C (MenuWrite, QuitLyX):
3654         lastfiles is no longer a global variable.
3655         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3656
3657         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3658         static function. Access through LyX::cref().emergencyCleanup().
3659
3660 2003-10-14  André Pönitz  <poenitz@gmx.net>
3661
3662         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3663
3664         * undo.[Ch]: restoring part of 'undo in insets'
3665
3666         * Makefile.am:
3667         * undo_funcs.[Ch]: merge with undo.[Ch]
3668
3669         * tabular.C: small cleansing stuff
3670
3671 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3672
3673         * paragraph_funcs.C (readParToken): report unknown insets as error
3674         boxes. Use the outer paragraph as location (also for unknown
3675         tokens).
3676
3677         * factory.C (readInset): do not abort on reading an unknown inset.
3678         Eat it and return 0.
3679
3680 2003-10-13  Angus Leeming  <leeming@lyx.org>
3681
3682         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3683
3684         * lyxrc.C: displayTranslator is now a function,
3685         declared in GraphicsTypes.h.
3686
3687 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3688
3689         * format.C: new placeholder $$a to pass the socket address.
3690
3691         * bufferlist.[Ch]: new function getBufferFromTmp.
3692
3693         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3694           files in the temporary dir.
3695
3696 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3697
3698         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3699
3700         * Makefile.am: add lyxsocket.[Ch].
3701
3702         * lyx_main.C (error_handler): handle SIGPIPE.
3703
3704 2003-10-13  André Pönitz  <poenitz@gmx.net>
3705
3706         * BufferView_pimpl.C:
3707         * lyxtext.h:
3708         * text.C:
3709         * text2.C:
3710         * text3.C:
3711         * undo_funcs.[Ch]: use paroffset_type instead of
3712           ParagraphList::iterators to prevent multiple conversion
3713           (and get a more robust interface)
3714
3715 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3718         * lyxtext.h: ditto
3719         * text3.C (dispatch): ditto
3720
3721 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3724         move the onlyfile, use onlyfile instead of foundfile in a couple
3725         of places.
3726
3727         * DepTable.C (update): flush the error stream a bit more
3728
3729 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3730
3731         * lyxserver.C (callback): adjust
3732
3733         * lyxfunc.C (getStatus): add a missing brace in commented code
3734         (ensureBufferClean): reindent
3735         (dispatch): delete version taking a string
3736
3737 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3738
3739         * LaTeX.C (deplog): move found file handlig from here...
3740         (handleFoundFile): .. to new function here.
3741         (deplog): make sure to discover several files mentioned on the
3742         same log line.
3743
3744 2003-10-10  André Pönitz  <poenitz@gmx.net>
3745
3746         * lyxfunc.C:
3747         * lyxtext.h:
3748         * tabular.C:
3749         * text.C:
3750         * text2.C:
3751         * text3.C: fix some of the tabular crashes
3752
3753 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3754
3755         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3756
3757         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3758
3759 2003-10-09  André Pönitz  <poenitz@gmx.net>
3760
3761         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3762
3763         * BufferView.C:
3764         * BufferView_pimpl.C:
3765         * bufferview_funcs.C:
3766         * lyx_cb.C:
3767         * lyxcursor.C:
3768         * lyxfind.C:
3769         * lyxfunc.C:
3770         * lyxtext.h:
3771         * text.C:
3772         * text2.C:
3773         * text3.C:
3774         * text_funcs.[Ch]:
3775         * textcursor.[Ch]:
3776         * undo_funcs.C: adjust
3777
3778 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * text2.C (incrementItemDepth): new function, use a backtracking
3781         algorithm to discover the correct item depth.
3782         (resetEnumCounterIfNeeded): new function, use a backtracking
3783         algorithm to discover if counter reset is needed.
3784         (setCounter): use them. Simplify a bit. Add different labels for
3785         different item depths for itemize.
3786
3787         * paragraph.C (Paragraph): remove initialization of enumdepth
3788         (operator=): ditto
3789
3790         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3791         enumerate and itemize. Change the type of itemdepth to signed char.
3792
3793 2003-10-08  André Pönitz  <poenitz@gmx.net>
3794
3795         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3796           thing assignable.
3797         * text.C:
3798         * text2.C: adjust
3799
3800         * tabular.[Ch]: fix crash after 'row-insert'
3801
3802 2003-10-08  Angus Leeming  <leeming@lyx.org>
3803
3804         Fix doxygen warnings.
3805
3806         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3807         Remove CutAndPaste:: prefix from header file declaration.
3808
3809         * LColor.h (fill): remove LColor:: prefix from declaration.
3810
3811         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3812         use lyx::depth_type rather than Paragraph::depth_type so that
3813         header file and .C file match.
3814
3815         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3816
3817         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3818         * aspell.C: \file aspell_local.C -> \file aspell.C
3819         * gettext.C: \file gettext.C -> \file src/gettext.C
3820         * gettext.h: \file gettext.h -> \file src/gettext.h
3821         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3822         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3823         * text.C: \file text.C -> \file src/text.C
3824
3825         * toc.C: move comment so that doxygen is not confused.
3826
3827 2003-10-07  Angus Leeming  <leeming@lyx.org>
3828
3829         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3830
3831 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3832
3833         * aspell.C:
3834         * aspell_local.h: add forgotten std::string's.
3835
3836 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3837
3838         * LaTeXFeatures.C:
3839         * LyXAction.C:
3840         * factory.C:
3841         * lfuns.h:
3842         * lyxfunc.C:
3843         * text3.C: The Box patch. Fancybox support, minipage, parbox
3844
3845 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3846
3847         * CutAndPaste.h:
3848         * DepTable.h:
3849         * FloatList.h:
3850         * LaTeXFeatures.h:
3851         * ParagraphParameters.h:
3852         * TextCache.h:
3853         * Thesaurus.h:
3854         * bufferlist.h:
3855         * exporter.h:
3856         * importer.h:
3857         * lastfiles.h:
3858         * lyxfind.h:
3859         * lyxfont.h:
3860         * lyxlex.h:
3861         * lyxtextclasslist.h:
3862         * messages.h:
3863         * paragraph.h:
3864         * paragraph_pimpl.C:
3865         * textcursor.h: add <string> and other small fixes to make Lars'
3866         std::string patch compile with STLport.
3867
3868 2003-10-06  Angus Leeming  <leeming@lyx.org>
3869
3870         * LColor.h: Add missing #include <string>.
3871
3872 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3873
3874         * All most all file in all subdirs: Make <string> be the prefered
3875         way of getting to std::string, add using declarations.
3876
3877 2003-10-06  André Pönitz  <poenitz@gmx.net>
3878
3879         * metricsinfo.C: initialize LyXFont before changing attribute.
3880         (fixes the 'math in \emph is upright' bug)
3881
3882 2003-10-06  André Pönitz  <poenitz@gmx.net>
3883
3884         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3885
3886 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3887
3888         * graph.C:
3889         * paragraph_pimpl.C: Small fixes to build using STLport
3890
3891 2003-10-02  André Pönitz  <poenitz@gmx.net>
3892
3893         * lyxfunc.C:
3894         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3895
3896 2003-10-01  André Pönitz  <poenitz@gmx.net>
3897
3898         * factory.C: assert early
3899
3900 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * lyx_main.C: remove the global debug object
3903
3904         * debug.h: adjust for new debugstream
3905
3906         * debug.C: adjust for new debugstream and keep the global debug
3907         object here.
3908
3909 2003-09-22  Angus Leeming  <leeming@lyx.org>
3910
3911         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3912         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3913         an incomplete class LyXFont.
3914
3915 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3916
3917         * factory.C: bug fix in branches
3918
3919 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3920
3921         * lyxfunc.C (processKeySym): adjust
3922         (dispatch): adjust
3923         (dispatch): change arg name from ev to func, adjust
3924         (sendDispatchMessage): ditto
3925
3926         * lyx_main.C (defaultKeyBindings): adjust keybindings
3927         (deadKeyBindings): ditto
3928
3929         * kbsequence.C (addkey): return a FuncRequest
3930
3931         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3932
3933         * kbmap.C (bind): take a FuncRequest as arg, adjust
3934         (read): adjust
3935         (lookup): adjust
3936         (defkey): change to take a FuncRequest as arg, adjust
3937         (findbinding): take a FuncRequest as arg, adjust.
3938
3939         * funcrequest.h (operator=): added
3940
3941         * funcrequest.C (FuncRequest): default kb_action changed from
3942         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3943
3944         * buffer.C (dispatch): simplify
3945         (dispatch): adjust to take a FuncRequest as arg, adjust
3946
3947         * boost.C (assertion_failed): change assertion message slightly
3948
3949         * ToolbarBackend.C (read): simplify
3950
3951         * MenuBackend.C (binding): adjust call to findbinding, add a
3952         message if no binding is found.
3953         (read): simplify
3954         (expandToc): correct by adding a empty FuncRequest
3955
3956         * LyXAction.C: include <boost/assert.hpp>
3957         (isPseudoAction): delete function
3958         (LookupFunc): change name to...
3959         (lookupFunc): this. change return type to FuncRequest.
3960         (getActionName): take kb_action as arg, simplify
3961         (funcHasFlag): add an assert, simplify.
3962
3963 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * toc.C (action): return a FuncRequest, simplify
3966
3967         * lyxfunc.C (processKeySym): adjust
3968         (getStatus): delete version that takes an int.
3969         (getStatus): adjust
3970         (dispatch): delete version that takes action as int
3971         (dispatch): adjust
3972         (sendDispatchMessage): simplify and adjust
3973
3974         * funcrequest.C (getArg): take unsigned int as arg
3975
3976         * ToolbarBackend.C (read): adjust
3977         (add): delete version that takes func as a string.
3978         (getIton): take a FuncRequest as arg
3979
3980         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3981         action.
3982
3983         * MenuBackend.C (MenuItem): add a new construct that only takes a
3984         Kind, simplify the constructor use for submenus.
3985         (add): adjust
3986         (expandLastfiles): adjust
3987         (expandDocuments): adjust
3988         (expandFormats): adjust
3989         (expandFloatListInsert): adjust
3990         (expandFloatInsert): adjust
3991         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3992
3993         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3994         Remove class variables lyx_pseudo_map and lyx_arg_map
3995
3996         * LyXAction.C (searchActionArg): delete function
3997         (getPseudoAction): delete function
3998         (retrieveActionArg): delete function
3999         (LookupFunc): make it return kb_action, simplify.
4000         (getActionName): simplify
4001
4002         * factory.C (createInset): fix new bug
4003
4004 2003-09-19  Angus Leeming  <leeming@lyx.org>
4005
4006         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4007         masterFilename_ parameter in the include inset.
4008
4009         * factory.C (createInset): changes due to the changes to InsetInclude.
4010
4011 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4012
4013         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4014
4015 2003-09-18  Angus Leeming  <leeming@lyx.org>
4016
4017         * buffer.C:
4018         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4019         Inset::fillWithBibKeys.
4020         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4021
4022 2003-09-18  Angus Leeming  <leeming@lyx.org>
4023
4024         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4025         variables.
4026         (ctor): pass and store a 'Buffer const &'
4027         (buffer): new member function.
4028
4029         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4030         '*this' to the LaTeXFeatures ctor.
4031
4032 2003-09-18  Angus Leeming  <leeming@lyx.org>
4033
4034         * LColor.h:
4035         * lyxfont.C:
4036         * lyxfont.h:
4037         * lyxtext.h:
4038         * text.C: rename EnumLColor as LColor_color.
4039
4040 2003-09-18  Angus Leeming  <leeming@lyx.org>
4041
4042         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4043         remove #include "insets/insetbase.h" from cursor.h.
4044
4045 2003-09-18  Angus Leeming  <leeming@lyx.org>
4046
4047         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4048         InsetOld_code to remove #include "inset.h".
4049
4050         * iterators.C: add #include "insets/inset.h"
4051
4052 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4053
4054         * BufferView.C: remove more locking stuff that apparently doesn't
4055         do anything sensible.
4056
4057 2003-09-16  André Pönitz  <poenitz@gmx.net>
4058
4059         * paragraph.[Ch]:
4060         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4061           performance boost.
4062
4063 2003-09-16  Angus Leeming  <leeming@lyx.org>
4064
4065         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4066
4067         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4068         arg/return type.
4069
4070         * paragraph.h: remove #include "lyxfont.h". Forward declare
4071         LyXFont_size.
4072
4073 2003-09-16  Angus Leeming  <leeming@lyx.org>
4074
4075         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4076         of support/textutils.h.
4077         (isWord): move the contents of support/textutils.h's IsWordChar here.
4078
4079         * buffer.C:
4080         * lyxfind.C:
4081         * rowpainter.C:
4082         * text.C:
4083         * text2.C: add #include "paragraph.h".
4084
4085         * rowpainter.C:
4086         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4087
4088 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4089
4090         * main.C:
4091         * lyx_main.C:
4092         * lyx_cb.C:
4093         * buffer.C:
4094         * LaTeX.C: use namespace alias for lyx::support::os
4095
4096 2003-09-16  Angus Leeming  <leeming@lyx.org>
4097
4098         * bufferparams.C:
4099         * bufferview_funcs.C:
4100         * factory.C:
4101         * lyxfunc.C:
4102         * paragraph_pimpl.C:
4103         * rowpainter.C:
4104         * text.C: add #include "LColor.h".
4105
4106 2003-09-16  Angus Leeming  <leeming@lyx.org>
4107
4108         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4109         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4110         return LyXFont &.
4111         Store the FontBits::color variable as an int rather than as an
4112         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4113         file.
4114
4115         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4116         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4117         string calls together.
4118
4119         * lyxrc.C: add #include "LColor.h".
4120
4121 2003-09-15  Angus Leeming  <leeming@lyx.org>
4122
4123         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4124         a cow_ptr.
4125
4126 2003-09-15  Angus Leeming  <leeming@lyx.org>
4127
4128         * LColor.h: add an EnumLColor wrapper for LColor::color.
4129
4130         * lyxfont.[Ch] (color, setColor, realColor):
4131         * lyxtext.h, text.C (backgroundColor):
4132         pass EnumLColor args to/from the functions, rather than LColor::color
4133         ones.
4134
4135         * lyxfont.h:
4136         * lyxtext.h: forward declare EnumLColor.
4137
4138         * lyx_main.C: add #include "LColor.h".
4139
4140 2003-09-15  Angus Leeming  <leeming@lyx.org>
4141
4142         * .cvsignore: add lyx-gtk.
4143
4144 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * Chktex.C
4147         * LaTeX.C
4148         * LaTeXFeatures.C
4149         * ParagraphParameters.C
4150         * Spacing.C
4151         * buffer.C
4152         * bufferparams.C
4153         * bufferview_funcs.C
4154         * chset.C
4155         * counters.C
4156         * funcrequest.C
4157         * lyxfont.C
4158         * lyxgluelength.C
4159         * lyxlength.C
4160         * paragraph.C
4161         * paragraph_funcs.C
4162         * text3.C
4163         * vc-backend.C: remove usage of STRCONV
4164
4165 2003-09-15  Angus Leeming  <leeming@lyx.org>
4166
4167         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4168         explicitly define the color passed to the painter.
4169
4170 2003-09-15  Angus Leeming  <leeming@lyx.org>
4171
4172         * bufferparams.C (BufferParams): reorder member initializers to avoid
4173         compiler warning.
4174
4175 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4178         * text.C (updateRowPositions): remove an unusual nop
4179
4180 2003-09-12  André Pönitz  <poenitz@gmx.net>
4181
4182         * BufferView_pimpl.C:
4183         * Bullet.C:
4184         * layout.h:
4185         * lyxfunc.C:
4186         * lyxlayout.[Ch]:
4187         * lyxtextclass.C:
4188         * rowpainter.C:
4189         * text.C:
4190         * text2.C:
4191         * Counters.[Ch]: finish the 'automatic counters' job
4192
4193 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4194
4195         * aspell.C: include <boost/assert.cpp> (compile fix)
4196
4197 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4198
4199         * boost.C (assertion_failed): use lyx::support::abort instead of
4200         assert.
4201
4202 2003-09-10  Angus Leeming  <leeming@lyx.org>
4203
4204         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4205         with their _fwd progeny.
4206
4207 2003-09-09  Angus Leeming  <leeming@lyx.org>
4208
4209         134 files throughtout the source tree: replace 'using namespace abc;'
4210         directives with the appropriate 'using abc::xyz;' declarations.
4211
4212 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4213
4214         * boost.C (emergencyCleanup): moved here from LAssert.c
4215         (assertion_failed): new function, called by BOOST_ASSERT
4216
4217         * several files: change Assert to BOOST_ASSERT
4218
4219 2003-09-09  Angus Leeming  <leeming@lyx.org>
4220
4221         * buffer.[Ch]: Add an Impl class and move Buffer's member
4222         variables into it. As a result move several header files out of
4223         buffer.h.
4224
4225         Add header files to lots of .C files all over the tree as a result.
4226
4227 2003-09-09  Angus Leeming  <leeming@lyx.org>
4228
4229         * buffer.[Ch]: make Buffer's member variables private. Add
4230         accessor functions.
4231
4232         Lots of changes all over the tree as a result.
4233
4234 2003-09-08  Angus Leeming  <leeming@lyx.org>
4235
4236         * graph.C: #include <config.h>.
4237
4238 2003-09-08  Angus Leeming  <leeming@lyx.org>
4239
4240         * BranchList.C:
4241         * BufferView.C:
4242         * BufferView_pimpl.C:
4243         * CutAndPaste.C:
4244         * DepTable.C:
4245         * LaTeX.C:
4246         * LaTeXFeatures.C:
4247         * LyXAction.C:
4248         * MenuBackend.C:
4249         * TextCache.C:
4250         * aspell.C:
4251         * buffer.C:
4252         * bufferlist.C:
4253         * changes.C:
4254         * chset.C:
4255         * converter.C:
4256         * counters.C:
4257         * debug.C:
4258         * graph.C:
4259         * ispell.C:
4260         * lyx_cb.C:
4261         * lyxfind.C:
4262         * lyxfunc.C:
4263         * lyxlex_pimpl.C:
4264         * lyxrc.C:
4265         * lyxrow.C:
4266         * paragraph.C:
4267         * rowpainter.C:
4268         * texrow.C:
4269         * text.C:
4270         * text2.C:
4271         * toc.C: remove redundant using directives.
4272
4273 2003-09-07  Angus Leeming  <leeming@lyx.org>
4274
4275         * LaTeXFeatures.h: remove #include "support/types.h".
4276         * ToolbarBackend.h: remove #include <algorithm>.
4277         * changes.h: remove #include <ctime>.
4278         * debug.h: remove #include <iosfwd>.
4279         * graph.h: remove #include "support/std_string.h".
4280         * lyx_main.h: remove #include <csignal>.
4281         * lyxlex_pimpl.h: remove #include <fstream>.
4282         * sgml.h: remove #include <algorithm>, <utility>.
4283         * toc.h: remove #include "support/std_ostream.h".
4284         Add #include <iosfwd>.
4285
4286 2003-09-07  Angus Leeming  <leeming@lyx.org>
4287
4288         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4289
4290         * converter.h: forward declare LatexRunParams.
4291         * encoding.h: remove #include "lyxrc.h".
4292         * lyxtext.h: remove #include "LColor.h".
4293         * lyxtextclass.h: remove #include "support/types.h".
4294         * trans.h: remove #include "tex-accent.h".
4295         * trans_mgr.h: remove #include "tex-accent.h".
4296         * insets/inset.h: remove #include "support/types.h", <vector>.
4297         * insets/insetcollapsable.h: remove #include "LColor.h".
4298         * insets/insetinclude.h: remove #include "dimension.h".
4299         * insets/insetlatexaccent.h: remove #include "dimension.h".
4300         * insets/insetoptarg.h:: remove #include "insettext.h".
4301         * insets/insettext.h: remove #include "dimension.h",
4302         <boost/shared_ptr.hpp>
4303
4304         * insets/renderers.h: add #include "dimension.h".
4305         * insets/updatableinset.h: add #include "support/types.h".
4306
4307         * many .C files: Associated changes.
4308
4309 2003-09-06  Angus Leeming  <leeming@lyx.org>
4310
4311         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4312         one, inside testInvariant.
4313
4314         * PrinterParams.C: new file.
4315         * PrinterParams.[Ch]: move the function bodies out of line.
4316
4317 2003-09-06  Angus Leeming  <leeming@lyx.org>
4318
4319         * ParagraphParameters.h: forward declare ParameterStruct rather than
4320         including its header file.
4321         (depth): moved out-of-line.
4322
4323 2003-09-06  Angus Leeming  <leeming@lyx.org>
4324
4325         * BufferView_pimpl.h:
4326         * kbmap.h:
4327         * kbsequence.h:
4328         * lyxfunc.h: forward declare LyXKeySym rather than
4329         #include "frontends/LyXKeySym.h".
4330
4331         * BufferView_pimpl.C:
4332         * kbmap.C:
4333         * kbsequence.C:
4334         * lyxfunc.C: associated changes.
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         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4344         As a result, can remove the #include "insets/inset.h" from BufferView.h
4345
4346 2003-09-06  Angus Leeming  <leeming@lyx.org>
4347
4348         * buffer_funcs.C:
4349         * buffer.h:
4350         * bufferlist.C:
4351         * BufferView.C:
4352         * bufferview_funcs.C:
4353         * BufferView_pimpl.C:
4354         * CutAndPaste.C:
4355         * lyx_cb.C:
4356         * lyxfunc.C:
4357         * paragraph.h:
4358         * ParagraphParameters.C:
4359         * tabular.C:
4360         * text3.C:
4361         * toc.C:
4362         * undo_funcs.C:
4363         * frontends/controllers/ControlDocument.C:
4364         * insets/insetcaption.C: rearrange the #includes into some sort of
4365         coherent order.
4366
4367         * buffer.h: remove #includes ErrorList.h, undo.h
4368
4369 2003-09-06  Angus Leeming  <leeming@lyx.org>
4370
4371         * support/types.h: add a 'depth_type' typedef, used to store the
4372         nesting depth of a paragraph.
4373
4374         * paragraph.h:
4375         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4376         defining explicitly.
4377
4378         * buffer.h:
4379         * paragraph_funcs.h:
4380         * ParagraphParameters.h:
4381         * sgml.h: use lyx::depth_type rather than Paragraph or
4382         ParameterStruct's depth_type.
4383
4384         * buffer.h
4385         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4386
4387         * BufferView.C:
4388         * BufferView_pimpl.C:
4389         * CutAndPaste.C:
4390         * ParagraphParameters.C:
4391         * buffer_funcs.C:
4392         * bufferlist.C:
4393         * bufferview_funcs.C:
4394         * lyx_cb.C:
4395         * lyxfunc.C:
4396         * tabular.C:
4397         * text3.C:
4398         * toc.C:
4399         * undo_funcs.C:
4400         * frontends/LyXView.C:
4401         * frontends/controllers/ControlDocument.C:
4402         * frontends/controllers/ControlErrorList.C:
4403         * insets/insetbibitem.C:
4404         * insets/insetbranch.C:
4405         * insets/insetcaption.C:
4406         * insets/insetcollapsable.C:
4407         * insets/insetenv.C:
4408         * insets/insetert.C:
4409         * insets/insetfloat.C:
4410         * insets/insetfoot.C:
4411         * insets/insetfootlike.C:
4412         * insets/insetnewline.C:
4413         * insets/insetquotes.C:
4414         * insets/insettabular.C:
4415         * insets/insettext.C:
4416         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4417
4418         * frontends/controllers/ControlChanges.C: #include "changes.h".
4419
4420 2003-09-06  Angus Leeming  <leeming@lyx.org>
4421
4422         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4423         than #including paragraph.h.
4424
4425         * ParagraphList.h:
4426         * RowList.h: deleted. Superfluous.
4427
4428         * CutAndPaste.h:
4429         * iterators.h:
4430         * lyxcursor.h:
4431         * lyxtext.h:
4432         * text_funcs.h:
4433         * undo.h:
4434         * undo_funcs.h:
4435         * insets/inset.h:
4436         * insets/insettext.h: use ParagraphList_fwd.h rather than
4437         ParagraphList.h.
4438
4439         * paragraph.h: don't forward declare ParagraphList.
4440
4441         * buffer.h:
4442         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4443         rather than ParagraphList.h. paragraph.h is still needed for the
4444         Paragraph::depth_type parameters.
4445
4446         * textcursor.h: enable it to compile stand-alone in light of the
4447         above changes.
4448
4449         * bufferview_funcs.C:
4450         * iterators.C:
4451         * lyxfunc.C:
4452         * lyxrow_funcs.C:
4453         * paragraph.C:
4454         * rowpainter.C:
4455         * text.C:
4456         * text2.C:
4457         * text3.C:
4458         * text_funcs.C:
4459         * textcursor.C:
4460         * undo.C:
4461         * frontends/controllers/ControlParagraph.C:
4462         * frontends/controllers/ControlTabular.C:
4463         * insets/insetmarginal.C:
4464         * insets/insetminipage.C:
4465         * insets/insetnote.C:
4466         * insets/insetoptarg.C: add header files needed to compile again.
4467
4468 2003-09-06  Angus Leeming  <leeming@lyx.org>
4469
4470         * RowList_fwd.h: new file, forward-declaring Row rather than
4471         #including lyxrow.h.
4472
4473         * lyxrow_funcs.h:
4474         * lyxtext.h:
4475         * paragraph.h:
4476         * insets/insettext.h: use it instead of RowList.h
4477
4478         * bufferview_funcs.C:
4479         * lyxfunc.C:
4480         * lyxrow_funcs.C:
4481         * paragraph.C:
4482         * rowpainter.C:
4483         * text.C:
4484         * text2.C:
4485         * text3.C: #include "RowList.h".
4486
4487 2003-09-05  Angus Leeming  <leeming@lyx.org>
4488
4489         * factory.C (createInset):
4490         * vspace.C (c-tor): replace sscanf call with an istringstream.
4491         * ispell.C: re-add missing HP/UX headers.
4492         * lyxserver.C: re-add missing  os2 headers.
4493
4494 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * BranchList.C:
4497         * graph.C:
4498         * ispell.C:
4499         * lastfiles.C:
4500         * lyx_cb.C:
4501         * lyxserver.C:
4502         * texrow.C:
4503         * text3.C: re-add missing system headers, needed for 2.95.2.
4504
4505 2003-09-05  Angus Leeming  <leeming@lyx.org>
4506
4507         Changes most place everywhere due to the removal of using directives
4508         from support/std_sstream.h.
4509
4510 2003-09-05  Angus Leeming  <leeming@lyx.org>
4511
4512         Replace LString.h with support/std_string.h,
4513         Lsstream.h with support/std_sstream.h,
4514         support/LIstream.h with support/std_istream.h,
4515         support/LOstream.h with support/std_ostream.h.
4516
4517         Changes resulting throughout the tree.
4518
4519 2003-09-05  Angus Leeming  <leeming@lyx.org>
4520
4521         * sgml.h: ensure that the header file can be compiled stand-alone.
4522         * *.C: strip out redundant #includes. (320 in total.)
4523
4524 2003-09-04  Angus Leeming  <leeming@lyx.org>
4525
4526         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4527         here (from getPackages).
4528
4529         * debug.[Ch]: add a new EXTERNAL tag.
4530
4531 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4532
4533         * text2.C (cursorEnd): simplify
4534         (setCursor): adjust
4535         (getColumnNearX): adjust
4536
4537         * text.C (computeBidiTables): adjust
4538         (fill): adjust
4539
4540         * rowpainter.C (paintChars): adjust
4541         (paintSelection): adjust
4542         (paintChangeBar): adjust
4543         (paintText): adjust
4544
4545         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4546         lastPos instead.
4547         (numberOfSeparators): adjust
4548
4549 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4550
4551         * LyXAction.C:
4552         * box.[Ch]:
4553         * lfuns.h:
4554         * lyxfunc.C:
4555         * text3.C: Restricts the mouse click functionality
4556         of insets like bibtex, include, toc and floatlist to the visible
4557         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4558         up the dialogs. Cursor has to be in front of the inset (i.e.
4559         start of row) for this to function.
4560
4561 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4562
4563         * bufferview_funcs.C (currentState): output row information
4564
4565 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4566
4567         * bufferview_funcs.C (currentState): output paragraph position
4568
4569 2003-09-04  Angus Leeming  <leeming@lyx.org>
4570
4571         * FloatList.h: move out #include "Floating.h".
4572         * LaTeX.h: move out #include "DepTable.h".
4573         * LyXAction.h: move out #include "funcrequest.h".
4574         * buffer.h: move out #include "author.h", "iterators.h".
4575         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4576         * lyx_main.h: move out #include "errorlist.h".
4577         * lyxfunc.h: move out #include "FuncStatus.h".
4578         * lyxtext: move out #include "lyxcursor.h".
4579         * paragraph_pimpl.h: move out #include "counters.h".
4580
4581 2003-09-03  Angus Leeming  <leeming@lyx.org>
4582
4583         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4584         preamble_snippets list, enabling us to add snippets to the preamble
4585         only if the snippet was not there already.
4586
4587 2003-09-04  Angus Leeming  <leeming@lyx.org>
4588
4589         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4590
4591 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4594         update
4595
4596 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4597
4598         * BranchList.C: point fix, earlier forgotten
4599
4600 2003-09-02  Angus Leeming  <leeming@lyx.org>
4601
4602         * box.C (contains): renamed from 'contained' after a fantastic
4603         amount of hot air.
4604
4605 2003-09-02  John Levon  <levon@movementarian.org>
4606
4607         * BufferView.C:
4608         * lyxcursor.h:
4609         * lyxcursor.C:
4610         * lyxfunc.C:
4611         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4612
4613 2003-09-02  John Levon  <levon@movementarian.org>
4614
4615         * text2.C: simplification of cursorEnd(), including partial
4616         fix for bug 1376
4617
4618 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * buffer.C (readFile): add a space
4621
4622 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4623
4624         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4625
4626 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4627
4628         * buffer.C (readFile): new function, take a filename and a
4629         ParagraphList::iterator
4630         (readFile): adjust
4631         (readFile): adjust, make it private. don't use setStream, make
4632         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4633         always contain the filename.
4634
4635         * BufferView.C (insertLyXFile): simplify and make it work for
4636         gzipped files.
4637
4638 2003-08-30  John Levon  <levon@movementarian.org>
4639
4640         * Makefile.am: fix dist (from Kayvan)
4641
4642 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4643
4644         * most files: change to use const Buffer refs
4645
4646 2003-08-27  André Pönitz  <poenitz@gmx.net>
4647
4648         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4649         on top of ownerPar().
4650
4651 2003-08-27  John Levon  <levon@movementarian.org>
4652
4653         * funcrequest.C: properly initialise POD members
4654
4655 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4656
4657         * lyxtext.h (top_y): move top_y from here
4658         * text.C:
4659         * text2.C:
4660         * text3.C:
4661         * BufferView.[Ch]:
4662         * BufferView_pimpl.[Ch]: to here
4663         * frontends/screen.C:
4664         * insets/insettabular.C:
4665         * insets/insettext.C: adjust
4666         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4667
4668 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4669
4670         * BufferView.[Ch]:
4671         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4672
4673 2003-08-26  André Pönitz  <poenitz@gmx.net>
4674
4675         * paragraph_func.[Ch] (outerPar): new function
4676
4677         * paragraph.C:
4678         * paragraph_funcs.C:
4679         * paragraph_funcs.h:
4680         * paragraph_pimpl.C:
4681         * text2.C: remove Inset::par_owner
4682
4683 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4684
4685         * lyxrow_funcs.C:
4686         * lyxtext.h:
4687         * text.C:
4688         * text2.C: eliminates the needFullRow/display() stuff
4689         altogether, putting the logic in metrics/draw in the insets.
4690
4691 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4692
4693         * text2.C (redoParagraphInternal, redoParagraphs):
4694         * text.C (redoParagraph): add a call to updateRowPositions at the
4695         end of each 'metrics-like' call. Remove all others.
4696         (getRow): remove the 'y-computing' version.
4697         (getRowNearY): do not compute nor return the real y. Solve the
4698         'y < 0' problem and simplify.
4699
4700 2003-08-22  Angus Leeming  <leeming@lyx.org>
4701
4702         * *.[Ch]: clean-up of licence and author blurbs.
4703         Also move config.h out of a few .h files and into a few .C files.
4704
4705 2003-08-22  André Pönitz  <poenitz@gmx.net>
4706
4707         * lyxrow.[Ch]: add x_ and *fill_ members
4708
4709         * lyxtext.h:
4710         * text.C:
4711         * rowpainter.C:
4712         * text2.C: adjust/remove prepareToPrint() calls
4713
4714 2003-08-22  André Pönitz  <poenitz@gmx.net>
4715
4716         * lyxrow.[Ch]: add  end_ member
4717
4718         * lyxrow_funcs.C: use LyXRow::end_
4719
4720         * lyxtext.h (singleWidth): add LyXFont parameter
4721
4722         * rowpainter.C:
4723         * text2.C: adjust LyXText::singleWidth() calls
4724
4725         * text.C (redoParagraph): simplify row breaking logic
4726
4727
4728 2003-08-19  André Pönitz  <poenitz@gmx.net>
4729
4730         * funcrequest.C: initialize button_ member
4731
4732         * text3.C:
4733         * rowpainter.[Ch]: interface consolidation
4734
4735 2003-08-18  André Pönitz  <poenitz@gmx.net>
4736
4737         * BufferView.C:
4738         * BufferView_pimpl.C:
4739         * lyxfind.C:
4740         * paragraph_funcs.C:
4741         * rowpainter.C:
4742         * text3.C: remove LyXScreen::draw() and fitCursor calls
4743
4744         * BranchList.h: remove spurious semicolons
4745
4746         * MenuBackend.C: fix branchlist related crash
4747
4748 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4749
4750         * BranchList.[Ch]:
4751         * InsetList.[Ch]:
4752         * LColor.[Ch]:
4753         * LyXAction.C:
4754         * Makefile.am:
4755         * MenuBackend.[Ch]:
4756         * bufferparams.[Ch]:
4757         * factory.C:
4758         * lfuns.h:
4759         * lyxfunc.C:
4760         * text3.C: implements the 'branch inset'
4761         idea. This allows the output of various versions of a document
4762         from a single source version, selectively outputing or suppressing
4763         output of parts of the text.
4764         This implementation contains a 'branch list editor' in a separate
4765         tab of the document settings dialog. Branches are user definable
4766         and have a "display colour" to distinguish them on-screen.
4767
4768         ColorHandler was somewhat cleaned up.
4769         (1) make possible a dynamically growing LColor list by allowing
4770         the graphic context cache to grow along (vector);
4771         (2) eliminate an IMHO unnecessary step in colour allocation.
4772
4773 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4774
4775         * BufferView_pimpl.C: compile fix
4776
4777 2003-08-15  André Pönitz  <poenitz@gmx.net>
4778
4779         * rowpainter.C: remove extra metrics calls
4780
4781         * lyxtext.h: merge the two constructors into a single one,
4782           pass reference to owner's par list
4783
4784         * BufferView_pimpl.C:
4785         * text.C:
4786         * text2.C: adjust
4787
4788 2003-08-15  André Pönitz  <poenitz@gmx.net>
4789
4790         * lyxrow_funcs.[Ch]:
4791         * lyxtext.h:
4792         * paragraph.h:
4793         * paragraph_funcs.C:
4794         * rowpainter.C:
4795         * text.C:
4796         * text2.C:
4797         * text3.C:
4798         * text_funcs.C: split LyXText::rowlist_ into individual
4799         Paragraph::rows_ chunks
4800
4801         * BufferView.[Ch]:
4802         * BufferView_pimpl.[Ch]:
4803         * lyxfind.C:
4804         * lyxtext.h:
4805         * text3.C: remove toggleSelection()
4806
4807 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4808
4809         * bufferlist.C: beautify two alerts (shorter text of buttons)
4810         * buffer.C: Remove redundant ' ' from message
4811         * tabular.h:
4812         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4813         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4814         rename VALIGN_CENTER to VALIGN_MIDDLE
4815
4816 2003-08-11  André Pönitz  <poenitz@gmx.net>
4817
4818         * lyxtext.h (getPar):
4819         * text.C: new function
4820
4821 2003-08-11  André Pönitz  <poenitz@gmx.net>
4822
4823         * Makefile.am:
4824         * tracer.[Ch]: remove unneeded files
4825
4826         * InsetList.[Ch]: remove resizeInsetsLyXText()
4827
4828         * lyxtext.h:
4829         * text.C:
4830         * text2.C:
4831         * text3.C: merge insertParagraphs() and appendParagraph()
4832         remove breakAgain(), update()
4833
4834         * BufferView_pimpl.[Ch]:
4835         * bufferview_funcs.[Ch]:
4836         * lyxfunc.C:
4837         * paragraph.[Ch]:
4838         * rowpainter.C:
4839         * tabular.C: adjust after text & InsetList changes.
4840
4841 2003-08-08  André Pönitz  <poenitz@gmx.net>
4842
4843         * text.C (insertChar, backspace): replace rowlist fiddling
4844         with rebreak of full par
4845
4846         * lyxtext.h:
4847         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4848         checkParagraph, updateInset): removed
4849
4850 2003-08-07  André Pönitz  <poenitz@gmx.net>
4851
4852         * paragraph.C:
4853         * text3.C: merge some LFUN handlers, remove dead code
4854
4855 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4856
4857         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4858
4859 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4860
4861         * text2.C (DEPM): fix part of bug 1255 and 1256
4862
4863 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4864
4865         * BufferView_pimpl.C (workAreaDispatch): change to use
4866         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4867         that are no mouse related.
4868
4869 2003-08-05  André Pönitz  <poenitz@gmx.net>
4870
4871         * BufferView.[Ch]:
4872         * BufferView_pimpl.[Ch]:
4873         * bufferview_funcs.C:
4874         * text2.C:
4875         * text3.C: rip out "deep update"
4876
4877         * textcursor.[Ch] (last_sel_cursor): remove unused member
4878
4879 2003-08-04  André Pönitz  <poenitz@gmx.net>
4880
4881         * BufferView.[Ch]:
4882         * BufferView_pimpl.[Ch]:
4883         * ParagraphParameters.C:
4884         * bufferview_funcs.C:
4885         * lyx_cb.C:
4886         * lyxfind.C:
4887         * lyxfunc.C:
4888         * text.C:
4889         * text2.C:
4890         * text3.C: replace "complicated" BufferView::update(...) calls with
4891         simpler ones.
4892
4893         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4894
4895 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4896
4897         * Makefile.am (lyx_SOURCES): add paper.h
4898
4899 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4900
4901         * Makefile.am: move things around so that both lyx-qt and
4902         lyx-xforms can be built (according to --with-frontend). Then lyx
4903         is a symbolic link to lyx-[firstfrontend]
4904
4905 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4906
4907         * Always use std::endl with lyxerr
4908
4909 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4910
4911         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4912
4913 2003-08-01  André Pönitz  <poenitz@gmx.net>
4914
4915         * BufferView.[Ch]:
4916         * BufferView_pimpl.[Ch]:
4917         * lyxfunc.C:
4918         * text3.C: merge BufferView::repaint() and BufferView::update()
4919
4920 2003-08-01  José Matos  <jamatos@lyx.org>
4921
4922         * buffer.[Ch]: file_format is no longer a buffer data element.
4923
4924 2003-08-01  André Pönitz  <poenitz@gmx.net>
4925
4926         * BufferView.C:
4927         * lyxtext.h:
4928         * text.C:
4929         * text2.C: make redoParagraph more independent of current cursor
4930
4931         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4932         * text.C:
4933         * text2.C: remove unneeded members
4934
4935 2003-07-30  André Pönitz  <poenitz@gmx.net>
4936
4937         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4938
4939         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4940           create a single function...
4941
4942         * paragraph_funcs.C (moveItem): ... here.
4943
4944         * text.C:
4945           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4946
4947 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4948
4949         * LColor.[Ch]: Add comment and greyedout logical colors.
4950
4951 2003-07-30  André Pönitz  <poenitz@gmx.net>
4952
4953         * tabular.C: don't use Assert too heavily. This crashes where it
4954           shouldn't
4955
4956 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4957
4958         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4959         is disabled (bug 1232)
4960
4961 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4962
4963         * factory.C: limited 'arg' scope
4964
4965 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4966
4967         * factory.C: fixed Note submenu issues
4968
4969 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4970
4971         * factory.C: submenu for Note/Comment/Greyedout
4972
4973 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * lyx_main.C (LyX):
4976         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4977
4978 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4979
4980         * LaTeXFeatures.C:
4981         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4982         greyedout. Patch provided by Jürgen Spitzmüller.
4983
4984 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4985
4986         * kbmap.C (read): fix error message when reading bind files
4987
4988 2003-07-29  Angus Leeming  <leeming@lyx.org>
4989
4990         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4991         certainly does not do what it purports to do. I am doing it, and
4992         us, a favour by killing it.
4993
4994 2003-07-28  José Matos  <jamatos@lyx.org>
4995
4996         * buffer.C (readBody, do_writeFile):
4997         * paragraph.C(readParagraph): \end_document replaces \the_end.
4998
4999 2003-07-29  André Pönitz  <poenitz@gmx.net>
5000
5001         * BufferView.[Ch]:
5002         * BufferView_pimpl.[Ch]:
5003         * lyxfunc.C:
5004         * text2.C:
5005         * text3.C:
5006         * textcursor.[Ch]: remove toggleToggle & Co
5007
5008 2003-07-28  José Matos  <jamatos@fep.up.pt>
5009
5010         * buffer.C (readParagraph):
5011         * params_func (readParToken, readParagraph):
5012         * paragraph.C (write): \layout -> \begin_layout.
5013
5014 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * lyxlex_pimpl.C (setFile): clean up slightly.
5017
5018         * bufferparams.h: add compressed var
5019
5020         * buffer_funcs.C (readFile): adjust for LyXLex change
5021         (newFile): ditto + simplify
5022
5023         * buffer.C (writeFile): handle writing of compressed files
5024
5025         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5026         Check if the file is compressed and set a bufferparm if so.
5027
5028         * Makefile.am (lyx_LDADD): remove explicit -lz
5029
5030 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5031
5032         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5033         makeDocBookFile): put the real LyX version in the first line of
5034         the file
5035
5036         * version.h:
5037         * version.C.in: remove lyx_docversion
5038
5039         * tabular.C (write_attribute): add a template-based version to
5040         write enums properly
5041
5042 2003-07-28  André Pönitz  <poenitz@gmx.net>
5043
5044         * lyxtext.h:
5045         * text.C:
5046         * text2.C:
5047         * text3.C: use doubles again for x-coordinates. They are needed.
5048
5049 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5050
5051         * messages.C (getLocaleDir): use lyx_localedir()
5052
5053         * lyxlex_pimpl.C (setFile): compress stuff
5054
5055         * buffer.C (writeFile): add some compression stuff
5056         (do_writeFile): new func, dont call expliti close... will this
5057         breake anything?
5058
5059         * Makefile.am (lyx_LDADD): add -lz
5060
5061 2003-07-28  José Matos  <jamatos@fep.up.pt>
5062
5063         * buffer.C: increment file format.
5064         * paragraph_funcs (readParagraph, readParToken):
5065         * paragraph.C (readParagraph): add \end_layout.
5066
5067 2003-07-27  Angus Leeming  <leeming@lyx.org>
5068
5069         * Makefile.am: remove special casing for configure-time setting of
5070         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5071
5072         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5073         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5074
5075 2003-07-26  André Pönitz  <poenitz@gmx.net>
5076
5077         * paragraph_func.[Ch]:
5078         * paragraph.C (realizeFont): inline it whereever it is used
5079
5080         * rowpainter.C:
5081         * text.C:
5082         * text2.C:
5083         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5084
5085
5086 2003-07-26  André Pönitz  <poenitz@gmx.net>
5087
5088         *       lyxtext.h:
5089         * text.C:
5090         * text2.C: get rid of LyXText::need_break_row
5091
5092 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * toc.[Ch]: put namespace toc inside namespace lyx
5095
5096         * MenuBackend.C (expandToc2): adjust for lyx::toc
5097         (expandToc): ditto
5098
5099         * lyxfunc.C (dispatch): adjust for lyx::find
5100
5101         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5102         lyx::find instead. Reorganize a bit.
5103         (LyXReplace): rename to replace
5104         (LyXFind): rename to find
5105
5106         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5107         (dispatch): ditto
5108
5109 2003-07-26  André Pönitz  <poenitz@gmx.net>
5110
5111         * text.C (setHeightOfRow): restrict scope of temporary variable
5112
5113         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5114           code (never has been used?)
5115
5116 2003-07-27  Asger Alstrup  <alstrup@local>
5117
5118         * text.C (fill): Optimise algorithm to exploit that we can reuse
5119         the LyXFont for many characters.
5120         (setHeightOfRow): Same thing.
5121         (rowBreakPoint): Same thing.
5122
5123 2003-07-26  Asger Alstrup  <alstrup@local>
5124
5125         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5126
5127         * text.C (singleWidth): Spurious font copying in hot-spot
5128         singleWidth avoided. Reorder tests for arabic for efficiency.
5129
5130         * text.C (fill): handle empty paragraphs better.
5131
5132 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5133
5134         * ispell.C:
5135         * encoding.h: add includes
5136
5137         * lyxrc.C: remove reading of bind files
5138
5139         * lyx_main.C (init): setup bindings and menus only if we have a
5140         gui.
5141
5142         * kbmap.C (read): new method. Do the actual reading of bind
5143         files.
5144
5145         * converter.C (dvipdfm_options):
5146         * bufferparams.C:
5147         * lyxrc.C (read):
5148         (output): adapt PAPER_* enums.
5149
5150         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5151
5152         * bufferparams.h: remove paper-related enums from there
5153
5154         * paper.h: New file. A trivial header file to hold paper-related
5155         enums. It should later expand to contain many paper-related
5156         horrors access.
5157
5158         * lyxrc.C: declare extern displayTranslator
5159
5160 2003-07-27  José Matos  <jamatos@fep.up.pt>
5161
5162         * tabular.[Ch] (linuxdoc): add support for tables and figures
5163         (linuxdoc).
5164
5165 2003-07-27  José Matos  <jamatos@fep.up.pt>
5166
5167         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5168         consistency in both functions.
5169         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5170
5171 2003-07-26  Asger Alstrup  <alstrup@local>
5172
5173         * rowpainter.C (paintRows): Change algorithm to work directly on
5174         the insets rather than asking every character in the document
5175         whether its an inset.
5176
5177 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5178
5179         * buffer.C (openFileWrite): factorize some code
5180
5181 2003-07-26  Angus Leeming  <leeming@lyx.org>
5182
5183         * lyx_cb.C:
5184         * lyx_main.[Ch]: replace occurances of system_tempdir with
5185         os::getTmpDir().
5186
5187 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * rename Inset to InsetOld
5190
5191 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5192
5193         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5194         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5195         which I think is a bit clearer. EDIT is gone, since it was
5196         premature optimisation, and broken for mathed anyway.
5197         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5198         with cursor positioning in insets as well (math insets still do not
5199         work, but that's a different story anyway.) It mysteriously
5200         crashes sometimes with undo in the first paragraph, but I'm fairly
5201         confident that this is a compiler bug.
5202
5203 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * paragraph.C (Paragraph): adjust for new clone return type
5206         (operator==): ditto
5207         (copyIntoMinibuffer): ditto
5208
5209 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5210
5211         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5212         by not having a special case, and always doing a full rebreak of
5213         the document after undo.
5214
5215 2003-07-23  Angus Leeming  <leeming@lyx.org>
5216
5217         * factory.C (createInset): InsetExternal::setParams now takes a
5218         Buffer const * arg.
5219
5220 2003-07-23  Angus Leeming  <leeming@lyx.org>
5221
5222         * factory.C (createInset): changed interface to the external and
5223         graphics mailers' string2params functions.
5224
5225 2003-07-23  Angus Leeming  <leeming@lyx.org>
5226
5227         * factory.C (createInset): pass a
5228         Buffer const * parameter to InsetExternalMailer's string2params.
5229
5230 2003-07-22  John Levon  <levon@movementarian.org>
5231
5232         * Thesaurus.h: include the right aiksaurus header
5233
5234 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5235
5236         * MenuBackend.C (expand): check menu shortcuts unconditionally
5237
5238 2003-07-21  Angus Leeming  <leeming@lyx.org>
5239
5240         * factory.C (createInset): pass a
5241         buffer_path parameter to InsetGraphicsMailer's string2params.
5242
5243 2003-07-21  Angus Leeming  <leeming@lyx.org>
5244
5245         * BufferView_pimpl.C (buffer):
5246         * buffer.C (d-tor):
5247         * lyx_main.C (LyX):
5248         * lyxfunc.C (dispatch):
5249         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5250         rather than the grfx shortcut.
5251
5252 2003-07-21  André Pönitz  <poenitz@gmx.net>
5253
5254         * rowpainter.C: remove unused variables
5255
5256         * tabular_funcs.C:
5257         * tabular_funcs.h: move to tabular.C
5258         * Makefile.am: adjust
5259
5260         * tabular.[Ch]: basic optical cleaning
5261
5262         * author.h: pass references, not values
5263
5264 2003-07-18  André Pönitz  <poenitz@gmx.net>
5265
5266         * lyxtext.h:
5267         * metricsinfo.C:
5268         * metricsinfo.h:
5269         * rowpainter.C:
5270         * text.C:
5271         * text2.C:
5272         * text3.C: two-phase drawing for InsetText and InsetTabular
5273         some float -> int changes.
5274
5275 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5276
5277         * lyx_main.C: fix the fix
5278
5279 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5280
5281         * lyx_main.C: fix a crash in batch mode if no files specified
5282         * converter.C: ws
5283
5284 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * format.[Ch] (papersize): moved to BufferParams
5287         * converter.[Ch] (dvips_options): moved to BufferParams
5288         (dvipdfm_options): moved to anon namespace
5289         * bufferparams.[Ch]: added above functions.
5290
5291 2003-07-17  André Pönitz  <poenitz@gmx.net>
5292
5293         * lyxtext.h:
5294         * rowpainter.C:
5295         * text2.C: don't call inset->update() anymore
5296
5297         * metricsinfo.[Ch]: add convenience constructor
5298
5299 2003-07-16  André Pönitz  <poenitz@gmx.net>
5300
5301         * lyxcursor.[Ch]:
5302         * lyxfunc.[Ch]:
5303         * text.C:
5304         * text2.C: replace the LyXCursor::irow_ member with
5305          on-demand computation of the value
5306
5307 2003-07-16  John Levon  <levon@movementarian.org>
5308
5309         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5310
5311 2003-07-15  André Pönitz  <poenitz@gmx.net>
5312
5313         * text.C:
5314         * text2.C: remove no more needed refresh_row
5315
5316 2003-07-15  André Pönitz  <poenitz@gmx.net>
5317
5318         * lyxtext.h:
5319         * rowpainter.C:
5320         * text2.C:
5321         * text3.C: refresh_status tristate -> need_update bool
5322
5323 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * lyxtext.h (init): remove reinit argument (act as if always true)
5326         * text2.C: adjust to that
5327
5328 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5329
5330         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5331         * text3.C: use it to delete selections in some cases
5332         (bugs 441, 673, 702, 954).
5333
5334 2003-07-14  André Pönitz  <poenitz@gmx.net>
5335
5336         * rowpainter.[Ch]: reduce interface
5337
5338 2003-07-14  André Pönitz  <poenitz@gmx.net>
5339
5340         * BufferView_pimpl.C:
5341         * text2.C: adjust after removing unused BufferView * argument
5342
5343 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5344
5345         * text2.C (init): fix a crash fired on resize
5346
5347 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5348
5349         * buffer.[Ch]: added new closing signal
5350         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5351         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5352         BufferView::Pimpl via the closing the signal
5353
5354 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5355
5356         * buffer.[Ch]: take out all bv-related from buffer
5357         * BufferView.C:
5358         * BufferView_pimpl.[Ch]: connect to new signals
5359         * CutAndPaste.C: removed useless asserts
5360         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5361         * lyxvc.[Ch]:
5362         * vc-backend.[Ch]:
5363         * lyxfunc.C: moved view-related funciontality from vc here
5364         * paragraph.C: removed outdated comments
5365         * text.C: ws
5366
5367 2003-07-10  André Pönitz  <poenitz@gmx.net>
5368
5369         * BufferView_pimpl.C:
5370         * tabular.h:
5371         * tabular_funcs.C:
5372         * text.C:
5373         * text2.C: remove InsetText::InnerCache, clean up consequences
5374
5375 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5376
5377         * ispell.C: fix two typos in error messages
5378
5379 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5380
5381         * Extend Note inset to other forms of annotation like Comment
5382         and Greyedout. Right button click gives dialog.
5383
5384         Files modified or added (+):
5385
5386         * insetnote.[Ch]
5387         * FormNote.[Ch]      +
5388         * ControlNote.[Ch]   +
5389         * form_note.fd       +
5390         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5391         frontends/controllers
5392         * xforms/Dialogs.C
5393         * factory.C
5394
5395 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5396
5397         * aspell.C: add missing namespace lyx::support
5398
5399 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * BufferView.[Ch] (newFile): Add
5402         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5403         * LaTeX.[Ch] (message): added this signal and use it
5404         * buffer.[Ch] (busy, message): added these signals and use them
5405         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5406         * converter.C:
5407         * exporter.C:
5408         * format.C:
5409         * importer.C: use buffer signals instead of direct bv calling
5410         * lyx_cb.[Ch] (ShowMessage): removed
5411         * lyx_main.C:
5412         * lyxfunc.C:
5413         * paragraph_funcs.C:
5414         * text2.C: use buffer signals
5415
5416 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * introduce namespace lyx::graphics
5419
5420 2003-07-02  André Pönitz  <poenitz@gmx.net>
5421
5422         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5423
5424 2003-07-01  André Pönitz  <poenitz@gmx.net>
5425
5426         * text.C:
5427         * text2.C:
5428         * text3.C:
5429         * text_funcs.[Ch]:
5430         * textcursor.h:
5431         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5432           text*.C to text_func.C
5433
5434 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * introduce namespace lyx::support
5437
5438 2003-06-30  André Pönitz  <poenitz@gmx.net>
5439
5440         * Chktex.C:
5441         * funcrequest.C:
5442         * lyxtext.h:
5443         * text.C: re-enable --with-included-string
5444
5445 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * textcursor.C: add <config.h>
5448
5449         * text.C (getWord): remove const from word_location arg
5450
5451         * lyxvc.C (getLogFile): fix const type order
5452
5453         * lyxtext.h: remove const from word_location arg, add arg name
5454
5455         * lyxlayout.h: currect type on labeltype.
5456
5457         * importer.C: correct \file
5458
5459         * converter.C (intToFormat): use std:: on ret val, ws changes
5460
5461         * bufferlist.h: correct \file
5462
5463         * buffer.C (makeLinuxDocFile): fix const type order
5464         (makeDocBookFile): ditto
5465         (fillWithBibKeys): use std:: on stdlib args.
5466
5467         * CutAndPaste.C: fix authors.
5468         (availableSelections): use std:: on return vector
5469
5470 2003-06-27  André Pönitz  <poenitz@gmx.net>
5471
5472         * BufferView_pimpl.C:
5473         * bufferview_funcs.C:
5474         * lyxcursor.C:
5475         * lyxcursor.h:
5476         * lyxfunc.C:
5477         * lyxtext.h:
5478         * rowpainter.C:
5479         * text.C:
5480         * text2.C:
5481         * text3.C: remove LyXCursor::row_ member
5482
5483         * lyxtext.h:
5484         * text.C: rename fullRebreak() to partialRebreak() and implement
5485           a fullRebreak() that really bereks fully
5486
5487         * textcursor.h: new struct for cursor-related data
5488
5489 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5490
5491         * lyx_main.C (LyX): get full path of document loaded on the
5492         command line
5493
5494 2003-06-26  André Pönitz  <poenitz@gmx.net>
5495
5496         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5497           remove unused/broken operator>,<,>=.
5498
5499         *       text.C: remove only use of broken operator<= in an Assert().
5500
5501 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5502
5503         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5504         moved errorlist_.clear to showErrorList
5505
5506 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5507
5508         * converter.C (scanLog, runLaTeX):
5509         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5510         move the bv->showErrorList call to the callers
5511         * lyxfunc.C: i.e. here...
5512         * text2.C: and here
5513         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5514         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5515         namespace, the second to...
5516         * buffer_funcs (BufferFormat, parseErrors): added
5517         * errorlist.C (ErrorList(TeXErrors const &)): removed
5518
5519 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5520
5521         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5522
5523 2003-06-24  "Garst R. Reese" <reese@isn.net>
5524
5525         * debug.C: fix typo
5526
5527 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5528
5529         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5530
5531         * version.C.in: change docversion to 1.4
5532
5533 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5534
5535         * buffer.C: fix a bug just introduced
5536
5537 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5538
5539         * buffer.[Ch]: added the parseError signal and use it, removed
5540         sgmlError
5541         * BufferView.[Ch] (addError): moved to ...
5542         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5543         to the Buffer::parseError signal to catch (guess what) parse errors
5544         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5545
5546 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5547
5548         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5549         ability to create a buffer and to return an existing one from
5550         the list. Moved these functions to...
5551         * buffer_funcs.[Ch]: added
5552         * BufferView.[Ch] (loadLyXFile): added
5553         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5554         job removed from bufferlist::loadLyXFile.
5555         * buffer.C (setReadOnly): make it work without view
5556         (i.e added an if (users))
5557
5558 2003-06-19  Angus Leeming  <leeming@lyx.org>
5559
5560         * lfuns.h:
5561         * LyXAction.C (init):
5562         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5563         with LFUN_DIALOG_SHOW <name> <data>.
5564
5565 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5566
5567         * CutAndPaste.C (availableSelections): small compilation fix for
5568         ancient (gcc 2.9x) compilers
5569
5570 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5571
5572         * text3.C (cursorNext): add tmp var
5573
5574         * text2.C (updateCounters): for function calling out of for clause
5575         (replaceSelectionWithString): ditto
5576         (insertStringAsParagraphs): ditto
5577         (getColumnNearX): add tmp var
5578         (setCursorFromCoordinates): add tmp var
5579         (cursorDownParagraph): add tmp var
5580         (deleteEmptyParagraphMechanism): add tmp var
5581
5582         * text.C (insertChar): add tmp var
5583
5584         * rowpainter.C (paintDepthBar): add tmp var
5585
5586         * CutAndPaste.C (availableSelections): potentially check all
5587         paragraphs in a cut to fill the shown strings.
5588
5589 2003-06-18  André Pönitz  <poenitz@gmx.net>
5590
5591         * kbmap.[Ch]: use vector<> instead of list<>
5592
5593 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5594
5595         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5596         pasteSelection with index
5597
5598         * text2.C (pasteSelection): modify, call pasteSelection with index
5599
5600         * paragraph.C (asString): reimplement version with no interval to
5601         call the one with interval.
5602
5603         * lyxtext.h: add index arg to pasteSelection
5604
5605         * MenuBackend.C (MenuItem): handle PasteRecent
5606         (Menu::read::Menutags): add md_pasterecent
5607         (read): handle it
5608         (expandPasteRecent): new function
5609         (expand): use it
5610
5611         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5612
5613         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5614         the limited stack
5615         (availableSelections): new function
5616
5617 2003-06-17  Angus Leeming  <leeming@lyx.org>
5618
5619         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5620
5621 2003-06-17  Angus Leeming  <leeming@lyx.org>
5622
5623         * lfuns.h:
5624         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5625
5626         * lyxfunc.C (dispatch): invoke it.
5627
5628 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5629
5630         * iterators.C (operator++, ParPosition): reintroduce some
5631         const_cast for the benefit of older compilers.
5632
5633 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5634
5635         * text3.C (dispatch): do not modify clipboard when doing
5636         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5637         LFUN_DELETE_SKIP on a selection selection
5638
5639 2003-06-16  André Pönitz  <poenitz@gmx.net>
5640
5641         * BufferView.C:
5642         * buffer.C:
5643         * buffer.h:
5644         * paragraph.C:
5645         * tabular.[Ch]: IU of clone() and getLabelList();
5646
5647 2003-06-13  André Pönitz  <poenitz@gmx.net>
5648
5649         * tabular.h: compactification
5650
5651 2003-06-12  André Pönitz  <poenitz@gmx.net>
5652
5653         * tabular.C:
5654         * tabular.h:
5655         * tabular_funcs.h: some renaming plus whitespace
5656
5657 2003-06-12  André Pönitz  <poenitz@gmx.net>
5658
5659         * BufferView.C:
5660         * BufferView_pimpl.C:
5661         * CutAndPaste.C:
5662         * buffer.C:
5663         * iterators.[Ch]:
5664         * lyxfunc.C:
5665         * text.C:
5666         * toc.C: Return a Paragraph & for ParIterator::operator*()
5667
5668 2003-06-11  John Levon  <levon@movementarian.org>
5669
5670         * lyx_main.C:
5671         * ToolbarBackend.h:
5672         * ToolbarBackend.C: add "Toolbars" section and
5673         put the flags there
5674
5675 2003-06-10  Angus Leeming  <leeming@lyx.org>
5676
5677         * lfuns.h:
5678         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5679
5680         * lyxfunc.C (dispatch): invoke it.
5681
5682 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * main.C: protect <ios> with HAVE_IOS
5685         (main): protect sync_with_stdio with HAVE_IOS
5686
5687 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5688
5689         * text2.C (cutSelection): adjust
5690         (pasteSelection): adjust
5691
5692         * messages.C: handle get of empty string
5693
5694         * main.C (main): use sync_with_stdio(false)
5695
5696         * lyxfunc.C (dispatch): adjust
5697
5698         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5699         (WriteAs): remove unneeded BufferView arg.
5700
5701         * bufferparams.h: use correct types on papersize, papersize2 and
5702         paperpackage.
5703
5704         * bufferparams.C (readToken): adjust for type
5705         (writeLaTeX): add missing cases to switch.
5706
5707         * bufferlist.C (quitWriteBuffer): adjust
5708         (close): adjust
5709
5710         * buffer.C (asciiParagraph): remove some commented code.
5711
5712         * CutAndPaste.C: remove current_view extern variable.
5713         (cutSelection): add BufferParams arg.
5714         (eraseSelection): add BufferParams arg.
5715         (pasteSelection): add Buffer const & arg
5716
5717 2003-06-07  John Levon  <levon@movementarian.org>
5718
5719         * buffer.C:
5720         * paragraph_funcs.C:
5721         * paragraph_pimpl.C:
5722         * text.C:
5723         * text2.C:
5724         * paragraph.h:
5725         * paragraph.C: allow InsetERT to freely space lines,
5726         and some consolidation of code
5727
5728 2003-06-06  José Matos  <jamatos@fep.up.pt>
5729
5730         * buffer.C (makeDocBookFile): fix bug #821
5731
5732 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5733
5734         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5735
5736 2003-06-04  Angus Leeming  <leeming@lyx.org>
5737
5738         * buffer.C: bump format to 224.
5739
5740 2003-06-05  André Pönitz  <poenitz@gmx.net>
5741
5742         * text2.C (redoParagraphs): remove two const_cast<>
5743
5744 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5745
5746         * ParagraphList.h: remove last remnants of NO_STD_LIST
5747
5748 2003-06-03  Angus Leeming  <leeming@lyx.org>
5749
5750         * factory.C (createInset): small change to the way InsetExternal's params
5751         are set.
5752
5753 2003-06-04  André Pönitz  <poenitz@gmx.net>
5754
5755         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5756
5757         * paragraph_pimpl.h:
5758         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5759
5760         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5761
5762         * undo_funcs.C: make some simple cases of undo work again
5763
5764 2003-06-03  John Levon  <levon@movementarian.org>
5765
5766         * ispell.C: HPUX doesn't have sys/select.h
5767         (from Albert Chin)
5768
5769 2003-06-03  John Levon  <levon@movementarian.org>
5770
5771         * CutAndPaste.C: update tabular and include inset
5772         buffer references
5773
5774         * buffer.h:
5775         * paragraph.h:
5776         * paragraph.C: remove owningBuffer(), don't pass Buffer
5777         to clone()
5778
5779         * factory.C: insetGraphicsParams changed
5780
5781 2003-06-02  John Levon  <levon@movementarian.org>
5782
5783         * LyXAction.C:
5784         * factory.C:
5785         * lfuns.h:
5786         * lyxfunc.C:
5787         * text3.C: remove insetparent
5788
5789 2003-06-02  John Levon  <levon@movementarian.org>
5790
5791         * buffer.h:
5792         * buffer.C: fix inset_iterator.end(), move out of line
5793         (bug 1149)
5794
5795 2003-06-01  John Levon  <levon@movementarian.org>
5796
5797         * text3.C: use a proper cut/paste when doing inset
5798         insert (from Jürgen Spitzmüller)
5799
5800 2003-06-01  John Levon  <levon@movementarian.org>
5801
5802         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5803
5804 2003-05-30  André Pönitz  <poenitz@gmx.net>
5805
5806         * rowpainter.C: unify second drawing phase
5807
5808 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5809
5810         * trans_mgr.C: remove one case of current_view
5811
5812         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5813
5814         * paragraph_funcs.h: remove paragraph.h include
5815
5816         * paragraph.h: delete NO_STD_LIST stuff
5817
5818         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5819
5820         * buffer.h: remove paragraph.h include
5821
5822         * ParagraphList.C: delete file
5823
5824         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5825
5826         * toc.C (getTocList): adjust
5827
5828         * paragraph_pimpl.C (validate): adjust
5829
5830         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5831
5832         * paragraph.C (Paragraph): adjust
5833         (getPositionOfInset): use const_iterator, adjust
5834         (bibitem): use const_iterator, adjust
5835         (setInsetOwner): adjust
5836
5837         * iterators.C (operator++): adjust
5838
5839         * InsetList.[Ch]: Replace selfmade iterator with standard
5840         vector::iterator also introduce const_iterator. Remove getPos,
5841         getInset and setInset from InsetTable. Adjust accordingly.
5842
5843         * BufferView.C (lockInset): adjust
5844         (ChangeInsets): adjust
5845
5846         * tabular.[Ch]: delete commented same_id functions
5847
5848 2003-05-28  John Levon  <levon@movementarian.org>
5849
5850         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5851
5852 2003-05-28  André Pönitz  <poenitz@gmx.net>
5853
5854         * metricsinfo.[Ch]: remove 'fullredraw' member
5855
5856 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5857
5858         * lyxtextclass.C (operator): remove caching.
5859
5860 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * text3.C: adjust
5863
5864         * text2.C (cursorBottom): adjust
5865         (setCounter): use ParagraphList::find, adjust
5866
5867         * text.C (workWidth): use ParagraphList::find, adjust
5868
5869         * lyxcursor.C (LyXCursor): adjust
5870
5871         * buffer.C (inset_iterator): adjust
5872
5873         * ParagraphList.h: make iterator(value_type) private, make
5874         ParagraphList a friend of iterator.
5875
5876         * ParagraphList.C (find): new function
5877
5878         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5879
5880 2003-05-27  André Pönitz  <poenitz@gmx.net>
5881
5882         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5883
5884 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5885
5886         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5887
5888 2003-05-26  John Levon  <levon@movementarian.org>
5889
5890         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5891
5892 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * remove same_id from function signatures, adjust.
5895
5896 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5899
5900         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5901
5902         * paragraph.C (Paragraph): get rid of same_ids parameter
5903
5904         * ParagraphList.C (insert): adjust
5905         (push_back): adjust
5906
5907 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * paragraph_funcs.C (breakParagraph): adjust
5910         (breakParagraphConservative): adjust
5911
5912         * buffer.C (readParagraph): adjust
5913
5914         * ParagraphList.C (insert): take a reference instead of a pointer
5915         (insert): adjust
5916
5917         * paragraph.[Ch] (id): new function
5918
5919         * bufferlist.C (newFile): adjust
5920
5921         * ParagraphList.C (ParagraphList): adjust
5922         (assign): adjust
5923         (push_back): take a reference instead of a pointer.
5924
5925         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5926
5927         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5928         instead.
5929
5930         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5931         set else use old code.
5932
5933         * ParagraphList.C: remove all NO_NEXT code and only compile this
5934         code of NO_STD_LIST is set.
5935
5936 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5937
5938         * BufferView_pimpl.C:
5939         * TextCache.C:
5940         * TextCache.h:
5941         * bufferlist.C:
5942         * errorlist.h:
5943         * format.C:
5944         * format.h:
5945         * graph.C:
5946         * lyxfunc.C:
5947         * lyxrc.C:
5948         * graphics/GraphicsConverter.C:
5949         * graphics/PreviewLoader.C: header adjustment
5950
5951 2003-05-23  Angus Leeming  <leeming@lyx.org>
5952
5953         * LaTeXFeatures.[Ch] (useBabel): new method.
5954         * bufferparams.C (writeLaTeX): use it.
5955
5956 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * ParagraphList.h (set): remove unused function.
5959
5960 2003-05-23  André Pönitz  <poenitz@gmx.net>
5961
5962         * BufferView.C:
5963         * BufferView_pimpl.C:
5964         * buffer.C:
5965         * buffer.h:
5966         * lyxfunc.C:
5967         * undo_funcs.C: setUndo reworked
5968
5969         * iterators.[Ch]: add access to topmost ParagraphList
5970
5971         * lyxtext.[Ch] (workWidth): add a const
5972
5973 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5974
5975         * texrow.[Ch] (increasePos): remove function
5976         * exporter.C (export): removed unused var and outdated comment
5977
5978 2003-05-23  Angus Leeming  <leeming@lyx.org>
5979
5980         * latexrunparams.h: rename fragile as moving_arg.
5981         * paragraph.C (simpleTeXOnePar): ditto.
5982         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5983
5984 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5985
5986         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5987         (createUndo): ditto
5988         (textUndoOrRedo): comment out a currently unused var.
5989
5990         * paragraph.h (NO_NEXT): enable NO_NEXT
5991
5992         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5993
5994         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5995
5996         * exporter.C (Export): adjust for removeAutoInsets removal.
5997
5998         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5999
6000         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6001
6002         * BufferView.[Ch] (removeAutoInsets): delete function
6003
6004 2003-05-22  Angus Leeming  <leeming@lyx.org>
6005
6006         * latexrunparams.h: add a free_spacing variable.
6007
6008         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6009         to pass moving_arg, as the data is stored in runparams.fragile.
6010
6011         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6012         to Inset::latexOptional or to simpleTeXOnePar.
6013
6014         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6015         free_spacing arg to Inset::latexOptional.
6016
6017         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6018         free_spacing arg.
6019
6020 2003-05-22  Angus Leeming  <leeming@lyx.org>
6021
6022         * latexrunparams.h: add fragile and use_babel variables.
6023
6024         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6025         * buffer.C (makeLaTeXFile): store this returned value in
6026         runparams.use_babel, thus passing it to the inset::latex methods.
6027
6028         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6029         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6030
6031         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6032         longer has a fragile arg, as it is stored in runparams.fragile.
6033
6034         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6035         moving_arg parameter as the data is stored in runparams.fragile.
6036
6037         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6038         a fragile parameter as the data is stored in runparams.fragile.
6039
6040 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6043
6044 2003-05-22  Angus Leeming  <leeming@lyx.org>
6045
6046         * latexrunparams.h: add a 'bool nice' which defaults to false.
6047
6048         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6049         now encapsulated within runparams.
6050
6051         * bufferlist.C (updateIncludedTeXfiles):
6052         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6053
6054 2003-05-22  Angus Leeming  <leeming@lyx.org>
6055
6056         * latexrunparams.h: new file containing struct LatexRunParams.
6057         * Makefile.am: add new file.
6058
6059         * LaTeX.[Ch] (c-tor, run):
6060         * buffer.[Ch] (makeLaTeXFile):
6061         * bufferlist.[Ch] (updateIncludedTeXfiles):
6062         * converter.C (convert, scanLog):
6063         * converter.[Ch] (runLaTeX):
6064         * exporter.C (Export):
6065         * paragraph.[Ch] (simpleTeXOnePar):
6066         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6067         * paragraph_funcs.[Ch] (latexParagraphs):
6068         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6069         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6070         pass around a LatexRunParams parameter.
6071
6072 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * paragraph.[Ch]: remove unused constructor
6075
6076         * ParagraphList.C (erase): new function, taking two iterators
6077
6078 2003-05-22  André Pönitz  <poenitz@gmx.net>
6079
6080         * undo_funcs.C: remove duplicated code
6081
6082         * iterator.[Ch]: operator=
6083
6084 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * tabular.C (SetMultiColumn): ws changes
6087
6088         * rowpainter.C (paintFirst): get rid of a ->previous
6089
6090         * lyx_cb.C (getPossibleLabel): parlist simplification
6091
6092         * BufferView.C (ChangeInsets): simplify slightly.
6093
6094 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6095
6096         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6097         * lfuns.h: new LFUN_SPACE
6098         * lyxfunc.C: protected space has a new lfun
6099         * paragraph_funcs.C: read new space insets
6100         * text3.C:
6101         * factory.C: handle new space insets
6102
6103 2003-05-22  André Pönitz  <poenitz@gmx.net>
6104
6105         * BufferView.C:
6106         * BufferView_pimpl.C:
6107         * buffer.[Ch]:
6108         * lyxfunc.C:
6109         * undo_funcs.C: return a ParIterator from getParFromID.
6110
6111         * iterators.[Ch]: add two const's
6112
6113 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * toc.C (getTocList): adjust
6116
6117         * iterators.[Ch]: rework for parlist
6118
6119         * buffer.C (par_iterator_begin): adjust
6120         (par_iterator_end): adjust
6121
6122         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6123
6124         * BufferView.C (removeAutoInsets): adjust
6125         (ChangeInsets): adjust
6126
6127 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6128
6129         * text.C (top_y): fix bug 1110
6130
6131 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6132
6133         * errorlist.[Ch]: added
6134         * buffer.C:
6135         * BufferView.[Ch]:
6136         * BufferView_pimpl.C:
6137         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6138         instead
6139
6140 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * Makefile.am: ensure that lyx is relinked upon changes to the
6143         various "convenience" libs.
6144
6145 2003-05-20  Angus Leeming  <leeming@lyx.org>
6146
6147         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6148         files are compiled in alphabetical order again.
6149
6150         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6151
6152 2003-05-19  Angus Leeming  <leeming@lyx.org>
6153
6154         * gettext.[Ch]: remove "char const * _(char const *)".
6155
6156 2003-05-19  André Pönitz  <poenitz@gmx.net>
6157
6158         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6159
6160         * Makefile.am:
6161         * BufferView.C:
6162         * DepTable.h:
6163         * LaTeXFeatures.C:
6164         * buffer.C:
6165         * lyxfont.C:
6166         * lyxlex.h:
6167         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6168
6169 2003-05-19  André Pönitz  <poenitz@gmx.net>
6170
6171         * buffer.C:
6172         * lyxlayout.[Ch]:
6173         * lyxtextclass.[Ch]:
6174         * paragraph.C:
6175         * paragraph_funcs.[Ch]:
6176         * text2.C:
6177         * text3.C: more insetenv work
6178
6179 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6180
6181         * ParagraphParameters.C (params2string): small bug fixed
6182
6183 2003-05-16  André Pönitz  <poenitz@gmx.net>
6184
6185         * debug.C:
6186         * bufferview_funcs.C: patch from Kornel Benko to prevent
6187           crash when _(...) is called twice in a statement
6188
6189 2003-05-16  André Pönitz  <poenitz@gmx.net>
6190
6191         * BufferView.C:
6192         * lyxfunc.C:
6193         * text.C:
6194         * text2.C:
6195         * text3.C:
6196         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6197
6198 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * lyx_main.C (init): remove spurious static_cast
6201
6202 2003-05-14  André Pönitz  <poenitz@gmx.net>
6203
6204         * BufferView.C: fix format string
6205
6206 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6207
6208         * BufferView.[Ch] (insertErrors): removed
6209         * BufferView.[Ch] (showErrorList): added
6210         * buffer.C (runChkTeX):
6211         * converter.C (scanLog): call showErrorList instead of inserterrors
6212
6213 2003-05-13  André Pönitz  <poenitz@gmx.net>
6214
6215         * BufferView_pimpl.C:
6216         * buffer.C:
6217         * bufferview_func.C:
6218         * MenuBackend.C:
6219         * lyxfunc.C:
6220         * lyxrc.C:
6221         * tex-accent.C:
6222         * text3.C:
6223         * toc.C:
6224         * tabular_funcs.h: tostr() from its own header
6225
6226         * ParagraphParameters.C:
6227         * ToolbarBackend.C:
6228         * bufferparams.C:
6229         * format.C:
6230         * lyxlex_pimpl.C:
6231         * text3.C: STRCONV()
6232
6233 2003-05-12  André Pönitz  <poenitz@gmx.net>
6234
6235         * BufferView.C:
6236         * BufferView_pimpl.C:
6237         * CutAndPaste.C:
6238         * LaTeX.C:
6239         * LaTeXFeatures.C:
6240         * ParagraphParameters.C:
6241         * buffer.C:
6242         * bufferlist.C:
6243         * bufferparams.C:
6244         * bufferview_funcs.C:
6245         * converter.C:
6246         * counters.C:
6247         * debug.C:
6248         * exporter.C:
6249         * format.C:
6250         * importer.C:
6251         * lyx_cb.C:
6252         * lyx_main.C:
6253         * lyxfont.C:
6254         * lyxfunc.C:
6255         * lyxvc.C:
6256         * paragraph.C:
6257         * paragraph_funcs.C:
6258         * tabular.C:
6259         * tabular_funcs.C:
6260         * text2.C:
6261         * text3.C:  boost::format -> bformat  all over the place
6262
6263
6264 2003-05-09  André Pönitz  <poenitz@gmx.net>
6265
6266         * LColor.[Ch]: Pimpl the #include <map> away
6267
6268 2003-05-09  John Levon  <levon@movementarian.org>
6269
6270         * bufferlist.C: never remove emergency saves
6271
6272 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6273
6274         * Makefile.am: better lib building
6275
6276 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6279         instead.
6280         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6281         (simpleTeXSpecialChars): adjust
6282         (simpleTeXSpecialChars): adjust
6283         * paragraph.C (simpleTeXOnePar): adjust
6284         * buffer.C (makeLaTeXFile): adjust
6285
6286         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6287
6288         * text2.C (changeDepth): parlist cleanup
6289         (getColumnNearX): ditto
6290
6291         * rowpainter.C (getLabelFont): parlist cleanup
6292
6293         * bufferlist.C (newFile): parlist cleanup
6294
6295         * CutAndPaste.C (eraseSelection): parlist cleanup
6296
6297         * BufferView_pimpl.C (trackChanges): parlist cleanup
6298         (dispatch): ditto
6299
6300         * BufferView.C (lockInset): parlist cleanup.
6301         (ChangeInsets): ditto
6302
6303 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * CutAndPaste.h: Update file header.
6306
6307         * CutAndPaste.C: Update file header.
6308         Store the parts cut out of the Document in a limited_stack.
6309         (copySelection): adjust
6310         (pasteSelection): new function, takes the index in the limited stack.
6311         (nrOfParagraphs): adjust
6312         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6313         simplify error inset insertion.
6314         (checkPastePossible): adjust
6315
6316 2003-05-06  John Levon  <levon@movementarian.org>
6317
6318         * text2.C: don't cast wrap inset to float
6319
6320 2003-05-05  André Pönitz  <poenitz@gmx.net>
6321
6322         * iterator.C:
6323         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6324
6325         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6326           few naked Paragraph *.
6327
6328 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6329
6330         * bufferparams.C: Output warning if a document with missing
6331         TeX document class is loaded
6332         * exporter.C: Disable TeX exports if the document class is missing
6333         * lyxtextclass.C:
6334         * lyxtextclass.h:
6335         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6336         isTeXClassAvailable()
6337
6338 2003-05-03  John Levon  <levon@movementarian.org>
6339
6340         * BufferView.h:
6341         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6342         explicit cursor show/hide
6343
6344         * BufferView_pimpl.h:
6345         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6346         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6347
6348         * lyxfunc.C: hide cursor before dispatching.
6349
6350         * lyx_cb.C:
6351         * lyxfind.C:
6352         * text.C:
6353         * text3.C: remove explicit cursor hides
6354
6355 2003-05-02  André Pönitz  <poenitz@gmx.net>
6356
6357         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6358
6359         * undo_funcs.C:
6360         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6361           linked lists
6362
6363         * text2.C: tiny whitespace
6364
6365 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * undo_funcs.C: almost only ws changes.
6368
6369         * ParagraphList.C (splice): just return if pl is empty.
6370
6371 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * ParagraphList.C (splice): new function.
6374
6375         * CutAndPaste.C (pasteSelection): use it
6376
6377 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6378
6379         * CutAndPaste.C (pasteSelection): remove the last next and
6380         previous from this file.
6381
6382 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * CutAndPaste.C (pasteSelection): more clean up, user proper
6385         ParagraphList functions for pasteing.
6386
6387         * ParagraphList.C (insert): new function, three arg insert
6388
6389 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6390
6391         * ParagraphList.C (insert): new function, three arg insert
6392
6393         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6394         not on paragraphs.
6395
6396 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6399
6400 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6403
6404 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6407         (copySelection): clean up a bit.
6408         (pasteSelection): use make_pair
6409
6410         * ParagraphList.C (ParagraphList): implement copy constructor
6411         (operator=): implement, base on copy constructor.
6412         (assign): new func
6413
6414         * paragraph.C (erase): return a bool
6415
6416         * paragraph_pimpl.C (erasePos): remove function, move contents...
6417         (erase): ... here. Return a bool.
6418         (erase): call erase instead of erasePos.
6419
6420 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6421
6422         * ParagraphList.h: define PitPosPair
6423         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6424         ParagraphList, fix a bug on pasting multiple pars
6425         * text2.C: change interface to C&P
6426
6427 2003-04-30  André Pönitz  <poenitz@gmx.net>
6428
6429         * undo_func.C: revert part of yesterday's patch 2
6430
6431 2003-04-30  John Levon  <levon@movementarian.org>
6432
6433         * LColor.C: s/tabular/table/
6434
6435 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6436
6437         * text3.C (dispatch): do not convert iterator -> pointer
6438         * undo_funcs.C (setCursorParUndo): ditto
6439         * text_funcs.C (transposeChars): ditto
6440
6441         * text2.C (setLayout): ws changes only
6442
6443         * text.C (breakParagraph): do not convert iterator -> pointer
6444         (insertChar): ditto
6445         (acceptChange): ditto
6446         (rejectChange): ditto
6447         (changeCase): ditto
6448         (Delete): ditto
6449         (backspace): ditto
6450
6451         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6452         pointer
6453
6454 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6455
6456         * text3.C (gotoInset): YABG (yet another bad getChar)
6457
6458 2003-04-29  André Pönitz  <poenitz@gmx.net>
6459
6460         * paragraph.h: make operator= private unimplemented as long as
6461           it is unusable
6462
6463         * ParagraphList.C: whitespace
6464
6465         * paragraph.[Ch]:
6466         * paragraph_pimpl.[Ch]:
6467         * paragraph_funcs.C:
6468         * CutAndPaste.C:
6469         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6470
6471         * text2.C:
6472           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6473
6474 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6475
6476         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6477         * paragraph.[Ch] (erase):
6478         * paragraph_pimpl.[Ch] (erase): change return type and value
6479         * text2.C (cutSelection): some rework
6480
6481 2003-04-28  John Levon  <levon@movementarian.org>
6482
6483         * bufferlist.C: changes for unsaved changes dialog
6484
6485 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * bufferlist.C (newFile): set language (messages_) for new
6488         documents also.
6489
6490         * buffer.C (readFile): ws changes only.
6491
6492 2003-04-28  André Pönitz  <poenitz@gmx.net>
6493
6494         * undo_funcs.C:
6495         * lyxfunc.C:
6496         * buffer.[Ch]:
6497         * BufferView_pimpl.C:
6498         * BufferView.C: getParFromID related ParagraphList::iterator changes
6499
6500 2003-04-28  André Pönitz  <poenitz@gmx.net>
6501
6502         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6503           Changes
6504
6505 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * messages.C: remove one more localedir class variable.
6508
6509 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * messages.C (getLocaleDir): singleton generation function
6512         (Pimpl): use it.
6513         (Messages): add a default constructor.
6514
6515         * main.C (main): do not setup localedir here, do not call
6516         gettext_init.
6517
6518         * gettext.C (_): use it.
6519         (gettext_init): delete funciton
6520
6521 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * gettext.C (getLyXMessages): new singleton generating function.
6524
6525         * buffer.C (updateDocLang): adjust
6526
6527         * Makefile.am (messages.o): add target
6528         (main.o): remove target
6529
6530 2003-04-27  John Levon  <levon@movementarian.org>
6531
6532         * bufferlist.C:
6533         * lyx_cb.C:
6534         * lyxfunc.C:
6535         * lyxvc.C: specify cancel button in Alert::prompt
6536
6537 2003-04-26  John Levon  <levon@movementarian.org>
6538
6539         * text3.C:
6540         * lyxfunc.C:
6541         * lfuns.h:
6542         * LyXAction.C: add LFUN_INSET_SETTINGS
6543
6544         * lyxfunc.C: don't enable tabular-feature when there's
6545         just any locking inset
6546
6547 2003-04-26  John Levon  <levon@movementarian.org>
6548
6549         * bufferlist.C: re-add Cancel to buffer close question
6550
6551         * lyxfunc.C: fix import UI a bit
6552
6553 2003-04-25  John Levon  <levon@movementarian.org>
6554
6555         * gettext.C: remove the broken asserts for now
6556
6557 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6558
6559         * messages.C: make case where setlocale cannot comply work better.
6560
6561         * buffer.C (updateDocLang): new function
6562         (changeLanguage): use it
6563         (readFile): use it
6564
6565         * text2.C (setCounter): use B_ a bit.
6566
6567         * lyxlayout.C (Read): be sure to trim the label strings.
6568
6569         * messages.C (Messages): fix typo in comment
6570
6571         * buffer.C (readFile): set message_ after file is loaded.
6572         (makeDocBookFile): remove double return
6573         (changeLanguage): reset message_ upon language change.
6574         (B_): new func, use this to get translated buffer strings.
6575
6576         * main.C: add myself and Jean Marc as authors.
6577
6578 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6579
6580         * messages.[hC]: pimplify Messages, and three different pimpls to be
6581         used in different circumstances.
6582
6583         * gettext.[Ch]: change for use with new message code.
6584
6585 2003-04-24 André Pönitz <poenitz@gmx.net>
6586
6587         * factory.C: support for eqref
6588
6589 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * messages.[Ch]: add missing char
6592
6593         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6594
6595         * messages.[Ch]: New files
6596
6597 2003-04-18  John Levon  <levon@movementarian.org>
6598
6599         * BufferView.h:
6600         * BufferView.C:
6601         * BufferView_pimpl.C:
6602         * lfuns.h:
6603         * LyXAction.C:
6604         * lyxtext.h:
6605         * text2.C: remove layout-copy/paste (bug 778)
6606
6607 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6608
6609         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6610
6611 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6612
6613         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6614         if they succeed. Act accordingly.
6615
6616 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * text2.C (setCharFont): adjust
6619         (setCounter): adjust
6620         (insertStringAsLines): adjust
6621
6622         * text.C (leftMargin): adjust
6623         (setHeightOfRow): adjust
6624
6625         * rowpainter.C (paintFirst): adjust
6626         (paintLast): adjust
6627
6628         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6629         (outerHook): ditto
6630         (isFirstInSequence): ditto
6631         (getEndLabel): ditto
6632         (outerFont): adjust
6633
6634         * paragraph.C (getParLanguage): comment out some hard stuff.
6635
6636         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6637         (sgmlError): ditto
6638         (simpleDocBookOnePar): ditto
6639         (makeDocBookFile): use ParagraphList::iterator
6640
6641         * CutAndPaste.C (pasteSelection): adjust
6642
6643 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * text2.C (getFont): adjust
6646         (getLayoutFont): adjust
6647         (getLabelFont): adjust
6648
6649         * paragraph_funcs.C (TeXOnePar): adjust
6650
6651         * buffer.C (simpleLinuxDocOnePar): adjust
6652         (simpleDocBookOnePar): adjust
6653
6654         * CutAndPaste.C (pasteSelection): adjust
6655
6656         * BufferView.C (getEncoding): adjust
6657
6658         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6659
6660 2003-04-16  John Levon  <levon@movementarian.org>
6661
6662         * lyxfind.C: use parlist stuff for search/changes
6663
6664 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6667
6668         * text2.C (deleteEmptyParagraphMechanism): adjust
6669
6670         * text2.[Ch] (ownerParagraph): delete func (both of them
6671
6672 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6673
6674         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6675
6676 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6677
6678         * ParagraphList.C: prepare for NO_NEXT
6679
6680 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * text2.C (getFont): adjust
6683         (getLayoutFont): adjust
6684         (getLabelFont): adjust
6685
6686         * paragraph.C (getFont): adjust
6687         (getLabelFont): adjust
6688         (getLayoutFont): adjust
6689
6690         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6691
6692 2003-04-15  John Levon  <levon@movementarian.org>
6693
6694         From Angus Leeming
6695
6696         * lyx_main.C: handle Include in .ui files
6697
6698 2003-04-15  John Levon  <levon@movementarian.org>
6699
6700         * MenuBackend.C: make the doc files length shorter
6701
6702         * ToolbarBackend.h:
6703         * ToolbarBackend.C: handle toolbar placement flags,
6704         Minibuffer
6705
6706 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6709         adjust
6710
6711         * paragraph_funcs.C (TeXOnePar): adjust
6712
6713         * paragraph.C (getLabelFont): add outerfont arg, adjust
6714         (getLayoutFont): ditto
6715         (simpleTeXOnePar): adjust
6716
6717         * paragraph_pimpl.C (realizeFont): delete func
6718
6719 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6720
6721         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6722         row argument, constify cur argument.
6723
6724 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6725
6726         * text2.C (getFont): adjust
6727         (getLayoutFont): adjust
6728         (getLabelFont): adjust
6729
6730         * paragraph_funcs.C (TeXOnePar): adjust
6731         (outerFont): new func...
6732         (realizeFont): ...moved out from here, changed this to facilitate
6733         transition
6734
6735         * paragraph.C (getFont): take outerfont as arg, adjust
6736         (simpleTeXOnePar): add outerfont arg, adjust
6737
6738         * buffer.C (simpleLinuxDocOnePar): adjust
6739         (simpleDocBookOnePar): adjust
6740
6741         * CutAndPaste.C (pasteSelection): adjust
6742
6743         * BufferView.C (getEncoding): adjust
6744
6745 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * text2.C (setCharFont): adjust
6748         (setCounter): adjust
6749
6750         * text.C (leftMargin): adjust
6751         (setHeightOfRow): adjust
6752
6753         * rowpainter.C (paintFirst): adjust
6754         (paintLast): adjust
6755
6756         * paragraph_pimpl.C (realizeFont): adjust
6757
6758         * paragraph.C (isFirstInSequence): move from here...
6759         * paragraph_funcs.C (isFirstInSequence): ...to here
6760
6761         * paragraph.C (outerHook): move from here...
6762         * paragraph_funcs.C (outerHook): ...to here
6763
6764         * paragraph.C (depthHook): move from here...
6765         * paragraph_funcs.C (depthHook): ...to here
6766
6767         * paragraph.C (getEndLabel): move from here...
6768         * paragraph_funcs.C (getEndLabel): ...to here
6769
6770         * text2.C (realizeFont): move from here...
6771         * paragraph_funcs.C (realizeFont): ...to here
6772
6773 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6776
6777 2003-04-14  Angus Leeming  <leeming@lyx.org>
6778
6779         * LColor.[Ch]: scrap LColor mathcursor.
6780
6781 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * lyxlex.[Ch] (text): delete function
6784         * trans.C (Load): adjust
6785         * paragraph_funcs.C (readParToken): adjust
6786
6787 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6790         vector<char> instead of a char[].
6791
6792         * lyxlex_pimpl.C (getString): adjust
6793         (next): adjust
6794         (lex): use getString
6795         (eatLine): adjust
6796         (nextToken): adjust
6797
6798         * lyxlex.C (text): use pimpl_->getString()
6799         (getBool): ditto
6800         (findToken): ditto
6801
6802 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6805         (makeFontEntriesLayoutSpecific): temp var for par.size()
6806         (setLayout): temp var for ownerParagraphs().end()
6807         (fullRebreak): temp var for rows().end()
6808         (selectionAsString): temp var for boost::next(startpit), realize
6809         that the while really is a regular for loop.
6810         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6811         setCursor in one place.
6812         (setParagraph): temp vr for ownerParagraphs().end()
6813         (updateCounters): make the while loop a for loop
6814         (cutSelection): temp var for ownerParagraphs().end()
6815         (updateInset): make the do {} while() a regular for loop
6816         (getCursorX): use temp vars
6817         (setCurrentFont): use temp vars
6818         (getColumnNearX): use temp vars
6819
6820 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * text.C (transformChar): use temp var for getChar
6823         (computeBidiTables): use temp var for row->par()
6824         (fill): move temp vars for row->par() and pit->layout() earlier in
6825         the function.
6826         (labelFill): use temp var for row->par()
6827         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6828         asc and desc, realize that pit never changes and that firstpit is
6829         just a duplicate and not needed. Exchange rit->par() with pit in a
6830         lot of places.
6831         (breakAgain): use a temp var for boost::next(rit)
6832         (breakAgainOneRow): ditto
6833         (breakParagraph): use a temp var for rows().begin()
6834         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6835         (cursorRightOneWord): use temp var for cursor.par() and
6836         cursor.pos(), remove usage of tmpcursor.
6837         (cursorLeftOneWord): use temp var for cursor.par() and
6838         cursor.pos() only set cur at end of function.
6839
6840 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * text.C, text2.C: exchange all usage of Paragraph::next with
6843         boost::next(ParagraphList::iterator)
6844
6845         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6846
6847         * text2.C (cursorTop): simplify implementation
6848         (cursorBottom): ditto
6849         (setParagraph): use ParagraphList::iterator
6850         (setCurrentFont): adjust
6851         (getColumnNearX): adjust
6852         (cursorRight): adjust
6853         (cursorLeft): remove usage of Paragraph::previous
6854         (cursorUpParagraph): ditto
6855         (deleteEmptyParagraphMechanism): slight cleanup
6856
6857         * text.C (isBoundary): take a Paragraph const & instead of a
6858         pointer as arg.
6859         (addressBreakPoint): ditto
6860         (leftMargin): remove usage of Paragraph::previous.
6861         (setHeightOfRow): ditto
6862         (cursorLeftOneWord): ditto
6863         (selectNextWordToSpellcheck): ditto
6864         (Delete): ditto
6865         (backspace): ditto
6866         (breakParagraph): remove one usage of Paragraph::next
6867         (redoParagraph): ditto
6868         (acceptChange): ditto
6869         (insertChar): adjust
6870         (rowBreakPoint): adjust
6871
6872         * bufferview_funcs.C (toggleAndShow): adjust
6873
6874 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6875
6876         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6877         methods to access it.
6878         * lyxtext.h:
6879         * text.C: Added updateRowPositions to compute all row positions.
6880         Make top_y and getRowNearY() to use the cached y position
6881
6882 2003-04-11  John Levon  <levon@movementarian.org>
6883
6884         * text.C (rowBreakPoint): reintroduce the labelEnd
6885         checks, code copied from the row fill stuff. Deep voodoo.
6886
6887         * text.C (fill): add a comment and debugging for the
6888         next poor soul.
6889
6890 2003-04-11  John Levon  <levon@movementarian.org>
6891
6892         * text.C: make sure fullrow insets get wrapped to the next line,
6893         even when they're in a manual label
6894
6895 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * text2.C (insertParagraph): make it take ParagraphList::iterator
6898         as arg.
6899         (setLayout): make it return ParagraphList::iterator
6900         (redoParagraphs): ditto
6901         (setCounter): ditto
6902         (checkParagraph): ditto
6903
6904         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6905
6906         * text2.C: adjust several funcs.
6907         (realizeFont): take a ParagraphList::iterator as arg.
6908         (getLayoutFont): ditto
6909         (getLabelFont): ditto
6910         (setCharFont): ditto
6911
6912         * text.C: adjust several funcs.
6913
6914 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6915
6916         * text.C (selectNextWordToSpellcheck): don't accidentally
6917         skip insets
6918
6919 2003-04-10  John Levon  <levon@movementarian.org>
6920
6921         * ToolbarBackend.C (getIcon): special handling for
6922         LFUN_MATH_DELIM
6923
6924 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6925
6926         * text2.C (cursorRight): a getChar assert fixed
6927
6928 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * text2.C (getFont): change to take a ParagraphList::iterator
6931         instead of Paragraph*
6932         Adjust several functions.
6933
6934         * text.C (transformChar): change to take a ParagraphList::iterator
6935         instead of Paragraph*
6936         (singleWidth): ditto
6937         Adjust several functions.
6938
6939         * rowpainter.C: adjust several functions
6940         * rowpainter.h:store a ParagraphList::iterator and not a
6941         Paragraph&.
6942
6943
6944 2003-04-09  John Levon  <levon@movementarian.org>
6945
6946         * lyxfunc.C:
6947         * lfuns.h:
6948         * LyXAction.h:
6949         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6950         and the "help" bits as well
6951
6952 2003-04-09  John Levon  <levon@movementarian.org>
6953
6954         * ToolbarBackend.h:
6955         * ToolbarBackend.C: allow multiple toolbars
6956
6957 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * undo_funcs.C (setCursorParUndo): adjust
6960
6961         * text_funcs.C (transposeChars): adjust
6962
6963         * text3.C (gotoNextInset): adjust
6964         (dispatch): adjust
6965
6966         * text2.C (setLayout): adjust
6967         (changeDepth): adjust
6968         (setFont): adjust
6969         (redoParagraphs): adjust
6970         (selectionAsString): adjust
6971         (setParagraph): adjust
6972         (insertInset): adjust
6973         (cutSelection): adjust
6974         (copySelection): adjust
6975         (pasteSelection): adjust
6976         (insertStringAsLines): adjust
6977         (updateInset): adjust
6978         (setCursor): change to take a ParagraphList::iterator parameter
6979         (setCursorIntern): change to take a ParagraphList::iterator parameter
6980         (setCurrentFont): adjust
6981         (cursorLeft): adjust
6982         (cursorRight): adjust
6983         (deleteEmptyParagraphMechanism): adjust
6984
6985         * text.C (breakParagraph): adjust
6986         (insertChar): adjust
6987         (acceptChange): adjust
6988         (rejectChange): adjust
6989         (selectNextWordToSpellcheck): adjust
6990         (changeCase): adjust
6991         (Delete): adjust
6992         (backspace): adjust
6993
6994         * lyxfind.C (SearchForward): adjust
6995         (SearchBackward): adjust
6996         (nextChange): adjust
6997
6998         * lyxcursor.C (par): adjust
6999
7000         * lyxcursor.h: store a ParagraphList::iterator instead of a
7001         Paragraph*
7002
7003         * lyx_cb.C (getPossibleLabel): adjust
7004
7005         * bufferview_funcs.C (toggleAndShow): adjust
7006
7007         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7008         (dispatch): adjust
7009
7010         * BufferView.C (removeAutoInsets): adjust
7011         (lockedInsetStoreUndo): adjust
7012
7013 2003-04-09  John Levon  <levon@movementarian.org>
7014
7015         * ToolbarBackend.C: try icon without argument
7016         if with argument fails
7017
7018 2003-04-08  John Levon  <levon@movementarian.org>
7019
7020         * ToolbarBackend.h:
7021         * ToolbarBackend.C: add getIcon(), handle tooltip,
7022         and change from "Icon" to "Item".
7023
7024 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7025
7026         * BufferView.C (lockInset): another bad getchar crunched
7027
7028 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7029
7030         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7031         again)
7032
7033 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7034
7035         * lyxfind.C (searchForward, searchBackwards): bug 782
7036
7037 2003-04-07  John Levon  <levon@movementarian.org>
7038
7039         * paragraph.C: remove dead comment
7040
7041         * text.C: remove troublesome depth-fiddling code
7042         in leftMargin() and rightMargin() (bug 1017)
7043
7044         * text.C: fix breaking of rows in nested lists
7045         (bug 1004)
7046
7047         * text2.C (updateCounters): fix up depth values
7048         (bug 1013)
7049
7050 2003-04-07  John Levon  <levon@movementarian.org>
7051
7052         * BufferView_pimpl.C: clear message when doc finishes resizing,
7053         and after a mouse event
7054
7055         * lyxfunc.C: clear message after exiting inset
7056
7057 2003-04-07  John Levon  <levon@movementarian.org>
7058
7059         * bufferview_funcs.C: show math status not outside
7060         status in the statusbar
7061
7062 2003-04-07  John Levon  <levon@movementarian.org>
7063
7064         * lyxfunc.C: note status changed after a depth change
7065
7066 2003-04-04  Angus Leeming  <leeming@lyx.org>
7067
7068         * LaTeX.h: move AuxInfo operator==, != out of line.
7069         Remove LaTeX virtual destructor; nothing derives from it.
7070         Move operator()() out of public area and rename it startscript().
7071         Change protected for private.
7072
7073 2003-04-04  Angus Leeming  <leeming@lyx.org>
7074
7075         * lyxfunc.C:
7076         * text2.C: remove unneeded #includes.
7077
7078 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7079
7080         * text2.C (dEPM): fix the heigth of the next row
7081
7082 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7083
7084         * text.C: squashed an invalid getChar requester + some ws changes
7085
7086 2003-04-03  John Levon  <levon@movementarian.org>
7087
7088         * bufferview_funcs.h:
7089         * bufferview_funcs.C:
7090         * lyxfunc.C:
7091         * lyxtext.h:
7092         * text2.C: make getStatus work for the env depth lfuns
7093
7094 2003-04-03  John Levon  <levon@movementarian.org>
7095
7096         * bufferview_funcs.h:
7097         * bufferview_funcs.C:
7098         * lyxfunc.C:
7099         * lyxtext.h:
7100         * text2.C: parlistize decDepth(), by merging it with incDepth()
7101
7102 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * lyxrow.h: store a ParagraphList::iterator instead of a
7105         Paragraph* and adjust other class functions to suit.
7106
7107         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7108         above.
7109
7110 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7111
7112         * text2.C (setCursor): do not anchor to cursor row for the time being
7113
7114 2003-04-02  John Levon  <levon@movementarian.org>
7115
7116         * LyXAction.C:
7117         * lfuns.h:
7118         * lyx_main.C:
7119         * lyxtext.h:
7120         * text.C:
7121         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7122
7123 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * paragraph.h: make ParagraphList and ParagraphList::iterator
7126         friends of Paragraph.
7127
7128         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7129
7130         * ParagraphList.C: Use the private next_ and previous_ from
7131         Paragraph.
7132
7133 2003-04-01  John Levon  <levon@movementarian.org>
7134
7135         * ToolbarBackend.h:
7136         * ToolbarBackend.C:
7137         * Makefile.am: rename, remove defaults gunk
7138
7139         * MenuBackend.h:
7140         * MenuBackend.C: remove defaults gunk
7141
7142         * Languages.h:
7143         * Languages.C: remove defaults gunk
7144
7145         * lyx_main.h:
7146         * lyx_main.C: error out if files couldn't be found.
7147
7148 2003-04-02  John Levon  <levon@movementarian.org>
7149
7150         * text2.C: make incDepth() use parlist
7151
7152 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * undo_funcs.C (firstUndoParagraph): adjust
7155
7156         * text3.C (gotoInset): adjust
7157         (dispatch): adjust, and rewrite loop.
7158
7159         * text2.C (init): adjust, and rewrite loop.
7160         (redoParagraphs): adjust
7161         (updateInset): adjust, and rewrite loop.
7162         (deleteEmptyParagraphMechanism): adjust
7163
7164         * tabular.C (LyXTabular): adjust
7165         (SetMultiColumn): adjust
7166         (TeXRow): adjust
7167
7168         * lyxtext.[Ch] (ownerParagraph): delete function
7169         (ownerParagraphs): new function returns a ParagraphList.
7170
7171         * BufferView.C (removeAutoInsets): adjust
7172         (insertErrors): adjust
7173         (setCursorFromRow): adjust
7174
7175 2003-04-01  Angus Leeming  <leeming@lyx.org>
7176
7177         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7178         in the frontends.
7179
7180 2003-04-02  John Levon  <levon@movementarian.org>
7181
7182         * lyxtext.h:
7183         * text.C:
7184         * Makefile.am:
7185         * text_funcs.h:
7186         * text_funcs.C: make transposeChars a free function
7187
7188         * lyxrow_funcs.C: remove wrong comment
7189
7190 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * lyxtext.h: adjust
7193         * rowpainter.C: adjust
7194         * text.C: adjust
7195         * text2.C: adjust
7196         * text3.C: adjust
7197
7198         * lyxrow_funcs. [Ch]: new files
7199
7200         * lyxrow.[Ch]: remove next and previous pointers
7201         (next,previous): remove accessor functions
7202         (isParEnd): move to lyxrow_funcs
7203         (lastPos): move to lyxrow_funcs
7204         (nextRowIsAllInset): move to lyxrow_funcs
7205         (lastPrintablePos): move to lyxrow_funcs
7206         (numberOfSeparators): move to lyxrow_funcs
7207         (numberOfHfills): move to lyxrow_funcs
7208         (numberOfLabelHfills): move to lyxrow_funcs
7209         (hfillExpansion): move to lyxrow_funcs
7210
7211         * lyxfunc.C: adjust
7212
7213         * bufferview_funcs.C (toggleAndShow): adjust
7214
7215         * RowList.h: Remove class RowList from file leave just a
7216         std::list<Row>.
7217
7218         * RowList.C: delete file
7219
7220         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7221         and lyxrow_funcs.h
7222
7223 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * text3.C (cursorPrevious): adjust
7226         (cursorNext): adjust
7227         (dispatch): adjust
7228
7229         * text2.C (redoHeightOfParagraph): adjust
7230         (redoDrawingOfParagraph): adjust
7231         (setCursor): adjust
7232
7233         * text.C (breakParagraph): adjust
7234         (insertChar): adjust
7235         (backspace): adjust
7236
7237         * rowpainter.C (RowPainter): adjust
7238         (leftMargin): simplify and adjust
7239         (most rowpainter functions): adjust.
7240
7241         * rowpainter.h: store the row as RowList::iterator not as Row*
7242
7243         * lyxcursor.C (row): taka RowList::iterator as arg
7244         (irow): ditto
7245
7246         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7247         of Row*.
7248
7249 2003-04-01  Angus Leeming  <leeming@lyx.org>
7250
7251         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7252         stuff like bool Bool.
7253
7254 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7255
7256         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7257         rewrite a loop
7258
7259 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7262         RowList::iterator.
7263
7264         * lyxtext.h (rows): drop one version and leve a const variant that
7265         returns a RowList::iterator.
7266
7267 2003-03-31  Angus Leeming  <leeming@lyx.org>
7268
7269         * text.C (fill): ensure that the signature is the same as that in the
7270         header file.
7271
7272 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * text2.C (redoParagraphs): adjust
7275         (updateCounters): adjust
7276         (checkParagraph): adjust
7277         (getColumnNearX): adjust and reformat a bit.
7278
7279         * text.C (top_y): adjust
7280         (workWidth): adjust
7281         (leftMargin): adjust
7282         (prepareToPrint): adjust
7283         (getRow): adjust
7284         (getRowNearY): adjust
7285
7286         * lyxtext.h: make rowlist_ mutable.
7287
7288         * RowList.h: add const_iterator
7289         * RowList.C: adjust for RowList::const_iterator.
7290
7291         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7292         adjust.
7293
7294 2003-03-31  John Levon  <levon@movementarian.org>
7295
7296         * lyxrc.h:
7297         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7298
7299         * lyx_main.C: set default fonts from using lyx_gui funcs
7300
7301         * exporter.C: pdf_mode moved from lyxrc
7302
7303         * lyx_cb.C:
7304         * lyxfunc.C: changes from above
7305
7306 2003-03-31  John Levon  <levon@movementarian.org>
7307
7308         * lyx_main.C: fix to the last fix
7309
7310 2003-03-31  John Levon  <levon@movementarian.org>
7311
7312         * bufferlist.C: "Load original" -> "Load Original"
7313
7314         * converter.C:
7315         * exporter.C:
7316         * importer.C:
7317         * lyx_main.C:
7318         * format.C: more Alert cleanups
7319
7320 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7321
7322         * text2.C (removeParagraph): make it take a RowList::iterator as
7323         arg, adjust.
7324         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7325         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7326
7327         * text.C (anchor_row): make it take a RowList::iterator as arg,
7328         adjust.
7329         (computeBidiTables): make it take a const reference to Row instead
7330         of Row pointer, adjust.
7331         (leftMargin): make it take a RowList::iterator as arg, adjust.
7332         (rowBreakPoint): adjust
7333         (breakAgainOneRow): make it take a RowList::iterator as arg,
7334         adjust.
7335         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7336
7337         * bufferview_funcs.C (toggleAndShow): adjust
7338
7339 2003-03-30  John Levon  <levon@movementarian.org>
7340
7341         * Makefile.am:
7342         * BoostFormat.h:
7343         * boost-inst.C: moved to support
7344
7345         * several files: changes as a result
7346
7347 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text2.C (LyXText): adjust.
7350         (init): adjust
7351         (removeRow): make it take a RowList::iterator as arg, adjust.
7352         (fullRebreak): adjust
7353         (deleteEmptyParagraphMechanism): adjust
7354         (clearPaint): adjust
7355         (postPaint): adjust
7356
7357         * text.C (top_y): adjust
7358         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7359         (breakAgain): make it take a RowList::iterator as arg, adjust.
7360         (breakParagraph): adjust
7361         (insertChar): adjust
7362         (backspace): adjust
7363
7364         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7365         need_break_row, and refresh_row.
7366
7367         * text3.C (dispatch): adjust
7368
7369         * text2.C (checkParagraph): adjust
7370         (setCursor): adjust
7371         (setCursorFromCoordinates): adjust
7372
7373         * text.C (top_y): adjust
7374         (workWidth): adjust
7375         (getRow): make it return a RowList::iterator, adjust
7376         (getRowNearY): make it return a RowList::iterator, adjust
7377
7378         * text2.C (init): adjust
7379         (insertRow): remove function
7380         (insertParagraph): adjust
7381         (redoParagraphs): adjust
7382         (fullRebreak): adjust
7383         (updateCounters): adjust
7384
7385         * text.C (top_y): rewrite to use RowList iterators.
7386         (top_y): adjust
7387         (setHeightOfRow): rewrite to sue RowList iterators.
7388         (appendParagraph): adjust
7389         (breakAgain): adjust
7390         (breakAgainOneRow): adjust
7391         (breakParagraph): adjust
7392         (getRow): adjust
7393         (getRowNearY): adjust, and remove commented code.
7394
7395         * lyxtext.h (firstRow): delete function
7396         (lastRow): delete function
7397         (rows): new function (const and non-const versions.)
7398         (insertRow): delete function
7399
7400         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7401
7402 2003-03-29  John Levon  <levon@movementarian.org>
7403
7404         * BufferView_pimpl.C: always update scrollbar top
7405         because pasting text when we're anchored could mean we
7406         miss an update altogether
7407
7408 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7409
7410         * text2.C (init): use rowlist_.end() and not 0.
7411         (insertRow): change to take a RowList::iterator as arg, adjust
7412         for this.
7413         (insertParagraph): change to take a RowList::iterator as arg,
7414         adjust for this.
7415         (redoParagraphs): remove some debug msgs.
7416
7417         * text.C (appendParagraph): change to take a RowList::iterator
7418         arg, adjust for this.
7419         (breakAgain): add an assert
7420         (breakAgainOneRow): ditto
7421
7422 2003-03-29  John Levon  <levon@movementarian.org>
7423
7424         * text2.C: do not clear selection after inc/decDepth
7425         (bug 550)
7426
7427 2003-03-29  John Levon  <levon@movementarian.org>
7428
7429         * BufferView.C:
7430         * buffer.C: fix broken strerrors according to Lars
7431
7432 2003-03-29  John Levon  <levon@movementarian.org>
7433
7434         * converters.C: more Alert cleanups
7435
7436 2003-03-29  John Levon  <levon@movementarian.org>
7437
7438         * bufferview_funcs.C: remove pointless Alert
7439
7440         * buffer.C: fix confusing error message when
7441         a template is chmoded 000
7442
7443 2003-03-29  John Levon  <levon@movementarian.org>
7444
7445         * BufferView.C:
7446         * BufferView.h:
7447         * BufferView_pimpl.C: Alert fixes
7448
7449         * Makefile.am:
7450         * tabular.C:
7451         * tabular-old.C: remove unused table compat reading
7452
7453 2003-03-29  John Levon  <levon@movementarian.org>
7454
7455         * BufferView.C:
7456         * buffer.C:
7457         * lyx_cb.h:
7458         * lyx_cb.C: more Alert cleanups
7459
7460         * lyxfunc.C: don't allow chktex if not latex document
7461
7462 2003-03-29  John Levon  <levon@movementarian.org>
7463
7464         * lyx_cb.C:
7465         * BufferView.C:
7466         * buffer.C: warnings pushed down from support/,
7467         kill err_alert
7468
7469 2003-03-29  John Levon  <levon@movementarian.org>
7470
7471         * lyxfunc.C: safety check for C-r (revert)
7472
7473 2003-03-29  John Levon  <levon@movementarian.org>
7474
7475         * bufferlist.h:
7476         * bufferlist.C: several UI fixes using Alert::prompt.
7477         Fix the pointless looping quit code. Fix stupid revert
7478         behaviour (bug 938)
7479
7480         * lyxvc.h:
7481         * lyxvc.C:
7482         * lyx_cb.C: use Alert::prompt
7483
7484         * lyx_main.C: remove a silly question
7485
7486         * lyxfunc.C: remove a couple of silly questions,
7487         use Alert::prompt
7488
7489 2003-03-28  John Levon  <levon@movementarian.org>
7490
7491         * text2.C: fix bug 974 (End on empty par)
7492
7493 2003-03-28  John Levon  <levon@movementarian.org>
7494
7495         * BufferView_pimpl.C:
7496         * LyXAction.C:
7497         * lfuns.h: remove do-nothing math greek lfuns
7498
7499 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * lyxgluelength.h (isValidGlueLength): add default arg on
7502         parameter 2. Remove default arg from friend in class.
7503
7504         * lyxlength.h (isValidLength): add default arg on parameter 2.
7505         Remove default arg from friend in class.
7506
7507         * text2.C (LyXText): adjust, initialize refresh_row.
7508         (init): adjust
7509         (removeRow): adjust
7510         (insertRow): adjust
7511         (insertParagraph): adjst
7512         (redoParagraphs): adjust
7513         (fullRebreak): adjust
7514         (updateCounters): adjust
7515         (deleteEmptyParagraphMechanism): first attempt at fixing a
7516         crashing bug.
7517
7518         * text.C (top_y): adjust
7519         (setHeightOfRow): adjust
7520         (getRow): adjust
7521         (getRowNearY): adjust
7522
7523         * lyxtext.h: include RowList.h
7524         (~LyXText): not needed anymore, deleted.
7525         (firstRow): modify for RowList
7526         (lastRow): new function
7527         Delete firstrow and lastrow class variables, add a Rowlist
7528         rowlist_ class variable.
7529
7530         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7531         paragraph is empty.
7532
7533         * RowList.C (insert): fix case where it == begin().
7534
7535 2003-03-26  Angus Leeming  <leeming@lyx.org>
7536
7537         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7538         the thesaurus dialog.
7539
7540 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7543
7544         * RowList.[Ch]: new files
7545
7546         * ParagraphList.C (erase): handle the case where it == begin
7547         correctly.
7548
7549 2003-03-25  John Levon  <levon@movementarian.org>
7550
7551         * Makefile.am:
7552         * aspell_local.h:
7553         * aspell.C: add new aspell support
7554
7555         * lyxrc.h:
7556         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7557         have it accessible.
7558
7559 2003-03-25  Angus Leeming  <leeming@lyx.org>
7560
7561         * lfuns.h:
7562         * LyXAction.C (init): new LFUN_INSET_INSERT.
7563
7564         * BufferView_pimpl.C (dispatch): split out part of the
7565         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7566
7567         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7568         LFUN_INSET_APPLY.
7569
7570 2003-03-25  Angus Leeming  <leeming@lyx.org>
7571
7572         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7573
7574 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7575
7576         * text2.C:
7577         * text3.C: remove useless row->height(0)
7578
7579 2003-03-25  John Levon  <levon@movementarian.org>
7580
7581         * lyxtext.h:
7582         * text2.C:
7583         * text3.C: rename the refreshing stuff to better names
7584
7585 2003-03-24  John Levon  <levon@movementarian.org>
7586
7587         * BufferView_pimpl.h:
7588         * BufferView_pimpl.C: update layout choice on a mouse
7589         press/release
7590
7591 2003-03-23  John Levon  <levon@movementarian.org>
7592
7593         * Makefile.am: fix commandtags.h reference
7594
7595 2003-03-22  John Levon  <levon@movementarian.org>
7596
7597         * BufferView_pimpl.C:
7598         * lyxtext.h:
7599         * rowpainter.C:
7600         * rowpainter.h:
7601         * text.C:
7602         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7603
7604 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7605
7606         * lyxtext.h:
7607         * text.C: take the rtl methods out of line
7608
7609 2003-03-21 André Pönitz <poenitz@gmx.net>
7610
7611         * metricsinfo.[Ch]: new files containing structures to be passed around
7612         during the two-phase-drawing...
7613
7614 2003-03-21 André Pönitz <poenitz@gmx.net>
7615
7616         * lyxtextclass.C: read 'environment' tag.
7617
7618 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7619
7620         * text2.C (removeRow): fix bug 964
7621
7622 2003-03-20  John Levon  <levon@movementarian.org>
7623
7624         * rowpainter.C:
7625         * text.C:
7626         * text2.C: paint cleanups. Inset::update() dropped font
7627         parameter
7628
7629 2003-03-19  John Levon  <levon@movementarian.org>
7630
7631         * lyxfunc.C: only fitcursor/markDirty if available()
7632
7633 2003-03-19  John Levon  <levon@movementarian.org>
7634
7635         * commandtags.h: rename to ...
7636
7637         * lfuns.h: ... this, and renumber / cleanup
7638
7639 2003-03-19  John Levon  <levon@movementarian.org>
7640
7641         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7642         fit the cursor after an lfun
7643
7644         * BufferView.h:
7645         * BufferView.C:
7646         * BufferView_pimpl.h:
7647         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7648
7649         * LyXAction.C: layout-character should have ReadOnly
7650
7651         * ParagraphParameters.C:
7652         * buffer.C:
7653         * bufferview_funcs.C:
7654         * lyx_cb.C:
7655         * lyxfind.C:
7656         * lyxtext.h:
7657         * text.C:
7658         * text2.C:
7659         * text3.C:
7660         * undo_funcs.C: changes from above
7661
7662 2003-03-18  John Levon  <levon@movementarian.org>
7663
7664         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7665         remove it from update()
7666
7667         * lyxfunc.C: update layout choice after an lfun
7668
7669         * text3.C: remove extra updateLayoutChoice()s
7670
7671 2003-03-18  John Levon  <levon@movementarian.org>
7672
7673         * text.C: top_y change means full repaint, fix
7674         a drawing bug with cursor movement
7675
7676 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7677
7678         * lyxtext.h:
7679         * text.C:
7680         * text2.C: anchor row on setCursor
7681
7682 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7683
7684         * lyxtext.h: remove almost all mutable keywords
7685         * text.C:
7686         * text2.C:
7687         * text3.C: remove const keywords accordingly
7688
7689 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7690
7691         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7692         anon namespace
7693         (TeXEnvironment): ditto
7694         (TeXOnePar): ditto
7695
7696 2003-03-17  John Levon  <levon@movementarian.org>
7697
7698         * text.C (rowBreakPoint): remove attempt to fix displayed
7699         math insets inside a manual label
7700
7701 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7702
7703         * lyxtext.h: remove BufferView* as first arg from almost all class
7704         functions.
7705         * other files: adjust.
7706
7707 2003-03-17  John Levon  <levon@movementarian.org>
7708
7709         * lyxtext.h:
7710         * undo_funcs.C:
7711         * text2.C: more paint cleanups
7712
7713         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7714
7715         * rowpainter.h:
7716         * rowpainter.C: remove "smart" background painting code
7717
7718 2003-03-16  John Levon  <levon@movementarian.org>
7719
7720         * lyxtext.h:
7721         * text.C:
7722         * text2.C:
7723         * text3.C: add helper functions for setting refresh_row/y
7724
7725 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7726
7727         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7728         newline inset which *can* get inserted in the pass_thru layouts.
7729         This is primarily for literate documents.
7730
7731 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7732
7733         * buffer.C: increment LYX_FORMAT to 223
7734
7735 2003-03-14 André Pönitz <poenitz@gmx.net>
7736
7737         * textclass.h: prepare for environment handling, ws changes
7738         * lyxlayout.C: read latexheader and latexfooter tags
7739
7740 2003-03-14  John Levon  <levon@movementarian.org>
7741
7742         * text2.C: rewrite ::status() a bit
7743
7744 2003-03-13  John Levon  <levon@movementarian.org>
7745
7746         * lyxtext.h: add some docs
7747
7748 2003-03-13  John Levon  <levon@movementarian.org>
7749
7750         * lyxtext.h:
7751         * text.C:
7752         * text2.C:
7753         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7754
7755 2003-03-13  John Levon  <levon@movementarian.org>
7756
7757         * text3.C: fix appendix redrawing
7758
7759 2003-03-13  John Levon  <levon@movementarian.org>
7760
7761         * text.C (setHeightOfRow):
7762         * rowpainter.h:
7763         * rowpainter.C: make appendix mark have the text
7764           "Appendix" so the user knows what it is
7765
7766         * LColor.h:
7767         * LColor.C: s/appendixline/appendix/ from above
7768
7769 2003-03-13  John Levon  <levon@movementarian.org>
7770
7771         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7772
7773         * text.C: fix a getChar(pos) bug properly
7774
7775 2003-03-13  Angus Leeming  <leeming@lyx.org>
7776
7777         * commandtags.h:
7778         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7779         Probably only temporary. Let's see how things pan out.
7780
7781         * BufferView.C (unlockInset):
7782         * BufferView_pimpl.C (fitCursor):
7783         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7784
7785         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7786         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7787
7788         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7789         new functions that convert ParagraphParameters to and from a string.
7790
7791         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7792         BufferView::Pimpl's dispatch.
7793         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7794
7795 2003-03-13 André Pönitz <poenitz@gmx.net>
7796
7797         * lyxfunc.C:
7798         * text3.C:
7799         * factory.C: make it aware of InsetEnv
7800
7801 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7802
7803         * text2.C (setCursor): never ask for one past last
7804         (setCursor): add some debugging messages.
7805
7806         * text.C (singleWidth): never ask for one past last
7807         (singleWidth): ditto
7808         (leftMargin): ditto
7809         (rightMargin): ditto
7810         (rowBreakPoint): ditto
7811         (setHeightOfRow): ditto
7812         (prepareToPrint): ditto
7813
7814         * rowpainter.C (paintBackground): never ask for one past last
7815         (paintText): never ask for one past last
7816
7817         * paragraph_pimpl.C (getChar): make the assert stricter, never
7818         allow the one past last pos to be taken
7819
7820         * paragraph.C (getChar): ws changes only
7821
7822         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7823         (numberOfSeparators): ditto
7824         (numberOfHfills): ditto
7825
7826 2003-03-12  John Levon  <levon@movementarian.org>
7827
7828         * author.h:
7829         * author.C:
7830         * bufferparams.h:
7831         * bufferparams.C:
7832         * paragraph_funcs.C: fix per-buffer authorlists
7833
7834 2003-03-12  John Levon  <levon@movementarian.org>
7835
7836         * text.C: fix newline in right address
7837
7838 2003-03-12  Angus Leeming  <leeming@lyx.org>
7839
7840         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7841         duplicate those in LyXFunc::dispatch.
7842
7843         * commandtags.h:
7844         * LyXAction.C:
7845         * ToolbarDefaults.C:
7846         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7847         Add LFUN_FONTFREE_UPDATE.
7848
7849         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7850         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7851
7852         * bufferview_func.[Ch]: several new functions to facilliate
7853         transfer of data to and from the character dialog.
7854
7855 2003-03-12  John Levon  <levon@movementarian.org>
7856
7857         * buffer.C:
7858         * paragraph.h:
7859         * paragraph.C:
7860         * paragraph_funcs.C:
7861         * paragraph_pimpl.C:
7862         * sgml.C:
7863         * tabular.C:
7864         * text.C:
7865         * text3.C: remove META_NEWLINE in favour of an inset
7866
7867         * rowpainter.h:
7868         * rowpainter.C: remove paintNewline (done by inset)
7869
7870 2003-03-12  John Levon  <levon@movementarian.org>
7871
7872         * paragraph_pimpl.C: complain about bad getChar()s
7873         for a while at least
7874
7875 2003-03-12  John Levon  <levon@movementarian.org>
7876
7877         * buffer.h:
7878         * buffer.C: move paragraph read into a separate function,
7879         a little renaming to reflect that.
7880
7881         * bufferparams.h:
7882         * bufferparams.C: remove the author_ids map, not necessary now
7883
7884         * factory.h:
7885         * factory.C: moved Buffer::readInset to here
7886
7887         * paragraph_funcs.h:
7888         * paragraph_funcs.C: readParagraph free function moved from
7889         buffer.C
7890
7891         * tabular.C: name change
7892
7893 2003-03-12  John Levon  <levon@movementarian.org>
7894
7895         * buffer.C:
7896         * ParagraphParameters.C: move par params input to
7897         a read() method
7898
7899         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7900         behave like a normal read from the stream wrt reading
7901         a line vs. a \\token
7902
7903 2003-03-12  John Levon  <levon@movementarian.org>
7904
7905         * paragraph.C:
7906         * ParagraphParameters.h:
7907         * ParagraphParameters.C: move output code to a
7908         ::write() method
7909
7910 2003-03-12  John Levon  <levon@movementarian.org>
7911
7912         * BufferView.C (insertLyXFile):
7913         * buffer.h:
7914         * buffer.C:
7915         * tabular.C: use a parlist iterator for creating the
7916           document.
7917
7918 2003-03-12  John Levon  <levon@movementarian.org>
7919
7920         * buffer.C: make current_change static local not
7921           static file-scope
7922
7923 2003-03-12  John Levon  <levon@movementarian.org>
7924
7925         * buffer.C: fix insertStringAsLines for change tracking
7926
7927 2003-03-12  John Levon  <levon@movementarian.org>
7928
7929         * BufferView.C:
7930         * tabular.C:
7931         * buffer.h:
7932         * buffer.C:
7933         * bufferparams.h:
7934         * bufferparams.C: move author list into params. Rename some
7935           functions. Move the header reading into a separate token
7936           loop. Move the header token reading into BufferParams.
7937
7938 2003-03-12  John Levon  <levon@movementarian.org>
7939
7940         * changes.C: put debug inside lyxerr.debugging() checks
7941
7942 2003-03-11 André Pönitz <poenitz@gmx.net>
7943
7944         * factory.C: make it aware of InsetHFill
7945
7946 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7947
7948         * buffer.C (latexParagraphs): move function from here...
7949         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7950         args.
7951
7952 2003-03-10  Angus Leeming  <leeming@lyx.org>
7953
7954         * LyXAction.C (init): fix bug in poplating array with multiple entries
7955         with the same LFUN (spotted by JMarc).
7956
7957 2003-03-10  John Levon  <levon@movementarian.org>
7958
7959         * text.C:
7960         * text2.C: move getColumnNearX() near its
7961         only call site
7962
7963 2003-03-10  John Levon  <levon@movementarian.org>
7964
7965         * text.C: fix break before a minipage
7966
7967 2003-03-10  John Levon  <levon@movementarian.org>
7968
7969         * text.C: fix the last commit
7970
7971 2003-03-09  John Levon  <levon@movementarian.org>
7972
7973         * lyxtext.h:
7974         * text.C:
7975         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7976         bug 365 (don't break before insets unless needed). Don't
7977         return a value > last under any circumstances.
7978
7979 2003-03-09  Angus Leeming  <leeming@lyx.org>
7980
7981         * BufferView_pimpl.C (trackChanges, dispatch): call
7982         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7983
7984 2003-03-09  Angus Leeming  <leeming@lyx.org>
7985
7986         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7987         than Dialogs::showAboutlyx().
7988
7989 2003-03-09  Angus Leeming  <leeming@lyx.org>
7990
7991         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7992         than Dialogs::showTabularCreate().
7993
7994 2003-03-09  John Levon  <levon@movementarian.org>
7995
7996         * lyxtext.h:
7997         * text.C:
7998         * text2.C: 3rd arg to nextBreakPoint was always the same.
7999           Use references.
8000
8001 2003-03-08  John Levon  <levon@movementarian.org>
8002
8003         * lyxrow.C:
8004         * paragraph.C:
8005         * paragraph.h:
8006         * rowpainter.C:
8007         * text.C:
8008         * text2.C: Remove the "main" bit from the "main body"
8009           notion.
8010
8011 2003-03-08  John Levon  <levon@movementarian.org>
8012
8013         * text.C (leftMargin): The left margin of an empty
8014         manual label paragraph should not include the label width
8015         string length.
8016
8017         * text.C (prepareToPrint): don't attempt to measure hfills
8018         for empty manual label paragraphs - the answer should be 0
8019
8020 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * CutAndPaste.C: remove commented code and reindent.
8023
8024 2003-03-08  John Levon  <levon@movementarian.org>
8025
8026         * lyxfunc.h:
8027         * lyxfunc.C: move reloadBuffer()
8028
8029         * BufferView.h:
8030         * BufferView.C: to here
8031
8032         * lyxvc.C: add comment
8033
8034         * vc-backend.h:
8035         * vc-backend.C: call bv->reload() to avoid
8036           getStatus() check on MENURELOAD
8037
8038 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8039
8040         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8041         to an old format .dep file.
8042
8043 2003-03-07  Angus Leeming  <leeming@lyx.org>
8044
8045         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8046         when the LFUN_MOUSE_RELEASE should have been handled by
8047         inset->localDispatch.
8048
8049 2003-03-07  Angus Leeming  <leeming@lyx.org>
8050
8051         * BufferView_pimpl.C (dispatch):
8052         * LyXAction.C (init):
8053         * ToolbarDefaults.C (init):
8054         * commandtags.h:
8055         * lyxfunc.C (getStatus):
8056         remove LFUN_INSET_GRAPHICS.
8057
8058         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8059
8060 2003-03-07  Angus Leeming  <leeming@lyx.org>
8061
8062         * commandtags.h:
8063         * LyXAction.C (init):
8064         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8065
8066         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8067
8068         * commandtags.h:
8069         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8070
8071         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8072         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8073
8074 2003-03-07  Angus Leeming  <leeming@lyx.org>
8075
8076         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8077         remove "ert".
8078
8079 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8080
8081         * ParagraphList.C (front): new function
8082         (back): implement
8083
8084 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8085
8086         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8087         and top_row_offset_. removed var first_y.
8088         * text.C (top_y):
8089         * text2.C (LyXText, removeRow):
8090         * text3.C:
8091         * BufferView_pimpl.C:
8092         use these methods instead of using first_y
8093
8094 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * text2.C (pasteSelection): adjust for checkPastePossible
8097
8098         * CutAndPaste.C: remove Paragraph * buf and replace with
8099         ParagraphList paragraphs.
8100         (DeleteBuffer): delete
8101         (cutSelection): change the tc type to textclass_type
8102         (copySelection): change the tc type to textclass_type
8103         (copySelection): adjust for ParagraphList
8104         (pasteSelection): change the tc type to textclass_type
8105         (pasteSelection): adjust for Paragraphlist
8106         (nrOfParagraphs): simplify for ParagraphList
8107         (checkPastePossible): simplify for ParagraphList
8108         (checkPastePossible): remove unused arg
8109
8110         * ParagraphList.C (insert): handle the case where there are no
8111         paragraphs yet.
8112
8113         * CutAndPaste.h: make CutAndPaste a namespace.
8114
8115         * text3.C (dispatch): adjust
8116
8117         * text.C (breakParagraph): add a ParagraphList as arg
8118
8119         * paragraph_funcs.C (breakParagraph): change to take a
8120         BufferParams and a ParagraphList as args.
8121         (breakParagraphConservative): ditto
8122         (mergeParagraph): ditto
8123         (TeXDeeper): add a ParagraphList arg
8124         (TeXEnvironment): ditto
8125         (TeXOnePar): ditto
8126
8127         * buffer.C (readLyXformat2): adjust
8128         (insertStringAsLines): adjust
8129         (latexParagraphs): adjust
8130
8131         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8132         (cutSelection): adjust
8133         (pasteSelection): adjust
8134
8135         * BufferView_pimpl.C (insertInset): adjust
8136
8137 2003-03-05  Angus Leeming  <leeming@lyx.org>
8138
8139         * commandtags.h:
8140         * LyXAction.C (init):
8141         * BufferView_pimpl.C (dispatch):
8142         * lyxfunc.C (getStatus):
8143         remove LFUN_CHILD_INSERT.
8144
8145         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8146
8147 2003-03-05  Angus Leeming  <leeming@lyx.org>
8148
8149         * commandtags.h:
8150         * LyXAction.C (init):
8151         * src/factory.C (createInset):
8152         * lyxfunc.C (getStatus):
8153         * text3.C (dispatch):
8154         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8155
8156         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8157
8158 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * ParagraphList.C (insert): handle insert right before end()
8161         (erase): fix cases where it can be first or last paragraph.
8162
8163 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8166         Paragraph::next and Paragraph::previous
8167         (TeXOnePar): ditto
8168
8169         * text.C (breakParagraph): adjust
8170
8171         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8172         BufferParams& as arg.
8173         (breakParagraph): use ParagraphList::insert
8174         (breakParagraphConservative): take a Buffer* instead of a
8175         BufferParams& as arg.
8176         (breakParagraphConservative): use ParagraphList::insert.
8177
8178         * buffer.C (insertStringAsLines): un-const it
8179         (insertStringAsLines): adjust
8180
8181         * ParagraphList.C (insert): new function
8182
8183         * CutAndPaste.C (pasteSelection): adjust
8184
8185         * text.C (backspace): adjust
8186
8187         * tabular.C (SetMultiColumn): adjust
8188
8189         * CutAndPaste.C (cutSelection): adjust
8190         (pasteSelection): adjust
8191
8192         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8193         Buffer const * as arg
8194
8195         * ParagraphList.C (erase): new function
8196         * paragraph_funcs.C (mergeParagraph): use it
8197         (mergeParagraph): make it take a Buffer* instead of a
8198         BufferParams* as arg
8199
8200         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8201         as arg
8202         (breakParagraphConservative): ditto
8203
8204         * paragraph.h: remove the breakParagraph friend
8205
8206         * paragraph.C (eraseIntern): new function
8207         (setChange): new function
8208
8209         * paragraph_funcs.C (mergeParagraph): make it take a
8210         ParagraphList::iterator instead of a Paragraph *, adjust
8211         accordingly.
8212
8213         * paragraph.h: move an #endif so that the change tracking stuff
8214         also works in the NO_NEXT case.
8215
8216 2003-03-04  Angus Leeming  <leeming@lyx.org>
8217
8218         * commandtags.h:
8219         * LyXAction.C: new LFUN_INSET_MODIFY.
8220
8221         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8222         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8223
8224 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8225
8226         * several files: ws changes only
8227
8228         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8229         (TeXEnvironment): ditto
8230         (TeXDeeper): ditto
8231
8232         * buffer.C (makeLaTeXFile): adjust
8233         (latexParagraphs): make it take ParagraphList::iterator as args
8234
8235 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * buffer.C (latexParagraphs): adjust
8238
8239         * paragraph.C (TeXOnePar): move function...
8240         (optArgInset): move function...
8241         (TeXEnvironment): move function...
8242         * paragraph_pimpl.C (TeXDeeper): move function...
8243         * paragraph_funcs.C: ...here
8244
8245         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8246
8247 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * buffer.C (readInset): remove compability code for old Figure and
8250         InsetInfo insets
8251
8252 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * buffer.C: ws changes
8255         (readInset):
8256
8257         * BufferView_pimpl.C: ditto
8258         * author.C: ditto
8259         * buffer.h: ditto
8260         * bufferlist.h: ditto
8261         * changes.h: ditto
8262         * lyxfunc.C: ditto
8263
8264 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8265
8266         * converter.[Ch]: split into itself +
8267         * graph.[Ch]
8268         * format.[Ch]
8269         * Makefile.am: += graph.[Ch] + format.[Ch]
8270         * MenuBackend.C
8271         * buffer.C
8272         * exporter.C
8273         * importer.C
8274         * lyx_main.C
8275         * lyxfunc.C
8276         * lyxrc.C: added #include "format.h"
8277
8278 2003-02-27  Angus Leeming  <leeming@lyx.org>
8279
8280         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8281           a label.
8282
8283         * factory.C (createInset): add "label" to the factory.
8284
8285         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8286           string and do no more.
8287
8288 2003-02-27  Angus Leeming  <leeming@lyx.org>
8289
8290         * commandtags.h:
8291         * LyXAction.C (init):
8292         * factory.C (createInset):
8293         * BufferView_pimpl.C (dispatch):
8294           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8295
8296         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8297
8298         * lyxfunc.C (dispatch):
8299         * text3.C (dispatch): pass name to params2string.
8300
8301 2003-02-26  Angus Leeming  <leeming@lyx.org>
8302
8303         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8304           blocks together.
8305           Rearrange the ~includes. Strip out the unnecessary ones.
8306
8307         * factory.C (createInset): reformat.
8308           create new insets for the various LFUN_XYZ_APPLY lfuns.
8309
8310 2003-02-26  John Levon  <levon@movementarian.org>
8311
8312         * lyxrow.h:
8313         * lyxrow.C: add isParStart,isParEnd helpers
8314
8315         * paragraph.h: make isInserted/DeletedText take refs
8316
8317         * paragraph_funcs.h:
8318         * paragraph_funcs.C: remove #if 0'd code
8319
8320         * lyxtext.h:
8321         * text3.C:
8322         * text2.C:
8323         * text.C: use lyxrow helpers above.
8324           Move draw and paint routines to RowPainter.
8325           Make several methods use refs not pointers.
8326           Make backgroundColor() const.
8327           Add markChangeInDraw(), isInInset().
8328           Merge changeRegionCase into changeCase.
8329           Make workWidth() shouldn't-happen code into an Assert.
8330
8331         * rowpainter.h:
8332         * rowpainter.C: new class for painting a row.
8333
8334         * vspace.h:
8335         * vspace.C: make inPixels take a ref
8336
8337 2003-02-26  Angus Leeming  <leeming@lyx.org>
8338
8339         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8340         LFUN_REF_APPLY.
8341
8342 2003-02-25  John Levon  <levon@movementarian.org>
8343
8344         * ispell.C: give the forked command a more accurate name
8345
8346 2003-02-22  John Levon  <levon@movementarian.org>
8347
8348         * toc.h:
8349         * toc.C: make TocItem store an id not a Paragraph *
8350           (bug #913)
8351
8352 2003-02-21  Angus Leeming  <leeming@lyx.org>
8353
8354         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8355           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8356           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8357           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8358           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8359           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8360
8361         * BufferView_pimpl.C (dispatch):
8362         * LyXAction.C (init):
8363         * factory.C (createInset):
8364         * lyxfunc.C (getStatus, dispatch):
8365         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8366
8367 2003-02-21  Angus Leeming  <leeming@lyx.org>
8368
8369         * BufferView_pimpl.C (MenuInsertLyXFile):
8370         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8371         * lyxfunc.C (menuNew, open, doImport):
8372           no longer pass a LyXView & to fileDlg.
8373
8374 2003-02-21  Angus Leeming  <leeming@lyx.org>
8375
8376         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8377         * LyXAction.C: change, BIBKEY to BIBITEM.
8378         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8379         Change InsetBibKey to InsetBibitem.
8380         Change BIBKEY_CODE to BIBITEM_CODE.
8381         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8382         * factory.C: replace insetbib.h with insetbibitem.h.
8383         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8384         * paragraph.C: replace insetbib.h with insetbibitem.h.
8385         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8386         Change bibkey() to bibitem().
8387         * text.C: remove insetbib.h.
8388         * text2.C: replace insetbib.h with insetbibitem.h.
8389         change bibkey() to bibitem().
8390         * text3.C: remove insetbib.h.
8391         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8392
8393 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8394
8395         * lyxrc.C (output): enclose user email in quotes (in case there are
8396         several words)
8397
8398 2003-02-18  John Levon  <levon@movementarian.org>
8399
8400         * buffer.h: add std::
8401
8402 2003-02-17  John Levon  <levon@movementarian.org>
8403
8404         * SpellBase.h:
8405         * ispell.h:
8406         * ispell.C:
8407         * pspell.h:
8408         * pspell.C: reworking. Especially in ispell, a large
8409           number of clean ups and bug fixes.
8410
8411         * lyxfunc.C: fix revert to behave sensibly
8412
8413 2003-02-17 André Pönitz <poenitz@gmx.net>
8414
8415         * LyXAction.C:
8416         * commandtags.h: new LFUN_INSERT_BIBKEY
8417
8418         * layout.h:
8419         * lyxlayout.C:
8420         * buffer.C:
8421         * factory.C:
8422         * text.C:
8423         * text2.C:
8424         * text3.C:
8425         * paragraph.[Ch]:
8426         * paragraph_func.C: remove special bibkey handling
8427
8428 2003-02-17  John Levon  <levon@movementarian.org>
8429
8430         * text.C (Delete): fix case where delete at the end of
8431           the very first paragraph would not merge the pars
8432
8433 2003-02-17  John Levon  <levon@movementarian.org>
8434
8435         * lyxrow.C: fix lastPrintablePos()
8436
8437 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8438
8439         * bufferparams.C (writeLaTeX): add a std:here
8440
8441         * buffer.C: and remove a using directive there
8442
8443 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8444
8445         * buffer.C (makeLaTeXFile): move the code that generates the
8446           preamble...
8447
8448         * bufferparams.C (writeLaTeX): ... in this new method
8449
8450         * LaTeXFeatures.C (getEncodingSet): make const
8451           (getLanguages): make const
8452
8453         * MenuBackend.C (binding): returns the binding associated to this
8454           action
8455           (add): sets the status of each item by calling getStatus. Adds
8456           some intelligence.
8457           (read): add support for OptSubMenu
8458           (expand): remove extra separator at the end of expanded menu
8459
8460 2003-02-15  John Levon  <levon@movementarian.org>
8461
8462         * BufferView.C:
8463         * BufferView_pimpl.C:
8464         * bufferlist.h:
8465         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8466           inset code that had no actual effect. Remove unneeded status
8467           code.
8468
8469 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8470
8471         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8472           in preamble
8473
8474 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8475
8476         * text.C (drawLengthMarker): also draw an arrow marker for
8477           symbolic lengths (medskip...)
8478
8479 2003-02-14  John Levon  <levon@movementarian.org>
8480
8481         * tabular.h:
8482         * tabular.C: better method names
8483
8484 2003-02-14  John Levon  <levon@movementarian.org>
8485
8486         * BufferView_pimpl.C:
8487         * bufferlist.C:
8488         * buffer.C:
8489         * converter.C:
8490         * lyx_cb.C:
8491         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8492           it's a more accurate name. Remove some pointless uses.
8493
8494 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8495
8496         * text2.C (LyXText): change order of initilizers to shut off
8497           warnings
8498
8499 2003-02-14  John Levon  <levon@movementarian.org>
8500
8501         * buffer.C: use ParIterator for getParFromID()
8502
8503         * paragraph.h:
8504         * paragraph.C:
8505         * paragraph_pimpl.h:
8506         * paragraph_pimpl.C: remove unused getParFromID()
8507
8508 2003-02-14  John Levon  <levon@movementarian.org>
8509
8510         * buffer.C: remove some very old #if 0'd parse code
8511
8512 2003-02-13  John Levon  <levon@movementarian.org>
8513
8514         * text.h:
8515         * text.C:
8516         * text2.C: move hfillExpansion(), numberOfSeparators(),
8517           rowLast(), rowLastPrintable(), numberofHfills(),
8518           numberOfLabelHfills() ...
8519
8520         * lyxrow.h:
8521         * lyxrow.C: ... to member functions here.
8522
8523         * paragraph.h:
8524         * paragraph.C:
8525         * lyxtext.h:
8526         * text.C: remove LyXText::beginningOfMainBody(), and call
8527           p->beginningOfMainBody() directly. Move the check for
8528           LABEL_MANUAL into the latter.
8529
8530         * text.h:
8531         * text.C:
8532         * text2.C:
8533         * vspace.C:
8534         * BufferView.h:
8535         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8536
8537         * text.h:
8538         * text.C:
8539         * text2.C:
8540         * text3.C:
8541         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8542           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8543
8544 2003-02-13  John Levon  <levon@movementarian.org>
8545
8546         * CutAndPaste.C: remove debug
8547
8548 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8549
8550         * paragraph.C (asString): remove two unused variables
8551
8552         * lyxtextclass.C (readTitleType):
8553           (Read):
8554           (LyXTextClass): handle new members titletype_ and titlename_
8555
8556         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8557
8558 2003-02-09  John Levon  <levon@movementarian.org>
8559
8560         * buffer.h:
8561         * buffer.C: replace hand-coded list with a map for the dep clean
8562
8563 2003-02-08  John Levon  <levon@movementarian.org>
8564
8565         * LaTeX.C: consolidate code into showRunMessage() helper
8566
8567 2003-02-08  John Levon  <levon@movementarian.org>
8568
8569         * lyxfind.C:
8570         * lyxtext.h:
8571         * text2.C:
8572         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8573           and pass the size in explicitly
8574
8575         * BufferView_pimpl.h:
8576         * BufferView_pimpl.C:
8577         * BufferView.h:
8578         * BufferView.C: add getCurrentChange()
8579
8580         * BufferView_pimpl.h:
8581         * BufferView_pimpl.C: handle change lfuns
8582
8583         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8584           for changes. Mark pasted paragraphs as new.
8585
8586         * support/lyxtime.h:
8587         * support/lyxtime.C:
8588         * DepTable.C: abstract time_t as lyx::time_type
8589
8590         * LColor.h:
8591         * LColor.C: add colours for new text, deleted text, changebars
8592
8593         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8594           package use "usenames" option.
8595
8596         * commandtags.h:
8597         * lyxfunc.C:
8598         * LyXAction.C: add change lfuns
8599
8600         * Makefile.am:
8601         * author.h:
8602         * author.C: author handling
8603
8604         * buffer.h:
8605         * buffer.C: add a per-buffer author list, with first entry as
8606           current author. Handle new .lyx tokens for change tracking. Output
8607           author list to .lyx file. Output dvipost stuff to .tex preamble.
8608           Bump lyx format to 222.
8609
8610         * bufferlist.h:
8611         * bufferlist.C: add setCurrentAuthor() to reset current author details
8612           in all buffers.
8613
8614         * bufferparams.h:
8615         * bufferparams.C: add param for tracking
8616
8617         * bufferview_funcs.C: output change info in minibuffer
8618
8619         * Makefile.am:
8620         * changes.h:
8621         * changes.C: add change-tracking structure
8622
8623         * debug.h:
8624         * debug.C: add CHANGES debug flag
8625
8626         * lyxfind.h:
8627         * lyxfind.C: add code for finding the next change piece
8628
8629         * lyxrc.h:
8630         * lyxrc.C: add user_name and user_email
8631
8632         * lyxrow.h:
8633         * lyxrow.C: add a metric for the top of the text line
8634
8635         * lyxtext.h:
8636         * text.C: implement accept/rejectChange()
8637
8638         * lyxtext.h:
8639         * text.C: paint changebars. Paint new/deleted text in the chosen
8640         colours. Strike through deleted text.
8641
8642         * paragraph.h:
8643         * paragraph.C:
8644         * paragraph_pimpl.h:
8645         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8646           in the current change to the insert functions. Rework erase to
8647           mark text as deleted, adding an eraseIntern() and a range-based
8648           erase(). Implement per-paragraph change lookup and
8649           accept/reject.
8650
8651         * paragraph_funcs.C: Fixup paste for change tracking.
8652
8653         * tabular.C: mark added row/columns as new.
8654
8655         * text.C: fix rowLast() to never return -1. Don't allow
8656           spellchecking of deleted text. Track transpose changes. Don't
8657           allow paragraph break or merge where appropriate.
8658
8659         * text2.C: leave cursor at end of selection after a cut.
8660
8661 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8662
8663         * text.C (getLengthMarkerHeight):
8664         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8665         visible on screen too.
8666
8667 2003-02-07  John Levon  <levon@movementarian.org>
8668
8669         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8670
8671 2003-02-05  Angus Leeming  <leeming@lyx.org>
8672
8673         * lyxserver.C (read_ready): revert my patch of 11 September last year
8674         as it sends PC cpu through the roof. Presumably this means that
8675         the lyxserver will no longer run on an Alpha...
8676
8677 2003-01-30  Angus Leeming  <leeming@lyx.org>
8678
8679         * factory.C (createInset): create an InsetCommandParam of type "index"
8680         and use it to 'do the right thing'.
8681
8682         * text2.C (getStringToIndex): ensure that cursor position is always
8683         reset to the reset_cursor position.
8684
8685 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8686
8687         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8688         disabled.
8689
8690 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8691
8692         * bufferview.C:
8693         * lyxcb.C:
8694         * lyxfunc.C: Output messages with identical spelling, punctuation,
8695         and spaces
8696
8697 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8698
8699         * MenuBackend.C (expandFormats): List only viewable export formats
8700         in "View" menu
8701
8702         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8703         message
8704
8705         * lyxfunc.C (getStatus): Make sure that formats other than
8706         "fax" can also be disabled
8707
8708 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8709
8710         * text3.C (dispatch): put the lfuns that insert insets in 3
8711         groups, and call doInsertInset with appropriate arguments.
8712         (doInsertInset): new function, that creates an inset and inserts
8713         it according to some boolean parameters.
8714
8715 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8716
8717         * buffer.C (readFile): remember to pass on 'par' when calling
8718         readFile recursively.
8719
8720 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8721
8722         * MenuBackend.C (expandFormats): add "..." to import formats.
8723
8724 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8725
8726         * paragraph.C (asString): Remove XForms RTL hacks.
8727
8728 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8729         * buffer.C: fix typo
8730
8731 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8732
8733         * Makefile.am (LIBS): delete var
8734         (lyx_LDADD): add @LIBS@ here instead.
8735
8736 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8737
8738         * Clarify the meaning of "wheel mouse jump"
8739
8740 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8741
8742         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8743         tabular in a float
8744
8745 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8746
8747         * importer.C (Loaders): do not preallocate 3 elements in the
8748         vector, since one ends up with 6 elements otherwise
8749
8750 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8751
8752         * DepTable.C (write): write the file name as last element of the
8753         .dep file (because it may contain spaces)
8754         (read): read info in the right order
8755
8756 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8757
8758         * paragraph_pimpl.C (simpleTeXBlanks):
8759         (simpleTeXSpecialChars):
8760         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8761
8762         * tabular.C (latex): add some missing case statements. Reindent.
8763
8764         * MenuBackend.C (expandToc): remove unused variable.
8765
8766 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8767
8768         * LColor.C:
8769         * LaTeX.C:
8770         * LyXAction.C:
8771         * MenuBackend.C:
8772         * buffer.C:
8773         * exporter.C:
8774         * lyxfunc.C:
8775         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8776         and the like.
8777
8778 2003-01-05  John Levon  <levon@movementarian.org>
8779
8780         * BufferView.h:
8781         * BufferView.C: add getEncoding()
8782
8783         * kbsequence.h:
8784         * kbsequence.C: do not store last keypress
8785
8786         * lyxfunc.h:
8787         * lyxfunc.C: store last keypress here instead. Pass encoding
8788           to getISOEncoded()
8789
8790 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8791
8792         * lyx_main.C (init): remove annoying error message when following
8793         symbolic links (bug #780)
8794
8795 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8796
8797         * text.C (insertChar):
8798         * lyxrc.C (getDescription): remove extra spaces
8799
8800 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8801
8802         * lyxrc.C (getDescription): remove extra spaces
8803
8804 2002-12-20  John Levon  <levon@movementarian.org>
8805
8806         * text3.C: hack fix for page up/down across tall rows
8807
8808 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8809
8810         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8811         not been invoked
8812
8813 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8814
8815         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8816         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8817         thesaurus is not compiled in
8818
8819 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8820
8821         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8822
8823 2002-12-16  Angus Leeming  <leeming@lyx.org>
8824
8825         * lyxrc.[Ch]:
8826         * lyx_main.C (init): remove override_x_deadkeys stuff.
8827
8828 2002-12-12  John Levon  <levon@movementarian.org>
8829
8830         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8831           insert. Only remove shift modifier under strict
8832           circumstances.
8833
8834 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8835
8836         * MenuBackend.C (expandToc): fix crash.
8837
8838 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8839
8840         * MenuBackend.C (expandToc): gettext on float names.
8841
8842 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8843
8844         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8845         implement bool empty() [bug 490]
8846
8847 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8848
8849         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8850
8851 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8852
8853         * several files: ws changes
8854
8855 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8856
8857         * text2.C (setCounter): clean up a bit, use boost.format.
8858         (updateCounters): initialize par upon declaration.
8859
8860         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8861         if the layout exists. We do not just store the layout any more.
8862         (SwitchLayoutsBetweenClasses): use boost.format
8863
8864 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8865
8866         * converter.C (convert): if from and to files are the same, use a
8867         temporary files as intermediary
8868
8869 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8870
8871         * commandtags.h:
8872         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8873
8874 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8875
8876         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8877
8878 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8879
8880         * tabular.C (asciiPrintCell): use string(size, char) instead of
8881         explicit loop.
8882
8883         * sgml.C (openTag): fix order of arguments to string constructor
8884         (closeTag): ditto
8885
8886         * lyxfunc.C (dispatch): use boost.format
8887
8888         * lots of files: change "c" -> 'c'
8889
8890 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8891
8892         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8893
8894 2002-11-25  Angus Leeming  <leeming@lyx.org>
8895
8896         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8897
8898         * lyx_main.C (init): compile fix.
8899
8900 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8901
8902         * lyx_cb.C (start): boost.formatify
8903         do not include <iostream>
8904
8905         * lengthcommon.C: ws only
8906
8907         * boost-inst.C,BoostFormat.h: add more explict instantations
8908
8909 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8910
8911         * lots of files: handle USE_BOOST_FORMAT
8912
8913 2002-11-21  John Levon  <levon@movementarian.org>
8914
8915         * pspell.C: fix compile
8916
8917 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8918
8919         * lyxfunc.C (dispatch): use boost::format
8920         (open): ditto
8921         (doImport): ditto
8922
8923         * lyxfont.C (stateText): use boost::format
8924
8925         * lyx_main.C (LyX): use boost::format
8926         (init): ditto
8927         (queryUserLyXDir): ditto
8928         (readRcFile): ditto
8929         (parse_dbg): ditto
8930         (typedef boost::function): use the recommened syntax.
8931
8932         * importer.C (Import): use boost::format
8933
8934         * debug.C (showLevel): use boost::format
8935
8936         * converter.C (view): use boost::format
8937         (convert): ditto
8938         (move): ditto
8939         (scanLog): ditto
8940
8941         * bufferview_funcs.C (currentState): use boost::format
8942
8943         * bufferlist.C (emergencyWrite): use boost::format
8944
8945         * buffer.C (readLyXformat2): use boost::format
8946         (parseSingleLyXformat2Token): ditto
8947
8948         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8949
8950         * LaTeX.C (run): use boost::format
8951
8952         * Chktex.C (scanLogFile): use boost::format
8953
8954         * BufferView_pimpl.C (savePosition): use boost::format
8955         (restorePosition): ditto
8956         (MenuInsertLyXFile): ditto
8957
8958         * BoostFormat.h: help file for explicit instation.
8959
8960 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8961
8962         * tabular.C (latex): Support for block alignment in fixed width
8963         columns.
8964
8965 2002-11-17  John Levon  <levon@movementarian.org>
8966
8967         * BufferView_pimpl.C:
8968         * lyx_cb.C:
8969         * lyxfunc.C: split filedialog into open/save
8970
8971 2002-11-08  Juergen Vigna  <jug@sad.it>
8972
8973         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8974         by my last patch (hopefully).
8975
8976 2002-11-08  John Levon  <levon@movementarian.org>
8977
8978         * iterators.h:
8979         * iterators.C:
8980         * buffer.h:
8981         * buffer.C:
8982         * paragraph.h:
8983         * paragraph.C:
8984         * toc.h:
8985         * toc.C: ParConstIterator, and use it (from Lars)
8986
8987 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8988
8989         * lyxtextclass.[Ch]: revise and add doxygen comments
8990
8991 2002-11-07  John Levon  <levon@movementarian.org>
8992
8993         * text.C: fix progress value for spellchecker
8994
8995         * toc.C: fix navigate menu for insetwrap inside minipage
8996
8997         * paragraph_funcs.C: added FIXME for suspect code
8998
8999 2002-11-07  John Levon  <levon@movementarian.org>
9000
9001         * BufferView_pimpl.C: fix redrawing of insets
9002           on buffer switch
9003
9004 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9005
9006         * text2.C (updateCounters): fix bug 668
9007
9008 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9009
9010         * text3.C (dispatch): Do not make the buffer dirty when moving the
9011         cursor.
9012
9013 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9014
9015         * vc-backend.C: STRCONV
9016         (scanMaster): ditto
9017
9018         * text2.C (setCounter): STRCONV
9019
9020         * paragraph.C (asString): STRCONV
9021
9022         * lyxlength.C (asString): STRCONV
9023         (asLatexString): ditto
9024
9025         * lyxgluelength.C (asString): STRCONV
9026         (asLatexString): ditto
9027
9028         * lyxfunc.C (dispatch): STRCONV
9029         (open): ditto
9030
9031         * lyxfont.C (stateText): STRCONV
9032
9033         * importer.C (Import): STRCONV
9034
9035         * counters.C (labelItem): STRCONV
9036         (numberLabel): ditto
9037         (numberLabel): remove unused ostringstream o
9038
9039         * chset.C: STRCONV
9040         (loadFile): ditto
9041
9042         * bufferview_funcs.C (currentState): STRCONV
9043
9044         * buffer.C (readFile): STRCONV
9045         (asciiParagraph): ditto
9046         (makeLaTeXFile): ditto
9047
9048         * Spacing.C (writeEnvirBegin): STRCONV
9049
9050         * LaTeXFeatures.C (getLanguages): STRCONV
9051         (getPackages): ditto
9052         (getMacros): ditto
9053         (getBabelOptions): ditto
9054         (getTClassPreamble): ditto
9055         (getLyXSGMLEntities): ditto
9056         (getIncludedFiles): ditto
9057
9058         * LaTeX.C: STRCONV
9059         (run): ditto
9060         (scanAuxFile): ditto
9061         (deplog): ditto
9062
9063         * LString.h: add the STRCONV macros
9064
9065         * BufferView_pimpl.C (savePosition): STRCONV
9066         (restorePosition): ditto
9067         (MenuInsertLyXFile): ditto
9068
9069         * vc-backend.C (scanMaster): change from submatch[...] to
9070         submatch.str(...)
9071
9072         * funcrequest.C: include config.h
9073
9074         * factory.C: include config.h
9075
9076         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9077
9078         * box.C: include config.h
9079
9080         * LaTeX.C (scanAuxFile): change from submatch[...] to
9081         submatch.str(...)
9082         (deplog): ditto
9083
9084 2002-10-25  Angus Leeming  <leeming@lyx.org>
9085
9086         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9087
9088         * ispell.[Ch] (setError): new method.
9089         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9090         Use setError() insetead of goto END.
9091
9092         * lyx_cb.C (AutoSave): move out child process into new class
9093         AutoSaveBuffer.
9094
9095 2002-10-30  John Levon  <levon@movementarian.org>
9096
9097         * text3.C: make start appendix undoable
9098
9099 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9100
9101         * lyxlength.C (inPixels): Fix returned value.
9102
9103         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9104         environment.
9105
9106 2002-10-24  Angus Leeming  <leeming@lyx.org>
9107
9108         * lyxgluelength.h: no need to forward declare BufferParams
9109         or BufferView, so don't.
9110
9111 2002-10-21  John Levon  <levon@movementarian.org>
9112
9113         * BufferView.C: menuUndo ->undo, redo
9114
9115         * BufferView.h: document, remove dead, make some methods private
9116
9117         * paragraph_funcs.h:
9118         * paragraph_funcs.C:
9119         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9120
9121         * buffer.h:
9122         * buffer.C:
9123         * sgml.h:
9124         * sgml.C: move sgml open/close tag into sgml.C
9125
9126         * bufferview_funcs.h: unused prototype
9127
9128         * lyxfunc.h:
9129         * lyxfunc.C: remove unused
9130
9131         * lyxtext.h:
9132         * text.C: remove unused
9133
9134 2002-10-21  John Levon  <levon@movementarian.org>
9135
9136         * BufferView.h:
9137         * BufferView.C:
9138         * BufferView_pimpl.h:
9139         * BufferView_pimpl.C: fix mouse wheel handling based on
9140           patch from Darren Freeman
9141
9142 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9143
9144         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9145
9146 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9147
9148         * lyxlength.C (inPixels): Fix hanfling of negative length.
9149         Fix LyXLength::MU case.
9150
9151 2002-10-16  John Levon  <levon@movementarian.org>
9152
9153         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9154
9155 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9156
9157         * converter.C (view): add support for $$i (file name) and $$p
9158         (file path) for the viewer command. If $$i is not specified, then
9159         it is appended to the command (for compatibility with old syntax)
9160
9161 2002-10-14  Juergen Vigna  <jug@sad.it>
9162
9163         * undo_funcs.C (textHandleUndo): alter the order in which the
9164         new undopar is added to the LyXText, as we have to set first
9165         the right prev/next and then add it as otherwise the rebuild of
9166         LyXText is not correct. Also reset the cursor to the right paragraph,
9167         with this IMO we could remove the hack in "redoParagraphs()".
9168
9169 2002-10-09  Angus Leeming  <leeming@lyx.org>
9170
9171         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9172         to turn off an optimisation if a new inset is to be inserted.
9173
9174 2002-10-11 André Pönitz <poenitz@gmx.net>
9175
9176         * lyxtext.h: make some functions public to allow access
9177         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9178
9179 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9180
9181         * text3.C (dispatch): when changing layout, avoid an infinite loop
9182         [bug #652]
9183
9184 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9185
9186         * lyxrc.C (read): treat a viewer or converter command of "none" as
9187         if it were empty.
9188
9189         * MenuBackend.C (expandFormats): for an update, also allow the
9190         formats that are not viewable
9191
9192         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9193         script if it is newer than the lyxrc.defaults in user directory
9194
9195 2002-10-07 André Pönitz <poenitz@gmx.net>
9196
9197         * text.C: Vitaly Lipatov's small i18n fix
9198
9199 2002-09-25  Angus Leeming  <leeming@lyx.org>
9200
9201         * ispell.h: doxygen fix.
9202
9203 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9204
9205         * buffer.h (readFile): Add a new argument to the method, to allow
9206         reading of old-format templates.
9207
9208 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9209
9210         * toc.C (getTocList): Get TOC from InsetWrap.
9211
9212 2002-09-16  John Levon  <levon@movementarian.org>
9213
9214         * lyxfunc.C: check tabular for cut/copy too
9215
9216 2002-09-12  John Levon  <levon@movementarian.org>
9217
9218         * LyXAction.C: tidy
9219
9220         * factory.h:
9221         * factory.C: add header
9222
9223         * paragraph_funcs.h:
9224         * paragraph_funcs.C: cleanup
9225
9226 2002-09-11  John Levon  <levon@movementarian.org>
9227
9228         * PrinterParams.h: odd/even default to true
9229
9230 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9231
9232         * PrinterParams.h: update printer parameters for new xforms dialog
9233
9234 2002-09-11  Angus Leeming  <leeming@lyx.org>
9235
9236         * lyxserver.C (read_ready): re-write to make it more transparent
9237         and to make it work in coherent fashion under Tru64 Unix.
9238
9239 2002-09-11  André Pönitz <poenitz@gmx.net>
9240
9241         * commandtags.h:
9242         * LyXAction.C:
9243         * text3.C: implement LFUN_WORDSEL
9244
9245 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9246
9247         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9248         make floatlist_ a boost::shared_ptr<FloatList>
9249
9250         * lyxtextclass.C: include FloatList.h
9251         (LyXTextClass): initialize floatlist_
9252         (TextClassTags): add TC_NOFLOAT
9253         (Read): match "nofloat" to TC_NOFLOAT and use it.
9254         (readFloat): modify call to floatlist_
9255         (floats): ditto
9256         (floats): ditto
9257
9258         * FloatList.[Ch] (FloatList): remove commented out float
9259         initialization.
9260         (erase): new function
9261
9262 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9263
9264         * MenuBackend.C (expandToc): fix crash when there is no document
9265         open
9266
9267 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9268
9269         * many files: Add insetwrap.
9270
9271 2002-09-09  John Levon  <levon@movementarian.org>
9272
9273         * text2.C: remove confusing and awkward depth wraparound
9274
9275 2002-09-09  John Levon  <levon@movementarian.org>
9276
9277         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9278
9279         * buffer.h:
9280         * buffer.C: remove getIncludeonlyList()
9281
9282         * paragraph.C:
9283         * lyxfunc.C: remove headers
9284
9285 2002-09-09  Juergen Vigna  <jug@sad.it>
9286
9287         * text.C (getColumnNearX): fix form Michael this is most
9288         probably a cut&paste bug.
9289
9290 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9291
9292         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9293
9294         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9295         references, ws changes.
9296
9297         * text2.C (init): update counters after init
9298         (insertParagraph): no need to set counter on idividual paragraphs.
9299         (setCounter): access the counters object in the textclass object
9300         on in the buffer object.
9301         (updateCounters): ditto
9302
9303         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9304         shared_ptr<Counters> to avoid loading counters.h in all
9305         compilation units.
9306         (LyXTextClass): initialize ctrs_
9307         (TextClassTags): add TC_COUNTER, and ...
9308         (Read): use it here.
9309         (CounterTags): new tags
9310         (readCounter): new function
9311         (counters): new funtion
9312         (defaultLayoutName): return a const reference
9313
9314         * counters.C (Counters): remove contructor
9315         (newCounter): remove a couple of unneeded statements.
9316         (newCounter): simplify a bit.
9317         (numberLabel): some small formatting changes.
9318
9319         * buffer.[Ch]: remove all traces of counters, move the Counters
9320         object to the LyXTextClass.
9321
9322 2002-09-06  Alain Castera  <castera@in2p3.fr>
9323
9324         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9325         package to set the horizontal alignment on fixed width columns.
9326
9327         * lyx_sty.C:
9328         * lyx_sty.h: added tabularnewline macro def.
9329
9330         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9331
9332 2002-09-06  John Levon  <levon@movementarian.org>
9333
9334         * LyXAction.C: tooltips for sub/superscript
9335
9336         * MenuBackend.C: a bit more verbose
9337
9338         * lyxfunc.C: tiny clean
9339
9340         * undo_funcs.C: document undo_frozen
9341
9342 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9343
9344         * counters.C (Counters): add missing algorithm counter.
9345
9346         * text2.C (setCounter): lookup the counter with layouts latexname
9347         instead of by section number.
9348         (setCounter): use a hackish way to lookup the correct enum
9349         counter.
9350         a float name->type change
9351         reset enum couners with counter name directly instead of depth value.
9352
9353         * counters.C (Counters): remove the push_backs, change to use the
9354         float type not the float name.
9355         (labelItem): remove unused string, float name->type change
9356
9357         * counters.h: don't include vector, loose the enums and sects vectors
9358
9359 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9360
9361         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9362         (Read): add float->TC_FLOAT to textclassTags
9363         (Read): and handle it in the switch
9364         (readFloat): new function
9365
9366         * FloatList.C (FloatList): comment out the hardcoded float
9367         definitions.
9368
9369         * lyxlayout.h: ws change.
9370
9371 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9372
9373         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9374
9375 2002-09-03  Angus Leeming  <leeming@lyx.org>
9376
9377         * BufferView_pimpl.h: qualified name is not allowed in member
9378         declaration: WorkArea & Pimpl::workarea() const;
9379
9380         * factory.C: added using std::endl directive.
9381
9382         * text3.C: added using std::find and std::vector directives.
9383
9384 2002-08-29  André Pönitz <poenitz@gmx.net>
9385
9386         * lyxtext.h:
9387         * text2.C: remove unused member number_of_rows
9388
9389         * Makefile.am:
9390         * BufferView2.C: remove file, move contents to...
9391         * BufferView.C: ... here
9392
9393         * BufferView_pimpl.C:
9394         * factory.C: move more inset creation to factory
9395
9396         * vspace.C: avoid direct usage of LyXText, ws changes
9397
9398         * BufferView.[Ch]:
9399                 don't provide direct access to WorkArea, use two simple
9400                 acessors haveSelction() and workHeight() instead
9401
9402
9403 2002-08-29  John Levon  <levon@movementarian.org>
9404
9405         * BufferView_pimpl.C (dispatch): do not continue when
9406           no buffer
9407
9408 2002-08-28  André Pönitz <poenitz@gmx.net>
9409
9410         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9411
9412         * BufferView.h:
9413         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9414
9415 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9416
9417         * buffer.C: increment LYX_FORMAT to 221
9418
9419         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9420         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9421
9422         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9423
9424         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9425
9426 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9427
9428         * factory.C (createInset): use LyXTextClass::floats
9429
9430         * MenuBackend.C (expandFloatListInsert):
9431         (expandFloatInsert):
9432         (expandToc):
9433
9434         * text2.C (setCounter):
9435
9436         * LaTeXFeatures.C (useFloat):
9437         (getFloatDefinitions):
9438
9439         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9440
9441         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9442         floatlist_, with accessor floats().
9443
9444         * FloatList.h: remove global FloatList
9445
9446 2002-08-26  André Pönitz <poenitz@gmx.net>
9447
9448         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9449
9450         * BufferView.h:
9451         * BufferView2.C:
9452         * BufferView_pimpl.C:
9453         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9454
9455 2002-08-25  John Levon  <levon@movementarian.org>
9456
9457         * LyXAction.C: fix margin note description
9458
9459 2002-08-24  John Levon  <levon@movementarian.org>
9460
9461         * buffer.C:
9462         * bufferlist.C:
9463         * bufferview_funcs.C:
9464         * lyxfont.C:
9465         * undo_funcs.C: cleanups
9466
9467         * lyxfunc.C: disable CUT/COPY when no selection
9468
9469 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9470
9471         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9472         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9473
9474         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9475         Add backward compatibility to "mono", "gray" and "no".
9476
9477 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9478
9479         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9480         (and file_format >= 200).
9481
9482 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9483
9484         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9485
9486 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9487
9488         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9489
9490 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9491
9492         * BufferView_pimpl.C:
9493         * LyXAction.C:
9494         * buffer.C:
9495         * commandtags.h:
9496         * lyxfunc.C:
9497         * paragraph.[Ch]:
9498         * text2.C:
9499         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9500         inset and code to make it  work with the paragraph code. The inset
9501         can be anywhere in the paragraph, but will only do the expected
9502         thing in LaTeX if the layout file contains the parameter line
9503                         OptionalArgs    1
9504         (or more generally, a nonzero value) for that layout.
9505
9506 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9507
9508         * paragraph.h: remove the declaration of undefined counters class
9509         function.
9510
9511 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9512
9513         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9514         Dr. Richard Hawkins.
9515
9516 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9517
9518         * paragraph_funcs.h: remove some unneeded includes
9519
9520         * text.C (backspace): pasteParagraph now in global scipe
9521
9522         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9523         (pasteSelection): ditto
9524
9525         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9526         * paragraph_funcs.C (pasteParagraph): ... here
9527
9528 2002-08-20  André Pönitz <poenitz@gmx.net>
9529
9530         * commandtags.h: new LFUNs for swapping/copying table row/colums
9531
9532         * LyXAction.C:
9533         * lyxfunc.C: support for new lfuns
9534
9535 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9536
9537         * tabular.C:
9538         * buffer.[Ch]: remove NO_COMPABILITY stuff
9539
9540 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9541
9542         * boost.C (throw_exception): new file, with helper function for
9543         boost compiled without exceptions.
9544
9545         * paragraph.h:
9546         * lyxlength.C:
9547         * buffer.C:
9548         * ParameterStruct.h:
9549         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9550
9551         * bufferlist.C (emergencyWriteAll): use boost bind
9552
9553         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9554
9555         * text.C: include paragraph_funcs.h
9556         (breakParagraph): breakParagraph is now in global scope
9557
9558         * paragraph_funcs.[Ch]: new files
9559
9560         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9561         global scope
9562
9563         * buffer.C: include paragraph_funcs.h
9564         (insertStringAsLines): breakParagraph is now in global scope
9565
9566         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9567         paragraph_funcs.C
9568
9569         * CutAndPaste.C: include paragraph_funcs.h
9570         (cutSelection): breakParagraphConservative is now in global scope
9571         (pasteSelection): ditto
9572
9573         * buffer.h: declare oprator== and operator!= for
9574         Buffer::inset_iterator
9575
9576         * bufferlist.C (emergencyWrite): don't use fmt(...)
9577
9578         * text3.C: add using std::endl
9579
9580         * BufferView.C (moveCursorUpdate): remove default arg
9581
9582 2002-08-20  André Pönitz <poenitz@gmx.net>
9583
9584         * buffer.[Ch]: move inline functions to .C
9585
9586         * BufferView2.C:
9587         * BufferView_pimpl.C:
9588         * text.C:
9589         * buffer.[Ch]: use improved inset_iterator
9590
9591         * buffer.C:
9592         * paragraph.[Ch]: write one paragraph at a time
9593
9594 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9595
9596         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9597         style if style is not specified.
9598
9599 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9600
9601         * text2.C (setCounter): when searching for right label for a
9602         caption, make sure to recurse to parent insets (so that a caption
9603         in a minipage in a figure float works) (bug #568)
9604
9605 2002-08-20  André Pönitz <poenitz@gmx.net>
9606
9607         * text3.C: new file for LyXText::dispatch() and helpers
9608
9609         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9610
9611         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9612
9613 2002-08-19  André Pönitz <poenitz@gmx.net>
9614
9615         * lyxtext.h:
9616         * text.C: new LyXText::dispatch()
9617
9618         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9619
9620 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9621
9622         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9623
9624         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9625         Hebrew text.
9626
9627 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9628
9629         * Makefile.am: use $(variables) instead of @substitutions@
9630
9631 2002-08-15  André Pönitz <poenitz@gmx.net>
9632
9633         * lyxfunc.C:
9634         * BufferView_pimpl.C: streamlining mathed <-> outer world
9635         interaction
9636
9637         * commandtags.h:
9638         * LyXAction.C: remove unused LFUN_MATH
9639
9640 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9641
9642         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9643
9644 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9645
9646         * paragraph.C (Paragraph): reformat a bit
9647         (cutIntoMinibuffer): use builtin InsetList function instad of
9648         doing it manually.
9649         (getInset): ditto
9650
9651         * buffer.C: include boost/bind.hpp, add using std::for_each
9652         (writeFileAscii): use ParagraphList iterators
9653         (validate): use for_each for validate traversal of paragraphs
9654         (getBibkeyList): use ParagraphList iterators
9655         (resizeInsets): use for_each to resizeInsetsLyXText for all
9656         paragraphs.
9657         (getParFromID): use ParagraphList iterators
9658
9659         * BufferView2.C (lockInset): use paragraph list and iterators
9660
9661 2002-08-14  John Levon  <levon@movementarian.org>
9662
9663         * lyxserver.C: remove spurious xforms include
9664
9665 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9666
9667         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9668
9669 2002-08-13  André Pönitz <poenitz@gmx.net>
9670
9671         * LyXAction.[Ch]:
9672         * lyxfunc.C: further cleaning
9673
9674 2002-08-13  André Pönitz <poenitz@gmx.net>
9675
9676         * funcrequest.h: new constructor
9677
9678         * funcrequest.C: move stuff here from .h
9679
9680         * Makefile.am:
9681         * BufferView_pimpl.C:
9682         * LyXAction.C:
9683         * toc.C:
9684         * lyxfunc.C: subsequent changes
9685
9686         * lyxfunc.h: new view() member function
9687
9688         * lyxfunc.C: subsequent changes
9689
9690 2002-08-13  Angus Leeming  <leeming@lyx.org>
9691
9692         * BufferView2.C:
9693         * BufferView_pimpl.C:
9694         * buffer.C:
9695         * converter.C:
9696         * importer.C:
9697         * lyxfunc.C:
9698         * lyxvc.C:
9699         * toc.C:
9700         * vc-backend.C:
9701         changes due to the changed LyXView interface that now returns references
9702         to member variables not pointers.
9703
9704 2002-08-13  Angus Leeming  <leeming@lyx.org>
9705
9706         * WordLangTuple (word, lang_code): return references to strings,
9707         not strings.
9708
9709         * BufferView.h:
9710         * SpellBase.h:
9711         * lyxtext.h: forward-declare WordLangTuple.
9712
9713         * BufferView2.C:
9714         * ispell.C:
9715         * pspell.C:
9716         * text.C: #include "WordLangTuple.h".
9717
9718         * lyxtext.h:
9719         * text.C: (selectNextWordToSpellcheck): constify return type.
9720
9721 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9722
9723         * buffer.C:
9724         * buffer.h:
9725         * lyxtext.h:
9726         * paragraph.C:
9727         * paragraph_pimpl.h:
9728         * text.C:
9729         * text2.C:
9730         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9731         suggested by Angus.
9732         Made updateCounter always count from start of buffer, and removed
9733         second argument (par).
9734         Reverted floats number display to '#'. Perhaps I'll try again when the
9735         code base is sanitized a bit.
9736
9737 2002-08-12  Angus Leeming  <leeming@lyx.org>
9738
9739         * buffer.[Ch] (getLabelList): constify.
9740
9741 2002-08-07  André Pönitz <poenitz@gmx.net>
9742
9743         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9744
9745         * funcrequest.h: extension to keep mouse (x,y) position
9746
9747 2002-08-12  Juergen Vigna  <jug@sad.it>
9748
9749         * BufferView2.C (insertErrors): forbid undo when inserting error
9750         insets.
9751
9752         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9753
9754 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9755
9756         * ParagraphList.[Ch]: new files
9757
9758         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9759
9760         * BufferView2.C (lockInset): ParagraphList changes
9761         * toc.C: ditto
9762         * text2.C: ditto
9763         * bufferlist.C: ditto
9764         * buffer.h: ditto
9765         * buffer.C: ditto
9766
9767 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9768
9769         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9770         unused class variable counter_,
9771
9772         * paragraph.[Ch] (getFirstCounter): delete unused function
9773
9774         * counters.C: include LAssert.h
9775         (reset): add a new function with no arg, change other version to
9776         not have def. arg and to not allow empty arg.
9777
9778         * text2.C (setCounter): remove empty arg from call to Counters::reset
9779
9780 2002-08-11  John Levon  <levon@movementarian.org>
9781
9782         * Makefile.am: add WordLangTuple.h
9783
9784 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9785
9786         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9787         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9788
9789         * insets/insettext.C: InsetList changes
9790
9791         * graphics/GraphicsSupport.C (operator()): InsetList changes
9792
9793         * toc.C (getTocList): InsetList changes
9794
9795         * paragraph_pimpl.[Ch]: InsetList changes
9796
9797         * paragraph.[Ch]: InsetList changes
9798
9799         * buffer.C (inset_iterator): InsetList changes
9800         (setParagraph): ditto
9801         * buffer.h (inset_iterator): ditto
9802         * iterators.C (operator++): ditto
9803         * iterators.h: ditto
9804
9805         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9806
9807         * InsetList.[Ch]: new files, most InsetList handling moved out of
9808         paragraph.C.
9809
9810         * BufferView2.C (removeAutoInsets): InsetList changes
9811         (lockInset): ditto
9812         (ChangeInsets): ditto
9813
9814 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9815
9816         * paragraph_pimpl.h (empty): new function
9817
9818         * paragraph.[Ch] (empty): new function
9819
9820         * other files: use the new Paragraph::empty function
9821
9822 2002-08-09  John Levon  <levon@movementarian.org>
9823
9824         * lyxtext.h: remove unused refresh_height
9825
9826 2002-08-09  John Levon  <levon@movementarian.org>
9827
9828         * Makefile.am:
9829         * sgml.h:
9830         * sgml.C:
9831         * buffer.C:
9832         * paragraph.h:
9833         * paragraph.C: move sgml char escaping out of paragraph
9834
9835         * paragraph.h:
9836         * paragraph.C: remove id setter
9837
9838         * buffer.C:
9839         * paragraph.C:
9840         * paragraph_pimpl.C: remove dead tex_code_break_column
9841
9842         * bufferview_funcs.C: small cleanup
9843
9844         * lyxfunc.C: remove dead proto
9845
9846         * lyxtext.h: make some stuff private. Remove some dead stuff.
9847
9848         * lyxgluelength.C: make as[LyX]String() readable
9849
9850 2002-08-08  John Levon  <levon@movementarian.org>
9851
9852         * LyXAction.h:
9853         * LyXAction.C:
9854         * MenuBackend.C:
9855         * ToolbarDefaults.C:
9856         * lyxfunc.C:
9857         * lyxrc.C:
9858         * toc.C: lyxaction cleanup
9859
9860 2002-08-08  John Levon  <levon@movementarian.org>
9861
9862         * BufferView2.C: small cleanup
9863
9864         * lyxfind.h:
9865         * lyxfind.C: move unnecessary header into the .C
9866
9867 2002-08-08  John Levon  <levon@movementarian.org>
9868
9869         * funcrequest.h: just tedious nonsense
9870
9871         * lyx_main.h:
9872         * lyx_main.C: cleanups
9873
9874         * buffer.C:
9875         * vspace.C: remove dead header lyx_main.h
9876
9877 2002-08-07  Angus Leeming  <leeming@lyx.org>
9878
9879         * Paragraph.[Ch]:
9880         * paragraph_pimpl.h:
9881         Forward declare class Counters in paragraph.h by moving the ctrs member
9882         variable into Paragraph::Pimpl.
9883         (counters): new method, returning a reference to pimpl_->ctrs.
9884
9885         * text2.C: ensuing changes.
9886
9887 2002-08-07  John Levon  <levon@movementarian.org>
9888
9889         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9890
9891         * BufferView_pimpl.C: announce X selection on double/triple
9892           click
9893
9894         * lyx_main.C: use correct bool in batch dispatch
9895
9896         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9897
9898 2002-08-07  André Pönitz <poenitz@gmx.net>
9899
9900         * funcrequest.h: new class to wrap a kb_action and its argument
9901
9902         * BufferView.[Ch]:
9903         * BufferView_pimpl[Ch]:
9904         * LaTeX.C:
9905         * LyXAction.[Ch]:
9906         * lyxfunc.[Ch]:
9907         * lyxrc.C: subsequent changes
9908
9909
9910 2002-08-07  John Levon  <levon@movementarian.org>
9911
9912         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9913           document options change.
9914
9915 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9916
9917         * counters.[Ch]
9918         * text2.C
9919         * paragraph.[Ch]
9920         * makefile.am: move counters functionality over from
9921         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9922
9923 2002-08-06  John Levon  <levon@movementarian.org>
9924
9925         * WordLangTuple.h: new file for word + language code tuple
9926
9927         * SpellBase.h:
9928         * pspell.h:
9929         * pspell.C:
9930         * ispell.h:
9931         * ispell.C:
9932         * lyxtext.h:
9933         * text.C:
9934         * text2.C:
9935         * BufferView.h:
9936         * BufferView2.C: use WordLangTuple
9937
9938         * layout.h:
9939         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9940
9941 2002-08-06  John Levon  <levon@movementarian.org>
9942
9943         * lyx_main.C: fix cmdline batch handling
9944
9945 2002-08-06  André Pönitz <poenitz@gmx.net>
9946
9947         * lyxrc.C: set default for show_banner to true
9948
9949 2002-08-06  John Levon  <levon@movementarian.org>
9950
9951         * pspell.C: fix a crash, and allow new aspell to work
9952
9953 2002-08-06  John Levon  <levon@movementarian.org>
9954
9955         * lyxfunc.C:
9956         * kbmap.C: small cleanup
9957
9958         * vspace.h:
9959         * vspace.C: add const
9960
9961 2002-08-05  John Levon  <levon@movementarian.org>
9962
9963         * LyXAction.C: back to tabular-insert
9964
9965 2002-08-04  John Levon  <levon@movementarian.org>
9966
9967         * BufferView.h:
9968         * BufferView.C: cosmetic change
9969
9970         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9971
9972         * bufferlist.C:
9973         * buffer.h:
9974         * buffer.C:
9975         * lyxcb.h:
9976         * lyxcb.C:
9977         * lyxserver.C:
9978         * lyxvc.C:
9979         * vc-backend.C:
9980         * BufferView2.C: purge all "Lyx" not "LyX" strings
9981
9982         * lyxcursor.h:
9983         * lyxcursor.C: attempt to add some documentation
9984
9985         * lyxfunc.C:
9986         * commandtags.h:
9987         * LyXAction.C:
9988         * ToolbarDefaults.C:
9989         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9990           merge with LFUN_TABULAR_INSERT
9991
9992         * Makefile.am:
9993         * SpellBase.h:
9994         * ispell.h:
9995         * ispell.C:
9996         * pspell.h:
9997         * pspell.C: split up i/pspell implementations into separate
9998           files, many cleanups
9999
10000         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10001
10002         * text2.C: some cleanup
10003
10004         * lyxfunc.C: don't check for isp_command == "none" any more, it
10005           didn't make any sense
10006
10007 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10008
10009         * counters.[Ch]
10010         * text2.C
10011         * paragraph.[Ch]
10012         * makefile.am: move counters functionality over
10013         from text2.C/paragraph.[Ch] to counters.[Ch], and
10014         make proper C++.
10015 2002-08-02  John Levon  <levon@movementarian.org>
10016
10017         * buffer.C: s/lyxconvert/lyx2lyx/
10018
10019 2002-08-02  Angus Leeming  <leeming@lyx.org>
10020
10021         * lyxlex.C: revert John's change as it breaks reading of the user
10022         preamble.
10023
10024 2002-08-02  Angus Leeming  <leeming@lyx.org>
10025
10026         * importer.C (Import):
10027         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10028         changes due to LyXView::view() now returning a boost::shared_ptr.
10029
10030 2002-08-02  John Levon  <levon@movementarian.org>
10031
10032         * lyxlex.C: small cleanup
10033
10034 2002-08-02  John Levon  <levon@movementarian.org>
10035
10036         * text2.C (status): small cleanup, no logic change
10037
10038 2002-08-01  John Levon  <levon@movementarian.org>
10039
10040         * buffer.h:
10041         * buffer.C (writeFile): don't output alerts, caller
10042           handles this
10043
10044         * bufferlist.C:
10045         * lyx_cb.C: from above
10046
10047         * lyxfunc.C: allow to open non-existent files
10048
10049 2002-07-31  John Levon  <levon@movementarian.org>
10050
10051         * lyxserver.C: don't let incidental errors get
10052           in the way (errno)
10053
10054 2002-07-30  John Levon  <levon@movementarian.org>
10055
10056         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10057
10058 2002-07-30  John Levon  <levon@movementarian.org>
10059
10060         * lyxserver.h:
10061         * lyxserver.C: remove I/O callback too
10062
10063 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10064
10065         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10066         log.
10067
10068 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10069
10070         * many files: strip,frontStrip -> trim,ltrim,rtrim
10071
10072 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10073
10074         * PrinterParams.h: remove extern containsOnly, and include
10075         support/lstrings.h instead.
10076
10077         * LaTeX.C (scanAuxFile): modify because of strip changes
10078         (deplog): ditto
10079         * buffer.C (makeLaTeXFile): ditto
10080         * bufferparams.C (writeFile): ditt
10081         * lyxfont.C (stateText): ditto
10082         * lyxserver.C (read_ready): ditto
10083         * vc-backend.C (scanMaster): ditto
10084
10085         * BufferView_pimpl.h: ws changes
10086
10087         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10088
10089 2002-07-26  André Pönitz <poenitz@gmx.net>
10090
10091         * kb_sequence.C: remove unnedred usings
10092
10093 2002-07-26  Juergen Vigna  <jug@sad.it>
10094
10095         * lyxfind.C (LyXReplace): we have to check better if the returned
10096         text is not of theLockingInset()->getLockingInset().
10097
10098 2002-07-25  Juergen Vigna  <jug@sad.it>
10099
10100         * lyxfind.C (LyXReplace): don't replace if we don't get the
10101         right LyXText.
10102
10103         * undo_funcs.C (createUndo): remove debugging code.
10104
10105 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10106
10107         * buffer.C (parseSingleLyXformat2Token): Use default placement
10108         when reading old floats.
10109
10110         * FloatList.C (FloatList): Change the default placement of figure
10111         and tables to "tbp".
10112
10113 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * MenuBackend.C: using std::max
10116
10117 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10118
10119         * MenuBackend.C (expandToc):
10120         (expandToc2): code moved from xforms menu frontend. It is now
10121         generic and TOCs are transparent to menu frontends.
10122
10123 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10124
10125         * toc.C (getTocList): protect against buf=0
10126
10127         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10128         Menu as first parameter. Now, this calls itself recursively to
10129         expand a whole tree (this will be useful for TOC handling)
10130         (expandFloatInsert): remove 'wide' version of floats
10131
10132         * MenuBackend.h (submenuname): returns the name of the submenu.
10133         (submenu): returns the submenu itself, provided it has been
10134         created by MenuBackend::expand
10135
10136 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10139         insets which have noFontChange == true. (bug #172)
10140
10141 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10142
10143         * BufferView_pimpl.C: add connection objects and use them...
10144         (Pimpl): here.
10145
10146 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10147
10148         * MenuBackend.C (expandLastfiles):
10149         (expandDocuments):
10150         (expandFormats):
10151         (expandFloatListInsert):
10152         (expandFloatInsert):
10153         (expand): split expand in parts
10154
10155 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * lyx_gui.C: use lyx_gui::exit()
10158
10159 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * LyXAction.C: show the failing pseudo action
10162
10163 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10164
10165         * buffer.C (readFile): Run the lyxconvert script in order to read
10166         old files.
10167
10168 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * LyXAction.C:
10171         * commandtags.h:
10172         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10173
10174 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * LyXAction.C:
10177         * commandtags.h:
10178         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10179
10180 2002-07-22  Herbert Voss  <voss@lyx.org>
10181
10182         * lengthcommon.C:
10183         * lyxlength.[Ch]: add support for the vertical lengths
10184
10185 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * toc.[Ch]: std:: fixes
10188
10189 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10190
10191         * lyxrc.C: do not include lyx_main.h
10192
10193         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10194         for layouts
10195
10196         * lyxrc.C:
10197         * encoding.C:
10198         * bufferlist.C:
10199         * BufferView2.C: include "lyxlex.h"
10200
10201         * tabular.h:
10202         * bufferparams.h: do not #include "lyxlex.h"
10203
10204         * lyxtextclasslist.C (Add): remove method
10205         (classlist): renamed to classlist_
10206
10207         * paragraph_pimpl.C:
10208         * paragraph.C:
10209         * text2.C:
10210         * CutAndPaste.C:
10211         * bufferview_funcs.C:
10212         * bufferlist.C:
10213         * text.C:
10214         * LaTeXFeatures.C:
10215         * buffer.C:
10216         * toc.C (getTocList): use BufferParams::getLyXTextClass
10217
10218         * toc.C (getTocList): use InsetFloat::addToToc
10219
10220         * toc.[Ch]: new files, containing helper functions to handle table
10221         of contents
10222
10223         * lyxfunc.C (dispatch): no need to remove spaces around command
10224         given as a string
10225         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10226         first command of the sequence; it is not very clever, but I do not
10227         have a better idea, actually
10228
10229         * LyXAction.C (LookupFunc): make sure to remove space at the
10230         beginning and end of the command
10231
10232 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10233
10234         * MenuBackend.C (getMenubar): new method: return the menubar of
10235         this menu set
10236         (read): treat differently reading of menu and menubar (in
10237         particular, the menubar has no name now)
10238         (Menu::menubar): remove
10239
10240         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10241         saving is finished
10242
10243 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10244
10245         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10246         a bibitem inset in a RTL paragraph.
10247
10248 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10249
10250         * paragraph_pimpl.C: constify
10251
10252         * BufferView_pimpl.C:
10253         * LaTeX.C:
10254         * lyxfunc.C: fix dispatch in a nicer way
10255
10256 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10257
10258         * lyxfunc.C (dispatch):
10259         * BufferView_pimpl.C:
10260         * BufferView_pimpl.h:
10261         * BufferView.C:
10262         * BufferView.h: rename Dispatch() to dispatch()
10263
10264         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10265
10266         * lyxlayout.C (Read): honor DependsOn tag
10267
10268         * lyxlayout.[Ch] (depends_on): new method
10269
10270         * version.C.in: update lyx_docversion
10271
10272         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10273
10274         * paragraph.C (validate): remove from here...
10275         * paragraph_pimpl.C (validate): ... and move here
10276         (isTextAt): make it const
10277
10278         * buffer.C (getLists): ws cleanup
10279
10280 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10281
10282         * language.C (read): Use iso8859-1 encoding in latex_lang
10283         (this prevents LyX from crashing when using iso10646-1 encoding).
10284
10285 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10286
10287         * text2.C (toggleInset): if cursor is inside an inset, close the
10288         inset and leave cursor _after_ it
10289
10290 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * lyxfunc.C: move minibuffer completion handling out of here
10293
10294 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * BufferView_pimpl.C:
10297         * LaTeX.C: fix dispatch calls
10298
10299 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10300
10301         * text.C (drawChars): Fix Arabic text rendering.
10302
10303 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10304
10305         * LyXAction.C:
10306         * commandtags.h:
10307         * lyxfunc.C: remove message-push/pop
10308
10309         * lyxserver.C:
10310         * lyxfunc.h:
10311         * lyxfunc.C: rationalise some code by removing verboseDispatch
10312           in favour of a bool argument to dispatch()
10313
10314 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10315
10316         * lyx_main.C (init): make sure to read symlinks as absolute paths
10317
10318 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * lyxfunc.h:
10321         * lyxfunc.C: no need for commandshortcut to be a member
10322
10323 2002-07-15  André Pönitz <poenitz@gmx.net>
10324
10325         * converter.C: add support for $$s (scripts from lib/scripts dir)
10326         * lyx_main.C: white space
10327
10328 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * bufferlist.C:
10331         * lyxrc.h:
10332         * lyxrc.C: remove second exit confirmation
10333
10334 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10335
10336         * BufferView.h:
10337         * BufferView.C:
10338         * BufferView2.C:
10339         * BufferView_pimpl.h:
10340         * BufferView_pimpl.C:
10341         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10342
10343 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * MenuBackend.C (expand): add numeric shortcuts to document menu
10346
10347         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10348
10349 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10350
10351         * lyxfont.C (setLyXFamily):
10352         (setLyXSeries):
10353         (setLyXShape):
10354         (setLyXSize):
10355         (setLyXMisc):
10356         (lyxRead):
10357         * debug.C (value):
10358         * buffer.C (asciiParagraph): use ascii_lowercase
10359
10360 2002-07-15  Mike Fabian  <mfabian@suse.de>
10361
10362         * lyxlex_pimpl.C (search_kw):
10363         * lyxlex.C (getLongString):
10364         * converter.h (operator<):
10365         * converter.C (operator<):
10366         * buffer.C (parseSingleLyXformat2Token):
10367         (asciiParagraph):
10368         * ToolbarDefaults.C (read):
10369         * MenuBackend.C (checkShortcuts):
10370         (read):
10371         * LColor.C (getFromGUIName):
10372         (getFromLyXName): use the compare_ascii_no_case instead of
10373         compare_no_case, because in turkish, 'i' is not the lowercase
10374         version of 'I', and thus turkish locale breaks parsing of tags.
10375
10376 2002-07-16  Angus Leeming  <leeming@lyx.org>
10377
10378         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10379         now takes a Buffer const & argument.
10380
10381 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10382
10383         * BufferView.C (resize): check there's a buffer to resize
10384
10385 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * lyxfunc.C: remove dead code
10388
10389         * lyxserver.h:
10390         * lyxserver.C: use lyx_guii::set_read_callback
10391
10392 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10393
10394         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10395         an inset in a RTL paragraph.
10396
10397 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10398
10399         * lyxfunc.C: repaint after a font size update
10400
10401 2002-07-15  André Pönitz <poenitz@gmx.net>
10402
10403         * lyxlength.C: inBP should be able to return negative values
10404
10405 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * lyxfunc.C: use lyx_gui::update_fonts()
10408
10409 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * lyxfunc.C: use lyx_gui::update_color()
10412
10413 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * bufferlist.C:
10416         * lyxfunc.h:
10417         * lyxfunc.C:
10418         * lyxrc.h:
10419         * lyxrc.C: remove file->new asks for name option, and let
10420           buffer-new take an argument
10421
10422 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10423
10424         * BufferView_pimpl.C: remove unneeded extra repaint()
10425
10426 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10427
10428         * LyXAction.C: allow command-sequence with NoBuffer
10429
10430         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10431
10432 2002-07-10  Angus Leeming  <leeming@lyx.org>
10433
10434         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10435
10436 2002-07-09  Angus Leeming  <leeming@lyx.org>
10437
10438         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10439
10440 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * lengthcommon.h: whitespace
10443
10444         * lyxfunc.C: update scrollbar after goto paragraph
10445
10446         * lyxtext.h: factor out page break drawing, and fix it so
10447           page break/added space paints as selected nicely
10448
10449 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * BufferView_pimpl.C: add FIXMEs, clean up a little
10452
10453 2002-07-09  André Pönitz <poenitz@gmx.net>
10454
10455         * lyxfont.[Ch]: support for wasy symbols
10456
10457 2002-07-08  André Pönitz <poenitz@gmx.net>
10458
10459         * BufferView_pimpl.C: apply John's patch for #93.
10460
10461 2002-07-05  Angus Leeming  <leeming@lyx.org>
10462
10463         * BufferView_pimpl.C (buffer): generate previews if desired.
10464
10465         * LColor.h: add "preview" to the color enum.
10466
10467         * LColor.C (LColor): add a corresponding entry to the items array.
10468
10469         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10470         with this buffer.
10471
10472 2002-07-05  Angus Leeming  <leeming@lyx.org>
10473
10474         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10475         The body of the code is now in the method that is passed an ostream &
10476         rather than a file name.
10477         Pass an additional only_preamble parameter, useful for the forthcoming
10478         preview stuff.
10479
10480 2002-07-03  André Pönitz <poenitz@gmx.net>
10481
10482         * lyxfunc.C: simplify getStatus() a bit for math stuff
10483
10484 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10485
10486         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10487
10488 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * text.C (changeRegionCase): do not change case of all the
10491         document when region ends at paragraph end (bug #461)
10492
10493 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10494
10495         * paragraph.C (startTeXParParams):
10496         (endTeXParParams): add \protect when necessary
10497
10498 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * BufferView_pimpl.C (workAreaExpose): remove warning
10501
10502 2002-06-27  Angus Leeming  <leeming@lyx.org>
10503
10504         * Makefile.am: add lyxlayout_ptr_fwd.h.
10505
10506 2002-06-26  André Pönitz <poenitz@gmx.net>
10507
10508         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10509
10510 2002-06-25  Angus Leeming  <leeming@lyx.org>
10511
10512         * lyxfunc.C (dispatch): Comment out the call to
10513         grfx::GCache::changeDisplay. The method no longer exists now that the
10514         pixmap generation part of the graphics loader has been moved into
10515         InsetGraphics.
10516
10517 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10518
10519         * text2.C: layout as layout
10520
10521         * text.C: layout as layout
10522
10523         * tabular.C (OldFormatRead): layout as layout
10524
10525         * paragraph_pimpl.C (TeXDeeper): layout as layout
10526         (realizeFont): layout as layout
10527
10528         * paragraph.C (writeFile): layout as layout
10529         (validate): layout as layout
10530         (getFont): layout as layout
10531         (getLabelFont): layout as layout
10532         (getLayoutFont): layout as layout
10533         (breakParagraph): layout as layout
10534         (stripLeadingSpaces): layout as layout
10535         (getEndLabel): layout as layout
10536         (getMaxDepthAfter): layout as layout
10537         (applyLayout): layout as layout
10538         (TeXOnePar): layout as layout
10539         (simpleTeXOnePar): layout as layout
10540         (TeXEnvironment): layout as layout
10541         (layout): layout as layout
10542         (layout): layout as layout
10543
10544         * lyxtextclass.C (compare_name): new functor to work with
10545         shared_ptr, layout as layout
10546         (Read): layout as layout
10547         (hasLayout): layout as layout
10548         (operator): layout as layout
10549         (delete_layout): layout as layout
10550         (defaultLayout): layout as layout
10551
10552         * lyxlayout_ptr_fwd.h: new file
10553
10554         * lyxlayout.C (Read): layout as layout
10555
10556         * lyx_cb.C (MenuInsertLabel): layout as layout
10557
10558         * bufferlist.C (newFile): layout as layout
10559
10560         * buffer.C (readLyXformat2): layout as layout
10561         (parseSingleLyXformat2Token): layout as layout
10562         (insertStringAsLines): layout as layout
10563         (asciiParagraph): layout as layout
10564         (latexParagraphs): layout as layout
10565         (makeLinuxDocFile): layout as layout
10566         (simpleLinuxDocOnePar): layout as layout
10567         (makeDocBookFile): layout as layout
10568         (simpleDocBookOnePar): layout as layout
10569         (getLists): layout as layout
10570
10571         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10572
10573         * CutAndPaste.C (cutSelection): layout as layout
10574         (pasteSelection): layout as layout
10575         (SwitchLayoutsBetweenClasses): layout as layout
10576
10577         * BufferView_pimpl.C (Dispatch): layout as layout
10578         (smartQuote): layout as layout
10579
10580         * BufferView2.C (unlockInset): layout as layout
10581
10582 2002-06-24  André Pönitz <poenitz@gmx.net>
10583
10584         * lyxfunc.C: fix #487
10585
10586 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * lyxrc.h:
10589         * lyxrc.C:
10590         * lyxfunc.C: remove display_shortcuts, show_banner
10591
10592 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * Buffer_pimpl.C: oops, update on resize
10595
10596 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * buffer.C:
10599         * converter.C:
10600         * exporter.C:
10601         * lyxfunc.C:
10602         * BufferView.h:
10603         * BufferView.C: use repaint()
10604
10605         * BufferView_pimpl.h:
10606         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10607           as it's a clearer description. Remove superfluous
10608           redraws.
10609
10610 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10611
10612         * text.C: fix bug 488. Not ideal, but getting
10613           getWord() to work properly for the insets that
10614           matter is more difficult ...
10615
10616 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * BufferView_pimpl.C:
10619         * LyXAction.C:
10620         * commandtags.h:
10621         * lyxfunc.C: remove the six million index lyxfuncs to just
10622           one, and DTRT (bug 458)
10623
10624 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * BufferView.h:
10627         * BufferView.C:
10628         * BufferView_pimpl.h:
10629         * BufferView_pimpl.C: clean up resize() stuff,
10630           and unnecessary updateScreen()s
10631
10632 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * BufferView.h:
10635         * BufferView.C:
10636         * BufferView_pimpl.h:
10637         * BufferView_pimpl.C:
10638         * lyxfind.h:
10639         * lyxfind.C:
10640         * minibuffer.C: remove focus management of workarea,
10641           not needed. Use screen's greyOut()
10642
10643 2002-06-17  Herbert Voss  <voss@lyx.org>
10644
10645         * converter.C: (convert) do not post a message, when converting
10646         fails, let the calling function decide what to do in this case
10647
10648 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * lyxfunc.C: tidy up a little
10651
10652 2002-06-16    <alstrup@diku.dk>
10653
10654         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10655         Got rid of FORMS_H_LOCATION include. Now we are
10656         GUII.
10657
10658 2002-06-15  LyX Development team  <lyx@rilke>
10659
10660         * buffer.[Ch] (sgmlOpenTag):
10661         (sgmlCloseTag): Added support for avoiding pernicious mixed
10662         content. Return number of lines written.
10663
10664         (makeLinuxDocFile):
10665         (makeDocBookFile): Fixed calls to sgml*Tag.
10666         Simple white space clean.
10667
10668         (simpleDocBookOnePar): Simple white space clean.
10669
10670         * tabular.[Ch] (docBook): Renamed to docbook and got another
10671         argument to related with the pernicious mixed content.
10672
10673         (docbookRow): Fixed calls for docbook inset method.
10674
10675 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10676
10677         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10678         so it's X11 independent.
10679
10680         * kb*.[Ch]: ditto.
10681
10682         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10683
10684 2002-06-15  Lyx Development team  <lyx@electronia>
10685
10686         * intl.h: Renamed getTrans to getTransManager.
10687
10688 2002-06-14  Angus Leeming  <leeming@lyx.org>
10689
10690         * Makefile.am: nuke forgotten stl_string_fwd.h.
10691
10692 2002-06-12  Angus Leeming  <leeming@lyx.org>
10693
10694         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10695
10696 2002-06-13  Angus Leeming  <leeming@lyx.org>
10697
10698         * LaTeX.C:
10699         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10700
10701 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10702
10703         * kbmap.C (getiso): add support for cyrillic and greek
10704
10705 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * BufferView.h:
10708         * BufferView.C:
10709         * BufferView_pimpl.h:
10710         * BufferView_pimpl.C: move bogus scrolling logic
10711           to xforms
10712
10713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * lyxfunc.C:
10716         * BufferView_pimpl.C: view->resize() change
10717
10718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * BufferView_pimpl.C: topCursorVisible
10721           prototype change
10722
10723 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * Makefile.am:
10726         * lyx_gui.h:
10727         * lyx_gui.C: move to frontends/
10728
10729         * main.C:
10730         * lyx_main.h:
10731         * lyx_main.C: changes from above
10732
10733 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * intl.C:
10736         * intl.h:
10737         * kbmap.C:
10738         * kbsequence.C:
10739         * lyx_cb.C:
10740         * lyx_main.C: minor tidy
10741
10742 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * BufferView_pimpl.h:
10745         * BufferView_pimpl.C:
10746         * BufferView.h:
10747         * BufferView.C: make painter() const,
10748           remove dead code
10749
10750         * BufferView2.C: use screen() accessor
10751
10752         * lyx_main.h:
10753         * lyx_main.C: some minor cleanup
10754
10755 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10756
10757         * BufferView_pimpl.h:
10758         * BufferView_pimpl.C: remove enter/leaveView,
10759           use workHeight()
10760
10761 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * BufferView.h:
10764         * BufferView.C:
10765         * BufferView2.C:
10766         * BufferView_pimpl.h:
10767         * BufferView_pimpl.C: only construct screen once,
10768           rename
10769
10770         * lyxrc.C: remove pointless comment
10771
10772 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * BufferView.h:
10775         * BufferView.C: remove active() and belowMouse()
10776
10777         * BufferView_pimpl.h:
10778         * BufferView_pimpl.C: use workarea() not workarea_,
10779           and make it use a scoped_ptr instead
10780
10781 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * lyx_gui.C: add debug message on BadWindow
10784
10785 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10786
10787         * sp_spell.C: fdopen is not part of the C++ standard.
10788
10789         * paragraph.C (InsetIterator): use >= instead of ==
10790
10791 2002-06-07  Angus Leeming  <leeming@lyx.org>
10792
10793         Fixes needed to compile with Compaq cxx 6.5.
10794         * BufferView_pimpl.C:
10795         * DepTable.C:
10796         * buffer.C:
10797         * converter.C:
10798         * encoding.C:
10799         * lyx_gui.C:
10800         * lyx_main.C:
10801         * lyxtextclasslist.C:
10802         * minibuffer.C:
10803         * sp_spell.C:
10804         * tabular_funcs.C:
10805         * vc-backend.C:
10806         all c-library variables have been moved into namespace std. Wrap
10807         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10808
10809         * lyxlength.C:
10810         * tabular-old.C:
10811         * tabular.C:
10812         Add a using std::abs declaration.
10813
10814         * kbmap.h (modifier_pair):
10815         * paragraph.h (InsetTable, InsetList):
10816         * lyxfont.h (FontBits):
10817         type definition made public.
10818
10819         * bufferlist.C (emergencyWriteAll): the compiler complains that
10820         there is more than one possible lyx::class_fun template to choose from.
10821         I re-named the void specialisation as lyx::void_class_fun.
10822
10823         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10824
10825         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10826         the compiler is is unable to find tostr in write_attribute.
10827
10828 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10829
10830         * buffer.C (sgmlError): hide #warning
10831
10832 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10833
10834         * xtl/*: get rid of xtl, which is not in use anyway
10835
10836         * LyXAction.C (init):
10837         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10838         were unimplemented xtl experimentation
10839
10840 2002-06-04  André Pönitz <poenitz@gmx.net>
10841
10842         * lyxfunc.C: disable array operation on simple formulae
10843
10844 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10845
10846         * converter.C: constify a bit
10847
10848 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * lyx_gui.C: check xforms version correctly
10851
10852 2002-04-30  Herbert Voss  <voss@lyx.org>
10853
10854         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10855         "keep" option
10856
10857 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10858
10859         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10860           attempt to register it with a VCS)
10861
10862 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10863
10864         * lyx_main.C (init): honor variables LYX_DIR_13x and
10865         LYX_USERDIR_13x
10866
10867 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * buffer.h:
10870         * buffer.C:
10871         * lyx_main.C: fix a crash on bad command line,
10872           and give a useful exit status on error
10873
10874         * lyxfunc.C (doImport): allow -i lyx to work
10875
10876 2002-03-30  André Pönitz <poenitz@gmx.net>
10877
10878         * lyxfunc.C: mathed font changes
10879
10880 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10881
10882         * LaTeX.C:
10883         * importer.h:
10884         * importer.C:
10885         * lyx_sty.h:
10886         * lyx_sty.C:
10887         * lyxlex.C:
10888         * lyxrow.h:
10889         * lyxtext.h:
10890         * paragraph.h:
10891         * paragraph.C:
10892         * texrow.h:
10893         * texrow.C:
10894         * text.C:
10895         * trans_mgr.h: srcdocs, and some minor cleanups
10896
10897 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10898
10899         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10900         call getFont all the time)
10901
10902 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * switch from SigC signals to boost::signals
10905
10906 2002-05-29  André Pönitz <poenitz@gmx.net>
10907
10908         * paragraph_pimpl.C (getChar): don't call size() too often...
10909
10910 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10911
10912         * paragraph_pimpl.C (insertChar): do not try to update tables when
10913         appending (pos == size())
10914
10915         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10916         in order to reduce drastically the number of comparisons needed to
10917         parse a large document
10918
10919 2002-05-29  André Pönitz <poenitz@gmx.net>
10920
10921         * text.C:
10922         * text2.C:
10923         * lyxtextclass.C:
10924         * sp_pspell.h:
10925         * textclasslist.[Ch]:
10926         * sp_ispell.h: whitespace change
10927
10928 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10929
10930         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10931         lyxaction directly now.
10932
10933 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * trans.C:
10936         * lyxfont.C:
10937         * lyxvc.C: remove unused headers
10938
10939 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10940
10941         * Makefile.am:
10942         * buffer.h:
10943         * undostack.h:
10944         * undostack.C:
10945         * undo_funcs.h:
10946         * undo_funcs.C: some cleanups. Use shared_ptr
10947           and a template for the undo stacks.
10948
10949 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * BufferView_pimpl.h:
10952         * BufferView_pimpl.C:
10953         * kbmap.h:
10954         * kbmap.C:
10955         * kbsequence.h:
10956         * kbsequence.C:
10957         * lyxfunc.h:
10958         * lyxfunc.C:
10959         * text2.C: use key_state/mouse_state
10960
10961 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10962
10963         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10964         and LSubstring
10965
10966         * chset.C: change include order
10967         (loadFile): use boost regex and get rid of LRegex and LSubstring
10968
10969         * Makefile.am (BOOST_LIBS): new variable
10970         (lyx_LDADD): use it
10971
10972         * LaTeX.C: change include order.
10973         (scanAuxFile): use boost regex and get rid of LRegex and
10974         LSubstring
10975         (deplog): ditto
10976
10977 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * ColorHandler.h:
10980         * ColorHandler.C:
10981         * FontInfo.h:
10982         * FontInfo.C: moved to frontends/xforms/
10983
10984         * FontLoader.h:
10985         * FontLoader.C: moved into frontends for GUIIzation
10986
10987         * Makefile.am:
10988         * lyx_gui.C:
10989         * lyxfont.C:
10990         * lyxfunc.C: changes from above
10991
10992 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * LColor.C: remove spurious X include
10995
10996         * BufferView_pimpl.C:
10997         * Makefile.am:
10998         * font.h:
10999         * font.C:
11000         * text.C:
11001         * text2.C: move font metrics to frontends/
11002
11003 2002-05-24  Juergen Vigna  <jug@sad.it>
11004
11005         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11006         setting the undo_cursor.
11007
11008         * ParagraphParameters.h: include local includes first.
11009
11010 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11011
11012         * BufferView_pimpl.C:
11013         * BufferView_pimpl.h:
11014         * Makefile.am:
11015         * WorkArea.h:
11016         * WorkArea.C:
11017         * screen.C: move WorkArea into frontends/
11018
11019         * lyxscreen.h:
11020         * screen.C:
11021         * text.C:
11022         * BufferView.C:
11023         * BufferView2.C: move LyXScreen into frontends/
11024
11025         * lyxlookup.h:
11026         * lyxlookup.C:
11027         * lyx_gui.C: move lyxlookup into frontends/xforms/
11028
11029 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * BufferView2.C:
11032         * BufferView_pimpl.C:
11033         * FontLoader.C:
11034         * LyXView.h:
11035         * LyXView.C:
11036         * Makefile.am:
11037         * WorkArea.C:
11038         * XFormsView.h:
11039         * XFormsView.C:
11040         * buffer.C:
11041         * bufferlist.C:
11042         * bufferview_funcs.C:
11043         * converter.C:
11044         * importer.C:
11045         * lyx_cb.C:
11046         * lyx_gui.C:
11047         * lyx_main.C:
11048         * lyx_find.C:
11049         * lyxfunc.C:
11050         * lyxvc.C:
11051         * minibuffer.C:
11052         * text.C:
11053         * text2.C:
11054         * trans.C:
11055         * vc-backend.C: move LyX/XFormsView into frontends/
11056
11057 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * Makefile.am:
11060         * PainterBase.C:
11061         * PainterBase.h:
11062         * Painter.C:
11063         * Painter.h:
11064         * WorkArea.C:
11065         * WorkArea.h:
11066         * screen.C:
11067         * tabular.C:
11068         * text.C:
11069         * text2.C: move Painter to frontends/
11070
11071 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11072
11073         * buffer.C: comment out some some code that depend upon lyx_format
11074         < 220
11075
11076         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11077         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11078
11079         * buffer.h (NO_COMPABILITY): turn off compability
11080
11081         * ColorHandler.C: include scoped_array.hpp
11082
11083         * font.C: Use more specific smart_ptr header.
11084         * Painter.C: ditto
11085         * gettext.C: ditto
11086         * ShareContainer.h: ditto
11087         * lyx_main.h: ditto
11088         * kbmap.h: ditto
11089         * FontInfo.h: ditto
11090         * BufferView_pimpl.h: ditto
11091         * ColorHandler.h: ditto
11092
11093         * kbmap.C (defkey): change call to shared_ptr::reset
11094
11095 2002-05-21  Juergen Vigna  <jug@sad.it>
11096
11097         * buffer.C (insertErtContents): fix to insert ert asis if it is
11098         non empty. Skip it completely if it contains only whitespaces.
11099
11100 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * BufferView_pimpl.C:
11103         * BufferView2.C: clear selection on paste (bug 393)
11104
11105 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11106
11107         * DepTable.C: include ctime
11108
11109 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11110
11111         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11112
11113 2002-05-14  Juergen Vigna  <jug@sad.it>
11114
11115         * text.C (breakParagraph): fixed function to honor the keepempty
11116         layout in the right maner and also to permit the right breaking
11117         algorithm on empty or non empyt keepempty paragraphs.
11118
11119         * paragraph.C (breakParagraph): we have to check also if the par
11120         is really empty (!size()) for isempty otherwise we do the wrong
11121         paragraph break.
11122
11123 2002-05-10  Juergen Vigna  <jug@sad.it>
11124
11125         * buffer.[Ch] : The following are only changes to the ert
11126         compatibility read reading old LaTeX layout and font stuff and
11127         convert it to ERTInsets.
11128
11129         * buffer.h: added isErtInset().
11130
11131         * buffer.C (struct ErtComp): add a fromlayout bool to check
11132         if we're inside a LaTeX layout.
11133         (isErtInset): new helper function.
11134         (insertErtContents): look for other ert insets before this one
11135         and insert the contents there, so that we don't have subsequent
11136         ERT insets with nothing between them. This way we create only one
11137         inset with multiple paragraphs. Also check if we don't insert only
11138         spaces ' ' as they are ignored anyway afterwards in the .tex file
11139         so if we have only spaces we will ignore this latex part in the
11140         new file.
11141         (parseSingleLyXformat2Token \\layout): better compatibility when
11142         reading layout-latex stuff.
11143         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11144         language tag.
11145         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11146         stuff after reading the inset only get the information back from
11147         the stack.
11148
11149 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11150
11151         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11152
11153         * LaTeXFeatures.C (getBabelOptions): New method.
11154
11155 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11156
11157         * BufferView_pimpl.C (Dispatch): work around missing argument for
11158         'layout'
11159
11160 2002-05-08  Juergen Vigna  <jug@sad.it>
11161
11162         * text.C (leftMargin): handle paragraph leftindent.
11163
11164         * paragraph.C (writeFile): write the new \\leftindent tag.
11165         (validate): handle leftindent code.
11166         (TeXEnvironment): handle paragraphleftindent code again.
11167
11168         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11169
11170         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11171         for paragrap_extra indent code and new token \\leftindent.
11172         (latexParagraphs): handle the leftindent as environment.
11173
11174         * ParameterStruct.h: added leftindent support.
11175
11176         * ParagraphParameters.C (leftIndent): added support functions for
11177         the paragraph left indent.
11178
11179         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11180         more appropriate.
11181
11182 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11183
11184         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11185         inside insetERT.
11186
11187         * text.C (computeBidiTables): No bidi in insetERT.
11188
11189         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11190         in RTL documents.
11191
11192 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * version.C.in: pre 5
11195
11196 2002-05-02  José Matos  <jamatos@fep.up.pt>
11197         * buffer.C (makeDocBookFile): white space changes, add newline to
11198         command styles.
11199         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11200
11201         * tabular.C (docBook): fix typo.
11202
11203 2002-05-03  Juergen Vigna  <jug@sad.it>
11204
11205         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11206         change in LyXText as we can not be sure it was not freed.
11207         (drawOneRow): remove unused code.
11208
11209         * text.C (drawInset): redo the calculation of the need_break_row as
11210         it could have a row which was already freed.
11211         (draw): look at the return value of drawInset and return false if
11212         it also returned false.
11213         (paintRowText): look at the return value of draw and return false if
11214         it also returned false.
11215
11216         * lyxtext.h: added bool return type to drawInset() and draw() so that
11217         if we have a change in the row so that the rowbreak has to be redone
11218         we abort drawing as it will be called again.
11219
11220 2002-05-02  Juergen Vigna  <jug@sad.it>
11221
11222         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11223         a change in the maintext also if we're inside an inset.
11224         (Dispatch): set the cursor again after a break line and after the
11225         screen has been updated as it could be we're in a different row.
11226
11227         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11228         to set the cursor behind the pargraph with > size().
11229         (setCursor): check also for the same paragraph when checking where
11230         to put the cursor if we have a NFR inset.
11231
11232         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11233         parts of layout read further up as it still was in the wrong
11234         position.
11235
11236 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * screen.C (drawFromTo): change sine fullRebreak always return
11239         true.
11240
11241         * buffer.C (parseSingleLyXformat2Token): reindent some
11242
11243         * BufferView_pimpl.C (update): change since fullRebreak always
11244         return true.
11245         (Dispatch): git rid of the last hardcoded "Standard"s.
11246
11247 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11248
11249         * text2.[Ch] (fullRebreak): make it return void now that we always
11250         returned true.
11251
11252 2002-04-30  Juergen Vigna  <jug@sad.it>
11253
11254         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11255         ert compatibility check for "latex" layout.
11256
11257 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11258
11259         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11260         minipages: use col% instead of p%, and also use the current font.
11261         (makeLaTeXFile): Fix use babel condition.
11262         (parseSingleLyXformat2Token): Correct font when reading old floats.
11263
11264 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11265
11266         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11267         inserting list of floats.
11268
11269 2002-04-25  Herbert Voss  <voss@lyx.org>
11270
11271         * MenuBackend.C (expand): don't add the graphics extensions to the
11272         export menu
11273
11274 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11275
11276         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11277         non-existing layout, do not complain if it was the default layout
11278         of the original class (bug #342)
11279
11280 2002-04-24  Juergen Vigna  <jug@sad.it>
11281
11282         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11283         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11284
11285 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11286
11287         * buffer.C (getBibkeyList): If using \bibliography, return the
11288         option field with the reference itself. Enables us to provide natbib
11289         support when using \bibliography.
11290
11291 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11292
11293         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11294
11295         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11296         natbib is provided by the LaTeX class.
11297
11298 2002-04-23  Juergen Vigna  <jug@sad.it>
11299
11300         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11301         Wakeup functions.
11302
11303         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11304
11305 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11308
11309         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11310         ensuremath around textordmasculine, textordfeminine and
11311         textdegree.
11312
11313 2002-04-19  Juergen Vigna  <jug@sad.it>
11314
11315         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11316         reinitializing the buffer otherwise row-dimensions may be wrong.
11317         (update): reset also the selection cursors if they do exits otherwise
11318         their x/y positions may be wrong.
11319
11320         * text2.C (cursorDown): don't enter the inset if we came from a row
11321         above and are one row over the inset.
11322
11323         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11324         really leaving an inset.
11325
11326 2002-04-18  Juergen Vigna  <jug@sad.it>
11327
11328         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11329         of the selected paragraph does not have the selected layout also if
11330         the last one had!
11331
11332         * text2.C (setLayout): fixed bug which did not change last selected
11333         paragraph.
11334
11335         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11336         changed the read and substituted \\end_float with \\end_inset!
11337
11338         * BufferView_pimpl.C (cursorPrevious):
11339         (cursorNext): fixed to make it work with rows heigher than the work
11340         area without moving the cursor only the draw of the row.
11341         (workAreaMotionNotify): fix jumping over high rows.
11342
11343 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11346         Ressler.
11347
11348 2002-04-16  Juergen Vigna  <jug@sad.it>
11349
11350         * text2.C (setCursor): set also the irow().
11351         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11352         (cursorUp):
11353         (cursorDown): support for locking an inset if the x_fix value goes
11354         inside it. That way I can transverse insets too with cursor up/down.
11355
11356         * lyxrow.h: added irow helper function same as other (i) functions.
11357
11358         * BufferView_pimpl.C (cursorPrevious):
11359         (cursorNext): fixed for insets!
11360
11361 2002-04-15  Juergen Vigna  <jug@sad.it>
11362
11363         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11364         position otherwise it is wrong in some cases.
11365
11366         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11367         inside the inset before the call.
11368
11369 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11370
11371         * buffer.[Ch] (getBibkeyList): make it const.
11372
11373 2002-04-12  Juergen Vigna  <jug@sad.it>
11374
11375         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11376
11377         * text2.C (getCursorX): new helper function
11378         (setCursor): compute also ix_
11379         (setCursorFromCoordinates): set also ix.
11380
11381         * lyxcursor.h: added ix_ and helper functions.
11382
11383         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11384
11385         * buffer.C (insertStringAsLines): dont break paragraph if the this
11386         paragraph is inside an inset which does not permit it!
11387
11388         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11389         also with no chars on this paragraph.
11390         (paintRowText): only paint stuff if it's inside the workarea!
11391
11392         * paragraph.C (breakParagraph): honor keepempty flag and break the
11393         paragraph always below not above.
11394
11395         * BufferView2.C (unlockInset): update the paragraph layout on inset
11396         unlock as we changed paragraph in such a case.
11397
11398         * lyxfind.C (LyXFind): clear the former selection if not found!
11399
11400         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11401         again called in insertChar().
11402
11403         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11404         an inset which uses the whole row!
11405         (rightMargin): ditto.
11406         (insertChar): force a rebreak if we inserted an inset!
11407
11408 2002-03-28  Herbert Voss  <voss@lyx.org>
11409
11410         * lyxlength.[Ch]: add inBP() to get the right PS-point
11411         units (BigPoint). With inPixels we have rounding errors
11412
11413 2002-04-11  Juergen Vigna  <jug@sad.it>
11414
11415         * text2.C (setCursorFromCoordinates): set iy to the right value.
11416         (setCursor): add check if row->previous exists!
11417
11418         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11419         an old float_type as this was the case in the old code!
11420
11421         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11422
11423         * BufferView2.C (showLockedInsetCursor): use iy
11424         (fitLockedInsetCursor): ditto
11425
11426         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11427         locked insets as there we have the right value now.
11428
11429         * lyxcursor.C: added iy_ variable and iy functions to set to the
11430         baseline of cursor-y of the locked inset.
11431
11432         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11433         (setCursor): fixed for insets which need a full row.
11434
11435         * text.C (rowLastPrintable): don't ignore the last space when before
11436         an inset which needs a full row.
11437         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11438         as last character of a row when before a inset which needs a full row.
11439
11440 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * version.C.in: update date
11443
11444         * text2.C (fullRebreak): try to always return true and see what
11445         happens...
11446
11447 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * MenuBackend.C (expand): use Floating::listName
11450
11451         * FloatList.C (FloatList): add listName argument to the built-in
11452         floats
11453
11454         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11455         text associated with the float.
11456
11457 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11458
11459         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11460
11461 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * ShareContainer.h: add a couple of missing typenames.
11464
11465 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11466
11467         * lyxrc.C (getDescription): use _() correctly rather than N_().
11468
11469 2002-03-28  Herbert Voss  <voss@lyx.org>
11470
11471         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11472         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11473
11474 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11477         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11478
11479 2002-03-29  Juergen Vigna  <jug@sad.it>
11480
11481         * lyxfunc.C (dispatch): add a missing fitCursor call.
11482
11483         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11484         it was scrolled by a cursor move, so return the bool status.
11485
11486         * BufferView.C (fitCursor): return the bool flag also to the outside
11487         world as this is needed.
11488
11489         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11490
11491         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11492         call the edit() as it is not needed (and wrong) IMO.
11493         (workAreaButtonPress): set the screen_first variable before evt.
11494         unlock the inset as this may change screen_first and then we have
11495         a wrong y position for the click!
11496
11497 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11498
11499         * MenuBackend.C (expand): another translation that I missed
11500
11501 2002-03-28  Juergen Vigna  <jug@sad.it>
11502
11503         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11504
11505         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11506
11507 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11508
11509         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11510
11511         * MenuBackend.C (expand): fix export/view/update when there is no
11512         document open.
11513
11514 2002-03-27  Herbert Voss  <voss@lyx.org>
11515
11516         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11517         and text%
11518
11519 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11520
11521         * bufferview_funcs.C (currentState): only show paragraph number
11522         for is DEVEL_VERSION is set.
11523
11524         * lyxfunc.C (dispatch): put warning in INFO channel
11525
11526         * MenuBackend.C (expand): translate the name of floats
11527
11528         * FloatList.C (FloatList): mark the float names for translation
11529
11530         * converter.C (convert): use LibScriptSearch
11531
11532 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * MenuBackend.C (defaults): fix default menu (we might as well get
11535         rid of it...)
11536
11537 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11540         directory.
11541
11542 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * lyxvc.C: reorder includes.
11545
11546 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11549           properly
11550
11551 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11552
11553         * CutAndPaste.C: change layouts earlier on paste
11554           to avoid crashing when calling getFont()
11555
11556 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11557
11558         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11559         irritating #error.
11560
11561 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11562
11563         * WorkArea.C: remove 'Pending' debug message.
11564
11565         * most files: ws cleanup
11566
11567         * buffer.[Ch]: ws changes
11568
11569         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11570
11571 2002-03-21  Juergen Vigna  <jug@sad.it>
11572
11573         * tabular.C (SetMultiColumn): collapse also the contents of the
11574         cells and set the last border right. Added a Buffer const * param.
11575
11576 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11577
11578         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11579         linking or not.
11580
11581 2002-03-19  Juergen Vigna  <jug@sad.it>
11582
11583         * text2.C (clearSelection): reset also xsel_cache.
11584
11585         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11586         where it needs to be called (John tells us to do so too :)
11587         (selectionLost): reset sel_cache.
11588
11589         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11590
11591 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11592
11593         * text2.C (setCursorIntern): put debuging code in INSETS channel
11594
11595 2002-03-19  André Pönitz <poenitz@gmx.net>
11596
11597         * lyxfunc.C: tiny whitespace change
11598
11599 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11600
11601         * ToolbarDefaults.C (init):
11602         * LyXAction.C (init):
11603         * commandtags.h:
11604         * BufferView_pimpl.C (Dispatch):
11605         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11606
11607 2002-03-19  Allan Rae  <rae@lyx.org>
11608
11609         * exporter.C (Export): removeAutoInsets before doing anything else.
11610         While I've just introduced a dependency on BufferView this really is
11611         the best place to clean the buffer otherwise you need to cleanup in
11612         a dozen places before calling export or cleanup in a dozen functions
11613         that export calls.
11614
11615         * converter.C (runLaTeX):
11616         (scanLog): Better handling of removeAutoInsets and screen updates.
11617
11618         * lyxfunc.C (dispatch): small whitespace changes
11619
11620 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * WorkArea.C (C_WorkAreaEvent): return a value.
11623         (event_cb): return 1 if we handled the event, 0 otherwise.
11624
11625         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11626
11627 2002-03-18  Juergen Vigna  <jug@sad.it>
11628
11629         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11630         (GetAdditionalWidth): ditto.
11631         (RightLine): ditto.
11632         (LeftLine): ditto.
11633
11634         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11635         inset if we're there actually (probably not used right now but this
11636         is the direction to go for unifying code).
11637         (paste): disable code to clear the selection.
11638
11639         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11640         inside an InsetText and move the check further up as it is in the
11641         wrong place.
11642
11643         * text2.C (pasteSelection): set a selection over the pasted text.
11644
11645 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11646
11647         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11648         and libgraphics to build on Cygwin.
11649
11650 2002-03-15  Juergen Vigna  <jug@sad.it>
11651
11652         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11653         inserting an Inset into the paragraph. I know this is not the best
11654         fix but we already use current_view in CutAndPaste so we will remove
11655         all of it's using at the same time.
11656
11657         * buffer.C (sgmlError): deactivated function till it is rewritten in
11658         the right mode, now it can create problems.
11659
11660         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11661         before accessing it.
11662
11663 2002-03-14  Juergen Vigna  <jug@sad.it>
11664
11665         * undo_funcs.C (textHandleUndo): do the right thing when updating
11666         the inset after the undo/redo.
11667
11668         * text2.C (setCursor): just some testcode for #44 not ready yet.
11669
11670         * undo_funcs.C (textHandleUndo): set the next() and previous()
11671         pointers of the paragraph to 0 before deleting otherwise we have
11672         problems with the Paragraph::[destructor].
11673
11674         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11675         on a paragraph insertion.
11676
11677 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11678
11679         * buffer.C (asciiParagraph): use += operator for char append to
11680         string.
11681
11682         * paragraph.C (getFontSettings): compare >= not just >
11683         (highestFontInRange): ditto
11684         (setFont): ditto
11685
11686 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11687
11688         * paragraph.C: change several algorithm to be more appripriate for
11689         the problem domain. This is lookip in FontList and in the InsetList.
11690
11691 2002-03-13  André Pönitz <poenitz@gmx.net>
11692
11693         * commandtags.h:
11694         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11695
11696 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * commandtags.h:
11699         * LyXAction.C:
11700         * lyxfunc.C:
11701         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11702
11703 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11704
11705         * Painter.C (display): anon helper function, adjust code for this
11706         change.
11707         (pixmap): remove function.
11708
11709         * Painter.h: remove private display variable.
11710
11711         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11712
11713 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11714
11715         * WorkArea.[Ch]: remove figinset_canvas cruft.
11716
11717 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11718
11719         * lyxtextclass.C (operator): add one item cache optimization.
11720
11721         * bufferlist.h: doxy changes
11722
11723         * bufferlist.C: ws changes
11724
11725         * DepTable.[Ch] (ext_exist): place const in the right spot.
11726
11727         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11728         call resizeInsets.
11729         (workAreaExpose): call resizeInsets when the with BufferView changes.
11730         (Dispatch): adjust for protectedBlank removal
11731         (specialChar): call updateInset if the insert went ok.
11732
11733         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11734         specialChar instead.
11735
11736         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11737
11738         * BufferView.h: doxy change
11739
11740         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11741
11742         * lyxtextclass.C (operator[]): remove non-const version
11743         (defaultLayout): remove non-const version
11744
11745 2002-03-12  Juergen Vigna  <jug@sad.it>
11746
11747         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11748         did resize the LyXText too.
11749
11750         * buffer.C (readLyXformat2): set layout information on newly allocated
11751         paragraphs.
11752
11753         * tabular.C (OldFormatRead): set layout information on the paragraph.
11754
11755 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11756
11757         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11758
11759 2002-03-11  Juergen Vigna  <jug@sad.it>
11760
11761         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11762         plainly wrong.
11763         (resizeCurrentBuffer): force also the insets to resize themselfes.
11764         (moveCursorUpdate): fixed up for InsetText.
11765
11766 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11767
11768         * commandtags.h:
11769         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11770         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11771         value of Dialogs::tooltipsEnabled().
11772         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11773
11774 2002-03-08  Juergen Vigna  <jug@sad.it>
11775
11776         * BufferView_pimpl.C (updateInset): update inset inside inset also
11777         if it isn't inside theLockingInset().
11778
11779 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11780
11781         * buffer.C (asciiParagraph): redo some of the word and line length
11782         handling.
11783         (getLists): look for Caption instead of caption.
11784
11785 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * buffer.C (Buffer): initialize niceFile to true
11788         (makeLaTeXFile):
11789         (makeLinuxDocFile):
11790         (makeDocBookFile): make sure niceFile is true on exit
11791
11792 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11793
11794         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11795
11796 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11797
11798         * LyXSendto.C: remove.
11799         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11800         * lyx_gui.C: remove now-redundant comment.
11801         * ColorHandler.h: remove forward declaration of class WorkArea.
11802         * lyxfunc.C: remove #include "WorkArea.h".
11803
11804 2002-03-07  Juergen Vigna  <jug@sad.it>
11805
11806         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11807         got moved away with the DEPM and also set the inset_owner always
11808         right which before could have been omitted.
11809
11810 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11813         wanted layout is not found.
11814
11815 2002-03-07  Juergen Vigna  <jug@sad.it>
11816
11817         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11818
11819 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11820
11821         * paragraph.C (breakParagraph): use default layout not layout of
11822         prev paragraph.
11823         (Paragraph): clear ParagraphParameters.
11824
11825 2002-03-06  Juergen Vigna  <jug@sad.it>
11826
11827         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11828         otherwise it would not be a valid lenght. Fixed a special case in
11829         the minipage compatibility read where we end the document with a
11830         minipage.
11831
11832         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11833         was set as it could be 0 for InsetTexts first entry.
11834
11835 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11836
11837         * paragraph.C (writeFile): if layout is empty write out
11838         defaultLayoutName().
11839
11840         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11841         file without named layout we set layout to defaultLayoutName().
11842
11843 2002-03-06  Juergen Vigna  <jug@sad.it>
11844
11845         * CutAndPaste.C (copySelection): set layout for new paragraph.
11846
11847         * text.C (prepareToPrint): leave ERT inset left aligned
11848         (leftMargin): don't indent paragraphs inside ERT insets
11849
11850 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * paragraph.C (breakParagraph): dont call clear do the work manually
11853
11854         * paragraph.[Ch] (clear): remove function
11855
11856 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11857
11858         * paragraph.C (Paragraph): dont call clear, the work has already
11859         been done.
11860
11861         * lyxtextclass.C (operator): assert if n is empty
11862
11863         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11864         work manually instead.
11865
11866 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * BufferView_pimpl.C: protect selectionLost against text == 0
11869
11870 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * text.C (breakParagraph): fix a setting layout to '0' problem.
11873
11874 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11875
11876         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11877         final location of file, for the included files, and graphics.
11878
11879 2002-03-05  Juergen Vigna  <jug@sad.it>
11880
11881         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11882
11883 2002-03-04  Juergen Vigna  <jug@sad.it>
11884
11885         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11886
11887         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11888         last column of multicolumn cells.
11889         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11890
11891 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11892
11893         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11894         file if it doesn't go to a temporary file.
11895
11896         * buffer.C (sgmlOpenTag):
11897         (sgmlCloseTag):  remove extra newline insertion.
11898
11899 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11900
11901         * text.C (getRowNearY): comment out debug msg
11902
11903 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11904
11905         * text2.C: first -> first_y
11906
11907         * text.C (getRowNearY): add some attemts at a possible
11908         optimization, not working.
11909
11910         * tabular.[Ch]: add BufferParams to several function so that newly
11911         created paragraph can be initialized to he default layotu for the
11912         buffers textclass.
11913
11914         * tabular-old.C (ReadOld): add buf->params to call of Init
11915
11916         * screen.C: rename text->first to text->first_y
11917
11918         * paragraph.C (breakParagraph): always set layout in the broken
11919         paragraph
11920
11921         * lyxtextclass.C (Read): remove lowercase
11922         (hasLayout): ditto
11923         (operator): ditto
11924         (delete_layout): ditto
11925
11926         * lyxtext.h: rename first -> first_y
11927
11928         * lyxlayout.C (Read): remove lowercase
11929         (name): ditto
11930         (setName): ditto
11931         (obsoleted_by): ditto
11932
11933         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11934
11935         * buffer.C (insertErtContents): add params are to InsetERT
11936         (parseSingleLyXformat2Token): add code to check if a paragraphs
11937         layout really exist.
11938         (parseSingleLyXformat2Token): add params to several inset
11939         constructors
11940         (asciiParagraph): remove lowercase, do the layout comparisons with
11941         no_case
11942
11943         * BufferView_pimpl.C (cursorNext): first -> first_y
11944         (resizeCurrentBuffer): first -> first_y
11945         (updateScrollbar): first -> first_y
11946         (scrollCB): first -> first_y
11947         (workAreaMotionNotify): first -> first_y
11948         (workAreaButtonPress): first -> first_y
11949         (checkInsetHit): first -> first_y
11950         (cursorPrevious): first -> first_y
11951         (cursorNext): first -> first_y
11952         (Dispatch): add buffer_->params to severl inset contructors
11953
11954 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * lyxlayout.C (Read): remove some debug info that I forgot.
11957
11958         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11959         clean up the code slightly.
11960         (makeLinuxDocFile): ditto
11961         (makeDocBookFile): ditto
11962
11963         * text2.C: layout as string
11964
11965         * text.C: layout as string
11966
11967         * paragraph_pimpl.C: layout as string
11968
11969         * paragraph.[Ch]: layout as string
11970
11971         * lyxtextclasslist.[Ch]: layout as string
11972
11973         * lyxtextclass.[Ch]: layout as string
11974
11975         * lyxtext.h: layout as string
11976
11977         * lyxlayout.[Ch]: layout as string
11978
11979         * lyx_cb.C: layout as string
11980
11981         * bufferview_funcs.C: layout as string
11982
11983         * bufferparams.C: layout as string
11984
11985         * buffer.C: layout as string
11986
11987         * LyXView.[Ch]: layout as string
11988
11989         * LaTeXFeatures.[Ch]: layout as string
11990
11991         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11992
11993         * BufferView_pimpl.C: change current_layout to string, remove
11994         lyx::layout_type.
11995         (Dispatch):
11996         (smartQuote):
11997         (insertInset):
11998         (workAreaButtonRelease): layout as string
11999
12000         * BufferView2.C (unlockInset): adjust
12001
12002         * vspace.C (asLatexCommand): use an explict temp variable.
12003
12004 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * Makefile.am: use FRONTEND_*
12007
12008 2002-03-01  Juergen Vigna  <jug@sad.it>
12009
12010         * tabular.C (SetWidthOfMulticolCell): changed to something better
12011         I hope but still work in progress.
12012         (recalculateMulticolumnsOfColumn): renamed function from
12013         recalculateMulticolCells as it is more appropriate now.
12014         (SetWidthOfCell): calculate multicols better.
12015
12016 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12017
12018         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12019
12020         * lyxfunc.C (processKeySym): print sequence also if it is
12021         `deleted' (complete)
12022
12023         * kbsequence.C (print): print sequence even if it is deleted
12024         (complete would be a better word, actually).
12025
12026         * lyxfunc.C (dispatch): print complete options after a prefix key
12027
12028         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12029
12030 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12031
12032         * text2.C (setCharFont): eliminate setCharFont code duplication.
12033
12034 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12035
12036         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12037         LFUN_TABULAR_FEATURE (bug #177)
12038
12039 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * Makefile.am: remove figure.h
12042
12043 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12044
12045         * Bufferview_pimpl.C:
12046         * CutAndPasteC:
12047         * LaTeX.C:
12048         * LyXSendto.C:
12049         * buffer.C:
12050         * bufferlist.C:
12051         * converter.C:
12052         * language.C:
12053         * lyxfunc.C:
12054         * lyxvc.C:
12055         * paragraph.C:
12056         * text.C:
12057         * text2.C: remove #include "lyx_gui_misc.h".
12058
12059         * LaTeX.C: added #include <cstdio>
12060
12061 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12064         that the paragraph following this one can have.
12065
12066         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12067
12068         * vspace.C (asLatexCommand): fix bogus gcc warning
12069
12070         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12071
12072 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12073
12074         * text2.C (setLayout): get rid of redundant code
12075
12076 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12077
12078         * text2.C (incDepth): make sure depth cannot be increased beyond
12079         reasonable values.
12080
12081 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12082
12083         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12084         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12085
12086         * PainterBase.h (image):
12087         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12088         a LyXImage const *.
12089
12090 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * BufferView.C:
12093         * BufferView.h:
12094         * BufferView_pimpl.C:
12095         * BufferView_pimpl.h:
12096         * LaTeXFeatures.C:
12097         * LyXAction.C:
12098         * LyXView.C:
12099         * Makefile.am:
12100         * UpdateList.h:
12101         * UpdateList.C:
12102         * buffer.C:
12103         * figure.h:
12104         * figureForm.C:
12105         * figureForm.h:
12106         * figure_form.C:
12107         * figure_form.h:
12108         * lyx_cb.C:
12109         * lyx_gui.C:
12110         * lyx_gui_misc.C:
12111         * lyxfunc.C:
12112         * sp_base.h:
12113         * sp_ispell.h:
12114         * sp_pspell.h:
12115         * sp_spell.C: remove fig inset, and the crap house of
12116           cards that follows it
12117
12118 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * Makefile.am:
12121         * lyxserver.C:
12122         * os2_defines.h:
12123         * os2_errortable.h:
12124         * nt_defines.h: move .h into support/
12125
12126         * vms_defines.h: remove
12127
12128         * WorkArea.C: add space in debug output
12129
12130         * text2.C:
12131         * paragraph.C:
12132         * buffer.C: add WITH_WARNINGS
12133
12134         * vc-backend.h:
12135         * vc-backend.C:
12136         * bufferlist.C: s/retrive/retrieve/, add docs
12137
12138         * vspace.h:
12139         * vspace.C:
12140         * kbmap.h:
12141         * lyxlength.h:
12142         * lyxgluelength.h:
12143         * length_common.h:
12144         * chset.h:
12145         * chset.C: add docs
12146
12147         * lyxgui.C: add ID to X error handler
12148
12149         * lyxtestclass.c: fix typo
12150
12151 2002-02-26  Juergen Vigna  <jug@sad.it>
12152
12153         * tabular_funcs.C (write_attribute): changed so that some default
12154         attributes are not written at all.
12155         (getTokenValue): set default values before trying to read the
12156         value so we have the return value always set as default if we don't
12157         find the token we search for.
12158
12159         * tabular.C (Write): write bools as bools not as strings!
12160
12161 2002-02-22  Juergen Vigna  <jug@sad.it>
12162
12163         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12164         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12165
12166         * text.C (leftMargin): don't add an indent for paragraphs inside
12167         tabular cells (fix #208).
12168
12169 2002-02-21  José Matos  <jamatos@fep.up.pt>
12170
12171         * tabular.C (docBook): fixed support for long tables.
12172
12173 2002-02-20  Juergen Vigna  <jug@sad.it>
12174
12175         * text2.C (getFont): get the drawing font of the Inset if this
12176         paragraph is inside an inset (only important for InsetERT for now).
12177
12178         * buffer.C (insertErtContents): use new lanugage params in ERT
12179         constructor.
12180
12181         * CutAndPaste.C: commenting out seemingly uneeded code.
12182
12183 2002-02-19  Allan Rae  <rae@lyx.org>
12184
12185         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12186         Iterators might be simple to use but they also get invalidated.
12187         (removeAutoInsets): renamed saved cursor tracking variables and added
12188         some comments to clarify what everything does.
12189
12190 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12191
12192         * Chktex.C:
12193         * LaTeX.C:
12194         * LyXSendto.C:
12195         * converter.C:
12196         * lyx_cb.C:
12197         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12198         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12199
12200         * lyxfunc.C:
12201         * vc-backend.h: remove #include "support/syscall.h"
12202
12203         * LaTeX.C:
12204         * LyXSendto.C:
12205         * converter.C: rearrange #includes in Lars' approved fashion.
12206
12207         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12208         forward declare class Timeout in the header file.
12209
12210         * XFormsView.C: changes due to the above.
12211
12212         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12213         similar to LyXView.
12214
12215         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12216         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12217
12218 2002-02-18  José Matos  <jamatos@fep.up.pt>
12219
12220         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12221         insets contents.
12222
12223 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12224
12225         * a lot of small ws changes
12226         * add a lot of using std::XXX
12227         * use std construcs some places where approp.
12228         * use some exisint stuff from lyxfunctional where approp.
12229         * Make file changes to use partial linking (lets test this now...)
12230
12231 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12232
12233         * Chktex.C:
12234         * buffer.C:
12235         remove #include "support/syscontr.h" as it's redundant. Always has been.
12236
12237         * Chktex.C:
12238         * LaTeX.C:
12239         * LyXSendto.C:
12240         * converter.C:
12241         * lyx_cb.C:
12242         * vc-backend.C:
12243         change Systemcalls::System to Systemcalls::Wait and
12244         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12245         No change of functionality, just reflects the stripped down Systemcalls
12246         class.
12247
12248 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12249
12250         * debug.[Ch]: add a GRAPHICS type to the enum.
12251
12252 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12253
12254         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12255
12256         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12257         there is an inset.
12258
12259 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12260
12261         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12262         match the changes below.
12263
12264         * text2.C (toggleInset): if there is not editable inset at cursor
12265         position, try to see if cursor is _inside_ a collapsable inset
12266         and close it.
12267
12268 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12269
12270         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12271         document menu has a nice checkbox
12272
12273 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * lyxlength.C (asLatexString): change PW to output as percent of
12276         \textwidth.
12277
12278         * lengthcommon.C: change '%' to 't%'
12279
12280         * lyxfunc.C (dispatch): a few comments from Martin
12281
12282 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12283
12284         * WorkArea.h:
12285         * WorkArea.C:
12286         * BufferView_pimpl.h:
12287         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12288           the X selection.
12289
12290 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12291
12292         * vspace.C (inPixels): fix compiler warning
12293
12294 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12295
12296         * lyxfunc.C (getStatus): fix status message for disabled commands.
12297
12298 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * BufferView_pimpl.C: fix crash on close buffer
12301         during selection (#227)
12302
12303 2002-01-27  Herbert Voss  <voss@lyx.org>
12304
12305         * buffer.C: link old Figure to new graphic inset
12306
12307 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12308
12309         * FontLoader.C (getFontinfo): Change the latex font names in order
12310         to match the names of type1inst.
12311
12312 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12313
12314         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12315
12316         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12317         (extchanged): ditto
12318         (ext_exist): ditto
12319         (remove_files_with_extension): ditto
12320         (remove_file): ditto
12321         (write): ditto
12322
12323         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12324         document is smaller than the work area height. Do not initialize
12325         static variables to 0.
12326
12327 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12328
12329         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12330
12331         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12332         LFUN_LAYOUT_PARAGRAPHS.
12333
12334         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12335         tabular. It is possible to provide a possible cell, which will
12336         typically be the actcell from the corresponding insettabular
12337
12338         * lyxfunc.C (getStatus): small cleanup; disable
12339         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12340         true
12341
12342 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12343
12344         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12345
12346         * paragraph.C (startTeXParParams):
12347         (endTeXParParams): new methods. The LaTeX code to
12348         start/end paragraph formatting
12349         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12350         empty (fixes bug #200)
12351
12352         * vspace.C (inPixels): adapt to the change below
12353         (inPixels): [later] more cleanups (remove unused variables)
12354
12355         * lyxlength.C (inPixels): change to use a width and a height as
12356         parameter.
12357
12358 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12359
12360         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12361         Replaced with \paperwidth
12362
12363         * DepTable.C (insert): add std:: qualifier
12364
12365 2002-01-18  Allan Rae  <rae@lyx.org>
12366
12367         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12368         updated also?
12369
12370         * text.C (drawInset): Turned out I didn't know enough about how
12371         rebreaking worked.  This fixes most of the redraw problems.  I see
12372         an occasional cursor trail when a line is broken now and the cursor
12373         placement can seem out by a few pixels also after a rebreak.
12374
12375 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12376
12377         * buffer.C (parseSingleLyXformat2Token): update because minipage
12378         width is now a LyXLength
12379
12380         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12381
12382         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12383         math insets
12384
12385 2002-01-17  Juergen Vigna  <jug@sad.it>
12386
12387         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12388
12389         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12390         is set correctly and the inset is updated correctly.
12391
12392 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12393
12394         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12395         the beginning of the loop.
12396
12397 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * lyxrc.C: improve help for use_scalable_fonts
12400
12401 2002-01-17  Allan Rae  <rae@lyx.org>
12402
12403         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12404
12405 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12406
12407         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12408         make sure to set their inset_owner to the right value (bug #171)
12409
12410 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12411
12412         * DepTable.h
12413         * DepTable.C: Implement mtime checking to reduce time spent doing
12414         CRCs.
12415
12416 2002-01-16  Juergen Vigna  <jug@sad.it>
12417
12418         * tabular.C (GetAdditionalHeight): one of error fixed.
12419
12420         * lyxrc.C (output): small fix in writing use_pspell.
12421
12422 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12423
12424         * sp_base.h: #include LString.h
12425
12426 2002-01-16  Allan Rae  <rae@lyx.org>
12427
12428         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12429         Can someone check this please?
12430
12431         * text.C (drawInset): It was possible that p.row would be removed by
12432         breakAgainOneRow upsetting a few other settings.  There may be another
12433         small tweak possible by setting need_break_row = 0 when p.row has been
12434         removed but I don't know enough about the logic here.
12435
12436 2002-01-15  Allan Rae  <rae@lyx.org>
12437
12438         * text.C (insertChar): removed conditional truism.
12439
12440         * BufferView2.C (removeAutoInsets): More tweaks.
12441         cur_par_prev could be a stray pointer.  Check for trailing empty line
12442         in case last line was cur_par and only had an error inset on it.
12443
12444 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12445
12446         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12447         absolute
12448
12449         * vc-backend.C (most methods):
12450         * exporter.C (Export):
12451         * converter.C (convert):
12452         (runLaTeX):
12453         * LyXSendto.C (SendtoApplyCB):
12454         * lyxfunc.C (dispatch):
12455         (menuNew):
12456         (open):
12457         (doImport):
12458         * lyx_cb.C (AutoSave):
12459         (InsertAsciiFile):
12460         * BufferView_pimpl.C (MenuInsertLyXFile):
12461         * buffer.C (runChktex): use Buffer::filePath().
12462
12463         * buffer.h: rename filename to filename_; rename filepath to
12464         filepath_ and make it private
12465         (filePath): new method
12466
12467         * buffer.C (writeFile): use fileName()
12468         (getLatexName):
12469
12470         * lyx_main.C (init): fix starting  of LyX when the binary is a
12471         link from so,ewhere else.
12472
12473         * minibuffer.C: include <cctype> for isprint
12474
12475 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12476
12477         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12478         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12479         name clash with InsetCollapsable's width function.
12480
12481 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12482
12483         * lastfiles.C: include <iterator>
12484
12485 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12486
12487         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12488         std::count.
12489
12490         * buffer.C (makeLaTeXFile): ditto.
12491         Also make loop operation more transparent.
12492
12493 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12494
12495         * ToolbarDefaults.C: remove trailing comma closing namespace.
12496
12497         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12498
12499         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12500         as in WorkArea.
12501
12502         * trans.C (Load): comment out unused variable, allowed.
12503
12504 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12505
12506         * minibuffer.[Ch] (append_char): new method to recieve input from the
12507         drop-down completion browser. If a key was pressed, then recieve this
12508         char and append it to the existing string.
12509         (peek_event): modify the positioning data passed to the completion
12510         browser so that it can be placed above the minibuffer rather than below.
12511 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12512
12513         * LyXAction.C (init): alloe error-next for readonly documents.
12514
12515         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12516         count.
12517
12518 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * bufferlist.C (readFile): create the buffer _after_ checking that
12521         the file exists.
12522
12523         * lyxfunc.C (verboseDispatch): fix handling of arguments
12524
12525         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12526
12527         * lyxrc.C: use string::erase() instead of initializing to "".
12528
12529
12530 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12531
12532         * BufferView_pimpl.h:
12533         * BufferView_pimpl.C:
12534         * WorkArea.h:
12535         * WorkArea.C:
12536         * text2.C: tell X when we have made a selection for copying
12537
12538 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12539
12540         * BufferView_pimpl.C (MenuInsertLyXFile):
12541         * lyxfunc.C (menuNew):
12542         (open):
12543         (doImport): add shortcuts to directory buttons
12544
12545         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12546         open a float)
12547
12548         * lyxfunc.C (setStatusMessage):
12549         (getStatusMessage): new methods
12550         (getStatus):use setStatusMessage instead of setErrorMessage
12551         (dispatch): when function is disabled, set error message here
12552         [instead of in getStatus previously]
12553
12554         * BufferView_pimpl.C (workAreaButtonRelease): update
12555         toolbar/menubar here too.
12556
12557 2002-01-13  Allan Rae  <rae@lyx.org>
12558
12559         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12560         Now seems indestructible.  Remaining task is to audit all other
12561         code affected by deleteEmptyParagraphMechanism.  One small quirk
12562         left is that an empty document with an error in the preamble can
12563         be made to report an error but no error box appears.  I don't know
12564         where it goes.
12565         (removeAutoInsets): Improved comments.
12566
12567 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12568
12569         * Thesaurus.h:
12570         * Thesaurus.C: update for Aiksaurus 0.14
12571
12572 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * text2.C (firstParagraph): removed member function, all uses
12575         replaces with ownerParagraph
12576         (redoParagraphs): here
12577         (updateInset): here
12578         (toggleAppendix): here
12579         * BufferView2.C (insertErrors): here
12580         (setCursorFromRow): here
12581
12582 2002-01-13  Allan Rae  <rae@lyx.org>
12583
12584         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12585         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12586         There is still a way to segfault this although you may have to do this
12587         multiple times: Have an InsetERT with an unknown command in it.
12588         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12589         <down-arrow>, <Enter> again, View->DVI, BANG!
12590
12591         * text2.C (setCursor):
12592         (deleteEmptyParagraphMechanism):
12593         * lyxtext.h (setCursor):
12594         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12595         Making use of the return value may help fix other bugs.
12596
12597 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12598
12599         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12600
12601         * LyXView.C (updateMenubar): call MenuBar::update here
12602         (updateToolbar): but not here
12603         (showState): do not update toolbar/menubar
12604
12605         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12606         should need to care about that.
12607
12608         * lyxfunc.C (verboseDispatch): simplify a bit
12609         (getStatus): have a version which takes a pseudoaction, and
12610         another which requires a (kb_action,string).
12611
12612         * LyXAction.C (retrieveActionArg): make it work also when action
12613         is not a pseudo-action.
12614         (getActionName): simplify a bit
12615         (helpText):
12616
12617 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12618
12619         * lyxfunc.C (verboseDispatch): new families of methods with
12620         several ways to specify a command and a bool to indicate whether
12621         the command name and shortcut should be displayed in minibuffer
12622         (eventually, we could extend that to a finer bitmask like
12623         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12624         (dispatch): the pristine dispatch command which just, well,
12625         dispatchs! Note it still sets its result to minibuffer; I'm not
12626         sure we want that.
12627
12628         * lyxfunc.h: remove setHintMessage
12629
12630         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12631
12632 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12633
12634         * BufferView_pimpl.C (specialChar): delete new inset if we have
12635         not been able to insert it.
12636
12637         * kbmap.C: revert to using int instead of kb_action, since all we
12638         are dealing with is pseudo-actions.
12639
12640         * LyXAction.C (searchActionArg): change to return int instead of
12641         kb_action, since the result is a pseudoaction.
12642
12643 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12644
12645         * buffer.C (insertErtContents): Fix (partially) the font bug.
12646
12647 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12648
12649         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12650         as the other one is broken on my machine!
12651
12652 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12653
12654         * commandtags.h:
12655         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12656
12657 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12658
12659         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12660         reflect their actual use. Provide compatibility code for older lyxrc
12661         files.
12662
12663         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12664         FL_NORMAL_STYLE.
12665         change names of popup font variables in line with the changes to lyxrc.C
12666
12667 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12668
12669         * buffer.C (asciiParagraph): avoid outputing a word twice after
12670         an inset.
12671
12672         * lyxrc.C (getDescription): document that document_path and
12673         template_path can be empty.
12674
12675 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12676
12677         * LaTeXFeatures.C (getMacros):
12678         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12679
12680         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12681
12682         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12683         getPackages.
12684         (getPackages): rename feature "floats" to "float". Use an array to
12685         iterate over 'simple' features (i.e. just a \usepackage). Add
12686         handling of "amsmath" (renamed from "amsstyle").
12687
12688 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12689
12690         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12691         features list.
12692
12693 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12694
12695         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12696         FuncStaus::FuncStatus & FuncStaus::some_method().
12697
12698 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12699
12700         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12701         of the func_satus stuff. Edited and massaged in various ways by
12702         JMarc.
12703
12704         * lyxfunc.C (getStatus): use FuncStatus
12705
12706 2002-01-08  Juergen Vigna  <jug@sad.it>
12707
12708         * text.C (nextBreakPoint): use function Inset::isChar().
12709
12710         * paragraph.C (TeXOnePar): use function
12711         Inset::forceDefaultParagraphs.
12712
12713         * buffer.C (latexParagraphs): use function
12714         Inset::forceDefaultParagraphs.
12715
12716 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12717
12718         * lyx_gui.C (init): set the style of the menu popups to
12719         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12720
12721 2002-01-07  Juergen Vigna  <jug@sad.it>
12722
12723         * text.C (setHeightOfRow): small fix
12724         (prepareToPrint): don't look at alignment if we don't have the place
12725         for doing it.
12726
12727 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12728
12729         * box.C: New file. Move the Box methods and functions out of box.h,
12730         following Lars' suggestion.
12731
12732 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12733
12734         * box.h: #include "support/LOstream.h", needed for inlined function.
12735
12736         * lyxtextclass.C:
12737         * lyxtextclasslist.C: added some using std declarations.
12738
12739 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * box.h: make signed dimensions to allow insets wider than
12742           the screen (bug #162)
12743
12744         * BufferView_pimpl.C: add some insetHit debug
12745
12746 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12747
12748         * vc-backend.C: add FIXME
12749
12750 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * lyxfunc.C (getStatus): enable code for showing math font status
12753         in toolbar/menu.
12754
12755 2002-01-07  Juergen Vigna  <jug@sad.it>
12756
12757         * text.C (nextBreakPoint): removed debug output not needed anymore.
12758
12759 2002-01-06  Juergen Vigna  <jug@sad.it>
12760
12761         * text.C (nextBreakPoint): fixed up this function we had this bug
12762         since ever but now hopefully we break row better.
12763         (insertChar): we have to check if an inset is the next char as it
12764         could now happen that a large inset is causing a break.
12765
12766 2002-01-05  Juergen Vigna  <jug@sad.it>
12767
12768         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12769         if it doesn't like to be drawed.
12770
12771 2002-01-04  Juergen Vigna  <jug@sad.it>
12772
12773         * BufferView2.C (lockInset): forgot to set a cursor.
12774
12775         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12776
12777 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12778
12779         * FormMathsPanel.C:
12780         * FormMathsPanel.h
12781         * MathsSymbols.C:
12782         * form_maths_panel.C:
12783         * form_maths_panel.h:
12784         * form_maths_panel.fd: implemented sub- and super- buttons in math
12785         panel.
12786
12787         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12788         (or ^ space) to be used as in TeX (req'd by André).
12789
12790         * lyxfunc.C: Allow ^ and _ again to be used both as
12791         super/subscript (mathed) and as themselves (in text).
12792
12793 2002-01-03  Allan Rae  <rae@lyx.org>
12794
12795         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12796         "LyX" or the filename of the current buffer if it has one.  This is a
12797         modified form of John Levon's patch.
12798
12799         * XFormsView.C (setWindowTitle): also set icon title.
12800
12801         * LyXView.h (setWindowTitle): signature changed.
12802         * XFormsView.h (setWindowTitle): ditto.
12803
12804 2002-01-02  Juergen Vigna  <jug@sad.it>
12805
12806         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12807
12808 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * screen.C (topCursorVisible): introduce a temp var for
12811         text->cursor.row(), handle the case where this row is null. (kindo
12812         hachish)
12813
12814         * text2.C (setCursor): add a couple of asserts.
12815
12816         * paragraph.h (inset_iterator): add -> operator
12817
12818         * paragraph.[Ch] (autoDeleteInsets): remove member function
12819
12820         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12821         cursor pos correctly and handle inset deletion by itself.
12822         (insertErrors): move iterator declaration out of for expression
12823
12824         * lyxtextclass.C: add <algorithm>
12825
12826         * Makefile.am: added the new files to sources, removed layout.C
12827
12828         * layout.C: removed file
12829
12830         * layout.h: remove LYX_DUMMY_LAYOUT
12831
12832         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12833         layout.
12834
12835         * lyxlayout.[Ch]:
12836         * lyxtextclass.[Ch]:
12837         * lyxtextclasslist.[Ch]: new files
12838
12839         * include order changes to a lot of files, also changes because of
12840         the six new files.
12841
12842 2001-12-27  Juergen Vigna  <jug@sad.it>
12843
12844         * buffer.C (asciiParagraph): more fixes.
12845
12846         * tabular.C (ascii): make ascii export support export of only the
12847         data separated by a column-delimiter.
12848         (ascii): better support for ascii export.
12849
12850         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12851
12852 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12853
12854         * tabular_funcs.C: use a "using std::getline" instead of the
12855         previous fix from Angus (necessary for cxx + lyxstring)
12856
12857 2001-12-24  Juergen Vigna  <jug@sad.it>
12858
12859         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12860
12861         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12862         problems. First check a minipage also if we have some ert-contents
12863         (not only on par->size(), second set the right depth of the paragraph
12864         on the relink to the root-paragraph-list!
12865
12866         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12867         which then did not anymore update the main paragraphs on undo/redo!
12868
12869 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12870
12871         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12872         code. Support all font-changing funcs (even those which are not in
12873         menu currently). Support for reporting font settings in
12874         mathed (disabled until Andre provides a function on mathed's side).
12875
12876         * func_status.h (toggle): small helper function to set toggle
12877         state on a flag.
12878
12879 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12880
12881         * tabular_funcs.C: getline -> std::getline
12882
12883 2001-12-21  Juergen Vigna  <jug@sad.it>
12884
12885         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12886         accessed and could be 0 (I couldn't generate this but it seems
12887         Michael could!).
12888
12889 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12890
12891         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12892         * tabular_funcs.h: here and include iosfwd
12893
12894 2001-12-20  Juergen Vigna  <jug@sad.it>
12895
12896         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12897         inside inset but undo_par was.
12898
12899 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12900
12901         * Thesaurus.C: always include <config.h> in sources.
12902
12903         * Painter.h:
12904         * lyxlookup.h:
12905         * box.h: do not include <config.h> in header files
12906
12907         * text.C (paintLastRow): remove unused variable
12908
12909         * text.C (transformChar):
12910         (insertChar):
12911         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12912
12913         * Painter.C (text):
12914         * font.C (width): rewrite to use uppercase() instead of
12915         islower/toupper.
12916
12917         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12918
12919 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12920
12921         * lyxfind.C: clean up of find failure position change
12922
12923 2001-12-20  Juergen Vigna  <jug@sad.it>
12924
12925         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12926
12927         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12928         (TeXRow): added to LaTeX a single tabular row.
12929         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12930         (Latex): simplified and finally good LT-h/f support.
12931         (various_functions): just small adaptions for LT-h/f support.
12932
12933         * tabular_funcs.[hC]: added and moved here all not classfunctions
12934         of LyXTabular.
12935
12936 2001-12-19  Juergen Vigna  <jug@sad.it>
12937
12938         * tabular.[Ch]: better support for longtabular options (not finished
12939         yet!)
12940
12941 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12942
12943         * text.C (paintLastRow): use the label font instead of the font of
12944         the last character to compute the size of *_BOX. This makes more
12945         sense and avoids a crash with empty paragraphs.
12946         Use Painter::rectangle to draw EMPTY_BOX.
12947
12948 2001-12-19  Juergen Vigna  <jug@sad.it>
12949
12950         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12951         the paragraphs if the replaced paragraph is not the first one!
12952         Tried to delete not used paragraphs but does not work yet so for
12953         now it's inside #ifdef's and by default off!
12954
12955 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12956
12957         * MenuBackend.C: include "lyx_main.h" instead of declaring
12958         lastfiles (actually was declared as LastFiles* instead of a
12959         scoped_ptr).
12960
12961 2001-12-17  Juergen Vigna  <jug@sad.it>
12962
12963         * tabular.C (AppendColumn): applied John's fix
12964
12965 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12966
12967         * BufferView.h:
12968         * BufferView.C:
12969         * BufferView_pimpl.h:
12970         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12971
12972         * Makefile.am:
12973         * box.h: new start of class for above
12974
12975         * lyxfunc.C: ignore space-only minibuffer dispatches.
12976           Show the command name when it doesn't exist
12977
12978         * minibuffer.C: don't add empty lines to the history
12979
12980         * minibuffer.C: add a space on dropdown completion
12981
12982 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * text.C: fix line above/below drawing in insets
12985
12986 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * lyxlength.C (LyXLength): Initialize private variables.
12989
12990 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12991
12992         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12993         when inserting error insets.
12994
12995 2001-12-13  Juergen Vigna  <jug@sad.it>
12996
12997         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12998         actually sometimes the before-paragraph.
12999         (setUndo): don't clear the redostack if we're not actually undoing!
13000
13001 2001-12-06  Juergen Vigna  <jug@sad.it>
13002
13003         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13004         and fixed redoing of main paragraph, so we can use it now ;)
13005
13006         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13007
13008 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13009
13010         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13011         Juergen's request
13012
13013 2001-12-13  André Pönitz <poenitz@gmx.net>
13014
13015         * undostack.[Ch]:
13016         * undo_func.C: minor cleanup
13017
13018 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13019
13020         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13021         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13022         font in urw-fonts package which is marked as -urw-fontspecific and
13023         does not work (incidentally, changing the encoding in the
13024         fonts.dir of this package to -adobe-fontspecific fixes the
13025         problem).
13026
13027         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13028         is a crash when undoing first paragraph (Juergen, please take a
13029         look). THis does not mean the undo fix is wrong, just that it
13030         uncovers problems.
13031
13032         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13033         the (Paragraph*) version when needed instead of duplicating the
13034         code.
13035
13036         * text.C (workWidth): use Inset::parOwner to find out where the
13037         inset has been inserted. This is a huge performance gain for large
13038         documents with lots of insets. If Inset::parOwner is not set, fall
13039         back on the brute force method
13040
13041         * paragraph_pimpl.C (insertInset):
13042         * paragraph.C (Paragraph):
13043         (cutIntoMinibuffer): set parOwner of insets when
13044         inserting/removing them
13045
13046         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13047
13048 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13049
13050         * commandtags.h:
13051         * LyXAction.C:
13052         * lyx_main.C:
13053         * lyxfunc.C:
13054         * mathed/formulabase.C:
13055         * mathed/math_cursor.[Ch]:
13056         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13057
13058
13059 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13060
13061         * lyxlength.[Ch] (operator!=): new function
13062
13063 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13064
13065         * text.C (workWidth): use Inset::parOwner to find out where the
13066         inset has been inserted. This is a huge performance gain for large
13067         documents with lots of insets. If Inset::parOwner is not set, fall
13068         back on the brute force method
13069
13070         * paragraph_pimpl.C (insertInset):
13071         * paragraph.C (Paragraph):
13072         (cutIntoMinibuffer): set parOwner of insets when
13073         inserting/removing them
13074
13075         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13076
13077 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13078
13079         * tabular-old.C (getTokenValue):
13080         * tabular.C (getTokenValue):
13081         (write_attribute): new versions for LyXLength
13082         (everywhere): adjust the use of widths
13083
13084         * tabular.h: change the type of widths from string to LyXLength
13085
13086 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13087
13088         * paragraph.C: fixed missing line number count when exporting
13089         Environments to LaTeX file
13090
13091         * buffer.C: added informational message for checking line numbers.
13092
13093 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13094
13095         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13096         paragraph, do the 'double space' part, but not the 'empty
13097         paragraph' one.
13098
13099         * text.C (workWidth): small optimization
13100         (getLengthMarkerHeight): use minimal size for negative lengths.
13101
13102 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13103
13104         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13105
13106         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13107
13108 2001-12-11  André Pönitz <poenitz@gmx.net>
13109
13110         * FontLoader.C:
13111         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13112
13113 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13114
13115         * text2.C: keep selection on a setFont()
13116
13117 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13118
13119         * lyx_cb.C: another bv->text misuse, from insert label
13120
13121 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13122
13123         * kbsequence.h:
13124         * kbsequence.C: re-instate nmodifier mask
13125
13126 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13127
13128         * lyx_main.h: make lyxGUI private.
13129
13130 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13131
13132         * lyxfind.C: place the cursor correctly on failed search
13133
13134 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * text.C (getLengthMarkerHeight): for small heights, the arrows
13137         are not always on top/bottom of the text
13138         (drawLengthMarker): smaller arrows; take the left margin in
13139         account; draw also vfills.
13140         (paintFirstRow):
13141         (paintLastRow): remove special code for vfill and standard spaces,
13142         since everything is handled in drawLengthMarker now.
13143
13144 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * buffer.C (insertErtContents): try to handle font and language
13147         interaction a bit better.g
13148
13149         * ColorHandler.C (updateColor): change the hash to cover the whole
13150         LColor enum, ws cleanup
13151         (getGCLinepars): ditto
13152         (getGCLinepars): only lookup in the linecache once.
13153
13154 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13155
13156         * iterators.C (operator++): Make the iterator more robust
13157
13158         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13159         (John's patch)
13160         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13161
13162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * lyxtext.h:
13165         * text.C: better added space drawing
13166
13167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * LyXView.C:
13170         * BufferView2.C: fix layout combo update on inset unlock
13171
13172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13173
13174         * Makefile.am: don't compile unused files
13175
13176 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13177
13178         * lyxfunc.C:
13179         * commandtags.h:
13180         * LyXAction.C: remove old LFUN_LAYOUTNO
13181
13182 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * paragraph_pimpl.h:
13185         * paragraph_pimpl.C: isTextAt() doesn't need font param
13186
13187 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13188
13189         * lyxlex.h:
13190         * lyxlex.C: little cleanup
13191
13192 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * BufferView_pimpl.C: fix insertAscii for insets
13195
13196 2001-12-05  Juergen Vigna  <jug@sad.it>
13197
13198         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13199         set the right font on the "multi" paragraph paste!
13200
13201 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13202
13203         * trans_decl.h:
13204         * trans_mgr.[Ch]:
13205         * trans.[Ch]:
13206         * lyxgluelength.C:
13207         * lyxlength.C: remove out-commented code.
13208
13209         * BufferView_pimpl:
13210         * CutAndPaste.C:
13211         * DepTable.C:
13212         * buffer.C:
13213         * chset.C:
13214         * lastfiles.C:
13215         * lyxlex.C:
13216         * lyxlex_pimpl.C:
13217         * lyxserver.C:
13218         * screen.C:
13219         * tabular-old.C:
13220         * tabular.C:
13221         * text.C:
13222         * trans_mgr.C:
13223         * vc-backend.C: change "while(" to "while ("
13224
13225         * lyxlength.[Ch]: add zero function to check if length is zero or
13226         not
13227         * lyxgluelength.C: use it
13228
13229 2001-12-05  Allan Rae  <rae@lyx.org>
13230
13231         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13232         Works for 2.95.3, from what I understand of Garst's reports this should
13233         work for other g++ versions.  We're screwed if the abs(int) definition
13234         changed between bugfix releases of gcc.
13235
13236 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * text.C: fix chapter label offset !
13239
13240 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * lyxtext.h:
13243         * text.C: fix hfill at end of line, clean up
13244
13245 2001-12-04  Juergen Vigna  <jug@sad.it>
13246
13247         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13248         that we force an update of the inset and it's owners if neccessary.
13249
13250 2001-12-03  Juergen Vigna  <jug@sad.it>
13251
13252         * text.C (rowLast): simplified code
13253
13254 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * lyxfunc.C: fix show options on timeout
13257
13258 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * screen.C (topCursorVisible): scroll half a page when the cursor
13261         reached top of bottom of screen
13262
13263 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * minibuffer.C: deactivate on loss of focus
13266
13267 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13268
13269         * vspace.[Ch] (operator!=): add operator.
13270
13271 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13272
13273         * BufferView_pimpl.C: refuse to open an inset when
13274         there's a selection.
13275
13276 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13277
13278         * BufferView_pimpl.C: allow to click on RHS of full row insets
13279
13280 2001-11-30  Juergen Vigna  <jug@sad.it>
13281
13282         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13283         insets for undo reasons.
13284
13285 2001-11-28  André Pönitz <poenitz@gmx.net>
13286
13287         * vspace.[Ch]: cosmetical changes
13288
13289 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * LyXAction.h:
13292         * LyXAction.C:
13293         * lyxfunc.h:
13294         * lyxfunc.C:
13295         * kbmap.h:
13296         * kbmap.C:
13297         * lyxrc.C:
13298         * kbsequence.h:
13299         * kbsequence.C: part re-write of old kb code
13300
13301         * Painter.C:
13302         * WorkArea.C: remove Lgb_bug_find_hack
13303
13304 2001-11-30  José Matos <jamatos@fep.up.pt>
13305
13306         * buffer.C (makeDocBookFile): add a comment to point a hack.
13307         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13308         Fixed a double write of labels.
13309
13310 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13311
13312         * LaTeX.C:
13313         * LaTeX.h Fixed bug in LaTeX class where it would not
13314         re-run latex if no depfiles were changed, but the .dvi was removed.
13315
13316 2001-11-28  André Pönitz <poenitz@gmx.net>
13317
13318         * all the files from the change on 2001/11/26:
13319         use lyx::layout_type instead of LyXTextClass::size_type
13320         use lyx::textclass_type instead of LyXTextClassList::size_type
13321
13322 2001-11-29  Juergen Vigna  <jug@sad.it>
13323
13324         * text.C: added support for paragraph::isFreeSpacing()
13325
13326         * buffer.C: same as above
13327
13328         * paragraph.h: inserted isFreeSpacing() function to enable
13329         FreeSpacing inside InsetERT.
13330
13331         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13332         of the paragraph's in the cut/copy buffer to 0!
13333
13334         * text2.C (removeRow): remove the assert as it can!
13335
13336         * lyxtext.h: added helper function firstRow returning firstrow and
13337         made firstrow private again.
13338
13339         * BufferView2.C (lockInset): don't relock if we're already locked!
13340
13341         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13342         the only paragraph.
13343         (removeRow): added Assert::(firstrow)
13344
13345         * debug.C: forgot to add INSETTEXT here.
13346
13347 2001-11-28  Juergen Vigna  <jug@sad.it>
13348
13349         * sp_spell.C (initialize): changed error text to more general
13350         spellchecker command use (not only ispell!)
13351
13352         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13353
13354         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13355
13356 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13357
13358         * vspace.C: initialise lyxgluelength on failure
13359
13360 2001-11-28  Allan Rae  <rae@lyx.org>
13361
13362         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13363         declaration & definition that looks like a function declaration.
13364
13365 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * BufferView2.C (copy):
13368         (copyEnvironment): do not clear the selection when doing a copy.
13369
13370         * text.C (paintFirstRow): compilation fix
13371
13372 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13373
13374         * tabular.C (Latex): correct line count when writing latex.
13375
13376 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13377
13378         * paragraph_pimpl.h:
13379         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13380           bug a bit
13381
13382 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13383
13384         * text.C:
13385         * LColor.h:
13386         * LColor.C: change vfillline->added_space
13387
13388         * text.C: add markers and text for added space
13389
13390         * vspace.C: fix comment
13391
13392 2001-11-28  André Pönitz <poenitz@gmx.net>
13393
13394         * paragraph.C: whitespace changes
13395         * all the other files from the change on 2001/11/26:
13396         change *::pos_type into lyx::pos_type
13397
13398 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13399
13400         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13401         language of the document when inserting error insets.
13402
13403 2001-11-26  André Pönitz <poenitz@gmx.net>
13404
13405         * BufferView_pimpl.[Ch]:
13406         *       CutAndPaste.C:
13407         * buffer.[Ch]:
13408         * lyxcursor.[Ch]:
13409         * lyxfind.C:
13410         * lyxfunc.C:
13411         * lyxrow.[Ch]:
13412         * paragraph.[Ch]:
13413         * paragraph_pimpl.[Ch]:
13414         * sp_spell.C:
13415         * text.C:
13416         * text2.C: reduce header dependencies, introduce type for positions
13417
13418 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13419
13420         * <various>: change to use Alert.h
13421
13422 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13423
13424         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13425         when encountering an unknown token.
13426         (readLyXformat2): Show an error message if there were unknown tokens.
13427
13428 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13429
13430         * BufferView2.C:
13431         * BufferView_pimpl.C:
13432         * buffer.C:
13433         * paragraph.h:
13434         * text.C:
13435         * text2.C: use par->isInset()
13436
13437 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13438
13439         * paragraph_pimpl.h:
13440         * paragraph_pimpl.C: cleanup
13441
13442 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * text2.C (removeRow):
13445         * text.C (setHeightOfRow): remove useless (and costly) call to
13446         getRow.
13447
13448 2001-11-20  Allan Rae  <rae@lyx.org>
13449
13450         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13451         Now need Inset*::checkInsertChar() to return true for appropriate
13452         cases so that the characters in the minibuffer will actually be
13453         inserted.
13454
13455 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13456
13457         * text.C: change the order of the includes.
13458         (workWidth): initialize it at once.
13459         (workWidth): make maxw unsigned
13460         (setHeightOfRow): remove unused variable (inset)
13461         (selectSelectedWord): remove unused variable (inset)
13462         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13463
13464 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13465
13466         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13467         server is not running.
13468         (openConnection):
13469         (closeConnection): add debug info when server is disabled.
13470
13471         * ColorHandler.C (getGCForeground): send debug message to GUI
13472         channel.
13473
13474         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13475
13476         * kbmap.C (bind): modify because return conventions of
13477         kb_sequence::parse have changed.
13478
13479         * kbsequence.C (parse): only ignore spaces and not any stupid
13480         control character. This avoids tests like s[i] <= ' ', which are
13481         guaranteed to fail with 8bit characters and signed chars.
13482         Change return code to string::npos when there have been no error
13483         (0 was a bad idea when error is at first character)
13484
13485 2001-11-14  José Matos  <jamatos@fep.up.pt>
13486
13487         * buffer.h:
13488         * buffer.C (simpleDocBookOnePar): removed unused argument.
13489
13490 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13491
13492         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13493         insets which are part of a word. Paragraph::isLetter takes care of
13494         that now. Use Paragraph::isInset to identify insets.
13495         (selectSelectedWord): do not test for hyphenation break.
13496
13497         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13498         that protected spaces are considered as spaces.
13499
13500         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13501         Inset::isLetter.
13502
13503 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * lyxserver.h:
13506         * lyxserver.C: fix it. and small cleanup.
13507
13508 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13509
13510         * BufferView_pimpl.C: use inline helpers
13511
13512         * LaTeXFeatures.h:
13513         * LaTeXFeatures.C: fix typos
13514
13515         * Spacing.h:
13516         * Spacing.C: move spacing_string into class
13517
13518         * ToolbarDefaults.C: move stuff into namespace anon
13519
13520         * layout.h: update enum
13521
13522         * lyxfunc.C: use better debug
13523
13524         * minibuffer.h: fix typo
13525
13526         * debug.h:
13527         * debug.C:
13528         * WorkArea.C: add and use Debug::WORKAREA
13529
13530         * lyxtext.h:
13531         * text.C:
13532         * text2.C: code re-organisation, inline helpers
13533
13534 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13535
13536         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13537         std::vector.empty().
13538
13539 2001-11-09  Allan Rae  <rae@lyx.org>
13540
13541         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13542         '\n's after tables.  Tabular and ERT inset work now makes this no
13543         longer necessary.
13544
13545 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13546
13547         * minibuffer.h:
13548         * minibuffer.C: fix crash, improve drop-down completion
13549
13550 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13551
13552         * lyxserver.h:
13553         * lyxserver.C: invalidate fd's when doing endPipe()
13554
13555 2001-11-08  José Matos  <jamatos@fep.up.pt>
13556
13557         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13558         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13559
13560         * paragraph.h:
13561         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13562
13563 2001-11-07  José Matos  <jamatos@fep.up.pt>
13564
13565         * buffer.h:
13566         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13567         const qualifier.
13568
13569         * buffer.C (sgmlOpenTag):
13570         * buffer.C (sgmlCloseTag): removed debug info.
13571
13572         * buffer.h (sgmlOpenTag):
13573         * buffer.h (sgmlCloseTag): made public.
13574
13575 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13576
13577         * buffer.C (saveParamsAsDefaults):
13578         * lyx_cb.C (MenuLayoutSave): remove
13579
13580         * LyXAction.C (init):
13581         * commandtags.h:
13582         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13583
13584 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13585
13586         * buffer.C (setPaperStuff): removed from here...
13587
13588         * bufferparams.C (setPaperStuff): ... and moved there.
13589
13590 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * minibuffer.h:
13593         * minibuffer.C:
13594         * XFormsView.C: add support for drop-down completion
13595
13596 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13597
13598         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13599         commands.
13600
13601 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13602
13603         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13604         disabled.
13605
13606 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13607
13608         * lyx_main.C: change ref to known bugs
13609
13610 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13611
13612         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13613         to work around older babel problems.
13614
13615 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13616
13617         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13618
13619 2001-10-24  Juergen Vigna  <jug@sad.it>
13620
13621         * tabular-old.C (ReadOld): below variable changes reflected.
13622
13623         * tabular.[Ch]: added ltType struct for longtable header/footer
13624         defines and changed all instances where they are used. Added
13625         future support for double top/bottom rows.
13626
13627 2001-10-24  José Matos  <jamatos@fep.up.pt>
13628
13629         * buffer.h (docbookHandleCaption):
13630         * buffer.C (docbookHandleCaption): removed unused function.
13631         (makeDocBookFile): moved docbook supported version to v4.1.
13632
13633 2001-10-24  José Matos  <jamatos@fep.up.pt>
13634
13635         * tabular.h:
13636         * tabular.C (docbookRow): new function to export docbook code of a row.
13637         (DocBook): now honors the longtable flags.
13638
13639 2001-10-23  José Matos  <jamatos@fep.up.pt>
13640
13641         * LaTeXFeatures.h:
13642         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13643         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13644
13645         * buffer.C (makeLinuxDocFile):
13646         (makeDocBookFile): reworked the preamble, more clean, and with
13647         support for lyx defined entities. Changed the document declaration
13648         to be more XML friendly.
13649
13650         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13651         if we need to output XML that should be done with a filter.
13652
13653 2001-10-22  Juergen Vigna  <jug@sad.it>
13654
13655         * sp_pspell.h (class PSpell): add alive function needed in the
13656         controller to see if the spellchecker could be started.
13657
13658 2001-10-22  Juergen Vigna  <jug@sad.it>
13659
13660         * buffer.C (insertStringAsLines): modify the font for inserting
13661         chars in certain conditions by calling checkInsertChar(font).
13662
13663 2001-10-19  Juergen Vigna  <jug@sad.it>
13664
13665         * text.C (workWidth): use getRow instead of wrong algorithm.
13666         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13667
13668 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13669
13670         * lyxserver.h:
13671         * lyxserver.C:
13672         * lyx_main.h:
13673         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13674
13675 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13676
13677         * text.C (workWidth): do not search for the exact row when
13678         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13679         optimization for big documents.
13680
13681 2001-10-18  Juergen Vigna  <jug@sad.it>
13682
13683         * text.C (workWidth): new function with added Inset * parameter.
13684
13685 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13686
13687         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13688
13689         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13690         change return type of getColumnNearX.
13691
13692
13693         * text.C (changeRegionCase): use uppercase/lowercase instead of
13694         toupper/tolower.
13695         (leftMargin):
13696         (rightMargin): simplify code by factoring out the uses of
13697         textclasslist.
13698         (labelFill):
13699         (numberOfHfills):
13700         (setHeightOfRow):
13701         (appendParagraph): use Paragraph::size_type
13702
13703 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13704
13705         * vspace.C (asLatexString): add a missing break
13706
13707 2001-10-15  Herbert Voss  <voss@perce.de>
13708
13709         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13710
13711 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13712
13713         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13714         is not available.
13715
13716 2001-10-10  André Pönitz <poenitz@gmx.net>
13717
13718         * lyxfunc.C: removed greek_kb_flag.
13719
13720 2001-10-10  Herbert Voss  <voss@perce.de>
13721
13722         * lyx_main.C: delete global string help_lyxdir.
13723
13724 2001-10-09  Herbert Voss  <voss@perce.de>
13725
13726         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13727
13728         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13729
13730         * lyx_main.C: added global string help_lyxdir.
13731
13732         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13733
13734 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13735
13736         * lyxrc.C (set_font_norm_type): support iso8859-4
13737
13738 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13739
13740         * LaTeX.C (deplog): add another regex for MikTeX
13741
13742 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13743
13744         * lyxrc.C (set_font_norm_type): support iso8859-3
13745
13746 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13747
13748         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13749
13750         * LaTeXFeatures.C: remove special case of french and index
13751
13752         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13753         before \begin{document}). This solves several incompatibilities.
13754
13755 2001-10-03  Garst Reese  <reese@isn.net>
13756
13757         * lyx_cb.C: change CheckTex error msg.
13758
13759 2001-10-03  José Matos  <jamatos@fep.up.pt>
13760
13761         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13762
13763 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * .cvsignore: update
13766
13767         * lyx_main.C (commandLineVersionInfo): use new style version info.
13768
13769         * buffer.C (writeFile):
13770         (makeLaTeXFile):
13771         (makeLinuxDocFile):
13772         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13773
13774         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13775
13776         * version.h: update to use stuff in version.C
13777
13778         * version.C.in: new file. Contains version information determined
13779         at compile time. This is a merging of version.h and
13780         version_info.h.in.
13781
13782 2001-10-03  Juergen Vigna  <jug@sad.it>
13783
13784         * BufferView_pimpl.C (update): don't change "dirty" status in
13785         updateInset call.
13786
13787 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13788
13789         * WorkArea.C (c-tor): re-position version string slightly.
13790
13791 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13794         revert to previous code.
13795
13796         WorkArea.[Ch]: (show, destroySplash): methods removed.
13797
13798         WorkArea.C: rework code so that it's an amalgam of the codes before and
13799         after the splash screen was moved to WorkArea.
13800
13801 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13802
13803         * lyxrc.C (read):
13804         * vspace.C (inPixels):
13805         (lyx_advance):
13806         * kbmap.C (bind):
13807         * buffer.C (insertStringAsLines):
13808         (asciiParagraph): fix types to be large enough
13809
13810         * lyxlex_pimpl.h: change member status from short to int
13811
13812         * layout.h: fix type of endlabeltype
13813
13814         * kbmap.C (bind):
13815         * kbsequence.C (parse): change return type to string::size_type
13816
13817         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13818         variable
13819
13820         * Bullet.C (bulletSize):
13821         (bulletEntry): do not use short ints as parameters
13822
13823         * BufferView2.C (insertLyXFile): change a char to an int.
13824
13825         * WorkArea.C (WorkArea): remove unneeded floats in computation
13826
13827 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13828
13829         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13830
13831         * paragraph.C (asString): Do not ignore newline/hfill chars when
13832         copying to the clipboard.
13833
13834 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13835
13836         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13837         after a multi-line inset.
13838
13839 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * paragraph.C (validate): Set NeedLyXFootnoteCode
13842
13843 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13844
13845         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13846         and decrease-error to decrease.
13847
13848 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13849
13850         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13851         it more readable (should be equivalent)
13852
13853 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13854
13855         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13856
13857 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13860         of a cursor (row, etc.) after a character has been deleted
13861         (deleteEmptyParagraphMechanism): call the method above on _all_
13862         cursors held by the LyXText when a double space has been
13863         detected/deleted.
13864
13865 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13866
13867         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13868         pixmap.
13869         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13870
13871         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13872         background. Use greyOut() and the new show() methods to toggle between
13873         the foreground and background. Add code to remove the splash after
13874         its initial showing.
13875
13876         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13877         (create_forms): no longer call Dialogs::showSplash.
13878
13879 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13880
13881         * .cvsignore: add version_info.h
13882
13883 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13884
13885         * version_info.h.in: new file
13886
13887         * Makefile.am: add version_info.h.in
13888
13889         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13890         version_info.h instead of VERSION_INFO
13891
13892 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13893
13894         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13895         The ERT inset now returns string().
13896
13897 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * lyxtext.h, text.C (selectNextWord): renamed as
13900         selectNextWordToSpellcheck.
13901
13902         * text.C (selectNextWordToSpellcheck): Modified to not select
13903         words inside an ERT inset.
13904
13905 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13906
13907         * lyx_cb.C (MenuLayoutSave): change a bit the question
13908
13909         * sp_base.h: include <sys/types.h>
13910
13911 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13912
13913         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13914
13915 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13916
13917         * several files: fix typos in user-visible strings
13918
13919 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13920
13921         * text2.C (pasteSelection): do not set the selection, since it
13922         will be cleared later. Actually, the intent was to fix the way the
13923         selection was set, but I figured rmoving the code was just as good.
13924
13925 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13926
13927         * FontLoader.C (available): Check if font is available without
13928         loading the font.
13929
13930 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13931
13932         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13933
13934 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13935
13936         * lyxrc.[Ch]: added display_graphics variable and associated code.
13937
13938 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13939
13940         * bufferparams.C (hasClassDefaults): new method. Returns true if
13941         the buffer parameters correspond to known class defaults
13942
13943 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13944
13945         * XFormsView.C (show): set minimum size to the main window.
13946
13947 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13948
13949         * text2.C (copySelection):
13950         (cutSelection):
13951         * lyxfind.C (LyXReplace):
13952         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13953         LyXText::selectionAsString.
13954
13955         * paragraph.C (asString): add "label" argument to the second form
13956
13957         * text2.C (selectionAsString): add "label" argument and pass it to
13958         Paragraph::asString.
13959
13960 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13961
13962         * lyx_main.C (commandLineHelp): remove version information
13963
13964 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13965
13966         * lyx_main.C: add -version commandline option
13967
13968 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13969
13970         * paragraph.h: make the optional constructor arg required instead.
13971         some modifications to other files because of this.
13972
13973         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13974
13975         * lyxserver.C (C_LyXComm_callback): make it static
13976
13977         * lyx_main.C (error_handler): make it static
13978
13979         * lyx_gui.C (LyX_XErrHandler): make it static
13980
13981         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13982
13983         * WorkArea.C: make the extern "C" methods static.
13984
13985         * Makefile.am (lyx_LDADD): simplify
13986
13987 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13988
13989         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13990         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13991
13992         * LyXAction.C (init):
13993         * lyxfunc.C (dispatch): associated code removal.
13994
13995 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13996
13997         * lyxfont.h (isSymbolFont): shut off warning
13998
13999         * text.C (setHeightOfRow):
14000         (getVisibleRow): fix crash with empty paragraphs which have a
14001         bottom line
14002
14003 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14004
14005         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14006         code.
14007
14008 2001-09-04  José Matos  <jamatos@fep.up.pt>
14009         * buffer.C
14010         * buffer.h
14011         * tabular.C (docbook): rename docBook method to docbook.
14012
14013 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14014
14015         * Makefile.am: add dependencies to main.o.
14016
14017 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14018
14019         * FontLoader.C (available): Return false if !lyxrc.use_gui
14020
14021 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14022
14023         * FontInfo.C (query):
14024         * converter.C (view):
14025         * importer.C (Import):
14026         * exporter.C (Export): Can not -> cannot.
14027
14028 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14029
14030         * BufferView_pimpl.C: allow to create index inset even if
14031           string is empty
14032
14033 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * buffer.C (getLists): replace boost::tie code with an explicit pair
14036         as boost::tie can break some compilers.
14037
14038         * iterators.h: Added a std:: declaration to the return type of
14039         ParIterator::size.
14040
14041 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14044           case.
14045
14046 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14047
14048         * iterators.[Ch]: New files. Provide paragraph iterators.
14049
14050         * buffer.C (changeLanguage): Use paragraph iterators.
14051         (isMultiLingual): ditto
14052
14053         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14054
14055 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14056
14057         * FontLoader.C: Support for cmr font.
14058
14059 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14060
14061         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14062         (available): New method.
14063
14064         * FontInfo.C (getFontname): Use scalable fonts even when
14065         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14066         found.
14067
14068 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14069
14070         * converter.C (Formats::view): reverted! Incorrect fix.
14071
14072 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14073
14074         * converter.C (Formats::view): only output the -paper option
14075         if the dvi viewer is xdvi, thereby fixing bug #233429.
14076
14077 2001-08-23  Herbert Voss  <voss@perce>
14078
14079         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14080
14081 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14082
14083         * Spacing.h (Spacing): Set space to Default on in the default
14084         constructor.
14085
14086 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14087
14088         * vc-backend.h (RCS::versionString): add RCS to version
14089         (CVS::versionString): add CVS to version
14090
14091         * vc-backend.C (scanMaster): do not add CVS to version.
14092         (scanMaster): do not add RCS to version
14093
14094         * lyxvc.C (versionString): new method
14095
14096         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14097
14098 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14099
14100         * Spacing.C (set): initialize fval
14101
14102 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14103
14104         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14105         " or \.
14106
14107 2001-08-16  Juergen Vigna  <jug@sad.it>
14108
14109         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14110
14111 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * BufferView_pimpl.C:
14114         * figureForm.C:
14115         * lyxtext.h:
14116         * text2.C: setParagraph takes linespacing now
14117
14118 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * LyxAction.C: add internal LFUN_CITATION_INSERT
14121
14122         * LyXView.C: actually apply fix
14123
14124         * bufferlist.C: fix open non-existent file
14125
14126         * lyxfind.C: fix indentation
14127
14128         * lyxfunc.C: remove unneeded assert, fix typo
14129
14130 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14131
14132         * MenuBackend.C: use "Floatname List"
14133
14134 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14137         when converting LaTeX layout to insetERT.
14138         Generate a non-collapsed float when reading old float
14139
14140 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14141
14142         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14143         ERT insets.
14144
14145 2001-08-13  Juergen Vigna  <jug@sad.it>
14146
14147         * text.C (fill): return 0 instead of 20 as this seems to be the more
14148         correct value.
14149
14150 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14151
14152         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14153         lyxrc.font_norm.
14154
14155 2001-08-13  Juergen Vigna  <jug@sad.it>
14156
14157         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14158         casesensitive off.
14159         (SearchBackward): comment out the unlocking of the inset_owner this
14160         should not be needed!
14161
14162 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14163
14164         * Many files: Remove inherit_language, and add latex_language
14165
14166         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14167         collapsible insets.
14168
14169 2001-08-10  Juergen Vigna  <jug@sad.it>
14170
14171         * text.C (prepareToPrint): fixed hfill-width in draw!
14172
14173         * BufferView2.C (selectLastWord): save the selection cursor as this
14174         now is cleared in the function LyXText::clearSelection!
14175
14176 2001-08-08  Juergen Vigna  <jug@sad.it>
14177
14178         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14179         BACKSPACE type functions.
14180
14181         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14182         is only cutted from the document but not put in the cut-buffer, where
14183         still the old stuff should be.
14184
14185         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14186
14187         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14188
14189         * tabular.C (SetWidthOfCell): fixed special case where the width
14190         was not updated!
14191         (LeftLine): handle '|' in align_special.
14192         (RightLine): ditto
14193         (LeftAlreadyDrawed): ditto
14194         (SetWidthOfCell): ditto
14195
14196 2001-08-07  Juergen Vigna  <jug@sad.it>
14197
14198         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14199
14200 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14201
14202         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14203         * lyxlex.[hC]: ditto
14204
14205 2001-08-06  Juergen Vigna  <jug@sad.it>
14206
14207         * text.C (getVisibleRow): fix up row clearing a bit.
14208
14209 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * minibuffer.C: make sure the X server sees the changes in the input.
14212
14213 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14214
14215         * paragraph.C (getFont): split into...
14216         (getLabelFont): this
14217         (getLayoutFont): and this
14218         * paragraph_pimpl.C (realizeFont): calling this
14219
14220         * text2.C (getFont): split into...
14221         (getLayoutFont): this
14222         (getLabelFont): and this
14223         (realizeFont): all three calling this
14224
14225         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14226         files where used.
14227
14228 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14229
14230         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14231
14232 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14233
14234         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14235         layouts from the Quote inset insertion.
14236
14237 2001-08-03  Juergen Vigna  <jug@sad.it>
14238
14239         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14240
14241         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14242         only if status not is already CHANGED_IN_DRAW (second level).
14243
14244         * text.C (draw): don't set the need_break_row when inside an
14245         InsetText LyXText.
14246
14247 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14248
14249         * buffer.C (parseSingleLyXformat2Token): handle more latex
14250         conversion cases.
14251
14252         * bufferview_funcs.[hC]: change function names to
14253         begin with small char, adjust other files.
14254
14255 2001-08-02  André Pönitz <poenitz@gmx.net>
14256
14257         * lyxfunc.C:
14258         BufferView_pimpl.C: remove broken special code for math-greek
14259
14260 2001-08-02  Juergen Vigna  <jug@sad.it>
14261
14262         * BufferView_pimpl.C (update): redone this function so that we
14263         update the text again if there was a CHANGE_IN_DRAW.
14264
14265         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14266         (drawFromTo): added a new internal bool which is used by draw() and
14267         redraw() function.
14268         (general): some cursor drawing problems fixed.
14269
14270 2001-08-01  Juergen Vigna  <jug@sad.it>
14271
14272         * lyxfind.C (LyXFind): fixed
14273         (SearchForward): ditto
14274         (SearchBackward): ditto
14275
14276         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14277         spurius drawing of the cursor in the main area.
14278
14279         * text2.C (status): small fix which could lead to a segfault!
14280         (clearSelection): remove unneeded BufferView param.
14281
14282 2001-08-01  André Pönitz <poenitz@gmx.net>
14283
14284         * lyxfunc.C: small change due to changed mathed interface
14285
14286 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14287
14288         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14289
14290 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * lyxfunc.c: fail gracefully if file doesn't exist
14293
14294         * LyXSendto.C:
14295         * buffer.C:
14296         * lyxfunc.C:
14297         * BufferView_pimpl.C: IsDirWriteable() proto changed
14298
14299         * LyXView.C: fix updateWindowTitle() to store the last title
14300
14301 2001-07-31  Juergen Vigna  <jug@sad.it>
14302
14303         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14304         the font (wrong since using of Paragraph::highestFontInRange).
14305
14306         * paragraph.C (highestFontInRange): added a default_size parameter.
14307
14308         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14309         (setHeightOfRow): reformat
14310
14311 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14312
14313         * converter.[hC] + affected files: move to (inital-char)lowercase
14314         function names.
14315
14316         * ParagraphParameters.C (ParagraphParameters): remove commented code
14317
14318         * PainterBase.[Ch]: remove commented code
14319
14320         * LaTeXFeatures.h: add "bool floats" for float.sty
14321
14322         * LaTeXFeatures.C (LaTeXFeatures): init floats
14323         (require): handle float
14324         (getPackages): do it with floats
14325
14326 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * BufferView_pimpl.C (Dispatch): improve handling of
14329         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14330
14331         * commandtags.h: #include lyxfont.h here temporarily to avoid
14332         keybinding bug.
14333
14334         * bufferlist.h: include LString.h here.
14335
14336 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14337
14338         * text2.C (getStringToIndex): new method.
14339
14340 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14341
14342         * *: Reduced header file dependencies all over.
14343
14344 2001-07-30  Baruch Even  <baruch@lyx.org>
14345
14346         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14347
14348 2001-07-29  Baruch Even  <baruch@lyx.org>
14349
14350         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14351
14352 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14353
14354         * ParameterStruct.h (endif): add a default constructor to make
14355         sure that all variables is initialized.
14356
14357         * ParagraphParameters.C (ParagraphParameters): adjust
14358
14359 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14360
14361         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14362         index; also, check that there is something to index, and that it
14363         does not span over several paragraphs.
14364         (doubleClick): use WHOLE_WORD_STRICT for double click.
14365
14366         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14367
14368         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14369         scheme.
14370
14371 2001-07-26  Baruch Even  <baruch@lyx.org>
14372
14373         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14374         an InsetFig figure, backwards compatible reading of old figure code.
14375
14376 2001-07-27  Juergen Vigna  <jug@sad.it>
14377
14378         * text2.C: font.realize function adaption.
14379
14380         * text.C (draw): add a warnings lyxerr text if needed.
14381
14382         * layout.C: font.realize function adaption.
14383
14384         * language.C: add inherit_language and implement it's handlings
14385
14386         * bufferview_funcs.C (StyleReset): remove language parameter from
14387         font creation (should be language_inherit now).
14388
14389         * bufferparams.C (writeFile): handle ignore_language.
14390
14391         * paragraph.C (getFontSettings): the language has to be resolved
14392         otherwise we have problems in LyXFont!
14393
14394         * lyxfont.C (lyxWriteChanges): added document_language parameter
14395         (update): removed unneeded language parameter
14396
14397         * paragraph.C (validate): fixed wrong output of color-package when
14398         using interface colors for certain fonts in certain environments,
14399         which should not seen as that on the final output.
14400
14401 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * BufferView_pimpl.C:
14404         * Thesaurus.h:
14405         * Thesaurus.C:
14406         * Makefile.am:
14407         * commandtags.h:
14408         * LyXAction.C: add thesaurus support
14409
14410         * lyxfind.h:
14411         * lyxfind.C: add "once" parameter, for thesaurus, to not
14412           move to the next match
14413
14414 2001-07-26  Juergen Vigna  <jug@sad.it>
14415
14416         * lyxfont.C (realize): honor ignore_language too!
14417         (resolved): ditto.
14418
14419         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14420
14421         * text.C (draw): one place more for ignore_language to not draw
14422         itself!
14423
14424 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14427
14428 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429
14430         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14431         the minipage conversion problem.
14432
14433 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14434
14435         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14436         insert an inset.
14437
14438 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14439
14440         * BufferView.h: don't forward declare WorkArea
14441
14442         * BufferView.C: don't include WorkArea.h
14443
14444 2001-07-25  André Pönitz <poenitz@gmx.net>
14445
14446         * commandtags.h:
14447         * LyXAction.C:
14448         * lyxfunc.C:  new LFUN 'math-space'
14449
14450         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14451
14452 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * text2.C (toggleInset): call open/close
14455
14456 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14457
14458         * lyxfunc.C (dispatch): add debug for the disabled case
14459
14460         * font.C (buttonText): make similar to rectText
14461
14462         * buffer.C (readInset): comment out parsing of insetlist and
14463         insttheorem
14464
14465         * PainterBase.C (rectText): small correction
14466
14467         * BufferView_pimpl.C: comment out insettheorem and insetlist
14468         * LyXAction.C: ditto
14469         * commandtags.h: ditto
14470
14471 2001-07-24  Juergen Vigna  <jug@sad.it>
14472
14473         * text.C (draw): honor the ignore_language.
14474
14475         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14476
14477 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14478
14479         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14480         char inset.
14481
14482 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14483
14484         * lyxtext.h: remove unused (and unimplemented) methods
14485
14486 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14487
14488         * text.C (getVisibleRow): honor background color
14489
14490         * PainterBase.h:
14491         * Painter.h: remove default color argument for fillRectangle
14492
14493         * text.C (backgroundColor): new method
14494
14495 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14496
14497         * text.C (getVisibleRow): adjust
14498
14499         * font.[Ch] (rectText): new method, metrics
14500         (buttonText): new method, metrics
14501
14502         * PainterBase.[hC]: make rectText and buttonText always draw and take
14503         fewer paramteres.
14504
14505 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14506
14507         * ToolbarDefaults.C (read):
14508         * MenuBackend.C (read): allow escaping in all strings
14509
14510         * BufferView_pimpl.C (insertAndEditInset): new method.
14511         (Dispatch): use insertAndEditInset whenever appropriate.
14512
14513         * BufferView_pimpl.C (insertNote): removed
14514
14515         * BufferView_pimpl.C (smartQuote): new method, moved from
14516         BufferView; if an insetquote cannot be inserted, insert a '"'
14517         character instead.
14518
14519         * BufferView2.C: remove insertCorrectQuote();
14520
14521         * lyxfunc.C (getStatus): Add support for all remaingin
14522         inset-insert lfuns.
14523
14524         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14525
14526         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14527         command (necessary to pass " as parameter of self-insert.
14528
14529         * text.C (selectWordWhenUnderCursor):
14530         (selectWord): add word_location parameter
14531         (selectWordWhenUnderCursor): same + remove special code for word
14532         boundary.
14533         (selectNextWord): use kind() to guess type of insetspecialchar,
14534         not latex().
14535
14536         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14537         (insertErtContents): create ert insets as collapsed.
14538         (readInset): better compatibility code for Info inset.
14539
14540 2001-07-20  Juergen Vigna  <jug@sad.it>
14541
14542         * lyxfunc.C (dispatch): use always LyXFind now!
14543
14544         * text2.C (init): add a reinit flag so that the LyXText can be
14545         reinited instead of deleted and reallocated (used in InsetText).
14546
14547         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14548
14549         * text.C: ditto
14550
14551         * text2.C: ditto
14552
14553 2001-07-18  Juergen Vigna  <jug@sad.it>
14554
14555         * text.C (selectNextWord): handle insets inside inset by calling
14556         always the bv->text functions so that we can go up the_locking_inset!
14557
14558         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14559         in strange locations when inside an inset!
14560
14561         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14562         handling to include insets.
14563
14564         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14565
14566 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * LyXAction.C (init):
14569         * commandtags.h:
14570         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14571         LIGATURE_BREAK, since the name is so stupid.
14572
14573 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14574
14575         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14576         InsetInfos.
14577
14578         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14579
14580         * sp_form.[Ch]: remove.
14581
14582         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14583
14584         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14585         InsetInfo.
14586
14587         * src/buffer.C (readInset): ditto.
14588
14589 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14590
14591         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14592         menuSeparator(), endOfSentenceDot(), ldots() and
14593         hyphenationPoint(), which are therefore removed.
14594         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14595
14596         * LyXAction.C (init):
14597         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14598
14599         * paragraph.C (getWord): removed.
14600
14601         * BufferView_pimpl.C (Dispatch): use last word or selection for
14602         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14603
14604         * lyx_main.C (queryUserLyXDir): do not ask before creating
14605         user_dir, except if it has been named explicitely.
14606
14607 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14608
14609         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14610         a document of zero size.
14611
14612 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14613
14614         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14615         approriately in the c-tor and in require().
14616         (getPackages): output the appropriate LaTeX for natbib support.
14617
14618         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14619         variables "use_natbib" and "use_numerical_citations" when reading the
14620         LyX file.
14621         (readInset): read the various natbib cite commands.
14622         (validate): white-space change.
14623
14624         * bufferparams.[Ch]: new variables "bool use_natbib" and
14625         "bool use_numerical_citations".
14626         (writeFile): output them in the LyX file.
14627
14628 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14629
14630         * lyxfunc.C (getStatus): add support for all the inset insertion
14631         commands.
14632
14633         * text2.C (insertInset):
14634         * paragraph.C (insetAllowed):
14635         * BufferView_pimpl.C (insertInset): update to take in account the
14636         renaming of insertInsetAllowed
14637
14638         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14639
14640         * text2.C (getInset): new method. returns inset at cursor position.
14641
14642         * BufferView_pimpl.C (Dispatch): changes because of this.
14643
14644         * LyXAction.C (init): rename open-stuff to inset-toggle.
14645
14646         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14647
14648         * text2.C (toggleInset): renamed from openStuff; use
14649         Inset::open().
14650
14651 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14652
14653         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14654
14655         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14656
14657 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14658
14659         * buffer.C (readLyXformat2): Add filename to the error dialog
14660
14661 2001-07-18  Juergen Vigna  <jug@sad.it>
14662
14663         * tabular.C (GetCellNumber): put an assert here instead of the check!
14664
14665 2001-07-17  Juergen Vigna  <jug@sad.it>
14666
14667         * BufferView_pimpl.C (toggleSelection): adapted too.
14668
14669         * text.C (selectNextWord): adapted for use with insets.
14670         (selectSelectedWord): ditto
14671
14672 2001-07-17  Juergen Vigna  <jug@sad.it>
14673
14674         * sp_spell.C (PSpell): fix initialitation order.
14675
14676 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14677
14678         * paragraph.C: spacing
14679
14680 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14681
14682         * sp_spell.C: repair language selection for pspell
14683
14684 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14685
14686         * lyxfunc.h: change more methods to begin with lower char.
14687
14688 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14689
14690         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14691         for unknown layouts.
14692
14693 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14694
14695         * buffer.C (readLyXformat2): Generate an error dialog if there are
14696         unknown layouts.
14697
14698 2001-07-16  Juergen Vigna  <jug@sad.it>
14699
14700         * sp_spell.C: always compile ISpell part.
14701
14702         * lyxrc.C: added use_pspell entry and it's handling.
14703
14704 2001-07-13  Juergen Vigna  <jug@sad.it>
14705
14706         * sp_spell.C: removed double includes.
14707
14708 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14709
14710         Consistent use of Lsstream.h:
14711         * Lsstream.h: added using std::stringstream for consistencies sake.
14712
14713         * buffer.C: removed using std::stringstream
14714
14715         * lyxfont.C (stateText):
14716         * paragraph.C (asString):
14717         * text.C (selectNextWord, selectSelectedWord):
14718         * text2.C (setCounter):
14719         * vspace.C (asString, asLatexString):
14720         std::ostringstream -> ostringstream.
14721
14722 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14723
14724         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14725         * commandtags.h: add LFUN_HELP_ABOUTLYX
14726         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14727
14728 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14729
14730         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14731         cursorToggle()
14732         * lyx_gui_misc.C: remove spellchecker
14733         * lyxfunc.C: showSpellchecker
14734         * sp_base.h: added
14735         * sp_ispell.h: added
14736         * sp_pspell.h: added
14737         * sp_spell.C: added
14738         * sp_form.[Ch]: removed
14739         * spellchecker.[Ch]: removed
14740
14741 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14742
14743         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14744         is set.
14745         (simpleTeXSpecialChars): Simply print the input character without
14746         any special translation if pass_thru is set.
14747
14748         * layout.h: Added bool pass_thru to layout class for being able to
14749         implement pass through of a paragraph for Literate Programming.
14750
14751         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14752         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14753         * layout.C (Read): add "passthru" to list of layout tags and add
14754         code to set the pass_thru boolean when it is read.
14755
14756 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14757
14758         * trans_decl.h: remove allowed from KmodInfo
14759
14760         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14761         remove allowed code
14762         (Load): adjust
14763
14764         * paragraph_pimpl.C (erase): use boost::prior
14765
14766         * Painter.C (text): use data() instead of c_str() when length is
14767         also provided.
14768         * WorkArea.C (putClipboard): ditto
14769         * font.h (width): ditto
14770
14771         * BufferView2.C: use it-> instead of (*it). for iterators
14772         * texrow.C: ditto
14773         * paragraph_pimpl.C: ditto
14774         * paragraph.C: ditto
14775         * minibuffer.C: ditto
14776         * language.C: ditto
14777         * kbmap.C: ditto
14778         * encoding.C: ditto
14779         * counters.C: ditto
14780         * converter.C: ditto
14781         * chset.C: ditto
14782         * Variables.C: ditto
14783         * TextCache.C: ditto
14784         * MenuBackend.C: ditto
14785         * LyXAction.C: ditto
14786         * LColor.C: ditto
14787         * FloatList.C: ditto
14788         * DepTable.C: ditto
14789         * ColorHandler.C (LyXColorHandler): ditto
14790
14791 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14792
14793         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14794
14795         * text2.C (openStuff): reintroduce this method (which had been
14796         nuked in NEW_INSETS frenzy).
14797
14798         * lyxfunc.C (Dispatch): when an action has not been handled, use
14799         its name in the error message, not its number.
14800
14801         * paragraph.C (inInset): change method name to begin with lowercase.
14802
14803         * undo_funcs.C:
14804         * text2.C: updates because of this.
14805
14806 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * ToolbarDefaults.C (add): add spaces in error message
14809
14810 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14811
14812         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14813         (readLyXformat2): rename return_par to first_par, use lyxlex's
14814         pushToken and remove the manual push handling.
14815         (parseSingleLyXformat2Token): add another ert comp. variable:
14816         in_tabular, rename return_par to first_par. handle newlines better
14817
14818 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14819
14820         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14821
14822 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14823
14824         * text2.C (getParFromID): removed
14825
14826         * buffer.C (getParFromID): new method moved form lyxtext.
14827         * BufferView2.C (insertErrors): adjust
14828         (setCursorFromRow): adjust
14829         * BufferView_pimpl.C (restorePosition): adjust
14830         * lyxfunc.C (Dispatch): adjust
14831         * undo_funcs.C (textUndo): adjust
14832         (textRedo): adjust
14833         (textHandleUndo): adjust
14834         (textHandleUndo): adjust
14835
14836 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * buffer.C: up' the LYX_FORMAT
14839
14840         * lyxfont.h: turn NO_LATEX on as default
14841
14842         * buffer.C (insertErtContents): new methods of tex style compability.
14843         (parseSingleLyXformat2Token): use it several places.
14844         * tabular.C (OldFormatRead): and here
14845
14846 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14847
14848         * text2.C: remove some commented code.
14849         reindent file.
14850
14851         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14852         * trans.C: changes because of the above.
14853
14854 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14855
14856         * text2.C (setCounter): Fix counters bug with bibliography layout.
14857
14858 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14859
14860         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14861         own member functions
14862         (simpleTeXSpecialChars): ditto
14863
14864 2001-07-06  Juergen Vigna  <jug@sad.it>
14865
14866         * a lot of files: changed the access to LyXText::status and the
14867         call of undo-functions.
14868
14869         * undo.[Ch]: added a inset_id to the undo informations.
14870
14871         * undo_funcs.[Ch]: added and moved here all undo functions.
14872
14873         * lyxtext.h: give the status enum a weight, made status_ a private
14874         variable and made accessor functions for it, removed the whole bunch
14875         of undo-functions as they are now in their own file, make some
14876         functions publically available. Added function ownerParagraph with
14877         int parameter.
14878
14879         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14880         made InInset() a const function, added getParFromID() function.
14881
14882         * buffer.[Ch]: added const version for inset_iterator functions,
14883         added getInsetFromID() function.
14884
14885         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14886         changed undo functions for new version.
14887
14888 2001-07-05  Juergen Vigna  <jug@sad.it>
14889
14890         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14891         unknow mechanism does not call the proper constructor but only this
14892         one also if I request the other!?
14893
14894 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14897
14898         * text2.C (LyXText): use initialization lists.
14899
14900         * lyxtext.h (Selection): initialize set_ and mark_
14901         (init): remove method
14902
14903 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14904
14905         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14906
14907 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14908
14909         * screen.[Ch]: change method names to begin with lowercase
14910
14911         * BufferView_pimpl.C (updateScrollbar): simplify further and
14912         hopefully make it a bit faster.
14913
14914 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14915
14916         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14917         calling directly xforms functions.
14918
14919         * Painter.C (Painter):
14920         * lyx_cb.C (MenuWrite):
14921         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14922         fl_display.
14923
14924         * lyx_gui.C: remove bogus guiruntime extern declaration.
14925
14926 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14927
14928         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14929         in NEW_INSETS
14930         (redoDrawingOfParagraph): ditto
14931         (redoParagraphs): ditto
14932         (cutSelection): don't create a object for CutAndPaste use the
14933         static method directly
14934         (pasteSelection): ditto
14935
14936         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14937         LyXview (+ rename)
14938
14939 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14940
14941         * modifications to some other files because of this.
14942
14943         * Makefile.am (lyx_SOURCES): add XFormsView
14944
14945         * XFormsView.[Ch]: new files
14946
14947         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14948         the main window. Move the gui dependent stuff to XFormsView
14949
14950 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14951
14952         * tabular.C (GetCellInset): update cur_cell also in the row/col
14953         version of this function.
14954
14955         * lyxfunc.C: no need to include figure_form.h here.
14956
14957         * FontLoader.h:
14958         * lyxfunc.h:
14959         * lyxscreen.h:
14960         * text2.C:
14961         * lyxvc.C: no need to include forms.h here.
14962
14963 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14964
14965         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14966
14967         * lyxfunc.C (Dispatch):
14968         * Spacing.C (set):
14969         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14970         constructor argument.
14971
14972 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14973
14974         * paragraph.C (Paragraph): dont't clear, and just set layout.
14975         (makeSameLayout): use params's copy contructor.
14976
14977         * ParagraphParameters.[Ch] (makeSame): delete method
14978
14979 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14980
14981         * Variables.[Ch]: fix indentation, rename set to isSet
14982
14983 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14984
14985         * lyxfunc.C (Dispatch): fix typo
14986
14987 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14988
14989         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14990         upper_bound.
14991
14992         * bufferlist.C: include assert.h for emergencyWrite().
14993
14994 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14995
14996         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14997           give up at last (bug #425202) !
14998
14999 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15000
15001         * lyx_gui_misc.C:
15002         * sp_form.h:
15003         * sp_form.C:
15004         * spellchecker.h:
15005         * spellchecker.C: strip spellchecker options and bring up
15006           preferences tab instead
15007
15008 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15009
15010         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15011         the istringstream constructor
15012
15013 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15014
15015         * paragraph.C (getLayout): fix return value
15016
15017         * paragraph.h: do not declare getLayout as inline.
15018
15019         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15020
15021 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15022
15023         * lyxcursor.h (operator<): new func
15024         (operator>): new func
15025         (operator>=): new func
15026         (operator<=): new func
15027
15028         * text.C (changeCase): use selection.start and selection.end
15029         (changeRegionCase): require from to be <= to. Require par to be a
15030         valid paragraph.
15031
15032         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15033
15034 2001-06-27  Juergen Vigna  <jug@sad.it>
15035
15036         * text.C (cursorLeftOneWord): changed to return the cursor and added
15037         overlay with BufferView * parameter which calls this one.
15038         (getWord): added
15039         (selectWord): use new getWord function.
15040         (changeCase): renamed from changeWordCase as and extended to work
15041         also on selections.
15042
15043         * lyxtext.h: added enum word_location
15044
15045         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15046         changeCase as this operates now also on selections.
15047
15048 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15049
15050         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15051
15052         * many files: send debug output to Debug::INFO instead of
15053         Debug::ANY.
15054
15055         * converter.C (View):
15056         (Convert):
15057         (Move): send debug output to Debug::FILES instead of console.
15058
15059 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15060
15061         * lyxfunc.C (getStatus): use func_status
15062
15063         * func_status.h: new header, describing the results of
15064         LyXFunc::getStatus;
15065
15066         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15067         LFUN_MATH_HALIGN.
15068
15069 2001-06-25  The LyX Project  <jug@sad.it>
15070
15071         * buffer.C (sgmlOpenTag):
15072         (sgmlCloseTag):
15073         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15074
15075 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * text2.C: remove some dead code
15078
15079         * tabular.C (GetCellInset): store the last cell checked (gotten)
15080
15081         * tabular.h: add the helper for the speedup
15082
15083         * lyxtext.h: remove some dead code
15084
15085 2001-06-26  The LyX Project  <Asger>
15086
15087         * paragraph.C: Change export to LaTeX of alignment to
15088         \begin{center} and family for better roundtrip work with reLyX.
15089
15090         * Tune the math drawing a bit.
15091
15092 2001-06-25  The LyX Project  <Asger>
15093
15094         * LColor.C (LColor): New color for math background. New color
15095         for buttons.
15096
15097 2001-06-25  The LyX Project  <jug@sad.it>
15098
15099         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15100
15101         * lyxfunc.C (Open):
15102         * bufferlist.C (newFile): do not restrict to files ending with
15103         .lyx
15104
15105         * BufferView_pimpl.C (MenuInsertLyXFile):
15106
15107 2001-06-24  The LyX Project  <jug@sad.it>
15108
15109         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15110         of compare_no_case
15111
15112 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15113
15114         * lyxtext.h: rename most methods to begin with a small char.
15115         Lots of changes because of this.
15116
15117         * paragraph.C (Paragraph): do not call fitToSize
15118         (erase): call Pimpl::erase
15119         (insertChar): call Pimpl::insertChar
15120         (insertInset): call Pipl::insertInset
15121         (breakParagraph): do not call fitToSize
15122         (breakParagraphConservative): do not call fitToSize
15123         (fitToSize): remove method
15124
15125         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15126
15127 2001-06-24  The LyX Project  <Asger>
15128
15129         * Fix Qt compilation^2
15130
15131 2001-06-24  The LyX Project  <jug@sad.it>
15132
15133         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15134         depthHook(getDepth()-1).
15135
15136         * paragraph.h:
15137         * ParagraphParameters.h:
15138         * ParameterStruct.h: change type of depth to unsigned int ==
15139         depth_type. Many adaptations to other files before of that.
15140
15141 2001-06-24  The LyX Project  <Asger>
15142
15143         * Fix Qt compilation.
15144
15145 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * paragraph.h: renamed several methods to begin with small letter.
15148         several changes to many parts of the code because of this.
15149
15150 2001-06-23  The LyX Project  <jug@sad.it>
15151
15152         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15153         rewritten to discard all double spaces when KeepEmpty is off
15154         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15155         to only handle newlines but not fiddle with spaces and friends.
15156
15157         * lyxfunc.C (MenuNew): when doing 'new from template', use
15158         template_path as default directory
15159
15160 2001-06-23  The LyX Project  <Asger>
15161
15162         * Clean-up of header file includes all over
15163         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15164
15165 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15166
15167         * paragraph.h: renamed from lyxparagraph.h
15168
15169 2001-06-23  Asger  <lyx@violet.home.sad.it>
15170
15171         * Buffer.h: Removed Buffer::resize
15172         * BufferList.h: Removed BufferList::resize
15173         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15174         the document lazily when we change the width, or the font settings.
15175
15176 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15177
15178         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15179
15180 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15181
15182         * buffer.h: remove out of date comment
15183
15184 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15185
15186         * lyxscreen.h:
15187         * screen.C: fix "theoretical" GC leak
15188
15189 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15190
15191         * LaTeX.C (scanAuxFile):
15192         (deplog): remove trailing \r when reading stream (useful under
15193         win32)
15194
15195 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15196
15197         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15198         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15199         and BufferView::theLockingInset(Inset*), so should use them and not
15200         access bv_->text->the_locking_inset directly.
15201
15202         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15203
15204 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * Makefile.am:
15207         * tex-defs.h: remove old unused file
15208
15209 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15210
15211         * BufferView_pimpl.C: fix typo, remove minibuffer message
15212           when buffer has loaded
15213
15214 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15215
15216         * lyxfunc.C (Dispatch): use stringstream
15217         (MenuNew): use stringstream
15218         (Open): use stringstream
15219
15220         * importer.C (Import): use stringstream
15221
15222         * bufferview_funcs.C (CurrentState): use stringstream
15223
15224         * LaTeX.C (run): use stringstream
15225
15226         * BufferView_pimpl.C (savePosition): use stringstream
15227         (restorePosition): use stringstream
15228         (MenuInsertLyXFile): use stringstream
15229
15230 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15231
15232         * BufferView.C:
15233         * Bullet.C:
15234         * ColorHandler.C:
15235         * FontInfo.C:
15236         * FontLoader.C:
15237         * LColor.C:
15238         * LaTeXFeatures.C:
15239         * Painter.C:
15240         * gettext.C:
15241         * lyx_gui_misc.C:
15242         * lyxserver.C:
15243         * vspace.C: removed // -*- C++ -*- as first line.
15244
15245         * lyxfind.h:
15246         * version.h: added // -*- C++ -*- as first line.
15247
15248 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15249
15250         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15251
15252         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15253         of string
15254
15255 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15256
15257         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15258         of floats.
15259
15260 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15261
15262         * gettext.C: include LString.h even when --disable-nls is on.
15263
15264 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15265
15266         * converter.h (Get): changed argument type from int to
15267         FormatList::size_type to avoid unnecessary conversion.
15268
15269         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15270         before using it.
15271
15272 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * gettext.h: include LString.h even when --disable-nls is on.
15275
15276 2001-06-07  Juergen Vigna  <jug@sad.it>
15277
15278         * text.C (BreakAgain): subst spaces with tabs.
15279
15280         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15281         (resizeInsetsLyXText): set force on resizeLyXText.
15282
15283 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15284
15285         * gettext.h (gettext_init):
15286         (locale_init): use a real definition instead of a macro
15287
15288 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15289
15290         * Bufferview_pimpl.C:
15291         * LColor.h:
15292         * LColor.C: further lcolor tidies
15293
15294 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * BufferView_pimpl.C (updateScrollbar): simplify.
15297
15298         * BufferView2.C: don't include insets/insetinfo.h, change
15299         prototype for insertInset and call the Pimpl version. let
15300         updateInset call Pimpl version.
15301
15302         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15303         gotoInset to BufferView::Pimpl
15304
15305 2001-06-01  Juergen Vigna  <jug@sad.it>
15306
15307         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15308         inside a LockingInset (is the update needed at all?).
15309
15310 2001-05-31  Juergen Vigna  <jug@sad.it>
15311
15312         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15313         here not the old one otherwise how should we compare it afterwards
15314         if it's the same!
15315
15316 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * lyxfont.C:
15319         * tabular.C:
15320         * tabular-old.C:
15321         * FontInfo.C: bring C functions into global namespace when
15322         necessary
15323
15324 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * LString.h: make sure config.h has been loaded before LString.h.
15327
15328         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15329         (one for each char read by EatLine!).
15330
15331         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15332         variables.
15333
15334 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15337         to the same as the par we break from
15338
15339 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15340
15341         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15342
15343         * MenuBackend.C (expand): also create menu entries for wide
15344         versions of the floats.
15345
15346         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15347
15348         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15349
15350         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15351         frontends/Makefile.am
15352
15353         * text2.C: adjust
15354         * text.C: adjust
15355
15356
15357         * tabular.C (getTokenValue): add std::
15358
15359         * tabular-old.C (getTokenValue): add std::
15360         (getTokenValue): ditto
15361         (getTokenValue): ditto
15362
15363         * screen.C (ToggleSelection): adjust
15364
15365         * lyxtext.h: put selection cursors inside a Selection struct.
15366
15367         * lyxfunc.C (moveCursorUpdate): adjust
15368
15369         * lyxfont.C (latexWriteStartChanges): add std::
15370
15371         * lyxfind.C: adjust
15372
15373         * font.h: delete with(char const *, LyXFont const &)
15374
15375         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15376
15377         * FontInfo.C (getFontname): add std::
15378
15379         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15380         (workAreaButtonPress): adjust
15381         (tripleClick): adjust
15382         (update): adjust
15383         (moveCursorUpdate): adjust
15384         (Dispatch): adjust
15385
15386         * BufferView2.C (gotoInset): adjust
15387
15388 2001-05-30  Juergen Vigna  <jug@sad.it>
15389
15390         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15391         to check pspell I add this as default as I now have new pspell
15392         libraries and they seem to use this.
15393
15394 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15395
15396         * text2.C (CutSelection): make the cursor valid before the call to
15397         ClearSelection.
15398
15399 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15402         relied on 0 terminated strings and other horrors. Bug found due to
15403         the new assert in lyxstring!
15404
15405         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15406         KP_ keys.
15407
15408 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15409
15410         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15411         to latinkeys.bind.
15412
15413         * lyxfunc.C (processKeySym): change method of getting to the
15414         self-insert char.
15415
15416         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15417         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15418         * BufferView_pimpl.[Ch]: here as private methods.
15419
15420 2001-05-28  Juergen Vigna  <jug@sad.it>
15421
15422         * text.C (SetHeightOfRow): added the update() call again as it is
15423         needed to initialize inset dimensions!
15424
15425 2001-05-16  Juergen Vigna  <jug@sad.it>
15426
15427         * text2.C (SetCharFont): Add new function with BufferView * and
15428         bool toggleall parameters for setting insets internal fonts.
15429         (SetFont): Freeze the undo as we may change fonts in Insets and
15430         all this change should be inside only one Undo!
15431
15432         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15433         setting font's in insets as for them we have the SetFont function!
15434
15435 2001-05-15  Juergen Vigna  <jug@sad.it>
15436
15437         * text2.C (ClearSelection): to be sure we REALLY don't have any
15438         selection anymore!
15439
15440         * tabular.C (TeXCellPreamble): fixed the left border problem for
15441         multicolumn cells.
15442
15443 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15444
15445         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15446         dependancy file
15447
15448 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15449
15450         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15451         LFUN_BREAKPARAGRAPH.
15452
15453         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15454         help test to "internal only", similar for LFUN_INSERT_URL
15455
15456         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15457         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15458         auto_region_delete and deadkeys.
15459
15460 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15461
15462         * LColor.h:
15463         * LColor.C: remove some dead entries, tidy a little
15464
15465 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15466
15467         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15468         commented code.
15469         (Dispatch): implement LFUN_ESCAPE
15470
15471         * commandtags.h: add LFUN_ESCAPE
15472
15473         * LyXAction.C (init): add entry for LFUN_ESCAPE
15474
15475         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15476         Remove commented code.
15477         (insertNote): moved here
15478         (open_new_inset): moved here
15479
15480         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15481         BufferView_pimpl
15482
15483 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15484
15485         * kbmap.C (findbinding): clean it up and make it work correctly.
15486
15487         * lyx_main.C (init): do not pass argc and argv as parameters
15488
15489 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15490
15491         * buffer.C: fix path for OS/2 & Win32
15492
15493         * lyx_gui.C:
15494         * lyx_main:
15495         * lyx_main.C: Added os:: class.
15496
15497         * os2_defines.h: update
15498
15499 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15500
15501         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15502         better by trying again with reduced state.
15503
15504 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15505
15506         * lyxrc.C (read): print error about invalid key sequence only when
15507         debugging (because not all latinX keysyms are known to some X
15508         servers)
15509
15510         * kbsequence.C (getiso): add a few std:: qualifiers
15511         (getiso): comment out extra return statement.
15512
15513 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15514
15515         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15516         handling.
15517         (Dispatch): enhance the accent inset a bit. (not perfect)
15518
15519 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15520
15521         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15522
15523 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15524
15525         * bufferlist.C (emergencyWrite): fix assert() call
15526
15527 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15528
15529         * text.C (InsertChar): Added trivial patch to only send the "you
15530         can not do multiple spaces this way" message once during a
15531         session.
15532
15533 2001-05-08  Baruch Even  <baruch@lyx.org>
15534
15535         * Makefile.am: Changed order of libraries to get LyX to link properly
15536         with the gnome frontend.
15537
15538 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15539
15540         * LaTeXFeatures.h: add a std:: qualifier
15541
15542 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15543
15544         * paragraph.C (String): use stringstream
15545
15546 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * paragraph.C (writeFile): remove footflag arg
15549
15550         * buffer.C (makeLaTeXFile): use stringstream
15551         (latexParagraphs): remove footnot gurba
15552
15553         * LaTeXFeatures.C (getPackages): use stringstream
15554         (getMacros): likewise
15555         (getTClassPreamble): likewise
15556         (getFloatDefinitions): new method
15557
15558         * paragraph.C (writeFile): reindent
15559         (Erase): reindent
15560
15561         * WorkArea.h: revert the xpos + etc changes.
15562
15563         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15564
15565         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15566
15567         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15568         (pasteSelection): likewise
15569         * text2.C (CreateUndo): likewise
15570
15571 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15572
15573         * minibuffer.C (peek_event): temporarily reduce the functionality
15574         of the minibuffer (to allow args on lfuns)
15575
15576         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15577         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15578
15579         * buffer.C (readInset): add compability reading of old float
15580         lists, add reading of new style float list.
15581         (readInset): avoid reevaluation of inscmd.getCmdName()
15582         (getLists): reindent
15583
15584         * MenuBackend.C (MenuItem): implement parsing of
15585         md_floatlistinsert and md_floatinsert.
15586         (expand::LastFiles): move initalizaton of iterators out of loop,
15587         avoid reevaluation.
15588         (expand::Documents): introduce typdedef vector<string> Strings,
15589         and use it.
15590         (expand::ExportFormats): introduce typedef vector<Format const *>
15591         Formats, and use it.
15592         (expand): implement FloatListInsert and FloatInsert.
15593
15594         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15595         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15596         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15597
15598         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15599         handling.
15600         (Dispatch::LFUN_FLOAT_LIST): implement
15601
15602 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15603
15604         * LaTeX.C (run): Fix problem with --export code.
15605
15606 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15607
15608         * BufferView.[Ch] (workarea): removed.
15609         (getClipboard) new method; wrapper for workarea()->getClipboard()
15610
15611         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15612         bug.
15613
15614         * WorkArea.h (width, height, xpos, ypos): These methods all
15615         returned the dimensions of the work_area sub-area of WorkArea,
15616         resulting in a position error if the WorkArea were resized. Now
15617         return the dimensions of the entire WorkArea.
15618
15619         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15620
15621 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15622
15623         * LaTeX.C (deplog): correct the syntax of regex reg1
15624
15625 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15626
15627         * undo.C: remove !NEW_INSETS cruft
15628
15629 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15630
15631         * text2.C: remove !NEW_INSETS cruft
15632
15633         * text.C: remove !NEW_INSETS cruft
15634
15635         * tabular.C: remove !NEW_INSETS cruft
15636
15637         * spellchecker.C: remove !NEW_INSETS cruft
15638
15639         * lyxtext.h: remove !NEW_INSETS cruft
15640
15641         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15642
15643         * lyxfunc.C: remove !NEW_INSETS cruft
15644
15645         * lyxfind.C: remove !NEW_INSETS cruft
15646
15647         * lyx_cb.C: remove !NEW_INSETS cruft
15648
15649         * figureForm.C: remove  !NEW_INSETS cruft
15650
15651         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15652
15653         * buffer.[Ch]: remove !NEW_INSETS cruft
15654
15655         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15656
15657         * CutAndPaste.C: remove !NEW_INSETS cruft
15658
15659         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15660
15661         * BufferView2.C: remove !NEW_INSETS cruft
15662
15663         * BufferView.h: remove !NEW_INSETS cruft
15664
15665 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * Lsstream.h: include LString.h before the sstream headers to
15668         fix problem with gcc 2.95.3 and lyxstring
15669
15670 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * lyx_main.C: add using directives when needed for C functions
15673         declared in std:: namespace.
15674
15675 2001-04-27  Juergen Vigna  <jug@sad.it>
15676
15677         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15678         (SetHeightOfRow): comment out the update call should not be needed!
15679
15680 2001-04-13  Juergen Vigna  <jug@sad.it>
15681
15682         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15683         (LyXTabular): tried to minimize operator= operations (and realized
15684         hopfully Lars wish).
15685
15686 2001-04-27  Juergen Vigna  <jug@sad.it>
15687
15688         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15689
15690 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15691
15692         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15693
15694         * buffer.C (readInset): hack to make listof algorithm work
15695
15696         * BufferView_pimpl.C: hack to make listof algorithm work
15697
15698 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15699
15700         * LyXAction.C: removed all !NEW_INSETS cruft
15701         (init): moved lfun_item in method
15702
15703         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15704
15705 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15706
15707         * BufferView2.C (theLockingInset): white space.
15708
15709 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15710
15711         * minibuffer.C: include <iostream>
15712
15713         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15714
15715         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15716
15717         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15718
15719         * text.[Ch] (TransposeChars): new method
15720
15721 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15722
15723         * call message directly through LyXView instead of through LyXFunc
15724         * BufferView2.C: adjust
15725         * BufferView_pimpl.C: adjust
15726         * FontLoader.C: adjust
15727         * buffer.C: adjust
15728         * bufferview_funcs.C: adjust
15729         * converter.C: adjust
15730         * figureForm.C: adjust
15731         * importer.C: adjust
15732         * lyx_cb.C: adjust
15733         * lyx_gui_misc.C: adjust
15734         * lyxfunc.C: adjust
15735         * lyxvc.C: adjust
15736         * text2.C: adjust
15737         + more files in subdirs
15738
15739         * lyxparagraph.h (size): move up int file
15740         (GetLayout): ditto
15741
15742         * adjust all uses of Assert to lyx::Assert.
15743
15744         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15745         lyxfunctional in namespace lyx
15746         * layout.C (hasLayout): ditto
15747         (GetLayout): ditto
15748         (GetLayout): ditto
15749         (delete_layout): ditto
15750         (NumberOfClass): ditto
15751         * converter.C (GetFormat): ditto
15752         (GetNumber): ditto
15753         (Add): ditto
15754         (Delete): ditto
15755         (SetViewer): ditto
15756         * bufferlist.C (getFileNames): ditto
15757         (emergencyWriteAll): ditto
15758         (exists): ditto
15759         (getBuffer): ditto
15760         * MenuBackend.C (hasSubmenu): ditto
15761         (hasMenu): ditto
15762         (getMenu): ditto
15763         * BufferView_pimpl.C (getInsetByCode): ditto
15764
15765 2001-04-18  Juergen Vigna  <jug@sad.it>
15766
15767         * vspace.C (asLatexString): fixed the 100% problem.
15768
15769 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15770
15771         * lyxfunc.C (Dispatch):
15772         * minibuffer.C:
15773         * minibuffer.h: add a few std:: qualifiers
15774
15775 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15776
15777         * minibuffer.[Ch]: reimplement so that commands is initiated and
15778         run from lyxfunc, simplified som handling, and made the completion
15779         and history code for complete. wip.
15780
15781         * lyxfunc.C (processKeySym): call message
15782         (miniDispatch): new temporary method
15783         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15784         (LFUN_MESSAGE): implement
15785         (LFUN_MESSAGE_PUSH): implement
15786         (LFUN_MESSAGE_POP): implement
15787         (initMiniBuffer): the initial/defualt minibuffer message.
15788
15789         * lyxfont.[Ch]: inline some more getters
15790
15791         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15792
15793         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15794
15795         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15796         (AutoSave): use LFUN_MESSAGE
15797         (Reconfigure): ditto
15798
15799         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15800
15801         * figureForm.C: use LFUN_MESSAGE
15802
15803         * converter.C (runLaTeX): use LFUN_MESSAGE
15804
15805         * bufferview_funcs.C: use LFUN_MESSAGE
15806         (Melt): ditto
15807         (changeDepth): ditto
15808
15809         * bufferparams.h: use boost::
15810
15811         * bufferlist.h: inherit privately from noncopyable
15812
15813         * bufferlist.C (loadLyXFile): remove some commented code.
15814
15815         * buffer.C (runChktex): use LFUN_MESSAGE
15816
15817         * ShareContainer.h: inherit privately from noncopyable
15818
15819         * ParagraphParameters.[hC] (depth): inline it.
15820
15821         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15822         methods.
15823         (message): new method
15824         (messagePush): ditto
15825         (messagePop): ditto
15826         (show): init minibuffer
15827         (showState): direct call
15828
15829         * LaTeX.[Ch]: inherit privately from noncopyable
15830         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15831         instead of WriteStatus.
15832
15833         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15834
15835         * BufferView_pimpl.C (buffer): don't init minibuffer
15836         (workAreaButtonPress): use LFUN_MESSAGE
15837         (workAreaButtonRelease): ditto
15838         (savePosition): ditto
15839         (restorePosition): ditto
15840         (MenuInsertLyXFile): ditto
15841         (workAreaExpose): don't init minibuffer
15842         (update): remove commented code, simplify
15843
15844         * BufferView2.C (openStuff): use LFUN_MESSAGE
15845         (toggleFloat): ditto
15846         (menuUndo): ditto
15847         (menuRedo): ditto
15848         (copyEnvironment): ditto
15849         (pasteEnvironment): ditto
15850         (copy): ditto
15851         (cut): ditto
15852         (paste): ditto
15853         (gotoInset): ditto
15854         (updateInset): remove some commented code
15855
15856         * lastfiles.h: inherit privately from noncopyable
15857         * layout.h: ditto
15858         * lyx_gui.h: ditto
15859         * lyx_main.h: ditto
15860         * lyxlex.h: ditto
15861         * lyxlex_pimpl.h: ditto
15862
15863         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15864         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15865         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15866
15867         * LyXAction.h: inherit privately from noncopyable, add methods
15868         func_begin, func_end, returning iterators to the func map.
15869
15870         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15871         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15872         (func_begin): new method
15873         (func_end): new method
15874
15875         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15876         and not)
15877         (copySelection): ditto
15878         (pasteSelection): ditto
15879
15880         * BufferView.C: whitespace change
15881         * BufferView.h: inherit privately from noncopyable
15882
15883 2001-04-16  Allan Rae  <rae@lyx.org>
15884
15885         * tabular-old.C (l_getline):
15886         * spellchecker.C (sc_check_word):
15887         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15888         an unrecognised preprocessor directive.  So ensure they're wrapped.
15889
15890 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15891
15892         * src/exporter.C (Export): Give an error message when path to file
15893         contains spaces.
15894
15895 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15896
15897         * LaTeX.C (deplog): Always check that foundfile exists.
15898
15899 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15900
15901         * lyx_main.h:
15902         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15903
15904 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15905
15906         * tabular.[Ch] (getLabelList): implement new method
15907
15908         * minibuffer.h: comment ouf setTiimer
15909
15910         * minibuffer.C (ExecutingCB): constify res
15911         (peek_event): constify s
15912         (Set): constify ntext
15913         (Init): constify nicename
15914
15915         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15916
15917         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15918         (savePosition): use two params to Minibuffer::Set
15919         (restorePosition): ditto
15920
15921 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15922
15923         * lyx_main.C: include language.h
15924
15925         * Makefile.am (lyx_main.o): add language.h
15926
15927 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15928
15929         * exporter.C:
15930         * paragraph.C:
15931         * screen.C:
15932         * tabular.C:
15933         * CutAndPaste.C: include gettext.h
15934
15935         * lyxfont.h: remove old hack with ON and OFF.
15936
15937         * lyxparagraph.h:
15938         * lyxfont.h: do not include language.h...
15939
15940         * BufferView2.C:
15941         * LaTeXFeatures.C:
15942         * Painter.C:
15943         * bufferview_funcs.C:
15944         * font.C:
15945         * lyxfont.C:
15946         * text.C:
15947         * text2.C:
15948         * trans_mgr.C:
15949         * paragraph.C: ... but do it here instead
15950
15951 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15952
15953         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15954
15955         * tabular.C: small reformat
15956
15957         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15958         NEW_INSETS version
15959         (GetChar): ditto
15960         (BreakParagraph): ditto
15961         (SetOnlyLayout): ditto
15962         (SetLayout): ditto
15963
15964         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15965         with one arg less.
15966
15967         * lastfiles.C: removed most using decl, add std:: where needed
15968
15969         * buffer.C: ws changes
15970
15971         * MenuBackend.C (class compare_format): put into anon namespace
15972         (expand): constify label, names, action, action2
15973         (expand):
15974
15975         * text.C (SingleWidth): constify font
15976         (IsBoundary): constify rtl2
15977         (GetVisibleRow): constify ww
15978
15979         * LaTeX.C (deplog): constify logfile
15980
15981         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15982         start_x, end_x
15983         (workAreaExpose): constify widthChange, heightChange
15984
15985         * lyxrow.C (par): moved
15986         (height): moved
15987         (next): moved
15988         * lyxrow.h: as inlines here
15989
15990         * lyxfont.h (shape): moved from lyxfont.C
15991         (emph): moved from lyxfont.C
15992
15993         * lyxfont.C (LyXFont): use initialization list for all
15994         constructors
15995         (shape): move to lyxfont.h as inline
15996         (emph): move to lyxfont.h as inline
15997
15998
15999 2001-04-04  Juergen Vigna  <jug@sad.it>
16000
16001         * vspace.C: had to include stdio.h for use of sscanf
16002
16003 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16004
16005         * BufferView.h:
16006         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16007         independent of xforms.
16008
16009 2001-04-02  Juergen Vigna  <jug@sad.it>
16010
16011         * spellchecker.C: fixed namespace placing!
16012
16013 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16014
16015         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16016         the LyXParagraph * is 0.
16017
16018 2001-03-29  Juergen Vigna  <jug@sad.it>
16019
16020         * vspace.C: added support for %, c%, p%, l%.
16021         (stringFromUnit): added helper function.
16022         (asLatexString): changed to give right results for the %-values.
16023
16024         * buffer.C: convert the widthp in a width%.
16025
16026 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16027
16028         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16029         figureForm.[Ch].
16030
16031         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16032         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16033
16034         * lyx_cb.[Ch]: see above.
16035
16036         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16037         form1.[Ch].
16038
16039         * form1.[Ch]:
16040         * lyx.[Ch]: replaced by figure_form.[Ch].
16041
16042         * lyx_gui.C:
16043         * lyx_gui_misc.C:
16044         * lyxfunc.C: changed headers associated with above changes.
16045
16046 2001-03-27  Juergen Vigna  <jug@sad.it>
16047
16048         * BufferView_pimpl.C: set the temporary cursor right!
16049
16050 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16051
16052         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16053
16054 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16055
16056         * LString.h: removed "using std::getline"!
16057
16058         * BufferView_pimpl.C (Dispatch): changes due to changes in
16059         InsetInclude::Params.
16060
16061         * buffer.C (tag_name): removed redundant break statements as they were
16062         producing lots of warnings with my compiler.
16063
16064 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * LString.h: add "using std::getline" when using the real <string>.
16067
16068 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16069
16070         * buffer.C: removed bitset usage.
16071         PAR_TAG moved to an anonymous name space.
16072         (tag_name): new funtion, also in the anonymous namespace.
16073         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16074         (makeDocBookFile): clean code. Completed transition from string arrays
16075         to string vectors.
16076         (SimpleDocBookOnePar): code clean.
16077
16078 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16079
16080         * tabular.C: add some comments.
16081
16082 2001-03-22  Juergen Vigna  <jug@sad.it>
16083
16084         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16085         compatibility read a bit and fixed bug with minipage in different
16086         depth.
16087
16088 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16089
16090         * buffer.C (pop_tag): removed.
16091         (push_tag): removed.
16092         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16093         array replaced with vector. Added support for CDATA sections.
16094         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16095         at any nest level.
16096         (makeDocBookFile): XML conformant declaration of CDATA section,
16097         fixed bug related to <emphasis> in the first paragraph char.
16098         (sgmlOpenTag): exclude empty tags.
16099         (sgmlCloseTag): ditto.
16100
16101         * buffer.h (pop_tag): removed.
16102         (push_tag): removed.
16103
16104 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16105
16106         * language.h (Languages): added size_type and size().
16107
16108 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16109
16110         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16111         response on compability reading of minipages. One probliem is that
16112         the old usage of minipages was «flertydig»
16113
16114         * several files here and in subdirs: don't use static at file
16115         scope use anon namespaces instead.
16116
16117 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16118
16119         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16120         LaTeX output. This is necessary for Literate document
16121         processing.
16122
16123 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16124
16125         * buffer.C: insert hfill when needed.
16126
16127         * tabular.C (l_getline): use string::erase, small whitespace change.
16128
16129         * BufferView_pimpl.C: try the anon namespace.
16130         * WorkArea.C: ditto
16131
16132 2001-03-16  Juergen Vigna  <jug@sad.it>
16133
16134         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16135         otherwise it won't open options-dialogs.
16136
16137         * buffer.C: honor pextraWidth(p) on converting minipages.
16138
16139         * tabular.C (l_getline): changed the functions to strip trailing \r.
16140
16141 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16142
16143         * BufferView_pimpl.C:
16144         * minibuffer..C: added "using SigC::slot" declaration.
16145
16146 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16147
16148         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16149
16150         * text2.C: ditto
16151
16152         * text.C: ditto
16153
16154         * paragraph.C: ditto
16155
16156         * lyxtext.h: NO_PEXTRA
16157
16158         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16159
16160         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16161         * ParameterStruct.h: ditto
16162         * ParagraphParameters.h: ditto
16163         * lyxparagraph.h: ditto
16164
16165 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16166
16167         * buffer.C: add compability for minipage alignment.
16168         (latexParagraphs): remove unwanted pextra check.
16169
16170         * several files: remove CXX_WORKING_NAMESPACES
16171
16172         * buffer.C (pop_tag): tie is in namespace boost
16173
16174         * BufferView.h: noncopyable is in namespace boost
16175         * lyxlex.h: ditto
16176         * lyx_main.h: ditto
16177         * lyx_gui.h: ditto
16178         * layout.h: ditto
16179         * lastfiles.h: ditto
16180         * bufferlist.h: ditto
16181         * ShareContainer.h: ditto
16182         * LyXView.h: ditto
16183         * LyXAction.h: ditto
16184         * LaTeX.h: ditto
16185
16186 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16187
16188         * Merging changes from BRANCH_MVC back into HEAD.
16189
16190         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16191
16192 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16193
16194         * BufferView_pimpl.C: change from intl.C
16195
16196         * combox.h:
16197         * combox.C:
16198         * Makefile.am: move combox.*
16199
16200         * form1.h:
16201         * form1.C:
16202         * lyx_gui.C:
16203         * intl.h:
16204         * intl.C: remove dialog (covered by prefs)
16205
16206 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16207
16208         * lyxfunc.C (Dispatch): removed redundant break statement.
16209
16210 2001-03-14  Juergen Vigna  <jug@sad.it>
16211
16212         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16213
16214 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16215
16216         * buffer.C: add hack to fix compability reading of minipages.
16217
16218 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16219
16220         * buffer.C (getLists): Cleanup.
16221
16222 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16223
16224         * lyxfont.C (update): don't honor toggleall on font size.
16225
16226 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16227
16228         * bmtable.c:
16229         * bmtable.h:
16230         * Makefile.am: moved to frontends/xforms/
16231
16232         * lyx_gui_misc.C:
16233         * lyxfunc.C:
16234         * BufferView_pimpl.C: changes for moved mathpanel
16235
16236 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16237
16238         * gettext.h: fix gettext_init() in --disable-nls
16239
16240 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16241
16242         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16243
16244 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16245
16246         * lyx.C:
16247         * lyx.h: strip external form
16248
16249 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16250
16251         * BufferView_pimpl.C: add comment, destroySplash()
16252
16253 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16254
16255         * BufferView_pimpl.C:
16256         * LyXAction.C:
16257         * buffer.C:
16258         * commandtags.h:
16259         * lyxfunc.C: use re-worked insetinclude
16260
16261 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16262
16263         * buffer.C: add using std::stringstream.
16264
16265         * lyx_cb.C: readd using std::ios.
16266
16267         * buffer.C: add using std::map.
16268
16269         * BufferView_pimpl.C: add using std::vector.
16270
16271         * ShareContainer.h: add std:: to swap.
16272
16273         * buffer.h: add some typedefs
16274         * buffer.C (getLists): use them
16275         (getLists): renamed from getTocList.
16276         add a counter for the different float types and use it in the
16277         generated string.
16278         (getLists): use the same counter for the NEW_INSETS and the "non"
16279         NEW_INSETS
16280
16281         * lyx_cb.h: remove unused items, includes, using etc.
16282
16283         * ShareContainer.h: remove some commented code, add more comments
16284         and "documentation".
16285
16286 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16287
16288         * buffer.C (getTocList): make the list also when NEW_INSETS is
16289         defined.
16290
16291         * buffer.h: remove TocType
16292
16293         * buffer.C (getTocList): change to return a map<string,
16294         vector<TocItem> >, implement for dynamic number of list.
16295
16296         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16297         * text2.C (PasteSelection): adjust
16298         * CutAndPaste.C (pasteSelection): adjust
16299
16300         * FloatList.C (FloatList): update from the new_insets branch.
16301         * Floating.[Ch]: ditto
16302         * LaTeXFeatures.C: ditto
16303         * buffer.C: ditto
16304         * lyxlex_pimpl.C: ditto
16305
16306         * paragraph.C (Last): remove when NEW_INSETS is defined.
16307
16308         * other file: changes because of the above.
16309
16310 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16311
16312         * lyxparagraph.h: rename next to next_, previous to previous_,
16313         make them private for NEW_INSETS. Rename Next() to next(),
16314         Previous() to previous().
16315
16316         * other files: changes because of the above.
16317
16318 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16319
16320         * BufferView.h:
16321         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16322         problem.
16323
16324 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16325
16326         * main.C (main): pass lyx_localedir to gettext_init().
16327
16328         * gettext.h: remove locale_init and gettext_init macros
16329
16330         * gettext.C (locale_init): new function
16331         (gettext_init): new function
16332
16333         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16334         setlocale().
16335
16336 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16337
16338         * Moved credits to frontends:
16339         * credits.[Ch]: removed
16340         * credits_form.[Ch]: removed
16341         * lyx_gui_misc.C: remove credits stuff
16342         * Makefile.am:
16343
16344 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16345
16346         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16347
16348         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16349         unneeded destructor.
16350
16351         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16352         a standalone pointer again.
16353
16354         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16355
16356 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16357
16358         * Makefile.am:
16359         * filedlg.h:
16360         * filedlg.C:
16361         * LyXAction.C:
16362         * ToolbarDefaults.C:
16363         * bufferlist.C:
16364         * commandtags.h:
16365         * form1.C:
16366         * form1.h:
16367         * lyx_cb.C:
16368         * lyx_cb.h:
16369         * lyxfunc.h:
16370         * lyxfunc.C:
16371         * BufferView_pimpl.C: use new file dialog in GUII
16372
16373         * lyx_cb.h:
16374         * lyx_cb.C: remove LayoutsCB to Toolbar
16375
16376 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16377
16378         * ShareContainer.h (get): add std:: qualifier
16379
16380 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16381
16382         * ShareContainer.h: define a proper ShareContainer::value_type
16383         type (and use typename to please compaq cxx)
16384
16385 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16386
16387         * lyxparagraph.h: move serveral local vars to
16388         ParameterStruct/ParagraphParameters., use ShareContainer in
16389         FontTable., make vars in FontTable private and add getter and
16390         setter.
16391
16392         * paragraph.C: changes because of the above.
16393
16394         * lyxfont.h: remove copy constructor and copy assignment. (the
16395         default ones is ok), move number inside FontBits. move inlines to
16396         lyxfont.C
16397
16398         * lyxfont.C: add number to initializaton of statics, move several
16399         inlines here. constify several local vars. some whitespace
16400         cleanup. Dont hide outerscope variables.
16401
16402         * Spacing.h: add two new constructors to match the set methods.
16403
16404         * ShareContainer.h: new file, will perhaps be moved to support
16405
16406         * ParameterStruct.h: new file
16407
16408         * ParagraphParameters.h: new file
16409
16410         * ParagraphParameters.C: new file
16411
16412         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16413         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16414
16415         * BufferView_pimpl.C: ParagraphParameter changes.
16416         * buffer.C: Likewise.
16417         * bufferview_funcs.C: Likewise.
16418         * text.C: Likewise.
16419         * text2.C: Likewise.
16420
16421 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16422
16423         * lyxfind.C (LyXReplace): do not redefine default argument in
16424         implementation.
16425         (IsStringInText): ditto
16426         (SearchForward): ditto
16427         (SearchBackward): ditto
16428
16429 2001-03-06  Juergen Vigna  <jug@sad.it>
16430
16431         * lyxfind.C (IsStringInText): put parentes around expressions.
16432
16433 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16434
16435         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16436
16437 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16438
16439         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16440
16441         * stl_string_fwd.h: add comment
16442
16443         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16444
16445         * tabular.h:
16446         * tabular.C: remove unused DocBook methods
16447
16448         * intl.C:
16449         * language.C:
16450         * paragraph.C:
16451         * buffer.C:
16452         killed DO_USE_DEFAULT_LANGUAGE
16453
16454 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16455
16456         * lyx_gui.C: do not include language.h.
16457
16458         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16459         arguments in function implementation.
16460
16461 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16462
16463         * BufferView_pimpl.C: add <ctime>
16464
16465 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16466
16467         * BufferView_pimpl.C: add using std::find_if
16468
16469 2001-02-27  José Matos  <jamatos@fep.up.pt>
16470
16471         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16472         by OnlyPath.
16473
16474 2001-02-11  José Matos  <jamatos@fep.up.pt>
16475
16476         * buffer.C (makeDocBookFile): command styles now have a parameter as
16477         "title" by default.
16478
16479 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16480
16481         * layout_forms.[Ch]: removed
16482         * lyx_cb.[Ch]: out character
16483         * lyx_gui.C: out character
16484         * lyx_gui_misc.C: out character
16485         * bufferview_funcs.C: : out character,
16486         added toggleall as parameter in ToggleAndShow
16487
16488 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16489
16490         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16491
16492         * text2.C (SetCurrentFont): Disable number property at boundary.
16493
16494 2001-02-26  Juergen Vigna  <jug@sad.it>
16495
16496         * lyxfunc.C (getStatus): added a string argument override function so
16497         that this is correctly called from LyXFunc::Dispatch if it contains a
16498         do_not_use_argument which is used!
16499         (Dispatch): added check for "custom" export and call appropriate func.
16500
16501 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16502
16503         * lyxrc.C: Add language_command_local, language_use_babel and
16504         language_global_options.
16505
16506         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16507
16508         * buffer.C (makeLaTeXFile): Use language_use_babel and
16509         language_global_options.
16510
16511 2001-02-23  Juergen Vigna  <jug@sad.it>
16512
16513         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16514         which works with LyXText and putted it inside BufferView. Here now we
16515         only call for that part the BufferView::Dispatch() function.
16516
16517         * BufferView.C (Dispatch): added.
16518
16519         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16520         functions which needs to use a LyXText over from LyXFunc.
16521         (MenuInsertLyXFile): added
16522         (getInsetByCode): added
16523         (moveCursorUpdate): added
16524         (static TEXT): added
16525
16526 2001-02-22  Juergen Vigna  <jug@sad.it>
16527
16528         * BufferView_pimpl.C (update): call a status update to see if LyXText
16529         needs it.
16530
16531 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16532
16533         * vc-backend.C (revert): implement for CVS
16534         (getLog): implement for CVS
16535
16536 2001-02-20  Juergen Vigna  <jug@sad.it>
16537
16538         * text2.C (ClearSelection): added BufferView param for inset_owner call
16539
16540         * lyxfunc.C (TEXT): added this function and use it instead of
16541         directly owner->view()-text of getLyXText().
16542
16543 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16544
16545         * src/layout_forms.C: out preamble
16546         * src/layout_forms.h: out preamble
16547         * src/lyx_cb.C: out preamble
16548         * src/lyx_cb.h: out preamble
16549         * src/lyx_gui.C: out preamble
16550         * src/lyx_gui_misc.C: out preamble
16551         * src/lyxfunc.C: connect with guii preamble
16552
16553 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16554
16555         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16556
16557 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16558
16559         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16560         whether to run bibtex.
16561
16562 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16563
16564         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16565
16566 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16567
16568         * Makefile.am (lyx_SOURCES): removed bibforms.h
16569
16570         * vspace.h: doxygen
16571
16572         * text.C (GetVisibleRow): make several local vars const
16573
16574         * tabular.C: small cleanup.
16575
16576         * lyxserver.C (callback): use compare instead of strncmp
16577
16578         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16579         inlines to after class or to paragraph.C
16580
16581         * lyxfont.h: remove friend operator!=
16582
16583         * converter.h: move friend bool operator< to non friend and after
16584         class def.
16585
16586         * combox.h: small cleanup
16587
16588         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16589         to inlines after class def.
16590
16591         * buffer.C (pop_tag): use string operations instead of strcmp
16592
16593         * bmtable.c: doxygen, small cleanup
16594
16595         * LaTeX.h: remove friend operator==
16596
16597 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16598
16599         * screen.C:
16600         * lyxrc.[Ch]:
16601         * lyxfunc.C:
16602         * lyxfont.[Ch]:
16603         * lyx_cb.C:
16604         * intl.[Ch]:
16605         * commandtags.h:
16606         * buffer.C:
16607         * WorkArea.[Ch]:
16608         * LyXAction.C:
16609         * BufferView_pimpl.C:
16610         * BufferView.[Ch]: remove cruft
16611
16612 2001-02-14  Juergen Vigna  <jug@sad.it>
16613
16614         * lyxfunc.C: removed #if 0 unused code
16615
16616         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16617
16618         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16619
16620         * text2.C (SetSelection): added a BufferView * parameter
16621
16622 2001-02-13  Juergen Vigna  <jug@sad.it>
16623
16624         * lyxfunc.C (Dispatch): fixed protected blank problem.
16625         * BufferView2.C (protectedBlank): added LyxText * parameter.
16626
16627         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16628         (AppendColumn): same as above for column_info.
16629
16630         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16631         (moveCursorUpdate): use a LyXText param for support of InsetText.
16632
16633         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16634         (tripleClick): ditto
16635
16636         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16637
16638         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16639
16640         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16641
16642         * text2.C (SetSelection): set correct update status if inset_owner
16643         (ToggleFree): ditto
16644
16645 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16646
16647         * tabular.C: remove some commented code.
16648
16649 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16650
16651         * BufferView_pimpl.C: call hideSplash()
16652
16653         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16654
16655         * include_form.h:
16656         * bibforms.h: remove
16657
16658         * lyxfunc.C:
16659         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16660           add LFUN_CHILD_CREATE
16661
16662         * counters.h: fix tiny typo
16663
16664         * lyx_cb.C:
16665         * lyx.h:
16666         * lyx_gui.C:
16667         * lyx.C: move splash to frontends/xforms/
16668
16669         * lyx_gui_misc.C: move Include and Bibform to frontends
16670
16671         * lyxvc.h: clarify comment
16672
16673         * vspace.C: tiny housekeeping
16674
16675 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16676
16677         * text.C (PrepareToPrint): RTL Fix.
16678
16679         * paragraph.C (GetUChar): New method.
16680         (String):  Use GetUChar.
16681
16682         * buffer.C (asciiParagraph): Use GetUChar.
16683
16684 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16685
16686         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16687
16688 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16689
16690         * buffer.h:
16691         * buffer.C: rename to getLogName(), handle
16692           build log / latex log nicely
16693
16694 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16695
16696         * MenuBackend.C:
16697         * MenuBackend.h: remove support for reference menuitem type.
16698
16699 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16700
16701         * BufferView_pimpl.C: housekeeping
16702         * BufferView_pimpl.h:
16703         * LyXView.h:
16704         * Makefile.am:
16705         * Timeout.C:
16706         * Timeout.h:
16707         * minibuffer.h: move Timeout GUI-I
16708
16709 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16710
16711         * lyxrc.C (read): Update converters data-structures.
16712
16713 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16714
16715         * LaTeX.h (operator!=): add operator != for Aux_Info
16716
16717 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16718
16719         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16720
16721         * LaTeXLog.C: deleted, useful code moved to Buffer
16722
16723         * buffer.h:
16724         * buffer.C: new function getLatexLogName()
16725
16726         * lyx_gui_misc.C:
16727         * lyx_gui.C:
16728         * lyxvc.C:
16729         * lyxvc.h:
16730         * lyxfunc.C: use frontends for LaTeX and VC logs
16731
16732 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16733
16734         * LaTeX.h: yet another std:: that Allan forgot.
16735
16736         * Variables.C (set): renamed from isset(), because this clashes
16737         with some HP-UX macros (grr).
16738
16739 2001-02-06  Allan Rae  <rae@lyx.org>
16740
16741         * LaTeX.h: Another bug fix.  Missing std:: this time.
16742
16743 2001-02-04  Allan Rae  <rae@lyx.org>
16744
16745         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16746         floats problem. I've left it commented out because it's not quite
16747         correct.  It should also test that the current object is a table or
16748         figure inset.  But I haven't gotten around to figuring out how to do
16749         that.  I *think* it'll be something like: "table" == inset.type()
16750
16751         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16752         bool.
16753
16754 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16755
16756         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16757         all the citation/databases/styles in the auxilary file.
16758         (run): Rerun latex if there was a babel language error.
16759
16760 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16761
16762         * text.C (Backspace): Preserve the font when changing newline char
16763         with a space.
16764         (BreakParagraph): If the cursor is before a space, delete the space.
16765
16766         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16767
16768 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16769
16770         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16771         new argument (code).
16772         (ChangeCitationsIfUnique): New method.
16773
16774         * paragraph.C (GetPositionOfInset): Handle bibkey.
16775
16776 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16777
16778         * BufferView_pimpl.h: change type of Position::par_pos to
16779         LyXParagraph::size_type.
16780
16781 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16782
16783         * BufferView_pimpl.C (savePosition, restorePosition): Write
16784         messages to minibuffer.
16785
16786 2001-01-28  José Matos  <jamatos@fep.up.pt>
16787
16788         * buffer.C (makeDocBookFile): adds support for document language.
16789         A silly restriction on the name of LatexCommand types where removed.
16790         Added support for CDATA sections, allows to chars unescaped, used
16791         among others in code, to avoid escape < and >.
16792
16793 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16794
16795         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16796         saved positions instrad of a stack. Furthermore, a position is
16797         stored using paragraph id/paragraph position.
16798
16799         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16800         Remove LFUN_REF_BACK.
16801
16802 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16803
16804         * converter.C (dvipdfm_options): New method.
16805
16806 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16807
16808         * vspace.C (isValidLength): Fix for empty input string.
16809
16810 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16811
16812         * LyXAction.C (init): change description of LFUN_FIGURE to
16813         "Insert Graphics"
16814
16815 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16816
16817         * LaTeX.C: add using directive
16818
16819 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16820
16821         * MenuBackend.C (expand): Fix the sorting of the formats.
16822
16823 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16824
16825         * lyx_main.C: tiny error message fix
16826
16827 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16828
16829         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16830         calling fl_initialize(). This fixes the problem with ',' as
16831         decimal separator in text files.
16832
16833 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16834
16835         * trans.C (process): Fix the keymap bug.
16836
16837 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16838
16839         * LaTeX.C (scanAuxFiles): New method. Provides support for
16840         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16841         (scanLogFile) Scan for "run BibTeX" messages.
16842
16843         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16844         OT1 font encoding. Also, load the aecompl package if the ae
16845         package is loaded.
16846
16847         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16848
16849 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16850
16851         * texrow.C (increasePos): turn two error messages into debug
16852         messages.
16853
16854 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16855
16856         * LaTeX.C (scanAux): Handle the \@input macro.
16857         (runBibTeX): Use scanAux().
16858
16859         * language.C (latex_options_): New field.
16860
16861         * LaTeXFeatures.C (getMacros): Add language macros.
16862
16863         * buffer.C (makeLaTeXFile): Small fix.
16864
16865 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16866
16867         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16868
16869         * text2.C: add a using directive.
16870
16871 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16872
16873         * BufferView2.C:
16874         * lyx_gui_misc.h:
16875         * lyxfr1.C:
16876         * lyxfunc.C: kill LyXBell.
16877
16878 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16879
16880         * text.C (IsBoundary): Remove the error message
16881
16882         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16883
16884         * lyxrc.C (setDefaults): Correct initialization value for
16885         font_norm_type.
16886
16887 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16888
16889         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16890         gotoError().
16891
16892         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16893         and GotoNextNote().
16894
16895         * src/LyXAction.C: Added reference-next.
16896
16897         * text.C (InsertChar): Use contains instead of strchr.
16898
16899         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16900
16901 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16902
16903         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16904         alignment commands (when needed).
16905
16906         * text.C (InsertChar): Add ':' to number separator chars.