]> git.lyx.org Git - features.git/blob - src/ChangeLog
float2string #4 (Spacing)
[features.git] / src / ChangeLog
1 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * Spacing.[Ch]: New method getValueAsString().
4
5         * Spacing.[Ch]:
6         * bufferparams.C:
7         * ParagraphParameters.C: 
8         * lyxlayout.C: 
9         * text.C:
10         * text3.C: store/read spacing value as string.
11         
12         * rowpainter.C: change float value (spacing_val) to double.
13         
14         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
15         broken custom document spacing).
16
17 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
18
19         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
20         namespace, also more use of temp references and const
21         
22         * cursor.[Ch] (getStatus): move to lyxfunc.C
23
24         * bufferparams.C: reformat slightly
25
26         * bufferview_funcs.C (font2string): constify arg
27
28         * changes.C:
29         * converter.C:
30         * counters.C:
31         * bufferlist.C:
32         * buffer_funcs.C: (many funcs): constify arg on function
33         definitions, also make more local vars const, also add ASSERTS on
34         pointer args.
35
36         * buffer.C (LYX_FORMAT): put const in correct place
37         (many funcs): constify arg on function definitions, also make
38         more local vars const
39
40         * aspell_local.h: remove "struct" from typdef setup
41
42         * aspell.C (check): make word_ok const
43         (nextMiss): simplify slightly
44         (error): ditto
45
46 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
47
48         * lyxrc.[Ch]: store all float values as strings.
49         use int (not float) for lyxrc.dpi.
50
51 2005-01-04  Angus Leeming  <leeming@lyx.org>
52
53         * lyx_cb.C (Reconfigure):
54         * lyx_main.C (queryUserLyXDir):
55         to run the <system_lyxdir>/configure correctly on Windows, prefix
56         the path to the script with "sh " when generating the string that
57         is passed to system().
58
59 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
60
61         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
62
63 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * lyxlength.C (asLatexString): get rid of setprecision
66
67 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * text2.C (setLayout): remove unused variable endpit.
70         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
71
72         * paragraph.C (onlyText): remove unused variable style.
73
74         * cursor.C (bruteFind): remove unused variables beg and end.
75
76         * Makefile.am (dist_noinset_DATA): not needed anymore
77
78         * cheaders/*: remove.
79
80 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
81
82         * text3.C: fix LFUN_MATH_MODE.
83
84 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * buffer_funcs.C (countWords): new function. Counts words between
87         two iterators.
88
89         * BufferView_pimpl.C (getStatus, dispatch): handle
90         LFUN_WORDS_COUNT.
91
92         * LyXAction.C (init):
93         * lfuns.h: add LFUN_WORDS_COUNT.
94
95 2004-12-19  Angus Leeming  <leeming@lyx.org>
96
97         * buffer.C (save): s/slashify_path/internal_path/.
98
99 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
100
101         * lyxfind.C (findChange): do not search for end of pars, because
102         the change tracker cannot handle this (fixes bug 1719).
103
104 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
105
106         * paragraph.[Ch] (autoBreakRows): remove
107
108         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
109
110         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
111         avoid using the paragraph one
112
113         * text2.C (LyXText, insertStringAsLines): adjust
114
115 2004-12-16  Angus Leeming  <leeming@lyx.org>
116
117         * bufferlist.C:
118         * lyx_main.C:
119         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
120
121 2004-12-14  Angus Leeming  <leeming@lyx.org>
122
123         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
124
125         * bufferlist.C (emergencyWrite):
126         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
127         GetEnvPath("HOME").
128
129 2004-12-14  Angus Leeming  <leeming@lyx.org>
130
131         * main.C: (main): no longer pass pointers to os::init.
132
133 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
134
135         * undo.C (textUndoOrRedo): simplify logic, fix a crash
136         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
137
138 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
139
140         * lyxfunc.C:
141         * text3.C: remove selection_possible global flag
142
143 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
144
145         * text2.C (getSelectionSpan): remove
146         (changeDepth, changeDepthAllowed): adjust
147
148 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
149
150         * Makefile.am (BOOST_LIBS): use boost variables
151
152 2004-12-03  José Matos <jamatos@lyx.org>
153
154         * buffer.C: format up to 238.
155
156 2004-12-03  José Matos  <jamatos@lyx.org>
157
158         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
159
160 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
161
162         * cursor.C (goUpDown): remove call to idxUpDown2
163
164 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
165
166         * tabular.[Ch]: use size_t-like types for cell, row and column
167         indices
168
169 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * lyxfunc.C (getStatus): do not lose previous information when
172         calling BufferView::getStatus; do not set a default "Command
173         disabled" message at the beginning, but just before returning.
174
175 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
176
177         * cursor.h (getStatus): add better comment from src/cursor.C
178
179 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * text3.C (getStatus): return false when the lfun is not handled
182
183 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * broken_headers.h: remove
186
187         * Makefile.am (lyx_SOURCES): remove broken_headers.h
188
189 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
190
191         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
192         offset_ref accessors
193
194         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
195         top_y_, merge fitcursor with update
196         (updateScrollbar, scrollDocView, fitCursor, center, update): new
197         coord scheme
198         (metrics): introduce
199         (workAreaDispatch): adapt to new coord scheme
200         (redoCurrentBuffer): remove
201
202         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
203
204         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
205         CurStatus enum.
206
207         * coordcache.[Ch]: add paragraph cache and helpers
208
209         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
210         adjust everywhere
211
212         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
213         (targetX, setTargetX): introduce
214
215         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
216         baseline -> ascent, as the rest of lyx
217
218         * lyxtext.h: remove redoParagraphs, updateParPositions,
219         fullRebreak, redoParagraphInternal. move dist to anon namespace in
220         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
221         have ascent/descent (ascent is ascent of first par)
222
223         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
224         step of BufferView
225
226         * paragraph.[Ch]: unify dimension handling with the rest of lyx
227
228         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
229
230         * pariterator.C: fix infinite loop introduced in par->pit renaming
231
232         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
233         in insets and LyXText, draw two off-screen paragraphs using
234         NullPainter, and adapt to new coord scheme
235
236         * text.C:
237         * text2.C:
238         * text3.C: adapt lfun handlers to the new coord scheme, which
239         means: there's only guaranteed coord information for onscreen pars
240         plus one above and one below. This implies that one can do search
241         from y coordinates in the range [-1,workHeight]
242
243 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
244
245         * rename a lot of InsetOld to InsetBase
246
247 2004-11-25  Angus Leeming  <leeming@lyx.org>
248
249         * BufferView_pimpl.C:
250         * lyx_cb.C:
251         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
252
253 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
256         call BufferView::getStatus if LCursor::getStatus did nothing
257         (setStatusMessage, getStatusMessage): removed.
258
259         * FuncStatus.C (message): new methods. Used to provide an error
260         message indicating why a command is disabled.
261         (clear, |=, FuncStatus): update for message.
262
263 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * lyxfunc.C (dispatch): always call sendDispatchMessage
266
267 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
268
269         * BufferView.C:
270         * BufferView_pimpl.C:
271         * CutAndPaste.C:
272         * FontIterator.C:
273         * buffer.C:
274         * cursor.C:
275         * cursor_slice.[Ch]:
276         * dociterator.[Ch]:
277         * lyxfind.C:
278         * paragraph_funcs.C:
279         * pariterator.C:
280         * rowpainter.C:
281         * text.C:
282         * text2.C:
283         * text3.C:
284         * undo.C: par->pit renaming
285
286 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
287
288         * tabular.C (cellstruct): use initialization, store a shared_ptr
289         to insettext instead of the insettext directly, adjust to fit.
290         (operator=):  new function
291         (swap): new function
292         (rowstruct): use initialization
293         (columnstruct): use initialization
294         (ltType): use initialization
295
296
297         * lyxlength.h (swap): new function
298
299         * LColor.[Ch] (operator=): use the common semantics
300
301 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * lyxfind.C (findNextChange): update the bufferview after setting
304         the selection.
305
306 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
309         number of InsetOptArgs has already been inserted.
310
311         * output_latex.C (latexOptArgInsets): new method. This outputs all
312         the optarg insets, up to the limit defined in the layout file.
313         (optArgInset): removed
314         (TeXOnePar): call latexOptArgInsets; correctly update texrow
315
316 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * paragraph.C (isLetter): remove special spellchecker-related
319         code; return true also for digits
320         (isWord, isKomma): remove
321
322         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
323         * lyxfind.C (MatchString()): use isLetter instead of isWord
324
325 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
326
327         * pariterator.h (operatir=): comment out un-implemented member
328         function.
329
330         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
331         static cast.
332
333 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
334
335         * lyxfont.h: include LColor.h to satisfy concept checks.
336
337 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
338
339         * pariterator.h: add typdefs for value_type, difference_type,
340         pointer and reference to satisfy concept checks. Also add default
341         constructor for same reason.
342
343         * pariterator.C (operator++): add post-increment operator to
344         satisfy concept checks.
345
346         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
347         checks.
348
349         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
350
351         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
352         checks. Also rename base_type to BaseType to follow naming
353         standard better.
354
355         * FloatList.h: include Floating.h to satisfy concept checks.
356
357 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * lyxfunc.C (getStatus): when the origin of the request is menu or
360         toolbar, and the LyXView does not have focus, do as if there was
361         no buffer (bug 1720)
362
363         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
364         FuncRequest to individual entries of LFUN_SEQUENCE
365
366 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
367
368         * output_latex.C (TeXOnePar): override runparams.moving_arg
369         according to the needprotect value of the current paragraph (bug
370         1739)
371
372         * paragraph.C (simpleTeXOnePar): no need to override
373         runparams.moving_args here
374
375 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
376
377         * vspace.C: fix off-by-one-error, related to fix #1682
378
379 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
380
381         * lengthcommon.C: a more general fix for bug 1682
382
383 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
384
385         * text.C (backspace): fix crash
386
387 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
388
389         * format.[Ch] (getFormatFromFile): new method
390         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
391
392 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
395
396 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * lyxfunc.C (dispatch): remove the verbose argument
399         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
400         instead
401
402         * kbmap.C (defkey): set the origin of func to KEYBOARD
403
404         * MenuBackend.C (MenuItem):
405         * ToolbarBackend.C (add): set the origin of func to UI
406
407         * funcrequest.[Ch]: add origin member, which indicates which part
408         of LyX requests an action
409
410 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
411
412         * converter.C (move): don't lie in the error message
413         * converter.h (isReachable, move): document
414
415 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
416
417         * buffer.C: remove unused using lyx::support::atoi
418         * paragraph_funcs.C: ditto
419
420 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
421
422         * bufferlist.C (exists): use bind and equal_to instead of
423         compare_memfun
424         (getBuffer): ditto
425         * lyxtextclasslist.C (NumberOfClass): ditto
426
427         * cursor.C (insert): use for_each instead of explicit for loop
428
429         * bufferlist.C (getFileNames): use std::transform and
430         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
431
432         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
433         for loop
434
435         * buffer.C (changeLanguage): use for_each instead of explicit for
436         loop
437         (hasParWithID): implement using getParFromID
438
439         * LaTeXFeatures.C: ws change only
440
441         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
442         to cleanup a bit.
443
444         * BufferView_pimpl.C (trackChanges): use for_each instead of
445         expilicit for loop
446
447 2004-11-04  André Pönitz  <poenitz@gmx.net>
448
449         * undo.h:
450         * undo.C (textUndoOrRedo): fix crash when creating undo information.
451
452         * dociterator.C (asDocIterator): use hard assert again.
453
454 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
455
456         * lyxlength.C (asLatexString): rewrite so that it does not use
457         snprintf anymore
458
459 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * text3.C (specialChar, dispatch): make sure cursor moves to the
462         right after inserting an inset
463
464 2004-11-02  José Matos  <jamatos@lyx.org>
465
466         * output_docbook.C (docbook):
467         * paragraph.C (getID):
468         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
469         garantee that the output is always legal.
470
471         * tabular.C (docbook):
472         * outputprams.[Ch]: remove mixed contents.
473
474 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
475
476         * text2.C (setCounter): prevent endless loop
477
478 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
479
480         * exporter.C (copyFile): use the mover instead of support::copy()
481         * exporter.C (Export): pass format and latex name to copyFile()
482         * exporter.h (addExternalFile): document
483         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
484
485 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
486
487         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
488
489 2004-10-30  José Matos  <jamatos@lyx.org>
490
491         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
492         text and no inset or font change. This allows to use CDATA
493         sections just for the whole paragraph.
494
495 2004-10-30  José Matos  <jamatos@lyx.org>
496
497         * paragraph.C (getFirstWord): remove unused variable.
498
499 2004-10-30  José Matos  <jamatos@lyx.org>
500
501         * paragraph.C (getFirstWord): the content should always be escaped
502         there.
503         (simpleDocBookOnePar):
504         * output_docbook.C (makeEnvironment): replace reference to CDATA
505         to style pass_thru.
506
507 2004-10-30  José Matos  <jamatos@lyx.org>
508
509         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
510
511 2004-10-30  José Matos  <jamatos@lyx.org>
512
513         * output_docbook.C (makeParagraphs):
514         * paragraph.[Ch] (emptyTag): for docbook and company, if the
515         standard paragraph has only a given type of content drop the wrapper.
516
517 2004-10-29  José Matos  <jamatos@lyx.org>
518
519         * output_docbook.C (makeEnvironment):
520         * sgml.C (openTag):
521         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
522
523 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
524
525         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
526         (cleanID): sanitize any id.
527
528 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
529
530         * buffer.C, lyxlex_pimpl.C:
531         * lyxlex_pimpl.C (setFile):
532         s/getExtFromContents/getFormatFromContents/
533
534 2004-10-28  José Matos  <jamatos@lyx.org>
535
536         * output_docbook.C (makeEnvironment): move id to broadest possible
537         scope.
538
539         * sgml.C (openTag): apply substitution of <> for all attributes.
540
541 2004-10-28  José Matos  <jamatos@lyx.org>
542
543         * buffer.C (makeLinuxDocFile, makeDocBookFile):
544         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
545         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
546
547         * sgml.[Ch]: new version for open and closeTag for paragraph and
548         for strings. Now they handle the ids of paragraphs.
549
550 2004-10-26  Angus Leeming  <leeming@lyx.org>
551
552         * Makefile.am: add mover.[Ch].
553
554         * converter.C (convert, move): use the new Movers to move external
555         files to the temp directory.
556
557         * lyx_main.C (init): ensure that the global system_movers data
558         is initialised.
559
560         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
561         preferences file.
562
563         * mover.[Ch]: new files, defining a Mover as a utility to move an
564         external file between directories and, if necessary, manipulate this
565         file using a helper script.
566
567 2004-10-25  José Matos  <jamatos@lyx.org>
568
569         * output_docbook.C (makeCommand): merge two if's that tested the
570         same condition.
571
572 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * sgml.C (escapeString): fix warning in a better way
575
576 2004-10-25  José Matos  <jamatos@lyx.org>
577
578         * sgml.C (escapeString): import the require boosts header file for
579         tie, and avoid a signed unsigned comparison.
580
581 2004-10-25  José Matos  <jamatos@lyx.org>
582
583         * sgml.h: add #include <string>
584
585 2004-10-25  José Matos  <jamatos@lyx.org>
586
587         * sgml.[Ch] (escapeString): new function to escape all the string.
588
589 2004-10-24  José Matos  <jamatos@lyx.org>
590
591         * paragraph.[Ch] (getFirstWord): new function to get the first
592         word. Useful for description.
593         (simpleDocBookOnePar): remove depth argument, add another that
594         says where to start the paragraph.
595
596         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
597         use the new functions to fix cleanly the support for descriptions.
598
599 2004-10-24  José Matos  <jamatos@lyx.org>
600
601         * buffer.C (makeLinuxDocFile, makeDocBookFile):
602         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
603         * output_linuxdoc.C (linuxdocParagraphs):
604         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
605         add buffer as argument.
606
607 2004-10-24  José Matos  <jamatos@lyx.org>
608
609         * output_docbook.C (makeEnvironment, searchEnvironment): place
610         CDATA inside paragraphs and fix scope for listitems.
611
612 2004-10-24  José Matos  <jamatos@lyx.org>
613
614         * output_docbook.C: remove using statement for stack.
615
616 2004-10-23  José Matos  <jamatos@lyx.org>
617
618         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
619         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
620         docbook. The new scheme is recursive and makes use of iterators, the
621         same as latex export works.
622         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
623         directly with the paragraph contents. This code was moved up to
624         output_docbook.C (docbookParagraphs).
625         * sgml.C (openTag, closeTag): removed unneeded newlines.
626         (closeEnvTags) removed.
627
628 2004-10-23  André Pönitz  <poenitz@gmx.net>
629
630         * undo.C (textUndoOrRedo):
631         * dociterator.C (asDocIterator): work around crash
632
633         * cursor.C (getStatus): replace ASSERT by more verbose error message
634           and manual correction of the problem. Should increase stability
635           while providing more sensible information.
636
637 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
640
641         * bufferlist.C (previous, next): new methods
642
643         * lfuns.h:
644         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
645
646 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
647
648         * buffer.C (makeDocBookFile): add dsssl stylesheet control
649         entities to preamble.
650
651 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
652
653         * messages.C (Pimpl): strip off translation context information
654
655 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
656
657         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
658         the cursor is correct (bug 1694)
659
660 2004-10-13  José Matos  <jamatos@lyx.org>
661
662         * output_docbook.C (docbookParagraphs): fix closing tags in the
663         end of the document.
664
665 2004-10-09  José Matos  <jamatos@lyx.org>
666
667         * buffer.C: format up to 237.
668         * bufferparams.C (write): use tostr to convert booleans to strings.
669
670 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
671
672         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
673
674 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
675
676         * LaTeX.C: implement use of babel language in xindy.
677
678 2004-10-05  José Matos  <jamatos@lyx.org>
679
680         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
681         Add new translators to help reading and writing the lyx file.
682
683 2004-10-05  José Matos  <jamatos@lyx.org>
684
685         * ParagraphParameters.C (read):
686         * text.C (readParToken): replace nexToken by more appropriate lex
687         methods.
688
689 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
690
691         * LaTeX.C (runMakeIndex):
692         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
693         (usually 'makeindex') configurable.
694
695         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
696         with a variable rather than with a number.
697
698 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
699
700         * output_latex.C (TeXOnePar): make sure font setting is the first
701         thing that gets output (and the last at the end). Should fix bug
702         1404.
703
704 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
705
706         * pch.h: use proper signal include
707
708         * LaTeX.h: Use preferred calling of Boost.Signal
709         * buffer.h: ditto
710
711 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
712
713         * pch.h: dont include <boost/function/function0.hpp>
714
715         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
716
717         * paragraph_pimpl.h: remove usage of ShareContainer
718
719         * paragraph_pimpl.C: remove initialization of ShareContainer.
720
721 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         Fix bug #1666
724
725         * BufferView.C (putSelectionAt): change the semantics when
726         backwards == true: now, this just swaps cursor and anchor wrt the
727         forward case
728
729         * BufferView.h (putSelectionAt): add some documentation
730
731         * lyxfind.C (findBackwards): rewrite using while(). In particular,
732         make sure backwardChar is done at least once (to avoid getting
733         stuck)
734         (findNextChange): use putSelectionAt in the forward direction
735         (operator()): use Paragraph::isWord
736
737 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
738
739         * Spacing.C (set): c_str fix
740
741 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * lyx_cb.C (Reconfigure): quote the name of configure script in
744         case it contains spaces
745
746 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
747
748         * client: new dir
749
750         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
751         (BOOST_LIBS): use top_buildir when looking for the file
752
753 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
754
755         * pch.h: do not use include boost/format.hpp, multiple symbols
756                 will result (gcc bug)
757
758
759 2004-08-23  José Matos  <jamatos@lyx.org>
760
761         * bufferparams.C (readToken): fix reading of the author field.
762
763 2004-08-20  José Matos  <jamatos@lyx.org>
764
765         * lyxrc.C: remove support/translator.h inclusion since it is not used.
766
767 2004-08-20  José Matos  <jamatos@lyx.org>
768
769         * lyxlex.[Ch] (findToken): remove function.
770
771         * ParagraphParameters.C (findToken):
772         * bufferparams.C (findToken): replace call for previous function
773         with local copy. This local function has one more argument, the
774         read string argument.
775
776 2004-08-16  José Matos  <jamatos@lyx.org>
777
778         * ParagraphParameters.C (write):
779         * Spacing.C (writeFile):
780         * bufferparams.C (writeLaTeX):
781         * lyx_cb.C (Reconfigure):
782         * paragraph.C (write):
783         * tabular.C (write): remove unnecessary space at end of line.
784
785
786 2004-08-16  José Matos  <jamatos@lyx.org>
787
788         * text.C (readParagraph): remove debug message.
789
790 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
793         crash
794
795         * output_plaintext.C (asciiParagraph): set depth correctly
796
797         * outputparams.h: add member depth
798
799         * paragraph_funcs.C (ownerPar): remove.
800
801         * text2.C (setCounter): remove first_pit; comment out some
802         non-working code that uses ownerPar
803
804         * BufferView.C (getParentLanguage): remove. Not used anymore, and
805         uses ownerPar
806
807 2004-08-16  José Matos  <jamatos@lyx.org>
808
809         * text.C (readParToken, readParagraph, read): report all unknown tokens.
810         For the same level of importance use the same chanel to report problems.
811         (read): add code to deal with \begin_body and \end_body.
812
813
814 2004-08-15  José Matos  <jamatos@lyx.org>
815
816         * lyxlex.C (getString): fix comment, buffer::readBody is now
817         buffer:readDocument.
818
819         * tex-strings.C (string_papersize): Default -> default,
820         Custom -> custom, for consistency with other options.
821
822 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
823
824         * pch.h: new file
825
826         * Makefile.am: support pch
827
828 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * text.C (readParToken): remove the static LyXFont variable and
831         pass it as a parameter instead. This fixes a nasty bug where an
832         inset will be inserted with a bad font in some situations
833         (readParagraph): adapt
834
835         * text2.C (setCounter): reduce number of calls to pars_[pit]
836
837         * text.C (singleWidth): add an assert, fix a test
838
839         * rowpainter.C (paintText): reduce number of calls to singleWidth
840
841         * paragraph.C (isHfill):
842         (isNewline): ws only
843
844 2004-08-14  André Pönitz  <poenitz@gmx.net>
845
846         * text.C:
847         * text2.C:
848         * rowpainter.C:
849         * lyxtext.h (several functions): use a Paragraph & argument
850         instead of par_type
851
852 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * metricsinfo.h: add a new field ltr_pos to PainterInfo
855
856         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
857
858         * text.C (singleWidth): remove useless test
859
860 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
861
862         * tabular.h: remove bogus comments
863
864         * tabular.C (getDescentOfRow):
865         (isPartOfMultiColumn): add assertions
866
867         * lyxlength.C (inPixels): remove #warning
868
869 2004-08-14  André Pönitz  <poenitz@gmx.net>
870
871         * paragraph.h: inline getChar()
872
873         * BufferView.h: remove unused declarations
874
875 2004-08-14  José Matos  <jamatos@lyx.org>
876
877         * Buffer.[Ch] (readDocument): new name for old readBody.
878         * Buffer.C: new file format, new keywords: \begin_document,
879         \begin_header, \begin_body, \end_body.
880
881         * bufferparams.C (readToken): replace all calls to lex.nextToken
882         by lex.next(). Do the same to eatLine except where really needed.
883
884         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
885         line when writing to the lyx file.
886
887         * output_plaintext.C (asciiParagraph): fix Bibliography style
888         handling.
889
890         * text.C (read): fix end of file handling.
891
892 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
893
894         * MenuBackend.C (Menu::operator[]): new method to access
895         individual menu items
896         (Menu::hasFunc): new method. search for an item that corresponds
897         to a given func
898         (MenuBackend::specialMenu): new method
899         (MenuBackend::expand): if a special menu has been set, skip
900         entries whose func() appears in this menu
901
902 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
903
904         * text3.C: use Debug::DEBUG a bit more
905
906         * text.C (leftMargin): try to simplify a tiny bit change var x to
907         l_margin. Dont output the wide margins always.
908         (rightMargin): no margin in inner texts
909
910         * rowpainter.h (nestMargin): new func
911         (changebarMargin): new func
912         (rightMargin): new func
913
914         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
915         now functions.
916         (paintLast): ditto
917
918         * factory.C (createInset): modify setDrawFrame
919
920         * cursor.C: use Debug::DEBUG a bit more
921
922 2004-08-14  André Pönitz  <poenitz@gmx.net>
923
924         * coordcache.[Ch]:
925         * Makefile.am: new files to accomodate an 'external' (x,y)-position
926         cache for all insets in (at least partially) visible (top-level)
927         paragraphs.
928
929         * BufferView_pimpl.C: reset external coord cache before every update.
930         This means the coord cache only contains valid entries.
931
932 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
933
934         bug 1096
935         * BufferView_pimpl.C (getInsetByCode): move function out of class
936         and change in to a template in anon namespace. Also fix to do what
937         suits us better.
938
939 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
940
941         bug 1305
942         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
943         of char
944         (breakParagraph): rename par to par_offset and use a local
945         reference. Add code to keep the language over a rebreak.
946         (breakParagraphConservative): rename par to par_offset, use a
947         local reference
948         (mergeParagraph): ditto
949         (outerHook): ditto
950         (isFirstInSequence): ditto
951         (outerFont): rename pit to par_offset
952
953         * paragraph.C: ws change
954         * paragraph.h: ditto
955         * text3.C: ditto
956         * text.C: ditto
957
958 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
959
960         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
961         treatment for ']'
962
963         * paragraph.C (simpleTeXOnePar): when we have a \item with
964         optional argument, enclose the argument with curly brackets (in
965         case it contains a closing square bracket)
966
967         * text2.C (editXY):
968         * text2.C (editXY):
969         * text3.C (checkInsetHit): constify
970
971 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
974         documents (bug 1629)
975
976 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         Fix toggling of collapsable insets with the mouse (bug 1558)
979
980         * lyxfunc.C (dispatch): adapt to LCursor changes
981
982         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
983         make sure that dispatch is not invoked twice
984
985         * cursor.C (needsUpdate): new method
986         (dispatch): return void
987         (result): new method, to access the DispatchResult of the cursor.
988
989 2004-08-13  José Matos  <jamatos@lyx.org>
990
991         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
992
993 2004-08-13  André Pönitz  <poenitz@gmx.net>
994
995         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
996
997         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
998           multiple cells
999
1000 2004-08-12  André Pönitz  <poenitz@gmx.net>
1001
1002         * text3.C: take out the 'cursor right' form insertInset and only
1003         do it in those places when it is really needed. Fixes crash on
1004         C-m...
1005
1006 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1007
1008         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1009
1010         * BufferView_pimpl.C (setBuffer): initialize the current font of
1011         the underlying LyXText
1012
1013 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * kbsequence.C (print): use UI native formatting for menu
1016         shortcuts
1017
1018         * text.C (insertChar): call Paragraph::insertChar with a font
1019         argument (cosmetic)
1020
1021         * paragraph.C (insertInset, insertChar): the version that takes a
1022         LyXFont argument is now a wrapper around the other one (the
1023         opposite used to be true).
1024
1025         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1026         argument. Font setting is done in Paragraph now.
1027
1028 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * outputparams.h: add new members intitle and lang.
1031
1032         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1033         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1034
1035 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1036
1037         * text3.C (dispatch): remove special handling of button 4 and 5,
1038         it is now taken care of in the frontend code.
1039
1040 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1041
1042         * Spacing.h: add <string> (STLPort compile fix)
1043
1044 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1045
1046         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1047
1048 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1049
1050         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1051         to bool.
1052
1053         * converter.C (showMessage): inherit from unary_function, make
1054         operator() const.
1055
1056         * buffer.C (writeFile): initialize retval
1057
1058         * InsetList.h: rename private variable list to list_
1059         * InsetList.[Ch]: adjust accordingly.
1060
1061 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1062
1063         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1064         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1065         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1066         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1067         * ParagraphParameters.C, LaTeXFeatures.C: replace
1068         "support/std_sstream.h" with <sstream>
1069
1070 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1071
1072         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1073         * lyxsocket.C (LyXServerSocket): ditto
1074         (serverCallback): ditto
1075
1076 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1077
1078         * LaTeXFeatures.C: check release date when loading jurabib.
1079
1080 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1081
1082         * lyxserver.C (startPipe): call register_socket_callback
1083         (endPipe): call unregister_socket_callback
1084
1085 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1086
1087         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1088         (LyXServerSocket): register the callback
1089         (LyXServerSocket): unregister the callback
1090         (fd): delete function
1091         (serverCallback): improve error checking and setup the callbacks.
1092         (dataCallback): change arg to fd.
1093         (writeln): new func (copied fro the client socket) used for server
1094         write to client.
1095         (LyXDataSocket): simplify
1096         (~LyXDataSocket): close ann unregiser callback
1097         (server): delete function
1098         (fd): delete function
1099         (readln): small changes, improve some std::string usage
1100         (writeln): constify a bit
1101
1102 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1103
1104         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1105         Qt frontend
1106
1107 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1108
1109         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1110         after it has been populated
1111
1112 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * text2.C (insertInset): move cursor when inserting inset.
1115
1116 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1117
1118         * kbmap.C (findbindings): a couple of new methods. returns a
1119         container of kb_sequence objects. The real work is done by the
1120         private recursive version
1121         (printbindings): uses findbindings to print out a bracketed list
1122         of bindings (renamed from findbinding).
1123
1124         * MenuBackend.C (binding): use kb_keymap::findbindings
1125
1126         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1127
1128 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1129
1130         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1131
1132 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1133
1134         * paragraph.C (isWord): return true on insets that report
1135         isLetter().
1136
1137         * text.C (getWord): use Paragraph::isWord to decide what is in a
1138         word and what is not; fix bug 1609.
1139
1140 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1141
1142         * tex-strings.C: add "none" to string_paperpackages[], fixes
1143         off-by-one-error in the paperpackage selection.
1144
1145         * lyxlex.[Ch]:
1146         * tex-strings.[Ch]: char const * string[n]
1147         -> char const * const string[]
1148
1149 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1150
1151         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1152         command, return early.
1153
1154 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1155
1156         * debug.h: add DEBUG to enum and fix size of ANY.
1157
1158         * debug.C: add support for Debug::DEBUG
1159         (showTags): cast errorTags.level to unsigned int
1160
1161         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1162         (redoCurrentBuffer): ditto
1163         (updateScrollbar): ditto
1164         * cursor.C (dispatch): ditto
1165         * text2.C (setLayout): ditto
1166         (setFont): ditto
1167         (updateCounters): ditto
1168         (editXY): ditto
1169         (deleteEmptyParagraphMechanism): ditto
1170
1171 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1172
1173         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1174         annotations to cleanup the Makefile slightly.
1175
1176 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1177
1178         * lyxrc.C: do not set user_email to a default value but use empty
1179         instead. The entry used to be translated, which does not work
1180         since at the point where lyxrc is constructed there is no
1181         translation service available
1182
1183         * messages.C (getLocaleDir): remove and use directly
1184         lyx_localedir() instead
1185
1186 2004-06-02  Angus Leeming  <leeming@lyx.org>
1187
1188         Fix crash caused by dereferencing null pointer 'exportdata' in
1189         OutputParams by creating a new ExportData variable on the heap,
1190         storing it in a boost::shared_ptr.
1191         The crash was triggered when generating an Instant Preview
1192         of an external inset.
1193
1194         * Makefile.am: add outputparams.C
1195
1196         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1197         (c-tor): allocate memory to it.
1198
1199         * exporter.C (c-tor): associated changes.
1200
1201 2004-06-01  Angus Leeming  <leeming@lyx.org>
1202
1203         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1204         contains data before calling isInset(0). (Bug 1513.)
1205
1206 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1207
1208         * exporter.C (checkOverwrite): new method
1209         * exporter.C (copyFile): new method
1210         * exporter.C (Export): copy referenced files to the document dir
1211         * exporter.[Ch]: new class ExportedFile
1212         * exporter.[Ch]: new class ExportData. Contains currently the
1213         names of referenced external files
1214         * outputparams.h: add exportdata member.
1215
1216 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1217
1218         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1219         version.C-tmp
1220
1221 2004-05-19  Angus Leeming  <leeming@lyx.org>
1222
1223         * LaTeXFeatures.C:
1224         * ToolbarBackend.C:
1225         * bufferparams.C:
1226         * lyxfunc.C: small changes due to the introduction of namespace
1227         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1228
1229 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1230
1231         * text3.C (dispatch): supress update when only moving the cursor
1232         * cursor.C (selHandle): remove commented code
1233
1234 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1235
1236         * paragraph.C (startTeXParParams): correct column count
1237         * CutAndPaste.C (pasteSelection): remove const_cast
1238         * output_docbook.C (docbookParagraphs): remove const_cast
1239         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1240         const_cast and return ParagraphList::const_iterator
1241         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1242         * output_plaintext.C (writeFileAscii): remove const_cast
1243         * paragraph.[Ch] (simpleTeXOnePar): make const
1244         * paragraph_funcs.C (outerPar): use const iterators
1245         * paragraph_pimpl.C (validate): use const iterators
1246         * text.C (setHeightOfRow): use const iterators
1247
1248 2004-05-17  Angus Leeming  <leeming@lyx.org>
1249
1250         * lfuns.h:
1251         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1252
1253         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1254         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1255         if the citation engine has changed.
1256
1257 2004-05-14  José Matos  <jamatos@lyx.org>
1258
1259         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1260         if the textclass does not provide it. Have it different for sgml and
1261         xml.
1262         support the language of document.
1263         * output_docbook.C (docbookParagraphs):
1264         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1265         first anchor as the id of the paragraph, remove special case code.
1266         * sgml.C (escapeChar): escape only < & >.
1267
1268 2004-05-14  Angus Leeming  <leeming@lyx.org>
1269
1270         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1271         dependencies on src/frontends/controllers/biblio.h. Define a
1272         CiteEngine_enum wrapper class to enable the enum to be forward
1273         declared.
1274
1275 2004-05-12  Angus Leeming  <leeming@lyx.org>
1276
1277         * buffer.C: up LYX_FORMAT to 234.
1278         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1279         use_numerical_citations with a single biblio::CiteEngine cite_engine
1280         variable.
1281         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1282
1283 2004-05-13  José Matos  <jamatos@lyx.org>
1284
1285         * converter.h:
1286         * converter.C (Converter, readFlags): add xml member.
1287         * outputparams.h: add XML flavor.
1288         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1289
1290 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * lyxfunc.C (dispatch):
1293         (getStatus): fix handling of LFUN_SEQUENCE
1294
1295 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1296
1297         * debug.C (showLevel): do not forget the end-of-line marker
1298
1299 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * kbmap.C (read): do not stop parsing a bind file when an error
1302         occurs (bug 1575)
1303
1304 2004-04-29  Angus Leeming  <leeming@lyx.org>
1305
1306         * cursor.C:
1307         * factory.C:
1308         * pariterator.C:
1309         * text2.C: wrap a bunch of #warning statements
1310         inside #ifdef WITH_WARNINGS blocks.
1311
1312 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1313
1314         * buffer.C: increment format to 233.
1315
1316 2004-04-28  Angus Leeming  <leeming@lyx.org>
1317
1318         * BufferView_pimpl.C:
1319         * lyxfunc.C:
1320         * text3.C:
1321         s/updateToolbar()/updateToolbars()/
1322         s/Toolbar.h/Toolbars.h/
1323
1324 2004-04-28  Angus Leeming  <leeming@lyx.org>
1325
1326         * BufferView.[Ch] (c-tor):
1327         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1328         No longer passes these data to the WorkArea generator.
1329
1330 2004-04-28  Angus Leeming  <leeming@lyx.org>
1331
1332         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1333
1334 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1335
1336         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1337
1338 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1339
1340         * output_latex.C (TeXEnvironment): make sure that there is a line
1341         break before \end{foo} for the last paragraph of a document
1342         (TeXOnePar): if the paragraph is at the end of the document (or
1343         inset) and the language has to be reset, then make sure that the
1344         line break is _before_ the language command, not after (fixes bug
1345         1225); also make sure that the language reset command is the first
1346         thing after the paragraph (to ensure proper nesting of
1347         environments and thus fix bug 1404)
1348
1349 2004-04-21  John Levon  <levon@movementarian.org>
1350
1351         * ToolbarBackend.h:
1352         * ToolbarBackend.C: make "name" be a programmatic name
1353         and a gui_name field.
1354
1355         * lyxfunc.C: display the minibuffer on M-x
1356
1357 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1358
1359         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1360         (bug 1526)
1361
1362 2004-04-19  Angus Leeming  <leeming@lyx.org>
1363
1364         * BufferView_pimpl.C (setBuffer): changed preview interface.
1365
1366         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1367         possible values.
1368
1369 2004-04-19  John Levon  <levon@movementarian.org>
1370
1371         * BufferView_pimpl.C:
1372         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1373
1374 2004-04-05  Angus Leeming  <leeming@lyx.org>
1375
1376         * text.C (redoParagraphs): add call to updateCounters(), thereby
1377         fixing the missing "Figure #:" label from the caption of a
1378         figure float.
1379
1380 2004-04-13  Angus Leeming  <leeming@lyx.org>
1381
1382         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1383         cursor is clicked out of an inset.
1384
1385 2004-04-13  Angus Leeming  <leeming@lyx.org>
1386
1387         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1388         than an InsetOld one.
1389
1390 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1391
1392         * format.[Ch]: add editor to Format
1393         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1394         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1395
1396 2004-04-08  André Pönitz  <poenitz@gmx.net>
1397
1398         * metricsinfo.h: remove PainterInfo::width member
1399
1400 2004-04-08  Angus Leeming  <leeming@lyx.org>
1401
1402         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1403         "\providecommand" rather than "\newcommand", thereby preventing
1404         clashes with packages that define "\boldsymbol" themselves.
1405         Eg, beamer.
1406
1407 2004-04-08  Angus Leeming  <leeming@lyx.org>
1408
1409         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1410         thereby squashing an unnecessary warning.
1411
1412 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1413
1414         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1415         setBuffer()
1416
1417 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1418
1419         * BufferView.C (setCursor): call redoParagraph (some insets could
1420         have been opened)
1421         (putSelectionAt): remove the 'double update' trick
1422
1423         * BufferView_pimpl.C (fitCursor): call refreshPar
1424         (workAreaDispatch): remove an uneeded update call
1425         (dispatch): remove some manual update calls
1426
1427         * cursor.[Ch]: remove cached_y_, updatePos
1428         (selHandle): set noUpdate when appropriate
1429
1430         * lyxfunc.C (dispatch): track if we need an update
1431
1432         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1433
1434         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1435         (paintSelection): cheap optimization, do not call cursorX when not
1436         needed
1437         (paintPars): change signature
1438         (refreshPar): add
1439         (paintText): adjust
1440         (paintTextInset): adjust
1441
1442         * text.C: adjust
1443
1444 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1445
1446         * lengthcommon.C: compilation fix: remove explicit array size from
1447         unit_name[] and friends
1448
1449 2004-04-05  Angus Leeming  <leeming@lyx.org>
1450
1451         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1452
1453         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1454         present only for the preferences dialog.
1455         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1456
1457 2004-04-05  Angus Leeming  <leeming@lyx.org>
1458
1459         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1460         to enable the frontends to export changes to lyxrc correctly.
1461
1462         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1463
1464 2004-04-07  André Pönitz  <poenitz@gmx.net>
1465
1466         * cursor.[Ch] (selClear, adjust): remove math
1467
1468         * cursor_slice.C: more agressive assert
1469
1470         * lyxfunc.C:
1471         * BufferView_pimpl.C: rework mouse event dispatch
1472
1473         * dociterator.C:
1474         * paragraph.C:
1475         * text2.C:
1476         * text3.C: adjust
1477
1478 2004-04-05  André Pönitz  <poenitz@gmx.net>
1479
1480         * cursor.[Ch] (valign, halign...): remove unneeded functions
1481
1482 2004-04-05  Angus Leeming  <leeming@lyx.org>
1483
1484         * lyxlength.[Ch] (unit_name et al.): const-correct.
1485
1486 2004-04-05  Angus Leeming  <leeming@lyx.org>
1487
1488         * BufferView_pimpl.C:
1489         * buffer.C:
1490         * counters.C:
1491         * cursor.C:
1492         * lyxfunc.C
1493         * paragraph.C:
1494         * pariterator.C:
1495         * text.C:
1496         * text2.C:
1497         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1498
1499 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1500
1501         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1502
1503 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1504
1505         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1506         * BufferView_pimpl.[Ch] (getStatus)
1507         * BufferView.[Ch] (getStatus): add
1508         * lyxfunc.C (getStatus): move lfuns handled in
1509         BufferView::dispatch to te function above
1510         * Cursor.C (setSelection): set selection() = true
1511
1512 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1513
1514         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1515
1516 2004-03-31  Angus Leeming  <leeming@lyx.org>
1517
1518         * lyxfunc.C (dispatch): Fall through to the generic
1519         Dialogs::show("preamble").
1520
1521 2004-03-31  Angus Leeming  <leeming@lyx.org>
1522
1523         * lyxfunc.C (dispatch): Fall through to the generic
1524         Dialogs::show("spellchecker").
1525
1526 2004-03-31  Angus Leeming  <leeming@lyx.org>
1527
1528         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1529         preferences dialog.
1530
1531 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1532
1533         * BufferView.C
1534         * cursor.[Ch]
1535         * dociterator.[Ch]:
1536         * insetiterator.[Ch]:
1537         * lyxfind.C:
1538         * lyxfunc.C:
1539         * pariterator.[Ch]:
1540         * text2.C:
1541         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1542
1543 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1544
1545         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1546         insets where we are putting the cursor.
1547
1548 2004-03-31  Angus Leeming  <leeming@lyx.org>
1549
1550         * lfuns.h:
1551         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1552
1553         * lyxrc.[Ch] (read, write): overloaded member functions taking
1554         a std::[io]stream arguments.
1555
1556         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1557
1558 2004-03-31  Angus Leeming  <leeming@lyx.org>
1559
1560         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1561         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1562
1563         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1564         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1565
1566 2004-03-31  Angus Leeming  <leeming@lyx.org>
1567
1568         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1569         the LFUN_ALL_INSETS_TOGGLE code.
1570
1571 2004-03-30  Angus Leeming  <leeming@lyx.org>
1572
1573         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1574         has died. Fall through to the generic Dialogs::show("document").
1575
1576 2004-03-30  Angus Leeming  <leeming@lyx.org>
1577
1578         * lfuns.h:
1579         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1580         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1581
1582         * lyxfunc.C (getStatus, dispatch): define the actions for these
1583         lfuns. Little more than a cut and pste job from ControlDocument.C
1584
1585         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1586
1587 2004-03-30  Angus Leeming  <leeming@lyx.org>
1588
1589         * lfuns.h:
1590         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1591         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1592
1593         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1594         open/closed state of ollapsable insets. Usage:
1595
1596         all-inset-toggle <state> <name>, where
1597         <state> == "open" || "closed" || "toggle" and
1598         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1599
1600         * lyxtext.h, text2.C (toggleInset): removed.
1601
1602         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1603         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1604         now passes LFUN_INSET_TOGGLE to the found inset.
1605
1606         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1607         is now invoked as "all-insets-toggle toggle branch".
1608
1609 2004-03-30  Angus Leeming  <leeming@lyx.org>
1610
1611         * dociterator.C:
1612         * insetiterator.C:
1613         * pariterator.[Ch]: added/corrected header blurb.
1614
1615 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * dociterator.[Ch]: add an inset_ member
1618         (backwardPos): implemented
1619         (backwardPos, forwardPos): use inset_ when the stack is empty.
1620         (doc_iterator_begin, doc_iterator_end): implemented
1621         * pariterator.[Ch]: adjust, add begin, end
1622         * insetiterator.[Ch]: adjust, add begin, end
1623         * cursor.C:
1624         * document.C:
1625         * BufferView.C:
1626         * BufferView_pimpl.C:
1627         * CutAndPaste.C: adjust
1628
1629 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1630
1631         * buffer.C: increment file format to 232.
1632         * LaTeXFeatures.C: add bibtopic package.
1633         * bufferparams.[Ch]: param \use_bibtopic.
1634
1635         * lyxrc.[Ch]: add lyxrc bibtex_command
1636         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1637
1638         * buffer.C: increment file format to 231.
1639
1640 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1641
1642         * dociterator.C: implement forwardPar
1643         * iterators.[Ch]: remove, replaced by
1644         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1645         * BufferView.C:
1646         * BufferView_pimpl.C:
1647         * CutAndPaste.C:
1648         * buffer.C:
1649         * bufferview_funcs.C:
1650         * cursor.C:
1651         * lyxfind.C
1652         * lyxfunc.C
1653         * paragraph_funcs.C
1654         * toc.C:
1655         * Makefile.am: adjust
1656
1657 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1658
1659         * CutAndPaste.C (pasteSelection): fix 2 crashes
1660         (eraseSelection): fix a crash
1661         * paragraph_funcs.C: remove a warning
1662
1663 2004-03-28  Angus Leeming  <leeming@lyx.org>
1664
1665         * lfuns.h:
1666         * LyXAction.C (init): new LFUN_PRINT.
1667
1668         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1669
1670 2004-03-27  Angus Leeming  <leeming@lyx.org>
1671
1672         * lfuns.h:
1673         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1674
1675         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1676
1677 2004-03-27  Angus Leeming  <leeming@lyx.org>
1678
1679         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1680         insetlist always contains non-null pointers to insets.
1681
1682 2004-03-26  Angus Leeming  <leeming@lyx.org>
1683
1684         * src/BufferView_pimpl.C:
1685         * src/CutAndPaste.C:
1686         * src/buffer.C:
1687         * src/iterators.C:
1688         * src/output_plaintext.C:
1689         * src/outputparams.h:
1690         * src/paragraph_funcs.C:
1691         * src/rowpainter.C:
1692         * src/text.C:
1693         * src/text2.C:
1694         * src/frontends/controllers/ControlErrorList.C:
1695         * src/frontends/gtk/FileDialogPrivate.C:
1696         * src/frontends/gtk/GPainter.C:
1697         * src/frontends/gtk/GToolbar.C:
1698         * src/frontends/qt2/QRef.C:
1699         * src/mathed/math_scriptinset.C: squash compiler warnings.
1700
1701 2004-03-26  Angus Leeming  <leeming@lyx.org>
1702
1703         * ispell.C (LaunchIspell::start):
1704         * lyx_cb.C (AutoSaveBuffer::start):
1705         invoke run(DontWait) rather than runNonBlocking().
1706
1707 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1708
1709         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1710
1711 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * kbsequence.C (print): adjust
1714
1715         * kbmap.C (printKeySym): rename and change signature
1716         (printKey): use LyXKeySym::print()
1717
1718 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1719
1720         * undo.C: add using std::advance to compile for stlport
1721
1722 2004-03-24  Angus Leeming  <leeming@lyx.org>
1723
1724         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1725         it leads to a crash when no buffer is present.
1726
1727 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1728             Martin Vermeer  <martin.vermeer@hut.fi>
1729
1730         * lyxfunc.C (dispatch):
1731         * bufferparams.C (readToken): use the new LColor::setColor
1732
1733         * LColor.[Ch] (setColor): new version that takes two strings as
1734         argument and creates a new color entry if necessary
1735
1736 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1737
1738         * buffer.C (makeLaTeXFile): if the main latex file that is
1739         processed is usually a subdocument of some master, then pretend
1740         for a while that it is actually the master
1741
1742 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1743
1744         * buffer.C (getLabelList):
1745         (getBibkeyList): use getMasterBuffer()
1746         (getMasterBuffer): new method. Returns the main document in the
1747         case where one is using included documents.
1748
1749 2004-03-25  André Pönitz  <poenitz@gmx.net>
1750
1751         * Makefile.am:
1752         * iterators.[Ch]:
1753         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1754
1755         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1756
1757         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1758         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1759
1760         * ParameterStruct.h: merge with ParagraphParameters
1761
1762         * lyxtext.h: remove LyXText::parOffset() and getPar()
1763
1764         * text3.C: Remove all 'manual' update calls. We do now one per user
1765         interaction which is completely sufficient.
1766
1767         * Bidi.C:
1768         * BufferView.[Ch]:
1769         * BufferView_pimpl.C:
1770         * FontIterator.[Ch]:
1771         * MenuBackend.C:
1772         * ParagraphParameters.[Ch]:
1773         * buffer.C:
1774         * buffer.h:
1775         * bufferlist.C:
1776         * cursor.[Ch]:
1777         * cursor_slice.[Ch]:
1778         * dociterator.[Ch]:
1779         * errorlist.[Ch]:
1780         * factory.C:
1781         * lfuns.h:
1782         * lyxfind.C:
1783         * lyxfunc.C:
1784         * output_docbook.[Ch]:
1785         * output_latex.[Ch]:
1786         * output_linuxdoc.[Ch]:
1787         * output_plaintext.[Ch]:
1788         * paragraph.[Ch]:
1789         * paragraph_funcs.[Ch]:
1790         * paragraph_pimpl.[Ch]:
1791         * rowpainter.C:
1792         * tabular.[Ch]:
1793         * text.C:
1794         * text2.C:
1795         * toc.C:
1796         * undo.[Ch]: adjust
1797
1798         * frontends/controllers/ControlDocument.C:
1799         * frontends/controllers/ControlErrorList.C:
1800         * frontends/controllers/ControlSpellchecker.C:
1801         * insets/inset.C:
1802         * insets/inset.h:
1803         * insets/insetbase.h:
1804         * insets/insetbibitem.C:
1805         * insets/insetbox.C:
1806         * insets/insetbranch.C:
1807         * insets/insetcaption.C:
1808         * insets/insetcharstyle.C:
1809         * insets/insetcharstyle.h:
1810         * insets/insetcollapsable.C:
1811         * insets/insetcollapsable.h:
1812         * insets/insetert.C:
1813         * insets/insetfloat.C:
1814         * insets/insetfoot.C:
1815         * insets/insetmarginal.C:
1816         * insets/insetnote.C:
1817         * insets/insetoptarg.C:
1818         * insets/insettabular.C:
1819         * insets/insettext.C:
1820         * insets/insettext.h:
1821         * insets/insetwrap.C:
1822         * mathed/math_mboxinset.C:
1823         * mathed/math_nestinset.C:
1824         * mathed/math_scriptinset.C:
1825         * mathed/math_scriptinset.h:
1826         * support/types.h:
1827
1828 2004-03-24  Angus Leeming  <leeming@lyx.org>
1829
1830         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1831         deal with any child processes that have finished but are waiting to
1832         communicate this fact to the rest of LyX.
1833
1834 2004-03-24  Angus Leeming  <leeming@lyx.org>
1835
1836         64-bit compile fixes.
1837
1838         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1839         (c-tor): pass lyx::pos_types rather than ints.
1840
1841         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1842         lyx::pos_type.
1843
1844         * text.C (Delete): compile fix.
1845         (getPar): ensure that function declaration is the same as that in
1846         the header file.
1847
1848 2004-03-23  Angus Leeming  <leeming@lyx.org>
1849
1850         * ispell.C (LaunchIspell):
1851         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1852         a boost::shred_ptr rather than a std::auto_ptr.
1853
1854 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1855
1856         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1857         handle LFUN_FILE_INSERT_*
1858
1859         * lyxrc.C (setDefaults, getDescription, output, read):
1860         * lyxrc.h: remove ps_command
1861
1862 2004-03-22  Angus Leeming  <leeming@lyx.org>
1863
1864         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1865         Ensure that error_handler is processed once only and that all data
1866         is saved before attempting to output any warning messages.
1867
1868         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1869
1870 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1871
1872         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1873
1874 2004-03-19  André Pönitz  <poenitz@gmx.net>
1875
1876         * cursor.[Ch] (reset): take main text inset as argument
1877
1878         * BufferView: adjust
1879         * BufferView_pimpl.C: adjust
1880
1881         * paragraph.[Ch]: fix completely broken operator=()
1882
1883 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1884
1885         * LColor.C (getFromLyXName): make sure that the color name is used
1886         as lowercase.
1887
1888 2004-03-17  Angus Leeming  <leeming@lyx.org>
1889
1890         * lfuns.h:
1891         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1892
1893         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1894         dialog and to kill a forked process.
1895
1896 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1897
1898         * text2.C (setCursorFromCoordinates): fix font problem
1899
1900 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1901
1902         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1903         bogus "rebuild cursor" code
1904
1905 2004-03-11  André Pönitz  <poenitz@gmx.net>
1906
1907         * buffer.[Ch]: use InsetText instead of LyXText as container for
1908         the main lyx text.
1909
1910         * dociterator.[Ch]: drop the BufferView * member which is not needed
1911         anymore after the change to buffer.C
1912
1913         * paragraph_funcs.C:
1914         * text.C:
1915         * text2.C:
1916         * BufferView.[Ch]:
1917         * BufferView_pimpl.[Ch]:
1918         * cursor.[Ch]:
1919         * cursor_slice.[Ch]: adjust
1920
1921         * text3.C: fix bug in mathDispatch
1922
1923 2004-03-08  André Pönitz  <poenitz@gmx.net>
1924
1925         * undo.[Ch]: use 'StableDocumentIterator' as base for
1926         the Undo struct.
1927
1928 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1929
1930         * LaTeXFeatures.C:
1931         * bufferparams.[Ch]: add jurabib support and param.
1932
1933         * LaTeX.C: add FIXME/comment.
1934
1935 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1936
1937         * buffer.C: increment file format to 230.
1938
1939 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1940
1941         * cursor.C (dispatch): avoid infinite loops
1942
1943 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1944
1945         * rowpainter.C (paintSelection): fix x coordinates
1946
1947 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1948
1949         * text.C (rowBreakPoint): fix breaking before displayed insets
1950
1951 2004-03-01  André Pönitz  <poenitz@gmx.net>
1952
1953         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1954
1955         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1956
1957         * Makefile.am:
1958         * BufferView.C:
1959         * BufferView_pimpl.C:
1960         * buffer.C:
1961         * lyxfind.C:
1962         * lyxfunc.C:
1963         * text.C:
1964         * text2.C:
1965         * text3.C: adjust
1966
1967 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1968
1969         * lyxtext.h:
1970         * text.C:
1971         * text2.C:
1972         * rowpainter.C:
1973         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1974         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1975
1976 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1977
1978         * Bidi.[Ch] (computeTables): const correctness
1979         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1980         fill_hfill, fill_label_hfill and x from Row
1981         * lyxtext.h: prepareToPrint returns a RowMetrics
1982         * rowPainter.C: adjust
1983         * text.C (prepareToPrint): use width, not textWidth. adjust
1984         (redoParagraphInternal, cursorX): adjust
1985         * text2.C (getColumnNearX): adjust
1986         (init): put a default value to the top LyXText::width
1987
1988 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1989
1990         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1991
1992 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1993
1994         * lyxtext.h: add FontIterator class
1995
1996         * text.C (FontIterator, operator*, operator->, operator++): add
1997         (rowBreakPoint, setRowWidth): adjust (fixing a
1998         rebreaking bug)
1999
2000 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2001
2002         * BufferView_pimpl.C (workAreaDispatch): allow also
2003         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2004
2005 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2006
2007         * text.C (rowBreakPoint): fix a bug showing with very large insets
2008
2009 2004-02-25  André Pönitz  <poenitz@gmx.net>
2010
2011         * text3.C:
2012         * cursor.[Ch]: move some mathed specific code to mathed
2013
2014 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2015
2016         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2017         use_tempdir in preferences
2018         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2019         tempfile creation
2020         * lyx_main.C: ensure that tempdir is valid
2021         * lyxlex.h: correct typo
2022         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2023         * paragraph.[Ch] (isMultiLingual): make const
2024         * cursor.[Ch] (openable): make const
2025
2026 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2027
2028         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2029
2030 2004-02-20  André Pönitz  <poenitz@gmx.net>
2031
2032         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2033
2034         * cursor.[Ch]: prepare for localized getStatus()
2035
2036         * lyxtext.h:
2037         * tabular.C:
2038         * text.C:
2039         * text2.C:
2040         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2041
2042 2004-02-20  André Pönitz  <poenitz@gmx.net>
2043
2044         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2045
2046 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2047
2048         * text2.C (setCursorFromCoordinates): switch to absolute coords
2049         (cursorUp): adjust
2050         (cursorDown): adjust
2051         * text3.C (dispatch): adjust
2052
2053 2004-02-16  André Pönitz  <poenitz@gmx.net>
2054
2055         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2056           insets/ChangeLog)
2057
2058         * cursor_slice.[Ch]: remove unneeded acessor function
2059
2060         * lyxtext.h: rename rtl() to isRTL()
2061
2062         * rowpainter.C:
2063         * tabular.C:
2064         * text.C:
2065         * text2.C:
2066         * text3.C: adjust
2067
2068 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2069
2070         * rowpainter.C (paintSelection): coord fix
2071
2072 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2073
2074         * Spacing.C: compile fix
2075
2076 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * cursor.C (dispatch): restore current_ before returning
2079
2080 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * text2.C (cursorUp, cursorDown): fix coords
2083         (moveUp): fix crash
2084
2085 2004-02-12  André Pönitz  <poenitz@gmx.net>
2086
2087         * lyxtext.h:
2088         * text.C:
2089         * text2.C:
2090         * text3.C: add LCursor & parameter to most cursor movement functions
2091           remove usage of LyXText::cursorRow() and cursorPar()
2092
2093         * cursor.[Ch]: add textRow() needed members
2094
2095         * BufferView.C:
2096         * BufferView_pimpl.C:
2097         * paragraph.[Ch]:
2098         * BufferView.C:
2099         * BufferView_pimpl.C: adjust
2100
2101 2004-02-11  André Pönitz  <poenitz@gmx.net>
2102
2103         * lyxfunc.C:
2104         * BufferView.[Ch]:
2105         * BufferView_pimpl.C: shift undo/redo handling
2106
2107         * cursor.[Ch]: fix mathed crash
2108
2109         * lyxfind.C:
2110         * lyxtext.h: move selectionAsText to LCursor
2111
2112         * output_latex.C:
2113         * paragraph.C:
2114         * text.C:
2115         * text2.C:
2116         * text3.C: adjust
2117
2118         * rowpainter.C: fix excessive drawing
2119
2120 2004-02-06  André Pönitz  <poenitz@gmx.net>
2121
2122         * BufferView.[Ch]:
2123         * BufferView_pimpl.[Ch]:
2124         * text3.C: move some text specific LFUN handling
2125
2126 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2127
2128         * text3.C (checkInsetHit): adjust coords
2129         * text2.C (getColumnNearX): adjust coords
2130         (edit): adjust coords
2131         * text.C (getRowNearY): add two asserts
2132
2133 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2134
2135         * converter.C:
2136         * format.C: add using std::distance to compile on gcc 2.95/stlport
2137
2138 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2139
2140         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2141
2142 2004-02-04  André Pönitz  <poenitz@gmx.net>
2143
2144         * BufferView.[Ch] (insertInset):
2145         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2146
2147         * text2.C:
2148         * text3.C: adjust
2149
2150 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2151
2152         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2153         on the default clause of the switch
2154         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2155         wasn't catched by LCursor::dispatch
2156
2157 2004-02-03  André Pönitz  <poenitz@gmx.net>
2158
2159         * BufferView.C:
2160         * cursor.[Ch]: some additional asserts
2161
2162         * undo.[Ch]: remove LyXText dependency in interface
2163
2164         * lyxfunc.C: adjust
2165
2166         * lyxtext.h (firstPar, lastPar): remove dead functions
2167
2168         * text.C:
2169         * text2.C:
2170         * text3.C:
2171         * paragraph.[Ch]: adjust
2172
2173 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2174
2175         * lyxfind.C (find): fix argument order in call to ::find
2176
2177 2004-02-02  André Pönitz  <poenitz@gmx.net>
2178
2179         * cursor.[Ch]: remove direct access to anchor
2180
2181         * text.C: remove findText() hack
2182
2183 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2184
2185         * iterators.[Ch] (lockPath): remove in favour of...
2186         * BufferView.[Ch] (setCursor): this addition
2187         * BufferView.C (putSelectionAt): adjust
2188         * undo.C (performUndoOrRedo): adjust
2189         * lyxfunc.C (dispatch): adjust
2190
2191 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * iterators.C (lockPath): add a missing slice
2194         * undo.C (performUndoOrRedo): remove redundant positioning code
2195
2196 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2197
2198         * vc-backend.C (scanMaster): ";" -> ';'
2199
2200 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2201
2202         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2203         std::binary_function
2204
2205         * lyxtextclass.C (compare_name): rename to...
2206         (LayoutNamesEqual): ...this
2207
2208         * lyxlex_pimpl.C (compare_tags): inherit from
2209         std::binary_function, put back into anon namespace
2210
2211         * lyxfind.C (MatchString): inherig from std::binary_function
2212         (findChange): use empty() istead of !size()
2213
2214         * format.C (FormatNamesEqual): new functor
2215         (getFormat): use it
2216         (getNumber): use it
2217         (add): use it
2218         (erase): use it
2219         (setViewer): use it
2220
2221         * converter.C (compare_Converter): rename to...
2222         (ConverterEqual): ...this, and fixup a bit.
2223         (getConverter): use it, and make function const
2224         (getNumber): use it, and make function const
2225         (add): use it
2226         (erase): use it:
2227
2228         * bufferlist.C: add using boost::bind
2229
2230         * MenuBackend.C (MenuNamesEqual): new functor
2231         (hasMenu): use it, and make function const
2232         (hasSubmenu): use nested bind to get rid of compare_memfun.
2233
2234 2004-01-30  André Pönitz  <poenitz@gmx.net>
2235
2236         * BufferView_pimpl.C:
2237         * cursor.C:
2238         * cursor.h:
2239         * cursor_slice.[Ch]:
2240         * lyxfunc.C:
2241         * lyxtext.h:
2242         * paragraph_funcs.C:
2243         * paragraph_funcs.h:
2244         * rowpainter.C:
2245         * text.C:
2246         * text2.C:
2247         * text3.C: move some of the edit(x,y) handling to the insets
2248         some coordinate changes.
2249
2250 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2251
2252         * text.C: add using statements for std::advance and std::distance
2253
2254         * paragraph.C: add using statement for std::distance
2255
2256         * lyxfind.C: add using statement for std::advance
2257
2258         * cursor.C (region): remove std:: from swap
2259         (openable): use nucleus in stead of operator->
2260
2261         * BufferView.C: add using statements for std::distance and std::swap
2262
2263 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2264
2265         * iterators.C: Remove the pimple, move the needed structures to
2266         the header file. Create accessor for the positions stack.
2267         (asPosIterator): remove function
2268
2269         * PosIterator.C (PosIterator): move constructors to top of file
2270         (PosIterator): reimplement the constructor taking a ParIterator in
2271         terms of setFrom.
2272         (setFrom): new function
2273         (operator!=): inline it
2274
2275 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2276
2277         * lyxfind.C (replaceAll): use std::advance
2278
2279         * iterators.h: inherit from std::iterator.
2280
2281         * PosIterator.C (advance, distance): remove
2282         * PosIterator.h: interit from std::iterator.
2283
2284 2004-01-26  André Pönitz  <poenitz@gmx.net>
2285
2286         * BufferView.[Ch]:
2287         * BufferView_pimpl.[Ch]:
2288         * InsetList.[Ch]:
2289         * PosIterator.[Ch]:
2290         * buffer.h:
2291         * bufferview_funcs.C:
2292         * cursor.[Ch]:
2293         * cursor_slice.h:
2294         * factory.[Ch]:
2295         * iterators.[Ch]:
2296         * lyxfind.C:
2297         * lyxfunc.C:
2298         * lyxtext.h:
2299         * output_docbook.C:
2300         * output_latex.C:
2301         * output_linuxdoc.C:
2302         * output_plaintext.C:
2303         * paragraph.[Ch]:
2304         * paragraph_funcs.[Ch]:
2305         * paragraph_pimpl.[Ch]:
2306         * rowpainter.C:
2307         * tabular.C:
2308         * tabular.h:
2309         * text.C:
2310         * text2.C:
2311         * text3.C: more IU:  dumps most of the rest of the mathcursor
2312     implementation into cursor.[Ch]; "globalize" a bit of it.
2313
2314 2004-01-25  Angus Leeming  <leeming@lyx.org>
2315
2316         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2317
2318 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2319
2320         * LaTeXFeatures.h: add nice_ and nice() const
2321         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2322
2323 2004-01-20  André Pönitz  <poenitz@gmx.net>
2324
2325         * BufferView.[Ch]:
2326         * BufferView_pimpl.C:
2327         * PosIterator.C:
2328         * bufferview_funcs.C:
2329         * cursor.[Ch]:
2330         * cursor_slice.[Ch]:
2331         * factory.C:
2332         * iterators.C:
2333         * lyx_cb.C:
2334         * lyxfind.C:
2335         * lyxfunc.C:
2336         * lyxtext.h:
2337         * rowpainter.C:
2338         * text.C:
2339         * text2.C:
2340         * text3.C:
2341         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2342           LCursor and mathcursor parts to LCursor and InsetBase.
2343
2344 2004-01-15  André Pönitz  <poenitz@gmx.net>
2345
2346         * cursor_slice.[Ch]: add a few covienience functions
2347
2348         * funcrequest.[Ch]: remove BufferView * member
2349
2350         * BufferView_pimpl.C:
2351         * cursor.C:
2352         * factory.[Ch]:
2353         * lyxfind.[Ch]:
2354         * lyxfunc.C:
2355         * lyxtext.h:
2356         * text3.C:
2357         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2358
2359 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2360
2361         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2362         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2363
2364 2004-01-13  André Pönitz  <poenitz@gmx.net>
2365
2366         * textcursor.[Ch]:
2367         * lyxtext.h: hide cursor and selection anchor behind accessor function
2368
2369         * BufferView.C:
2370         * BufferView_pimpl.[Ch]:
2371         * PosIterator.C:
2372         * bufferview_funcs.C:
2373         * cursor.h:
2374         * lyxfind.C:
2375         * lyxfunc.C:
2376         * text.C:
2377         * text2.C:
2378         * text3.C:
2379         * undo.C: adjust
2380
2381         * cursor.h:
2382         * cursor_slice.[Ch]: some integer type changes for inset unification
2383
2384         * lyxcursor.[hC]: remove, it's CursorSlice now.
2385
2386         * Makefile.am:
2387         * BufferView_pimpl.[Ch]:
2388         * bufferview_funcs.C:
2389         * cursor_slice.C:
2390         * lyxtext.h:
2391         * text.C:
2392         * text2.C:
2393         * text3.C:
2394         * textcursor.[Ch]: adjust
2395
2396 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2397
2398         * text2.C (undoSpan): add and use
2399         * text.C (breakParagraph): use undoSpan (fix bug 578)
2400         * lyxtext.h: adjust
2401
2402 2004-01-08  Angus Leeming  <leeming@lyx.org>
2403
2404         * BufferView_pimpl.C (MenuInsertLyXFile):
2405         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2406         * lyxfunc.C (menuNew, open, doImport):
2407         FileFilterList change to the FileDialog open and save functions.
2408
2409 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2410
2411         * ShareContainer.h: make isEqual and isUnique adaptable
2412
2413         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2414
2415 2004-01-07  Angus Leeming  <leeming@lyx.org>
2416
2417         * LyXAction.C:
2418         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2419
2420         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2421
2422         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2423         functions replacing find, replace and replaceAll.
2424
2425         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2426         LFUN_WORDFIND(FORWARD|BACKWARD).
2427
2428 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2429
2430         * text.C (breakParagraph): remove an outdated #warning
2431
2432 2004-01-07  André Pönitz  <poenitz@gmx.net>
2433
2434         * lyxfind.C: somewhat clearer logic
2435
2436         * text.C: prevent crash in cursorX on unitialized row cache
2437
2438 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2439
2440         * lyxcursor.[Ch] (operator>): add
2441         * textcursor.C (selStart, selEnd): use std::min and std::max
2442
2443 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2444
2445         * Chktex.C: include boost/format.hpp
2446
2447 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2448
2449         * InsetList.C: replace functor MathcIt with adaptable functor
2450         InsetTablePosLess
2451         (insetIterator): modify accordingly
2452
2453         * BranchList.h: move the BranchNamesEqual functor here from...
2454         * BranchList.C: ... to here
2455
2456         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2457         SameName and match.
2458         (add): replace a finding loop with std::find_if.
2459
2460 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2461
2462         * output_docbook.C: moving LatexParam functionality into
2463         .layout files
2464
2465 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2466
2467         * buffer.C: increment format to 229.
2468
2469 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2470
2471         * LaTeXFeatures.C:
2472         * lyx_sty.[Ch]: remove minipageindent_def
2473
2474         * LyXAction.C:
2475         * factory.C:
2476         * lfuns.h:
2477         * lyxfunc.C:
2478         * text3.C: remove LFUN_INSET_MINIPAGE
2479
2480 2003-12-28  Angus Leeming  <leeming@lyx.org>
2481
2482         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2483
2484 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2485
2486         * text2.C (setParagraph): fix off-by-one crash
2487
2488 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2489
2490         * output_docbook.C: header stuff for AGU
2491
2492 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2493
2494         * text2.C (redoCursor): remove
2495         * text.C:
2496         * text3.C:
2497         * BufferView_pimpl.C: remove calls to redoCursor and
2498         setCursor(cursor.par(), cursor.pos()) all around
2499
2500 2003-12-15  Angus Leeming  <leeming@lyx.org>
2501
2502         * buffer.C: up the format to 228.
2503
2504 2003-12-15  André Pönitz  <poenitz@gmx.net>
2505
2506         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2507         slices
2508
2509         * Makefile.am:
2510
2511         * BufferView_pimpl.C:
2512         * cursor.[Ch]:
2513         * lyxcursor.[Ch]:
2514         * rowpainter.[Ch]:
2515         * lyxtext.h:
2516         * text.C:
2517         * text2.C:
2518         * text3.C: adjust
2519
2520 2003-12-15  Angus Leeming  <leeming@lyx.org>
2521
2522         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2523         than getFromGUIName to manipulate the color.
2524
2525 2003-12-14  Angus Leeming  <leeming@lyx.org>
2526
2527         * BranchList.[Ch]: minimize the API.
2528         (Branch::getBranch, getColor): now return a 'const &'.
2529         (Branch::setSelected) now returns a bool set to true if the
2530         selection status changes.
2531         (BranchList::clear, size, getColor, setColor, setSelected,
2532         allBranches, allSelected, separator): removed.
2533         (BranchList::find): new functions, returning the Branch with
2534         the given name.
2535         (BranchList::add, remove): return a bool indicating that
2536         the operation was successful.
2537
2538         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2539         new InsetBranch::isBranchSlected member function.
2540
2541         * LColor.[Ch]: mimimize the API.
2542         (fill): renamed as addColor and made private.
2543         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2544         versions of these functions taking a string arg have been removed.
2545
2546         * bufferparams.C (readToken):
2547         * lyxfunc.C (dispatch):
2548         * lyxrc.C (read): changes due to the altered BranchList and
2549         LColor APIs.
2550
2551         * factory.C (createInset, readInset): changes due to altered
2552         InsetBranch c-tor.
2553
2554 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2555
2556         * factory.C:
2557         * lyxfunc.C: remove insetminipage. "minipage-insert"
2558         now produces a frameless minipage box inset.
2559
2560 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2561
2562         * textcursor.[Ch] (selStart,selEnd): add new methods
2563         remove selection::start, end, use LyXCursor::operator<
2564         * lyxcursor.[Ch] (operator<): add
2565         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2566         * BufferView.[Ch] (unsetXSel): add
2567         * text2.C (clearSelection): use unsetXSel,adjust
2568         * text.C: adjust
2569         * text3.C: adjust
2570         * rowpainter.C: adjust
2571         * bufferview_funcs.C (put_selection_at): adjust
2572
2573 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * BufferView_pimpl.C: small coord. correction
2576
2577 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2578
2579         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2580         dragging over the splash screen.
2581
2582 2003-12-11  Angus Leeming  <leeming@lyx.org>
2583
2584         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2585         as it is now handled in LyXText::dispatch.
2586
2587         * text3.C (doInsertInset): remove a level of nesting.
2588
2589 2003-12-11  Angus Leeming  <leeming@lyx.org>
2590
2591         * factory.C (createInset): changes due to the changed interface to
2592         InsetCommandMailer::string2params.
2593
2594 2003-12-10  Angus Leeming  <leeming@lyx.org>
2595
2596         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2597         'dialog-show-new-inset <inset name>'
2598
2599 2003-12-10  Angus Leeming  <leeming@lyx.org>
2600
2601         * buffer.C: up the format to 227.
2602
2603         * factory.C: the box inset is now identified simply by 'Box'.
2604
2605 2003-12-10  Angus Leeming  <leeming@lyx.org>
2606
2607         * buffer.C: up the format to 226.
2608
2609         * factory.C: the note inset is now identified simply by 'Note'.
2610
2611 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2612
2613         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2614         when a pit is enough. Standarize a couple of loops.
2615
2616 2003-12-05  Angus Leeming  <leeming@lyx.org>
2617
2618         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2619         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2620         data to the re-worked "log" dialog.
2621
2622 2003-12-03  André Pönitz  <poenitz@gmx.net>
2623
2624         * PosIterator.C:
2625         * iterators.C:
2626         * lyxtext.h:
2627         * output_latex.C:
2628         * paragraph_funcs.C:
2629         * text.C:
2630         * text2.C: use Inset::getText instead of Inset::getParagraph
2631
2632 2003-12-03  André Pönitz  <poenitz@gmx.net>
2633
2634         * buffer.[Ch]:
2635         * lyxtext.h:
2636         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2637         InsetText::read() as LyXText::read()
2638
2639 2003-12-02  Angus Leeming  <leeming@lyx.org>
2640
2641         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2642         type. Add a comment in the implementation that the function uses
2643         the stream's bad() function rather than fail() as the std::streams
2644         would do.
2645
2646 2003-12-02  André Pönitz  <poenitz@gmx.net>
2647
2648         * lyxlex.[Ch]: make interface more similar to std::stream
2649
2650         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2651
2652 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2653
2654         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2655
2656 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2657
2658         * vspace.[Ch]: remove VSpace::NONE
2659
2660 2003-12-01  André Pönitz  <poenitz@gmx.net>
2661
2662         * buffer.[Ch]:
2663         * lyxtext.h: move ParagraphList member to LyXText
2664         rename LyXText::ownerParagraphs to LyXText::paragraph
2665
2666         * CutAndPaste.C:
2667         * bufferview_funcs.C:
2668         * iterators.[Ch]:
2669         * lyx_cb.C:
2670         * paragraph.C:
2671         * rowpainter.C:
2672         * tabular.C:
2673         * text.C:
2674         * text2.C:
2675         * text3.C: adjust
2676
2677         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2678
2679         * undo.C: fix cursor positioning
2680
2681 2003-12-01  John Levon  <levon@movementarian.org>
2682
2683         * BufferView_pimpl.C: fix a crash on exit with
2684         a buffer open
2685
2686 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2687
2688         * BranchList.C: fix setSelected() method.
2689
2690 2003-11-28  André Pönitz  <poenitz@gmx.net>
2691
2692         * ParagraphParameters.[Ch]:
2693         * ParameterStruct.h: remove space above/below from Paragraph to
2694          InsetVSpace
2695
2696         * BufferView_pimpl.C:
2697         * factory.C:
2698         * lyxfunc.C:
2699         * lyxtext.h:
2700         * output_latex.C:
2701         * paragraph.C:
2702         * paragraph_funcs.C:
2703         * rowpainter.[Ch]:
2704         * text.C:
2705         * text2.C:
2706         * text3.C: adjust
2707
2708 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2709
2710         * factory.C: Syntax change for CharStyles
2711
2712 2003-11-28  André Pönitz  <poenitz@gmx.net>
2713
2714         * BufferView.[Ch]:
2715         * BufferView.[Ch]:
2716         * buffer.[Ch]:
2717         * buffer.[Ch]: move LyXText member
2718
2719 2003-11-28  André Pönitz  <poenitz@gmx.net>
2720
2721         * BufferView.[Ch]: make LyXText * text a private member
2722
2723         * BufferView_pimpl.C:
2724         * cursor.C:
2725         * iterators.C:
2726         * lyx_cb.C:
2727         * lyxfind.C:
2728         * lyxtext.h:
2729         * rowpainter.[Ch]:
2730         * text.C:
2731         * text2.C:
2732         * undo.C: adjust
2733
2734         * output_plaintext.C: cleanup
2735
2736 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2737
2738         * buffer.C:
2739         * lyxtextclass.[Ch]: parametrize SGML document header
2740
2741 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2742
2743         * converter.[Ch]:
2744         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2745         getFlavor().
2746
2747 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2748
2749         * text2.C (setFont): rework using PosIterator (no more recursive)
2750         (setCharFont): no more needed
2751         (setLayout): no more selection cursors fiddling (done by redoCursor)
2752         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2753         destroy remaining ones)
2754
2755 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2756
2757         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2758         * lyxtext.h: ditto
2759         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2760         selection cursors
2761         * lyxfunc.C: adjust
2762         * text3.C: adjust + re-allow multi par depth changes
2763         * textcursor.C: simplify a bit
2764
2765 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2766
2767         * src/buffer.C:
2768         * src/lyxlayout.C:
2769         * src/lyxlayout.h:
2770         * src/lyxtext.h:
2771         * src/output_docbook.C:
2772         * src/output_latex.C:
2773         * src/paragraph.C:
2774         * src/paragraph.h:
2775         * src/sgml.C:
2776         * src/sgml.h:
2777         * src/text2.C: Introducing a number of tags parametrizing various
2778         XML formats that we may want to support
2779
2780 2003-11-25  André Pönitz  <poenitz@gmx.net>
2781
2782         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2783
2784         * lyxtext.h (leftMargin/rightMargin): simplify interface
2785
2786         * rowpainter.C:
2787         * text.C:
2788         * text2.C:
2789         * text3.C: adjust
2790
2791 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2792
2793         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2794         master file to any child files. Fixes bug 546.
2795
2796 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2797
2798         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2799
2800 2003-11-24  André Pönitz  <poenitz@gmx.net>
2801
2802         * rowpainter.C: simplification
2803
2804         * text2.C (updateCounters): remove call to redoParagraph on
2805         changed labels as this is far too expensive.
2806
2807 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2808
2809         * converter.C (convert): fix a crash: this function gets
2810         called with buffer == 0 from importer code.
2811
2812 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2813
2814         * text3.C (cursorPrevious): make sure that we do not compare
2815         iterators form different containers.
2816         (cursorNext): ditto
2817
2818         * rowpainter.C (paintSelection): make sure that we do not compare
2819         iterators from different containers.
2820
2821         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2822         iterators from different ParagraphList containers.
2823         [NEXT] ditto
2824
2825         * text2.C (LyXText): change order of initialization slightly
2826         (operator=): new function. copy all variables except cache_par_
2827         (moveUp): make sure that we do not compare iterators from
2828         different ParagraphList constainers.
2829         (moveDown): ditto
2830
2831         * text.C (firstPar): new function
2832         (lastPar): new function
2833         (endPar): new function
2834
2835         * lyxtext.h: move things around and group public functions, public
2836         variables, private functions, private variables
2837
2838 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2839
2840         * factory.C: change call to InsetERT constructor to avoid
2841         additional invocation of method status
2842         * text2.C (toggleInset): remove redundant update() call
2843         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2844         instead of a Bufferview pointer
2845
2846 2003-11-21  André Pönitz  <poenitz@gmx.net>
2847
2848         * rowpainter.C: simplification
2849
2850 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2851
2852         * text3.C (dispatch): make possible to extend a word/row selection
2853         with the mouse
2854
2855 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2856
2857         * lyxtext.h: x0_,y0_ -> xo_,yo_
2858         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2859         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2860         * rowpainter.C (paintRows): paint full paragraphs
2861
2862 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2863
2864         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2865         screen coordinates)
2866
2867 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2868
2869         * lyxtext.h: add x0_, y0_
2870         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2871         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2872
2873 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2874
2875         * text2.C (setCursorIntern): move the x_target update here *
2876         * text3.C: change some bv() to true/false in calls to
2877         cursorUp/Down/Right/Left
2878         * cursor.C: use helper function.
2879
2880 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2883         * paragraph_funcs.[Ch]: correct comment
2884         * rowpainter.C: do not paint selections away from bv->cursor()
2885         Fix a long standing selection painting bug.
2886         * text3.C: generalize mouse-selection code to LyXTexts other that
2887         top one
2888         * textcursor.C: do not use y coords if we can use par offsets
2889
2890 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2891
2892         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2893         cursor position after e.g. inset insert)
2894
2895 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2896
2897         * lyxfind.C (replace): adjust to locking removal + some
2898         code simplification
2899
2900 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2901
2902         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2903         of the path
2904
2905 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2906
2907         * lyxlayout.[Ch]:
2908         * output_docbook.C: XML sanitation: new layout
2909         parameters InnerTag and CommandDepth
2910
2911 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2912
2913         * BufferView_pimpl.C:
2914         * factory.C:
2915         * text3.C: Fix the insertion and modification of button-style
2916         insets
2917
2918 2003-11-13  André Pönitz  <poenitz@gmx.net>
2919
2920         * InsetList.[Ch]: remove deleteLyXText
2921
2922         * paragraph.[Ch]: cache beginOfBody position
2923
2924         * Bidi.C:
2925         * text.C:
2926         * text2.C:
2927         * text3.C: remove superfluous update() calls
2928
2929         * vspace.C: cleanup
2930
2931 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2932
2933         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2934         * BufferView.C (fitLockedInsetCursor): remove
2935         * cursor.[Ch] (getDim): add
2936         * text.C (getRowNearY): add faster version
2937         * text3.C: remove some update calls
2938
2939 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2940
2941         * LaTeXFeatures.C:
2942         * LyXAction.C:
2943         * MenuBackend.C:
2944         * MenuBackend.h:
2945         * dispatchresult.h:
2946         * factory.C:
2947         * lfuns.h:
2948         * lyxfunc.C:
2949         * lyxtextclass.C:
2950         * lyxtextclass.h:
2951         * text3.C: The Character Style /XML short element patch.
2952
2953 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2954
2955         * text3.C:
2956         * factory.C: Small step to solving 'unable to insert some insets'
2957         problem
2958
2959 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * cursor.[Ch] (updatePos): new function for updating the y
2962         position of the tip inset
2963         * bufferview_funcs.C (put_selection_at):
2964         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2965
2966 2003-11-11  André Pönitz  <poenitz@gmx.net>
2967
2968         * text.C: remove big comment on invalid Paragraph pointers as it is
2969         not valid anymore
2970
2971 2003-11-11  André Pönitz  <poenitz@gmx.net>
2972
2973         * text_funcs.[Ch]: merge with ...
2974
2975         * text.C: ... this
2976
2977         * lyxtext.h:
2978         * text2.C:
2979         * text3.C: adjust
2980
2981         * Makefile.am: remove text_funcs.[Ch]
2982
2983 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2984
2985         * cursor.C (getPos): return absolute cached y coord
2986
2987         * BufferView_pimpl.C (fitCursor): new simplistic code
2988         (workAreaDispatch): add a fitCursor call
2989
2990 2003-11-10  André Pönitz  <poenitz@gmx.net>
2991
2992         * BufferView.[Ch]:
2993         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2994
2995 2003-11-10  André Pönitz  <poenitz@gmx.net>
2996
2997         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2998         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2999         indicate that the cursor needs to leave an inset
3000
3001         * lyxtext.h: remove inset locking
3002
3003         * cursor.[Ch]: re-implement functionality provided by inset locking
3004
3005         * BufferView.[Ch]:
3006         * BufferView_pimpl.[Ch]:
3007         * LyXAction.C:
3008         * bufferview_funcs.[Ch]:
3009         * factory.C:
3010         * funcrequest.[Ch]:
3011         * iterators.C:
3012         * lyx_cb.C:
3013         * lyxfind.C:
3014         * lyxfunc.C:
3015         * text.C:
3016         * text2.C:
3017         * text3.C:
3018         * undo.C: adjust
3019
3020 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3021
3022         * PosIterator.[Ch]: replace the stack with a vector, add inset
3023         accesor
3024         * iterators.[C]: adjust
3025
3026 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3027
3028         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3029         replaced
3030         * paragraph_funcs.C (readParToken): put the correct id in the
3031         error item, not the id of the top paragraph
3032
3033 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3034
3035         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3036         * bufferview_funcs.C (put_selection_at): use the above
3037
3038 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3039
3040         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3041
3042 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3043
3044         * output_linuxdoc.h:
3045         * output_plaintext.h:
3046         * output.h:
3047         * output_docbook.h: add #include statements
3048
3049 2003-11-05  José Matos  <jamatos@lyx.org>
3050
3051         * output_docbook.[Ch]:
3052         * output_latex.[Ch]:
3053         * output_linuxdoc.[Ch]:
3054         * output_plaintext.[Ch]: New files for output formats.
3055         * output.[Ch]: New file for helper functions.
3056
3057         * buffer.[Ch]:
3058         * paragraph_funcs.[Ch]: output functions moved to new files.
3059
3060         * outputparams.h: rename of latexrunparams.h
3061
3062         * LaTeX.[Ch]:
3063         * buffer.[Ch]:
3064         * bufferlist.[Ch]:
3065         * converter.[Ch]:
3066         * exporter.C:
3067         * paragraph.[Ch]:
3068         * paragraph_funcs.[Ch]:
3069         * paragraph_pimpl.[Ch]:
3070         * tabular.[Ch]: rename ascii to plaintext
3071         and LatexRunParams to OutputParams.
3072
3073 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3074
3075         * iterators.[Ch] (text): require bv argument
3076         * undo.C (recordUndo):
3077         * lyxfunc.C (dispatch):
3078         * bufferview_funcs.C (put_selection_at): adjust
3079
3080 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3081
3082         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3083
3084 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3085
3086         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3087         nestings
3088
3089 2003-11-04  André Pönitz  <poenitz@gmx.net>
3090
3091         * cursor.[Ch]: restructure
3092
3093         * BufferView.[Ch]:
3094         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3095
3096         * iterators.[Ch] (asCursor): remove
3097
3098         * lfuns.h: remove LFUN_INSET_EDIT
3099
3100         * lyxfunc.C:
3101         * tabular.C:
3102         * text.C:
3103         * text2.C:
3104         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3105
3106 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3107
3108         * lyxfind.[Ch]: complete overhaul
3109         * BufferView_pimpl.C:
3110         * lyxfunc.C: adjust
3111         * paragraph.[Ch] (insert): add
3112
3113 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3114
3115         * BufferView.[Ch]:
3116         * lyxtext.h:
3117         * text.C: remove dead spellcheck code
3118
3119 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3120
3121         * dispatchresult.h: add a val setter
3122
3123         * cursor.C (dispatch): use a tempvar for data_[i]
3124
3125 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3126
3127         * PosIterator.[Ch]: compile fix
3128
3129 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3130
3131         * text.C (cursorPar): deactivate the cursor cache
3132
3133 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3134
3135         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3136
3137 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * text3.C (dispatch): adjust for new DisptchResult semantics.
3140
3141         * lyxfunc.C (dispatch): handle update when return from
3142         Cursor::dispatch, adjust for new DispatchResult semantics.
3143
3144         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3145         DispatchResult(true) mean to not update. Add class functions for
3146         setting dispatched and update, as well as reading.
3147
3148         * cursor.C (dispatch): don't handle update here
3149
3150 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3151
3152         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3153         * trans_mgr.C: adjust
3154
3155         * paragraph_funcs.C (readParToken): exception safety
3156
3157         * lyxvc.h: store the vcs pointer in a scoped_ptr
3158         * lyxvc.C: adjust
3159
3160         * lyxsocket.C (serverCallback): exception safety
3161
3162         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3163
3164         * ispell.C (clone): make it return a auto_ptr
3165
3166         * factory.C (createInset): exception safety
3167         (readInset): exception safety
3168
3169         * bufferlist.C (newBuffer): exception safety
3170
3171         * Thesaurus.C (Thesaurus): use initialization for aik_
3172
3173         * MenuBackend.C (expandToc): exception safety.
3174
3175 2003-11-03  André Pönitz  <poenitz@gmx.net>
3176
3177         * buffer.C:
3178         * buffer.h:
3179         * bufferview_funcs.C: remove getInsetFromId()
3180
3181         * lyxcursor.[Ch]:
3182         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3183
3184         * lyxfunc.C:
3185         * text2.C:
3186         * text3.C: adjust
3187
3188 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * PosIterator.C (distance, advance): new
3191         * bufferview_funcs.[Ch] (put_selection_at): new
3192         * iterators.[Ch] (lockPath): new
3193
3194 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3195
3196         * iterators.[Ch] (asPosIterator): added
3197         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3198         * PosIterator.[Ch]: added
3199
3200 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * text3.C:
3203         * lyxfunc.C:
3204         * cursor.C (dispatch):
3205         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3206
3207         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3208         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3209         contructor, add a class function dispatched. Remove operator>=
3210
3211 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * debug.C: only use the default constructor for debugstream
3214         (lyxerr) here.
3215
3216         * main.C (main): include debug.h and setup the lyxerr streambuf
3217         here.
3218
3219 2003-10-31  José Matos  <jamatos@lyx.org>
3220
3221         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3222
3223         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3224         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3225         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3226         * paragraph_pimpl.C (simpleTeXSpecialC):
3227         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3228         add LatexRunParams argument.
3229
3230         * exporter.C (Export): change call accordingly.
3231
3232         * latexrunparams.h: add new member to take care of the other backends.
3233 2003-10-30  José Matos  <jamatos@lyx.org>
3234
3235         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3236         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3237         factorise code for paragraph output.
3238         * buffer.[Ch]:
3239         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3240         move functions.
3241
3242 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3243
3244         * text3.C (dispatch):
3245         * lyxfunc.C (dispatch):
3246         * cursor.C (dispatch):
3247         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3248
3249         * dispatchresult.h: make the dispatch_result_t ctor explicit
3250
3251 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3252
3253         * sgml.[Ch]:
3254         * buffer.C: small refactoring of docbook stuff
3255
3256 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3257
3258         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3259         meaning.
3260
3261 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3264         operator dispatch_result_t, and operators for == != and >=
3265
3266         * cursor.C (dispatch): adjust for operator dispatch_result_t
3267         removal. comment out call to update
3268
3269         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3270
3271 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * text3.C:
3274         * text2.C:
3275         * text.C:
3276         * lyxtext.h:
3277         * lyxfunc.C:
3278         * cursor.C:
3279         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3280         (dispatch):
3281
3282         * dispatchresult.h: new file, DispatchResult broken out of
3283         insets/insetbase.h
3284
3285         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3286
3287 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3288
3289         * text.C (rowBreakPoint): put a hack inside #if 0
3290
3291 2003-10-28  André Pönitz  <poenitz@gmx.net>
3292
3293         * lyxtext.h:
3294         * metricsinfo.C:
3295         * paragraph_funcs.C:
3296         * rowpainter.C:
3297         * text.C:
3298         * text2.C: general cleanup (lots of small stuff)
3299
3300 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * text2.C (cursorEnd): simple fix to the "end key goes to one
3303         before the end on last row" bug
3304
3305 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3306
3307         * text.C (backspace): fix the "zombie characters"
3308
3309 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3310
3311         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3312
3313 2003-10-27  André Pönitz  <poenitz@gmx.net>
3314
3315         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3316
3317         * factory.C: handle new InsetPagebreak, InsetLine
3318
3319         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3320         and move handling into new InsetPagebreak, InsetLine
3321
3322         * BufferView_pimpl.C:
3323         * LyXAction.C:
3324         * ParagraphParameters.C:
3325         * ParameterStruct.h:
3326         * lyxfunc.C:
3327         * lyxtext.h:
3328         * paragraph.C:
3329         * paragraph.h:
3330         * paragraph_funcs.C:
3331         * paragraph_pimpl.C:
3332         * rowpainter.C:
3333         * text.C:
3334         * text2.C:
3335         * text3.C: adjust
3336
3337 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3338
3339         * text.C:
3340         * lyxrow_funcs.[Ch]:
3341         * Bidi.C:
3342         * paragraph.C:
3343         * lyxtext.h:
3344         * rowpainter.C:
3345         * text2.C:
3346         * text3.C: remove lastPos uses in favour of Row::endpos
3347
3348 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3349
3350         * undo.C (performUndoOrRedo): fix two crashes by setting a
3351         cursor by hand and reordering some calls. Use bv->lockInset instead
3352         of inset->edit because the latter loses cursor information
3353
3354 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3355
3356         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3357         by Martin
3358         (rowBreakPoint): fix width. change point to point + 1.
3359         Add a missing check.
3360
3361 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3362
3363         * MenuBackend.C:
3364         * lyxfunc.C: fix (at least partly) the problems
3365         with the Nav menu and headers inside branch insets
3366         reported by Kayvan
3367
3368 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3369
3370         * paragraph.C (getChar): add strong asserts
3371
3372         * lyxrow_funcs.C (lastPos): remove hideous hack
3373
3374         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3375         (fill): adjust to that (avoid an infinite loop)
3376
3377 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3380
3381 2003-10-23  André Pönitz  <poenitz@gmx.net>
3382
3383         * RowList_fwd.h: change list<> to vector<> to gain speed
3384         after suggestion from Alfredo
3385
3386 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3387
3388         * lyxtext.h: move the bidi stuff from here...
3389         * text.C: and here
3390         * text2.C: and here
3391         * Bidi.[Ch]: ... to here
3392
3393 2003-10-23  André Pönitz  <poenitz@gmx.net>
3394
3395         * lyxtext.h:
3396         * text.C (isLastRow, isFirstRow): new functions
3397
3398         * paragraph.h: new width cache member
3399
3400         * rowpainter.C: replace RowList::iterator with Row & where possible
3401
3402         * lyxfunc.C: replace several view()->text with a single call
3403
3404         * toc.C: fix 'unused' warning
3405
3406 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3407
3408         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3409         when woring with stream::pos_type
3410         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3411
3412 2003-10-22  André Pönitz  <poenitz@gmx.net>
3413
3414         * lyxtext.h:
3415         * text.C: use Row & instead of RowList::iterator
3416
3417         * lyxrow.h: rename end() to endpos()
3418
3419         * rowpainter.C:
3420         * text.C:
3421         * text2.C: adjust
3422
3423 2003-10-22  Angus Leeming  <leeming@lyx.org>
3424
3425         * buffer.[Ch] (fully_loaded): new member function, returning true
3426         only when the file has been loaded fully.
3427         Used to prevent the premature generation of previews and by the
3428         citation inset to prevent computation of the natbib-style label.
3429
3430         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3431         templates are all set up.
3432
3433         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3434
3435 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3436
3437         * text.C: fixed an "oops" in the "is a bit silly"
3438         bug fix
3439
3440 2003-10-21  André Pönitz  <poenitz@gmx.net>
3441
3442         * FuncStatus.[Ch]: small stuff, whitespace
3443
3444         * lyxfont.[Ch]: operator<<() for debug reasons
3445
3446         * lyxfunc.C:
3447         * lyxrow_funcs.C:
3448         * lyxtext.h: whitespace, spelling
3449
3450         * paragraph.C: naming of variables
3451
3452         * text.C:
3453         * text2.C: small stuff
3454
3455
3456 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3457
3458         * text.C: (1) finish off the inset display() work;
3459         (2) fix the "is a bit silly" bug (accessing char
3460         past end of par).
3461
3462 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3463
3464         * text.C: re-introduce display() for insets, fixing the
3465         various bugs (stretch of line above, math inset
3466         positioning, ...)
3467
3468 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3469
3470         * text.C (rightMargin): remove spurious semicolon
3471
3472         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3473         1415)
3474
3475 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3476
3477         * text3.C: fix one crash due to wrong cursor def
3478
3479 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * vc-backend.C (scanMaster): make the regex static
3482
3483         * LaTeX.C (scanAuxFile): make the regexs static
3484
3485         * text3.C (doInsertInset, dispatch, dispatch):
3486         * text2.C (cursorUp, cursorDown):
3487         * text.C (selectNextWordToSpellcheck):
3488         * BufferView_pimpl.C (dispatch):
3489         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3490
3491 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3492
3493         * lyxsocket.C: include <cerrno>
3494
3495 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * lyxfunc.C (dispatch): remove textcache stuff
3498
3499         * bufferlist.C (release): remove textcache stuff
3500         (closeAll): ditto
3501
3502         * TextCache.C: delete file
3503         * TextCache.h: delete file
3504
3505         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3506
3507         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3508         delete of the bv_->text.
3509         (resizeCurrentBuffer): remove texcache stuff
3510         (workAreaResize): ditto
3511
3512 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3513
3514         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3515         action.
3516
3517 2003-10-16  André Pönitz  <poenitz@gmx.net>
3518
3519         * lyxrow.[Ch]:
3520         * paragraph.h:
3521         * rowpainter.C:
3522         * text.C:
3523         * text2.C:
3524         * text3.C: speed up by storing y positions per paragraph plus per-row
3525         offset instead of having a 'full' y position in the row.
3526
3527 2003-10-15  André Pönitz  <poenitz@gmx.net>
3528
3529         * iterators.[Ch]:
3530         * iterators.[Ch]:
3531         * undo.[Ch]: make undo aware of inner insets
3532
3533 2003-10-14  Angus Leeming  <leeming@lyx.org>
3534
3535         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3536         static member functions LyX::ref() and LyX::cref.
3537         (lastfiles): new accessor functions for the new lastfiles_ member var.
3538         (addLyXView, views_): add a new LyXView to the list of views_.
3539         (updateInset): loop over all LyXViews to call their own updateInset
3540         member function, returning a pointer to the Buffer owning the inset.
3541
3542         * BufferView_pimpl.C (loadLyXFile):
3543         * MenuBackend.C (expandLastfiles):
3544         * bufferlist.C (MenuWrite, QuitLyX):
3545         lastfiles is no longer a global variable.
3546         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3547
3548         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3549         static function. Access through LyX::cref().emergencyCleanup().
3550
3551 2003-10-14  André Pönitz  <poenitz@gmx.net>
3552
3553         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3554
3555         * undo.[Ch]: restoring part of 'undo in insets'
3556
3557         * Makefile.am:
3558         * undo_funcs.[Ch]: merge with undo.[Ch]
3559
3560         * tabular.C: small cleansing stuff
3561
3562 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3563
3564         * paragraph_funcs.C (readParToken): report unknown insets as error
3565         boxes. Use the outer paragraph as location (also for unknown
3566         tokens).
3567
3568         * factory.C (readInset): do not abort on reading an unknown inset.
3569         Eat it and return 0.
3570
3571 2003-10-13  Angus Leeming  <leeming@lyx.org>
3572
3573         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3574
3575         * lyxrc.C: displayTranslator is now a function,
3576         declared in GraphicsTypes.h.
3577
3578 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3579
3580         * format.C: new placeholder $$a to pass the socket address.
3581
3582         * bufferlist.[Ch]: new function getBufferFromTmp.
3583
3584         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3585           files in the temporary dir.
3586
3587 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3588
3589         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3590
3591         * Makefile.am: add lyxsocket.[Ch].
3592
3593         * lyx_main.C (error_handler): handle SIGPIPE.
3594
3595 2003-10-13  André Pönitz  <poenitz@gmx.net>
3596
3597         * BufferView_pimpl.C:
3598         * lyxtext.h:
3599         * text.C:
3600         * text2.C:
3601         * text3.C:
3602         * undo_funcs.[Ch]: use paroffset_type instead of
3603           ParagraphList::iterators to prevent multiple conversion
3604           (and get a more robust interface)
3605
3606 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3609         * lyxtext.h: ditto
3610         * text3.C (dispatch): ditto
3611
3612 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3613
3614         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3615         move the onlyfile, use onlyfile instead of foundfile in a couple
3616         of places.
3617
3618         * DepTable.C (update): flush the error stream a bit more
3619
3620 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3621
3622         * lyxserver.C (callback): adjust
3623
3624         * lyxfunc.C (getStatus): add a missing brace in commented code
3625         (ensureBufferClean): reindent
3626         (dispatch): delete version taking a string
3627
3628 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * LaTeX.C (deplog): move found file handlig from here...
3631         (handleFoundFile): .. to new function here.
3632         (deplog): make sure to discover several files mentioned on the
3633         same log line.
3634
3635 2003-10-10  André Pönitz  <poenitz@gmx.net>
3636
3637         * lyxfunc.C:
3638         * lyxtext.h:
3639         * tabular.C:
3640         * text.C:
3641         * text2.C:
3642         * text3.C: fix some of the tabular crashes
3643
3644 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3645
3646         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3647
3648         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3649
3650 2003-10-09  André Pönitz  <poenitz@gmx.net>
3651
3652         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3653
3654         * BufferView.C:
3655         * BufferView_pimpl.C:
3656         * bufferview_funcs.C:
3657         * lyx_cb.C:
3658         * lyxcursor.C:
3659         * lyxfind.C:
3660         * lyxfunc.C:
3661         * lyxtext.h:
3662         * text.C:
3663         * text2.C:
3664         * text3.C:
3665         * text_funcs.[Ch]:
3666         * textcursor.[Ch]:
3667         * undo_funcs.C: adjust
3668
3669 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * text2.C (incrementItemDepth): new function, use a backtracking
3672         algorithm to discover the correct item depth.
3673         (resetEnumCounterIfNeeded): new function, use a backtracking
3674         algorithm to discover if counter reset is needed.
3675         (setCounter): use them. Simplify a bit. Add different labels for
3676         different item depths for itemize.
3677
3678         * paragraph.C (Paragraph): remove initialization of enumdepth
3679         (operator=): ditto
3680
3681         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3682         enumerate and itemize. Change the type of itemdepth to signed char.
3683
3684 2003-10-08  André Pönitz  <poenitz@gmx.net>
3685
3686         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3687           thing assignable.
3688         * text.C:
3689         * text2.C: adjust
3690
3691         * tabular.[Ch]: fix crash after 'row-insert'
3692
3693 2003-10-08  Angus Leeming  <leeming@lyx.org>
3694
3695         Fix doxygen warnings.
3696
3697         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3698         Remove CutAndPaste:: prefix from header file declaration.
3699
3700         * LColor.h (fill): remove LColor:: prefix from declaration.
3701
3702         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3703         use lyx::depth_type rather than Paragraph::depth_type so that
3704         header file and .C file match.
3705
3706         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3707
3708         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3709         * aspell.C: \file aspell_local.C -> \file aspell.C
3710         * gettext.C: \file gettext.C -> \file src/gettext.C
3711         * gettext.h: \file gettext.h -> \file src/gettext.h
3712         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3713         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3714         * text.C: \file text.C -> \file src/text.C
3715
3716         * toc.C: move comment so that doxygen is not confused.
3717
3718 2003-10-07  Angus Leeming  <leeming@lyx.org>
3719
3720         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3721
3722 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3723
3724         * aspell.C:
3725         * aspell_local.h: add forgotten std::string's.
3726
3727 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3728
3729         * LaTeXFeatures.C:
3730         * LyXAction.C:
3731         * factory.C:
3732         * lfuns.h:
3733         * lyxfunc.C:
3734         * text3.C: The Box patch. Fancybox support, minipage, parbox
3735
3736 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3737
3738         * CutAndPaste.h:
3739         * DepTable.h:
3740         * FloatList.h:
3741         * LaTeXFeatures.h:
3742         * ParagraphParameters.h:
3743         * TextCache.h:
3744         * Thesaurus.h:
3745         * bufferlist.h:
3746         * exporter.h:
3747         * importer.h:
3748         * lastfiles.h:
3749         * lyxfind.h:
3750         * lyxfont.h:
3751         * lyxlex.h:
3752         * lyxtextclasslist.h:
3753         * messages.h:
3754         * paragraph.h:
3755         * paragraph_pimpl.C:
3756         * textcursor.h: add <string> and other small fixes to make Lars'
3757         std::string patch compile with STLport.
3758
3759 2003-10-06  Angus Leeming  <leeming@lyx.org>
3760
3761         * LColor.h: Add missing #include <string>.
3762
3763 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * All most all file in all subdirs: Make <string> be the prefered
3766         way of getting to std::string, add using declarations.
3767
3768 2003-10-06  André Pönitz  <poenitz@gmx.net>
3769
3770         * metricsinfo.C: initialize LyXFont before changing attribute.
3771         (fixes the 'math in \emph is upright' bug)
3772
3773 2003-10-06  André Pönitz  <poenitz@gmx.net>
3774
3775         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3776
3777 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3778
3779         * graph.C:
3780         * paragraph_pimpl.C: Small fixes to build using STLport
3781
3782 2003-10-02  André Pönitz  <poenitz@gmx.net>
3783
3784         * lyxfunc.C:
3785         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3786
3787 2003-10-01  André Pönitz  <poenitz@gmx.net>
3788
3789         * factory.C: assert early
3790
3791 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * lyx_main.C: remove the global debug object
3794
3795         * debug.h: adjust for new debugstream
3796
3797         * debug.C: adjust for new debugstream and keep the global debug
3798         object here.
3799
3800 2003-09-22  Angus Leeming  <leeming@lyx.org>
3801
3802         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3803         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3804         an incomplete class LyXFont.
3805
3806 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3807
3808         * factory.C: bug fix in branches
3809
3810 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * lyxfunc.C (processKeySym): adjust
3813         (dispatch): adjust
3814         (dispatch): change arg name from ev to func, adjust
3815         (sendDispatchMessage): ditto
3816
3817         * lyx_main.C (defaultKeyBindings): adjust keybindings
3818         (deadKeyBindings): ditto
3819
3820         * kbsequence.C (addkey): return a FuncRequest
3821
3822         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3823
3824         * kbmap.C (bind): take a FuncRequest as arg, adjust
3825         (read): adjust
3826         (lookup): adjust
3827         (defkey): change to take a FuncRequest as arg, adjust
3828         (findbinding): take a FuncRequest as arg, adjust.
3829
3830         * funcrequest.h (operator=): added
3831
3832         * funcrequest.C (FuncRequest): default kb_action changed from
3833         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3834
3835         * buffer.C (dispatch): simplify
3836         (dispatch): adjust to take a FuncRequest as arg, adjust
3837
3838         * boost.C (assertion_failed): change assertion message slightly
3839
3840         * ToolbarBackend.C (read): simplify
3841
3842         * MenuBackend.C (binding): adjust call to findbinding, add a
3843         message if no binding is found.
3844         (read): simplify
3845         (expandToc): correct by adding a empty FuncRequest
3846
3847         * LyXAction.C: include <boost/assert.hpp>
3848         (isPseudoAction): delete function
3849         (LookupFunc): change name to...
3850         (lookupFunc): this. change return type to FuncRequest.
3851         (getActionName): take kb_action as arg, simplify
3852         (funcHasFlag): add an assert, simplify.
3853
3854 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * toc.C (action): return a FuncRequest, simplify
3857
3858         * lyxfunc.C (processKeySym): adjust
3859         (getStatus): delete version that takes an int.
3860         (getStatus): adjust
3861         (dispatch): delete version that takes action as int
3862         (dispatch): adjust
3863         (sendDispatchMessage): simplify and adjust
3864
3865         * funcrequest.C (getArg): take unsigned int as arg
3866
3867         * ToolbarBackend.C (read): adjust
3868         (add): delete version that takes func as a string.
3869         (getIton): take a FuncRequest as arg
3870
3871         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3872         action.
3873
3874         * MenuBackend.C (MenuItem): add a new construct that only takes a
3875         Kind, simplify the constructor use for submenus.
3876         (add): adjust
3877         (expandLastfiles): adjust
3878         (expandDocuments): adjust
3879         (expandFormats): adjust
3880         (expandFloatListInsert): adjust
3881         (expandFloatInsert): adjust
3882         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3883
3884         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3885         Remove class variables lyx_pseudo_map and lyx_arg_map
3886
3887         * LyXAction.C (searchActionArg): delete function
3888         (getPseudoAction): delete function
3889         (retrieveActionArg): delete function
3890         (LookupFunc): make it return kb_action, simplify.
3891         (getActionName): simplify
3892
3893         * factory.C (createInset): fix new bug
3894
3895 2003-09-19  Angus Leeming  <leeming@lyx.org>
3896
3897         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3898         masterFilename_ parameter in the include inset.
3899
3900         * factory.C (createInset): changes due to the changes to InsetInclude.
3901
3902 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3903
3904         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3905
3906 2003-09-18  Angus Leeming  <leeming@lyx.org>
3907
3908         * buffer.C:
3909         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3910         Inset::fillWithBibKeys.
3911         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3912
3913 2003-09-18  Angus Leeming  <leeming@lyx.org>
3914
3915         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3916         variables.
3917         (ctor): pass and store a 'Buffer const &'
3918         (buffer): new member function.
3919
3920         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3921         '*this' to the LaTeXFeatures ctor.
3922
3923 2003-09-18  Angus Leeming  <leeming@lyx.org>
3924
3925         * LColor.h:
3926         * lyxfont.C:
3927         * lyxfont.h:
3928         * lyxtext.h:
3929         * text.C: rename EnumLColor as LColor_color.
3930
3931 2003-09-18  Angus Leeming  <leeming@lyx.org>
3932
3933         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3934         remove #include "insets/insetbase.h" from cursor.h.
3935
3936 2003-09-18  Angus Leeming  <leeming@lyx.org>
3937
3938         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3939         InsetOld_code to remove #include "inset.h".
3940
3941         * iterators.C: add #include "insets/inset.h"
3942
3943 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3944
3945         * BufferView.C: remove more locking stuff that apparently doesn't
3946         do anything sensible.
3947
3948 2003-09-16  André Pönitz  <poenitz@gmx.net>
3949
3950         * paragraph.[Ch]:
3951         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3952           performance boost.
3953
3954 2003-09-16  Angus Leeming  <leeming@lyx.org>
3955
3956         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3957
3958         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3959         arg/return type.
3960
3961         * paragraph.h: remove #include "lyxfont.h". Forward declare
3962         LyXFont_size.
3963
3964 2003-09-16  Angus Leeming  <leeming@lyx.org>
3965
3966         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3967         of support/textutils.h.
3968         (isWord): move the contents of support/textutils.h's IsWordChar here.
3969
3970         * buffer.C:
3971         * lyxfind.C:
3972         * rowpainter.C:
3973         * text.C:
3974         * text2.C: add #include "paragraph.h".
3975
3976         * rowpainter.C:
3977         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3978
3979 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * main.C:
3982         * lyx_main.C:
3983         * lyx_cb.C:
3984         * buffer.C:
3985         * LaTeX.C: use namespace alias for lyx::support::os
3986
3987 2003-09-16  Angus Leeming  <leeming@lyx.org>
3988
3989         * bufferparams.C:
3990         * bufferview_funcs.C:
3991         * factory.C:
3992         * lyxfunc.C:
3993         * paragraph_pimpl.C:
3994         * rowpainter.C:
3995         * text.C: add #include "LColor.h".
3996
3997 2003-09-16  Angus Leeming  <leeming@lyx.org>
3998
3999         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4000         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4001         return LyXFont &.
4002         Store the FontBits::color variable as an int rather than as an
4003         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4004         file.
4005
4006         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4007         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4008         string calls together.
4009
4010         * lyxrc.C: add #include "LColor.h".
4011
4012 2003-09-15  Angus Leeming  <leeming@lyx.org>
4013
4014         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4015         a cow_ptr.
4016
4017 2003-09-15  Angus Leeming  <leeming@lyx.org>
4018
4019         * LColor.h: add an EnumLColor wrapper for LColor::color.
4020
4021         * lyxfont.[Ch] (color, setColor, realColor):
4022         * lyxtext.h, text.C (backgroundColor):
4023         pass EnumLColor args to/from the functions, rather than LColor::color
4024         ones.
4025
4026         * lyxfont.h:
4027         * lyxtext.h: forward declare EnumLColor.
4028
4029         * lyx_main.C: add #include "LColor.h".
4030
4031 2003-09-15  Angus Leeming  <leeming@lyx.org>
4032
4033         * .cvsignore: add lyx-gtk.
4034
4035 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * Chktex.C
4038         * LaTeX.C
4039         * LaTeXFeatures.C
4040         * ParagraphParameters.C
4041         * Spacing.C
4042         * buffer.C
4043         * bufferparams.C
4044         * bufferview_funcs.C
4045         * chset.C
4046         * counters.C
4047         * funcrequest.C
4048         * lyxfont.C
4049         * lyxgluelength.C
4050         * lyxlength.C
4051         * paragraph.C
4052         * paragraph_funcs.C
4053         * text3.C
4054         * vc-backend.C: remove usage of STRCONV
4055
4056 2003-09-15  Angus Leeming  <leeming@lyx.org>
4057
4058         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4059         explicitly define the color passed to the painter.
4060
4061 2003-09-15  Angus Leeming  <leeming@lyx.org>
4062
4063         * bufferparams.C (BufferParams): reorder member initializers to avoid
4064         compiler warning.
4065
4066 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4067
4068         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4069         * text.C (updateRowPositions): remove an unusual nop
4070
4071 2003-09-12  André Pönitz  <poenitz@gmx.net>
4072
4073         * BufferView_pimpl.C:
4074         * Bullet.C:
4075         * layout.h:
4076         * lyxfunc.C:
4077         * lyxlayout.[Ch]:
4078         * lyxtextclass.C:
4079         * rowpainter.C:
4080         * text.C:
4081         * text2.C:
4082         * Counters.[Ch]: finish the 'automatic counters' job
4083
4084 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4085
4086         * aspell.C: include <boost/assert.cpp> (compile fix)
4087
4088 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4089
4090         * boost.C (assertion_failed): use lyx::support::abort instead of
4091         assert.
4092
4093 2003-09-10  Angus Leeming  <leeming@lyx.org>
4094
4095         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4096         with their _fwd progeny.
4097
4098 2003-09-09  Angus Leeming  <leeming@lyx.org>
4099
4100         134 files throughtout the source tree: replace 'using namespace abc;'
4101         directives with the appropriate 'using abc::xyz;' declarations.
4102
4103 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4104
4105         * boost.C (emergencyCleanup): moved here from LAssert.c
4106         (assertion_failed): new function, called by BOOST_ASSERT
4107
4108         * several files: change Assert to BOOST_ASSERT
4109
4110 2003-09-09  Angus Leeming  <leeming@lyx.org>
4111
4112         * buffer.[Ch]: Add an Impl class and move Buffer's member
4113         variables into it. As a result move several header files out of
4114         buffer.h.
4115
4116         Add header files to lots of .C files all over the tree as a result.
4117
4118 2003-09-09  Angus Leeming  <leeming@lyx.org>
4119
4120         * buffer.[Ch]: make Buffer's member variables private. Add
4121         accessor functions.
4122
4123         Lots of changes all over the tree as a result.
4124
4125 2003-09-08  Angus Leeming  <leeming@lyx.org>
4126
4127         * graph.C: #include <config.h>.
4128
4129 2003-09-08  Angus Leeming  <leeming@lyx.org>
4130
4131         * BranchList.C:
4132         * BufferView.C:
4133         * BufferView_pimpl.C:
4134         * CutAndPaste.C:
4135         * DepTable.C:
4136         * LaTeX.C:
4137         * LaTeXFeatures.C:
4138         * LyXAction.C:
4139         * MenuBackend.C:
4140         * TextCache.C:
4141         * aspell.C:
4142         * buffer.C:
4143         * bufferlist.C:
4144         * changes.C:
4145         * chset.C:
4146         * converter.C:
4147         * counters.C:
4148         * debug.C:
4149         * graph.C:
4150         * ispell.C:
4151         * lyx_cb.C:
4152         * lyxfind.C:
4153         * lyxfunc.C:
4154         * lyxlex_pimpl.C:
4155         * lyxrc.C:
4156         * lyxrow.C:
4157         * paragraph.C:
4158         * rowpainter.C:
4159         * texrow.C:
4160         * text.C:
4161         * text2.C:
4162         * toc.C: remove redundant using directives.
4163
4164 2003-09-07  Angus Leeming  <leeming@lyx.org>
4165
4166         * LaTeXFeatures.h: remove #include "support/types.h".
4167         * ToolbarBackend.h: remove #include <algorithm>.
4168         * changes.h: remove #include <ctime>.
4169         * debug.h: remove #include <iosfwd>.
4170         * graph.h: remove #include "support/std_string.h".
4171         * lyx_main.h: remove #include <csignal>.
4172         * lyxlex_pimpl.h: remove #include <fstream>.
4173         * sgml.h: remove #include <algorithm>, <utility>.
4174         * toc.h: remove #include "support/std_ostream.h".
4175         Add #include <iosfwd>.
4176
4177 2003-09-07  Angus Leeming  <leeming@lyx.org>
4178
4179         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4180
4181         * converter.h: forward declare LatexRunParams.
4182         * encoding.h: remove #include "lyxrc.h".
4183         * lyxtext.h: remove #include "LColor.h".
4184         * lyxtextclass.h: remove #include "support/types.h".
4185         * trans.h: remove #include "tex-accent.h".
4186         * trans_mgr.h: remove #include "tex-accent.h".
4187         * insets/inset.h: remove #include "support/types.h", <vector>.
4188         * insets/insetcollapsable.h: remove #include "LColor.h".
4189         * insets/insetinclude.h: remove #include "dimension.h".
4190         * insets/insetlatexaccent.h: remove #include "dimension.h".
4191         * insets/insetoptarg.h:: remove #include "insettext.h".
4192         * insets/insettext.h: remove #include "dimension.h",
4193         <boost/shared_ptr.hpp>
4194
4195         * insets/renderers.h: add #include "dimension.h".
4196         * insets/updatableinset.h: add #include "support/types.h".
4197
4198         * many .C files: Associated changes.
4199
4200 2003-09-06  Angus Leeming  <leeming@lyx.org>
4201
4202         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4203         one, inside testInvariant.
4204
4205         * PrinterParams.C: new file.
4206         * PrinterParams.[Ch]: move the function bodies out of line.
4207
4208 2003-09-06  Angus Leeming  <leeming@lyx.org>
4209
4210         * ParagraphParameters.h: forward declare ParameterStruct rather than
4211         including its header file.
4212         (depth): moved out-of-line.
4213
4214 2003-09-06  Angus Leeming  <leeming@lyx.org>
4215
4216         * BufferView_pimpl.h:
4217         * kbmap.h:
4218         * kbsequence.h:
4219         * lyxfunc.h: forward declare LyXKeySym rather than
4220         #include "frontends/LyXKeySym.h".
4221
4222         * BufferView_pimpl.C:
4223         * kbmap.C:
4224         * kbsequence.C:
4225         * lyxfunc.C: associated changes.
4226
4227 2003-09-06  Angus Leeming  <leeming@lyx.org>
4228
4229         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4230         As a result, can remove the #include "insets/inset.h" from BufferView.h
4231
4232 2003-09-06  Angus Leeming  <leeming@lyx.org>
4233
4234         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4235         As a result, can remove the #include "insets/inset.h" from BufferView.h
4236
4237 2003-09-06  Angus Leeming  <leeming@lyx.org>
4238
4239         * buffer_funcs.C:
4240         * buffer.h:
4241         * bufferlist.C:
4242         * BufferView.C:
4243         * bufferview_funcs.C:
4244         * BufferView_pimpl.C:
4245         * CutAndPaste.C:
4246         * lyx_cb.C:
4247         * lyxfunc.C:
4248         * paragraph.h:
4249         * ParagraphParameters.C:
4250         * tabular.C:
4251         * text3.C:
4252         * toc.C:
4253         * undo_funcs.C:
4254         * frontends/controllers/ControlDocument.C:
4255         * insets/insetcaption.C: rearrange the #includes into some sort of
4256         coherent order.
4257
4258         * buffer.h: remove #includes ErrorList.h, undo.h
4259
4260 2003-09-06  Angus Leeming  <leeming@lyx.org>
4261
4262         * support/types.h: add a 'depth_type' typedef, used to store the
4263         nesting depth of a paragraph.
4264
4265         * paragraph.h:
4266         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4267         defining explicitly.
4268
4269         * buffer.h:
4270         * paragraph_funcs.h:
4271         * ParagraphParameters.h:
4272         * sgml.h: use lyx::depth_type rather than Paragraph or
4273         ParameterStruct's depth_type.
4274
4275         * buffer.h
4276         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4277
4278         * BufferView.C:
4279         * BufferView_pimpl.C:
4280         * CutAndPaste.C:
4281         * ParagraphParameters.C:
4282         * buffer_funcs.C:
4283         * bufferlist.C:
4284         * bufferview_funcs.C:
4285         * lyx_cb.C:
4286         * lyxfunc.C:
4287         * tabular.C:
4288         * text3.C:
4289         * toc.C:
4290         * undo_funcs.C:
4291         * frontends/LyXView.C:
4292         * frontends/controllers/ControlDocument.C:
4293         * frontends/controllers/ControlErrorList.C:
4294         * insets/insetbibitem.C:
4295         * insets/insetbranch.C:
4296         * insets/insetcaption.C:
4297         * insets/insetcollapsable.C:
4298         * insets/insetenv.C:
4299         * insets/insetert.C:
4300         * insets/insetfloat.C:
4301         * insets/insetfoot.C:
4302         * insets/insetfootlike.C:
4303         * insets/insetnewline.C:
4304         * insets/insetquotes.C:
4305         * insets/insettabular.C:
4306         * insets/insettext.C:
4307         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4308
4309         * frontends/controllers/ControlChanges.C: #include "changes.h".
4310
4311 2003-09-06  Angus Leeming  <leeming@lyx.org>
4312
4313         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4314         than #including paragraph.h.
4315
4316         * ParagraphList.h:
4317         * RowList.h: deleted. Superfluous.
4318
4319         * CutAndPaste.h:
4320         * iterators.h:
4321         * lyxcursor.h:
4322         * lyxtext.h:
4323         * text_funcs.h:
4324         * undo.h:
4325         * undo_funcs.h:
4326         * insets/inset.h:
4327         * insets/insettext.h: use ParagraphList_fwd.h rather than
4328         ParagraphList.h.
4329
4330         * paragraph.h: don't forward declare ParagraphList.
4331
4332         * buffer.h:
4333         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4334         rather than ParagraphList.h. paragraph.h is still needed for the
4335         Paragraph::depth_type parameters.
4336
4337         * textcursor.h: enable it to compile stand-alone in light of the
4338         above changes.
4339
4340         * bufferview_funcs.C:
4341         * iterators.C:
4342         * lyxfunc.C:
4343         * lyxrow_funcs.C:
4344         * paragraph.C:
4345         * rowpainter.C:
4346         * text.C:
4347         * text2.C:
4348         * text3.C:
4349         * text_funcs.C:
4350         * textcursor.C:
4351         * undo.C:
4352         * frontends/controllers/ControlParagraph.C:
4353         * frontends/controllers/ControlTabular.C:
4354         * insets/insetmarginal.C:
4355         * insets/insetminipage.C:
4356         * insets/insetnote.C:
4357         * insets/insetoptarg.C: add header files needed to compile again.
4358
4359 2003-09-06  Angus Leeming  <leeming@lyx.org>
4360
4361         * RowList_fwd.h: new file, forward-declaring Row rather than
4362         #including lyxrow.h.
4363
4364         * lyxrow_funcs.h:
4365         * lyxtext.h:
4366         * paragraph.h:
4367         * insets/insettext.h: use it instead of RowList.h
4368
4369         * bufferview_funcs.C:
4370         * lyxfunc.C:
4371         * lyxrow_funcs.C:
4372         * paragraph.C:
4373         * rowpainter.C:
4374         * text.C:
4375         * text2.C:
4376         * text3.C: #include "RowList.h".
4377
4378 2003-09-05  Angus Leeming  <leeming@lyx.org>
4379
4380         * factory.C (createInset):
4381         * vspace.C (c-tor): replace sscanf call with an istringstream.
4382         * ispell.C: re-add missing HP/UX headers.
4383         * lyxserver.C: re-add missing  os2 headers.
4384
4385 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4386
4387         * BranchList.C:
4388         * graph.C:
4389         * ispell.C:
4390         * lastfiles.C:
4391         * lyx_cb.C:
4392         * lyxserver.C:
4393         * texrow.C:
4394         * text3.C: re-add missing system headers, needed for 2.95.2.
4395
4396 2003-09-05  Angus Leeming  <leeming@lyx.org>
4397
4398         Changes most place everywhere due to the removal of using directives
4399         from support/std_sstream.h.
4400
4401 2003-09-05  Angus Leeming  <leeming@lyx.org>
4402
4403         Replace LString.h with support/std_string.h,
4404         Lsstream.h with support/std_sstream.h,
4405         support/LIstream.h with support/std_istream.h,
4406         support/LOstream.h with support/std_ostream.h.
4407
4408         Changes resulting throughout the tree.
4409
4410 2003-09-05  Angus Leeming  <leeming@lyx.org>
4411
4412         * sgml.h: ensure that the header file can be compiled stand-alone.
4413         * *.C: strip out redundant #includes. (320 in total.)
4414
4415 2003-09-04  Angus Leeming  <leeming@lyx.org>
4416
4417         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4418         here (from getPackages).
4419
4420         * debug.[Ch]: add a new EXTERNAL tag.
4421
4422 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4423
4424         * text2.C (cursorEnd): simplify
4425         (setCursor): adjust
4426         (getColumnNearX): adjust
4427
4428         * text.C (computeBidiTables): adjust
4429         (fill): adjust
4430
4431         * rowpainter.C (paintChars): adjust
4432         (paintSelection): adjust
4433         (paintChangeBar): adjust
4434         (paintText): adjust
4435
4436         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4437         lastPos instead.
4438         (numberOfSeparators): adjust
4439
4440 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4441
4442         * LyXAction.C:
4443         * box.[Ch]:
4444         * lfuns.h:
4445         * lyxfunc.C:
4446         * text3.C: Restricts the mouse click functionality
4447         of insets like bibtex, include, toc and floatlist to the visible
4448         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4449         up the dialogs. Cursor has to be in front of the inset (i.e.
4450         start of row) for this to function.
4451
4452 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4453
4454         * bufferview_funcs.C (currentState): output row information
4455
4456 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4457
4458         * bufferview_funcs.C (currentState): output paragraph position
4459
4460 2003-09-04  Angus Leeming  <leeming@lyx.org>
4461
4462         * FloatList.h: move out #include "Floating.h".
4463         * LaTeX.h: move out #include "DepTable.h".
4464         * LyXAction.h: move out #include "funcrequest.h".
4465         * buffer.h: move out #include "author.h", "iterators.h".
4466         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4467         * lyx_main.h: move out #include "errorlist.h".
4468         * lyxfunc.h: move out #include "FuncStatus.h".
4469         * lyxtext: move out #include "lyxcursor.h".
4470         * paragraph_pimpl.h: move out #include "counters.h".
4471
4472 2003-09-03  Angus Leeming  <leeming@lyx.org>
4473
4474         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4475         preamble_snippets list, enabling us to add snippets to the preamble
4476         only if the snippet was not there already.
4477
4478 2003-09-04  Angus Leeming  <leeming@lyx.org>
4479
4480         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4481
4482 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4483
4484         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4485         update
4486
4487 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4488
4489         * BranchList.C: point fix, earlier forgotten
4490
4491 2003-09-02  Angus Leeming  <leeming@lyx.org>
4492
4493         * box.C (contains): renamed from 'contained' after a fantastic
4494         amount of hot air.
4495
4496 2003-09-02  John Levon  <levon@movementarian.org>
4497
4498         * BufferView.C:
4499         * lyxcursor.h:
4500         * lyxcursor.C:
4501         * lyxfunc.C:
4502         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4503
4504 2003-09-02  John Levon  <levon@movementarian.org>
4505
4506         * text2.C: simplification of cursorEnd(), including partial
4507         fix for bug 1376
4508
4509 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * buffer.C (readFile): add a space
4512
4513 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4514
4515         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4516
4517 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4518
4519         * buffer.C (readFile): new function, take a filename and a
4520         ParagraphList::iterator
4521         (readFile): adjust
4522         (readFile): adjust, make it private. don't use setStream, make
4523         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4524         always contain the filename.
4525
4526         * BufferView.C (insertLyXFile): simplify and make it work for
4527         gzipped files.
4528
4529 2003-08-30  John Levon  <levon@movementarian.org>
4530
4531         * Makefile.am: fix dist (from Kayvan)
4532
4533 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4534
4535         * most files: change to use const Buffer refs
4536
4537 2003-08-27  André Pönitz  <poenitz@gmx.net>
4538
4539         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4540         on top of ownerPar().
4541
4542 2003-08-27  John Levon  <levon@movementarian.org>
4543
4544         * funcrequest.C: properly initialise POD members
4545
4546 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4547
4548         * lyxtext.h (top_y): move top_y from here
4549         * text.C:
4550         * text2.C:
4551         * text3.C:
4552         * BufferView.[Ch]:
4553         * BufferView_pimpl.[Ch]: to here
4554         * frontends/screen.C:
4555         * insets/insettabular.C:
4556         * insets/insettext.C: adjust
4557         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4558
4559 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * BufferView.[Ch]:
4562         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4563
4564 2003-08-26  André Pönitz  <poenitz@gmx.net>
4565
4566         * paragraph_func.[Ch] (outerPar): new function
4567
4568         * paragraph.C:
4569         * paragraph_funcs.C:
4570         * paragraph_funcs.h:
4571         * paragraph_pimpl.C:
4572         * text2.C: remove Inset::par_owner
4573
4574 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4575
4576         * lyxrow_funcs.C:
4577         * lyxtext.h:
4578         * text.C:
4579         * text2.C: eliminates the needFullRow/display() stuff
4580         altogether, putting the logic in metrics/draw in the insets.
4581
4582 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * text2.C (redoParagraphInternal, redoParagraphs):
4585         * text.C (redoParagraph): add a call to updateRowPositions at the
4586         end of each 'metrics-like' call. Remove all others.
4587         (getRow): remove the 'y-computing' version.
4588         (getRowNearY): do not compute nor return the real y. Solve the
4589         'y < 0' problem and simplify.
4590
4591 2003-08-22  Angus Leeming  <leeming@lyx.org>
4592
4593         * *.[Ch]: clean-up of licence and author blurbs.
4594         Also move config.h out of a few .h files and into a few .C files.
4595
4596 2003-08-22  André Pönitz  <poenitz@gmx.net>
4597
4598         * lyxrow.[Ch]: add x_ and *fill_ members
4599
4600         * lyxtext.h:
4601         * text.C:
4602         * rowpainter.C:
4603         * text2.C: adjust/remove prepareToPrint() calls
4604
4605 2003-08-22  André Pönitz  <poenitz@gmx.net>
4606
4607         * lyxrow.[Ch]: add  end_ member
4608
4609         * lyxrow_funcs.C: use LyXRow::end_
4610
4611         * lyxtext.h (singleWidth): add LyXFont parameter
4612
4613         * rowpainter.C:
4614         * text2.C: adjust LyXText::singleWidth() calls
4615
4616         * text.C (redoParagraph): simplify row breaking logic
4617
4618
4619 2003-08-19  André Pönitz  <poenitz@gmx.net>
4620
4621         * funcrequest.C: initialize button_ member
4622
4623         * text3.C:
4624         * rowpainter.[Ch]: interface consolidation
4625
4626 2003-08-18  André Pönitz  <poenitz@gmx.net>
4627
4628         * BufferView.C:
4629         * BufferView_pimpl.C:
4630         * lyxfind.C:
4631         * paragraph_funcs.C:
4632         * rowpainter.C:
4633         * text3.C: remove LyXScreen::draw() and fitCursor calls
4634
4635         * BranchList.h: remove spurious semicolons
4636
4637         * MenuBackend.C: fix branchlist related crash
4638
4639 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4640
4641         * BranchList.[Ch]:
4642         * InsetList.[Ch]:
4643         * LColor.[Ch]:
4644         * LyXAction.C:
4645         * Makefile.am:
4646         * MenuBackend.[Ch]:
4647         * bufferparams.[Ch]:
4648         * factory.C:
4649         * lfuns.h:
4650         * lyxfunc.C:
4651         * text3.C: implements the 'branch inset'
4652         idea. This allows the output of various versions of a document
4653         from a single source version, selectively outputing or suppressing
4654         output of parts of the text.
4655         This implementation contains a 'branch list editor' in a separate
4656         tab of the document settings dialog. Branches are user definable
4657         and have a "display colour" to distinguish them on-screen.
4658
4659         ColorHandler was somewhat cleaned up.
4660         (1) make possible a dynamically growing LColor list by allowing
4661         the graphic context cache to grow along (vector);
4662         (2) eliminate an IMHO unnecessary step in colour allocation.
4663
4664 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4665
4666         * BufferView_pimpl.C: compile fix
4667
4668 2003-08-15  André Pönitz  <poenitz@gmx.net>
4669
4670         * rowpainter.C: remove extra metrics calls
4671
4672         * lyxtext.h: merge the two constructors into a single one,
4673           pass reference to owner's par list
4674
4675         * BufferView_pimpl.C:
4676         * text.C:
4677         * text2.C: adjust
4678
4679 2003-08-15  André Pönitz  <poenitz@gmx.net>
4680
4681         * lyxrow_funcs.[Ch]:
4682         * lyxtext.h:
4683         * paragraph.h:
4684         * paragraph_funcs.C:
4685         * rowpainter.C:
4686         * text.C:
4687         * text2.C:
4688         * text3.C:
4689         * text_funcs.C: split LyXText::rowlist_ into individual
4690         Paragraph::rows_ chunks
4691
4692         * BufferView.[Ch]:
4693         * BufferView_pimpl.[Ch]:
4694         * lyxfind.C:
4695         * lyxtext.h:
4696         * text3.C: remove toggleSelection()
4697
4698 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4699
4700         * bufferlist.C: beautify two alerts (shorter text of buttons)
4701         * buffer.C: Remove redundant ' ' from message
4702         * tabular.h:
4703         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4704         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4705         rename VALIGN_CENTER to VALIGN_MIDDLE
4706
4707 2003-08-11  André Pönitz  <poenitz@gmx.net>
4708
4709         * lyxtext.h (getPar):
4710         * text.C: new function
4711
4712 2003-08-11  André Pönitz  <poenitz@gmx.net>
4713
4714         * Makefile.am:
4715         * tracer.[Ch]: remove unneeded files
4716
4717         * InsetList.[Ch]: remove resizeInsetsLyXText()
4718
4719         * lyxtext.h:
4720         * text.C:
4721         * text2.C:
4722         * text3.C: merge insertParagraphs() and appendParagraph()
4723         remove breakAgain(), update()
4724
4725         * BufferView_pimpl.[Ch]:
4726         * bufferview_funcs.[Ch]:
4727         * lyxfunc.C:
4728         * paragraph.[Ch]:
4729         * rowpainter.C:
4730         * tabular.C: adjust after text & InsetList changes.
4731
4732 2003-08-08  André Pönitz  <poenitz@gmx.net>
4733
4734         * text.C (insertChar, backspace): replace rowlist fiddling
4735         with rebreak of full par
4736
4737         * lyxtext.h:
4738         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4739         checkParagraph, updateInset): removed
4740
4741 2003-08-07  André Pönitz  <poenitz@gmx.net>
4742
4743         * paragraph.C:
4744         * text3.C: merge some LFUN handlers, remove dead code
4745
4746 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4747
4748         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4749
4750 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4751
4752         * text2.C (DEPM): fix part of bug 1255 and 1256
4753
4754 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4755
4756         * BufferView_pimpl.C (workAreaDispatch): change to use
4757         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4758         that are no mouse related.
4759
4760 2003-08-05  André Pönitz  <poenitz@gmx.net>
4761
4762         * BufferView.[Ch]:
4763         * BufferView_pimpl.[Ch]:
4764         * bufferview_funcs.C:
4765         * text2.C:
4766         * text3.C: rip out "deep update"
4767
4768         * textcursor.[Ch] (last_sel_cursor): remove unused member
4769
4770 2003-08-04  André Pönitz  <poenitz@gmx.net>
4771
4772         * BufferView.[Ch]:
4773         * BufferView_pimpl.[Ch]:
4774         * ParagraphParameters.C:
4775         * bufferview_funcs.C:
4776         * lyx_cb.C:
4777         * lyxfind.C:
4778         * lyxfunc.C:
4779         * text.C:
4780         * text2.C:
4781         * text3.C: replace "complicated" BufferView::update(...) calls with
4782         simpler ones.
4783
4784         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4785
4786 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4787
4788         * Makefile.am (lyx_SOURCES): add paper.h
4789
4790 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4791
4792         * Makefile.am: move things around so that both lyx-qt and
4793         lyx-xforms can be built (according to --with-frontend). Then lyx
4794         is a symbolic link to lyx-[firstfrontend]
4795
4796 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4797
4798         * Always use std::endl with lyxerr
4799
4800 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4801
4802         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4803
4804 2003-08-01  André Pönitz  <poenitz@gmx.net>
4805
4806         * BufferView.[Ch]:
4807         * BufferView_pimpl.[Ch]:
4808         * lyxfunc.C:
4809         * text3.C: merge BufferView::repaint() and BufferView::update()
4810
4811 2003-08-01  José Matos  <jamatos@lyx.org>
4812
4813         * buffer.[Ch]: file_format is no longer a buffer data element.
4814
4815 2003-08-01  André Pönitz  <poenitz@gmx.net>
4816
4817         * BufferView.C:
4818         * lyxtext.h:
4819         * text.C:
4820         * text2.C: make redoParagraph more independent of current cursor
4821
4822         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4823         * text.C:
4824         * text2.C: remove unneeded members
4825
4826 2003-07-30  André Pönitz  <poenitz@gmx.net>
4827
4828         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4829
4830         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4831           create a single function...
4832
4833         * paragraph_funcs.C (moveItem): ... here.
4834
4835         * text.C:
4836           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4837
4838 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4839
4840         * LColor.[Ch]: Add comment and greyedout logical colors.
4841
4842 2003-07-30  André Pönitz  <poenitz@gmx.net>
4843
4844         * tabular.C: don't use Assert too heavily. This crashes where it
4845           shouldn't
4846
4847 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4848
4849         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4850         is disabled (bug 1232)
4851
4852 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4853
4854         * factory.C: limited 'arg' scope
4855
4856 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4857
4858         * factory.C: fixed Note submenu issues
4859
4860 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4861
4862         * factory.C: submenu for Note/Comment/Greyedout
4863
4864 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * lyx_main.C (LyX):
4867         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4868
4869 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4870
4871         * LaTeXFeatures.C:
4872         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4873         greyedout. Patch provided by Jürgen Spitzmüller.
4874
4875 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4876
4877         * kbmap.C (read): fix error message when reading bind files
4878
4879 2003-07-29  Angus Leeming  <leeming@lyx.org>
4880
4881         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4882         certainly does not do what it purports to do. I am doing it, and
4883         us, a favour by killing it.
4884
4885 2003-07-28  José Matos  <jamatos@lyx.org>
4886
4887         * buffer.C (readBody, do_writeFile):
4888         * paragraph.C(readParagraph): \end_document replaces \the_end.
4889
4890 2003-07-29  André Pönitz  <poenitz@gmx.net>
4891
4892         * BufferView.[Ch]:
4893         * BufferView_pimpl.[Ch]:
4894         * lyxfunc.C:
4895         * text2.C:
4896         * text3.C:
4897         * textcursor.[Ch]: remove toggleToggle & Co
4898
4899 2003-07-28  José Matos  <jamatos@fep.up.pt>
4900
4901         * buffer.C (readParagraph):
4902         * params_func (readParToken, readParagraph):
4903         * paragraph.C (write): \layout -> \begin_layout.
4904
4905 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * lyxlex_pimpl.C (setFile): clean up slightly.
4908
4909         * bufferparams.h: add compressed var
4910
4911         * buffer_funcs.C (readFile): adjust for LyXLex change
4912         (newFile): ditto + simplify
4913
4914         * buffer.C (writeFile): handle writing of compressed files
4915
4916         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4917         Check if the file is compressed and set a bufferparm if so.
4918
4919         * Makefile.am (lyx_LDADD): remove explicit -lz
4920
4921 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4922
4923         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4924         makeDocBookFile): put the real LyX version in the first line of
4925         the file
4926
4927         * version.h:
4928         * version.C.in: remove lyx_docversion
4929
4930         * tabular.C (write_attribute): add a template-based version to
4931         write enums properly
4932
4933 2003-07-28  André Pönitz  <poenitz@gmx.net>
4934
4935         * lyxtext.h:
4936         * text.C:
4937         * text2.C:
4938         * text3.C: use doubles again for x-coordinates. They are needed.
4939
4940 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4941
4942         * messages.C (getLocaleDir): use lyx_localedir()
4943
4944         * lyxlex_pimpl.C (setFile): compress stuff
4945
4946         * buffer.C (writeFile): add some compression stuff
4947         (do_writeFile): new func, dont call expliti close... will this
4948         breake anything?
4949
4950         * Makefile.am (lyx_LDADD): add -lz
4951
4952 2003-07-28  José Matos  <jamatos@fep.up.pt>
4953
4954         * buffer.C: increment file format.
4955         * paragraph_funcs (readParagraph, readParToken):
4956         * paragraph.C (readParagraph): add \end_layout.
4957
4958 2003-07-27  Angus Leeming  <leeming@lyx.org>
4959
4960         * Makefile.am: remove special casing for configure-time setting of
4961         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4962
4963         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4964         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4965
4966 2003-07-26  André Pönitz  <poenitz@gmx.net>
4967
4968         * paragraph_func.[Ch]:
4969         * paragraph.C (realizeFont): inline it whereever it is used
4970
4971         * rowpainter.C:
4972         * text.C:
4973         * text2.C:
4974         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4975
4976
4977 2003-07-26  André Pönitz  <poenitz@gmx.net>
4978
4979         *       lyxtext.h:
4980         * text.C:
4981         * text2.C: get rid of LyXText::need_break_row
4982
4983 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * toc.[Ch]: put namespace toc inside namespace lyx
4986
4987         * MenuBackend.C (expandToc2): adjust for lyx::toc
4988         (expandToc): ditto
4989
4990         * lyxfunc.C (dispatch): adjust for lyx::find
4991
4992         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4993         lyx::find instead. Reorganize a bit.
4994         (LyXReplace): rename to replace
4995         (LyXFind): rename to find
4996
4997         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4998         (dispatch): ditto
4999
5000 2003-07-26  André Pönitz  <poenitz@gmx.net>
5001
5002         * text.C (setHeightOfRow): restrict scope of temporary variable
5003
5004         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5005           code (never has been used?)
5006
5007 2003-07-27  Asger Alstrup  <alstrup@local>
5008
5009         * text.C (fill): Optimise algorithm to exploit that we can reuse
5010         the LyXFont for many characters.
5011         (setHeightOfRow): Same thing.
5012         (rowBreakPoint): Same thing.
5013
5014 2003-07-26  Asger Alstrup  <alstrup@local>
5015
5016         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5017
5018         * text.C (singleWidth): Spurious font copying in hot-spot
5019         singleWidth avoided. Reorder tests for arabic for efficiency.
5020
5021         * text.C (fill): handle empty paragraphs better.
5022
5023 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5024
5025         * ispell.C:
5026         * encoding.h: add includes
5027
5028         * lyxrc.C: remove reading of bind files
5029
5030         * lyx_main.C (init): setup bindings and menus only if we have a
5031         gui.
5032
5033         * kbmap.C (read): new method. Do the actual reading of bind
5034         files.
5035
5036         * converter.C (dvipdfm_options):
5037         * bufferparams.C:
5038         * lyxrc.C (read):
5039         (output): adapt PAPER_* enums.
5040
5041         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5042
5043         * bufferparams.h: remove paper-related enums from there
5044
5045         * paper.h: New file. A trivial header file to hold paper-related
5046         enums. It should later expand to contain many paper-related
5047         horrors access.
5048
5049         * lyxrc.C: declare extern displayTranslator
5050
5051 2003-07-27  José Matos  <jamatos@fep.up.pt>
5052
5053         * tabular.[Ch] (linuxdoc): add support for tables and figures
5054         (linuxdoc).
5055
5056 2003-07-27  José Matos  <jamatos@fep.up.pt>
5057
5058         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5059         consistency in both functions.
5060         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5061
5062 2003-07-26  Asger Alstrup  <alstrup@local>
5063
5064         * rowpainter.C (paintRows): Change algorithm to work directly on
5065         the insets rather than asking every character in the document
5066         whether its an inset.
5067
5068 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5069
5070         * buffer.C (openFileWrite): factorize some code
5071
5072 2003-07-26  Angus Leeming  <leeming@lyx.org>
5073
5074         * lyx_cb.C:
5075         * lyx_main.[Ch]: replace occurances of system_tempdir with
5076         os::getTmpDir().
5077
5078 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * rename Inset to InsetOld
5081
5082 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5083
5084         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5085         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5086         which I think is a bit clearer. EDIT is gone, since it was
5087         premature optimisation, and broken for mathed anyway.
5088         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5089         with cursor positioning in insets as well (math insets still do not
5090         work, but that's a different story anyway.) It mysteriously
5091         crashes sometimes with undo in the first paragraph, but I'm fairly
5092         confident that this is a compiler bug.
5093
5094 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * paragraph.C (Paragraph): adjust for new clone return type
5097         (operator==): ditto
5098         (copyIntoMinibuffer): ditto
5099
5100 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5101
5102         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5103         by not having a special case, and always doing a full rebreak of
5104         the document after undo.
5105
5106 2003-07-23  Angus Leeming  <leeming@lyx.org>
5107
5108         * factory.C (createInset): InsetExternal::setParams now takes a
5109         Buffer const * arg.
5110
5111 2003-07-23  Angus Leeming  <leeming@lyx.org>
5112
5113         * factory.C (createInset): changed interface to the external and
5114         graphics mailers' string2params functions.
5115
5116 2003-07-23  Angus Leeming  <leeming@lyx.org>
5117
5118         * factory.C (createInset): pass a
5119         Buffer const * parameter to InsetExternalMailer's string2params.
5120
5121 2003-07-22  John Levon  <levon@movementarian.org>
5122
5123         * Thesaurus.h: include the right aiksaurus header
5124
5125 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5126
5127         * MenuBackend.C (expand): check menu shortcuts unconditionally
5128
5129 2003-07-21  Angus Leeming  <leeming@lyx.org>
5130
5131         * factory.C (createInset): pass a
5132         buffer_path parameter to InsetGraphicsMailer's string2params.
5133
5134 2003-07-21  Angus Leeming  <leeming@lyx.org>
5135
5136         * BufferView_pimpl.C (buffer):
5137         * buffer.C (d-tor):
5138         * lyx_main.C (LyX):
5139         * lyxfunc.C (dispatch):
5140         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5141         rather than the grfx shortcut.
5142
5143 2003-07-21  André Pönitz  <poenitz@gmx.net>
5144
5145         * rowpainter.C: remove unused variables
5146
5147         * tabular_funcs.C:
5148         * tabular_funcs.h: move to tabular.C
5149         * Makefile.am: adjust
5150
5151         * tabular.[Ch]: basic optical cleaning
5152
5153         * author.h: pass references, not values
5154
5155 2003-07-18  André Pönitz  <poenitz@gmx.net>
5156
5157         * lyxtext.h:
5158         * metricsinfo.C:
5159         * metricsinfo.h:
5160         * rowpainter.C:
5161         * text.C:
5162         * text2.C:
5163         * text3.C: two-phase drawing for InsetText and InsetTabular
5164         some float -> int changes.
5165
5166 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5167
5168         * lyx_main.C: fix the fix
5169
5170 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5171
5172         * lyx_main.C: fix a crash in batch mode if no files specified
5173         * converter.C: ws
5174
5175 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5176
5177         * format.[Ch] (papersize): moved to BufferParams
5178         * converter.[Ch] (dvips_options): moved to BufferParams
5179         (dvipdfm_options): moved to anon namespace
5180         * bufferparams.[Ch]: added above functions.
5181
5182 2003-07-17  André Pönitz  <poenitz@gmx.net>
5183
5184         * lyxtext.h:
5185         * rowpainter.C:
5186         * text2.C: don't call inset->update() anymore
5187
5188         * metricsinfo.[Ch]: add convenience constructor
5189
5190 2003-07-16  André Pönitz  <poenitz@gmx.net>
5191
5192         * lyxcursor.[Ch]:
5193         * lyxfunc.[Ch]:
5194         * text.C:
5195         * text2.C: replace the LyXCursor::irow_ member with
5196          on-demand computation of the value
5197
5198 2003-07-16  John Levon  <levon@movementarian.org>
5199
5200         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5201
5202 2003-07-15  André Pönitz  <poenitz@gmx.net>
5203
5204         * text.C:
5205         * text2.C: remove no more needed refresh_row
5206
5207 2003-07-15  André Pönitz  <poenitz@gmx.net>
5208
5209         * lyxtext.h:
5210         * rowpainter.C:
5211         * text2.C:
5212         * text3.C: refresh_status tristate -> need_update bool
5213
5214 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5215
5216         * lyxtext.h (init): remove reinit argument (act as if always true)
5217         * text2.C: adjust to that
5218
5219 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5220
5221         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5222         * text3.C: use it to delete selections in some cases
5223         (bugs 441, 673, 702, 954).
5224
5225 2003-07-14  André Pönitz  <poenitz@gmx.net>
5226
5227         * rowpainter.[Ch]: reduce interface
5228
5229 2003-07-14  André Pönitz  <poenitz@gmx.net>
5230
5231         * BufferView_pimpl.C:
5232         * text2.C: adjust after removing unused BufferView * argument
5233
5234 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * text2.C (init): fix a crash fired on resize
5237
5238 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * buffer.[Ch]: added new closing signal
5241         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5242         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5243         BufferView::Pimpl via the closing the signal
5244
5245 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5246
5247         * buffer.[Ch]: take out all bv-related from buffer
5248         * BufferView.C:
5249         * BufferView_pimpl.[Ch]: connect to new signals
5250         * CutAndPaste.C: removed useless asserts
5251         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5252         * lyxvc.[Ch]:
5253         * vc-backend.[Ch]:
5254         * lyxfunc.C: moved view-related funciontality from vc here
5255         * paragraph.C: removed outdated comments
5256         * text.C: ws
5257
5258 2003-07-10  André Pönitz  <poenitz@gmx.net>
5259
5260         * BufferView_pimpl.C:
5261         * tabular.h:
5262         * tabular_funcs.C:
5263         * text.C:
5264         * text2.C: remove InsetText::InnerCache, clean up consequences
5265
5266 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5267
5268         * ispell.C: fix two typos in error messages
5269
5270 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5271
5272         * Extend Note inset to other forms of annotation like Comment
5273         and Greyedout. Right button click gives dialog.
5274
5275         Files modified or added (+):
5276
5277         * insetnote.[Ch]
5278         * FormNote.[Ch]      +
5279         * ControlNote.[Ch]   +
5280         * form_note.fd       +
5281         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5282         frontends/controllers
5283         * xforms/Dialogs.C
5284         * factory.C
5285
5286 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5287
5288         * aspell.C: add missing namespace lyx::support
5289
5290 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5291
5292         * BufferView.[Ch] (newFile): Add
5293         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5294         * LaTeX.[Ch] (message): added this signal and use it
5295         * buffer.[Ch] (busy, message): added these signals and use them
5296         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5297         * converter.C:
5298         * exporter.C:
5299         * format.C:
5300         * importer.C: use buffer signals instead of direct bv calling
5301         * lyx_cb.[Ch] (ShowMessage): removed
5302         * lyx_main.C:
5303         * lyxfunc.C:
5304         * paragraph_funcs.C:
5305         * text2.C: use buffer signals
5306
5307 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * introduce namespace lyx::graphics
5310
5311 2003-07-02  André Pönitz  <poenitz@gmx.net>
5312
5313         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5314
5315 2003-07-01  André Pönitz  <poenitz@gmx.net>
5316
5317         * text.C:
5318         * text2.C:
5319         * text3.C:
5320         * text_funcs.[Ch]:
5321         * textcursor.h:
5322         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5323           text*.C to text_func.C
5324
5325 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * introduce namespace lyx::support
5328
5329 2003-06-30  André Pönitz  <poenitz@gmx.net>
5330
5331         * Chktex.C:
5332         * funcrequest.C:
5333         * lyxtext.h:
5334         * text.C: re-enable --with-included-string
5335
5336 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * textcursor.C: add <config.h>
5339
5340         * text.C (getWord): remove const from word_location arg
5341
5342         * lyxvc.C (getLogFile): fix const type order
5343
5344         * lyxtext.h: remove const from word_location arg, add arg name
5345
5346         * lyxlayout.h: currect type on labeltype.
5347
5348         * importer.C: correct \file
5349
5350         * converter.C (intToFormat): use std:: on ret val, ws changes
5351
5352         * bufferlist.h: correct \file
5353
5354         * buffer.C (makeLinuxDocFile): fix const type order
5355         (makeDocBookFile): ditto
5356         (fillWithBibKeys): use std:: on stdlib args.
5357
5358         * CutAndPaste.C: fix authors.
5359         (availableSelections): use std:: on return vector
5360
5361 2003-06-27  André Pönitz  <poenitz@gmx.net>
5362
5363         * BufferView_pimpl.C:
5364         * bufferview_funcs.C:
5365         * lyxcursor.C:
5366         * lyxcursor.h:
5367         * lyxfunc.C:
5368         * lyxtext.h:
5369         * rowpainter.C:
5370         * text.C:
5371         * text2.C:
5372         * text3.C: remove LyXCursor::row_ member
5373
5374         * lyxtext.h:
5375         * text.C: rename fullRebreak() to partialRebreak() and implement
5376           a fullRebreak() that really bereks fully
5377
5378         * textcursor.h: new struct for cursor-related data
5379
5380 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5381
5382         * lyx_main.C (LyX): get full path of document loaded on the
5383         command line
5384
5385 2003-06-26  André Pönitz  <poenitz@gmx.net>
5386
5387         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5388           remove unused/broken operator>,<,>=.
5389
5390         *       text.C: remove only use of broken operator<= in an Assert().
5391
5392 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5393
5394         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5395         moved errorlist_.clear to showErrorList
5396
5397 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5398
5399         * converter.C (scanLog, runLaTeX):
5400         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5401         move the bv->showErrorList call to the callers
5402         * lyxfunc.C: i.e. here...
5403         * text2.C: and here
5404         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5405         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5406         namespace, the second to...
5407         * buffer_funcs (BufferFormat, parseErrors): added
5408         * errorlist.C (ErrorList(TeXErrors const &)): removed
5409
5410 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5411
5412         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5413
5414 2003-06-24  "Garst R. Reese" <reese@isn.net>
5415
5416         * debug.C: fix typo
5417
5418 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5419
5420         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5421
5422         * version.C.in: change docversion to 1.4
5423
5424 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5425
5426         * buffer.C: fix a bug just introduced
5427
5428 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5429
5430         * buffer.[Ch]: added the parseError signal and use it, removed
5431         sgmlError
5432         * BufferView.[Ch] (addError): moved to ...
5433         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5434         to the Buffer::parseError signal to catch (guess what) parse errors
5435         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5436
5437 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5438
5439         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5440         ability to create a buffer and to return an existing one from
5441         the list. Moved these functions to...
5442         * buffer_funcs.[Ch]: added
5443         * BufferView.[Ch] (loadLyXFile): added
5444         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5445         job removed from bufferlist::loadLyXFile.
5446         * buffer.C (setReadOnly): make it work without view
5447         (i.e added an if (users))
5448
5449 2003-06-19  Angus Leeming  <leeming@lyx.org>
5450
5451         * lfuns.h:
5452         * LyXAction.C (init):
5453         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5454         with LFUN_DIALOG_SHOW <name> <data>.
5455
5456 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5457
5458         * CutAndPaste.C (availableSelections): small compilation fix for
5459         ancient (gcc 2.9x) compilers
5460
5461 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * text3.C (cursorNext): add tmp var
5464
5465         * text2.C (updateCounters): for function calling out of for clause
5466         (replaceSelectionWithString): ditto
5467         (insertStringAsParagraphs): ditto
5468         (getColumnNearX): add tmp var
5469         (setCursorFromCoordinates): add tmp var
5470         (cursorDownParagraph): add tmp var
5471         (deleteEmptyParagraphMechanism): add tmp var
5472
5473         * text.C (insertChar): add tmp var
5474
5475         * rowpainter.C (paintDepthBar): add tmp var
5476
5477         * CutAndPaste.C (availableSelections): potentially check all
5478         paragraphs in a cut to fill the shown strings.
5479
5480 2003-06-18  André Pönitz  <poenitz@gmx.net>
5481
5482         * kbmap.[Ch]: use vector<> instead of list<>
5483
5484 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5485
5486         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5487         pasteSelection with index
5488
5489         * text2.C (pasteSelection): modify, call pasteSelection with index
5490
5491         * paragraph.C (asString): reimplement version with no interval to
5492         call the one with interval.
5493
5494         * lyxtext.h: add index arg to pasteSelection
5495
5496         * MenuBackend.C (MenuItem): handle PasteRecent
5497         (Menu::read::Menutags): add md_pasterecent
5498         (read): handle it
5499         (expandPasteRecent): new function
5500         (expand): use it
5501
5502         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5503
5504         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5505         the limited stack
5506         (availableSelections): new function
5507
5508 2003-06-17  Angus Leeming  <leeming@lyx.org>
5509
5510         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5511
5512 2003-06-17  Angus Leeming  <leeming@lyx.org>
5513
5514         * lfuns.h:
5515         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5516
5517         * lyxfunc.C (dispatch): invoke it.
5518
5519 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5520
5521         * iterators.C (operator++, ParPosition): reintroduce some
5522         const_cast for the benefit of older compilers.
5523
5524 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5525
5526         * text3.C (dispatch): do not modify clipboard when doing
5527         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5528         LFUN_DELETE_SKIP on a selection selection
5529
5530 2003-06-16  André Pönitz  <poenitz@gmx.net>
5531
5532         * BufferView.C:
5533         * buffer.C:
5534         * buffer.h:
5535         * paragraph.C:
5536         * tabular.[Ch]: IU of clone() and getLabelList();
5537
5538 2003-06-13  André Pönitz  <poenitz@gmx.net>
5539
5540         * tabular.h: compactification
5541
5542 2003-06-12  André Pönitz  <poenitz@gmx.net>
5543
5544         * tabular.C:
5545         * tabular.h:
5546         * tabular_funcs.h: some renaming plus whitespace
5547
5548 2003-06-12  André Pönitz  <poenitz@gmx.net>
5549
5550         * BufferView.C:
5551         * BufferView_pimpl.C:
5552         * CutAndPaste.C:
5553         * buffer.C:
5554         * iterators.[Ch]:
5555         * lyxfunc.C:
5556         * text.C:
5557         * toc.C: Return a Paragraph & for ParIterator::operator*()
5558
5559 2003-06-11  John Levon  <levon@movementarian.org>
5560
5561         * lyx_main.C:
5562         * ToolbarBackend.h:
5563         * ToolbarBackend.C: add "Toolbars" section and
5564         put the flags there
5565
5566 2003-06-10  Angus Leeming  <leeming@lyx.org>
5567
5568         * lfuns.h:
5569         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5570
5571         * lyxfunc.C (dispatch): invoke it.
5572
5573 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5574
5575         * main.C: protect <ios> with HAVE_IOS
5576         (main): protect sync_with_stdio with HAVE_IOS
5577
5578 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5579
5580         * text2.C (cutSelection): adjust
5581         (pasteSelection): adjust
5582
5583         * messages.C: handle get of empty string
5584
5585         * main.C (main): use sync_with_stdio(false)
5586
5587         * lyxfunc.C (dispatch): adjust
5588
5589         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5590         (WriteAs): remove unneeded BufferView arg.
5591
5592         * bufferparams.h: use correct types on papersize, papersize2 and
5593         paperpackage.
5594
5595         * bufferparams.C (readToken): adjust for type
5596         (writeLaTeX): add missing cases to switch.
5597
5598         * bufferlist.C (quitWriteBuffer): adjust
5599         (close): adjust
5600
5601         * buffer.C (asciiParagraph): remove some commented code.
5602
5603         * CutAndPaste.C: remove current_view extern variable.
5604         (cutSelection): add BufferParams arg.
5605         (eraseSelection): add BufferParams arg.
5606         (pasteSelection): add Buffer const & arg
5607
5608 2003-06-07  John Levon  <levon@movementarian.org>
5609
5610         * buffer.C:
5611         * paragraph_funcs.C:
5612         * paragraph_pimpl.C:
5613         * text.C:
5614         * text2.C:
5615         * paragraph.h:
5616         * paragraph.C: allow InsetERT to freely space lines,
5617         and some consolidation of code
5618
5619 2003-06-06  José Matos  <jamatos@fep.up.pt>
5620
5621         * buffer.C (makeDocBookFile): fix bug #821
5622
5623 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5624
5625         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5626
5627 2003-06-04  Angus Leeming  <leeming@lyx.org>
5628
5629         * buffer.C: bump format to 224.
5630
5631 2003-06-05  André Pönitz  <poenitz@gmx.net>
5632
5633         * text2.C (redoParagraphs): remove two const_cast<>
5634
5635 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5636
5637         * ParagraphList.h: remove last remnants of NO_STD_LIST
5638
5639 2003-06-03  Angus Leeming  <leeming@lyx.org>
5640
5641         * factory.C (createInset): small change to the way InsetExternal's params
5642         are set.
5643
5644 2003-06-04  André Pönitz  <poenitz@gmx.net>
5645
5646         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5647
5648         * paragraph_pimpl.h:
5649         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5650
5651         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5652
5653         * undo_funcs.C: make some simple cases of undo work again
5654
5655 2003-06-03  John Levon  <levon@movementarian.org>
5656
5657         * ispell.C: HPUX doesn't have sys/select.h
5658         (from Albert Chin)
5659
5660 2003-06-03  John Levon  <levon@movementarian.org>
5661
5662         * CutAndPaste.C: update tabular and include inset
5663         buffer references
5664
5665         * buffer.h:
5666         * paragraph.h:
5667         * paragraph.C: remove owningBuffer(), don't pass Buffer
5668         to clone()
5669
5670         * factory.C: insetGraphicsParams changed
5671
5672 2003-06-02  John Levon  <levon@movementarian.org>
5673
5674         * LyXAction.C:
5675         * factory.C:
5676         * lfuns.h:
5677         * lyxfunc.C:
5678         * text3.C: remove insetparent
5679
5680 2003-06-02  John Levon  <levon@movementarian.org>
5681
5682         * buffer.h:
5683         * buffer.C: fix inset_iterator.end(), move out of line
5684         (bug 1149)
5685
5686 2003-06-01  John Levon  <levon@movementarian.org>
5687
5688         * text3.C: use a proper cut/paste when doing inset
5689         insert (from Jürgen Spitzmüller)
5690
5691 2003-06-01  John Levon  <levon@movementarian.org>
5692
5693         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5694
5695 2003-05-30  André Pönitz  <poenitz@gmx.net>
5696
5697         * rowpainter.C: unify second drawing phase
5698
5699 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * trans_mgr.C: remove one case of current_view
5702
5703         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5704
5705         * paragraph_funcs.h: remove paragraph.h include
5706
5707         * paragraph.h: delete NO_STD_LIST stuff
5708
5709         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5710
5711         * buffer.h: remove paragraph.h include
5712
5713         * ParagraphList.C: delete file
5714
5715         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5716
5717         * toc.C (getTocList): adjust
5718
5719         * paragraph_pimpl.C (validate): adjust
5720
5721         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5722
5723         * paragraph.C (Paragraph): adjust
5724         (getPositionOfInset): use const_iterator, adjust
5725         (bibitem): use const_iterator, adjust
5726         (setInsetOwner): adjust
5727
5728         * iterators.C (operator++): adjust
5729
5730         * InsetList.[Ch]: Replace selfmade iterator with standard
5731         vector::iterator also introduce const_iterator. Remove getPos,
5732         getInset and setInset from InsetTable. Adjust accordingly.
5733
5734         * BufferView.C (lockInset): adjust
5735         (ChangeInsets): adjust
5736
5737         * tabular.[Ch]: delete commented same_id functions
5738
5739 2003-05-28  John Levon  <levon@movementarian.org>
5740
5741         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5742
5743 2003-05-28  André Pönitz  <poenitz@gmx.net>
5744
5745         * metricsinfo.[Ch]: remove 'fullredraw' member
5746
5747 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5748
5749         * lyxtextclass.C (operator): remove caching.
5750
5751 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * text3.C: adjust
5754
5755         * text2.C (cursorBottom): adjust
5756         (setCounter): use ParagraphList::find, adjust
5757
5758         * text.C (workWidth): use ParagraphList::find, adjust
5759
5760         * lyxcursor.C (LyXCursor): adjust
5761
5762         * buffer.C (inset_iterator): adjust
5763
5764         * ParagraphList.h: make iterator(value_type) private, make
5765         ParagraphList a friend of iterator.
5766
5767         * ParagraphList.C (find): new function
5768
5769         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5770
5771 2003-05-27  André Pönitz  <poenitz@gmx.net>
5772
5773         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5774
5775 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5776
5777         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5778
5779 2003-05-26  John Levon  <levon@movementarian.org>
5780
5781         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5782
5783 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5784
5785         * remove same_id from function signatures, adjust.
5786
5787 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5790
5791         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5792
5793         * paragraph.C (Paragraph): get rid of same_ids parameter
5794
5795         * ParagraphList.C (insert): adjust
5796         (push_back): adjust
5797
5798 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5799
5800         * paragraph_funcs.C (breakParagraph): adjust
5801         (breakParagraphConservative): adjust
5802
5803         * buffer.C (readParagraph): adjust
5804
5805         * ParagraphList.C (insert): take a reference instead of a pointer
5806         (insert): adjust
5807
5808         * paragraph.[Ch] (id): new function
5809
5810         * bufferlist.C (newFile): adjust
5811
5812         * ParagraphList.C (ParagraphList): adjust
5813         (assign): adjust
5814         (push_back): take a reference instead of a pointer.
5815
5816         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5817
5818         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5819         instead.
5820
5821         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5822         set else use old code.
5823
5824         * ParagraphList.C: remove all NO_NEXT code and only compile this
5825         code of NO_STD_LIST is set.
5826
5827 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5828
5829         * BufferView_pimpl.C:
5830         * TextCache.C:
5831         * TextCache.h:
5832         * bufferlist.C:
5833         * errorlist.h:
5834         * format.C:
5835         * format.h:
5836         * graph.C:
5837         * lyxfunc.C:
5838         * lyxrc.C:
5839         * graphics/GraphicsConverter.C:
5840         * graphics/PreviewLoader.C: header adjustment
5841
5842 2003-05-23  Angus Leeming  <leeming@lyx.org>
5843
5844         * LaTeXFeatures.[Ch] (useBabel): new method.
5845         * bufferparams.C (writeLaTeX): use it.
5846
5847 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * ParagraphList.h (set): remove unused function.
5850
5851 2003-05-23  André Pönitz  <poenitz@gmx.net>
5852
5853         * BufferView.C:
5854         * BufferView_pimpl.C:
5855         * buffer.C:
5856         * buffer.h:
5857         * lyxfunc.C:
5858         * undo_funcs.C: setUndo reworked
5859
5860         * iterators.[Ch]: add access to topmost ParagraphList
5861
5862         * lyxtext.[Ch] (workWidth): add a const
5863
5864 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5865
5866         * texrow.[Ch] (increasePos): remove function
5867         * exporter.C (export): removed unused var and outdated comment
5868
5869 2003-05-23  Angus Leeming  <leeming@lyx.org>
5870
5871         * latexrunparams.h: rename fragile as moving_arg.
5872         * paragraph.C (simpleTeXOnePar): ditto.
5873         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5874
5875 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5878         (createUndo): ditto
5879         (textUndoOrRedo): comment out a currently unused var.
5880
5881         * paragraph.h (NO_NEXT): enable NO_NEXT
5882
5883         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5884
5885         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5886
5887         * exporter.C (Export): adjust for removeAutoInsets removal.
5888
5889         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5890
5891         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5892
5893         * BufferView.[Ch] (removeAutoInsets): delete function
5894
5895 2003-05-22  Angus Leeming  <leeming@lyx.org>
5896
5897         * latexrunparams.h: add a free_spacing variable.
5898
5899         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5900         to pass moving_arg, as the data is stored in runparams.fragile.
5901
5902         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5903         to Inset::latexOptional or to simpleTeXOnePar.
5904
5905         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5906         free_spacing arg to Inset::latexOptional.
5907
5908         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5909         free_spacing arg.
5910
5911 2003-05-22  Angus Leeming  <leeming@lyx.org>
5912
5913         * latexrunparams.h: add fragile and use_babel variables.
5914
5915         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5916         * buffer.C (makeLaTeXFile): store this returned value in
5917         runparams.use_babel, thus passing it to the inset::latex methods.
5918
5919         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5920         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5921
5922         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5923         longer has a fragile arg, as it is stored in runparams.fragile.
5924
5925         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5926         moving_arg parameter as the data is stored in runparams.fragile.
5927
5928         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5929         a fragile parameter as the data is stored in runparams.fragile.
5930
5931 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5934
5935 2003-05-22  Angus Leeming  <leeming@lyx.org>
5936
5937         * latexrunparams.h: add a 'bool nice' which defaults to false.
5938
5939         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5940         now encapsulated within runparams.
5941
5942         * bufferlist.C (updateIncludedTeXfiles):
5943         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5944
5945 2003-05-22  Angus Leeming  <leeming@lyx.org>
5946
5947         * latexrunparams.h: new file containing struct LatexRunParams.
5948         * Makefile.am: add new file.
5949
5950         * LaTeX.[Ch] (c-tor, run):
5951         * buffer.[Ch] (makeLaTeXFile):
5952         * bufferlist.[Ch] (updateIncludedTeXfiles):
5953         * converter.C (convert, scanLog):
5954         * converter.[Ch] (runLaTeX):
5955         * exporter.C (Export):
5956         * paragraph.[Ch] (simpleTeXOnePar):
5957         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5958         * paragraph_funcs.[Ch] (latexParagraphs):
5959         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5960         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5961         pass around a LatexRunParams parameter.
5962
5963 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5964
5965         * paragraph.[Ch]: remove unused constructor
5966
5967         * ParagraphList.C (erase): new function, taking two iterators
5968
5969 2003-05-22  André Pönitz  <poenitz@gmx.net>
5970
5971         * undo_funcs.C: remove duplicated code
5972
5973         * iterator.[Ch]: operator=
5974
5975 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * tabular.C (SetMultiColumn): ws changes
5978
5979         * rowpainter.C (paintFirst): get rid of a ->previous
5980
5981         * lyx_cb.C (getPossibleLabel): parlist simplification
5982
5983         * BufferView.C (ChangeInsets): simplify slightly.
5984
5985 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5986
5987         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5988         * lfuns.h: new LFUN_SPACE
5989         * lyxfunc.C: protected space has a new lfun
5990         * paragraph_funcs.C: read new space insets
5991         * text3.C:
5992         * factory.C: handle new space insets
5993
5994 2003-05-22  André Pönitz  <poenitz@gmx.net>
5995
5996         * BufferView.C:
5997         * BufferView_pimpl.C:
5998         * buffer.[Ch]:
5999         * lyxfunc.C:
6000         * undo_funcs.C: return a ParIterator from getParFromID.
6001
6002         * iterators.[Ch]: add two const's
6003
6004 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * toc.C (getTocList): adjust
6007
6008         * iterators.[Ch]: rework for parlist
6009
6010         * buffer.C (par_iterator_begin): adjust
6011         (par_iterator_end): adjust
6012
6013         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6014
6015         * BufferView.C (removeAutoInsets): adjust
6016         (ChangeInsets): adjust
6017
6018 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6019
6020         * text.C (top_y): fix bug 1110
6021
6022 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6023
6024         * errorlist.[Ch]: added
6025         * buffer.C:
6026         * BufferView.[Ch]:
6027         * BufferView_pimpl.C:
6028         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6029         instead
6030
6031 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6032
6033         * Makefile.am: ensure that lyx is relinked upon changes to the
6034         various "convenience" libs.
6035
6036 2003-05-20  Angus Leeming  <leeming@lyx.org>
6037
6038         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6039         files are compiled in alphabetical order again.
6040
6041         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6042
6043 2003-05-19  Angus Leeming  <leeming@lyx.org>
6044
6045         * gettext.[Ch]: remove "char const * _(char const *)".
6046
6047 2003-05-19  André Pönitz  <poenitz@gmx.net>
6048
6049         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6050
6051         * Makefile.am:
6052         * BufferView.C:
6053         * DepTable.h:
6054         * LaTeXFeatures.C:
6055         * buffer.C:
6056         * lyxfont.C:
6057         * lyxlex.h:
6058         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6059
6060 2003-05-19  André Pönitz  <poenitz@gmx.net>
6061
6062         * buffer.C:
6063         * lyxlayout.[Ch]:
6064         * lyxtextclass.[Ch]:
6065         * paragraph.C:
6066         * paragraph_funcs.[Ch]:
6067         * text2.C:
6068         * text3.C: more insetenv work
6069
6070 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6071
6072         * ParagraphParameters.C (params2string): small bug fixed
6073
6074 2003-05-16  André Pönitz  <poenitz@gmx.net>
6075
6076         * debug.C:
6077         * bufferview_funcs.C: patch from Kornel Benko to prevent
6078           crash when _(...) is called twice in a statement
6079
6080 2003-05-16  André Pönitz  <poenitz@gmx.net>
6081
6082         * BufferView.C:
6083         * lyxfunc.C:
6084         * text.C:
6085         * text2.C:
6086         * text3.C:
6087         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6088
6089 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6090
6091         * lyx_main.C (init): remove spurious static_cast
6092
6093 2003-05-14  André Pönitz  <poenitz@gmx.net>
6094
6095         * BufferView.C: fix format string
6096
6097 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6098
6099         * BufferView.[Ch] (insertErrors): removed
6100         * BufferView.[Ch] (showErrorList): added
6101         * buffer.C (runChkTeX):
6102         * converter.C (scanLog): call showErrorList instead of inserterrors
6103
6104 2003-05-13  André Pönitz  <poenitz@gmx.net>
6105
6106         * BufferView_pimpl.C:
6107         * buffer.C:
6108         * bufferview_func.C:
6109         * MenuBackend.C:
6110         * lyxfunc.C:
6111         * lyxrc.C:
6112         * tex-accent.C:
6113         * text3.C:
6114         * toc.C:
6115         * tabular_funcs.h: tostr() from its own header
6116
6117         * ParagraphParameters.C:
6118         * ToolbarBackend.C:
6119         * bufferparams.C:
6120         * format.C:
6121         * lyxlex_pimpl.C:
6122         * text3.C: STRCONV()
6123
6124 2003-05-12  André Pönitz  <poenitz@gmx.net>
6125
6126         * BufferView.C:
6127         * BufferView_pimpl.C:
6128         * CutAndPaste.C:
6129         * LaTeX.C:
6130         * LaTeXFeatures.C:
6131         * ParagraphParameters.C:
6132         * buffer.C:
6133         * bufferlist.C:
6134         * bufferparams.C:
6135         * bufferview_funcs.C:
6136         * converter.C:
6137         * counters.C:
6138         * debug.C:
6139         * exporter.C:
6140         * format.C:
6141         * importer.C:
6142         * lyx_cb.C:
6143         * lyx_main.C:
6144         * lyxfont.C:
6145         * lyxfunc.C:
6146         * lyxvc.C:
6147         * paragraph.C:
6148         * paragraph_funcs.C:
6149         * tabular.C:
6150         * tabular_funcs.C:
6151         * text2.C:
6152         * text3.C:  boost::format -> bformat  all over the place
6153
6154
6155 2003-05-09  André Pönitz  <poenitz@gmx.net>
6156
6157         * LColor.[Ch]: Pimpl the #include <map> away
6158
6159 2003-05-09  John Levon  <levon@movementarian.org>
6160
6161         * bufferlist.C: never remove emergency saves
6162
6163 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * Makefile.am: better lib building
6166
6167 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6170         instead.
6171         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6172         (simpleTeXSpecialChars): adjust
6173         (simpleTeXSpecialChars): adjust
6174         * paragraph.C (simpleTeXOnePar): adjust
6175         * buffer.C (makeLaTeXFile): adjust
6176
6177         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6178
6179         * text2.C (changeDepth): parlist cleanup
6180         (getColumnNearX): ditto
6181
6182         * rowpainter.C (getLabelFont): parlist cleanup
6183
6184         * bufferlist.C (newFile): parlist cleanup
6185
6186         * CutAndPaste.C (eraseSelection): parlist cleanup
6187
6188         * BufferView_pimpl.C (trackChanges): parlist cleanup
6189         (dispatch): ditto
6190
6191         * BufferView.C (lockInset): parlist cleanup.
6192         (ChangeInsets): ditto
6193
6194 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * CutAndPaste.h: Update file header.
6197
6198         * CutAndPaste.C: Update file header.
6199         Store the parts cut out of the Document in a limited_stack.
6200         (copySelection): adjust
6201         (pasteSelection): new function, takes the index in the limited stack.
6202         (nrOfParagraphs): adjust
6203         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6204         simplify error inset insertion.
6205         (checkPastePossible): adjust
6206
6207 2003-05-06  John Levon  <levon@movementarian.org>
6208
6209         * text2.C: don't cast wrap inset to float
6210
6211 2003-05-05  André Pönitz  <poenitz@gmx.net>
6212
6213         * iterator.C:
6214         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6215
6216         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6217           few naked Paragraph *.
6218
6219 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6220
6221         * bufferparams.C: Output warning if a document with missing
6222         TeX document class is loaded
6223         * exporter.C: Disable TeX exports if the document class is missing
6224         * lyxtextclass.C:
6225         * lyxtextclass.h:
6226         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6227         isTeXClassAvailable()
6228
6229 2003-05-03  John Levon  <levon@movementarian.org>
6230
6231         * BufferView.h:
6232         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6233         explicit cursor show/hide
6234
6235         * BufferView_pimpl.h:
6236         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6237         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6238
6239         * lyxfunc.C: hide cursor before dispatching.
6240
6241         * lyx_cb.C:
6242         * lyxfind.C:
6243         * text.C:
6244         * text3.C: remove explicit cursor hides
6245
6246 2003-05-02  André Pönitz  <poenitz@gmx.net>
6247
6248         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6249
6250         * undo_funcs.C:
6251         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6252           linked lists
6253
6254         * text2.C: tiny whitespace
6255
6256 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * undo_funcs.C: almost only ws changes.
6259
6260         * ParagraphList.C (splice): just return if pl is empty.
6261
6262 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * ParagraphList.C (splice): new function.
6265
6266         * CutAndPaste.C (pasteSelection): use it
6267
6268 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * CutAndPaste.C (pasteSelection): remove the last next and
6271         previous from this file.
6272
6273 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * CutAndPaste.C (pasteSelection): more clean up, user proper
6276         ParagraphList functions for pasteing.
6277
6278         * ParagraphList.C (insert): new function, three arg insert
6279
6280 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * ParagraphList.C (insert): new function, three arg insert
6283
6284         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6285         not on paragraphs.
6286
6287 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6290
6291 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6294
6295 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6296
6297         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6298         (copySelection): clean up a bit.
6299         (pasteSelection): use make_pair
6300
6301         * ParagraphList.C (ParagraphList): implement copy constructor
6302         (operator=): implement, base on copy constructor.
6303         (assign): new func
6304
6305         * paragraph.C (erase): return a bool
6306
6307         * paragraph_pimpl.C (erasePos): remove function, move contents...
6308         (erase): ... here. Return a bool.
6309         (erase): call erase instead of erasePos.
6310
6311 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6312
6313         * ParagraphList.h: define PitPosPair
6314         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6315         ParagraphList, fix a bug on pasting multiple pars
6316         * text2.C: change interface to C&P
6317
6318 2003-04-30  André Pönitz  <poenitz@gmx.net>
6319
6320         * undo_func.C: revert part of yesterday's patch 2
6321
6322 2003-04-30  John Levon  <levon@movementarian.org>
6323
6324         * LColor.C: s/tabular/table/
6325
6326 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * text3.C (dispatch): do not convert iterator -> pointer
6329         * undo_funcs.C (setCursorParUndo): ditto
6330         * text_funcs.C (transposeChars): ditto
6331
6332         * text2.C (setLayout): ws changes only
6333
6334         * text.C (breakParagraph): do not convert iterator -> pointer
6335         (insertChar): ditto
6336         (acceptChange): ditto
6337         (rejectChange): ditto
6338         (changeCase): ditto
6339         (Delete): ditto
6340         (backspace): ditto
6341
6342         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6343         pointer
6344
6345 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6346
6347         * text3.C (gotoInset): YABG (yet another bad getChar)
6348
6349 2003-04-29  André Pönitz  <poenitz@gmx.net>
6350
6351         * paragraph.h: make operator= private unimplemented as long as
6352           it is unusable
6353
6354         * ParagraphList.C: whitespace
6355
6356         * paragraph.[Ch]:
6357         * paragraph_pimpl.[Ch]:
6358         * paragraph_funcs.C:
6359         * CutAndPaste.C:
6360         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6361
6362         * text2.C:
6363           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6364
6365 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6366
6367         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6368         * paragraph.[Ch] (erase):
6369         * paragraph_pimpl.[Ch] (erase): change return type and value
6370         * text2.C (cutSelection): some rework
6371
6372 2003-04-28  John Levon  <levon@movementarian.org>
6373
6374         * bufferlist.C: changes for unsaved changes dialog
6375
6376 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * bufferlist.C (newFile): set language (messages_) for new
6379         documents also.
6380
6381         * buffer.C (readFile): ws changes only.
6382
6383 2003-04-28  André Pönitz  <poenitz@gmx.net>
6384
6385         * undo_funcs.C:
6386         * lyxfunc.C:
6387         * buffer.[Ch]:
6388         * BufferView_pimpl.C:
6389         * BufferView.C: getParFromID related ParagraphList::iterator changes
6390
6391 2003-04-28  André Pönitz  <poenitz@gmx.net>
6392
6393         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6394           Changes
6395
6396 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * messages.C: remove one more localedir class variable.
6399
6400 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * messages.C (getLocaleDir): singleton generation function
6403         (Pimpl): use it.
6404         (Messages): add a default constructor.
6405
6406         * main.C (main): do not setup localedir here, do not call
6407         gettext_init.
6408
6409         * gettext.C (_): use it.
6410         (gettext_init): delete funciton
6411
6412 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * gettext.C (getLyXMessages): new singleton generating function.
6415
6416         * buffer.C (updateDocLang): adjust
6417
6418         * Makefile.am (messages.o): add target
6419         (main.o): remove target
6420
6421 2003-04-27  John Levon  <levon@movementarian.org>
6422
6423         * bufferlist.C:
6424         * lyx_cb.C:
6425         * lyxfunc.C:
6426         * lyxvc.C: specify cancel button in Alert::prompt
6427
6428 2003-04-26  John Levon  <levon@movementarian.org>
6429
6430         * text3.C:
6431         * lyxfunc.C:
6432         * lfuns.h:
6433         * LyXAction.C: add LFUN_INSET_SETTINGS
6434
6435         * lyxfunc.C: don't enable tabular-feature when there's
6436         just any locking inset
6437
6438 2003-04-26  John Levon  <levon@movementarian.org>
6439
6440         * bufferlist.C: re-add Cancel to buffer close question
6441
6442         * lyxfunc.C: fix import UI a bit
6443
6444 2003-04-25  John Levon  <levon@movementarian.org>
6445
6446         * gettext.C: remove the broken asserts for now
6447
6448 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * messages.C: make case where setlocale cannot comply work better.
6451
6452         * buffer.C (updateDocLang): new function
6453         (changeLanguage): use it
6454         (readFile): use it
6455
6456         * text2.C (setCounter): use B_ a bit.
6457
6458         * lyxlayout.C (Read): be sure to trim the label strings.
6459
6460         * messages.C (Messages): fix typo in comment
6461
6462         * buffer.C (readFile): set message_ after file is loaded.
6463         (makeDocBookFile): remove double return
6464         (changeLanguage): reset message_ upon language change.
6465         (B_): new func, use this to get translated buffer strings.
6466
6467         * main.C: add myself and Jean Marc as authors.
6468
6469 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * messages.[hC]: pimplify Messages, and three different pimpls to be
6472         used in different circumstances.
6473
6474         * gettext.[Ch]: change for use with new message code.
6475
6476 2003-04-24 André Pönitz <poenitz@gmx.net>
6477
6478         * factory.C: support for eqref
6479
6480 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * messages.[Ch]: add missing char
6483
6484         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6485
6486         * messages.[Ch]: New files
6487
6488 2003-04-18  John Levon  <levon@movementarian.org>
6489
6490         * BufferView.h:
6491         * BufferView.C:
6492         * BufferView_pimpl.C:
6493         * lfuns.h:
6494         * LyXAction.C:
6495         * lyxtext.h:
6496         * text2.C: remove layout-copy/paste (bug 778)
6497
6498 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6499
6500         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6501
6502 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6503
6504         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6505         if they succeed. Act accordingly.
6506
6507 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * text2.C (setCharFont): adjust
6510         (setCounter): adjust
6511         (insertStringAsLines): adjust
6512
6513         * text.C (leftMargin): adjust
6514         (setHeightOfRow): adjust
6515
6516         * rowpainter.C (paintFirst): adjust
6517         (paintLast): adjust
6518
6519         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6520         (outerHook): ditto
6521         (isFirstInSequence): ditto
6522         (getEndLabel): ditto
6523         (outerFont): adjust
6524
6525         * paragraph.C (getParLanguage): comment out some hard stuff.
6526
6527         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6528         (sgmlError): ditto
6529         (simpleDocBookOnePar): ditto
6530         (makeDocBookFile): use ParagraphList::iterator
6531
6532         * CutAndPaste.C (pasteSelection): adjust
6533
6534 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * text2.C (getFont): adjust
6537         (getLayoutFont): adjust
6538         (getLabelFont): adjust
6539
6540         * paragraph_funcs.C (TeXOnePar): adjust
6541
6542         * buffer.C (simpleLinuxDocOnePar): adjust
6543         (simpleDocBookOnePar): adjust
6544
6545         * CutAndPaste.C (pasteSelection): adjust
6546
6547         * BufferView.C (getEncoding): adjust
6548
6549         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6550
6551 2003-04-16  John Levon  <levon@movementarian.org>
6552
6553         * lyxfind.C: use parlist stuff for search/changes
6554
6555 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6556
6557         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6558
6559         * text2.C (deleteEmptyParagraphMechanism): adjust
6560
6561         * text2.[Ch] (ownerParagraph): delete func (both of them
6562
6563 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6564
6565         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6566
6567 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6568
6569         * ParagraphList.C: prepare for NO_NEXT
6570
6571 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * text2.C (getFont): adjust
6574         (getLayoutFont): adjust
6575         (getLabelFont): adjust
6576
6577         * paragraph.C (getFont): adjust
6578         (getLabelFont): adjust
6579         (getLayoutFont): adjust
6580
6581         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6582
6583 2003-04-15  John Levon  <levon@movementarian.org>
6584
6585         From Angus Leeming
6586
6587         * lyx_main.C: handle Include in .ui files
6588
6589 2003-04-15  John Levon  <levon@movementarian.org>
6590
6591         * MenuBackend.C: make the doc files length shorter
6592
6593         * ToolbarBackend.h:
6594         * ToolbarBackend.C: handle toolbar placement flags,
6595         Minibuffer
6596
6597 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6600         adjust
6601
6602         * paragraph_funcs.C (TeXOnePar): adjust
6603
6604         * paragraph.C (getLabelFont): add outerfont arg, adjust
6605         (getLayoutFont): ditto
6606         (simpleTeXOnePar): adjust
6607
6608         * paragraph_pimpl.C (realizeFont): delete func
6609
6610 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6613         row argument, constify cur argument.
6614
6615 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6616
6617         * text2.C (getFont): adjust
6618         (getLayoutFont): adjust
6619         (getLabelFont): adjust
6620
6621         * paragraph_funcs.C (TeXOnePar): adjust
6622         (outerFont): new func...
6623         (realizeFont): ...moved out from here, changed this to facilitate
6624         transition
6625
6626         * paragraph.C (getFont): take outerfont as arg, adjust
6627         (simpleTeXOnePar): add outerfont arg, adjust
6628
6629         * buffer.C (simpleLinuxDocOnePar): adjust
6630         (simpleDocBookOnePar): adjust
6631
6632         * CutAndPaste.C (pasteSelection): adjust
6633
6634         * BufferView.C (getEncoding): adjust
6635
6636 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * text2.C (setCharFont): adjust
6639         (setCounter): adjust
6640
6641         * text.C (leftMargin): adjust
6642         (setHeightOfRow): adjust
6643
6644         * rowpainter.C (paintFirst): adjust
6645         (paintLast): adjust
6646
6647         * paragraph_pimpl.C (realizeFont): adjust
6648
6649         * paragraph.C (isFirstInSequence): move from here...
6650         * paragraph_funcs.C (isFirstInSequence): ...to here
6651
6652         * paragraph.C (outerHook): move from here...
6653         * paragraph_funcs.C (outerHook): ...to here
6654
6655         * paragraph.C (depthHook): move from here...
6656         * paragraph_funcs.C (depthHook): ...to here
6657
6658         * paragraph.C (getEndLabel): move from here...
6659         * paragraph_funcs.C (getEndLabel): ...to here
6660
6661         * text2.C (realizeFont): move from here...
6662         * paragraph_funcs.C (realizeFont): ...to here
6663
6664 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6667
6668 2003-04-14  Angus Leeming  <leeming@lyx.org>
6669
6670         * LColor.[Ch]: scrap LColor mathcursor.
6671
6672 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6673
6674         * lyxlex.[Ch] (text): delete function
6675         * trans.C (Load): adjust
6676         * paragraph_funcs.C (readParToken): adjust
6677
6678 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6681         vector<char> instead of a char[].
6682
6683         * lyxlex_pimpl.C (getString): adjust
6684         (next): adjust
6685         (lex): use getString
6686         (eatLine): adjust
6687         (nextToken): adjust
6688
6689         * lyxlex.C (text): use pimpl_->getString()
6690         (getBool): ditto
6691         (findToken): ditto
6692
6693 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6696         (makeFontEntriesLayoutSpecific): temp var for par.size()
6697         (setLayout): temp var for ownerParagraphs().end()
6698         (fullRebreak): temp var for rows().end()
6699         (selectionAsString): temp var for boost::next(startpit), realize
6700         that the while really is a regular for loop.
6701         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6702         setCursor in one place.
6703         (setParagraph): temp vr for ownerParagraphs().end()
6704         (updateCounters): make the while loop a for loop
6705         (cutSelection): temp var for ownerParagraphs().end()
6706         (updateInset): make the do {} while() a regular for loop
6707         (getCursorX): use temp vars
6708         (setCurrentFont): use temp vars
6709         (getColumnNearX): use temp vars
6710
6711 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * text.C (transformChar): use temp var for getChar
6714         (computeBidiTables): use temp var for row->par()
6715         (fill): move temp vars for row->par() and pit->layout() earlier in
6716         the function.
6717         (labelFill): use temp var for row->par()
6718         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6719         asc and desc, realize that pit never changes and that firstpit is
6720         just a duplicate and not needed. Exchange rit->par() with pit in a
6721         lot of places.
6722         (breakAgain): use a temp var for boost::next(rit)
6723         (breakAgainOneRow): ditto
6724         (breakParagraph): use a temp var for rows().begin()
6725         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6726         (cursorRightOneWord): use temp var for cursor.par() and
6727         cursor.pos(), remove usage of tmpcursor.
6728         (cursorLeftOneWord): use temp var for cursor.par() and
6729         cursor.pos() only set cur at end of function.
6730
6731 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * text.C, text2.C: exchange all usage of Paragraph::next with
6734         boost::next(ParagraphList::iterator)
6735
6736         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6737
6738         * text2.C (cursorTop): simplify implementation
6739         (cursorBottom): ditto
6740         (setParagraph): use ParagraphList::iterator
6741         (setCurrentFont): adjust
6742         (getColumnNearX): adjust
6743         (cursorRight): adjust
6744         (cursorLeft): remove usage of Paragraph::previous
6745         (cursorUpParagraph): ditto
6746         (deleteEmptyParagraphMechanism): slight cleanup
6747
6748         * text.C (isBoundary): take a Paragraph const & instead of a
6749         pointer as arg.
6750         (addressBreakPoint): ditto
6751         (leftMargin): remove usage of Paragraph::previous.
6752         (setHeightOfRow): ditto
6753         (cursorLeftOneWord): ditto
6754         (selectNextWordToSpellcheck): ditto
6755         (Delete): ditto
6756         (backspace): ditto
6757         (breakParagraph): remove one usage of Paragraph::next
6758         (redoParagraph): ditto
6759         (acceptChange): ditto
6760         (insertChar): adjust
6761         (rowBreakPoint): adjust
6762
6763         * bufferview_funcs.C (toggleAndShow): adjust
6764
6765 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6766
6767         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6768         methods to access it.
6769         * lyxtext.h:
6770         * text.C: Added updateRowPositions to compute all row positions.
6771         Make top_y and getRowNearY() to use the cached y position
6772
6773 2003-04-11  John Levon  <levon@movementarian.org>
6774
6775         * text.C (rowBreakPoint): reintroduce the labelEnd
6776         checks, code copied from the row fill stuff. Deep voodoo.
6777
6778         * text.C (fill): add a comment and debugging for the
6779         next poor soul.
6780
6781 2003-04-11  John Levon  <levon@movementarian.org>
6782
6783         * text.C: make sure fullrow insets get wrapped to the next line,
6784         even when they're in a manual label
6785
6786 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * text2.C (insertParagraph): make it take ParagraphList::iterator
6789         as arg.
6790         (setLayout): make it return ParagraphList::iterator
6791         (redoParagraphs): ditto
6792         (setCounter): ditto
6793         (checkParagraph): ditto
6794
6795         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6796
6797         * text2.C: adjust several funcs.
6798         (realizeFont): take a ParagraphList::iterator as arg.
6799         (getLayoutFont): ditto
6800         (getLabelFont): ditto
6801         (setCharFont): ditto
6802
6803         * text.C: adjust several funcs.
6804
6805 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6806
6807         * text.C (selectNextWordToSpellcheck): don't accidentally
6808         skip insets
6809
6810 2003-04-10  John Levon  <levon@movementarian.org>
6811
6812         * ToolbarBackend.C (getIcon): special handling for
6813         LFUN_MATH_DELIM
6814
6815 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6816
6817         * text2.C (cursorRight): a getChar assert fixed
6818
6819 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * text2.C (getFont): change to take a ParagraphList::iterator
6822         instead of Paragraph*
6823         Adjust several functions.
6824
6825         * text.C (transformChar): change to take a ParagraphList::iterator
6826         instead of Paragraph*
6827         (singleWidth): ditto
6828         Adjust several functions.
6829
6830         * rowpainter.C: adjust several functions
6831         * rowpainter.h:store a ParagraphList::iterator and not a
6832         Paragraph&.
6833
6834
6835 2003-04-09  John Levon  <levon@movementarian.org>
6836
6837         * lyxfunc.C:
6838         * lfuns.h:
6839         * LyXAction.h:
6840         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6841         and the "help" bits as well
6842
6843 2003-04-09  John Levon  <levon@movementarian.org>
6844
6845         * ToolbarBackend.h:
6846         * ToolbarBackend.C: allow multiple toolbars
6847
6848 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * undo_funcs.C (setCursorParUndo): adjust
6851
6852         * text_funcs.C (transposeChars): adjust
6853
6854         * text3.C (gotoNextInset): adjust
6855         (dispatch): adjust
6856
6857         * text2.C (setLayout): adjust
6858         (changeDepth): adjust
6859         (setFont): adjust
6860         (redoParagraphs): adjust
6861         (selectionAsString): adjust
6862         (setParagraph): adjust
6863         (insertInset): adjust
6864         (cutSelection): adjust
6865         (copySelection): adjust
6866         (pasteSelection): adjust
6867         (insertStringAsLines): adjust
6868         (updateInset): adjust
6869         (setCursor): change to take a ParagraphList::iterator parameter
6870         (setCursorIntern): change to take a ParagraphList::iterator parameter
6871         (setCurrentFont): adjust
6872         (cursorLeft): adjust
6873         (cursorRight): adjust
6874         (deleteEmptyParagraphMechanism): adjust
6875
6876         * text.C (breakParagraph): adjust
6877         (insertChar): adjust
6878         (acceptChange): adjust
6879         (rejectChange): adjust
6880         (selectNextWordToSpellcheck): adjust
6881         (changeCase): adjust
6882         (Delete): adjust
6883         (backspace): adjust
6884
6885         * lyxfind.C (SearchForward): adjust
6886         (SearchBackward): adjust
6887         (nextChange): adjust
6888
6889         * lyxcursor.C (par): adjust
6890
6891         * lyxcursor.h: store a ParagraphList::iterator instead of a
6892         Paragraph*
6893
6894         * lyx_cb.C (getPossibleLabel): adjust
6895
6896         * bufferview_funcs.C (toggleAndShow): adjust
6897
6898         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6899         (dispatch): adjust
6900
6901         * BufferView.C (removeAutoInsets): adjust
6902         (lockedInsetStoreUndo): adjust
6903
6904 2003-04-09  John Levon  <levon@movementarian.org>
6905
6906         * ToolbarBackend.C: try icon without argument
6907         if with argument fails
6908
6909 2003-04-08  John Levon  <levon@movementarian.org>
6910
6911         * ToolbarBackend.h:
6912         * ToolbarBackend.C: add getIcon(), handle tooltip,
6913         and change from "Icon" to "Item".
6914
6915 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6916
6917         * BufferView.C (lockInset): another bad getchar crunched
6918
6919 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6922         again)
6923
6924 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6925
6926         * lyxfind.C (searchForward, searchBackwards): bug 782
6927
6928 2003-04-07  John Levon  <levon@movementarian.org>
6929
6930         * paragraph.C: remove dead comment
6931
6932         * text.C: remove troublesome depth-fiddling code
6933         in leftMargin() and rightMargin() (bug 1017)
6934
6935         * text.C: fix breaking of rows in nested lists
6936         (bug 1004)
6937
6938         * text2.C (updateCounters): fix up depth values
6939         (bug 1013)
6940
6941 2003-04-07  John Levon  <levon@movementarian.org>
6942
6943         * BufferView_pimpl.C: clear message when doc finishes resizing,
6944         and after a mouse event
6945
6946         * lyxfunc.C: clear message after exiting inset
6947
6948 2003-04-07  John Levon  <levon@movementarian.org>
6949
6950         * bufferview_funcs.C: show math status not outside
6951         status in the statusbar
6952
6953 2003-04-07  John Levon  <levon@movementarian.org>
6954
6955         * lyxfunc.C: note status changed after a depth change
6956
6957 2003-04-04  Angus Leeming  <leeming@lyx.org>
6958
6959         * LaTeX.h: move AuxInfo operator==, != out of line.
6960         Remove LaTeX virtual destructor; nothing derives from it.
6961         Move operator()() out of public area and rename it startscript().
6962         Change protected for private.
6963
6964 2003-04-04  Angus Leeming  <leeming@lyx.org>
6965
6966         * lyxfunc.C:
6967         * text2.C: remove unneeded #includes.
6968
6969 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6970
6971         * text2.C (dEPM): fix the heigth of the next row
6972
6973 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6974
6975         * text.C: squashed an invalid getChar requester + some ws changes
6976
6977 2003-04-03  John Levon  <levon@movementarian.org>
6978
6979         * bufferview_funcs.h:
6980         * bufferview_funcs.C:
6981         * lyxfunc.C:
6982         * lyxtext.h:
6983         * text2.C: make getStatus work for the env depth lfuns
6984
6985 2003-04-03  John Levon  <levon@movementarian.org>
6986
6987         * bufferview_funcs.h:
6988         * bufferview_funcs.C:
6989         * lyxfunc.C:
6990         * lyxtext.h:
6991         * text2.C: parlistize decDepth(), by merging it with incDepth()
6992
6993 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * lyxrow.h: store a ParagraphList::iterator instead of a
6996         Paragraph* and adjust other class functions to suit.
6997
6998         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6999         above.
7000
7001 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7002
7003         * text2.C (setCursor): do not anchor to cursor row for the time being
7004
7005 2003-04-02  John Levon  <levon@movementarian.org>
7006
7007         * LyXAction.C:
7008         * lfuns.h:
7009         * lyx_main.C:
7010         * lyxtext.h:
7011         * text.C:
7012         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7013
7014 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * paragraph.h: make ParagraphList and ParagraphList::iterator
7017         friends of Paragraph.
7018
7019         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7020
7021         * ParagraphList.C: Use the private next_ and previous_ from
7022         Paragraph.
7023
7024 2003-04-01  John Levon  <levon@movementarian.org>
7025
7026         * ToolbarBackend.h:
7027         * ToolbarBackend.C:
7028         * Makefile.am: rename, remove defaults gunk
7029
7030         * MenuBackend.h:
7031         * MenuBackend.C: remove defaults gunk
7032
7033         * Languages.h:
7034         * Languages.C: remove defaults gunk
7035
7036         * lyx_main.h:
7037         * lyx_main.C: error out if files couldn't be found.
7038
7039 2003-04-02  John Levon  <levon@movementarian.org>
7040
7041         * text2.C: make incDepth() use parlist
7042
7043 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * undo_funcs.C (firstUndoParagraph): adjust
7046
7047         * text3.C (gotoInset): adjust
7048         (dispatch): adjust, and rewrite loop.
7049
7050         * text2.C (init): adjust, and rewrite loop.
7051         (redoParagraphs): adjust
7052         (updateInset): adjust, and rewrite loop.
7053         (deleteEmptyParagraphMechanism): adjust
7054
7055         * tabular.C (LyXTabular): adjust
7056         (SetMultiColumn): adjust
7057         (TeXRow): adjust
7058
7059         * lyxtext.[Ch] (ownerParagraph): delete function
7060         (ownerParagraphs): new function returns a ParagraphList.
7061
7062         * BufferView.C (removeAutoInsets): adjust
7063         (insertErrors): adjust
7064         (setCursorFromRow): adjust
7065
7066 2003-04-01  Angus Leeming  <leeming@lyx.org>
7067
7068         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7069         in the frontends.
7070
7071 2003-04-02  John Levon  <levon@movementarian.org>
7072
7073         * lyxtext.h:
7074         * text.C:
7075         * Makefile.am:
7076         * text_funcs.h:
7077         * text_funcs.C: make transposeChars a free function
7078
7079         * lyxrow_funcs.C: remove wrong comment
7080
7081 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * lyxtext.h: adjust
7084         * rowpainter.C: adjust
7085         * text.C: adjust
7086         * text2.C: adjust
7087         * text3.C: adjust
7088
7089         * lyxrow_funcs. [Ch]: new files
7090
7091         * lyxrow.[Ch]: remove next and previous pointers
7092         (next,previous): remove accessor functions
7093         (isParEnd): move to lyxrow_funcs
7094         (lastPos): move to lyxrow_funcs
7095         (nextRowIsAllInset): move to lyxrow_funcs
7096         (lastPrintablePos): move to lyxrow_funcs
7097         (numberOfSeparators): move to lyxrow_funcs
7098         (numberOfHfills): move to lyxrow_funcs
7099         (numberOfLabelHfills): move to lyxrow_funcs
7100         (hfillExpansion): move to lyxrow_funcs
7101
7102         * lyxfunc.C: adjust
7103
7104         * bufferview_funcs.C (toggleAndShow): adjust
7105
7106         * RowList.h: Remove class RowList from file leave just a
7107         std::list<Row>.
7108
7109         * RowList.C: delete file
7110
7111         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7112         and lyxrow_funcs.h
7113
7114 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * text3.C (cursorPrevious): adjust
7117         (cursorNext): adjust
7118         (dispatch): adjust
7119
7120         * text2.C (redoHeightOfParagraph): adjust
7121         (redoDrawingOfParagraph): adjust
7122         (setCursor): adjust
7123
7124         * text.C (breakParagraph): adjust
7125         (insertChar): adjust
7126         (backspace): adjust
7127
7128         * rowpainter.C (RowPainter): adjust
7129         (leftMargin): simplify and adjust
7130         (most rowpainter functions): adjust.
7131
7132         * rowpainter.h: store the row as RowList::iterator not as Row*
7133
7134         * lyxcursor.C (row): taka RowList::iterator as arg
7135         (irow): ditto
7136
7137         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7138         of Row*.
7139
7140 2003-04-01  Angus Leeming  <leeming@lyx.org>
7141
7142         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7143         stuff like bool Bool.
7144
7145 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7146
7147         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7148         rewrite a loop
7149
7150 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7151
7152         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7153         RowList::iterator.
7154
7155         * lyxtext.h (rows): drop one version and leve a const variant that
7156         returns a RowList::iterator.
7157
7158 2003-03-31  Angus Leeming  <leeming@lyx.org>
7159
7160         * text.C (fill): ensure that the signature is the same as that in the
7161         header file.
7162
7163 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7164
7165         * text2.C (redoParagraphs): adjust
7166         (updateCounters): adjust
7167         (checkParagraph): adjust
7168         (getColumnNearX): adjust and reformat a bit.
7169
7170         * text.C (top_y): adjust
7171         (workWidth): adjust
7172         (leftMargin): adjust
7173         (prepareToPrint): adjust
7174         (getRow): adjust
7175         (getRowNearY): adjust
7176
7177         * lyxtext.h: make rowlist_ mutable.
7178
7179         * RowList.h: add const_iterator
7180         * RowList.C: adjust for RowList::const_iterator.
7181
7182         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7183         adjust.
7184
7185 2003-03-31  John Levon  <levon@movementarian.org>
7186
7187         * lyxrc.h:
7188         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7189
7190         * lyx_main.C: set default fonts from using lyx_gui funcs
7191
7192         * exporter.C: pdf_mode moved from lyxrc
7193
7194         * lyx_cb.C:
7195         * lyxfunc.C: changes from above
7196
7197 2003-03-31  John Levon  <levon@movementarian.org>
7198
7199         * lyx_main.C: fix to the last fix
7200
7201 2003-03-31  John Levon  <levon@movementarian.org>
7202
7203         * bufferlist.C: "Load original" -> "Load Original"
7204
7205         * converter.C:
7206         * exporter.C:
7207         * importer.C:
7208         * lyx_main.C:
7209         * format.C: more Alert cleanups
7210
7211 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * text2.C (removeParagraph): make it take a RowList::iterator as
7214         arg, adjust.
7215         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7216         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7217
7218         * text.C (anchor_row): make it take a RowList::iterator as arg,
7219         adjust.
7220         (computeBidiTables): make it take a const reference to Row instead
7221         of Row pointer, adjust.
7222         (leftMargin): make it take a RowList::iterator as arg, adjust.
7223         (rowBreakPoint): adjust
7224         (breakAgainOneRow): make it take a RowList::iterator as arg,
7225         adjust.
7226         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7227
7228         * bufferview_funcs.C (toggleAndShow): adjust
7229
7230 2003-03-30  John Levon  <levon@movementarian.org>
7231
7232         * Makefile.am:
7233         * BoostFormat.h:
7234         * boost-inst.C: moved to support
7235
7236         * several files: changes as a result
7237
7238 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7239
7240         * text2.C (LyXText): adjust.
7241         (init): adjust
7242         (removeRow): make it take a RowList::iterator as arg, adjust.
7243         (fullRebreak): adjust
7244         (deleteEmptyParagraphMechanism): adjust
7245         (clearPaint): adjust
7246         (postPaint): adjust
7247
7248         * text.C (top_y): adjust
7249         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7250         (breakAgain): make it take a RowList::iterator as arg, adjust.
7251         (breakParagraph): adjust
7252         (insertChar): adjust
7253         (backspace): adjust
7254
7255         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7256         need_break_row, and refresh_row.
7257
7258         * text3.C (dispatch): adjust
7259
7260         * text2.C (checkParagraph): adjust
7261         (setCursor): adjust
7262         (setCursorFromCoordinates): adjust
7263
7264         * text.C (top_y): adjust
7265         (workWidth): adjust
7266         (getRow): make it return a RowList::iterator, adjust
7267         (getRowNearY): make it return a RowList::iterator, adjust
7268
7269         * text2.C (init): adjust
7270         (insertRow): remove function
7271         (insertParagraph): adjust
7272         (redoParagraphs): adjust
7273         (fullRebreak): adjust
7274         (updateCounters): adjust
7275
7276         * text.C (top_y): rewrite to use RowList iterators.
7277         (top_y): adjust
7278         (setHeightOfRow): rewrite to sue RowList iterators.
7279         (appendParagraph): adjust
7280         (breakAgain): adjust
7281         (breakAgainOneRow): adjust
7282         (breakParagraph): adjust
7283         (getRow): adjust
7284         (getRowNearY): adjust, and remove commented code.
7285
7286         * lyxtext.h (firstRow): delete function
7287         (lastRow): delete function
7288         (rows): new function (const and non-const versions.)
7289         (insertRow): delete function
7290
7291         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7292
7293 2003-03-29  John Levon  <levon@movementarian.org>
7294
7295         * BufferView_pimpl.C: always update scrollbar top
7296         because pasting text when we're anchored could mean we
7297         miss an update altogether
7298
7299 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7300
7301         * text2.C (init): use rowlist_.end() and not 0.
7302         (insertRow): change to take a RowList::iterator as arg, adjust
7303         for this.
7304         (insertParagraph): change to take a RowList::iterator as arg,
7305         adjust for this.
7306         (redoParagraphs): remove some debug msgs.
7307
7308         * text.C (appendParagraph): change to take a RowList::iterator
7309         arg, adjust for this.
7310         (breakAgain): add an assert
7311         (breakAgainOneRow): ditto
7312
7313 2003-03-29  John Levon  <levon@movementarian.org>
7314
7315         * text2.C: do not clear selection after inc/decDepth
7316         (bug 550)
7317
7318 2003-03-29  John Levon  <levon@movementarian.org>
7319
7320         * BufferView.C:
7321         * buffer.C: fix broken strerrors according to Lars
7322
7323 2003-03-29  John Levon  <levon@movementarian.org>
7324
7325         * converters.C: more Alert cleanups
7326
7327 2003-03-29  John Levon  <levon@movementarian.org>
7328
7329         * bufferview_funcs.C: remove pointless Alert
7330
7331         * buffer.C: fix confusing error message when
7332         a template is chmoded 000
7333
7334 2003-03-29  John Levon  <levon@movementarian.org>
7335
7336         * BufferView.C:
7337         * BufferView.h:
7338         * BufferView_pimpl.C: Alert fixes
7339
7340         * Makefile.am:
7341         * tabular.C:
7342         * tabular-old.C: remove unused table compat reading
7343
7344 2003-03-29  John Levon  <levon@movementarian.org>
7345
7346         * BufferView.C:
7347         * buffer.C:
7348         * lyx_cb.h:
7349         * lyx_cb.C: more Alert cleanups
7350
7351         * lyxfunc.C: don't allow chktex if not latex document
7352
7353 2003-03-29  John Levon  <levon@movementarian.org>
7354
7355         * lyx_cb.C:
7356         * BufferView.C:
7357         * buffer.C: warnings pushed down from support/,
7358         kill err_alert
7359
7360 2003-03-29  John Levon  <levon@movementarian.org>
7361
7362         * lyxfunc.C: safety check for C-r (revert)
7363
7364 2003-03-29  John Levon  <levon@movementarian.org>
7365
7366         * bufferlist.h:
7367         * bufferlist.C: several UI fixes using Alert::prompt.
7368         Fix the pointless looping quit code. Fix stupid revert
7369         behaviour (bug 938)
7370
7371         * lyxvc.h:
7372         * lyxvc.C:
7373         * lyx_cb.C: use Alert::prompt
7374
7375         * lyx_main.C: remove a silly question
7376
7377         * lyxfunc.C: remove a couple of silly questions,
7378         use Alert::prompt
7379
7380 2003-03-28  John Levon  <levon@movementarian.org>
7381
7382         * text2.C: fix bug 974 (End on empty par)
7383
7384 2003-03-28  John Levon  <levon@movementarian.org>
7385
7386         * BufferView_pimpl.C:
7387         * LyXAction.C:
7388         * lfuns.h: remove do-nothing math greek lfuns
7389
7390 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7391
7392         * lyxgluelength.h (isValidGlueLength): add default arg on
7393         parameter 2. Remove default arg from friend in class.
7394
7395         * lyxlength.h (isValidLength): add default arg on parameter 2.
7396         Remove default arg from friend in class.
7397
7398         * text2.C (LyXText): adjust, initialize refresh_row.
7399         (init): adjust
7400         (removeRow): adjust
7401         (insertRow): adjust
7402         (insertParagraph): adjst
7403         (redoParagraphs): adjust
7404         (fullRebreak): adjust
7405         (updateCounters): adjust
7406         (deleteEmptyParagraphMechanism): first attempt at fixing a
7407         crashing bug.
7408
7409         * text.C (top_y): adjust
7410         (setHeightOfRow): adjust
7411         (getRow): adjust
7412         (getRowNearY): adjust
7413
7414         * lyxtext.h: include RowList.h
7415         (~LyXText): not needed anymore, deleted.
7416         (firstRow): modify for RowList
7417         (lastRow): new function
7418         Delete firstrow and lastrow class variables, add a Rowlist
7419         rowlist_ class variable.
7420
7421         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7422         paragraph is empty.
7423
7424         * RowList.C (insert): fix case where it == begin().
7425
7426 2003-03-26  Angus Leeming  <leeming@lyx.org>
7427
7428         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7429         the thesaurus dialog.
7430
7431 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7434
7435         * RowList.[Ch]: new files
7436
7437         * ParagraphList.C (erase): handle the case where it == begin
7438         correctly.
7439
7440 2003-03-25  John Levon  <levon@movementarian.org>
7441
7442         * Makefile.am:
7443         * aspell_local.h:
7444         * aspell.C: add new aspell support
7445
7446         * lyxrc.h:
7447         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7448         have it accessible.
7449
7450 2003-03-25  Angus Leeming  <leeming@lyx.org>
7451
7452         * lfuns.h:
7453         * LyXAction.C (init): new LFUN_INSET_INSERT.
7454
7455         * BufferView_pimpl.C (dispatch): split out part of the
7456         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7457
7458         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7459         LFUN_INSET_APPLY.
7460
7461 2003-03-25  Angus Leeming  <leeming@lyx.org>
7462
7463         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7464
7465 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7466
7467         * text2.C:
7468         * text3.C: remove useless row->height(0)
7469
7470 2003-03-25  John Levon  <levon@movementarian.org>
7471
7472         * lyxtext.h:
7473         * text2.C:
7474         * text3.C: rename the refreshing stuff to better names
7475
7476 2003-03-24  John Levon  <levon@movementarian.org>
7477
7478         * BufferView_pimpl.h:
7479         * BufferView_pimpl.C: update layout choice on a mouse
7480         press/release
7481
7482 2003-03-23  John Levon  <levon@movementarian.org>
7483
7484         * Makefile.am: fix commandtags.h reference
7485
7486 2003-03-22  John Levon  <levon@movementarian.org>
7487
7488         * BufferView_pimpl.C:
7489         * lyxtext.h:
7490         * rowpainter.C:
7491         * rowpainter.h:
7492         * text.C:
7493         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7494
7495 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7496
7497         * lyxtext.h:
7498         * text.C: take the rtl methods out of line
7499
7500 2003-03-21 André Pönitz <poenitz@gmx.net>
7501
7502         * metricsinfo.[Ch]: new files containing structures to be passed around
7503         during the two-phase-drawing...
7504
7505 2003-03-21 André Pönitz <poenitz@gmx.net>
7506
7507         * lyxtextclass.C: read 'environment' tag.
7508
7509 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7510
7511         * text2.C (removeRow): fix bug 964
7512
7513 2003-03-20  John Levon  <levon@movementarian.org>
7514
7515         * rowpainter.C:
7516         * text.C:
7517         * text2.C: paint cleanups. Inset::update() dropped font
7518         parameter
7519
7520 2003-03-19  John Levon  <levon@movementarian.org>
7521
7522         * lyxfunc.C: only fitcursor/markDirty if available()
7523
7524 2003-03-19  John Levon  <levon@movementarian.org>
7525
7526         * commandtags.h: rename to ...
7527
7528         * lfuns.h: ... this, and renumber / cleanup
7529
7530 2003-03-19  John Levon  <levon@movementarian.org>
7531
7532         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7533         fit the cursor after an lfun
7534
7535         * BufferView.h:
7536         * BufferView.C:
7537         * BufferView_pimpl.h:
7538         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7539
7540         * LyXAction.C: layout-character should have ReadOnly
7541
7542         * ParagraphParameters.C:
7543         * buffer.C:
7544         * bufferview_funcs.C:
7545         * lyx_cb.C:
7546         * lyxfind.C:
7547         * lyxtext.h:
7548         * text.C:
7549         * text2.C:
7550         * text3.C:
7551         * undo_funcs.C: changes from above
7552
7553 2003-03-18  John Levon  <levon@movementarian.org>
7554
7555         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7556         remove it from update()
7557
7558         * lyxfunc.C: update layout choice after an lfun
7559
7560         * text3.C: remove extra updateLayoutChoice()s
7561
7562 2003-03-18  John Levon  <levon@movementarian.org>
7563
7564         * text.C: top_y change means full repaint, fix
7565         a drawing bug with cursor movement
7566
7567 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7568
7569         * lyxtext.h:
7570         * text.C:
7571         * text2.C: anchor row on setCursor
7572
7573 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7574
7575         * lyxtext.h: remove almost all mutable keywords
7576         * text.C:
7577         * text2.C:
7578         * text3.C: remove const keywords accordingly
7579
7580 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7583         anon namespace
7584         (TeXEnvironment): ditto
7585         (TeXOnePar): ditto
7586
7587 2003-03-17  John Levon  <levon@movementarian.org>
7588
7589         * text.C (rowBreakPoint): remove attempt to fix displayed
7590         math insets inside a manual label
7591
7592 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7593
7594         * lyxtext.h: remove BufferView* as first arg from almost all class
7595         functions.
7596         * other files: adjust.
7597
7598 2003-03-17  John Levon  <levon@movementarian.org>
7599
7600         * lyxtext.h:
7601         * undo_funcs.C:
7602         * text2.C: more paint cleanups
7603
7604         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7605
7606         * rowpainter.h:
7607         * rowpainter.C: remove "smart" background painting code
7608
7609 2003-03-16  John Levon  <levon@movementarian.org>
7610
7611         * lyxtext.h:
7612         * text.C:
7613         * text2.C:
7614         * text3.C: add helper functions for setting refresh_row/y
7615
7616 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7617
7618         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7619         newline inset which *can* get inserted in the pass_thru layouts.
7620         This is primarily for literate documents.
7621
7622 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7623
7624         * buffer.C: increment LYX_FORMAT to 223
7625
7626 2003-03-14 André Pönitz <poenitz@gmx.net>
7627
7628         * textclass.h: prepare for environment handling, ws changes
7629         * lyxlayout.C: read latexheader and latexfooter tags
7630
7631 2003-03-14  John Levon  <levon@movementarian.org>
7632
7633         * text2.C: rewrite ::status() a bit
7634
7635 2003-03-13  John Levon  <levon@movementarian.org>
7636
7637         * lyxtext.h: add some docs
7638
7639 2003-03-13  John Levon  <levon@movementarian.org>
7640
7641         * lyxtext.h:
7642         * text.C:
7643         * text2.C:
7644         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7645
7646 2003-03-13  John Levon  <levon@movementarian.org>
7647
7648         * text3.C: fix appendix redrawing
7649
7650 2003-03-13  John Levon  <levon@movementarian.org>
7651
7652         * text.C (setHeightOfRow):
7653         * rowpainter.h:
7654         * rowpainter.C: make appendix mark have the text
7655           "Appendix" so the user knows what it is
7656
7657         * LColor.h:
7658         * LColor.C: s/appendixline/appendix/ from above
7659
7660 2003-03-13  John Levon  <levon@movementarian.org>
7661
7662         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7663
7664         * text.C: fix a getChar(pos) bug properly
7665
7666 2003-03-13  Angus Leeming  <leeming@lyx.org>
7667
7668         * commandtags.h:
7669         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7670         Probably only temporary. Let's see how things pan out.
7671
7672         * BufferView.C (unlockInset):
7673         * BufferView_pimpl.C (fitCursor):
7674         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7675
7676         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7677         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7678
7679         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7680         new functions that convert ParagraphParameters to and from a string.
7681
7682         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7683         BufferView::Pimpl's dispatch.
7684         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7685
7686 2003-03-13 André Pönitz <poenitz@gmx.net>
7687
7688         * lyxfunc.C:
7689         * text3.C:
7690         * factory.C: make it aware of InsetEnv
7691
7692 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * text2.C (setCursor): never ask for one past last
7695         (setCursor): add some debugging messages.
7696
7697         * text.C (singleWidth): never ask for one past last
7698         (singleWidth): ditto
7699         (leftMargin): ditto
7700         (rightMargin): ditto
7701         (rowBreakPoint): ditto
7702         (setHeightOfRow): ditto
7703         (prepareToPrint): ditto
7704
7705         * rowpainter.C (paintBackground): never ask for one past last
7706         (paintText): never ask for one past last
7707
7708         * paragraph_pimpl.C (getChar): make the assert stricter, never
7709         allow the one past last pos to be taken
7710
7711         * paragraph.C (getChar): ws changes only
7712
7713         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7714         (numberOfSeparators): ditto
7715         (numberOfHfills): ditto
7716
7717 2003-03-12  John Levon  <levon@movementarian.org>
7718
7719         * author.h:
7720         * author.C:
7721         * bufferparams.h:
7722         * bufferparams.C:
7723         * paragraph_funcs.C: fix per-buffer authorlists
7724
7725 2003-03-12  John Levon  <levon@movementarian.org>
7726
7727         * text.C: fix newline in right address
7728
7729 2003-03-12  Angus Leeming  <leeming@lyx.org>
7730
7731         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7732         duplicate those in LyXFunc::dispatch.
7733
7734         * commandtags.h:
7735         * LyXAction.C:
7736         * ToolbarDefaults.C:
7737         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7738         Add LFUN_FONTFREE_UPDATE.
7739
7740         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7741         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7742
7743         * bufferview_func.[Ch]: several new functions to facilliate
7744         transfer of data to and from the character dialog.
7745
7746 2003-03-12  John Levon  <levon@movementarian.org>
7747
7748         * buffer.C:
7749         * paragraph.h:
7750         * paragraph.C:
7751         * paragraph_funcs.C:
7752         * paragraph_pimpl.C:
7753         * sgml.C:
7754         * tabular.C:
7755         * text.C:
7756         * text3.C: remove META_NEWLINE in favour of an inset
7757
7758         * rowpainter.h:
7759         * rowpainter.C: remove paintNewline (done by inset)
7760
7761 2003-03-12  John Levon  <levon@movementarian.org>
7762
7763         * paragraph_pimpl.C: complain about bad getChar()s
7764         for a while at least
7765
7766 2003-03-12  John Levon  <levon@movementarian.org>
7767
7768         * buffer.h:
7769         * buffer.C: move paragraph read into a separate function,
7770         a little renaming to reflect that.
7771
7772         * bufferparams.h:
7773         * bufferparams.C: remove the author_ids map, not necessary now
7774
7775         * factory.h:
7776         * factory.C: moved Buffer::readInset to here
7777
7778         * paragraph_funcs.h:
7779         * paragraph_funcs.C: readParagraph free function moved from
7780         buffer.C
7781
7782         * tabular.C: name change
7783
7784 2003-03-12  John Levon  <levon@movementarian.org>
7785
7786         * buffer.C:
7787         * ParagraphParameters.C: move par params input to
7788         a read() method
7789
7790         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7791         behave like a normal read from the stream wrt reading
7792         a line vs. a \\token
7793
7794 2003-03-12  John Levon  <levon@movementarian.org>
7795
7796         * paragraph.C:
7797         * ParagraphParameters.h:
7798         * ParagraphParameters.C: move output code to a
7799         ::write() method
7800
7801 2003-03-12  John Levon  <levon@movementarian.org>
7802
7803         * BufferView.C (insertLyXFile):
7804         * buffer.h:
7805         * buffer.C:
7806         * tabular.C: use a parlist iterator for creating the
7807           document.
7808
7809 2003-03-12  John Levon  <levon@movementarian.org>
7810
7811         * buffer.C: make current_change static local not
7812           static file-scope
7813
7814 2003-03-12  John Levon  <levon@movementarian.org>
7815
7816         * buffer.C: fix insertStringAsLines for change tracking
7817
7818 2003-03-12  John Levon  <levon@movementarian.org>
7819
7820         * BufferView.C:
7821         * tabular.C:
7822         * buffer.h:
7823         * buffer.C:
7824         * bufferparams.h:
7825         * bufferparams.C: move author list into params. Rename some
7826           functions. Move the header reading into a separate token
7827           loop. Move the header token reading into BufferParams.
7828
7829 2003-03-12  John Levon  <levon@movementarian.org>
7830
7831         * changes.C: put debug inside lyxerr.debugging() checks
7832
7833 2003-03-11 André Pönitz <poenitz@gmx.net>
7834
7835         * factory.C: make it aware of InsetHFill
7836
7837 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7838
7839         * buffer.C (latexParagraphs): move function from here...
7840         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7841         args.
7842
7843 2003-03-10  Angus Leeming  <leeming@lyx.org>
7844
7845         * LyXAction.C (init): fix bug in poplating array with multiple entries
7846         with the same LFUN (spotted by JMarc).
7847
7848 2003-03-10  John Levon  <levon@movementarian.org>
7849
7850         * text.C:
7851         * text2.C: move getColumnNearX() near its
7852         only call site
7853
7854 2003-03-10  John Levon  <levon@movementarian.org>
7855
7856         * text.C: fix break before a minipage
7857
7858 2003-03-10  John Levon  <levon@movementarian.org>
7859
7860         * text.C: fix the last commit
7861
7862 2003-03-09  John Levon  <levon@movementarian.org>
7863
7864         * lyxtext.h:
7865         * text.C:
7866         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7867         bug 365 (don't break before insets unless needed). Don't
7868         return a value > last under any circumstances.
7869
7870 2003-03-09  Angus Leeming  <leeming@lyx.org>
7871
7872         * BufferView_pimpl.C (trackChanges, dispatch): call
7873         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7874
7875 2003-03-09  Angus Leeming  <leeming@lyx.org>
7876
7877         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7878         than Dialogs::showAboutlyx().
7879
7880 2003-03-09  Angus Leeming  <leeming@lyx.org>
7881
7882         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7883         than Dialogs::showTabularCreate().
7884
7885 2003-03-09  John Levon  <levon@movementarian.org>
7886
7887         * lyxtext.h:
7888         * text.C:
7889         * text2.C: 3rd arg to nextBreakPoint was always the same.
7890           Use references.
7891
7892 2003-03-08  John Levon  <levon@movementarian.org>
7893
7894         * lyxrow.C:
7895         * paragraph.C:
7896         * paragraph.h:
7897         * rowpainter.C:
7898         * text.C:
7899         * text2.C: Remove the "main" bit from the "main body"
7900           notion.
7901
7902 2003-03-08  John Levon  <levon@movementarian.org>
7903
7904         * text.C (leftMargin): The left margin of an empty
7905         manual label paragraph should not include the label width
7906         string length.
7907
7908         * text.C (prepareToPrint): don't attempt to measure hfills
7909         for empty manual label paragraphs - the answer should be 0
7910
7911 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * CutAndPaste.C: remove commented code and reindent.
7914
7915 2003-03-08  John Levon  <levon@movementarian.org>
7916
7917         * lyxfunc.h:
7918         * lyxfunc.C: move reloadBuffer()
7919
7920         * BufferView.h:
7921         * BufferView.C: to here
7922
7923         * lyxvc.C: add comment
7924
7925         * vc-backend.h:
7926         * vc-backend.C: call bv->reload() to avoid
7927           getStatus() check on MENURELOAD
7928
7929 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7930
7931         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7932         to an old format .dep file.
7933
7934 2003-03-07  Angus Leeming  <leeming@lyx.org>
7935
7936         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7937         when the LFUN_MOUSE_RELEASE should have been handled by
7938         inset->localDispatch.
7939
7940 2003-03-07  Angus Leeming  <leeming@lyx.org>
7941
7942         * BufferView_pimpl.C (dispatch):
7943         * LyXAction.C (init):
7944         * ToolbarDefaults.C (init):
7945         * commandtags.h:
7946         * lyxfunc.C (getStatus):
7947         remove LFUN_INSET_GRAPHICS.
7948
7949         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7950
7951 2003-03-07  Angus Leeming  <leeming@lyx.org>
7952
7953         * commandtags.h:
7954         * LyXAction.C (init):
7955         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7956
7957         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7958
7959         * commandtags.h:
7960         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7961
7962         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7963         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7964
7965 2003-03-07  Angus Leeming  <leeming@lyx.org>
7966
7967         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7968         remove "ert".
7969
7970 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * ParagraphList.C (front): new function
7973         (back): implement
7974
7975 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7976
7977         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7978         and top_row_offset_. removed var first_y.
7979         * text.C (top_y):
7980         * text2.C (LyXText, removeRow):
7981         * text3.C:
7982         * BufferView_pimpl.C:
7983         use these methods instead of using first_y
7984
7985 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7986
7987         * text2.C (pasteSelection): adjust for checkPastePossible
7988
7989         * CutAndPaste.C: remove Paragraph * buf and replace with
7990         ParagraphList paragraphs.
7991         (DeleteBuffer): delete
7992         (cutSelection): change the tc type to textclass_type
7993         (copySelection): change the tc type to textclass_type
7994         (copySelection): adjust for ParagraphList
7995         (pasteSelection): change the tc type to textclass_type
7996         (pasteSelection): adjust for Paragraphlist
7997         (nrOfParagraphs): simplify for ParagraphList
7998         (checkPastePossible): simplify for ParagraphList
7999         (checkPastePossible): remove unused arg
8000
8001         * ParagraphList.C (insert): handle the case where there are no
8002         paragraphs yet.
8003
8004         * CutAndPaste.h: make CutAndPaste a namespace.
8005
8006         * text3.C (dispatch): adjust
8007
8008         * text.C (breakParagraph): add a ParagraphList as arg
8009
8010         * paragraph_funcs.C (breakParagraph): change to take a
8011         BufferParams and a ParagraphList as args.
8012         (breakParagraphConservative): ditto
8013         (mergeParagraph): ditto
8014         (TeXDeeper): add a ParagraphList arg
8015         (TeXEnvironment): ditto
8016         (TeXOnePar): ditto
8017
8018         * buffer.C (readLyXformat2): adjust
8019         (insertStringAsLines): adjust
8020         (latexParagraphs): adjust
8021
8022         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8023         (cutSelection): adjust
8024         (pasteSelection): adjust
8025
8026         * BufferView_pimpl.C (insertInset): adjust
8027
8028 2003-03-05  Angus Leeming  <leeming@lyx.org>
8029
8030         * commandtags.h:
8031         * LyXAction.C (init):
8032         * BufferView_pimpl.C (dispatch):
8033         * lyxfunc.C (getStatus):
8034         remove LFUN_CHILD_INSERT.
8035
8036         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8037
8038 2003-03-05  Angus Leeming  <leeming@lyx.org>
8039
8040         * commandtags.h:
8041         * LyXAction.C (init):
8042         * src/factory.C (createInset):
8043         * lyxfunc.C (getStatus):
8044         * text3.C (dispatch):
8045         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8046
8047         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8048
8049 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * ParagraphList.C (insert): handle insert right before end()
8052         (erase): fix cases where it can be first or last paragraph.
8053
8054 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8057         Paragraph::next and Paragraph::previous
8058         (TeXOnePar): ditto
8059
8060         * text.C (breakParagraph): adjust
8061
8062         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8063         BufferParams& as arg.
8064         (breakParagraph): use ParagraphList::insert
8065         (breakParagraphConservative): take a Buffer* instead of a
8066         BufferParams& as arg.
8067         (breakParagraphConservative): use ParagraphList::insert.
8068
8069         * buffer.C (insertStringAsLines): un-const it
8070         (insertStringAsLines): adjust
8071
8072         * ParagraphList.C (insert): new function
8073
8074         * CutAndPaste.C (pasteSelection): adjust
8075
8076         * text.C (backspace): adjust
8077
8078         * tabular.C (SetMultiColumn): adjust
8079
8080         * CutAndPaste.C (cutSelection): adjust
8081         (pasteSelection): adjust
8082
8083         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8084         Buffer const * as arg
8085
8086         * ParagraphList.C (erase): new function
8087         * paragraph_funcs.C (mergeParagraph): use it
8088         (mergeParagraph): make it take a Buffer* instead of a
8089         BufferParams* as arg
8090
8091         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8092         as arg
8093         (breakParagraphConservative): ditto
8094
8095         * paragraph.h: remove the breakParagraph friend
8096
8097         * paragraph.C (eraseIntern): new function
8098         (setChange): new function
8099
8100         * paragraph_funcs.C (mergeParagraph): make it take a
8101         ParagraphList::iterator instead of a Paragraph *, adjust
8102         accordingly.
8103
8104         * paragraph.h: move an #endif so that the change tracking stuff
8105         also works in the NO_NEXT case.
8106
8107 2003-03-04  Angus Leeming  <leeming@lyx.org>
8108
8109         * commandtags.h:
8110         * LyXAction.C: new LFUN_INSET_MODIFY.
8111
8112         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8113         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8114
8115 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8116
8117         * several files: ws changes only
8118
8119         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8120         (TeXEnvironment): ditto
8121         (TeXDeeper): ditto
8122
8123         * buffer.C (makeLaTeXFile): adjust
8124         (latexParagraphs): make it take ParagraphList::iterator as args
8125
8126 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8127
8128         * buffer.C (latexParagraphs): adjust
8129
8130         * paragraph.C (TeXOnePar): move function...
8131         (optArgInset): move function...
8132         (TeXEnvironment): move function...
8133         * paragraph_pimpl.C (TeXDeeper): move function...
8134         * paragraph_funcs.C: ...here
8135
8136         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8137
8138 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * buffer.C (readInset): remove compability code for old Figure and
8141         InsetInfo insets
8142
8143 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8144
8145         * buffer.C: ws changes
8146         (readInset):
8147
8148         * BufferView_pimpl.C: ditto
8149         * author.C: ditto
8150         * buffer.h: ditto
8151         * bufferlist.h: ditto
8152         * changes.h: ditto
8153         * lyxfunc.C: ditto
8154
8155 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8156
8157         * converter.[Ch]: split into itself +
8158         * graph.[Ch]
8159         * format.[Ch]
8160         * Makefile.am: += graph.[Ch] + format.[Ch]
8161         * MenuBackend.C
8162         * buffer.C
8163         * exporter.C
8164         * importer.C
8165         * lyx_main.C
8166         * lyxfunc.C
8167         * lyxrc.C: added #include "format.h"
8168
8169 2003-02-27  Angus Leeming  <leeming@lyx.org>
8170
8171         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8172           a label.
8173
8174         * factory.C (createInset): add "label" to the factory.
8175
8176         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8177           string and do no more.
8178
8179 2003-02-27  Angus Leeming  <leeming@lyx.org>
8180
8181         * commandtags.h:
8182         * LyXAction.C (init):
8183         * factory.C (createInset):
8184         * BufferView_pimpl.C (dispatch):
8185           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8186
8187         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8188
8189         * lyxfunc.C (dispatch):
8190         * text3.C (dispatch): pass name to params2string.
8191
8192 2003-02-26  Angus Leeming  <leeming@lyx.org>
8193
8194         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8195           blocks together.
8196           Rearrange the ~includes. Strip out the unnecessary ones.
8197
8198         * factory.C (createInset): reformat.
8199           create new insets for the various LFUN_XYZ_APPLY lfuns.
8200
8201 2003-02-26  John Levon  <levon@movementarian.org>
8202
8203         * lyxrow.h:
8204         * lyxrow.C: add isParStart,isParEnd helpers
8205
8206         * paragraph.h: make isInserted/DeletedText take refs
8207
8208         * paragraph_funcs.h:
8209         * paragraph_funcs.C: remove #if 0'd code
8210
8211         * lyxtext.h:
8212         * text3.C:
8213         * text2.C:
8214         * text.C: use lyxrow helpers above.
8215           Move draw and paint routines to RowPainter.
8216           Make several methods use refs not pointers.
8217           Make backgroundColor() const.
8218           Add markChangeInDraw(), isInInset().
8219           Merge changeRegionCase into changeCase.
8220           Make workWidth() shouldn't-happen code into an Assert.
8221
8222         * rowpainter.h:
8223         * rowpainter.C: new class for painting a row.
8224
8225         * vspace.h:
8226         * vspace.C: make inPixels take a ref
8227
8228 2003-02-26  Angus Leeming  <leeming@lyx.org>
8229
8230         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8231         LFUN_REF_APPLY.
8232
8233 2003-02-25  John Levon  <levon@movementarian.org>
8234
8235         * ispell.C: give the forked command a more accurate name
8236
8237 2003-02-22  John Levon  <levon@movementarian.org>
8238
8239         * toc.h:
8240         * toc.C: make TocItem store an id not a Paragraph *
8241           (bug #913)
8242
8243 2003-02-21  Angus Leeming  <leeming@lyx.org>
8244
8245         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8246           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8247           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8248           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8249           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8250           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8251
8252         * BufferView_pimpl.C (dispatch):
8253         * LyXAction.C (init):
8254         * factory.C (createInset):
8255         * lyxfunc.C (getStatus, dispatch):
8256         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8257
8258 2003-02-21  Angus Leeming  <leeming@lyx.org>
8259
8260         * BufferView_pimpl.C (MenuInsertLyXFile):
8261         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8262         * lyxfunc.C (menuNew, open, doImport):
8263           no longer pass a LyXView & to fileDlg.
8264
8265 2003-02-21  Angus Leeming  <leeming@lyx.org>
8266
8267         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8268         * LyXAction.C: change, BIBKEY to BIBITEM.
8269         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8270         Change InsetBibKey to InsetBibitem.
8271         Change BIBKEY_CODE to BIBITEM_CODE.
8272         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8273         * factory.C: replace insetbib.h with insetbibitem.h.
8274         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8275         * paragraph.C: replace insetbib.h with insetbibitem.h.
8276         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8277         Change bibkey() to bibitem().
8278         * text.C: remove insetbib.h.
8279         * text2.C: replace insetbib.h with insetbibitem.h.
8280         change bibkey() to bibitem().
8281         * text3.C: remove insetbib.h.
8282         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8283
8284 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8285
8286         * lyxrc.C (output): enclose user email in quotes (in case there are
8287         several words)
8288
8289 2003-02-18  John Levon  <levon@movementarian.org>
8290
8291         * buffer.h: add std::
8292
8293 2003-02-17  John Levon  <levon@movementarian.org>
8294
8295         * SpellBase.h:
8296         * ispell.h:
8297         * ispell.C:
8298         * pspell.h:
8299         * pspell.C: reworking. Especially in ispell, a large
8300           number of clean ups and bug fixes.
8301
8302         * lyxfunc.C: fix revert to behave sensibly
8303
8304 2003-02-17 André Pönitz <poenitz@gmx.net>
8305
8306         * LyXAction.C:
8307         * commandtags.h: new LFUN_INSERT_BIBKEY
8308
8309         * layout.h:
8310         * lyxlayout.C:
8311         * buffer.C:
8312         * factory.C:
8313         * text.C:
8314         * text2.C:
8315         * text3.C:
8316         * paragraph.[Ch]:
8317         * paragraph_func.C: remove special bibkey handling
8318
8319 2003-02-17  John Levon  <levon@movementarian.org>
8320
8321         * text.C (Delete): fix case where delete at the end of
8322           the very first paragraph would not merge the pars
8323
8324 2003-02-17  John Levon  <levon@movementarian.org>
8325
8326         * lyxrow.C: fix lastPrintablePos()
8327
8328 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8329
8330         * bufferparams.C (writeLaTeX): add a std:here
8331
8332         * buffer.C: and remove a using directive there
8333
8334 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8335
8336         * buffer.C (makeLaTeXFile): move the code that generates the
8337           preamble...
8338
8339         * bufferparams.C (writeLaTeX): ... in this new method
8340
8341         * LaTeXFeatures.C (getEncodingSet): make const
8342           (getLanguages): make const
8343
8344         * MenuBackend.C (binding): returns the binding associated to this
8345           action
8346           (add): sets the status of each item by calling getStatus. Adds
8347           some intelligence.
8348           (read): add support for OptSubMenu
8349           (expand): remove extra separator at the end of expanded menu
8350
8351 2003-02-15  John Levon  <levon@movementarian.org>
8352
8353         * BufferView.C:
8354         * BufferView_pimpl.C:
8355         * bufferlist.h:
8356         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8357           inset code that had no actual effect. Remove unneeded status
8358           code.
8359
8360 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8361
8362         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8363           in preamble
8364
8365 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8366
8367         * text.C (drawLengthMarker): also draw an arrow marker for
8368           symbolic lengths (medskip...)
8369
8370 2003-02-14  John Levon  <levon@movementarian.org>
8371
8372         * tabular.h:
8373         * tabular.C: better method names
8374
8375 2003-02-14  John Levon  <levon@movementarian.org>
8376
8377         * BufferView_pimpl.C:
8378         * bufferlist.C:
8379         * buffer.C:
8380         * converter.C:
8381         * lyx_cb.C:
8382         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8383           it's a more accurate name. Remove some pointless uses.
8384
8385 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8386
8387         * text2.C (LyXText): change order of initilizers to shut off
8388           warnings
8389
8390 2003-02-14  John Levon  <levon@movementarian.org>
8391
8392         * buffer.C: use ParIterator for getParFromID()
8393
8394         * paragraph.h:
8395         * paragraph.C:
8396         * paragraph_pimpl.h:
8397         * paragraph_pimpl.C: remove unused getParFromID()
8398
8399 2003-02-14  John Levon  <levon@movementarian.org>
8400
8401         * buffer.C: remove some very old #if 0'd parse code
8402
8403 2003-02-13  John Levon  <levon@movementarian.org>
8404
8405         * text.h:
8406         * text.C:
8407         * text2.C: move hfillExpansion(), numberOfSeparators(),
8408           rowLast(), rowLastPrintable(), numberofHfills(),
8409           numberOfLabelHfills() ...
8410
8411         * lyxrow.h:
8412         * lyxrow.C: ... to member functions here.
8413
8414         * paragraph.h:
8415         * paragraph.C:
8416         * lyxtext.h:
8417         * text.C: remove LyXText::beginningOfMainBody(), and call
8418           p->beginningOfMainBody() directly. Move the check for
8419           LABEL_MANUAL into the latter.
8420
8421         * text.h:
8422         * text.C:
8423         * text2.C:
8424         * vspace.C:
8425         * BufferView.h:
8426         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8427
8428         * text.h:
8429         * text.C:
8430         * text2.C:
8431         * text3.C:
8432         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8433           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8434
8435 2003-02-13  John Levon  <levon@movementarian.org>
8436
8437         * CutAndPaste.C: remove debug
8438
8439 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8440
8441         * paragraph.C (asString): remove two unused variables
8442
8443         * lyxtextclass.C (readTitleType):
8444           (Read):
8445           (LyXTextClass): handle new members titletype_ and titlename_
8446
8447         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8448
8449 2003-02-09  John Levon  <levon@movementarian.org>
8450
8451         * buffer.h:
8452         * buffer.C: replace hand-coded list with a map for the dep clean
8453
8454 2003-02-08  John Levon  <levon@movementarian.org>
8455
8456         * LaTeX.C: consolidate code into showRunMessage() helper
8457
8458 2003-02-08  John Levon  <levon@movementarian.org>
8459
8460         * lyxfind.C:
8461         * lyxtext.h:
8462         * text2.C:
8463         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8464           and pass the size in explicitly
8465
8466         * BufferView_pimpl.h:
8467         * BufferView_pimpl.C:
8468         * BufferView.h:
8469         * BufferView.C: add getCurrentChange()
8470
8471         * BufferView_pimpl.h:
8472         * BufferView_pimpl.C: handle change lfuns
8473
8474         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8475           for changes. Mark pasted paragraphs as new.
8476
8477         * support/lyxtime.h:
8478         * support/lyxtime.C:
8479         * DepTable.C: abstract time_t as lyx::time_type
8480
8481         * LColor.h:
8482         * LColor.C: add colours for new text, deleted text, changebars
8483
8484         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8485           package use "usenames" option.
8486
8487         * commandtags.h:
8488         * lyxfunc.C:
8489         * LyXAction.C: add change lfuns
8490
8491         * Makefile.am:
8492         * author.h:
8493         * author.C: author handling
8494
8495         * buffer.h:
8496         * buffer.C: add a per-buffer author list, with first entry as
8497           current author. Handle new .lyx tokens for change tracking. Output
8498           author list to .lyx file. Output dvipost stuff to .tex preamble.
8499           Bump lyx format to 222.
8500
8501         * bufferlist.h:
8502         * bufferlist.C: add setCurrentAuthor() to reset current author details
8503           in all buffers.
8504
8505         * bufferparams.h:
8506         * bufferparams.C: add param for tracking
8507
8508         * bufferview_funcs.C: output change info in minibuffer
8509
8510         * Makefile.am:
8511         * changes.h:
8512         * changes.C: add change-tracking structure
8513
8514         * debug.h:
8515         * debug.C: add CHANGES debug flag
8516
8517         * lyxfind.h:
8518         * lyxfind.C: add code for finding the next change piece
8519
8520         * lyxrc.h:
8521         * lyxrc.C: add user_name and user_email
8522
8523         * lyxrow.h:
8524         * lyxrow.C: add a metric for the top of the text line
8525
8526         * lyxtext.h:
8527         * text.C: implement accept/rejectChange()
8528
8529         * lyxtext.h:
8530         * text.C: paint changebars. Paint new/deleted text in the chosen
8531         colours. Strike through deleted text.
8532
8533         * paragraph.h:
8534         * paragraph.C:
8535         * paragraph_pimpl.h:
8536         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8537           in the current change to the insert functions. Rework erase to
8538           mark text as deleted, adding an eraseIntern() and a range-based
8539           erase(). Implement per-paragraph change lookup and
8540           accept/reject.
8541
8542         * paragraph_funcs.C: Fixup paste for change tracking.
8543
8544         * tabular.C: mark added row/columns as new.
8545
8546         * text.C: fix rowLast() to never return -1. Don't allow
8547           spellchecking of deleted text. Track transpose changes. Don't
8548           allow paragraph break or merge where appropriate.
8549
8550         * text2.C: leave cursor at end of selection after a cut.
8551
8552 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8553
8554         * text.C (getLengthMarkerHeight):
8555         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8556         visible on screen too.
8557
8558 2003-02-07  John Levon  <levon@movementarian.org>
8559
8560         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8561
8562 2003-02-05  Angus Leeming  <leeming@lyx.org>
8563
8564         * lyxserver.C (read_ready): revert my patch of 11 September last year
8565         as it sends PC cpu through the roof. Presumably this means that
8566         the lyxserver will no longer run on an Alpha...
8567
8568 2003-01-30  Angus Leeming  <leeming@lyx.org>
8569
8570         * factory.C (createInset): create an InsetCommandParam of type "index"
8571         and use it to 'do the right thing'.
8572
8573         * text2.C (getStringToIndex): ensure that cursor position is always
8574         reset to the reset_cursor position.
8575
8576 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8577
8578         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8579         disabled.
8580
8581 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8582
8583         * bufferview.C:
8584         * lyxcb.C:
8585         * lyxfunc.C: Output messages with identical spelling, punctuation,
8586         and spaces
8587
8588 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8589
8590         * MenuBackend.C (expandFormats): List only viewable export formats
8591         in "View" menu
8592
8593         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8594         message
8595
8596         * lyxfunc.C (getStatus): Make sure that formats other than
8597         "fax" can also be disabled
8598
8599 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8600
8601         * text3.C (dispatch): put the lfuns that insert insets in 3
8602         groups, and call doInsertInset with appropriate arguments.
8603         (doInsertInset): new function, that creates an inset and inserts
8604         it according to some boolean parameters.
8605
8606 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * buffer.C (readFile): remember to pass on 'par' when calling
8609         readFile recursively.
8610
8611 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8612
8613         * MenuBackend.C (expandFormats): add "..." to import formats.
8614
8615 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8616
8617         * paragraph.C (asString): Remove XForms RTL hacks.
8618
8619 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8620         * buffer.C: fix typo
8621
8622 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * Makefile.am (LIBS): delete var
8625         (lyx_LDADD): add @LIBS@ here instead.
8626
8627 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8628
8629         * Clarify the meaning of "wheel mouse jump"
8630
8631 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8632
8633         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8634         tabular in a float
8635
8636 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8637
8638         * importer.C (Loaders): do not preallocate 3 elements in the
8639         vector, since one ends up with 6 elements otherwise
8640
8641 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8642
8643         * DepTable.C (write): write the file name as last element of the
8644         .dep file (because it may contain spaces)
8645         (read): read info in the right order
8646
8647 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8648
8649         * paragraph_pimpl.C (simpleTeXBlanks):
8650         (simpleTeXSpecialChars):
8651         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8652
8653         * tabular.C (latex): add some missing case statements. Reindent.
8654
8655         * MenuBackend.C (expandToc): remove unused variable.
8656
8657 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8658
8659         * LColor.C:
8660         * LaTeX.C:
8661         * LyXAction.C:
8662         * MenuBackend.C:
8663         * buffer.C:
8664         * exporter.C:
8665         * lyxfunc.C:
8666         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8667         and the like.
8668
8669 2003-01-05  John Levon  <levon@movementarian.org>
8670
8671         * BufferView.h:
8672         * BufferView.C: add getEncoding()
8673
8674         * kbsequence.h:
8675         * kbsequence.C: do not store last keypress
8676
8677         * lyxfunc.h:
8678         * lyxfunc.C: store last keypress here instead. Pass encoding
8679           to getISOEncoded()
8680
8681 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8682
8683         * lyx_main.C (init): remove annoying error message when following
8684         symbolic links (bug #780)
8685
8686 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8687
8688         * text.C (insertChar):
8689         * lyxrc.C (getDescription): remove extra spaces
8690
8691 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8692
8693         * lyxrc.C (getDescription): remove extra spaces
8694
8695 2002-12-20  John Levon  <levon@movementarian.org>
8696
8697         * text3.C: hack fix for page up/down across tall rows
8698
8699 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8700
8701         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8702         not been invoked
8703
8704 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8705
8706         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8707         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8708         thesaurus is not compiled in
8709
8710 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8711
8712         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8713
8714 2002-12-16  Angus Leeming  <leeming@lyx.org>
8715
8716         * lyxrc.[Ch]:
8717         * lyx_main.C (init): remove override_x_deadkeys stuff.
8718
8719 2002-12-12  John Levon  <levon@movementarian.org>
8720
8721         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8722           insert. Only remove shift modifier under strict
8723           circumstances.
8724
8725 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8726
8727         * MenuBackend.C (expandToc): fix crash.
8728
8729 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8730
8731         * MenuBackend.C (expandToc): gettext on float names.
8732
8733 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8734
8735         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8736         implement bool empty() [bug 490]
8737
8738 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8739
8740         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8741
8742 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8743
8744         * several files: ws changes
8745
8746 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8747
8748         * text2.C (setCounter): clean up a bit, use boost.format.
8749         (updateCounters): initialize par upon declaration.
8750
8751         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8752         if the layout exists. We do not just store the layout any more.
8753         (SwitchLayoutsBetweenClasses): use boost.format
8754
8755 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8756
8757         * converter.C (convert): if from and to files are the same, use a
8758         temporary files as intermediary
8759
8760 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8761
8762         * commandtags.h:
8763         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8764
8765 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8766
8767         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8768
8769 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8770
8771         * tabular.C (asciiPrintCell): use string(size, char) instead of
8772         explicit loop.
8773
8774         * sgml.C (openTag): fix order of arguments to string constructor
8775         (closeTag): ditto
8776
8777         * lyxfunc.C (dispatch): use boost.format
8778
8779         * lots of files: change "c" -> 'c'
8780
8781 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8782
8783         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8784
8785 2002-11-25  Angus Leeming  <leeming@lyx.org>
8786
8787         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8788
8789         * lyx_main.C (init): compile fix.
8790
8791 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8792
8793         * lyx_cb.C (start): boost.formatify
8794         do not include <iostream>
8795
8796         * lengthcommon.C: ws only
8797
8798         * boost-inst.C,BoostFormat.h: add more explict instantations
8799
8800 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8801
8802         * lots of files: handle USE_BOOST_FORMAT
8803
8804 2002-11-21  John Levon  <levon@movementarian.org>
8805
8806         * pspell.C: fix compile
8807
8808 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8809
8810         * lyxfunc.C (dispatch): use boost::format
8811         (open): ditto
8812         (doImport): ditto
8813
8814         * lyxfont.C (stateText): use boost::format
8815
8816         * lyx_main.C (LyX): use boost::format
8817         (init): ditto
8818         (queryUserLyXDir): ditto
8819         (readRcFile): ditto
8820         (parse_dbg): ditto
8821         (typedef boost::function): use the recommened syntax.
8822
8823         * importer.C (Import): use boost::format
8824
8825         * debug.C (showLevel): use boost::format
8826
8827         * converter.C (view): use boost::format
8828         (convert): ditto
8829         (move): ditto
8830         (scanLog): ditto
8831
8832         * bufferview_funcs.C (currentState): use boost::format
8833
8834         * bufferlist.C (emergencyWrite): use boost::format
8835
8836         * buffer.C (readLyXformat2): use boost::format
8837         (parseSingleLyXformat2Token): ditto
8838
8839         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8840
8841         * LaTeX.C (run): use boost::format
8842
8843         * Chktex.C (scanLogFile): use boost::format
8844
8845         * BufferView_pimpl.C (savePosition): use boost::format
8846         (restorePosition): ditto
8847         (MenuInsertLyXFile): ditto
8848
8849         * BoostFormat.h: help file for explicit instation.
8850
8851 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8852
8853         * tabular.C (latex): Support for block alignment in fixed width
8854         columns.
8855
8856 2002-11-17  John Levon  <levon@movementarian.org>
8857
8858         * BufferView_pimpl.C:
8859         * lyx_cb.C:
8860         * lyxfunc.C: split filedialog into open/save
8861
8862 2002-11-08  Juergen Vigna  <jug@sad.it>
8863
8864         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8865         by my last patch (hopefully).
8866
8867 2002-11-08  John Levon  <levon@movementarian.org>
8868
8869         * iterators.h:
8870         * iterators.C:
8871         * buffer.h:
8872         * buffer.C:
8873         * paragraph.h:
8874         * paragraph.C:
8875         * toc.h:
8876         * toc.C: ParConstIterator, and use it (from Lars)
8877
8878 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8879
8880         * lyxtextclass.[Ch]: revise and add doxygen comments
8881
8882 2002-11-07  John Levon  <levon@movementarian.org>
8883
8884         * text.C: fix progress value for spellchecker
8885
8886         * toc.C: fix navigate menu for insetwrap inside minipage
8887
8888         * paragraph_funcs.C: added FIXME for suspect code
8889
8890 2002-11-07  John Levon  <levon@movementarian.org>
8891
8892         * BufferView_pimpl.C: fix redrawing of insets
8893           on buffer switch
8894
8895 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8896
8897         * text2.C (updateCounters): fix bug 668
8898
8899 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8900
8901         * text3.C (dispatch): Do not make the buffer dirty when moving the
8902         cursor.
8903
8904 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8905
8906         * vc-backend.C: STRCONV
8907         (scanMaster): ditto
8908
8909         * text2.C (setCounter): STRCONV
8910
8911         * paragraph.C (asString): STRCONV
8912
8913         * lyxlength.C (asString): STRCONV
8914         (asLatexString): ditto
8915
8916         * lyxgluelength.C (asString): STRCONV
8917         (asLatexString): ditto
8918
8919         * lyxfunc.C (dispatch): STRCONV
8920         (open): ditto
8921
8922         * lyxfont.C (stateText): STRCONV
8923
8924         * importer.C (Import): STRCONV
8925
8926         * counters.C (labelItem): STRCONV
8927         (numberLabel): ditto
8928         (numberLabel): remove unused ostringstream o
8929
8930         * chset.C: STRCONV
8931         (loadFile): ditto
8932
8933         * bufferview_funcs.C (currentState): STRCONV
8934
8935         * buffer.C (readFile): STRCONV
8936         (asciiParagraph): ditto
8937         (makeLaTeXFile): ditto
8938
8939         * Spacing.C (writeEnvirBegin): STRCONV
8940
8941         * LaTeXFeatures.C (getLanguages): STRCONV
8942         (getPackages): ditto
8943         (getMacros): ditto
8944         (getBabelOptions): ditto
8945         (getTClassPreamble): ditto
8946         (getLyXSGMLEntities): ditto
8947         (getIncludedFiles): ditto
8948
8949         * LaTeX.C: STRCONV
8950         (run): ditto
8951         (scanAuxFile): ditto
8952         (deplog): ditto
8953
8954         * LString.h: add the STRCONV macros
8955
8956         * BufferView_pimpl.C (savePosition): STRCONV
8957         (restorePosition): ditto
8958         (MenuInsertLyXFile): ditto
8959
8960         * vc-backend.C (scanMaster): change from submatch[...] to
8961         submatch.str(...)
8962
8963         * funcrequest.C: include config.h
8964
8965         * factory.C: include config.h
8966
8967         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8968
8969         * box.C: include config.h
8970
8971         * LaTeX.C (scanAuxFile): change from submatch[...] to
8972         submatch.str(...)
8973         (deplog): ditto
8974
8975 2002-10-25  Angus Leeming  <leeming@lyx.org>
8976
8977         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8978
8979         * ispell.[Ch] (setError): new method.
8980         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8981         Use setError() insetead of goto END.
8982
8983         * lyx_cb.C (AutoSave): move out child process into new class
8984         AutoSaveBuffer.
8985
8986 2002-10-30  John Levon  <levon@movementarian.org>
8987
8988         * text3.C: make start appendix undoable
8989
8990 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8991
8992         * lyxlength.C (inPixels): Fix returned value.
8993
8994         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8995         environment.
8996
8997 2002-10-24  Angus Leeming  <leeming@lyx.org>
8998
8999         * lyxgluelength.h: no need to forward declare BufferParams
9000         or BufferView, so don't.
9001
9002 2002-10-21  John Levon  <levon@movementarian.org>
9003
9004         * BufferView.C: menuUndo ->undo, redo
9005
9006         * BufferView.h: document, remove dead, make some methods private
9007
9008         * paragraph_funcs.h:
9009         * paragraph_funcs.C:
9010         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9011
9012         * buffer.h:
9013         * buffer.C:
9014         * sgml.h:
9015         * sgml.C: move sgml open/close tag into sgml.C
9016
9017         * bufferview_funcs.h: unused prototype
9018
9019         * lyxfunc.h:
9020         * lyxfunc.C: remove unused
9021
9022         * lyxtext.h:
9023         * text.C: remove unused
9024
9025 2002-10-21  John Levon  <levon@movementarian.org>
9026
9027         * BufferView.h:
9028         * BufferView.C:
9029         * BufferView_pimpl.h:
9030         * BufferView_pimpl.C: fix mouse wheel handling based on
9031           patch from Darren Freeman
9032
9033 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9034
9035         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9036
9037 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9038
9039         * lyxlength.C (inPixels): Fix hanfling of negative length.
9040         Fix LyXLength::MU case.
9041
9042 2002-10-16  John Levon  <levon@movementarian.org>
9043
9044         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9045
9046 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9047
9048         * converter.C (view): add support for $$i (file name) and $$p
9049         (file path) for the viewer command. If $$i is not specified, then
9050         it is appended to the command (for compatibility with old syntax)
9051
9052 2002-10-14  Juergen Vigna  <jug@sad.it>
9053
9054         * undo_funcs.C (textHandleUndo): alter the order in which the
9055         new undopar is added to the LyXText, as we have to set first
9056         the right prev/next and then add it as otherwise the rebuild of
9057         LyXText is not correct. Also reset the cursor to the right paragraph,
9058         with this IMO we could remove the hack in "redoParagraphs()".
9059
9060 2002-10-09  Angus Leeming  <leeming@lyx.org>
9061
9062         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9063         to turn off an optimisation if a new inset is to be inserted.
9064
9065 2002-10-11 André Pönitz <poenitz@gmx.net>
9066
9067         * lyxtext.h: make some functions public to allow access
9068         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9069
9070 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9071
9072         * text3.C (dispatch): when changing layout, avoid an infinite loop
9073         [bug #652]
9074
9075 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9076
9077         * lyxrc.C (read): treat a viewer or converter command of "none" as
9078         if it were empty.
9079
9080         * MenuBackend.C (expandFormats): for an update, also allow the
9081         formats that are not viewable
9082
9083         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9084         script if it is newer than the lyxrc.defaults in user directory
9085
9086 2002-10-07 André Pönitz <poenitz@gmx.net>
9087
9088         * text.C: Vitaly Lipatov's small i18n fix
9089
9090 2002-09-25  Angus Leeming  <leeming@lyx.org>
9091
9092         * ispell.h: doxygen fix.
9093
9094 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9095
9096         * buffer.h (readFile): Add a new argument to the method, to allow
9097         reading of old-format templates.
9098
9099 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9100
9101         * toc.C (getTocList): Get TOC from InsetWrap.
9102
9103 2002-09-16  John Levon  <levon@movementarian.org>
9104
9105         * lyxfunc.C: check tabular for cut/copy too
9106
9107 2002-09-12  John Levon  <levon@movementarian.org>
9108
9109         * LyXAction.C: tidy
9110
9111         * factory.h:
9112         * factory.C: add header
9113
9114         * paragraph_funcs.h:
9115         * paragraph_funcs.C: cleanup
9116
9117 2002-09-11  John Levon  <levon@movementarian.org>
9118
9119         * PrinterParams.h: odd/even default to true
9120
9121 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9122
9123         * PrinterParams.h: update printer parameters for new xforms dialog
9124
9125 2002-09-11  Angus Leeming  <leeming@lyx.org>
9126
9127         * lyxserver.C (read_ready): re-write to make it more transparent
9128         and to make it work in coherent fashion under Tru64 Unix.
9129
9130 2002-09-11  André Pönitz <poenitz@gmx.net>
9131
9132         * commandtags.h:
9133         * LyXAction.C:
9134         * text3.C: implement LFUN_WORDSEL
9135
9136 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9137
9138         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9139         make floatlist_ a boost::shared_ptr<FloatList>
9140
9141         * lyxtextclass.C: include FloatList.h
9142         (LyXTextClass): initialize floatlist_
9143         (TextClassTags): add TC_NOFLOAT
9144         (Read): match "nofloat" to TC_NOFLOAT and use it.
9145         (readFloat): modify call to floatlist_
9146         (floats): ditto
9147         (floats): ditto
9148
9149         * FloatList.[Ch] (FloatList): remove commented out float
9150         initialization.
9151         (erase): new function
9152
9153 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9154
9155         * MenuBackend.C (expandToc): fix crash when there is no document
9156         open
9157
9158 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9159
9160         * many files: Add insetwrap.
9161
9162 2002-09-09  John Levon  <levon@movementarian.org>
9163
9164         * text2.C: remove confusing and awkward depth wraparound
9165
9166 2002-09-09  John Levon  <levon@movementarian.org>
9167
9168         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9169
9170         * buffer.h:
9171         * buffer.C: remove getIncludeonlyList()
9172
9173         * paragraph.C:
9174         * lyxfunc.C: remove headers
9175
9176 2002-09-09  Juergen Vigna  <jug@sad.it>
9177
9178         * text.C (getColumnNearX): fix form Michael this is most
9179         probably a cut&paste bug.
9180
9181 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9182
9183         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9184
9185         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9186         references, ws changes.
9187
9188         * text2.C (init): update counters after init
9189         (insertParagraph): no need to set counter on idividual paragraphs.
9190         (setCounter): access the counters object in the textclass object
9191         on in the buffer object.
9192         (updateCounters): ditto
9193
9194         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9195         shared_ptr<Counters> to avoid loading counters.h in all
9196         compilation units.
9197         (LyXTextClass): initialize ctrs_
9198         (TextClassTags): add TC_COUNTER, and ...
9199         (Read): use it here.
9200         (CounterTags): new tags
9201         (readCounter): new function
9202         (counters): new funtion
9203         (defaultLayoutName): return a const reference
9204
9205         * counters.C (Counters): remove contructor
9206         (newCounter): remove a couple of unneeded statements.
9207         (newCounter): simplify a bit.
9208         (numberLabel): some small formatting changes.
9209
9210         * buffer.[Ch]: remove all traces of counters, move the Counters
9211         object to the LyXTextClass.
9212
9213 2002-09-06  Alain Castera  <castera@in2p3.fr>
9214
9215         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9216         package to set the horizontal alignment on fixed width columns.
9217
9218         * lyx_sty.C:
9219         * lyx_sty.h: added tabularnewline macro def.
9220
9221         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9222
9223 2002-09-06  John Levon  <levon@movementarian.org>
9224
9225         * LyXAction.C: tooltips for sub/superscript
9226
9227         * MenuBackend.C: a bit more verbose
9228
9229         * lyxfunc.C: tiny clean
9230
9231         * undo_funcs.C: document undo_frozen
9232
9233 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9234
9235         * counters.C (Counters): add missing algorithm counter.
9236
9237         * text2.C (setCounter): lookup the counter with layouts latexname
9238         instead of by section number.
9239         (setCounter): use a hackish way to lookup the correct enum
9240         counter.
9241         a float name->type change
9242         reset enum couners with counter name directly instead of depth value.
9243
9244         * counters.C (Counters): remove the push_backs, change to use the
9245         float type not the float name.
9246         (labelItem): remove unused string, float name->type change
9247
9248         * counters.h: don't include vector, loose the enums and sects vectors
9249
9250 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9253         (Read): add float->TC_FLOAT to textclassTags
9254         (Read): and handle it in the switch
9255         (readFloat): new function
9256
9257         * FloatList.C (FloatList): comment out the hardcoded float
9258         definitions.
9259
9260         * lyxlayout.h: ws change.
9261
9262 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9263
9264         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9265
9266 2002-09-03  Angus Leeming  <leeming@lyx.org>
9267
9268         * BufferView_pimpl.h: qualified name is not allowed in member
9269         declaration: WorkArea & Pimpl::workarea() const;
9270
9271         * factory.C: added using std::endl directive.
9272
9273         * text3.C: added using std::find and std::vector directives.
9274
9275 2002-08-29  André Pönitz <poenitz@gmx.net>
9276
9277         * lyxtext.h:
9278         * text2.C: remove unused member number_of_rows
9279
9280         * Makefile.am:
9281         * BufferView2.C: remove file, move contents to...
9282         * BufferView.C: ... here
9283
9284         * BufferView_pimpl.C:
9285         * factory.C: move more inset creation to factory
9286
9287         * vspace.C: avoid direct usage of LyXText, ws changes
9288
9289         * BufferView.[Ch]:
9290                 don't provide direct access to WorkArea, use two simple
9291                 acessors haveSelction() and workHeight() instead
9292
9293
9294 2002-08-29  John Levon  <levon@movementarian.org>
9295
9296         * BufferView_pimpl.C (dispatch): do not continue when
9297           no buffer
9298
9299 2002-08-28  André Pönitz <poenitz@gmx.net>
9300
9301         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9302
9303         * BufferView.h:
9304         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9305
9306 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9307
9308         * buffer.C: increment LYX_FORMAT to 221
9309
9310         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9311         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9312
9313         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9314
9315         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9316
9317 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9318
9319         * factory.C (createInset): use LyXTextClass::floats
9320
9321         * MenuBackend.C (expandFloatListInsert):
9322         (expandFloatInsert):
9323         (expandToc):
9324
9325         * text2.C (setCounter):
9326
9327         * LaTeXFeatures.C (useFloat):
9328         (getFloatDefinitions):
9329
9330         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9331
9332         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9333         floatlist_, with accessor floats().
9334
9335         * FloatList.h: remove global FloatList
9336
9337 2002-08-26  André Pönitz <poenitz@gmx.net>
9338
9339         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9340
9341         * BufferView.h:
9342         * BufferView2.C:
9343         * BufferView_pimpl.C:
9344         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9345
9346 2002-08-25  John Levon  <levon@movementarian.org>
9347
9348         * LyXAction.C: fix margin note description
9349
9350 2002-08-24  John Levon  <levon@movementarian.org>
9351
9352         * buffer.C:
9353         * bufferlist.C:
9354         * bufferview_funcs.C:
9355         * lyxfont.C:
9356         * undo_funcs.C: cleanups
9357
9358         * lyxfunc.C: disable CUT/COPY when no selection
9359
9360 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9361
9362         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9363         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9364
9365         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9366         Add backward compatibility to "mono", "gray" and "no".
9367
9368 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9369
9370         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9371         (and file_format >= 200).
9372
9373 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9374
9375         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9376
9377 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9378
9379         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9380
9381 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9382
9383         * BufferView_pimpl.C:
9384         * LyXAction.C:
9385         * buffer.C:
9386         * commandtags.h:
9387         * lyxfunc.C:
9388         * paragraph.[Ch]:
9389         * text2.C:
9390         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9391         inset and code to make it  work with the paragraph code. The inset
9392         can be anywhere in the paragraph, but will only do the expected
9393         thing in LaTeX if the layout file contains the parameter line
9394                         OptionalArgs    1
9395         (or more generally, a nonzero value) for that layout.
9396
9397 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9398
9399         * paragraph.h: remove the declaration of undefined counters class
9400         function.
9401
9402 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9403
9404         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9405         Dr. Richard Hawkins.
9406
9407 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9408
9409         * paragraph_funcs.h: remove some unneeded includes
9410
9411         * text.C (backspace): pasteParagraph now in global scipe
9412
9413         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9414         (pasteSelection): ditto
9415
9416         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9417         * paragraph_funcs.C (pasteParagraph): ... here
9418
9419 2002-08-20  André Pönitz <poenitz@gmx.net>
9420
9421         * commandtags.h: new LFUNs for swapping/copying table row/colums
9422
9423         * LyXAction.C:
9424         * lyxfunc.C: support for new lfuns
9425
9426 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9427
9428         * tabular.C:
9429         * buffer.[Ch]: remove NO_COMPABILITY stuff
9430
9431 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9432
9433         * boost.C (throw_exception): new file, with helper function for
9434         boost compiled without exceptions.
9435
9436         * paragraph.h:
9437         * lyxlength.C:
9438         * buffer.C:
9439         * ParameterStruct.h:
9440         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9441
9442         * bufferlist.C (emergencyWriteAll): use boost bind
9443
9444         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9445
9446         * text.C: include paragraph_funcs.h
9447         (breakParagraph): breakParagraph is now in global scope
9448
9449         * paragraph_funcs.[Ch]: new files
9450
9451         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9452         global scope
9453
9454         * buffer.C: include paragraph_funcs.h
9455         (insertStringAsLines): breakParagraph is now in global scope
9456
9457         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9458         paragraph_funcs.C
9459
9460         * CutAndPaste.C: include paragraph_funcs.h
9461         (cutSelection): breakParagraphConservative is now in global scope
9462         (pasteSelection): ditto
9463
9464         * buffer.h: declare oprator== and operator!= for
9465         Buffer::inset_iterator
9466
9467         * bufferlist.C (emergencyWrite): don't use fmt(...)
9468
9469         * text3.C: add using std::endl
9470
9471         * BufferView.C (moveCursorUpdate): remove default arg
9472
9473 2002-08-20  André Pönitz <poenitz@gmx.net>
9474
9475         * buffer.[Ch]: move inline functions to .C
9476
9477         * BufferView2.C:
9478         * BufferView_pimpl.C:
9479         * text.C:
9480         * buffer.[Ch]: use improved inset_iterator
9481
9482         * buffer.C:
9483         * paragraph.[Ch]: write one paragraph at a time
9484
9485 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9486
9487         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9488         style if style is not specified.
9489
9490 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9491
9492         * text2.C (setCounter): when searching for right label for a
9493         caption, make sure to recurse to parent insets (so that a caption
9494         in a minipage in a figure float works) (bug #568)
9495
9496 2002-08-20  André Pönitz <poenitz@gmx.net>
9497
9498         * text3.C: new file for LyXText::dispatch() and helpers
9499
9500         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9501
9502         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9503
9504 2002-08-19  André Pönitz <poenitz@gmx.net>
9505
9506         * lyxtext.h:
9507         * text.C: new LyXText::dispatch()
9508
9509         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9510
9511 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9512
9513         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9514
9515         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9516         Hebrew text.
9517
9518 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9519
9520         * Makefile.am: use $(variables) instead of @substitutions@
9521
9522 2002-08-15  André Pönitz <poenitz@gmx.net>
9523
9524         * lyxfunc.C:
9525         * BufferView_pimpl.C: streamlining mathed <-> outer world
9526         interaction
9527
9528         * commandtags.h:
9529         * LyXAction.C: remove unused LFUN_MATH
9530
9531 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9532
9533         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9534
9535 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9536
9537         * paragraph.C (Paragraph): reformat a bit
9538         (cutIntoMinibuffer): use builtin InsetList function instad of
9539         doing it manually.
9540         (getInset): ditto
9541
9542         * buffer.C: include boost/bind.hpp, add using std::for_each
9543         (writeFileAscii): use ParagraphList iterators
9544         (validate): use for_each for validate traversal of paragraphs
9545         (getBibkeyList): use ParagraphList iterators
9546         (resizeInsets): use for_each to resizeInsetsLyXText for all
9547         paragraphs.
9548         (getParFromID): use ParagraphList iterators
9549
9550         * BufferView2.C (lockInset): use paragraph list and iterators
9551
9552 2002-08-14  John Levon  <levon@movementarian.org>
9553
9554         * lyxserver.C: remove spurious xforms include
9555
9556 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9557
9558         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9559
9560 2002-08-13  André Pönitz <poenitz@gmx.net>
9561
9562         * LyXAction.[Ch]:
9563         * lyxfunc.C: further cleaning
9564
9565 2002-08-13  André Pönitz <poenitz@gmx.net>
9566
9567         * funcrequest.h: new constructor
9568
9569         * funcrequest.C: move stuff here from .h
9570
9571         * Makefile.am:
9572         * BufferView_pimpl.C:
9573         * LyXAction.C:
9574         * toc.C:
9575         * lyxfunc.C: subsequent changes
9576
9577         * lyxfunc.h: new view() member function
9578
9579         * lyxfunc.C: subsequent changes
9580
9581 2002-08-13  Angus Leeming  <leeming@lyx.org>
9582
9583         * BufferView2.C:
9584         * BufferView_pimpl.C:
9585         * buffer.C:
9586         * converter.C:
9587         * importer.C:
9588         * lyxfunc.C:
9589         * lyxvc.C:
9590         * toc.C:
9591         * vc-backend.C:
9592         changes due to the changed LyXView interface that now returns references
9593         to member variables not pointers.
9594
9595 2002-08-13  Angus Leeming  <leeming@lyx.org>
9596
9597         * WordLangTuple (word, lang_code): return references to strings,
9598         not strings.
9599
9600         * BufferView.h:
9601         * SpellBase.h:
9602         * lyxtext.h: forward-declare WordLangTuple.
9603
9604         * BufferView2.C:
9605         * ispell.C:
9606         * pspell.C:
9607         * text.C: #include "WordLangTuple.h".
9608
9609         * lyxtext.h:
9610         * text.C: (selectNextWordToSpellcheck): constify return type.
9611
9612 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9613
9614         * buffer.C:
9615         * buffer.h:
9616         * lyxtext.h:
9617         * paragraph.C:
9618         * paragraph_pimpl.h:
9619         * text.C:
9620         * text2.C:
9621         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9622         suggested by Angus.
9623         Made updateCounter always count from start of buffer, and removed
9624         second argument (par).
9625         Reverted floats number display to '#'. Perhaps I'll try again when the
9626         code base is sanitized a bit.
9627
9628 2002-08-12  Angus Leeming  <leeming@lyx.org>
9629
9630         * buffer.[Ch] (getLabelList): constify.
9631
9632 2002-08-07  André Pönitz <poenitz@gmx.net>
9633
9634         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9635
9636         * funcrequest.h: extension to keep mouse (x,y) position
9637
9638 2002-08-12  Juergen Vigna  <jug@sad.it>
9639
9640         * BufferView2.C (insertErrors): forbid undo when inserting error
9641         insets.
9642
9643         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9644
9645 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9646
9647         * ParagraphList.[Ch]: new files
9648
9649         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9650
9651         * BufferView2.C (lockInset): ParagraphList changes
9652         * toc.C: ditto
9653         * text2.C: ditto
9654         * bufferlist.C: ditto
9655         * buffer.h: ditto
9656         * buffer.C: ditto
9657
9658 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9659
9660         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9661         unused class variable counter_,
9662
9663         * paragraph.[Ch] (getFirstCounter): delete unused function
9664
9665         * counters.C: include LAssert.h
9666         (reset): add a new function with no arg, change other version to
9667         not have def. arg and to not allow empty arg.
9668
9669         * text2.C (setCounter): remove empty arg from call to Counters::reset
9670
9671 2002-08-11  John Levon  <levon@movementarian.org>
9672
9673         * Makefile.am: add WordLangTuple.h
9674
9675 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9676
9677         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9678         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9679
9680         * insets/insettext.C: InsetList changes
9681
9682         * graphics/GraphicsSupport.C (operator()): InsetList changes
9683
9684         * toc.C (getTocList): InsetList changes
9685
9686         * paragraph_pimpl.[Ch]: InsetList changes
9687
9688         * paragraph.[Ch]: InsetList changes
9689
9690         * buffer.C (inset_iterator): InsetList changes
9691         (setParagraph): ditto
9692         * buffer.h (inset_iterator): ditto
9693         * iterators.C (operator++): ditto
9694         * iterators.h: ditto
9695
9696         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9697
9698         * InsetList.[Ch]: new files, most InsetList handling moved out of
9699         paragraph.C.
9700
9701         * BufferView2.C (removeAutoInsets): InsetList changes
9702         (lockInset): ditto
9703         (ChangeInsets): ditto
9704
9705 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9706
9707         * paragraph_pimpl.h (empty): new function
9708
9709         * paragraph.[Ch] (empty): new function
9710
9711         * other files: use the new Paragraph::empty function
9712
9713 2002-08-09  John Levon  <levon@movementarian.org>
9714
9715         * lyxtext.h: remove unused refresh_height
9716
9717 2002-08-09  John Levon  <levon@movementarian.org>
9718
9719         * Makefile.am:
9720         * sgml.h:
9721         * sgml.C:
9722         * buffer.C:
9723         * paragraph.h:
9724         * paragraph.C: move sgml char escaping out of paragraph
9725
9726         * paragraph.h:
9727         * paragraph.C: remove id setter
9728
9729         * buffer.C:
9730         * paragraph.C:
9731         * paragraph_pimpl.C: remove dead tex_code_break_column
9732
9733         * bufferview_funcs.C: small cleanup
9734
9735         * lyxfunc.C: remove dead proto
9736
9737         * lyxtext.h: make some stuff private. Remove some dead stuff.
9738
9739         * lyxgluelength.C: make as[LyX]String() readable
9740
9741 2002-08-08  John Levon  <levon@movementarian.org>
9742
9743         * LyXAction.h:
9744         * LyXAction.C:
9745         * MenuBackend.C:
9746         * ToolbarDefaults.C:
9747         * lyxfunc.C:
9748         * lyxrc.C:
9749         * toc.C: lyxaction cleanup
9750
9751 2002-08-08  John Levon  <levon@movementarian.org>
9752
9753         * BufferView2.C: small cleanup
9754
9755         * lyxfind.h:
9756         * lyxfind.C: move unnecessary header into the .C
9757
9758 2002-08-08  John Levon  <levon@movementarian.org>
9759
9760         * funcrequest.h: just tedious nonsense
9761
9762         * lyx_main.h:
9763         * lyx_main.C: cleanups
9764
9765         * buffer.C:
9766         * vspace.C: remove dead header lyx_main.h
9767
9768 2002-08-07  Angus Leeming  <leeming@lyx.org>
9769
9770         * Paragraph.[Ch]:
9771         * paragraph_pimpl.h:
9772         Forward declare class Counters in paragraph.h by moving the ctrs member
9773         variable into Paragraph::Pimpl.
9774         (counters): new method, returning a reference to pimpl_->ctrs.
9775
9776         * text2.C: ensuing changes.
9777
9778 2002-08-07  John Levon  <levon@movementarian.org>
9779
9780         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9781
9782         * BufferView_pimpl.C: announce X selection on double/triple
9783           click
9784
9785         * lyx_main.C: use correct bool in batch dispatch
9786
9787         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9788
9789 2002-08-07  André Pönitz <poenitz@gmx.net>
9790
9791         * funcrequest.h: new class to wrap a kb_action and its argument
9792
9793         * BufferView.[Ch]:
9794         * BufferView_pimpl[Ch]:
9795         * LaTeX.C:
9796         * LyXAction.[Ch]:
9797         * lyxfunc.[Ch]:
9798         * lyxrc.C: subsequent changes
9799
9800
9801 2002-08-07  John Levon  <levon@movementarian.org>
9802
9803         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9804           document options change.
9805
9806 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9807
9808         * counters.[Ch]
9809         * text2.C
9810         * paragraph.[Ch]
9811         * makefile.am: move counters functionality over from
9812         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9813
9814 2002-08-06  John Levon  <levon@movementarian.org>
9815
9816         * WordLangTuple.h: new file for word + language code tuple
9817
9818         * SpellBase.h:
9819         * pspell.h:
9820         * pspell.C:
9821         * ispell.h:
9822         * ispell.C:
9823         * lyxtext.h:
9824         * text.C:
9825         * text2.C:
9826         * BufferView.h:
9827         * BufferView2.C: use WordLangTuple
9828
9829         * layout.h:
9830         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9831
9832 2002-08-06  John Levon  <levon@movementarian.org>
9833
9834         * lyx_main.C: fix cmdline batch handling
9835
9836 2002-08-06  André Pönitz <poenitz@gmx.net>
9837
9838         * lyxrc.C: set default for show_banner to true
9839
9840 2002-08-06  John Levon  <levon@movementarian.org>
9841
9842         * pspell.C: fix a crash, and allow new aspell to work
9843
9844 2002-08-06  John Levon  <levon@movementarian.org>
9845
9846         * lyxfunc.C:
9847         * kbmap.C: small cleanup
9848
9849         * vspace.h:
9850         * vspace.C: add const
9851
9852 2002-08-05  John Levon  <levon@movementarian.org>
9853
9854         * LyXAction.C: back to tabular-insert
9855
9856 2002-08-04  John Levon  <levon@movementarian.org>
9857
9858         * BufferView.h:
9859         * BufferView.C: cosmetic change
9860
9861         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9862
9863         * bufferlist.C:
9864         * buffer.h:
9865         * buffer.C:
9866         * lyxcb.h:
9867         * lyxcb.C:
9868         * lyxserver.C:
9869         * lyxvc.C:
9870         * vc-backend.C:
9871         * BufferView2.C: purge all "Lyx" not "LyX" strings
9872
9873         * lyxcursor.h:
9874         * lyxcursor.C: attempt to add some documentation
9875
9876         * lyxfunc.C:
9877         * commandtags.h:
9878         * LyXAction.C:
9879         * ToolbarDefaults.C:
9880         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9881           merge with LFUN_TABULAR_INSERT
9882
9883         * Makefile.am:
9884         * SpellBase.h:
9885         * ispell.h:
9886         * ispell.C:
9887         * pspell.h:
9888         * pspell.C: split up i/pspell implementations into separate
9889           files, many cleanups
9890
9891         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9892
9893         * text2.C: some cleanup
9894
9895         * lyxfunc.C: don't check for isp_command == "none" any more, it
9896           didn't make any sense
9897
9898 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9899
9900         * counters.[Ch]
9901         * text2.C
9902         * paragraph.[Ch]
9903         * makefile.am: move counters functionality over
9904         from text2.C/paragraph.[Ch] to counters.[Ch], and
9905         make proper C++.
9906 2002-08-02  John Levon  <levon@movementarian.org>
9907
9908         * buffer.C: s/lyxconvert/lyx2lyx/
9909
9910 2002-08-02  Angus Leeming  <leeming@lyx.org>
9911
9912         * lyxlex.C: revert John's change as it breaks reading of the user
9913         preamble.
9914
9915 2002-08-02  Angus Leeming  <leeming@lyx.org>
9916
9917         * importer.C (Import):
9918         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9919         changes due to LyXView::view() now returning a boost::shared_ptr.
9920
9921 2002-08-02  John Levon  <levon@movementarian.org>
9922
9923         * lyxlex.C: small cleanup
9924
9925 2002-08-02  John Levon  <levon@movementarian.org>
9926
9927         * text2.C (status): small cleanup, no logic change
9928
9929 2002-08-01  John Levon  <levon@movementarian.org>
9930
9931         * buffer.h:
9932         * buffer.C (writeFile): don't output alerts, caller
9933           handles this
9934
9935         * bufferlist.C:
9936         * lyx_cb.C: from above
9937
9938         * lyxfunc.C: allow to open non-existent files
9939
9940 2002-07-31  John Levon  <levon@movementarian.org>
9941
9942         * lyxserver.C: don't let incidental errors get
9943           in the way (errno)
9944
9945 2002-07-30  John Levon  <levon@movementarian.org>
9946
9947         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9948
9949 2002-07-30  John Levon  <levon@movementarian.org>
9950
9951         * lyxserver.h:
9952         * lyxserver.C: remove I/O callback too
9953
9954 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9957         log.
9958
9959 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9960
9961         * many files: strip,frontStrip -> trim,ltrim,rtrim
9962
9963 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9964
9965         * PrinterParams.h: remove extern containsOnly, and include
9966         support/lstrings.h instead.
9967
9968         * LaTeX.C (scanAuxFile): modify because of strip changes
9969         (deplog): ditto
9970         * buffer.C (makeLaTeXFile): ditto
9971         * bufferparams.C (writeFile): ditt
9972         * lyxfont.C (stateText): ditto
9973         * lyxserver.C (read_ready): ditto
9974         * vc-backend.C (scanMaster): ditto
9975
9976         * BufferView_pimpl.h: ws changes
9977
9978         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9979
9980 2002-07-26  André Pönitz <poenitz@gmx.net>
9981
9982         * kb_sequence.C: remove unnedred usings
9983
9984 2002-07-26  Juergen Vigna  <jug@sad.it>
9985
9986         * lyxfind.C (LyXReplace): we have to check better if the returned
9987         text is not of theLockingInset()->getLockingInset().
9988
9989 2002-07-25  Juergen Vigna  <jug@sad.it>
9990
9991         * lyxfind.C (LyXReplace): don't replace if we don't get the
9992         right LyXText.
9993
9994         * undo_funcs.C (createUndo): remove debugging code.
9995
9996 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9997
9998         * buffer.C (parseSingleLyXformat2Token): Use default placement
9999         when reading old floats.
10000
10001         * FloatList.C (FloatList): Change the default placement of figure
10002         and tables to "tbp".
10003
10004 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10005
10006         * MenuBackend.C: using std::max
10007
10008 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10009
10010         * MenuBackend.C (expandToc):
10011         (expandToc2): code moved from xforms menu frontend. It is now
10012         generic and TOCs are transparent to menu frontends.
10013
10014 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * toc.C (getTocList): protect against buf=0
10017
10018         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10019         Menu as first parameter. Now, this calls itself recursively to
10020         expand a whole tree (this will be useful for TOC handling)
10021         (expandFloatInsert): remove 'wide' version of floats
10022
10023         * MenuBackend.h (submenuname): returns the name of the submenu.
10024         (submenu): returns the submenu itself, provided it has been
10025         created by MenuBackend::expand
10026
10027 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10028
10029         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10030         insets which have noFontChange == true. (bug #172)
10031
10032 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10033
10034         * BufferView_pimpl.C: add connection objects and use them...
10035         (Pimpl): here.
10036
10037 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10038
10039         * MenuBackend.C (expandLastfiles):
10040         (expandDocuments):
10041         (expandFormats):
10042         (expandFloatListInsert):
10043         (expandFloatInsert):
10044         (expand): split expand in parts
10045
10046 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10047
10048         * lyx_gui.C: use lyx_gui::exit()
10049
10050 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10051
10052         * LyXAction.C: show the failing pseudo action
10053
10054 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10055
10056         * buffer.C (readFile): Run the lyxconvert script in order to read
10057         old files.
10058
10059 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * LyXAction.C:
10062         * commandtags.h:
10063         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10064
10065 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10066
10067         * LyXAction.C:
10068         * commandtags.h:
10069         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10070
10071 2002-07-22  Herbert Voss  <voss@lyx.org>
10072
10073         * lengthcommon.C:
10074         * lyxlength.[Ch]: add support for the vertical lengths
10075
10076 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10077
10078         * toc.[Ch]: std:: fixes
10079
10080 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10081
10082         * lyxrc.C: do not include lyx_main.h
10083
10084         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10085         for layouts
10086
10087         * lyxrc.C:
10088         * encoding.C:
10089         * bufferlist.C:
10090         * BufferView2.C: include "lyxlex.h"
10091
10092         * tabular.h:
10093         * bufferparams.h: do not #include "lyxlex.h"
10094
10095         * lyxtextclasslist.C (Add): remove method
10096         (classlist): renamed to classlist_
10097
10098         * paragraph_pimpl.C:
10099         * paragraph.C:
10100         * text2.C:
10101         * CutAndPaste.C:
10102         * bufferview_funcs.C:
10103         * bufferlist.C:
10104         * text.C:
10105         * LaTeXFeatures.C:
10106         * buffer.C:
10107         * toc.C (getTocList): use BufferParams::getLyXTextClass
10108
10109         * toc.C (getTocList): use InsetFloat::addToToc
10110
10111         * toc.[Ch]: new files, containing helper functions to handle table
10112         of contents
10113
10114         * lyxfunc.C (dispatch): no need to remove spaces around command
10115         given as a string
10116         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10117         first command of the sequence; it is not very clever, but I do not
10118         have a better idea, actually
10119
10120         * LyXAction.C (LookupFunc): make sure to remove space at the
10121         beginning and end of the command
10122
10123 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10124
10125         * MenuBackend.C (getMenubar): new method: return the menubar of
10126         this menu set
10127         (read): treat differently reading of menu and menubar (in
10128         particular, the menubar has no name now)
10129         (Menu::menubar): remove
10130
10131         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10132         saving is finished
10133
10134 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10135
10136         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10137         a bibitem inset in a RTL paragraph.
10138
10139 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * paragraph_pimpl.C: constify
10142
10143         * BufferView_pimpl.C:
10144         * LaTeX.C:
10145         * lyxfunc.C: fix dispatch in a nicer way
10146
10147 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10148
10149         * lyxfunc.C (dispatch):
10150         * BufferView_pimpl.C:
10151         * BufferView_pimpl.h:
10152         * BufferView.C:
10153         * BufferView.h: rename Dispatch() to dispatch()
10154
10155         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10156
10157         * lyxlayout.C (Read): honor DependsOn tag
10158
10159         * lyxlayout.[Ch] (depends_on): new method
10160
10161         * version.C.in: update lyx_docversion
10162
10163         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10164
10165         * paragraph.C (validate): remove from here...
10166         * paragraph_pimpl.C (validate): ... and move here
10167         (isTextAt): make it const
10168
10169         * buffer.C (getLists): ws cleanup
10170
10171 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10172
10173         * language.C (read): Use iso8859-1 encoding in latex_lang
10174         (this prevents LyX from crashing when using iso10646-1 encoding).
10175
10176 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10177
10178         * text2.C (toggleInset): if cursor is inside an inset, close the
10179         inset and leave cursor _after_ it
10180
10181 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10182
10183         * lyxfunc.C: move minibuffer completion handling out of here
10184
10185 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * BufferView_pimpl.C:
10188         * LaTeX.C: fix dispatch calls
10189
10190 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10191
10192         * text.C (drawChars): Fix Arabic text rendering.
10193
10194 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * LyXAction.C:
10197         * commandtags.h:
10198         * lyxfunc.C: remove message-push/pop
10199
10200         * lyxserver.C:
10201         * lyxfunc.h:
10202         * lyxfunc.C: rationalise some code by removing verboseDispatch
10203           in favour of a bool argument to dispatch()
10204
10205 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10206
10207         * lyx_main.C (init): make sure to read symlinks as absolute paths
10208
10209 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * lyxfunc.h:
10212         * lyxfunc.C: no need for commandshortcut to be a member
10213
10214 2002-07-15  André Pönitz <poenitz@gmx.net>
10215
10216         * converter.C: add support for $$s (scripts from lib/scripts dir)
10217         * lyx_main.C: white space
10218
10219 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10220
10221         * bufferlist.C:
10222         * lyxrc.h:
10223         * lyxrc.C: remove second exit confirmation
10224
10225 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10226
10227         * BufferView.h:
10228         * BufferView.C:
10229         * BufferView2.C:
10230         * BufferView_pimpl.h:
10231         * BufferView_pimpl.C:
10232         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10233
10234 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10235
10236         * MenuBackend.C (expand): add numeric shortcuts to document menu
10237
10238         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10239
10240 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10241
10242         * lyxfont.C (setLyXFamily):
10243         (setLyXSeries):
10244         (setLyXShape):
10245         (setLyXSize):
10246         (setLyXMisc):
10247         (lyxRead):
10248         * debug.C (value):
10249         * buffer.C (asciiParagraph): use ascii_lowercase
10250
10251 2002-07-15  Mike Fabian  <mfabian@suse.de>
10252
10253         * lyxlex_pimpl.C (search_kw):
10254         * lyxlex.C (getLongString):
10255         * converter.h (operator<):
10256         * converter.C (operator<):
10257         * buffer.C (parseSingleLyXformat2Token):
10258         (asciiParagraph):
10259         * ToolbarDefaults.C (read):
10260         * MenuBackend.C (checkShortcuts):
10261         (read):
10262         * LColor.C (getFromGUIName):
10263         (getFromLyXName): use the compare_ascii_no_case instead of
10264         compare_no_case, because in turkish, 'i' is not the lowercase
10265         version of 'I', and thus turkish locale breaks parsing of tags.
10266
10267 2002-07-16  Angus Leeming  <leeming@lyx.org>
10268
10269         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10270         now takes a Buffer const & argument.
10271
10272 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * BufferView.C (resize): check there's a buffer to resize
10275
10276 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10277
10278         * lyxfunc.C: remove dead code
10279
10280         * lyxserver.h:
10281         * lyxserver.C: use lyx_guii::set_read_callback
10282
10283 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10284
10285         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10286         an inset in a RTL paragraph.
10287
10288 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * lyxfunc.C: repaint after a font size update
10291
10292 2002-07-15  André Pönitz <poenitz@gmx.net>
10293
10294         * lyxlength.C: inBP should be able to return negative values
10295
10296 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10297
10298         * lyxfunc.C: use lyx_gui::update_fonts()
10299
10300 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10301
10302         * lyxfunc.C: use lyx_gui::update_color()
10303
10304 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * bufferlist.C:
10307         * lyxfunc.h:
10308         * lyxfunc.C:
10309         * lyxrc.h:
10310         * lyxrc.C: remove file->new asks for name option, and let
10311           buffer-new take an argument
10312
10313 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * BufferView_pimpl.C: remove unneeded extra repaint()
10316
10317 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * LyXAction.C: allow command-sequence with NoBuffer
10320
10321         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10322
10323 2002-07-10  Angus Leeming  <leeming@lyx.org>
10324
10325         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10326
10327 2002-07-09  Angus Leeming  <leeming@lyx.org>
10328
10329         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10330
10331 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * lengthcommon.h: whitespace
10334
10335         * lyxfunc.C: update scrollbar after goto paragraph
10336
10337         * lyxtext.h: factor out page break drawing, and fix it so
10338           page break/added space paints as selected nicely
10339
10340 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10341
10342         * BufferView_pimpl.C: add FIXMEs, clean up a little
10343
10344 2002-07-09  André Pönitz <poenitz@gmx.net>
10345
10346         * lyxfont.[Ch]: support for wasy symbols
10347
10348 2002-07-08  André Pönitz <poenitz@gmx.net>
10349
10350         * BufferView_pimpl.C: apply John's patch for #93.
10351
10352 2002-07-05  Angus Leeming  <leeming@lyx.org>
10353
10354         * BufferView_pimpl.C (buffer): generate previews if desired.
10355
10356         * LColor.h: add "preview" to the color enum.
10357
10358         * LColor.C (LColor): add a corresponding entry to the items array.
10359
10360         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10361         with this buffer.
10362
10363 2002-07-05  Angus Leeming  <leeming@lyx.org>
10364
10365         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10366         The body of the code is now in the method that is passed an ostream &
10367         rather than a file name.
10368         Pass an additional only_preamble parameter, useful for the forthcoming
10369         preview stuff.
10370
10371 2002-07-03  André Pönitz <poenitz@gmx.net>
10372
10373         * lyxfunc.C: simplify getStatus() a bit for math stuff
10374
10375 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10376
10377         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10378
10379 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10380
10381         * text.C (changeRegionCase): do not change case of all the
10382         document when region ends at paragraph end (bug #461)
10383
10384 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10385
10386         * paragraph.C (startTeXParParams):
10387         (endTeXParParams): add \protect when necessary
10388
10389 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10390
10391         * BufferView_pimpl.C (workAreaExpose): remove warning
10392
10393 2002-06-27  Angus Leeming  <leeming@lyx.org>
10394
10395         * Makefile.am: add lyxlayout_ptr_fwd.h.
10396
10397 2002-06-26  André Pönitz <poenitz@gmx.net>
10398
10399         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10400
10401 2002-06-25  Angus Leeming  <leeming@lyx.org>
10402
10403         * lyxfunc.C (dispatch): Comment out the call to
10404         grfx::GCache::changeDisplay. The method no longer exists now that the
10405         pixmap generation part of the graphics loader has been moved into
10406         InsetGraphics.
10407
10408 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10409
10410         * text2.C: layout as layout
10411
10412         * text.C: layout as layout
10413
10414         * tabular.C (OldFormatRead): layout as layout
10415
10416         * paragraph_pimpl.C (TeXDeeper): layout as layout
10417         (realizeFont): layout as layout
10418
10419         * paragraph.C (writeFile): layout as layout
10420         (validate): layout as layout
10421         (getFont): layout as layout
10422         (getLabelFont): layout as layout
10423         (getLayoutFont): layout as layout
10424         (breakParagraph): layout as layout
10425         (stripLeadingSpaces): layout as layout
10426         (getEndLabel): layout as layout
10427         (getMaxDepthAfter): layout as layout
10428         (applyLayout): layout as layout
10429         (TeXOnePar): layout as layout
10430         (simpleTeXOnePar): layout as layout
10431         (TeXEnvironment): layout as layout
10432         (layout): layout as layout
10433         (layout): layout as layout
10434
10435         * lyxtextclass.C (compare_name): new functor to work with
10436         shared_ptr, layout as layout
10437         (Read): layout as layout
10438         (hasLayout): layout as layout
10439         (operator): layout as layout
10440         (delete_layout): layout as layout
10441         (defaultLayout): layout as layout
10442
10443         * lyxlayout_ptr_fwd.h: new file
10444
10445         * lyxlayout.C (Read): layout as layout
10446
10447         * lyx_cb.C (MenuInsertLabel): layout as layout
10448
10449         * bufferlist.C (newFile): layout as layout
10450
10451         * buffer.C (readLyXformat2): layout as layout
10452         (parseSingleLyXformat2Token): layout as layout
10453         (insertStringAsLines): layout as layout
10454         (asciiParagraph): layout as layout
10455         (latexParagraphs): layout as layout
10456         (makeLinuxDocFile): layout as layout
10457         (simpleLinuxDocOnePar): layout as layout
10458         (makeDocBookFile): layout as layout
10459         (simpleDocBookOnePar): layout as layout
10460         (getLists): layout as layout
10461
10462         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10463
10464         * CutAndPaste.C (cutSelection): layout as layout
10465         (pasteSelection): layout as layout
10466         (SwitchLayoutsBetweenClasses): layout as layout
10467
10468         * BufferView_pimpl.C (Dispatch): layout as layout
10469         (smartQuote): layout as layout
10470
10471         * BufferView2.C (unlockInset): layout as layout
10472
10473 2002-06-24  André Pönitz <poenitz@gmx.net>
10474
10475         * lyxfunc.C: fix #487
10476
10477 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * lyxrc.h:
10480         * lyxrc.C:
10481         * lyxfunc.C: remove display_shortcuts, show_banner
10482
10483 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * Buffer_pimpl.C: oops, update on resize
10486
10487 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * buffer.C:
10490         * converter.C:
10491         * exporter.C:
10492         * lyxfunc.C:
10493         * BufferView.h:
10494         * BufferView.C: use repaint()
10495
10496         * BufferView_pimpl.h:
10497         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10498           as it's a clearer description. Remove superfluous
10499           redraws.
10500
10501 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * text.C: fix bug 488. Not ideal, but getting
10504           getWord() to work properly for the insets that
10505           matter is more difficult ...
10506
10507 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * BufferView_pimpl.C:
10510         * LyXAction.C:
10511         * commandtags.h:
10512         * lyxfunc.C: remove the six million index lyxfuncs to just
10513           one, and DTRT (bug 458)
10514
10515 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * BufferView.h:
10518         * BufferView.C:
10519         * BufferView_pimpl.h:
10520         * BufferView_pimpl.C: clean up resize() stuff,
10521           and unnecessary updateScreen()s
10522
10523 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10524
10525         * BufferView.h:
10526         * BufferView.C:
10527         * BufferView_pimpl.h:
10528         * BufferView_pimpl.C:
10529         * lyxfind.h:
10530         * lyxfind.C:
10531         * minibuffer.C: remove focus management of workarea,
10532           not needed. Use screen's greyOut()
10533
10534 2002-06-17  Herbert Voss  <voss@lyx.org>
10535
10536         * converter.C: (convert) do not post a message, when converting
10537         fails, let the calling function decide what to do in this case
10538
10539 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * lyxfunc.C: tidy up a little
10542
10543 2002-06-16    <alstrup@diku.dk>
10544
10545         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10546         Got rid of FORMS_H_LOCATION include. Now we are
10547         GUII.
10548
10549 2002-06-15  LyX Development team  <lyx@rilke>
10550
10551         * buffer.[Ch] (sgmlOpenTag):
10552         (sgmlCloseTag): Added support for avoiding pernicious mixed
10553         content. Return number of lines written.
10554
10555         (makeLinuxDocFile):
10556         (makeDocBookFile): Fixed calls to sgml*Tag.
10557         Simple white space clean.
10558
10559         (simpleDocBookOnePar): Simple white space clean.
10560
10561         * tabular.[Ch] (docBook): Renamed to docbook and got another
10562         argument to related with the pernicious mixed content.
10563
10564         (docbookRow): Fixed calls for docbook inset method.
10565
10566 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10567
10568         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10569         so it's X11 independent.
10570
10571         * kb*.[Ch]: ditto.
10572
10573         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10574
10575 2002-06-15  Lyx Development team  <lyx@electronia>
10576
10577         * intl.h: Renamed getTrans to getTransManager.
10578
10579 2002-06-14  Angus Leeming  <leeming@lyx.org>
10580
10581         * Makefile.am: nuke forgotten stl_string_fwd.h.
10582
10583 2002-06-12  Angus Leeming  <leeming@lyx.org>
10584
10585         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10586
10587 2002-06-13  Angus Leeming  <leeming@lyx.org>
10588
10589         * LaTeX.C:
10590         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10591
10592 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10593
10594         * kbmap.C (getiso): add support for cyrillic and greek
10595
10596 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * BufferView.h:
10599         * BufferView.C:
10600         * BufferView_pimpl.h:
10601         * BufferView_pimpl.C: move bogus scrolling logic
10602           to xforms
10603
10604 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * lyxfunc.C:
10607         * BufferView_pimpl.C: view->resize() change
10608
10609 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * BufferView_pimpl.C: topCursorVisible
10612           prototype change
10613
10614 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * Makefile.am:
10617         * lyx_gui.h:
10618         * lyx_gui.C: move to frontends/
10619
10620         * main.C:
10621         * lyx_main.h:
10622         * lyx_main.C: changes from above
10623
10624 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * intl.C:
10627         * intl.h:
10628         * kbmap.C:
10629         * kbsequence.C:
10630         * lyx_cb.C:
10631         * lyx_main.C: minor tidy
10632
10633 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10634
10635         * BufferView_pimpl.h:
10636         * BufferView_pimpl.C:
10637         * BufferView.h:
10638         * BufferView.C: make painter() const,
10639           remove dead code
10640
10641         * BufferView2.C: use screen() accessor
10642
10643         * lyx_main.h:
10644         * lyx_main.C: some minor cleanup
10645
10646 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * BufferView_pimpl.h:
10649         * BufferView_pimpl.C: remove enter/leaveView,
10650           use workHeight()
10651
10652 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * BufferView.h:
10655         * BufferView.C:
10656         * BufferView2.C:
10657         * BufferView_pimpl.h:
10658         * BufferView_pimpl.C: only construct screen once,
10659           rename
10660
10661         * lyxrc.C: remove pointless comment
10662
10663 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * BufferView.h:
10666         * BufferView.C: remove active() and belowMouse()
10667
10668         * BufferView_pimpl.h:
10669         * BufferView_pimpl.C: use workarea() not workarea_,
10670           and make it use a scoped_ptr instead
10671
10672 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * lyx_gui.C: add debug message on BadWindow
10675
10676 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677
10678         * sp_spell.C: fdopen is not part of the C++ standard.
10679
10680         * paragraph.C (InsetIterator): use >= instead of ==
10681
10682 2002-06-07  Angus Leeming  <leeming@lyx.org>
10683
10684         Fixes needed to compile with Compaq cxx 6.5.
10685         * BufferView_pimpl.C:
10686         * DepTable.C:
10687         * buffer.C:
10688         * converter.C:
10689         * encoding.C:
10690         * lyx_gui.C:
10691         * lyx_main.C:
10692         * lyxtextclasslist.C:
10693         * minibuffer.C:
10694         * sp_spell.C:
10695         * tabular_funcs.C:
10696         * vc-backend.C:
10697         all c-library variables have been moved into namespace std. Wrap
10698         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10699
10700         * lyxlength.C:
10701         * tabular-old.C:
10702         * tabular.C:
10703         Add a using std::abs declaration.
10704
10705         * kbmap.h (modifier_pair):
10706         * paragraph.h (InsetTable, InsetList):
10707         * lyxfont.h (FontBits):
10708         type definition made public.
10709
10710         * bufferlist.C (emergencyWriteAll): the compiler complains that
10711         there is more than one possible lyx::class_fun template to choose from.
10712         I re-named the void specialisation as lyx::void_class_fun.
10713
10714         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10715
10716         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10717         the compiler is is unable to find tostr in write_attribute.
10718
10719 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10720
10721         * buffer.C (sgmlError): hide #warning
10722
10723 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10724
10725         * xtl/*: get rid of xtl, which is not in use anyway
10726
10727         * LyXAction.C (init):
10728         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10729         were unimplemented xtl experimentation
10730
10731 2002-06-04  André Pönitz <poenitz@gmx.net>
10732
10733         * lyxfunc.C: disable array operation on simple formulae
10734
10735 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * converter.C: constify a bit
10738
10739 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10740
10741         * lyx_gui.C: check xforms version correctly
10742
10743 2002-04-30  Herbert Voss  <voss@lyx.org>
10744
10745         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10746         "keep" option
10747
10748 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10751           attempt to register it with a VCS)
10752
10753 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10754
10755         * lyx_main.C (init): honor variables LYX_DIR_13x and
10756         LYX_USERDIR_13x
10757
10758 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * buffer.h:
10761         * buffer.C:
10762         * lyx_main.C: fix a crash on bad command line,
10763           and give a useful exit status on error
10764
10765         * lyxfunc.C (doImport): allow -i lyx to work
10766
10767 2002-03-30  André Pönitz <poenitz@gmx.net>
10768
10769         * lyxfunc.C: mathed font changes
10770
10771 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * LaTeX.C:
10774         * importer.h:
10775         * importer.C:
10776         * lyx_sty.h:
10777         * lyx_sty.C:
10778         * lyxlex.C:
10779         * lyxrow.h:
10780         * lyxtext.h:
10781         * paragraph.h:
10782         * paragraph.C:
10783         * texrow.h:
10784         * texrow.C:
10785         * text.C:
10786         * trans_mgr.h: srcdocs, and some minor cleanups
10787
10788 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10789
10790         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10791         call getFont all the time)
10792
10793 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10794
10795         * switch from SigC signals to boost::signals
10796
10797 2002-05-29  André Pönitz <poenitz@gmx.net>
10798
10799         * paragraph_pimpl.C (getChar): don't call size() too often...
10800
10801 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10802
10803         * paragraph_pimpl.C (insertChar): do not try to update tables when
10804         appending (pos == size())
10805
10806         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10807         in order to reduce drastically the number of comparisons needed to
10808         parse a large document
10809
10810 2002-05-29  André Pönitz <poenitz@gmx.net>
10811
10812         * text.C:
10813         * text2.C:
10814         * lyxtextclass.C:
10815         * sp_pspell.h:
10816         * textclasslist.[Ch]:
10817         * sp_ispell.h: whitespace change
10818
10819 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10820
10821         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10822         lyxaction directly now.
10823
10824 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * trans.C:
10827         * lyxfont.C:
10828         * lyxvc.C: remove unused headers
10829
10830 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * Makefile.am:
10833         * buffer.h:
10834         * undostack.h:
10835         * undostack.C:
10836         * undo_funcs.h:
10837         * undo_funcs.C: some cleanups. Use shared_ptr
10838           and a template for the undo stacks.
10839
10840 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * BufferView_pimpl.h:
10843         * BufferView_pimpl.C:
10844         * kbmap.h:
10845         * kbmap.C:
10846         * kbsequence.h:
10847         * kbsequence.C:
10848         * lyxfunc.h:
10849         * lyxfunc.C:
10850         * text2.C: use key_state/mouse_state
10851
10852 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10853
10854         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10855         and LSubstring
10856
10857         * chset.C: change include order
10858         (loadFile): use boost regex and get rid of LRegex and LSubstring
10859
10860         * Makefile.am (BOOST_LIBS): new variable
10861         (lyx_LDADD): use it
10862
10863         * LaTeX.C: change include order.
10864         (scanAuxFile): use boost regex and get rid of LRegex and
10865         LSubstring
10866         (deplog): ditto
10867
10868 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * ColorHandler.h:
10871         * ColorHandler.C:
10872         * FontInfo.h:
10873         * FontInfo.C: moved to frontends/xforms/
10874
10875         * FontLoader.h:
10876         * FontLoader.C: moved into frontends for GUIIzation
10877
10878         * Makefile.am:
10879         * lyx_gui.C:
10880         * lyxfont.C:
10881         * lyxfunc.C: changes from above
10882
10883 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * LColor.C: remove spurious X include
10886
10887         * BufferView_pimpl.C:
10888         * Makefile.am:
10889         * font.h:
10890         * font.C:
10891         * text.C:
10892         * text2.C: move font metrics to frontends/
10893
10894 2002-05-24  Juergen Vigna  <jug@sad.it>
10895
10896         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10897         setting the undo_cursor.
10898
10899         * ParagraphParameters.h: include local includes first.
10900
10901 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * BufferView_pimpl.C:
10904         * BufferView_pimpl.h:
10905         * Makefile.am:
10906         * WorkArea.h:
10907         * WorkArea.C:
10908         * screen.C: move WorkArea into frontends/
10909
10910         * lyxscreen.h:
10911         * screen.C:
10912         * text.C:
10913         * BufferView.C:
10914         * BufferView2.C: move LyXScreen into frontends/
10915
10916         * lyxlookup.h:
10917         * lyxlookup.C:
10918         * lyx_gui.C: move lyxlookup into frontends/xforms/
10919
10920 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * BufferView2.C:
10923         * BufferView_pimpl.C:
10924         * FontLoader.C:
10925         * LyXView.h:
10926         * LyXView.C:
10927         * Makefile.am:
10928         * WorkArea.C:
10929         * XFormsView.h:
10930         * XFormsView.C:
10931         * buffer.C:
10932         * bufferlist.C:
10933         * bufferview_funcs.C:
10934         * converter.C:
10935         * importer.C:
10936         * lyx_cb.C:
10937         * lyx_gui.C:
10938         * lyx_main.C:
10939         * lyx_find.C:
10940         * lyxfunc.C:
10941         * lyxvc.C:
10942         * minibuffer.C:
10943         * text.C:
10944         * text2.C:
10945         * trans.C:
10946         * vc-backend.C: move LyX/XFormsView into frontends/
10947
10948 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10949
10950         * Makefile.am:
10951         * PainterBase.C:
10952         * PainterBase.h:
10953         * Painter.C:
10954         * Painter.h:
10955         * WorkArea.C:
10956         * WorkArea.h:
10957         * screen.C:
10958         * tabular.C:
10959         * text.C:
10960         * text2.C: move Painter to frontends/
10961
10962 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * buffer.C: comment out some some code that depend upon lyx_format
10965         < 220
10966
10967         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10968         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10969
10970         * buffer.h (NO_COMPABILITY): turn off compability
10971
10972         * ColorHandler.C: include scoped_array.hpp
10973
10974         * font.C: Use more specific smart_ptr header.
10975         * Painter.C: ditto
10976         * gettext.C: ditto
10977         * ShareContainer.h: ditto
10978         * lyx_main.h: ditto
10979         * kbmap.h: ditto
10980         * FontInfo.h: ditto
10981         * BufferView_pimpl.h: ditto
10982         * ColorHandler.h: ditto
10983
10984         * kbmap.C (defkey): change call to shared_ptr::reset
10985
10986 2002-05-21  Juergen Vigna  <jug@sad.it>
10987
10988         * buffer.C (insertErtContents): fix to insert ert asis if it is
10989         non empty. Skip it completely if it contains only whitespaces.
10990
10991 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * BufferView_pimpl.C:
10994         * BufferView2.C: clear selection on paste (bug 393)
10995
10996 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * DepTable.C: include ctime
10999
11000 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11001
11002         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11003
11004 2002-05-14  Juergen Vigna  <jug@sad.it>
11005
11006         * text.C (breakParagraph): fixed function to honor the keepempty
11007         layout in the right maner and also to permit the right breaking
11008         algorithm on empty or non empyt keepempty paragraphs.
11009
11010         * paragraph.C (breakParagraph): we have to check also if the par
11011         is really empty (!size()) for isempty otherwise we do the wrong
11012         paragraph break.
11013
11014 2002-05-10  Juergen Vigna  <jug@sad.it>
11015
11016         * buffer.[Ch] : The following are only changes to the ert
11017         compatibility read reading old LaTeX layout and font stuff and
11018         convert it to ERTInsets.
11019
11020         * buffer.h: added isErtInset().
11021
11022         * buffer.C (struct ErtComp): add a fromlayout bool to check
11023         if we're inside a LaTeX layout.
11024         (isErtInset): new helper function.
11025         (insertErtContents): look for other ert insets before this one
11026         and insert the contents there, so that we don't have subsequent
11027         ERT insets with nothing between them. This way we create only one
11028         inset with multiple paragraphs. Also check if we don't insert only
11029         spaces ' ' as they are ignored anyway afterwards in the .tex file
11030         so if we have only spaces we will ignore this latex part in the
11031         new file.
11032         (parseSingleLyXformat2Token \\layout): better compatibility when
11033         reading layout-latex stuff.
11034         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11035         language tag.
11036         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11037         stuff after reading the inset only get the information back from
11038         the stack.
11039
11040 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11041
11042         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11043
11044         * LaTeXFeatures.C (getBabelOptions): New method.
11045
11046 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11047
11048         * BufferView_pimpl.C (Dispatch): work around missing argument for
11049         'layout'
11050
11051 2002-05-08  Juergen Vigna  <jug@sad.it>
11052
11053         * text.C (leftMargin): handle paragraph leftindent.
11054
11055         * paragraph.C (writeFile): write the new \\leftindent tag.
11056         (validate): handle leftindent code.
11057         (TeXEnvironment): handle paragraphleftindent code again.
11058
11059         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11060
11061         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11062         for paragrap_extra indent code and new token \\leftindent.
11063         (latexParagraphs): handle the leftindent as environment.
11064
11065         * ParameterStruct.h: added leftindent support.
11066
11067         * ParagraphParameters.C (leftIndent): added support functions for
11068         the paragraph left indent.
11069
11070         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11071         more appropriate.
11072
11073 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11076         inside insetERT.
11077
11078         * text.C (computeBidiTables): No bidi in insetERT.
11079
11080         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11081         in RTL documents.
11082
11083 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11084
11085         * version.C.in: pre 5
11086
11087 2002-05-02  José Matos  <jamatos@fep.up.pt>
11088         * buffer.C (makeDocBookFile): white space changes, add newline to
11089         command styles.
11090         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11091
11092         * tabular.C (docBook): fix typo.
11093
11094 2002-05-03  Juergen Vigna  <jug@sad.it>
11095
11096         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11097         change in LyXText as we can not be sure it was not freed.
11098         (drawOneRow): remove unused code.
11099
11100         * text.C (drawInset): redo the calculation of the need_break_row as
11101         it could have a row which was already freed.
11102         (draw): look at the return value of drawInset and return false if
11103         it also returned false.
11104         (paintRowText): look at the return value of draw and return false if
11105         it also returned false.
11106
11107         * lyxtext.h: added bool return type to drawInset() and draw() so that
11108         if we have a change in the row so that the rowbreak has to be redone
11109         we abort drawing as it will be called again.
11110
11111 2002-05-02  Juergen Vigna  <jug@sad.it>
11112
11113         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11114         a change in the maintext also if we're inside an inset.
11115         (Dispatch): set the cursor again after a break line and after the
11116         screen has been updated as it could be we're in a different row.
11117
11118         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11119         to set the cursor behind the pargraph with > size().
11120         (setCursor): check also for the same paragraph when checking where
11121         to put the cursor if we have a NFR inset.
11122
11123         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11124         parts of layout read further up as it still was in the wrong
11125         position.
11126
11127 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11128
11129         * screen.C (drawFromTo): change sine fullRebreak always return
11130         true.
11131
11132         * buffer.C (parseSingleLyXformat2Token): reindent some
11133
11134         * BufferView_pimpl.C (update): change since fullRebreak always
11135         return true.
11136         (Dispatch): git rid of the last hardcoded "Standard"s.
11137
11138 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11139
11140         * text2.[Ch] (fullRebreak): make it return void now that we always
11141         returned true.
11142
11143 2002-04-30  Juergen Vigna  <jug@sad.it>
11144
11145         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11146         ert compatibility check for "latex" layout.
11147
11148 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11149
11150         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11151         minipages: use col% instead of p%, and also use the current font.
11152         (makeLaTeXFile): Fix use babel condition.
11153         (parseSingleLyXformat2Token): Correct font when reading old floats.
11154
11155 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11156
11157         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11158         inserting list of floats.
11159
11160 2002-04-25  Herbert Voss  <voss@lyx.org>
11161
11162         * MenuBackend.C (expand): don't add the graphics extensions to the
11163         export menu
11164
11165 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11166
11167         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11168         non-existing layout, do not complain if it was the default layout
11169         of the original class (bug #342)
11170
11171 2002-04-24  Juergen Vigna  <jug@sad.it>
11172
11173         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11174         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11175
11176 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11177
11178         * buffer.C (getBibkeyList): If using \bibliography, return the
11179         option field with the reference itself. Enables us to provide natbib
11180         support when using \bibliography.
11181
11182 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11183
11184         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11185
11186         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11187         natbib is provided by the LaTeX class.
11188
11189 2002-04-23  Juergen Vigna  <jug@sad.it>
11190
11191         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11192         Wakeup functions.
11193
11194         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11195
11196 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11197
11198         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11199
11200         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11201         ensuremath around textordmasculine, textordfeminine and
11202         textdegree.
11203
11204 2002-04-19  Juergen Vigna  <jug@sad.it>
11205
11206         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11207         reinitializing the buffer otherwise row-dimensions may be wrong.
11208         (update): reset also the selection cursors if they do exits otherwise
11209         their x/y positions may be wrong.
11210
11211         * text2.C (cursorDown): don't enter the inset if we came from a row
11212         above and are one row over the inset.
11213
11214         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11215         really leaving an inset.
11216
11217 2002-04-18  Juergen Vigna  <jug@sad.it>
11218
11219         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11220         of the selected paragraph does not have the selected layout also if
11221         the last one had!
11222
11223         * text2.C (setLayout): fixed bug which did not change last selected
11224         paragraph.
11225
11226         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11227         changed the read and substituted \\end_float with \\end_inset!
11228
11229         * BufferView_pimpl.C (cursorPrevious):
11230         (cursorNext): fixed to make it work with rows heigher than the work
11231         area without moving the cursor only the draw of the row.
11232         (workAreaMotionNotify): fix jumping over high rows.
11233
11234 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11235
11236         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11237         Ressler.
11238
11239 2002-04-16  Juergen Vigna  <jug@sad.it>
11240
11241         * text2.C (setCursor): set also the irow().
11242         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11243         (cursorUp):
11244         (cursorDown): support for locking an inset if the x_fix value goes
11245         inside it. That way I can transverse insets too with cursor up/down.
11246
11247         * lyxrow.h: added irow helper function same as other (i) functions.
11248
11249         * BufferView_pimpl.C (cursorPrevious):
11250         (cursorNext): fixed for insets!
11251
11252 2002-04-15  Juergen Vigna  <jug@sad.it>
11253
11254         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11255         position otherwise it is wrong in some cases.
11256
11257         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11258         inside the inset before the call.
11259
11260 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11261
11262         * buffer.[Ch] (getBibkeyList): make it const.
11263
11264 2002-04-12  Juergen Vigna  <jug@sad.it>
11265
11266         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11267
11268         * text2.C (getCursorX): new helper function
11269         (setCursor): compute also ix_
11270         (setCursorFromCoordinates): set also ix.
11271
11272         * lyxcursor.h: added ix_ and helper functions.
11273
11274         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11275
11276         * buffer.C (insertStringAsLines): dont break paragraph if the this
11277         paragraph is inside an inset which does not permit it!
11278
11279         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11280         also with no chars on this paragraph.
11281         (paintRowText): only paint stuff if it's inside the workarea!
11282
11283         * paragraph.C (breakParagraph): honor keepempty flag and break the
11284         paragraph always below not above.
11285
11286         * BufferView2.C (unlockInset): update the paragraph layout on inset
11287         unlock as we changed paragraph in such a case.
11288
11289         * lyxfind.C (LyXFind): clear the former selection if not found!
11290
11291         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11292         again called in insertChar().
11293
11294         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11295         an inset which uses the whole row!
11296         (rightMargin): ditto.
11297         (insertChar): force a rebreak if we inserted an inset!
11298
11299 2002-03-28  Herbert Voss  <voss@lyx.org>
11300
11301         * lyxlength.[Ch]: add inBP() to get the right PS-point
11302         units (BigPoint). With inPixels we have rounding errors
11303
11304 2002-04-11  Juergen Vigna  <jug@sad.it>
11305
11306         * text2.C (setCursorFromCoordinates): set iy to the right value.
11307         (setCursor): add check if row->previous exists!
11308
11309         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11310         an old float_type as this was the case in the old code!
11311
11312         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11313
11314         * BufferView2.C (showLockedInsetCursor): use iy
11315         (fitLockedInsetCursor): ditto
11316
11317         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11318         locked insets as there we have the right value now.
11319
11320         * lyxcursor.C: added iy_ variable and iy functions to set to the
11321         baseline of cursor-y of the locked inset.
11322
11323         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11324         (setCursor): fixed for insets which need a full row.
11325
11326         * text.C (rowLastPrintable): don't ignore the last space when before
11327         an inset which needs a full row.
11328         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11329         as last character of a row when before a inset which needs a full row.
11330
11331 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11332
11333         * version.C.in: update date
11334
11335         * text2.C (fullRebreak): try to always return true and see what
11336         happens...
11337
11338 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11339
11340         * MenuBackend.C (expand): use Floating::listName
11341
11342         * FloatList.C (FloatList): add listName argument to the built-in
11343         floats
11344
11345         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11346         text associated with the float.
11347
11348 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11349
11350         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11351
11352 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * ShareContainer.h: add a couple of missing typenames.
11355
11356 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11357
11358         * lyxrc.C (getDescription): use _() correctly rather than N_().
11359
11360 2002-03-28  Herbert Voss  <voss@lyx.org>
11361
11362         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11363         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11364
11365 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11368         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11369
11370 2002-03-29  Juergen Vigna  <jug@sad.it>
11371
11372         * lyxfunc.C (dispatch): add a missing fitCursor call.
11373
11374         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11375         it was scrolled by a cursor move, so return the bool status.
11376
11377         * BufferView.C (fitCursor): return the bool flag also to the outside
11378         world as this is needed.
11379
11380         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11381
11382         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11383         call the edit() as it is not needed (and wrong) IMO.
11384         (workAreaButtonPress): set the screen_first variable before evt.
11385         unlock the inset as this may change screen_first and then we have
11386         a wrong y position for the click!
11387
11388 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11389
11390         * MenuBackend.C (expand): another translation that I missed
11391
11392 2002-03-28  Juergen Vigna  <jug@sad.it>
11393
11394         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11395
11396         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11397
11398 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11401
11402         * MenuBackend.C (expand): fix export/view/update when there is no
11403         document open.
11404
11405 2002-03-27  Herbert Voss  <voss@lyx.org>
11406
11407         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11408         and text%
11409
11410 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11411
11412         * bufferview_funcs.C (currentState): only show paragraph number
11413         for is DEVEL_VERSION is set.
11414
11415         * lyxfunc.C (dispatch): put warning in INFO channel
11416
11417         * MenuBackend.C (expand): translate the name of floats
11418
11419         * FloatList.C (FloatList): mark the float names for translation
11420
11421         * converter.C (convert): use LibScriptSearch
11422
11423 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * MenuBackend.C (defaults): fix default menu (we might as well get
11426         rid of it...)
11427
11428 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11429
11430         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11431         directory.
11432
11433 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11434
11435         * lyxvc.C: reorder includes.
11436
11437 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11440           properly
11441
11442 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * CutAndPaste.C: change layouts earlier on paste
11445           to avoid crashing when calling getFont()
11446
11447 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11448
11449         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11450         irritating #error.
11451
11452 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11453
11454         * WorkArea.C: remove 'Pending' debug message.
11455
11456         * most files: ws cleanup
11457
11458         * buffer.[Ch]: ws changes
11459
11460         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11461
11462 2002-03-21  Juergen Vigna  <jug@sad.it>
11463
11464         * tabular.C (SetMultiColumn): collapse also the contents of the
11465         cells and set the last border right. Added a Buffer const * param.
11466
11467 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11470         linking or not.
11471
11472 2002-03-19  Juergen Vigna  <jug@sad.it>
11473
11474         * text2.C (clearSelection): reset also xsel_cache.
11475
11476         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11477         where it needs to be called (John tells us to do so too :)
11478         (selectionLost): reset sel_cache.
11479
11480         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11481
11482 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11483
11484         * text2.C (setCursorIntern): put debuging code in INSETS channel
11485
11486 2002-03-19  André Pönitz <poenitz@gmx.net>
11487
11488         * lyxfunc.C: tiny whitespace change
11489
11490 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11491
11492         * ToolbarDefaults.C (init):
11493         * LyXAction.C (init):
11494         * commandtags.h:
11495         * BufferView_pimpl.C (Dispatch):
11496         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11497
11498 2002-03-19  Allan Rae  <rae@lyx.org>
11499
11500         * exporter.C (Export): removeAutoInsets before doing anything else.
11501         While I've just introduced a dependency on BufferView this really is
11502         the best place to clean the buffer otherwise you need to cleanup in
11503         a dozen places before calling export or cleanup in a dozen functions
11504         that export calls.
11505
11506         * converter.C (runLaTeX):
11507         (scanLog): Better handling of removeAutoInsets and screen updates.
11508
11509         * lyxfunc.C (dispatch): small whitespace changes
11510
11511 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * WorkArea.C (C_WorkAreaEvent): return a value.
11514         (event_cb): return 1 if we handled the event, 0 otherwise.
11515
11516         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11517
11518 2002-03-18  Juergen Vigna  <jug@sad.it>
11519
11520         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11521         (GetAdditionalWidth): ditto.
11522         (RightLine): ditto.
11523         (LeftLine): ditto.
11524
11525         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11526         inset if we're there actually (probably not used right now but this
11527         is the direction to go for unifying code).
11528         (paste): disable code to clear the selection.
11529
11530         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11531         inside an InsetText and move the check further up as it is in the
11532         wrong place.
11533
11534         * text2.C (pasteSelection): set a selection over the pasted text.
11535
11536 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11537
11538         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11539         and libgraphics to build on Cygwin.
11540
11541 2002-03-15  Juergen Vigna  <jug@sad.it>
11542
11543         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11544         inserting an Inset into the paragraph. I know this is not the best
11545         fix but we already use current_view in CutAndPaste so we will remove
11546         all of it's using at the same time.
11547
11548         * buffer.C (sgmlError): deactivated function till it is rewritten in
11549         the right mode, now it can create problems.
11550
11551         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11552         before accessing it.
11553
11554 2002-03-14  Juergen Vigna  <jug@sad.it>
11555
11556         * undo_funcs.C (textHandleUndo): do the right thing when updating
11557         the inset after the undo/redo.
11558
11559         * text2.C (setCursor): just some testcode for #44 not ready yet.
11560
11561         * undo_funcs.C (textHandleUndo): set the next() and previous()
11562         pointers of the paragraph to 0 before deleting otherwise we have
11563         problems with the Paragraph::[destructor].
11564
11565         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11566         on a paragraph insertion.
11567
11568 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11569
11570         * buffer.C (asciiParagraph): use += operator for char append to
11571         string.
11572
11573         * paragraph.C (getFontSettings): compare >= not just >
11574         (highestFontInRange): ditto
11575         (setFont): ditto
11576
11577 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * paragraph.C: change several algorithm to be more appripriate for
11580         the problem domain. This is lookip in FontList and in the InsetList.
11581
11582 2002-03-13  André Pönitz <poenitz@gmx.net>
11583
11584         * commandtags.h:
11585         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11586
11587 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * commandtags.h:
11590         * LyXAction.C:
11591         * lyxfunc.C:
11592         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11593
11594 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * Painter.C (display): anon helper function, adjust code for this
11597         change.
11598         (pixmap): remove function.
11599
11600         * Painter.h: remove private display variable.
11601
11602         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11603
11604 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11605
11606         * WorkArea.[Ch]: remove figinset_canvas cruft.
11607
11608 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11609
11610         * lyxtextclass.C (operator): add one item cache optimization.
11611
11612         * bufferlist.h: doxy changes
11613
11614         * bufferlist.C: ws changes
11615
11616         * DepTable.[Ch] (ext_exist): place const in the right spot.
11617
11618         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11619         call resizeInsets.
11620         (workAreaExpose): call resizeInsets when the with BufferView changes.
11621         (Dispatch): adjust for protectedBlank removal
11622         (specialChar): call updateInset if the insert went ok.
11623
11624         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11625         specialChar instead.
11626
11627         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11628
11629         * BufferView.h: doxy change
11630
11631         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11632
11633         * lyxtextclass.C (operator[]): remove non-const version
11634         (defaultLayout): remove non-const version
11635
11636 2002-03-12  Juergen Vigna  <jug@sad.it>
11637
11638         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11639         did resize the LyXText too.
11640
11641         * buffer.C (readLyXformat2): set layout information on newly allocated
11642         paragraphs.
11643
11644         * tabular.C (OldFormatRead): set layout information on the paragraph.
11645
11646 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11647
11648         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11649
11650 2002-03-11  Juergen Vigna  <jug@sad.it>
11651
11652         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11653         plainly wrong.
11654         (resizeCurrentBuffer): force also the insets to resize themselfes.
11655         (moveCursorUpdate): fixed up for InsetText.
11656
11657 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11658
11659         * commandtags.h:
11660         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11661         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11662         value of Dialogs::tooltipsEnabled().
11663         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11664
11665 2002-03-08  Juergen Vigna  <jug@sad.it>
11666
11667         * BufferView_pimpl.C (updateInset): update inset inside inset also
11668         if it isn't inside theLockingInset().
11669
11670 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11671
11672         * buffer.C (asciiParagraph): redo some of the word and line length
11673         handling.
11674         (getLists): look for Caption instead of caption.
11675
11676 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11677
11678         * buffer.C (Buffer): initialize niceFile to true
11679         (makeLaTeXFile):
11680         (makeLinuxDocFile):
11681         (makeDocBookFile): make sure niceFile is true on exit
11682
11683 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11686
11687 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11688
11689         * LyXSendto.C: remove.
11690         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11691         * lyx_gui.C: remove now-redundant comment.
11692         * ColorHandler.h: remove forward declaration of class WorkArea.
11693         * lyxfunc.C: remove #include "WorkArea.h".
11694
11695 2002-03-07  Juergen Vigna  <jug@sad.it>
11696
11697         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11698         got moved away with the DEPM and also set the inset_owner always
11699         right which before could have been omitted.
11700
11701 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11702
11703         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11704         wanted layout is not found.
11705
11706 2002-03-07  Juergen Vigna  <jug@sad.it>
11707
11708         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11709
11710 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11711
11712         * paragraph.C (breakParagraph): use default layout not layout of
11713         prev paragraph.
11714         (Paragraph): clear ParagraphParameters.
11715
11716 2002-03-06  Juergen Vigna  <jug@sad.it>
11717
11718         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11719         otherwise it would not be a valid lenght. Fixed a special case in
11720         the minipage compatibility read where we end the document with a
11721         minipage.
11722
11723         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11724         was set as it could be 0 for InsetTexts first entry.
11725
11726 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * paragraph.C (writeFile): if layout is empty write out
11729         defaultLayoutName().
11730
11731         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11732         file without named layout we set layout to defaultLayoutName().
11733
11734 2002-03-06  Juergen Vigna  <jug@sad.it>
11735
11736         * CutAndPaste.C (copySelection): set layout for new paragraph.
11737
11738         * text.C (prepareToPrint): leave ERT inset left aligned
11739         (leftMargin): don't indent paragraphs inside ERT insets
11740
11741 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11742
11743         * paragraph.C (breakParagraph): dont call clear do the work manually
11744
11745         * paragraph.[Ch] (clear): remove function
11746
11747 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * paragraph.C (Paragraph): dont call clear, the work has already
11750         been done.
11751
11752         * lyxtextclass.C (operator): assert if n is empty
11753
11754         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11755         work manually instead.
11756
11757 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * BufferView_pimpl.C: protect selectionLost against text == 0
11760
11761 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * text.C (breakParagraph): fix a setting layout to '0' problem.
11764
11765 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11766
11767         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11768         final location of file, for the included files, and graphics.
11769
11770 2002-03-05  Juergen Vigna  <jug@sad.it>
11771
11772         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11773
11774 2002-03-04  Juergen Vigna  <jug@sad.it>
11775
11776         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11777
11778         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11779         last column of multicolumn cells.
11780         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11781
11782 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11783
11784         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11785         file if it doesn't go to a temporary file.
11786
11787         * buffer.C (sgmlOpenTag):
11788         (sgmlCloseTag):  remove extra newline insertion.
11789
11790 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * text.C (getRowNearY): comment out debug msg
11793
11794 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * text2.C: first -> first_y
11797
11798         * text.C (getRowNearY): add some attemts at a possible
11799         optimization, not working.
11800
11801         * tabular.[Ch]: add BufferParams to several function so that newly
11802         created paragraph can be initialized to he default layotu for the
11803         buffers textclass.
11804
11805         * tabular-old.C (ReadOld): add buf->params to call of Init
11806
11807         * screen.C: rename text->first to text->first_y
11808
11809         * paragraph.C (breakParagraph): always set layout in the broken
11810         paragraph
11811
11812         * lyxtextclass.C (Read): remove lowercase
11813         (hasLayout): ditto
11814         (operator): ditto
11815         (delete_layout): ditto
11816
11817         * lyxtext.h: rename first -> first_y
11818
11819         * lyxlayout.C (Read): remove lowercase
11820         (name): ditto
11821         (setName): ditto
11822         (obsoleted_by): ditto
11823
11824         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11825
11826         * buffer.C (insertErtContents): add params are to InsetERT
11827         (parseSingleLyXformat2Token): add code to check if a paragraphs
11828         layout really exist.
11829         (parseSingleLyXformat2Token): add params to several inset
11830         constructors
11831         (asciiParagraph): remove lowercase, do the layout comparisons with
11832         no_case
11833
11834         * BufferView_pimpl.C (cursorNext): first -> first_y
11835         (resizeCurrentBuffer): first -> first_y
11836         (updateScrollbar): first -> first_y
11837         (scrollCB): first -> first_y
11838         (workAreaMotionNotify): first -> first_y
11839         (workAreaButtonPress): first -> first_y
11840         (checkInsetHit): first -> first_y
11841         (cursorPrevious): first -> first_y
11842         (cursorNext): first -> first_y
11843         (Dispatch): add buffer_->params to severl inset contructors
11844
11845 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * lyxlayout.C (Read): remove some debug info that I forgot.
11848
11849         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11850         clean up the code slightly.
11851         (makeLinuxDocFile): ditto
11852         (makeDocBookFile): ditto
11853
11854         * text2.C: layout as string
11855
11856         * text.C: layout as string
11857
11858         * paragraph_pimpl.C: layout as string
11859
11860         * paragraph.[Ch]: layout as string
11861
11862         * lyxtextclasslist.[Ch]: layout as string
11863
11864         * lyxtextclass.[Ch]: layout as string
11865
11866         * lyxtext.h: layout as string
11867
11868         * lyxlayout.[Ch]: layout as string
11869
11870         * lyx_cb.C: layout as string
11871
11872         * bufferview_funcs.C: layout as string
11873
11874         * bufferparams.C: layout as string
11875
11876         * buffer.C: layout as string
11877
11878         * LyXView.[Ch]: layout as string
11879
11880         * LaTeXFeatures.[Ch]: layout as string
11881
11882         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11883
11884         * BufferView_pimpl.C: change current_layout to string, remove
11885         lyx::layout_type.
11886         (Dispatch):
11887         (smartQuote):
11888         (insertInset):
11889         (workAreaButtonRelease): layout as string
11890
11891         * BufferView2.C (unlockInset): adjust
11892
11893         * vspace.C (asLatexCommand): use an explict temp variable.
11894
11895 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11896
11897         * Makefile.am: use FRONTEND_*
11898
11899 2002-03-01  Juergen Vigna  <jug@sad.it>
11900
11901         * tabular.C (SetWidthOfMulticolCell): changed to something better
11902         I hope but still work in progress.
11903         (recalculateMulticolumnsOfColumn): renamed function from
11904         recalculateMulticolCells as it is more appropriate now.
11905         (SetWidthOfCell): calculate multicols better.
11906
11907 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11908
11909         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11910
11911         * lyxfunc.C (processKeySym): print sequence also if it is
11912         `deleted' (complete)
11913
11914         * kbsequence.C (print): print sequence even if it is deleted
11915         (complete would be a better word, actually).
11916
11917         * lyxfunc.C (dispatch): print complete options after a prefix key
11918
11919         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11920
11921 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11922
11923         * text2.C (setCharFont): eliminate setCharFont code duplication.
11924
11925 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11928         LFUN_TABULAR_FEATURE (bug #177)
11929
11930 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11931
11932         * Makefile.am: remove figure.h
11933
11934 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11935
11936         * Bufferview_pimpl.C:
11937         * CutAndPasteC:
11938         * LaTeX.C:
11939         * LyXSendto.C:
11940         * buffer.C:
11941         * bufferlist.C:
11942         * converter.C:
11943         * language.C:
11944         * lyxfunc.C:
11945         * lyxvc.C:
11946         * paragraph.C:
11947         * text.C:
11948         * text2.C: remove #include "lyx_gui_misc.h".
11949
11950         * LaTeX.C: added #include <cstdio>
11951
11952 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11953
11954         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11955         that the paragraph following this one can have.
11956
11957         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11958
11959         * vspace.C (asLatexCommand): fix bogus gcc warning
11960
11961         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11962
11963 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11964
11965         * text2.C (setLayout): get rid of redundant code
11966
11967 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11968
11969         * text2.C (incDepth): make sure depth cannot be increased beyond
11970         reasonable values.
11971
11972 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11973
11974         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11975         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11976
11977         * PainterBase.h (image):
11978         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11979         a LyXImage const *.
11980
11981 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * BufferView.C:
11984         * BufferView.h:
11985         * BufferView_pimpl.C:
11986         * BufferView_pimpl.h:
11987         * LaTeXFeatures.C:
11988         * LyXAction.C:
11989         * LyXView.C:
11990         * Makefile.am:
11991         * UpdateList.h:
11992         * UpdateList.C:
11993         * buffer.C:
11994         * figure.h:
11995         * figureForm.C:
11996         * figureForm.h:
11997         * figure_form.C:
11998         * figure_form.h:
11999         * lyx_cb.C:
12000         * lyx_gui.C:
12001         * lyx_gui_misc.C:
12002         * lyxfunc.C:
12003         * sp_base.h:
12004         * sp_ispell.h:
12005         * sp_pspell.h:
12006         * sp_spell.C: remove fig inset, and the crap house of
12007           cards that follows it
12008
12009 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * Makefile.am:
12012         * lyxserver.C:
12013         * os2_defines.h:
12014         * os2_errortable.h:
12015         * nt_defines.h: move .h into support/
12016
12017         * vms_defines.h: remove
12018
12019         * WorkArea.C: add space in debug output
12020
12021         * text2.C:
12022         * paragraph.C:
12023         * buffer.C: add WITH_WARNINGS
12024
12025         * vc-backend.h:
12026         * vc-backend.C:
12027         * bufferlist.C: s/retrive/retrieve/, add docs
12028
12029         * vspace.h:
12030         * vspace.C:
12031         * kbmap.h:
12032         * lyxlength.h:
12033         * lyxgluelength.h:
12034         * length_common.h:
12035         * chset.h:
12036         * chset.C: add docs
12037
12038         * lyxgui.C: add ID to X error handler
12039
12040         * lyxtestclass.c: fix typo
12041
12042 2002-02-26  Juergen Vigna  <jug@sad.it>
12043
12044         * tabular_funcs.C (write_attribute): changed so that some default
12045         attributes are not written at all.
12046         (getTokenValue): set default values before trying to read the
12047         value so we have the return value always set as default if we don't
12048         find the token we search for.
12049
12050         * tabular.C (Write): write bools as bools not as strings!
12051
12052 2002-02-22  Juergen Vigna  <jug@sad.it>
12053
12054         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12055         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12056
12057         * text.C (leftMargin): don't add an indent for paragraphs inside
12058         tabular cells (fix #208).
12059
12060 2002-02-21  José Matos  <jamatos@fep.up.pt>
12061
12062         * tabular.C (docBook): fixed support for long tables.
12063
12064 2002-02-20  Juergen Vigna  <jug@sad.it>
12065
12066         * text2.C (getFont): get the drawing font of the Inset if this
12067         paragraph is inside an inset (only important for InsetERT for now).
12068
12069         * buffer.C (insertErtContents): use new lanugage params in ERT
12070         constructor.
12071
12072         * CutAndPaste.C: commenting out seemingly uneeded code.
12073
12074 2002-02-19  Allan Rae  <rae@lyx.org>
12075
12076         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12077         Iterators might be simple to use but they also get invalidated.
12078         (removeAutoInsets): renamed saved cursor tracking variables and added
12079         some comments to clarify what everything does.
12080
12081 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12082
12083         * Chktex.C:
12084         * LaTeX.C:
12085         * LyXSendto.C:
12086         * converter.C:
12087         * lyx_cb.C:
12088         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12089         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12090
12091         * lyxfunc.C:
12092         * vc-backend.h: remove #include "support/syscall.h"
12093
12094         * LaTeX.C:
12095         * LyXSendto.C:
12096         * converter.C: rearrange #includes in Lars' approved fashion.
12097
12098         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12099         forward declare class Timeout in the header file.
12100
12101         * XFormsView.C: changes due to the above.
12102
12103         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12104         similar to LyXView.
12105
12106         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12107         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12108
12109 2002-02-18  José Matos  <jamatos@fep.up.pt>
12110
12111         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12112         insets contents.
12113
12114 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12115
12116         * a lot of small ws changes
12117         * add a lot of using std::XXX
12118         * use std construcs some places where approp.
12119         * use some exisint stuff from lyxfunctional where approp.
12120         * Make file changes to use partial linking (lets test this now...)
12121
12122 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12123
12124         * Chktex.C:
12125         * buffer.C:
12126         remove #include "support/syscontr.h" as it's redundant. Always has been.
12127
12128         * Chktex.C:
12129         * LaTeX.C:
12130         * LyXSendto.C:
12131         * converter.C:
12132         * lyx_cb.C:
12133         * vc-backend.C:
12134         change Systemcalls::System to Systemcalls::Wait and
12135         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12136         No change of functionality, just reflects the stripped down Systemcalls
12137         class.
12138
12139 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12140
12141         * debug.[Ch]: add a GRAPHICS type to the enum.
12142
12143 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12144
12145         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12146
12147         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12148         there is an inset.
12149
12150 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12151
12152         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12153         match the changes below.
12154
12155         * text2.C (toggleInset): if there is not editable inset at cursor
12156         position, try to see if cursor is _inside_ a collapsable inset
12157         and close it.
12158
12159 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12160
12161         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12162         document menu has a nice checkbox
12163
12164 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * lyxlength.C (asLatexString): change PW to output as percent of
12167         \textwidth.
12168
12169         * lengthcommon.C: change '%' to 't%'
12170
12171         * lyxfunc.C (dispatch): a few comments from Martin
12172
12173 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * WorkArea.h:
12176         * WorkArea.C:
12177         * BufferView_pimpl.h:
12178         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12179           the X selection.
12180
12181 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12182
12183         * vspace.C (inPixels): fix compiler warning
12184
12185 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12186
12187         * lyxfunc.C (getStatus): fix status message for disabled commands.
12188
12189 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * BufferView_pimpl.C: fix crash on close buffer
12192         during selection (#227)
12193
12194 2002-01-27  Herbert Voss  <voss@lyx.org>
12195
12196         * buffer.C: link old Figure to new graphic inset
12197
12198 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12199
12200         * FontLoader.C (getFontinfo): Change the latex font names in order
12201         to match the names of type1inst.
12202
12203 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12204
12205         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12206
12207         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12208         (extchanged): ditto
12209         (ext_exist): ditto
12210         (remove_files_with_extension): ditto
12211         (remove_file): ditto
12212         (write): ditto
12213
12214         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12215         document is smaller than the work area height. Do not initialize
12216         static variables to 0.
12217
12218 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12219
12220         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12221
12222         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12223         LFUN_LAYOUT_PARAGRAPHS.
12224
12225         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12226         tabular. It is possible to provide a possible cell, which will
12227         typically be the actcell from the corresponding insettabular
12228
12229         * lyxfunc.C (getStatus): small cleanup; disable
12230         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12231         true
12232
12233 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12234
12235         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12236
12237         * paragraph.C (startTeXParParams):
12238         (endTeXParParams): new methods. The LaTeX code to
12239         start/end paragraph formatting
12240         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12241         empty (fixes bug #200)
12242
12243         * vspace.C (inPixels): adapt to the change below
12244         (inPixels): [later] more cleanups (remove unused variables)
12245
12246         * lyxlength.C (inPixels): change to use a width and a height as
12247         parameter.
12248
12249 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12250
12251         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12252         Replaced with \paperwidth
12253
12254         * DepTable.C (insert): add std:: qualifier
12255
12256 2002-01-18  Allan Rae  <rae@lyx.org>
12257
12258         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12259         updated also?
12260
12261         * text.C (drawInset): Turned out I didn't know enough about how
12262         rebreaking worked.  This fixes most of the redraw problems.  I see
12263         an occasional cursor trail when a line is broken now and the cursor
12264         placement can seem out by a few pixels also after a rebreak.
12265
12266 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12267
12268         * buffer.C (parseSingleLyXformat2Token): update because minipage
12269         width is now a LyXLength
12270
12271         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12272
12273         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12274         math insets
12275
12276 2002-01-17  Juergen Vigna  <jug@sad.it>
12277
12278         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12279
12280         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12281         is set correctly and the inset is updated correctly.
12282
12283 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12284
12285         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12286         the beginning of the loop.
12287
12288 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * lyxrc.C: improve help for use_scalable_fonts
12291
12292 2002-01-17  Allan Rae  <rae@lyx.org>
12293
12294         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12295
12296 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12297
12298         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12299         make sure to set their inset_owner to the right value (bug #171)
12300
12301 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12302
12303         * DepTable.h
12304         * DepTable.C: Implement mtime checking to reduce time spent doing
12305         CRCs.
12306
12307 2002-01-16  Juergen Vigna  <jug@sad.it>
12308
12309         * tabular.C (GetAdditionalHeight): one of error fixed.
12310
12311         * lyxrc.C (output): small fix in writing use_pspell.
12312
12313 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12314
12315         * sp_base.h: #include LString.h
12316
12317 2002-01-16  Allan Rae  <rae@lyx.org>
12318
12319         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12320         Can someone check this please?
12321
12322         * text.C (drawInset): It was possible that p.row would be removed by
12323         breakAgainOneRow upsetting a few other settings.  There may be another
12324         small tweak possible by setting need_break_row = 0 when p.row has been
12325         removed but I don't know enough about the logic here.
12326
12327 2002-01-15  Allan Rae  <rae@lyx.org>
12328
12329         * text.C (insertChar): removed conditional truism.
12330
12331         * BufferView2.C (removeAutoInsets): More tweaks.
12332         cur_par_prev could be a stray pointer.  Check for trailing empty line
12333         in case last line was cur_par and only had an error inset on it.
12334
12335 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12336
12337         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12338         absolute
12339
12340         * vc-backend.C (most methods):
12341         * exporter.C (Export):
12342         * converter.C (convert):
12343         (runLaTeX):
12344         * LyXSendto.C (SendtoApplyCB):
12345         * lyxfunc.C (dispatch):
12346         (menuNew):
12347         (open):
12348         (doImport):
12349         * lyx_cb.C (AutoSave):
12350         (InsertAsciiFile):
12351         * BufferView_pimpl.C (MenuInsertLyXFile):
12352         * buffer.C (runChktex): use Buffer::filePath().
12353
12354         * buffer.h: rename filename to filename_; rename filepath to
12355         filepath_ and make it private
12356         (filePath): new method
12357
12358         * buffer.C (writeFile): use fileName()
12359         (getLatexName):
12360
12361         * lyx_main.C (init): fix starting  of LyX when the binary is a
12362         link from so,ewhere else.
12363
12364         * minibuffer.C: include <cctype> for isprint
12365
12366 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12367
12368         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12369         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12370         name clash with InsetCollapsable's width function.
12371
12372 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12373
12374         * lastfiles.C: include <iterator>
12375
12376 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12377
12378         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12379         std::count.
12380
12381         * buffer.C (makeLaTeXFile): ditto.
12382         Also make loop operation more transparent.
12383
12384 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * ToolbarDefaults.C: remove trailing comma closing namespace.
12387
12388         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12389
12390         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12391         as in WorkArea.
12392
12393         * trans.C (Load): comment out unused variable, allowed.
12394
12395 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12396
12397         * minibuffer.[Ch] (append_char): new method to recieve input from the
12398         drop-down completion browser. If a key was pressed, then recieve this
12399         char and append it to the existing string.
12400         (peek_event): modify the positioning data passed to the completion
12401         browser so that it can be placed above the minibuffer rather than below.
12402 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12403
12404         * LyXAction.C (init): alloe error-next for readonly documents.
12405
12406         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12407         count.
12408
12409 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12410
12411         * bufferlist.C (readFile): create the buffer _after_ checking that
12412         the file exists.
12413
12414         * lyxfunc.C (verboseDispatch): fix handling of arguments
12415
12416         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12417
12418         * lyxrc.C: use string::erase() instead of initializing to "".
12419
12420
12421 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * BufferView_pimpl.h:
12424         * BufferView_pimpl.C:
12425         * WorkArea.h:
12426         * WorkArea.C:
12427         * text2.C: tell X when we have made a selection for copying
12428
12429 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12430
12431         * BufferView_pimpl.C (MenuInsertLyXFile):
12432         * lyxfunc.C (menuNew):
12433         (open):
12434         (doImport): add shortcuts to directory buttons
12435
12436         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12437         open a float)
12438
12439         * lyxfunc.C (setStatusMessage):
12440         (getStatusMessage): new methods
12441         (getStatus):use setStatusMessage instead of setErrorMessage
12442         (dispatch): when function is disabled, set error message here
12443         [instead of in getStatus previously]
12444
12445         * BufferView_pimpl.C (workAreaButtonRelease): update
12446         toolbar/menubar here too.
12447
12448 2002-01-13  Allan Rae  <rae@lyx.org>
12449
12450         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12451         Now seems indestructible.  Remaining task is to audit all other
12452         code affected by deleteEmptyParagraphMechanism.  One small quirk
12453         left is that an empty document with an error in the preamble can
12454         be made to report an error but no error box appears.  I don't know
12455         where it goes.
12456         (removeAutoInsets): Improved comments.
12457
12458 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * Thesaurus.h:
12461         * Thesaurus.C: update for Aiksaurus 0.14
12462
12463 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * text2.C (firstParagraph): removed member function, all uses
12466         replaces with ownerParagraph
12467         (redoParagraphs): here
12468         (updateInset): here
12469         (toggleAppendix): here
12470         * BufferView2.C (insertErrors): here
12471         (setCursorFromRow): here
12472
12473 2002-01-13  Allan Rae  <rae@lyx.org>
12474
12475         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12476         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12477         There is still a way to segfault this although you may have to do this
12478         multiple times: Have an InsetERT with an unknown command in it.
12479         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12480         <down-arrow>, <Enter> again, View->DVI, BANG!
12481
12482         * text2.C (setCursor):
12483         (deleteEmptyParagraphMechanism):
12484         * lyxtext.h (setCursor):
12485         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12486         Making use of the return value may help fix other bugs.
12487
12488 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12491
12492         * LyXView.C (updateMenubar): call MenuBar::update here
12493         (updateToolbar): but not here
12494         (showState): do not update toolbar/menubar
12495
12496         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12497         should need to care about that.
12498
12499         * lyxfunc.C (verboseDispatch): simplify a bit
12500         (getStatus): have a version which takes a pseudoaction, and
12501         another which requires a (kb_action,string).
12502
12503         * LyXAction.C (retrieveActionArg): make it work also when action
12504         is not a pseudo-action.
12505         (getActionName): simplify a bit
12506         (helpText):
12507
12508 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * lyxfunc.C (verboseDispatch): new families of methods with
12511         several ways to specify a command and a bool to indicate whether
12512         the command name and shortcut should be displayed in minibuffer
12513         (eventually, we could extend that to a finer bitmask like
12514         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12515         (dispatch): the pristine dispatch command which just, well,
12516         dispatchs! Note it still sets its result to minibuffer; I'm not
12517         sure we want that.
12518
12519         * lyxfunc.h: remove setHintMessage
12520
12521         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12522
12523 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * BufferView_pimpl.C (specialChar): delete new inset if we have
12526         not been able to insert it.
12527
12528         * kbmap.C: revert to using int instead of kb_action, since all we
12529         are dealing with is pseudo-actions.
12530
12531         * LyXAction.C (searchActionArg): change to return int instead of
12532         kb_action, since the result is a pseudoaction.
12533
12534 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12535
12536         * buffer.C (insertErtContents): Fix (partially) the font bug.
12537
12538 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12539
12540         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12541         as the other one is broken on my machine!
12542
12543 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12544
12545         * commandtags.h:
12546         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12547
12548 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12549
12550         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12551         reflect their actual use. Provide compatibility code for older lyxrc
12552         files.
12553
12554         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12555         FL_NORMAL_STYLE.
12556         change names of popup font variables in line with the changes to lyxrc.C
12557
12558 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12559
12560         * buffer.C (asciiParagraph): avoid outputing a word twice after
12561         an inset.
12562
12563         * lyxrc.C (getDescription): document that document_path and
12564         template_path can be empty.
12565
12566 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12567
12568         * LaTeXFeatures.C (getMacros):
12569         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12570
12571         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12572
12573         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12574         getPackages.
12575         (getPackages): rename feature "floats" to "float". Use an array to
12576         iterate over 'simple' features (i.e. just a \usepackage). Add
12577         handling of "amsmath" (renamed from "amsstyle").
12578
12579 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12580
12581         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12582         features list.
12583
12584 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12585
12586         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12587         FuncStaus::FuncStatus & FuncStaus::some_method().
12588
12589 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12590
12591         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12592         of the func_satus stuff. Edited and massaged in various ways by
12593         JMarc.
12594
12595         * lyxfunc.C (getStatus): use FuncStatus
12596
12597 2002-01-08  Juergen Vigna  <jug@sad.it>
12598
12599         * text.C (nextBreakPoint): use function Inset::isChar().
12600
12601         * paragraph.C (TeXOnePar): use function
12602         Inset::forceDefaultParagraphs.
12603
12604         * buffer.C (latexParagraphs): use function
12605         Inset::forceDefaultParagraphs.
12606
12607 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * lyx_gui.C (init): set the style of the menu popups to
12610         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12611
12612 2002-01-07  Juergen Vigna  <jug@sad.it>
12613
12614         * text.C (setHeightOfRow): small fix
12615         (prepareToPrint): don't look at alignment if we don't have the place
12616         for doing it.
12617
12618 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12619
12620         * box.C: New file. Move the Box methods and functions out of box.h,
12621         following Lars' suggestion.
12622
12623 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12624
12625         * box.h: #include "support/LOstream.h", needed for inlined function.
12626
12627         * lyxtextclass.C:
12628         * lyxtextclasslist.C: added some using std declarations.
12629
12630 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * box.h: make signed dimensions to allow insets wider than
12633           the screen (bug #162)
12634
12635         * BufferView_pimpl.C: add some insetHit debug
12636
12637 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * vc-backend.C: add FIXME
12640
12641 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12642
12643         * lyxfunc.C (getStatus): enable code for showing math font status
12644         in toolbar/menu.
12645
12646 2002-01-07  Juergen Vigna  <jug@sad.it>
12647
12648         * text.C (nextBreakPoint): removed debug output not needed anymore.
12649
12650 2002-01-06  Juergen Vigna  <jug@sad.it>
12651
12652         * text.C (nextBreakPoint): fixed up this function we had this bug
12653         since ever but now hopefully we break row better.
12654         (insertChar): we have to check if an inset is the next char as it
12655         could now happen that a large inset is causing a break.
12656
12657 2002-01-05  Juergen Vigna  <jug@sad.it>
12658
12659         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12660         if it doesn't like to be drawed.
12661
12662 2002-01-04  Juergen Vigna  <jug@sad.it>
12663
12664         * BufferView2.C (lockInset): forgot to set a cursor.
12665
12666         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12667
12668 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12669
12670         * FormMathsPanel.C:
12671         * FormMathsPanel.h
12672         * MathsSymbols.C:
12673         * form_maths_panel.C:
12674         * form_maths_panel.h:
12675         * form_maths_panel.fd: implemented sub- and super- buttons in math
12676         panel.
12677
12678         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12679         (or ^ space) to be used as in TeX (req'd by André).
12680
12681         * lyxfunc.C: Allow ^ and _ again to be used both as
12682         super/subscript (mathed) and as themselves (in text).
12683
12684 2002-01-03  Allan Rae  <rae@lyx.org>
12685
12686         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12687         "LyX" or the filename of the current buffer if it has one.  This is a
12688         modified form of John Levon's patch.
12689
12690         * XFormsView.C (setWindowTitle): also set icon title.
12691
12692         * LyXView.h (setWindowTitle): signature changed.
12693         * XFormsView.h (setWindowTitle): ditto.
12694
12695 2002-01-02  Juergen Vigna  <jug@sad.it>
12696
12697         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12698
12699 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12700
12701         * screen.C (topCursorVisible): introduce a temp var for
12702         text->cursor.row(), handle the case where this row is null. (kindo
12703         hachish)
12704
12705         * text2.C (setCursor): add a couple of asserts.
12706
12707         * paragraph.h (inset_iterator): add -> operator
12708
12709         * paragraph.[Ch] (autoDeleteInsets): remove member function
12710
12711         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12712         cursor pos correctly and handle inset deletion by itself.
12713         (insertErrors): move iterator declaration out of for expression
12714
12715         * lyxtextclass.C: add <algorithm>
12716
12717         * Makefile.am: added the new files to sources, removed layout.C
12718
12719         * layout.C: removed file
12720
12721         * layout.h: remove LYX_DUMMY_LAYOUT
12722
12723         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12724         layout.
12725
12726         * lyxlayout.[Ch]:
12727         * lyxtextclass.[Ch]:
12728         * lyxtextclasslist.[Ch]: new files
12729
12730         * include order changes to a lot of files, also changes because of
12731         the six new files.
12732
12733 2001-12-27  Juergen Vigna  <jug@sad.it>
12734
12735         * buffer.C (asciiParagraph): more fixes.
12736
12737         * tabular.C (ascii): make ascii export support export of only the
12738         data separated by a column-delimiter.
12739         (ascii): better support for ascii export.
12740
12741         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12742
12743 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12744
12745         * tabular_funcs.C: use a "using std::getline" instead of the
12746         previous fix from Angus (necessary for cxx + lyxstring)
12747
12748 2001-12-24  Juergen Vigna  <jug@sad.it>
12749
12750         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12751
12752         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12753         problems. First check a minipage also if we have some ert-contents
12754         (not only on par->size(), second set the right depth of the paragraph
12755         on the relink to the root-paragraph-list!
12756
12757         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12758         which then did not anymore update the main paragraphs on undo/redo!
12759
12760 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12761
12762         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12763         code. Support all font-changing funcs (even those which are not in
12764         menu currently). Support for reporting font settings in
12765         mathed (disabled until Andre provides a function on mathed's side).
12766
12767         * func_status.h (toggle): small helper function to set toggle
12768         state on a flag.
12769
12770 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12771
12772         * tabular_funcs.C: getline -> std::getline
12773
12774 2001-12-21  Juergen Vigna  <jug@sad.it>
12775
12776         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12777         accessed and could be 0 (I couldn't generate this but it seems
12778         Michael could!).
12779
12780 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12783         * tabular_funcs.h: here and include iosfwd
12784
12785 2001-12-20  Juergen Vigna  <jug@sad.it>
12786
12787         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12788         inside inset but undo_par was.
12789
12790 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12791
12792         * Thesaurus.C: always include <config.h> in sources.
12793
12794         * Painter.h:
12795         * lyxlookup.h:
12796         * box.h: do not include <config.h> in header files
12797
12798         * text.C (paintLastRow): remove unused variable
12799
12800         * text.C (transformChar):
12801         (insertChar):
12802         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12803
12804         * Painter.C (text):
12805         * font.C (width): rewrite to use uppercase() instead of
12806         islower/toupper.
12807
12808         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12809
12810 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12811
12812         * lyxfind.C: clean up of find failure position change
12813
12814 2001-12-20  Juergen Vigna  <jug@sad.it>
12815
12816         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12817
12818         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12819         (TeXRow): added to LaTeX a single tabular row.
12820         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12821         (Latex): simplified and finally good LT-h/f support.
12822         (various_functions): just small adaptions for LT-h/f support.
12823
12824         * tabular_funcs.[hC]: added and moved here all not classfunctions
12825         of LyXTabular.
12826
12827 2001-12-19  Juergen Vigna  <jug@sad.it>
12828
12829         * tabular.[Ch]: better support for longtabular options (not finished
12830         yet!)
12831
12832 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12833
12834         * text.C (paintLastRow): use the label font instead of the font of
12835         the last character to compute the size of *_BOX. This makes more
12836         sense and avoids a crash with empty paragraphs.
12837         Use Painter::rectangle to draw EMPTY_BOX.
12838
12839 2001-12-19  Juergen Vigna  <jug@sad.it>
12840
12841         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12842         the paragraphs if the replaced paragraph is not the first one!
12843         Tried to delete not used paragraphs but does not work yet so for
12844         now it's inside #ifdef's and by default off!
12845
12846 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12847
12848         * MenuBackend.C: include "lyx_main.h" instead of declaring
12849         lastfiles (actually was declared as LastFiles* instead of a
12850         scoped_ptr).
12851
12852 2001-12-17  Juergen Vigna  <jug@sad.it>
12853
12854         * tabular.C (AppendColumn): applied John's fix
12855
12856 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12857
12858         * BufferView.h:
12859         * BufferView.C:
12860         * BufferView_pimpl.h:
12861         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12862
12863         * Makefile.am:
12864         * box.h: new start of class for above
12865
12866         * lyxfunc.C: ignore space-only minibuffer dispatches.
12867           Show the command name when it doesn't exist
12868
12869         * minibuffer.C: don't add empty lines to the history
12870
12871         * minibuffer.C: add a space on dropdown completion
12872
12873 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * text.C: fix line above/below drawing in insets
12876
12877 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * lyxlength.C (LyXLength): Initialize private variables.
12880
12881 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12882
12883         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12884         when inserting error insets.
12885
12886 2001-12-13  Juergen Vigna  <jug@sad.it>
12887
12888         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12889         actually sometimes the before-paragraph.
12890         (setUndo): don't clear the redostack if we're not actually undoing!
12891
12892 2001-12-06  Juergen Vigna  <jug@sad.it>
12893
12894         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12895         and fixed redoing of main paragraph, so we can use it now ;)
12896
12897         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12898
12899 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12900
12901         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12902         Juergen's request
12903
12904 2001-12-13  André Pönitz <poenitz@gmx.net>
12905
12906         * undostack.[Ch]:
12907         * undo_func.C: minor cleanup
12908
12909 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12910
12911         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12912         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12913         font in urw-fonts package which is marked as -urw-fontspecific and
12914         does not work (incidentally, changing the encoding in the
12915         fonts.dir of this package to -adobe-fontspecific fixes the
12916         problem).
12917
12918         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12919         is a crash when undoing first paragraph (Juergen, please take a
12920         look). THis does not mean the undo fix is wrong, just that it
12921         uncovers problems.
12922
12923         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12924         the (Paragraph*) version when needed instead of duplicating the
12925         code.
12926
12927         * text.C (workWidth): use Inset::parOwner to find out where the
12928         inset has been inserted. This is a huge performance gain for large
12929         documents with lots of insets. If Inset::parOwner is not set, fall
12930         back on the brute force method
12931
12932         * paragraph_pimpl.C (insertInset):
12933         * paragraph.C (Paragraph):
12934         (cutIntoMinibuffer): set parOwner of insets when
12935         inserting/removing them
12936
12937         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12938
12939 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12940
12941         * commandtags.h:
12942         * LyXAction.C:
12943         * lyx_main.C:
12944         * lyxfunc.C:
12945         * mathed/formulabase.C:
12946         * mathed/math_cursor.[Ch]:
12947         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12948
12949
12950 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12951
12952         * lyxlength.[Ch] (operator!=): new function
12953
12954 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12955
12956         * text.C (workWidth): use Inset::parOwner to find out where the
12957         inset has been inserted. This is a huge performance gain for large
12958         documents with lots of insets. If Inset::parOwner is not set, fall
12959         back on the brute force method
12960
12961         * paragraph_pimpl.C (insertInset):
12962         * paragraph.C (Paragraph):
12963         (cutIntoMinibuffer): set parOwner of insets when
12964         inserting/removing them
12965
12966         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12967
12968 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12969
12970         * tabular-old.C (getTokenValue):
12971         * tabular.C (getTokenValue):
12972         (write_attribute): new versions for LyXLength
12973         (everywhere): adjust the use of widths
12974
12975         * tabular.h: change the type of widths from string to LyXLength
12976
12977 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12978
12979         * paragraph.C: fixed missing line number count when exporting
12980         Environments to LaTeX file
12981
12982         * buffer.C: added informational message for checking line numbers.
12983
12984 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12985
12986         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12987         paragraph, do the 'double space' part, but not the 'empty
12988         paragraph' one.
12989
12990         * text.C (workWidth): small optimization
12991         (getLengthMarkerHeight): use minimal size for negative lengths.
12992
12993 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12994
12995         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12996
12997         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12998
12999 2001-12-11  André Pönitz <poenitz@gmx.net>
13000
13001         * FontLoader.C:
13002         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13003
13004 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * text2.C: keep selection on a setFont()
13007
13008 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * lyx_cb.C: another bv->text misuse, from insert label
13011
13012 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13013
13014         * kbsequence.h:
13015         * kbsequence.C: re-instate nmodifier mask
13016
13017 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13018
13019         * lyx_main.h: make lyxGUI private.
13020
13021 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13022
13023         * lyxfind.C: place the cursor correctly on failed search
13024
13025 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13026
13027         * text.C (getLengthMarkerHeight): for small heights, the arrows
13028         are not always on top/bottom of the text
13029         (drawLengthMarker): smaller arrows; take the left margin in
13030         account; draw also vfills.
13031         (paintFirstRow):
13032         (paintLastRow): remove special code for vfill and standard spaces,
13033         since everything is handled in drawLengthMarker now.
13034
13035 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * buffer.C (insertErtContents): try to handle font and language
13038         interaction a bit better.g
13039
13040         * ColorHandler.C (updateColor): change the hash to cover the whole
13041         LColor enum, ws cleanup
13042         (getGCLinepars): ditto
13043         (getGCLinepars): only lookup in the linecache once.
13044
13045 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13046
13047         * iterators.C (operator++): Make the iterator more robust
13048
13049         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13050         (John's patch)
13051         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13052
13053 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13054
13055         * lyxtext.h:
13056         * text.C: better added space drawing
13057
13058 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13059
13060         * LyXView.C:
13061         * BufferView2.C: fix layout combo update on inset unlock
13062
13063 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13064
13065         * Makefile.am: don't compile unused files
13066
13067 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13068
13069         * lyxfunc.C:
13070         * commandtags.h:
13071         * LyXAction.C: remove old LFUN_LAYOUTNO
13072
13073 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13074
13075         * paragraph_pimpl.h:
13076         * paragraph_pimpl.C: isTextAt() doesn't need font param
13077
13078 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13079
13080         * lyxlex.h:
13081         * lyxlex.C: little cleanup
13082
13083 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13084
13085         * BufferView_pimpl.C: fix insertAscii for insets
13086
13087 2001-12-05  Juergen Vigna  <jug@sad.it>
13088
13089         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13090         set the right font on the "multi" paragraph paste!
13091
13092 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * trans_decl.h:
13095         * trans_mgr.[Ch]:
13096         * trans.[Ch]:
13097         * lyxgluelength.C:
13098         * lyxlength.C: remove out-commented code.
13099
13100         * BufferView_pimpl:
13101         * CutAndPaste.C:
13102         * DepTable.C:
13103         * buffer.C:
13104         * chset.C:
13105         * lastfiles.C:
13106         * lyxlex.C:
13107         * lyxlex_pimpl.C:
13108         * lyxserver.C:
13109         * screen.C:
13110         * tabular-old.C:
13111         * tabular.C:
13112         * text.C:
13113         * trans_mgr.C:
13114         * vc-backend.C: change "while(" to "while ("
13115
13116         * lyxlength.[Ch]: add zero function to check if length is zero or
13117         not
13118         * lyxgluelength.C: use it
13119
13120 2001-12-05  Allan Rae  <rae@lyx.org>
13121
13122         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13123         Works for 2.95.3, from what I understand of Garst's reports this should
13124         work for other g++ versions.  We're screwed if the abs(int) definition
13125         changed between bugfix releases of gcc.
13126
13127 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13128
13129         * text.C: fix chapter label offset !
13130
13131 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13132
13133         * lyxtext.h:
13134         * text.C: fix hfill at end of line, clean up
13135
13136 2001-12-04  Juergen Vigna  <jug@sad.it>
13137
13138         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13139         that we force an update of the inset and it's owners if neccessary.
13140
13141 2001-12-03  Juergen Vigna  <jug@sad.it>
13142
13143         * text.C (rowLast): simplified code
13144
13145 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13146
13147         * lyxfunc.C: fix show options on timeout
13148
13149 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * screen.C (topCursorVisible): scroll half a page when the cursor
13152         reached top of bottom of screen
13153
13154 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * minibuffer.C: deactivate on loss of focus
13157
13158 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * vspace.[Ch] (operator!=): add operator.
13161
13162 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * BufferView_pimpl.C: refuse to open an inset when
13165         there's a selection.
13166
13167 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * BufferView_pimpl.C: allow to click on RHS of full row insets
13170
13171 2001-11-30  Juergen Vigna  <jug@sad.it>
13172
13173         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13174         insets for undo reasons.
13175
13176 2001-11-28  André Pönitz <poenitz@gmx.net>
13177
13178         * vspace.[Ch]: cosmetical changes
13179
13180 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * LyXAction.h:
13183         * LyXAction.C:
13184         * lyxfunc.h:
13185         * lyxfunc.C:
13186         * kbmap.h:
13187         * kbmap.C:
13188         * lyxrc.C:
13189         * kbsequence.h:
13190         * kbsequence.C: part re-write of old kb code
13191
13192         * Painter.C:
13193         * WorkArea.C: remove Lgb_bug_find_hack
13194
13195 2001-11-30  José Matos <jamatos@fep.up.pt>
13196
13197         * buffer.C (makeDocBookFile): add a comment to point a hack.
13198         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13199         Fixed a double write of labels.
13200
13201 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13202
13203         * LaTeX.C:
13204         * LaTeX.h Fixed bug in LaTeX class where it would not
13205         re-run latex if no depfiles were changed, but the .dvi was removed.
13206
13207 2001-11-28  André Pönitz <poenitz@gmx.net>
13208
13209         * all the files from the change on 2001/11/26:
13210         use lyx::layout_type instead of LyXTextClass::size_type
13211         use lyx::textclass_type instead of LyXTextClassList::size_type
13212
13213 2001-11-29  Juergen Vigna  <jug@sad.it>
13214
13215         * text.C: added support for paragraph::isFreeSpacing()
13216
13217         * buffer.C: same as above
13218
13219         * paragraph.h: inserted isFreeSpacing() function to enable
13220         FreeSpacing inside InsetERT.
13221
13222         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13223         of the paragraph's in the cut/copy buffer to 0!
13224
13225         * text2.C (removeRow): remove the assert as it can!
13226
13227         * lyxtext.h: added helper function firstRow returning firstrow and
13228         made firstrow private again.
13229
13230         * BufferView2.C (lockInset): don't relock if we're already locked!
13231
13232         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13233         the only paragraph.
13234         (removeRow): added Assert::(firstrow)
13235
13236         * debug.C: forgot to add INSETTEXT here.
13237
13238 2001-11-28  Juergen Vigna  <jug@sad.it>
13239
13240         * sp_spell.C (initialize): changed error text to more general
13241         spellchecker command use (not only ispell!)
13242
13243         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13244
13245         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13246
13247 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * vspace.C: initialise lyxgluelength on failure
13250
13251 2001-11-28  Allan Rae  <rae@lyx.org>
13252
13253         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13254         declaration & definition that looks like a function declaration.
13255
13256 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13257
13258         * BufferView2.C (copy):
13259         (copyEnvironment): do not clear the selection when doing a copy.
13260
13261         * text.C (paintFirstRow): compilation fix
13262
13263 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13264
13265         * tabular.C (Latex): correct line count when writing latex.
13266
13267 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13268
13269         * paragraph_pimpl.h:
13270         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13271           bug a bit
13272
13273 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13274
13275         * text.C:
13276         * LColor.h:
13277         * LColor.C: change vfillline->added_space
13278
13279         * text.C: add markers and text for added space
13280
13281         * vspace.C: fix comment
13282
13283 2001-11-28  André Pönitz <poenitz@gmx.net>
13284
13285         * paragraph.C: whitespace changes
13286         * all the other files from the change on 2001/11/26:
13287         change *::pos_type into lyx::pos_type
13288
13289 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13290
13291         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13292         language of the document when inserting error insets.
13293
13294 2001-11-26  André Pönitz <poenitz@gmx.net>
13295
13296         * BufferView_pimpl.[Ch]:
13297         *       CutAndPaste.C:
13298         * buffer.[Ch]:
13299         * lyxcursor.[Ch]:
13300         * lyxfind.C:
13301         * lyxfunc.C:
13302         * lyxrow.[Ch]:
13303         * paragraph.[Ch]:
13304         * paragraph_pimpl.[Ch]:
13305         * sp_spell.C:
13306         * text.C:
13307         * text2.C: reduce header dependencies, introduce type for positions
13308
13309 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13310
13311         * <various>: change to use Alert.h
13312
13313 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13314
13315         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13316         when encountering an unknown token.
13317         (readLyXformat2): Show an error message if there were unknown tokens.
13318
13319 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13320
13321         * BufferView2.C:
13322         * BufferView_pimpl.C:
13323         * buffer.C:
13324         * paragraph.h:
13325         * text.C:
13326         * text2.C: use par->isInset()
13327
13328 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13329
13330         * paragraph_pimpl.h:
13331         * paragraph_pimpl.C: cleanup
13332
13333 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13334
13335         * text2.C (removeRow):
13336         * text.C (setHeightOfRow): remove useless (and costly) call to
13337         getRow.
13338
13339 2001-11-20  Allan Rae  <rae@lyx.org>
13340
13341         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13342         Now need Inset*::checkInsertChar() to return true for appropriate
13343         cases so that the characters in the minibuffer will actually be
13344         inserted.
13345
13346 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13347
13348         * text.C: change the order of the includes.
13349         (workWidth): initialize it at once.
13350         (workWidth): make maxw unsigned
13351         (setHeightOfRow): remove unused variable (inset)
13352         (selectSelectedWord): remove unused variable (inset)
13353         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13354
13355 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13356
13357         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13358         server is not running.
13359         (openConnection):
13360         (closeConnection): add debug info when server is disabled.
13361
13362         * ColorHandler.C (getGCForeground): send debug message to GUI
13363         channel.
13364
13365         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13366
13367         * kbmap.C (bind): modify because return conventions of
13368         kb_sequence::parse have changed.
13369
13370         * kbsequence.C (parse): only ignore spaces and not any stupid
13371         control character. This avoids tests like s[i] <= ' ', which are
13372         guaranteed to fail with 8bit characters and signed chars.
13373         Change return code to string::npos when there have been no error
13374         (0 was a bad idea when error is at first character)
13375
13376 2001-11-14  José Matos  <jamatos@fep.up.pt>
13377
13378         * buffer.h:
13379         * buffer.C (simpleDocBookOnePar): removed unused argument.
13380
13381 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13382
13383         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13384         insets which are part of a word. Paragraph::isLetter takes care of
13385         that now. Use Paragraph::isInset to identify insets.
13386         (selectSelectedWord): do not test for hyphenation break.
13387
13388         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13389         that protected spaces are considered as spaces.
13390
13391         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13392         Inset::isLetter.
13393
13394 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * lyxserver.h:
13397         * lyxserver.C: fix it. and small cleanup.
13398
13399 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13400
13401         * BufferView_pimpl.C: use inline helpers
13402
13403         * LaTeXFeatures.h:
13404         * LaTeXFeatures.C: fix typos
13405
13406         * Spacing.h:
13407         * Spacing.C: move spacing_string into class
13408
13409         * ToolbarDefaults.C: move stuff into namespace anon
13410
13411         * layout.h: update enum
13412
13413         * lyxfunc.C: use better debug
13414
13415         * minibuffer.h: fix typo
13416
13417         * debug.h:
13418         * debug.C:
13419         * WorkArea.C: add and use Debug::WORKAREA
13420
13421         * lyxtext.h:
13422         * text.C:
13423         * text2.C: code re-organisation, inline helpers
13424
13425 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13426
13427         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13428         std::vector.empty().
13429
13430 2001-11-09  Allan Rae  <rae@lyx.org>
13431
13432         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13433         '\n's after tables.  Tabular and ERT inset work now makes this no
13434         longer necessary.
13435
13436 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13437
13438         * minibuffer.h:
13439         * minibuffer.C: fix crash, improve drop-down completion
13440
13441 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13442
13443         * lyxserver.h:
13444         * lyxserver.C: invalidate fd's when doing endPipe()
13445
13446 2001-11-08  José Matos  <jamatos@fep.up.pt>
13447
13448         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13449         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13450
13451         * paragraph.h:
13452         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13453
13454 2001-11-07  José Matos  <jamatos@fep.up.pt>
13455
13456         * buffer.h:
13457         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13458         const qualifier.
13459
13460         * buffer.C (sgmlOpenTag):
13461         * buffer.C (sgmlCloseTag): removed debug info.
13462
13463         * buffer.h (sgmlOpenTag):
13464         * buffer.h (sgmlCloseTag): made public.
13465
13466 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13467
13468         * buffer.C (saveParamsAsDefaults):
13469         * lyx_cb.C (MenuLayoutSave): remove
13470
13471         * LyXAction.C (init):
13472         * commandtags.h:
13473         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13474
13475 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13476
13477         * buffer.C (setPaperStuff): removed from here...
13478
13479         * bufferparams.C (setPaperStuff): ... and moved there.
13480
13481 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13482
13483         * minibuffer.h:
13484         * minibuffer.C:
13485         * XFormsView.C: add support for drop-down completion
13486
13487 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13488
13489         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13490         commands.
13491
13492 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13493
13494         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13495         disabled.
13496
13497 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * lyx_main.C: change ref to known bugs
13500
13501 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13502
13503         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13504         to work around older babel problems.
13505
13506 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13507
13508         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13509
13510 2001-10-24  Juergen Vigna  <jug@sad.it>
13511
13512         * tabular-old.C (ReadOld): below variable changes reflected.
13513
13514         * tabular.[Ch]: added ltType struct for longtable header/footer
13515         defines and changed all instances where they are used. Added
13516         future support for double top/bottom rows.
13517
13518 2001-10-24  José Matos  <jamatos@fep.up.pt>
13519
13520         * buffer.h (docbookHandleCaption):
13521         * buffer.C (docbookHandleCaption): removed unused function.
13522         (makeDocBookFile): moved docbook supported version to v4.1.
13523
13524 2001-10-24  José Matos  <jamatos@fep.up.pt>
13525
13526         * tabular.h:
13527         * tabular.C (docbookRow): new function to export docbook code of a row.
13528         (DocBook): now honors the longtable flags.
13529
13530 2001-10-23  José Matos  <jamatos@fep.up.pt>
13531
13532         * LaTeXFeatures.h:
13533         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13534         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13535
13536         * buffer.C (makeLinuxDocFile):
13537         (makeDocBookFile): reworked the preamble, more clean, and with
13538         support for lyx defined entities. Changed the document declaration
13539         to be more XML friendly.
13540
13541         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13542         if we need to output XML that should be done with a filter.
13543
13544 2001-10-22  Juergen Vigna  <jug@sad.it>
13545
13546         * sp_pspell.h (class PSpell): add alive function needed in the
13547         controller to see if the spellchecker could be started.
13548
13549 2001-10-22  Juergen Vigna  <jug@sad.it>
13550
13551         * buffer.C (insertStringAsLines): modify the font for inserting
13552         chars in certain conditions by calling checkInsertChar(font).
13553
13554 2001-10-19  Juergen Vigna  <jug@sad.it>
13555
13556         * text.C (workWidth): use getRow instead of wrong algorithm.
13557         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13558
13559 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * lyxserver.h:
13562         * lyxserver.C:
13563         * lyx_main.h:
13564         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13565
13566 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * text.C (workWidth): do not search for the exact row when
13569         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13570         optimization for big documents.
13571
13572 2001-10-18  Juergen Vigna  <jug@sad.it>
13573
13574         * text.C (workWidth): new function with added Inset * parameter.
13575
13576 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13577
13578         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13579
13580         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13581         change return type of getColumnNearX.
13582
13583
13584         * text.C (changeRegionCase): use uppercase/lowercase instead of
13585         toupper/tolower.
13586         (leftMargin):
13587         (rightMargin): simplify code by factoring out the uses of
13588         textclasslist.
13589         (labelFill):
13590         (numberOfHfills):
13591         (setHeightOfRow):
13592         (appendParagraph): use Paragraph::size_type
13593
13594 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13595
13596         * vspace.C (asLatexString): add a missing break
13597
13598 2001-10-15  Herbert Voss  <voss@perce.de>
13599
13600         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13601
13602 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13603
13604         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13605         is not available.
13606
13607 2001-10-10  André Pönitz <poenitz@gmx.net>
13608
13609         * lyxfunc.C: removed greek_kb_flag.
13610
13611 2001-10-10  Herbert Voss  <voss@perce.de>
13612
13613         * lyx_main.C: delete global string help_lyxdir.
13614
13615 2001-10-09  Herbert Voss  <voss@perce.de>
13616
13617         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13618
13619         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13620
13621         * lyx_main.C: added global string help_lyxdir.
13622
13623         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13624
13625 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13626
13627         * lyxrc.C (set_font_norm_type): support iso8859-4
13628
13629 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13630
13631         * LaTeX.C (deplog): add another regex for MikTeX
13632
13633 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13634
13635         * lyxrc.C (set_font_norm_type): support iso8859-3
13636
13637 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13638
13639         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13640
13641         * LaTeXFeatures.C: remove special case of french and index
13642
13643         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13644         before \begin{document}). This solves several incompatibilities.
13645
13646 2001-10-03  Garst Reese  <reese@isn.net>
13647
13648         * lyx_cb.C: change CheckTex error msg.
13649
13650 2001-10-03  José Matos  <jamatos@fep.up.pt>
13651
13652         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13653
13654 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * .cvsignore: update
13657
13658         * lyx_main.C (commandLineVersionInfo): use new style version info.
13659
13660         * buffer.C (writeFile):
13661         (makeLaTeXFile):
13662         (makeLinuxDocFile):
13663         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13664
13665         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13666
13667         * version.h: update to use stuff in version.C
13668
13669         * version.C.in: new file. Contains version information determined
13670         at compile time. This is a merging of version.h and
13671         version_info.h.in.
13672
13673 2001-10-03  Juergen Vigna  <jug@sad.it>
13674
13675         * BufferView_pimpl.C (update): don't change "dirty" status in
13676         updateInset call.
13677
13678 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13679
13680         * WorkArea.C (c-tor): re-position version string slightly.
13681
13682 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13683
13684         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13685         revert to previous code.
13686
13687         WorkArea.[Ch]: (show, destroySplash): methods removed.
13688
13689         WorkArea.C: rework code so that it's an amalgam of the codes before and
13690         after the splash screen was moved to WorkArea.
13691
13692 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13693
13694         * lyxrc.C (read):
13695         * vspace.C (inPixels):
13696         (lyx_advance):
13697         * kbmap.C (bind):
13698         * buffer.C (insertStringAsLines):
13699         (asciiParagraph): fix types to be large enough
13700
13701         * lyxlex_pimpl.h: change member status from short to int
13702
13703         * layout.h: fix type of endlabeltype
13704
13705         * kbmap.C (bind):
13706         * kbsequence.C (parse): change return type to string::size_type
13707
13708         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13709         variable
13710
13711         * Bullet.C (bulletSize):
13712         (bulletEntry): do not use short ints as parameters
13713
13714         * BufferView2.C (insertLyXFile): change a char to an int.
13715
13716         * WorkArea.C (WorkArea): remove unneeded floats in computation
13717
13718 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13719
13720         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13721
13722         * paragraph.C (asString): Do not ignore newline/hfill chars when
13723         copying to the clipboard.
13724
13725 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13726
13727         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13728         after a multi-line inset.
13729
13730 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13731
13732         * paragraph.C (validate): Set NeedLyXFootnoteCode
13733
13734 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13735
13736         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13737         and decrease-error to decrease.
13738
13739 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13740
13741         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13742         it more readable (should be equivalent)
13743
13744 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13745
13746         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13747
13748 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13749
13750         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13751         of a cursor (row, etc.) after a character has been deleted
13752         (deleteEmptyParagraphMechanism): call the method above on _all_
13753         cursors held by the LyXText when a double space has been
13754         detected/deleted.
13755
13756 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13759         pixmap.
13760         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13761
13762         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13763         background. Use greyOut() and the new show() methods to toggle between
13764         the foreground and background. Add code to remove the splash after
13765         its initial showing.
13766
13767         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13768         (create_forms): no longer call Dialogs::showSplash.
13769
13770 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13771
13772         * .cvsignore: add version_info.h
13773
13774 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13775
13776         * version_info.h.in: new file
13777
13778         * Makefile.am: add version_info.h.in
13779
13780         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13781         version_info.h instead of VERSION_INFO
13782
13783 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13784
13785         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13786         The ERT inset now returns string().
13787
13788 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13789
13790         * lyxtext.h, text.C (selectNextWord): renamed as
13791         selectNextWordToSpellcheck.
13792
13793         * text.C (selectNextWordToSpellcheck): Modified to not select
13794         words inside an ERT inset.
13795
13796 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13797
13798         * lyx_cb.C (MenuLayoutSave): change a bit the question
13799
13800         * sp_base.h: include <sys/types.h>
13801
13802 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13803
13804         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13805
13806 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13807
13808         * several files: fix typos in user-visible strings
13809
13810 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13811
13812         * text2.C (pasteSelection): do not set the selection, since it
13813         will be cleared later. Actually, the intent was to fix the way the
13814         selection was set, but I figured rmoving the code was just as good.
13815
13816 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13817
13818         * FontLoader.C (available): Check if font is available without
13819         loading the font.
13820
13821 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13822
13823         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13824
13825 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13826
13827         * lyxrc.[Ch]: added display_graphics variable and associated code.
13828
13829 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13830
13831         * bufferparams.C (hasClassDefaults): new method. Returns true if
13832         the buffer parameters correspond to known class defaults
13833
13834 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13835
13836         * XFormsView.C (show): set minimum size to the main window.
13837
13838 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13839
13840         * text2.C (copySelection):
13841         (cutSelection):
13842         * lyxfind.C (LyXReplace):
13843         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13844         LyXText::selectionAsString.
13845
13846         * paragraph.C (asString): add "label" argument to the second form
13847
13848         * text2.C (selectionAsString): add "label" argument and pass it to
13849         Paragraph::asString.
13850
13851 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13852
13853         * lyx_main.C (commandLineHelp): remove version information
13854
13855 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13856
13857         * lyx_main.C: add -version commandline option
13858
13859 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13860
13861         * paragraph.h: make the optional constructor arg required instead.
13862         some modifications to other files because of this.
13863
13864         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13865
13866         * lyxserver.C (C_LyXComm_callback): make it static
13867
13868         * lyx_main.C (error_handler): make it static
13869
13870         * lyx_gui.C (LyX_XErrHandler): make it static
13871
13872         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13873
13874         * WorkArea.C: make the extern "C" methods static.
13875
13876         * Makefile.am (lyx_LDADD): simplify
13877
13878 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13879
13880         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13881         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13882
13883         * LyXAction.C (init):
13884         * lyxfunc.C (dispatch): associated code removal.
13885
13886 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13887
13888         * lyxfont.h (isSymbolFont): shut off warning
13889
13890         * text.C (setHeightOfRow):
13891         (getVisibleRow): fix crash with empty paragraphs which have a
13892         bottom line
13893
13894 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13895
13896         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13897         code.
13898
13899 2001-09-04  José Matos  <jamatos@fep.up.pt>
13900         * buffer.C
13901         * buffer.h
13902         * tabular.C (docbook): rename docBook method to docbook.
13903
13904 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13905
13906         * Makefile.am: add dependencies to main.o.
13907
13908 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13909
13910         * FontLoader.C (available): Return false if !lyxrc.use_gui
13911
13912 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13913
13914         * FontInfo.C (query):
13915         * converter.C (view):
13916         * importer.C (Import):
13917         * exporter.C (Export): Can not -> cannot.
13918
13919 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * BufferView_pimpl.C: allow to create index inset even if
13922           string is empty
13923
13924 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13925
13926         * buffer.C (getLists): replace boost::tie code with an explicit pair
13927         as boost::tie can break some compilers.
13928
13929         * iterators.h: Added a std:: declaration to the return type of
13930         ParIterator::size.
13931
13932 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13933
13934         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13935           case.
13936
13937 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13938
13939         * iterators.[Ch]: New files. Provide paragraph iterators.
13940
13941         * buffer.C (changeLanguage): Use paragraph iterators.
13942         (isMultiLingual): ditto
13943
13944         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13945
13946 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * FontLoader.C: Support for cmr font.
13949
13950 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13953         (available): New method.
13954
13955         * FontInfo.C (getFontname): Use scalable fonts even when
13956         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13957         found.
13958
13959 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * converter.C (Formats::view): reverted! Incorrect fix.
13962
13963 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * converter.C (Formats::view): only output the -paper option
13966         if the dvi viewer is xdvi, thereby fixing bug #233429.
13967
13968 2001-08-23  Herbert Voss  <voss@perce>
13969
13970         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13971
13972 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13973
13974         * Spacing.h (Spacing): Set space to Default on in the default
13975         constructor.
13976
13977 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * vc-backend.h (RCS::versionString): add RCS to version
13980         (CVS::versionString): add CVS to version
13981
13982         * vc-backend.C (scanMaster): do not add CVS to version.
13983         (scanMaster): do not add RCS to version
13984
13985         * lyxvc.C (versionString): new method
13986
13987         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13988
13989 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13990
13991         * Spacing.C (set): initialize fval
13992
13993 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13994
13995         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13996         " or \.
13997
13998 2001-08-16  Juergen Vigna  <jug@sad.it>
13999
14000         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14001
14002 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14003
14004         * BufferView_pimpl.C:
14005         * figureForm.C:
14006         * lyxtext.h:
14007         * text2.C: setParagraph takes linespacing now
14008
14009 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14010
14011         * LyxAction.C: add internal LFUN_CITATION_INSERT
14012
14013         * LyXView.C: actually apply fix
14014
14015         * bufferlist.C: fix open non-existent file
14016
14017         * lyxfind.C: fix indentation
14018
14019         * lyxfunc.C: remove unneeded assert, fix typo
14020
14021 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14022
14023         * MenuBackend.C: use "Floatname List"
14024
14025 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14026
14027         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14028         when converting LaTeX layout to insetERT.
14029         Generate a non-collapsed float when reading old float
14030
14031 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14032
14033         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14034         ERT insets.
14035
14036 2001-08-13  Juergen Vigna  <jug@sad.it>
14037
14038         * text.C (fill): return 0 instead of 20 as this seems to be the more
14039         correct value.
14040
14041 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14042
14043         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14044         lyxrc.font_norm.
14045
14046 2001-08-13  Juergen Vigna  <jug@sad.it>
14047
14048         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14049         casesensitive off.
14050         (SearchBackward): comment out the unlocking of the inset_owner this
14051         should not be needed!
14052
14053 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14054
14055         * Many files: Remove inherit_language, and add latex_language
14056
14057         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14058         collapsible insets.
14059
14060 2001-08-10  Juergen Vigna  <jug@sad.it>
14061
14062         * text.C (prepareToPrint): fixed hfill-width in draw!
14063
14064         * BufferView2.C (selectLastWord): save the selection cursor as this
14065         now is cleared in the function LyXText::clearSelection!
14066
14067 2001-08-08  Juergen Vigna  <jug@sad.it>
14068
14069         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14070         BACKSPACE type functions.
14071
14072         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14073         is only cutted from the document but not put in the cut-buffer, where
14074         still the old stuff should be.
14075
14076         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14077
14078         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14079
14080         * tabular.C (SetWidthOfCell): fixed special case where the width
14081         was not updated!
14082         (LeftLine): handle '|' in align_special.
14083         (RightLine): ditto
14084         (LeftAlreadyDrawed): ditto
14085         (SetWidthOfCell): ditto
14086
14087 2001-08-07  Juergen Vigna  <jug@sad.it>
14088
14089         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14090
14091 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14094         * lyxlex.[hC]: ditto
14095
14096 2001-08-06  Juergen Vigna  <jug@sad.it>
14097
14098         * text.C (getVisibleRow): fix up row clearing a bit.
14099
14100 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14101
14102         * minibuffer.C: make sure the X server sees the changes in the input.
14103
14104 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14105
14106         * paragraph.C (getFont): split into...
14107         (getLabelFont): this
14108         (getLayoutFont): and this
14109         * paragraph_pimpl.C (realizeFont): calling this
14110
14111         * text2.C (getFont): split into...
14112         (getLayoutFont): this
14113         (getLabelFont): and this
14114         (realizeFont): all three calling this
14115
14116         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14117         files where used.
14118
14119 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14120
14121         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14122
14123 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14124
14125         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14126         layouts from the Quote inset insertion.
14127
14128 2001-08-03  Juergen Vigna  <jug@sad.it>
14129
14130         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14131
14132         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14133         only if status not is already CHANGED_IN_DRAW (second level).
14134
14135         * text.C (draw): don't set the need_break_row when inside an
14136         InsetText LyXText.
14137
14138 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14139
14140         * buffer.C (parseSingleLyXformat2Token): handle more latex
14141         conversion cases.
14142
14143         * bufferview_funcs.[hC]: change function names to
14144         begin with small char, adjust other files.
14145
14146 2001-08-02  André Pönitz <poenitz@gmx.net>
14147
14148         * lyxfunc.C:
14149         BufferView_pimpl.C: remove broken special code for math-greek
14150
14151 2001-08-02  Juergen Vigna  <jug@sad.it>
14152
14153         * BufferView_pimpl.C (update): redone this function so that we
14154         update the text again if there was a CHANGE_IN_DRAW.
14155
14156         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14157         (drawFromTo): added a new internal bool which is used by draw() and
14158         redraw() function.
14159         (general): some cursor drawing problems fixed.
14160
14161 2001-08-01  Juergen Vigna  <jug@sad.it>
14162
14163         * lyxfind.C (LyXFind): fixed
14164         (SearchForward): ditto
14165         (SearchBackward): ditto
14166
14167         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14168         spurius drawing of the cursor in the main area.
14169
14170         * text2.C (status): small fix which could lead to a segfault!
14171         (clearSelection): remove unneeded BufferView param.
14172
14173 2001-08-01  André Pönitz <poenitz@gmx.net>
14174
14175         * lyxfunc.C: small change due to changed mathed interface
14176
14177 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14180
14181 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14182
14183         * lyxfunc.c: fail gracefully if file doesn't exist
14184
14185         * LyXSendto.C:
14186         * buffer.C:
14187         * lyxfunc.C:
14188         * BufferView_pimpl.C: IsDirWriteable() proto changed
14189
14190         * LyXView.C: fix updateWindowTitle() to store the last title
14191
14192 2001-07-31  Juergen Vigna  <jug@sad.it>
14193
14194         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14195         the font (wrong since using of Paragraph::highestFontInRange).
14196
14197         * paragraph.C (highestFontInRange): added a default_size parameter.
14198
14199         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14200         (setHeightOfRow): reformat
14201
14202 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14203
14204         * converter.[hC] + affected files: move to (inital-char)lowercase
14205         function names.
14206
14207         * ParagraphParameters.C (ParagraphParameters): remove commented code
14208
14209         * PainterBase.[Ch]: remove commented code
14210
14211         * LaTeXFeatures.h: add "bool floats" for float.sty
14212
14213         * LaTeXFeatures.C (LaTeXFeatures): init floats
14214         (require): handle float
14215         (getPackages): do it with floats
14216
14217 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14218
14219         * BufferView_pimpl.C (Dispatch): improve handling of
14220         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14221
14222         * commandtags.h: #include lyxfont.h here temporarily to avoid
14223         keybinding bug.
14224
14225         * bufferlist.h: include LString.h here.
14226
14227 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14228
14229         * text2.C (getStringToIndex): new method.
14230
14231 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14232
14233         * *: Reduced header file dependencies all over.
14234
14235 2001-07-30  Baruch Even  <baruch@lyx.org>
14236
14237         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14238
14239 2001-07-29  Baruch Even  <baruch@lyx.org>
14240
14241         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14242
14243 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * ParameterStruct.h (endif): add a default constructor to make
14246         sure that all variables is initialized.
14247
14248         * ParagraphParameters.C (ParagraphParameters): adjust
14249
14250 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14253         index; also, check that there is something to index, and that it
14254         does not span over several paragraphs.
14255         (doubleClick): use WHOLE_WORD_STRICT for double click.
14256
14257         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14258
14259         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14260         scheme.
14261
14262 2001-07-26  Baruch Even  <baruch@lyx.org>
14263
14264         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14265         an InsetFig figure, backwards compatible reading of old figure code.
14266
14267 2001-07-27  Juergen Vigna  <jug@sad.it>
14268
14269         * text2.C: font.realize function adaption.
14270
14271         * text.C (draw): add a warnings lyxerr text if needed.
14272
14273         * layout.C: font.realize function adaption.
14274
14275         * language.C: add inherit_language and implement it's handlings
14276
14277         * bufferview_funcs.C (StyleReset): remove language parameter from
14278         font creation (should be language_inherit now).
14279
14280         * bufferparams.C (writeFile): handle ignore_language.
14281
14282         * paragraph.C (getFontSettings): the language has to be resolved
14283         otherwise we have problems in LyXFont!
14284
14285         * lyxfont.C (lyxWriteChanges): added document_language parameter
14286         (update): removed unneeded language parameter
14287
14288         * paragraph.C (validate): fixed wrong output of color-package when
14289         using interface colors for certain fonts in certain environments,
14290         which should not seen as that on the final output.
14291
14292 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14293
14294         * BufferView_pimpl.C:
14295         * Thesaurus.h:
14296         * Thesaurus.C:
14297         * Makefile.am:
14298         * commandtags.h:
14299         * LyXAction.C: add thesaurus support
14300
14301         * lyxfind.h:
14302         * lyxfind.C: add "once" parameter, for thesaurus, to not
14303           move to the next match
14304
14305 2001-07-26  Juergen Vigna  <jug@sad.it>
14306
14307         * lyxfont.C (realize): honor ignore_language too!
14308         (resolved): ditto.
14309
14310         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14311
14312         * text.C (draw): one place more for ignore_language to not draw
14313         itself!
14314
14315 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14316
14317         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14318
14319 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14320
14321         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14322         the minipage conversion problem.
14323
14324 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14327         insert an inset.
14328
14329 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14330
14331         * BufferView.h: don't forward declare WorkArea
14332
14333         * BufferView.C: don't include WorkArea.h
14334
14335 2001-07-25  André Pönitz <poenitz@gmx.net>
14336
14337         * commandtags.h:
14338         * LyXAction.C:
14339         * lyxfunc.C:  new LFUN 'math-space'
14340
14341         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14342
14343 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14344
14345         * text2.C (toggleInset): call open/close
14346
14347 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * lyxfunc.C (dispatch): add debug for the disabled case
14350
14351         * font.C (buttonText): make similar to rectText
14352
14353         * buffer.C (readInset): comment out parsing of insetlist and
14354         insttheorem
14355
14356         * PainterBase.C (rectText): small correction
14357
14358         * BufferView_pimpl.C: comment out insettheorem and insetlist
14359         * LyXAction.C: ditto
14360         * commandtags.h: ditto
14361
14362 2001-07-24  Juergen Vigna  <jug@sad.it>
14363
14364         * text.C (draw): honor the ignore_language.
14365
14366         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14367
14368 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14371         char inset.
14372
14373 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14374
14375         * lyxtext.h: remove unused (and unimplemented) methods
14376
14377 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14378
14379         * text.C (getVisibleRow): honor background color
14380
14381         * PainterBase.h:
14382         * Painter.h: remove default color argument for fillRectangle
14383
14384         * text.C (backgroundColor): new method
14385
14386 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * text.C (getVisibleRow): adjust
14389
14390         * font.[Ch] (rectText): new method, metrics
14391         (buttonText): new method, metrics
14392
14393         * PainterBase.[hC]: make rectText and buttonText always draw and take
14394         fewer paramteres.
14395
14396 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14397
14398         * ToolbarDefaults.C (read):
14399         * MenuBackend.C (read): allow escaping in all strings
14400
14401         * BufferView_pimpl.C (insertAndEditInset): new method.
14402         (Dispatch): use insertAndEditInset whenever appropriate.
14403
14404         * BufferView_pimpl.C (insertNote): removed
14405
14406         * BufferView_pimpl.C (smartQuote): new method, moved from
14407         BufferView; if an insetquote cannot be inserted, insert a '"'
14408         character instead.
14409
14410         * BufferView2.C: remove insertCorrectQuote();
14411
14412         * lyxfunc.C (getStatus): Add support for all remaingin
14413         inset-insert lfuns.
14414
14415         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14416
14417         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14418         command (necessary to pass " as parameter of self-insert.
14419
14420         * text.C (selectWordWhenUnderCursor):
14421         (selectWord): add word_location parameter
14422         (selectWordWhenUnderCursor): same + remove special code for word
14423         boundary.
14424         (selectNextWord): use kind() to guess type of insetspecialchar,
14425         not latex().
14426
14427         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14428         (insertErtContents): create ert insets as collapsed.
14429         (readInset): better compatibility code for Info inset.
14430
14431 2001-07-20  Juergen Vigna  <jug@sad.it>
14432
14433         * lyxfunc.C (dispatch): use always LyXFind now!
14434
14435         * text2.C (init): add a reinit flag so that the LyXText can be
14436         reinited instead of deleted and reallocated (used in InsetText).
14437
14438         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14439
14440         * text.C: ditto
14441
14442         * text2.C: ditto
14443
14444 2001-07-18  Juergen Vigna  <jug@sad.it>
14445
14446         * text.C (selectNextWord): handle insets inside inset by calling
14447         always the bv->text functions so that we can go up the_locking_inset!
14448
14449         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14450         in strange locations when inside an inset!
14451
14452         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14453         handling to include insets.
14454
14455         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14456
14457 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14458
14459         * LyXAction.C (init):
14460         * commandtags.h:
14461         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14462         LIGATURE_BREAK, since the name is so stupid.
14463
14464 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14465
14466         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14467         InsetInfos.
14468
14469         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14470
14471         * sp_form.[Ch]: remove.
14472
14473         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14474
14475         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14476         InsetInfo.
14477
14478         * src/buffer.C (readInset): ditto.
14479
14480 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14481
14482         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14483         menuSeparator(), endOfSentenceDot(), ldots() and
14484         hyphenationPoint(), which are therefore removed.
14485         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14486
14487         * LyXAction.C (init):
14488         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14489
14490         * paragraph.C (getWord): removed.
14491
14492         * BufferView_pimpl.C (Dispatch): use last word or selection for
14493         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14494
14495         * lyx_main.C (queryUserLyXDir): do not ask before creating
14496         user_dir, except if it has been named explicitely.
14497
14498 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14499
14500         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14501         a document of zero size.
14502
14503 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14504
14505         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14506         approriately in the c-tor and in require().
14507         (getPackages): output the appropriate LaTeX for natbib support.
14508
14509         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14510         variables "use_natbib" and "use_numerical_citations" when reading the
14511         LyX file.
14512         (readInset): read the various natbib cite commands.
14513         (validate): white-space change.
14514
14515         * bufferparams.[Ch]: new variables "bool use_natbib" and
14516         "bool use_numerical_citations".
14517         (writeFile): output them in the LyX file.
14518
14519 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14520
14521         * lyxfunc.C (getStatus): add support for all the inset insertion
14522         commands.
14523
14524         * text2.C (insertInset):
14525         * paragraph.C (insetAllowed):
14526         * BufferView_pimpl.C (insertInset): update to take in account the
14527         renaming of insertInsetAllowed
14528
14529         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14530
14531         * text2.C (getInset): new method. returns inset at cursor position.
14532
14533         * BufferView_pimpl.C (Dispatch): changes because of this.
14534
14535         * LyXAction.C (init): rename open-stuff to inset-toggle.
14536
14537         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14538
14539         * text2.C (toggleInset): renamed from openStuff; use
14540         Inset::open().
14541
14542 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14543
14544         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14545
14546         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14547
14548 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14549
14550         * buffer.C (readLyXformat2): Add filename to the error dialog
14551
14552 2001-07-18  Juergen Vigna  <jug@sad.it>
14553
14554         * tabular.C (GetCellNumber): put an assert here instead of the check!
14555
14556 2001-07-17  Juergen Vigna  <jug@sad.it>
14557
14558         * BufferView_pimpl.C (toggleSelection): adapted too.
14559
14560         * text.C (selectNextWord): adapted for use with insets.
14561         (selectSelectedWord): ditto
14562
14563 2001-07-17  Juergen Vigna  <jug@sad.it>
14564
14565         * sp_spell.C (PSpell): fix initialitation order.
14566
14567 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14568
14569         * paragraph.C: spacing
14570
14571 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14572
14573         * sp_spell.C: repair language selection for pspell
14574
14575 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * lyxfunc.h: change more methods to begin with lower char.
14578
14579 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14580
14581         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14582         for unknown layouts.
14583
14584 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14585
14586         * buffer.C (readLyXformat2): Generate an error dialog if there are
14587         unknown layouts.
14588
14589 2001-07-16  Juergen Vigna  <jug@sad.it>
14590
14591         * sp_spell.C: always compile ISpell part.
14592
14593         * lyxrc.C: added use_pspell entry and it's handling.
14594
14595 2001-07-13  Juergen Vigna  <jug@sad.it>
14596
14597         * sp_spell.C: removed double includes.
14598
14599 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14600
14601         Consistent use of Lsstream.h:
14602         * Lsstream.h: added using std::stringstream for consistencies sake.
14603
14604         * buffer.C: removed using std::stringstream
14605
14606         * lyxfont.C (stateText):
14607         * paragraph.C (asString):
14608         * text.C (selectNextWord, selectSelectedWord):
14609         * text2.C (setCounter):
14610         * vspace.C (asString, asLatexString):
14611         std::ostringstream -> ostringstream.
14612
14613 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14614
14615         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14616         * commandtags.h: add LFUN_HELP_ABOUTLYX
14617         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14618
14619 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14620
14621         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14622         cursorToggle()
14623         * lyx_gui_misc.C: remove spellchecker
14624         * lyxfunc.C: showSpellchecker
14625         * sp_base.h: added
14626         * sp_ispell.h: added
14627         * sp_pspell.h: added
14628         * sp_spell.C: added
14629         * sp_form.[Ch]: removed
14630         * spellchecker.[Ch]: removed
14631
14632 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14633
14634         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14635         is set.
14636         (simpleTeXSpecialChars): Simply print the input character without
14637         any special translation if pass_thru is set.
14638
14639         * layout.h: Added bool pass_thru to layout class for being able to
14640         implement pass through of a paragraph for Literate Programming.
14641
14642         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14643         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14644         * layout.C (Read): add "passthru" to list of layout tags and add
14645         code to set the pass_thru boolean when it is read.
14646
14647 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * trans_decl.h: remove allowed from KmodInfo
14650
14651         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14652         remove allowed code
14653         (Load): adjust
14654
14655         * paragraph_pimpl.C (erase): use boost::prior
14656
14657         * Painter.C (text): use data() instead of c_str() when length is
14658         also provided.
14659         * WorkArea.C (putClipboard): ditto
14660         * font.h (width): ditto
14661
14662         * BufferView2.C: use it-> instead of (*it). for iterators
14663         * texrow.C: ditto
14664         * paragraph_pimpl.C: ditto
14665         * paragraph.C: ditto
14666         * minibuffer.C: ditto
14667         * language.C: ditto
14668         * kbmap.C: ditto
14669         * encoding.C: ditto
14670         * counters.C: ditto
14671         * converter.C: ditto
14672         * chset.C: ditto
14673         * Variables.C: ditto
14674         * TextCache.C: ditto
14675         * MenuBackend.C: ditto
14676         * LyXAction.C: ditto
14677         * LColor.C: ditto
14678         * FloatList.C: ditto
14679         * DepTable.C: ditto
14680         * ColorHandler.C (LyXColorHandler): ditto
14681
14682 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14683
14684         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14685
14686         * text2.C (openStuff): reintroduce this method (which had been
14687         nuked in NEW_INSETS frenzy).
14688
14689         * lyxfunc.C (Dispatch): when an action has not been handled, use
14690         its name in the error message, not its number.
14691
14692         * paragraph.C (inInset): change method name to begin with lowercase.
14693
14694         * undo_funcs.C:
14695         * text2.C: updates because of this.
14696
14697 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * ToolbarDefaults.C (add): add spaces in error message
14700
14701 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14702
14703         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14704         (readLyXformat2): rename return_par to first_par, use lyxlex's
14705         pushToken and remove the manual push handling.
14706         (parseSingleLyXformat2Token): add another ert comp. variable:
14707         in_tabular, rename return_par to first_par. handle newlines better
14708
14709 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14710
14711         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14712
14713 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14714
14715         * text2.C (getParFromID): removed
14716
14717         * buffer.C (getParFromID): new method moved form lyxtext.
14718         * BufferView2.C (insertErrors): adjust
14719         (setCursorFromRow): adjust
14720         * BufferView_pimpl.C (restorePosition): adjust
14721         * lyxfunc.C (Dispatch): adjust
14722         * undo_funcs.C (textUndo): adjust
14723         (textRedo): adjust
14724         (textHandleUndo): adjust
14725         (textHandleUndo): adjust
14726
14727 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * buffer.C: up' the LYX_FORMAT
14730
14731         * lyxfont.h: turn NO_LATEX on as default
14732
14733         * buffer.C (insertErtContents): new methods of tex style compability.
14734         (parseSingleLyXformat2Token): use it several places.
14735         * tabular.C (OldFormatRead): and here
14736
14737 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14738
14739         * text2.C: remove some commented code.
14740         reindent file.
14741
14742         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14743         * trans.C: changes because of the above.
14744
14745 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14746
14747         * text2.C (setCounter): Fix counters bug with bibliography layout.
14748
14749 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14750
14751         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14752         own member functions
14753         (simpleTeXSpecialChars): ditto
14754
14755 2001-07-06  Juergen Vigna  <jug@sad.it>
14756
14757         * a lot of files: changed the access to LyXText::status and the
14758         call of undo-functions.
14759
14760         * undo.[Ch]: added a inset_id to the undo informations.
14761
14762         * undo_funcs.[Ch]: added and moved here all undo functions.
14763
14764         * lyxtext.h: give the status enum a weight, made status_ a private
14765         variable and made accessor functions for it, removed the whole bunch
14766         of undo-functions as they are now in their own file, make some
14767         functions publically available. Added function ownerParagraph with
14768         int parameter.
14769
14770         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14771         made InInset() a const function, added getParFromID() function.
14772
14773         * buffer.[Ch]: added const version for inset_iterator functions,
14774         added getInsetFromID() function.
14775
14776         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14777         changed undo functions for new version.
14778
14779 2001-07-05  Juergen Vigna  <jug@sad.it>
14780
14781         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14782         unknow mechanism does not call the proper constructor but only this
14783         one also if I request the other!?
14784
14785 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14786
14787         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14788
14789         * text2.C (LyXText): use initialization lists.
14790
14791         * lyxtext.h (Selection): initialize set_ and mark_
14792         (init): remove method
14793
14794 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14795
14796         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14797
14798 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14799
14800         * screen.[Ch]: change method names to begin with lowercase
14801
14802         * BufferView_pimpl.C (updateScrollbar): simplify further and
14803         hopefully make it a bit faster.
14804
14805 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14806
14807         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14808         calling directly xforms functions.
14809
14810         * Painter.C (Painter):
14811         * lyx_cb.C (MenuWrite):
14812         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14813         fl_display.
14814
14815         * lyx_gui.C: remove bogus guiruntime extern declaration.
14816
14817 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14818
14819         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14820         in NEW_INSETS
14821         (redoDrawingOfParagraph): ditto
14822         (redoParagraphs): ditto
14823         (cutSelection): don't create a object for CutAndPaste use the
14824         static method directly
14825         (pasteSelection): ditto
14826
14827         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14828         LyXview (+ rename)
14829
14830 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * modifications to some other files because of this.
14833
14834         * Makefile.am (lyx_SOURCES): add XFormsView
14835
14836         * XFormsView.[Ch]: new files
14837
14838         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14839         the main window. Move the gui dependent stuff to XFormsView
14840
14841 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14842
14843         * tabular.C (GetCellInset): update cur_cell also in the row/col
14844         version of this function.
14845
14846         * lyxfunc.C: no need to include figure_form.h here.
14847
14848         * FontLoader.h:
14849         * lyxfunc.h:
14850         * lyxscreen.h:
14851         * text2.C:
14852         * lyxvc.C: no need to include forms.h here.
14853
14854 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14855
14856         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14857
14858         * lyxfunc.C (Dispatch):
14859         * Spacing.C (set):
14860         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14861         constructor argument.
14862
14863 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14864
14865         * paragraph.C (Paragraph): dont't clear, and just set layout.
14866         (makeSameLayout): use params's copy contructor.
14867
14868         * ParagraphParameters.[Ch] (makeSame): delete method
14869
14870 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14871
14872         * Variables.[Ch]: fix indentation, rename set to isSet
14873
14874 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * lyxfunc.C (Dispatch): fix typo
14877
14878 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14879
14880         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14881         upper_bound.
14882
14883         * bufferlist.C: include assert.h for emergencyWrite().
14884
14885 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14888           give up at last (bug #425202) !
14889
14890 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14891
14892         * lyx_gui_misc.C:
14893         * sp_form.h:
14894         * sp_form.C:
14895         * spellchecker.h:
14896         * spellchecker.C: strip spellchecker options and bring up
14897           preferences tab instead
14898
14899 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14900
14901         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14902         the istringstream constructor
14903
14904 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * paragraph.C (getLayout): fix return value
14907
14908         * paragraph.h: do not declare getLayout as inline.
14909
14910         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14911
14912 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14913
14914         * lyxcursor.h (operator<): new func
14915         (operator>): new func
14916         (operator>=): new func
14917         (operator<=): new func
14918
14919         * text.C (changeCase): use selection.start and selection.end
14920         (changeRegionCase): require from to be <= to. Require par to be a
14921         valid paragraph.
14922
14923         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14924
14925 2001-06-27  Juergen Vigna  <jug@sad.it>
14926
14927         * text.C (cursorLeftOneWord): changed to return the cursor and added
14928         overlay with BufferView * parameter which calls this one.
14929         (getWord): added
14930         (selectWord): use new getWord function.
14931         (changeCase): renamed from changeWordCase as and extended to work
14932         also on selections.
14933
14934         * lyxtext.h: added enum word_location
14935
14936         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14937         changeCase as this operates now also on selections.
14938
14939 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14940
14941         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14942
14943         * many files: send debug output to Debug::INFO instead of
14944         Debug::ANY.
14945
14946         * converter.C (View):
14947         (Convert):
14948         (Move): send debug output to Debug::FILES instead of console.
14949
14950 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14951
14952         * lyxfunc.C (getStatus): use func_status
14953
14954         * func_status.h: new header, describing the results of
14955         LyXFunc::getStatus;
14956
14957         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14958         LFUN_MATH_HALIGN.
14959
14960 2001-06-25  The LyX Project  <jug@sad.it>
14961
14962         * buffer.C (sgmlOpenTag):
14963         (sgmlCloseTag):
14964         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14965
14966 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14967
14968         * text2.C: remove some dead code
14969
14970         * tabular.C (GetCellInset): store the last cell checked (gotten)
14971
14972         * tabular.h: add the helper for the speedup
14973
14974         * lyxtext.h: remove some dead code
14975
14976 2001-06-26  The LyX Project  <Asger>
14977
14978         * paragraph.C: Change export to LaTeX of alignment to
14979         \begin{center} and family for better roundtrip work with reLyX.
14980
14981         * Tune the math drawing a bit.
14982
14983 2001-06-25  The LyX Project  <Asger>
14984
14985         * LColor.C (LColor): New color for math background. New color
14986         for buttons.
14987
14988 2001-06-25  The LyX Project  <jug@sad.it>
14989
14990         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14991
14992         * lyxfunc.C (Open):
14993         * bufferlist.C (newFile): do not restrict to files ending with
14994         .lyx
14995
14996         * BufferView_pimpl.C (MenuInsertLyXFile):
14997
14998 2001-06-24  The LyX Project  <jug@sad.it>
14999
15000         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15001         of compare_no_case
15002
15003 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15004
15005         * lyxtext.h: rename most methods to begin with a small char.
15006         Lots of changes because of this.
15007
15008         * paragraph.C (Paragraph): do not call fitToSize
15009         (erase): call Pimpl::erase
15010         (insertChar): call Pimpl::insertChar
15011         (insertInset): call Pipl::insertInset
15012         (breakParagraph): do not call fitToSize
15013         (breakParagraphConservative): do not call fitToSize
15014         (fitToSize): remove method
15015
15016         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15017
15018 2001-06-24  The LyX Project  <Asger>
15019
15020         * Fix Qt compilation^2
15021
15022 2001-06-24  The LyX Project  <jug@sad.it>
15023
15024         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15025         depthHook(getDepth()-1).
15026
15027         * paragraph.h:
15028         * ParagraphParameters.h:
15029         * ParameterStruct.h: change type of depth to unsigned int ==
15030         depth_type. Many adaptations to other files before of that.
15031
15032 2001-06-24  The LyX Project  <Asger>
15033
15034         * Fix Qt compilation.
15035
15036 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15037
15038         * paragraph.h: renamed several methods to begin with small letter.
15039         several changes to many parts of the code because of this.
15040
15041 2001-06-23  The LyX Project  <jug@sad.it>
15042
15043         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15044         rewritten to discard all double spaces when KeepEmpty is off
15045         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15046         to only handle newlines but not fiddle with spaces and friends.
15047
15048         * lyxfunc.C (MenuNew): when doing 'new from template', use
15049         template_path as default directory
15050
15051 2001-06-23  The LyX Project  <Asger>
15052
15053         * Clean-up of header file includes all over
15054         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15055
15056 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15057
15058         * paragraph.h: renamed from lyxparagraph.h
15059
15060 2001-06-23  Asger  <lyx@violet.home.sad.it>
15061
15062         * Buffer.h: Removed Buffer::resize
15063         * BufferList.h: Removed BufferList::resize
15064         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15065         the document lazily when we change the width, or the font settings.
15066
15067 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15068
15069         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15070
15071 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15072
15073         * buffer.h: remove out of date comment
15074
15075 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15076
15077         * lyxscreen.h:
15078         * screen.C: fix "theoretical" GC leak
15079
15080 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15081
15082         * LaTeX.C (scanAuxFile):
15083         (deplog): remove trailing \r when reading stream (useful under
15084         win32)
15085
15086 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15087
15088         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15089         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15090         and BufferView::theLockingInset(Inset*), so should use them and not
15091         access bv_->text->the_locking_inset directly.
15092
15093         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15094
15095 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15096
15097         * Makefile.am:
15098         * tex-defs.h: remove old unused file
15099
15100 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * BufferView_pimpl.C: fix typo, remove minibuffer message
15103           when buffer has loaded
15104
15105 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15106
15107         * lyxfunc.C (Dispatch): use stringstream
15108         (MenuNew): use stringstream
15109         (Open): use stringstream
15110
15111         * importer.C (Import): use stringstream
15112
15113         * bufferview_funcs.C (CurrentState): use stringstream
15114
15115         * LaTeX.C (run): use stringstream
15116
15117         * BufferView_pimpl.C (savePosition): use stringstream
15118         (restorePosition): use stringstream
15119         (MenuInsertLyXFile): use stringstream
15120
15121 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15122
15123         * BufferView.C:
15124         * Bullet.C:
15125         * ColorHandler.C:
15126         * FontInfo.C:
15127         * FontLoader.C:
15128         * LColor.C:
15129         * LaTeXFeatures.C:
15130         * Painter.C:
15131         * gettext.C:
15132         * lyx_gui_misc.C:
15133         * lyxserver.C:
15134         * vspace.C: removed // -*- C++ -*- as first line.
15135
15136         * lyxfind.h:
15137         * version.h: added // -*- C++ -*- as first line.
15138
15139 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15142
15143         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15144         of string
15145
15146 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15147
15148         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15149         of floats.
15150
15151 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15152
15153         * gettext.C: include LString.h even when --disable-nls is on.
15154
15155 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15156
15157         * converter.h (Get): changed argument type from int to
15158         FormatList::size_type to avoid unnecessary conversion.
15159
15160         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15161         before using it.
15162
15163 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15164
15165         * gettext.h: include LString.h even when --disable-nls is on.
15166
15167 2001-06-07  Juergen Vigna  <jug@sad.it>
15168
15169         * text.C (BreakAgain): subst spaces with tabs.
15170
15171         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15172         (resizeInsetsLyXText): set force on resizeLyXText.
15173
15174 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15175
15176         * gettext.h (gettext_init):
15177         (locale_init): use a real definition instead of a macro
15178
15179 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * Bufferview_pimpl.C:
15182         * LColor.h:
15183         * LColor.C: further lcolor tidies
15184
15185 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15186
15187         * BufferView_pimpl.C (updateScrollbar): simplify.
15188
15189         * BufferView2.C: don't include insets/insetinfo.h, change
15190         prototype for insertInset and call the Pimpl version. let
15191         updateInset call Pimpl version.
15192
15193         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15194         gotoInset to BufferView::Pimpl
15195
15196 2001-06-01  Juergen Vigna  <jug@sad.it>
15197
15198         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15199         inside a LockingInset (is the update needed at all?).
15200
15201 2001-05-31  Juergen Vigna  <jug@sad.it>
15202
15203         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15204         here not the old one otherwise how should we compare it afterwards
15205         if it's the same!
15206
15207 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15208
15209         * lyxfont.C:
15210         * tabular.C:
15211         * tabular-old.C:
15212         * FontInfo.C: bring C functions into global namespace when
15213         necessary
15214
15215 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15216
15217         * LString.h: make sure config.h has been loaded before LString.h.
15218
15219         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15220         (one for each char read by EatLine!).
15221
15222         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15223         variables.
15224
15225 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15228         to the same as the par we break from
15229
15230 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15231
15232         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15233
15234         * MenuBackend.C (expand): also create menu entries for wide
15235         versions of the floats.
15236
15237         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15238
15239         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15240
15241         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15242         frontends/Makefile.am
15243
15244         * text2.C: adjust
15245         * text.C: adjust
15246
15247
15248         * tabular.C (getTokenValue): add std::
15249
15250         * tabular-old.C (getTokenValue): add std::
15251         (getTokenValue): ditto
15252         (getTokenValue): ditto
15253
15254         * screen.C (ToggleSelection): adjust
15255
15256         * lyxtext.h: put selection cursors inside a Selection struct.
15257
15258         * lyxfunc.C (moveCursorUpdate): adjust
15259
15260         * lyxfont.C (latexWriteStartChanges): add std::
15261
15262         * lyxfind.C: adjust
15263
15264         * font.h: delete with(char const *, LyXFont const &)
15265
15266         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15267
15268         * FontInfo.C (getFontname): add std::
15269
15270         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15271         (workAreaButtonPress): adjust
15272         (tripleClick): adjust
15273         (update): adjust
15274         (moveCursorUpdate): adjust
15275         (Dispatch): adjust
15276
15277         * BufferView2.C (gotoInset): adjust
15278
15279 2001-05-30  Juergen Vigna  <jug@sad.it>
15280
15281         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15282         to check pspell I add this as default as I now have new pspell
15283         libraries and they seem to use this.
15284
15285 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15286
15287         * text2.C (CutSelection): make the cursor valid before the call to
15288         ClearSelection.
15289
15290 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15291
15292         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15293         relied on 0 terminated strings and other horrors. Bug found due to
15294         the new assert in lyxstring!
15295
15296         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15297         KP_ keys.
15298
15299 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15302         to latinkeys.bind.
15303
15304         * lyxfunc.C (processKeySym): change method of getting to the
15305         self-insert char.
15306
15307         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15308         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15309         * BufferView_pimpl.[Ch]: here as private methods.
15310
15311 2001-05-28  Juergen Vigna  <jug@sad.it>
15312
15313         * text.C (SetHeightOfRow): added the update() call again as it is
15314         needed to initialize inset dimensions!
15315
15316 2001-05-16  Juergen Vigna  <jug@sad.it>
15317
15318         * text2.C (SetCharFont): Add new function with BufferView * and
15319         bool toggleall parameters for setting insets internal fonts.
15320         (SetFont): Freeze the undo as we may change fonts in Insets and
15321         all this change should be inside only one Undo!
15322
15323         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15324         setting font's in insets as for them we have the SetFont function!
15325
15326 2001-05-15  Juergen Vigna  <jug@sad.it>
15327
15328         * text2.C (ClearSelection): to be sure we REALLY don't have any
15329         selection anymore!
15330
15331         * tabular.C (TeXCellPreamble): fixed the left border problem for
15332         multicolumn cells.
15333
15334 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15335
15336         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15337         dependancy file
15338
15339 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15340
15341         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15342         LFUN_BREAKPARAGRAPH.
15343
15344         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15345         help test to "internal only", similar for LFUN_INSERT_URL
15346
15347         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15348         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15349         auto_region_delete and deadkeys.
15350
15351 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15352
15353         * LColor.h:
15354         * LColor.C: remove some dead entries, tidy a little
15355
15356 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15357
15358         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15359         commented code.
15360         (Dispatch): implement LFUN_ESCAPE
15361
15362         * commandtags.h: add LFUN_ESCAPE
15363
15364         * LyXAction.C (init): add entry for LFUN_ESCAPE
15365
15366         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15367         Remove commented code.
15368         (insertNote): moved here
15369         (open_new_inset): moved here
15370
15371         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15372         BufferView_pimpl
15373
15374 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15375
15376         * kbmap.C (findbinding): clean it up and make it work correctly.
15377
15378         * lyx_main.C (init): do not pass argc and argv as parameters
15379
15380 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15381
15382         * buffer.C: fix path for OS/2 & Win32
15383
15384         * lyx_gui.C:
15385         * lyx_main:
15386         * lyx_main.C: Added os:: class.
15387
15388         * os2_defines.h: update
15389
15390 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15391
15392         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15393         better by trying again with reduced state.
15394
15395 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * lyxrc.C (read): print error about invalid key sequence only when
15398         debugging (because not all latinX keysyms are known to some X
15399         servers)
15400
15401         * kbsequence.C (getiso): add a few std:: qualifiers
15402         (getiso): comment out extra return statement.
15403
15404 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15405
15406         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15407         handling.
15408         (Dispatch): enhance the accent inset a bit. (not perfect)
15409
15410 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15411
15412         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15413
15414 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15415
15416         * bufferlist.C (emergencyWrite): fix assert() call
15417
15418 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15419
15420         * text.C (InsertChar): Added trivial patch to only send the "you
15421         can not do multiple spaces this way" message once during a
15422         session.
15423
15424 2001-05-08  Baruch Even  <baruch@lyx.org>
15425
15426         * Makefile.am: Changed order of libraries to get LyX to link properly
15427         with the gnome frontend.
15428
15429 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15430
15431         * LaTeXFeatures.h: add a std:: qualifier
15432
15433 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15434
15435         * paragraph.C (String): use stringstream
15436
15437 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * paragraph.C (writeFile): remove footflag arg
15440
15441         * buffer.C (makeLaTeXFile): use stringstream
15442         (latexParagraphs): remove footnot gurba
15443
15444         * LaTeXFeatures.C (getPackages): use stringstream
15445         (getMacros): likewise
15446         (getTClassPreamble): likewise
15447         (getFloatDefinitions): new method
15448
15449         * paragraph.C (writeFile): reindent
15450         (Erase): reindent
15451
15452         * WorkArea.h: revert the xpos + etc changes.
15453
15454         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15455
15456         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15457
15458         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15459         (pasteSelection): likewise
15460         * text2.C (CreateUndo): likewise
15461
15462 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15463
15464         * minibuffer.C (peek_event): temporarily reduce the functionality
15465         of the minibuffer (to allow args on lfuns)
15466
15467         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15468         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15469
15470         * buffer.C (readInset): add compability reading of old float
15471         lists, add reading of new style float list.
15472         (readInset): avoid reevaluation of inscmd.getCmdName()
15473         (getLists): reindent
15474
15475         * MenuBackend.C (MenuItem): implement parsing of
15476         md_floatlistinsert and md_floatinsert.
15477         (expand::LastFiles): move initalizaton of iterators out of loop,
15478         avoid reevaluation.
15479         (expand::Documents): introduce typdedef vector<string> Strings,
15480         and use it.
15481         (expand::ExportFormats): introduce typedef vector<Format const *>
15482         Formats, and use it.
15483         (expand): implement FloatListInsert and FloatInsert.
15484
15485         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15486         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15487         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15488
15489         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15490         handling.
15491         (Dispatch::LFUN_FLOAT_LIST): implement
15492
15493 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15494
15495         * LaTeX.C (run): Fix problem with --export code.
15496
15497 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15498
15499         * BufferView.[Ch] (workarea): removed.
15500         (getClipboard) new method; wrapper for workarea()->getClipboard()
15501
15502         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15503         bug.
15504
15505         * WorkArea.h (width, height, xpos, ypos): These methods all
15506         returned the dimensions of the work_area sub-area of WorkArea,
15507         resulting in a position error if the WorkArea were resized. Now
15508         return the dimensions of the entire WorkArea.
15509
15510         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15511
15512 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15513
15514         * LaTeX.C (deplog): correct the syntax of regex reg1
15515
15516 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15517
15518         * undo.C: remove !NEW_INSETS cruft
15519
15520 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15521
15522         * text2.C: remove !NEW_INSETS cruft
15523
15524         * text.C: remove !NEW_INSETS cruft
15525
15526         * tabular.C: remove !NEW_INSETS cruft
15527
15528         * spellchecker.C: remove !NEW_INSETS cruft
15529
15530         * lyxtext.h: remove !NEW_INSETS cruft
15531
15532         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15533
15534         * lyxfunc.C: remove !NEW_INSETS cruft
15535
15536         * lyxfind.C: remove !NEW_INSETS cruft
15537
15538         * lyx_cb.C: remove !NEW_INSETS cruft
15539
15540         * figureForm.C: remove  !NEW_INSETS cruft
15541
15542         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15543
15544         * buffer.[Ch]: remove !NEW_INSETS cruft
15545
15546         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15547
15548         * CutAndPaste.C: remove !NEW_INSETS cruft
15549
15550         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15551
15552         * BufferView2.C: remove !NEW_INSETS cruft
15553
15554         * BufferView.h: remove !NEW_INSETS cruft
15555
15556 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15557
15558         * Lsstream.h: include LString.h before the sstream headers to
15559         fix problem with gcc 2.95.3 and lyxstring
15560
15561 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15562
15563         * lyx_main.C: add using directives when needed for C functions
15564         declared in std:: namespace.
15565
15566 2001-04-27  Juergen Vigna  <jug@sad.it>
15567
15568         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15569         (SetHeightOfRow): comment out the update call should not be needed!
15570
15571 2001-04-13  Juergen Vigna  <jug@sad.it>
15572
15573         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15574         (LyXTabular): tried to minimize operator= operations (and realized
15575         hopfully Lars wish).
15576
15577 2001-04-27  Juergen Vigna  <jug@sad.it>
15578
15579         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15580
15581 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15582
15583         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15584
15585         * buffer.C (readInset): hack to make listof algorithm work
15586
15587         * BufferView_pimpl.C: hack to make listof algorithm work
15588
15589 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15590
15591         * LyXAction.C: removed all !NEW_INSETS cruft
15592         (init): moved lfun_item in method
15593
15594         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15595
15596 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15597
15598         * BufferView2.C (theLockingInset): white space.
15599
15600 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15601
15602         * minibuffer.C: include <iostream>
15603
15604         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15605
15606         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15607
15608         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15609
15610         * text.[Ch] (TransposeChars): new method
15611
15612 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15613
15614         * call message directly through LyXView instead of through LyXFunc
15615         * BufferView2.C: adjust
15616         * BufferView_pimpl.C: adjust
15617         * FontLoader.C: adjust
15618         * buffer.C: adjust
15619         * bufferview_funcs.C: adjust
15620         * converter.C: adjust
15621         * figureForm.C: adjust
15622         * importer.C: adjust
15623         * lyx_cb.C: adjust
15624         * lyx_gui_misc.C: adjust
15625         * lyxfunc.C: adjust
15626         * lyxvc.C: adjust
15627         * text2.C: adjust
15628         + more files in subdirs
15629
15630         * lyxparagraph.h (size): move up int file
15631         (GetLayout): ditto
15632
15633         * adjust all uses of Assert to lyx::Assert.
15634
15635         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15636         lyxfunctional in namespace lyx
15637         * layout.C (hasLayout): ditto
15638         (GetLayout): ditto
15639         (GetLayout): ditto
15640         (delete_layout): ditto
15641         (NumberOfClass): ditto
15642         * converter.C (GetFormat): ditto
15643         (GetNumber): ditto
15644         (Add): ditto
15645         (Delete): ditto
15646         (SetViewer): ditto
15647         * bufferlist.C (getFileNames): ditto
15648         (emergencyWriteAll): ditto
15649         (exists): ditto
15650         (getBuffer): ditto
15651         * MenuBackend.C (hasSubmenu): ditto
15652         (hasMenu): ditto
15653         (getMenu): ditto
15654         * BufferView_pimpl.C (getInsetByCode): ditto
15655
15656 2001-04-18  Juergen Vigna  <jug@sad.it>
15657
15658         * vspace.C (asLatexString): fixed the 100% problem.
15659
15660 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * lyxfunc.C (Dispatch):
15663         * minibuffer.C:
15664         * minibuffer.h: add a few std:: qualifiers
15665
15666 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15667
15668         * minibuffer.[Ch]: reimplement so that commands is initiated and
15669         run from lyxfunc, simplified som handling, and made the completion
15670         and history code for complete. wip.
15671
15672         * lyxfunc.C (processKeySym): call message
15673         (miniDispatch): new temporary method
15674         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15675         (LFUN_MESSAGE): implement
15676         (LFUN_MESSAGE_PUSH): implement
15677         (LFUN_MESSAGE_POP): implement
15678         (initMiniBuffer): the initial/defualt minibuffer message.
15679
15680         * lyxfont.[Ch]: inline some more getters
15681
15682         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15683
15684         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15685
15686         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15687         (AutoSave): use LFUN_MESSAGE
15688         (Reconfigure): ditto
15689
15690         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15691
15692         * figureForm.C: use LFUN_MESSAGE
15693
15694         * converter.C (runLaTeX): use LFUN_MESSAGE
15695
15696         * bufferview_funcs.C: use LFUN_MESSAGE
15697         (Melt): ditto
15698         (changeDepth): ditto
15699
15700         * bufferparams.h: use boost::
15701
15702         * bufferlist.h: inherit privately from noncopyable
15703
15704         * bufferlist.C (loadLyXFile): remove some commented code.
15705
15706         * buffer.C (runChktex): use LFUN_MESSAGE
15707
15708         * ShareContainer.h: inherit privately from noncopyable
15709
15710         * ParagraphParameters.[hC] (depth): inline it.
15711
15712         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15713         methods.
15714         (message): new method
15715         (messagePush): ditto
15716         (messagePop): ditto
15717         (show): init minibuffer
15718         (showState): direct call
15719
15720         * LaTeX.[Ch]: inherit privately from noncopyable
15721         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15722         instead of WriteStatus.
15723
15724         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15725
15726         * BufferView_pimpl.C (buffer): don't init minibuffer
15727         (workAreaButtonPress): use LFUN_MESSAGE
15728         (workAreaButtonRelease): ditto
15729         (savePosition): ditto
15730         (restorePosition): ditto
15731         (MenuInsertLyXFile): ditto
15732         (workAreaExpose): don't init minibuffer
15733         (update): remove commented code, simplify
15734
15735         * BufferView2.C (openStuff): use LFUN_MESSAGE
15736         (toggleFloat): ditto
15737         (menuUndo): ditto
15738         (menuRedo): ditto
15739         (copyEnvironment): ditto
15740         (pasteEnvironment): ditto
15741         (copy): ditto
15742         (cut): ditto
15743         (paste): ditto
15744         (gotoInset): ditto
15745         (updateInset): remove some commented code
15746
15747         * lastfiles.h: inherit privately from noncopyable
15748         * layout.h: ditto
15749         * lyx_gui.h: ditto
15750         * lyx_main.h: ditto
15751         * lyxlex.h: ditto
15752         * lyxlex_pimpl.h: ditto
15753
15754         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15755         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15756         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15757
15758         * LyXAction.h: inherit privately from noncopyable, add methods
15759         func_begin, func_end, returning iterators to the func map.
15760
15761         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15762         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15763         (func_begin): new method
15764         (func_end): new method
15765
15766         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15767         and not)
15768         (copySelection): ditto
15769         (pasteSelection): ditto
15770
15771         * BufferView.C: whitespace change
15772         * BufferView.h: inherit privately from noncopyable
15773
15774 2001-04-16  Allan Rae  <rae@lyx.org>
15775
15776         * tabular-old.C (l_getline):
15777         * spellchecker.C (sc_check_word):
15778         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15779         an unrecognised preprocessor directive.  So ensure they're wrapped.
15780
15781 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15782
15783         * src/exporter.C (Export): Give an error message when path to file
15784         contains spaces.
15785
15786 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15787
15788         * LaTeX.C (deplog): Always check that foundfile exists.
15789
15790 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15791
15792         * lyx_main.h:
15793         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15794
15795 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15796
15797         * tabular.[Ch] (getLabelList): implement new method
15798
15799         * minibuffer.h: comment ouf setTiimer
15800
15801         * minibuffer.C (ExecutingCB): constify res
15802         (peek_event): constify s
15803         (Set): constify ntext
15804         (Init): constify nicename
15805
15806         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15807
15808         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15809         (savePosition): use two params to Minibuffer::Set
15810         (restorePosition): ditto
15811
15812 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15813
15814         * lyx_main.C: include language.h
15815
15816         * Makefile.am (lyx_main.o): add language.h
15817
15818 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15819
15820         * exporter.C:
15821         * paragraph.C:
15822         * screen.C:
15823         * tabular.C:
15824         * CutAndPaste.C: include gettext.h
15825
15826         * lyxfont.h: remove old hack with ON and OFF.
15827
15828         * lyxparagraph.h:
15829         * lyxfont.h: do not include language.h...
15830
15831         * BufferView2.C:
15832         * LaTeXFeatures.C:
15833         * Painter.C:
15834         * bufferview_funcs.C:
15835         * font.C:
15836         * lyxfont.C:
15837         * text.C:
15838         * text2.C:
15839         * trans_mgr.C:
15840         * paragraph.C: ... but do it here instead
15841
15842 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15843
15844         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15845
15846         * tabular.C: small reformat
15847
15848         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15849         NEW_INSETS version
15850         (GetChar): ditto
15851         (BreakParagraph): ditto
15852         (SetOnlyLayout): ditto
15853         (SetLayout): ditto
15854
15855         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15856         with one arg less.
15857
15858         * lastfiles.C: removed most using decl, add std:: where needed
15859
15860         * buffer.C: ws changes
15861
15862         * MenuBackend.C (class compare_format): put into anon namespace
15863         (expand): constify label, names, action, action2
15864         (expand):
15865
15866         * text.C (SingleWidth): constify font
15867         (IsBoundary): constify rtl2
15868         (GetVisibleRow): constify ww
15869
15870         * LaTeX.C (deplog): constify logfile
15871
15872         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15873         start_x, end_x
15874         (workAreaExpose): constify widthChange, heightChange
15875
15876         * lyxrow.C (par): moved
15877         (height): moved
15878         (next): moved
15879         * lyxrow.h: as inlines here
15880
15881         * lyxfont.h (shape): moved from lyxfont.C
15882         (emph): moved from lyxfont.C
15883
15884         * lyxfont.C (LyXFont): use initialization list for all
15885         constructors
15886         (shape): move to lyxfont.h as inline
15887         (emph): move to lyxfont.h as inline
15888
15889
15890 2001-04-04  Juergen Vigna  <jug@sad.it>
15891
15892         * vspace.C: had to include stdio.h for use of sscanf
15893
15894 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15895
15896         * BufferView.h:
15897         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15898         independent of xforms.
15899
15900 2001-04-02  Juergen Vigna  <jug@sad.it>
15901
15902         * spellchecker.C: fixed namespace placing!
15903
15904 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15905
15906         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15907         the LyXParagraph * is 0.
15908
15909 2001-03-29  Juergen Vigna  <jug@sad.it>
15910
15911         * vspace.C: added support for %, c%, p%, l%.
15912         (stringFromUnit): added helper function.
15913         (asLatexString): changed to give right results for the %-values.
15914
15915         * buffer.C: convert the widthp in a width%.
15916
15917 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15918
15919         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15920         figureForm.[Ch].
15921
15922         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15923         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15924
15925         * lyx_cb.[Ch]: see above.
15926
15927         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15928         form1.[Ch].
15929
15930         * form1.[Ch]:
15931         * lyx.[Ch]: replaced by figure_form.[Ch].
15932
15933         * lyx_gui.C:
15934         * lyx_gui_misc.C:
15935         * lyxfunc.C: changed headers associated with above changes.
15936
15937 2001-03-27  Juergen Vigna  <jug@sad.it>
15938
15939         * BufferView_pimpl.C: set the temporary cursor right!
15940
15941 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15942
15943         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15944
15945 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15946
15947         * LString.h: removed "using std::getline"!
15948
15949         * BufferView_pimpl.C (Dispatch): changes due to changes in
15950         InsetInclude::Params.
15951
15952         * buffer.C (tag_name): removed redundant break statements as they were
15953         producing lots of warnings with my compiler.
15954
15955 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * LString.h: add "using std::getline" when using the real <string>.
15958
15959 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15960
15961         * buffer.C: removed bitset usage.
15962         PAR_TAG moved to an anonymous name space.
15963         (tag_name): new funtion, also in the anonymous namespace.
15964         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15965         (makeDocBookFile): clean code. Completed transition from string arrays
15966         to string vectors.
15967         (SimpleDocBookOnePar): code clean.
15968
15969 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15970
15971         * tabular.C: add some comments.
15972
15973 2001-03-22  Juergen Vigna  <jug@sad.it>
15974
15975         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15976         compatibility read a bit and fixed bug with minipage in different
15977         depth.
15978
15979 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15980
15981         * buffer.C (pop_tag): removed.
15982         (push_tag): removed.
15983         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15984         array replaced with vector. Added support for CDATA sections.
15985         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15986         at any nest level.
15987         (makeDocBookFile): XML conformant declaration of CDATA section,
15988         fixed bug related to <emphasis> in the first paragraph char.
15989         (sgmlOpenTag): exclude empty tags.
15990         (sgmlCloseTag): ditto.
15991
15992         * buffer.h (pop_tag): removed.
15993         (push_tag): removed.
15994
15995 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15996
15997         * language.h (Languages): added size_type and size().
15998
15999 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16000
16001         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16002         response on compability reading of minipages. One probliem is that
16003         the old usage of minipages was «flertydig»
16004
16005         * several files here and in subdirs: don't use static at file
16006         scope use anon namespaces instead.
16007
16008 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16009
16010         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16011         LaTeX output. This is necessary for Literate document
16012         processing.
16013
16014 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16015
16016         * buffer.C: insert hfill when needed.
16017
16018         * tabular.C (l_getline): use string::erase, small whitespace change.
16019
16020         * BufferView_pimpl.C: try the anon namespace.
16021         * WorkArea.C: ditto
16022
16023 2001-03-16  Juergen Vigna  <jug@sad.it>
16024
16025         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16026         otherwise it won't open options-dialogs.
16027
16028         * buffer.C: honor pextraWidth(p) on converting minipages.
16029
16030         * tabular.C (l_getline): changed the functions to strip trailing \r.
16031
16032 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16033
16034         * BufferView_pimpl.C:
16035         * minibuffer..C: added "using SigC::slot" declaration.
16036
16037 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16038
16039         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16040
16041         * text2.C: ditto
16042
16043         * text.C: ditto
16044
16045         * paragraph.C: ditto
16046
16047         * lyxtext.h: NO_PEXTRA
16048
16049         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16050
16051         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16052         * ParameterStruct.h: ditto
16053         * ParagraphParameters.h: ditto
16054         * lyxparagraph.h: ditto
16055
16056 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16057
16058         * buffer.C: add compability for minipage alignment.
16059         (latexParagraphs): remove unwanted pextra check.
16060
16061         * several files: remove CXX_WORKING_NAMESPACES
16062
16063         * buffer.C (pop_tag): tie is in namespace boost
16064
16065         * BufferView.h: noncopyable is in namespace boost
16066         * lyxlex.h: ditto
16067         * lyx_main.h: ditto
16068         * lyx_gui.h: ditto
16069         * layout.h: ditto
16070         * lastfiles.h: ditto
16071         * bufferlist.h: ditto
16072         * ShareContainer.h: ditto
16073         * LyXView.h: ditto
16074         * LyXAction.h: ditto
16075         * LaTeX.h: ditto
16076
16077 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16078
16079         * Merging changes from BRANCH_MVC back into HEAD.
16080
16081         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16082
16083 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16084
16085         * BufferView_pimpl.C: change from intl.C
16086
16087         * combox.h:
16088         * combox.C:
16089         * Makefile.am: move combox.*
16090
16091         * form1.h:
16092         * form1.C:
16093         * lyx_gui.C:
16094         * intl.h:
16095         * intl.C: remove dialog (covered by prefs)
16096
16097 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16098
16099         * lyxfunc.C (Dispatch): removed redundant break statement.
16100
16101 2001-03-14  Juergen Vigna  <jug@sad.it>
16102
16103         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16104
16105 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16106
16107         * buffer.C: add hack to fix compability reading of minipages.
16108
16109 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * buffer.C (getLists): Cleanup.
16112
16113 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16114
16115         * lyxfont.C (update): don't honor toggleall on font size.
16116
16117 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16118
16119         * bmtable.c:
16120         * bmtable.h:
16121         * Makefile.am: moved to frontends/xforms/
16122
16123         * lyx_gui_misc.C:
16124         * lyxfunc.C:
16125         * BufferView_pimpl.C: changes for moved mathpanel
16126
16127 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16128
16129         * gettext.h: fix gettext_init() in --disable-nls
16130
16131 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16132
16133         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16134
16135 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16136
16137         * lyx.C:
16138         * lyx.h: strip external form
16139
16140 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16141
16142         * BufferView_pimpl.C: add comment, destroySplash()
16143
16144 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16145
16146         * BufferView_pimpl.C:
16147         * LyXAction.C:
16148         * buffer.C:
16149         * commandtags.h:
16150         * lyxfunc.C: use re-worked insetinclude
16151
16152 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16153
16154         * buffer.C: add using std::stringstream.
16155
16156         * lyx_cb.C: readd using std::ios.
16157
16158         * buffer.C: add using std::map.
16159
16160         * BufferView_pimpl.C: add using std::vector.
16161
16162         * ShareContainer.h: add std:: to swap.
16163
16164         * buffer.h: add some typedefs
16165         * buffer.C (getLists): use them
16166         (getLists): renamed from getTocList.
16167         add a counter for the different float types and use it in the
16168         generated string.
16169         (getLists): use the same counter for the NEW_INSETS and the "non"
16170         NEW_INSETS
16171
16172         * lyx_cb.h: remove unused items, includes, using etc.
16173
16174         * ShareContainer.h: remove some commented code, add more comments
16175         and "documentation".
16176
16177 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16178
16179         * buffer.C (getTocList): make the list also when NEW_INSETS is
16180         defined.
16181
16182         * buffer.h: remove TocType
16183
16184         * buffer.C (getTocList): change to return a map<string,
16185         vector<TocItem> >, implement for dynamic number of list.
16186
16187         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16188         * text2.C (PasteSelection): adjust
16189         * CutAndPaste.C (pasteSelection): adjust
16190
16191         * FloatList.C (FloatList): update from the new_insets branch.
16192         * Floating.[Ch]: ditto
16193         * LaTeXFeatures.C: ditto
16194         * buffer.C: ditto
16195         * lyxlex_pimpl.C: ditto
16196
16197         * paragraph.C (Last): remove when NEW_INSETS is defined.
16198
16199         * other file: changes because of the above.
16200
16201 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16202
16203         * lyxparagraph.h: rename next to next_, previous to previous_,
16204         make them private for NEW_INSETS. Rename Next() to next(),
16205         Previous() to previous().
16206
16207         * other files: changes because of the above.
16208
16209 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16210
16211         * BufferView.h:
16212         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16213         problem.
16214
16215 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16216
16217         * main.C (main): pass lyx_localedir to gettext_init().
16218
16219         * gettext.h: remove locale_init and gettext_init macros
16220
16221         * gettext.C (locale_init): new function
16222         (gettext_init): new function
16223
16224         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16225         setlocale().
16226
16227 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16228
16229         * Moved credits to frontends:
16230         * credits.[Ch]: removed
16231         * credits_form.[Ch]: removed
16232         * lyx_gui_misc.C: remove credits stuff
16233         * Makefile.am:
16234
16235 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16236
16237         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16238
16239         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16240         unneeded destructor.
16241
16242         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16243         a standalone pointer again.
16244
16245         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16246
16247 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16248
16249         * Makefile.am:
16250         * filedlg.h:
16251         * filedlg.C:
16252         * LyXAction.C:
16253         * ToolbarDefaults.C:
16254         * bufferlist.C:
16255         * commandtags.h:
16256         * form1.C:
16257         * form1.h:
16258         * lyx_cb.C:
16259         * lyx_cb.h:
16260         * lyxfunc.h:
16261         * lyxfunc.C:
16262         * BufferView_pimpl.C: use new file dialog in GUII
16263
16264         * lyx_cb.h:
16265         * lyx_cb.C: remove LayoutsCB to Toolbar
16266
16267 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16268
16269         * ShareContainer.h (get): add std:: qualifier
16270
16271 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16272
16273         * ShareContainer.h: define a proper ShareContainer::value_type
16274         type (and use typename to please compaq cxx)
16275
16276 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16277
16278         * lyxparagraph.h: move serveral local vars to
16279         ParameterStruct/ParagraphParameters., use ShareContainer in
16280         FontTable., make vars in FontTable private and add getter and
16281         setter.
16282
16283         * paragraph.C: changes because of the above.
16284
16285         * lyxfont.h: remove copy constructor and copy assignment. (the
16286         default ones is ok), move number inside FontBits. move inlines to
16287         lyxfont.C
16288
16289         * lyxfont.C: add number to initializaton of statics, move several
16290         inlines here. constify several local vars. some whitespace
16291         cleanup. Dont hide outerscope variables.
16292
16293         * Spacing.h: add two new constructors to match the set methods.
16294
16295         * ShareContainer.h: new file, will perhaps be moved to support
16296
16297         * ParameterStruct.h: new file
16298
16299         * ParagraphParameters.h: new file
16300
16301         * ParagraphParameters.C: new file
16302
16303         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16304         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16305
16306         * BufferView_pimpl.C: ParagraphParameter changes.
16307         * buffer.C: Likewise.
16308         * bufferview_funcs.C: Likewise.
16309         * text.C: Likewise.
16310         * text2.C: Likewise.
16311
16312 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16313
16314         * lyxfind.C (LyXReplace): do not redefine default argument in
16315         implementation.
16316         (IsStringInText): ditto
16317         (SearchForward): ditto
16318         (SearchBackward): ditto
16319
16320 2001-03-06  Juergen Vigna  <jug@sad.it>
16321
16322         * lyxfind.C (IsStringInText): put parentes around expressions.
16323
16324 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16325
16326         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16327
16328 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16329
16330         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16331
16332         * stl_string_fwd.h: add comment
16333
16334         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16335
16336         * tabular.h:
16337         * tabular.C: remove unused DocBook methods
16338
16339         * intl.C:
16340         * language.C:
16341         * paragraph.C:
16342         * buffer.C:
16343         killed DO_USE_DEFAULT_LANGUAGE
16344
16345 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16346
16347         * lyx_gui.C: do not include language.h.
16348
16349         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16350         arguments in function implementation.
16351
16352 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16353
16354         * BufferView_pimpl.C: add <ctime>
16355
16356 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16357
16358         * BufferView_pimpl.C: add using std::find_if
16359
16360 2001-02-27  José Matos  <jamatos@fep.up.pt>
16361
16362         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16363         by OnlyPath.
16364
16365 2001-02-11  José Matos  <jamatos@fep.up.pt>
16366
16367         * buffer.C (makeDocBookFile): command styles now have a parameter as
16368         "title" by default.
16369
16370 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16371
16372         * layout_forms.[Ch]: removed
16373         * lyx_cb.[Ch]: out character
16374         * lyx_gui.C: out character
16375         * lyx_gui_misc.C: out character
16376         * bufferview_funcs.C: : out character,
16377         added toggleall as parameter in ToggleAndShow
16378
16379 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16380
16381         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16382
16383         * text2.C (SetCurrentFont): Disable number property at boundary.
16384
16385 2001-02-26  Juergen Vigna  <jug@sad.it>
16386
16387         * lyxfunc.C (getStatus): added a string argument override function so
16388         that this is correctly called from LyXFunc::Dispatch if it contains a
16389         do_not_use_argument which is used!
16390         (Dispatch): added check for "custom" export and call appropriate func.
16391
16392 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16393
16394         * lyxrc.C: Add language_command_local, language_use_babel and
16395         language_global_options.
16396
16397         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16398
16399         * buffer.C (makeLaTeXFile): Use language_use_babel and
16400         language_global_options.
16401
16402 2001-02-23  Juergen Vigna  <jug@sad.it>
16403
16404         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16405         which works with LyXText and putted it inside BufferView. Here now we
16406         only call for that part the BufferView::Dispatch() function.
16407
16408         * BufferView.C (Dispatch): added.
16409
16410         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16411         functions which needs to use a LyXText over from LyXFunc.
16412         (MenuInsertLyXFile): added
16413         (getInsetByCode): added
16414         (moveCursorUpdate): added
16415         (static TEXT): added
16416
16417 2001-02-22  Juergen Vigna  <jug@sad.it>
16418
16419         * BufferView_pimpl.C (update): call a status update to see if LyXText
16420         needs it.
16421
16422 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16423
16424         * vc-backend.C (revert): implement for CVS
16425         (getLog): implement for CVS
16426
16427 2001-02-20  Juergen Vigna  <jug@sad.it>
16428
16429         * text2.C (ClearSelection): added BufferView param for inset_owner call
16430
16431         * lyxfunc.C (TEXT): added this function and use it instead of
16432         directly owner->view()-text of getLyXText().
16433
16434 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16435
16436         * src/layout_forms.C: out preamble
16437         * src/layout_forms.h: out preamble
16438         * src/lyx_cb.C: out preamble
16439         * src/lyx_cb.h: out preamble
16440         * src/lyx_gui.C: out preamble
16441         * src/lyx_gui_misc.C: out preamble
16442         * src/lyxfunc.C: connect with guii preamble
16443
16444 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16445
16446         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16447
16448 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16449
16450         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16451         whether to run bibtex.
16452
16453 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16454
16455         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16456
16457 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16458
16459         * Makefile.am (lyx_SOURCES): removed bibforms.h
16460
16461         * vspace.h: doxygen
16462
16463         * text.C (GetVisibleRow): make several local vars const
16464
16465         * tabular.C: small cleanup.
16466
16467         * lyxserver.C (callback): use compare instead of strncmp
16468
16469         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16470         inlines to after class or to paragraph.C
16471
16472         * lyxfont.h: remove friend operator!=
16473
16474         * converter.h: move friend bool operator< to non friend and after
16475         class def.
16476
16477         * combox.h: small cleanup
16478
16479         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16480         to inlines after class def.
16481
16482         * buffer.C (pop_tag): use string operations instead of strcmp
16483
16484         * bmtable.c: doxygen, small cleanup
16485
16486         * LaTeX.h: remove friend operator==
16487
16488 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16489
16490         * screen.C:
16491         * lyxrc.[Ch]:
16492         * lyxfunc.C:
16493         * lyxfont.[Ch]:
16494         * lyx_cb.C:
16495         * intl.[Ch]:
16496         * commandtags.h:
16497         * buffer.C:
16498         * WorkArea.[Ch]:
16499         * LyXAction.C:
16500         * BufferView_pimpl.C:
16501         * BufferView.[Ch]: remove cruft
16502
16503 2001-02-14  Juergen Vigna  <jug@sad.it>
16504
16505         * lyxfunc.C: removed #if 0 unused code
16506
16507         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16508
16509         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16510
16511         * text2.C (SetSelection): added a BufferView * parameter
16512
16513 2001-02-13  Juergen Vigna  <jug@sad.it>
16514
16515         * lyxfunc.C (Dispatch): fixed protected blank problem.
16516         * BufferView2.C (protectedBlank): added LyxText * parameter.
16517
16518         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16519         (AppendColumn): same as above for column_info.
16520
16521         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16522         (moveCursorUpdate): use a LyXText param for support of InsetText.
16523
16524         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16525         (tripleClick): ditto
16526
16527         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16528
16529         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16530
16531         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16532
16533         * text2.C (SetSelection): set correct update status if inset_owner
16534         (ToggleFree): ditto
16535
16536 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16537
16538         * tabular.C: remove some commented code.
16539
16540 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16541
16542         * BufferView_pimpl.C: call hideSplash()
16543
16544         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16545
16546         * include_form.h:
16547         * bibforms.h: remove
16548
16549         * lyxfunc.C:
16550         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16551           add LFUN_CHILD_CREATE
16552
16553         * counters.h: fix tiny typo
16554
16555         * lyx_cb.C:
16556         * lyx.h:
16557         * lyx_gui.C:
16558         * lyx.C: move splash to frontends/xforms/
16559
16560         * lyx_gui_misc.C: move Include and Bibform to frontends
16561
16562         * lyxvc.h: clarify comment
16563
16564         * vspace.C: tiny housekeeping
16565
16566 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16567
16568         * text.C (PrepareToPrint): RTL Fix.
16569
16570         * paragraph.C (GetUChar): New method.
16571         (String):  Use GetUChar.
16572
16573         * buffer.C (asciiParagraph): Use GetUChar.
16574
16575 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16576
16577         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16578
16579 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16580
16581         * buffer.h:
16582         * buffer.C: rename to getLogName(), handle
16583           build log / latex log nicely
16584
16585 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16586
16587         * MenuBackend.C:
16588         * MenuBackend.h: remove support for reference menuitem type.
16589
16590 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16591
16592         * BufferView_pimpl.C: housekeeping
16593         * BufferView_pimpl.h:
16594         * LyXView.h:
16595         * Makefile.am:
16596         * Timeout.C:
16597         * Timeout.h:
16598         * minibuffer.h: move Timeout GUI-I
16599
16600 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16601
16602         * lyxrc.C (read): Update converters data-structures.
16603
16604 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16605
16606         * LaTeX.h (operator!=): add operator != for Aux_Info
16607
16608 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16609
16610         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16611
16612         * LaTeXLog.C: deleted, useful code moved to Buffer
16613
16614         * buffer.h:
16615         * buffer.C: new function getLatexLogName()
16616
16617         * lyx_gui_misc.C:
16618         * lyx_gui.C:
16619         * lyxvc.C:
16620         * lyxvc.h:
16621         * lyxfunc.C: use frontends for LaTeX and VC logs
16622
16623 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16624
16625         * LaTeX.h: yet another std:: that Allan forgot.
16626
16627         * Variables.C (set): renamed from isset(), because this clashes
16628         with some HP-UX macros (grr).
16629
16630 2001-02-06  Allan Rae  <rae@lyx.org>
16631
16632         * LaTeX.h: Another bug fix.  Missing std:: this time.
16633
16634 2001-02-04  Allan Rae  <rae@lyx.org>
16635
16636         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16637         floats problem. I've left it commented out because it's not quite
16638         correct.  It should also test that the current object is a table or
16639         figure inset.  But I haven't gotten around to figuring out how to do
16640         that.  I *think* it'll be something like: "table" == inset.type()
16641
16642         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16643         bool.
16644
16645 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16646
16647         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16648         all the citation/databases/styles in the auxilary file.
16649         (run): Rerun latex if there was a babel language error.
16650
16651 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16652
16653         * text.C (Backspace): Preserve the font when changing newline char
16654         with a space.
16655         (BreakParagraph): If the cursor is before a space, delete the space.
16656
16657         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16658
16659 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16660
16661         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16662         new argument (code).
16663         (ChangeCitationsIfUnique): New method.
16664
16665         * paragraph.C (GetPositionOfInset): Handle bibkey.
16666
16667 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16668
16669         * BufferView_pimpl.h: change type of Position::par_pos to
16670         LyXParagraph::size_type.
16671
16672 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16673
16674         * BufferView_pimpl.C (savePosition, restorePosition): Write
16675         messages to minibuffer.
16676
16677 2001-01-28  José Matos  <jamatos@fep.up.pt>
16678
16679         * buffer.C (makeDocBookFile): adds support for document language.
16680         A silly restriction on the name of LatexCommand types where removed.
16681         Added support for CDATA sections, allows to chars unescaped, used
16682         among others in code, to avoid escape < and >.
16683
16684 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16685
16686         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16687         saved positions instrad of a stack. Furthermore, a position is
16688         stored using paragraph id/paragraph position.
16689
16690         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16691         Remove LFUN_REF_BACK.
16692
16693 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16694
16695         * converter.C (dvipdfm_options): New method.
16696
16697 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16698
16699         * vspace.C (isValidLength): Fix for empty input string.
16700
16701 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16702
16703         * LyXAction.C (init): change description of LFUN_FIGURE to
16704         "Insert Graphics"
16705
16706 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16707
16708         * LaTeX.C: add using directive
16709
16710 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16711
16712         * MenuBackend.C (expand): Fix the sorting of the formats.
16713
16714 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16715
16716         * lyx_main.C: tiny error message fix
16717
16718 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16719
16720         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16721         calling fl_initialize(). This fixes the problem with ',' as
16722         decimal separator in text files.
16723
16724 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16725
16726         * trans.C (process): Fix the keymap bug.
16727
16728 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16729
16730         * LaTeX.C (scanAuxFiles): New method. Provides support for
16731         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16732         (scanLogFile) Scan for "run BibTeX" messages.
16733
16734         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16735         OT1 font encoding. Also, load the aecompl package if the ae
16736         package is loaded.
16737
16738         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16739
16740 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16741
16742         * texrow.C (increasePos): turn two error messages into debug
16743         messages.
16744
16745 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16746
16747         * LaTeX.C (scanAux): Handle the \@input macro.
16748         (runBibTeX): Use scanAux().
16749
16750         * language.C (latex_options_): New field.
16751
16752         * LaTeXFeatures.C (getMacros): Add language macros.
16753
16754         * buffer.C (makeLaTeXFile): Small fix.
16755
16756 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16757
16758         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16759
16760         * text2.C: add a using directive.
16761
16762 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16763
16764         * BufferView2.C:
16765         * lyx_gui_misc.h:
16766         * lyxfr1.C:
16767         * lyxfunc.C: kill LyXBell.
16768
16769 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16770
16771         * text.C (IsBoundary): Remove the error message
16772
16773         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16774
16775         * lyxrc.C (setDefaults): Correct initialization value for
16776         font_norm_type.
16777
16778 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16779
16780         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16781         gotoError().
16782
16783         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16784         and GotoNextNote().
16785
16786         * src/LyXAction.C: Added reference-next.
16787
16788         * text.C (InsertChar): Use contains instead of strchr.
16789
16790         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16791
16792 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16793
16794         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16795         alignment commands (when needed).
16796
16797         * text.C (InsertChar): Add ':' to number separator chars.