]> git.lyx.org Git - features.git/blob - src/ChangeLog
66fac148bdd0c9d1c8c65f4d3952f4176ed3f2eb
[features.git] / src / ChangeLog
1 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * everywhere: change support/tostr.h -> support/convert.h
4
5         * tabular.C: make all write_attributes templates, tostr -> convert
6
7         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
8         (emptyTag): and -> &&, and fix type for ret from getChar
9         (getFirstWord): fix type for ret from getChar
10         (onlyText): and -> &&
11         (simpleDocBookOnePar): and not -> && !, fix type for ret from
12         getChar
13
14         * toc.C (goTo, action):
15         * text3.C (dispatch):
16         * text.C (currentState):
17         * tex-accent.C (DoAccent):
18         * sgml.C:
19         * lyxrc.C:
20         * lyxfunc.C (menuNew):
21         * lyxfinc.C (replace):
22         * counters.C (laberItem):
23         * bufferview_funcs.C (font2string):
24         * bufferparams.C (writeFile):
25         * buffer.C (readFile):
26         * Spacing.C (set):
27         * MenuBackend.C: tostr -> convert
28
29         * LaTeX.C (runMessage): fix format
30         (scanAuxFiles): tostr -> convert
31
32         * BufferView_pimpl.C (savePosition): fix format
33         (restorePosition): ditto
34         (dispatch): ditto
35
36 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
37
38         * Spacing.[Ch]: New method getValueAsString().
39
40         * Spacing.[Ch]:
41         * bufferparams.C:
42         * ParagraphParameters.C:
43         * lyxlayout.C:
44         * text.C:
45         * text3.C: store/read spacing value as string.
46
47         * rowpainter.C: change float value (spacing_val) to double.
48
49         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
50         broken custom document spacing).
51
52 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
53
54         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
55         namespace, also more use of temp references and const
56
57         * cursor.[Ch] (getStatus): move to lyxfunc.C
58
59         * bufferparams.C: reformat slightly
60
61         * bufferview_funcs.C (font2string): constify arg
62
63         * changes.C:
64         * converter.C:
65         * counters.C:
66         * bufferlist.C:
67         * buffer_funcs.C: (many funcs): constify arg on function
68         definitions, also make more local vars const, also add ASSERTS on
69         pointer args.
70
71         * buffer.C (LYX_FORMAT): put const in correct place
72         (many funcs): constify arg on function definitions, also make
73         more local vars const
74
75         * aspell_local.h: remove "struct" from typdef setup
76
77         * aspell.C (check): make word_ok const
78         (nextMiss): simplify slightly
79         (error): ditto
80
81 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
82
83         * lyxrc.[Ch]: store all float values as strings.
84         use int (not float) for lyxrc.dpi.
85
86 2005-01-04  Angus Leeming  <leeming@lyx.org>
87
88         * lyx_cb.C (Reconfigure):
89         * lyx_main.C (queryUserLyXDir):
90         to run the <system_lyxdir>/configure correctly on Windows, prefix
91         the path to the script with "sh " when generating the string that
92         is passed to system().
93
94 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
97
98 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * lyxlength.C (asLatexString): get rid of setprecision
101
102 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * text2.C (setLayout): remove unused variable endpit.
105         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
106
107         * paragraph.C (onlyText): remove unused variable style.
108
109         * cursor.C (bruteFind): remove unused variables beg and end.
110
111         * Makefile.am (dist_noinset_DATA): not needed anymore
112
113         * cheaders/*: remove.
114
115 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
116
117         * text3.C: fix LFUN_MATH_MODE.
118
119 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * buffer_funcs.C (countWords): new function. Counts words between
122         two iterators.
123
124         * BufferView_pimpl.C (getStatus, dispatch): handle
125         LFUN_WORDS_COUNT.
126
127         * LyXAction.C (init):
128         * lfuns.h: add LFUN_WORDS_COUNT.
129
130 2004-12-19  Angus Leeming  <leeming@lyx.org>
131
132         * buffer.C (save): s/slashify_path/internal_path/.
133
134 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
135
136         * lyxfind.C (findChange): do not search for end of pars, because
137         the change tracker cannot handle this (fixes bug 1719).
138
139 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
140
141         * paragraph.[Ch] (autoBreakRows): remove
142
143         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
144
145         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
146         avoid using the paragraph one
147
148         * text2.C (LyXText, insertStringAsLines): adjust
149
150 2004-12-16  Angus Leeming  <leeming@lyx.org>
151
152         * bufferlist.C:
153         * lyx_main.C:
154         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
155
156 2004-12-14  Angus Leeming  <leeming@lyx.org>
157
158         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
159
160         * bufferlist.C (emergencyWrite):
161         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
162         GetEnvPath("HOME").
163
164 2004-12-14  Angus Leeming  <leeming@lyx.org>
165
166         * main.C: (main): no longer pass pointers to os::init.
167
168 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
169
170         * undo.C (textUndoOrRedo): simplify logic, fix a crash
171         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
172
173 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
174
175         * lyxfunc.C:
176         * text3.C: remove selection_possible global flag
177
178 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
179
180         * text2.C (getSelectionSpan): remove
181         (changeDepth, changeDepthAllowed): adjust
182
183 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
184
185         * Makefile.am (BOOST_LIBS): use boost variables
186
187 2004-12-03  José Matos <jamatos@lyx.org>
188
189         * buffer.C: format up to 238.
190
191 2004-12-03  José Matos  <jamatos@lyx.org>
192
193         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
194
195 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
196
197         * cursor.C (goUpDown): remove call to idxUpDown2
198
199 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
200
201         * tabular.[Ch]: use size_t-like types for cell, row and column
202         indices
203
204 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * lyxfunc.C (getStatus): do not lose previous information when
207         calling BufferView::getStatus; do not set a default "Command
208         disabled" message at the beginning, but just before returning.
209
210 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
211
212         * cursor.h (getStatus): add better comment from src/cursor.C
213
214 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * text3.C (getStatus): return false when the lfun is not handled
217
218 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * broken_headers.h: remove
221
222         * Makefile.am (lyx_SOURCES): remove broken_headers.h
223
224 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
225
226         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
227         offset_ref accessors
228
229         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
230         top_y_, merge fitcursor with update
231         (updateScrollbar, scrollDocView, fitCursor, center, update): new
232         coord scheme
233         (metrics): introduce
234         (workAreaDispatch): adapt to new coord scheme
235         (redoCurrentBuffer): remove
236
237         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
238
239         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
240         CurStatus enum.
241
242         * coordcache.[Ch]: add paragraph cache and helpers
243
244         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
245         adjust everywhere
246
247         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
248         (targetX, setTargetX): introduce
249
250         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
251         baseline -> ascent, as the rest of lyx
252
253         * lyxtext.h: remove redoParagraphs, updateParPositions,
254         fullRebreak, redoParagraphInternal. move dist to anon namespace in
255         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
256         have ascent/descent (ascent is ascent of first par)
257
258         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
259         step of BufferView
260
261         * paragraph.[Ch]: unify dimension handling with the rest of lyx
262
263         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
264
265         * pariterator.C: fix infinite loop introduced in par->pit renaming
266
267         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
268         in insets and LyXText, draw two off-screen paragraphs using
269         NullPainter, and adapt to new coord scheme
270
271         * text.C:
272         * text2.C:
273         * text3.C: adapt lfun handlers to the new coord scheme, which
274         means: there's only guaranteed coord information for onscreen pars
275         plus one above and one below. This implies that one can do search
276         from y coordinates in the range [-1,workHeight]
277
278 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
279
280         * rename a lot of InsetOld to InsetBase
281
282 2004-11-25  Angus Leeming  <leeming@lyx.org>
283
284         * BufferView_pimpl.C:
285         * lyx_cb.C:
286         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
287
288 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
289
290         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
291         call BufferView::getStatus if LCursor::getStatus did nothing
292         (setStatusMessage, getStatusMessage): removed.
293
294         * FuncStatus.C (message): new methods. Used to provide an error
295         message indicating why a command is disabled.
296         (clear, |=, FuncStatus): update for message.
297
298 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
299
300         * lyxfunc.C (dispatch): always call sendDispatchMessage
301
302 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
303
304         * BufferView.C:
305         * BufferView_pimpl.C:
306         * CutAndPaste.C:
307         * FontIterator.C:
308         * buffer.C:
309         * cursor.C:
310         * cursor_slice.[Ch]:
311         * dociterator.[Ch]:
312         * lyxfind.C:
313         * paragraph_funcs.C:
314         * pariterator.C:
315         * rowpainter.C:
316         * text.C:
317         * text2.C:
318         * text3.C:
319         * undo.C: par->pit renaming
320
321 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
322
323         * tabular.C (cellstruct): use initialization, store a shared_ptr
324         to insettext instead of the insettext directly, adjust to fit.
325         (operator=):  new function
326         (swap): new function
327         (rowstruct): use initialization
328         (columnstruct): use initialization
329         (ltType): use initialization
330
331
332         * lyxlength.h (swap): new function
333
334         * LColor.[Ch] (operator=): use the common semantics
335
336 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * lyxfind.C (findNextChange): update the bufferview after setting
339         the selection.
340
341 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
344         number of InsetOptArgs has already been inserted.
345
346         * output_latex.C (latexOptArgInsets): new method. This outputs all
347         the optarg insets, up to the limit defined in the layout file.
348         (optArgInset): removed
349         (TeXOnePar): call latexOptArgInsets; correctly update texrow
350
351 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * paragraph.C (isLetter): remove special spellchecker-related
354         code; return true also for digits
355         (isWord, isKomma): remove
356
357         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
358         * lyxfind.C (MatchString()): use isLetter instead of isWord
359
360 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
361
362         * pariterator.h (operatir=): comment out un-implemented member
363         function.
364
365         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
366         static cast.
367
368 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
369
370         * lyxfont.h: include LColor.h to satisfy concept checks.
371
372 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * pariterator.h: add typdefs for value_type, difference_type,
375         pointer and reference to satisfy concept checks. Also add default
376         constructor for same reason.
377
378         * pariterator.C (operator++): add post-increment operator to
379         satisfy concept checks.
380
381         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
382         checks.
383
384         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
385
386         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
387         checks. Also rename base_type to BaseType to follow naming
388         standard better.
389
390         * FloatList.h: include Floating.h to satisfy concept checks.
391
392 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * lyxfunc.C (getStatus): when the origin of the request is menu or
395         toolbar, and the LyXView does not have focus, do as if there was
396         no buffer (bug 1720)
397
398         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
399         FuncRequest to individual entries of LFUN_SEQUENCE
400
401 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * output_latex.C (TeXOnePar): override runparams.moving_arg
404         according to the needprotect value of the current paragraph (bug
405         1739)
406
407         * paragraph.C (simpleTeXOnePar): no need to override
408         runparams.moving_args here
409
410 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
411
412         * vspace.C: fix off-by-one-error, related to fix #1682
413
414 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
415
416         * lengthcommon.C: a more general fix for bug 1682
417
418 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * text.C (backspace): fix crash
421
422 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
423
424         * format.[Ch] (getFormatFromFile): new method
425         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
426
427 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
430
431 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * lyxfunc.C (dispatch): remove the verbose argument
434         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
435         instead
436
437         * kbmap.C (defkey): set the origin of func to KEYBOARD
438
439         * MenuBackend.C (MenuItem):
440         * ToolbarBackend.C (add): set the origin of func to UI
441
442         * funcrequest.[Ch]: add origin member, which indicates which part
443         of LyX requests an action
444
445 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
446
447         * converter.C (move): don't lie in the error message
448         * converter.h (isReachable, move): document
449
450 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
451
452         * buffer.C: remove unused using lyx::support::atoi
453         * paragraph_funcs.C: ditto
454
455 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
456
457         * bufferlist.C (exists): use bind and equal_to instead of
458         compare_memfun
459         (getBuffer): ditto
460         * lyxtextclasslist.C (NumberOfClass): ditto
461
462         * cursor.C (insert): use for_each instead of explicit for loop
463
464         * bufferlist.C (getFileNames): use std::transform and
465         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
466
467         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
468         for loop
469
470         * buffer.C (changeLanguage): use for_each instead of explicit for
471         loop
472         (hasParWithID): implement using getParFromID
473
474         * LaTeXFeatures.C: ws change only
475
476         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
477         to cleanup a bit.
478
479         * BufferView_pimpl.C (trackChanges): use for_each instead of
480         expilicit for loop
481
482 2004-11-04  André Pönitz  <poenitz@gmx.net>
483
484         * undo.h:
485         * undo.C (textUndoOrRedo): fix crash when creating undo information.
486
487         * dociterator.C (asDocIterator): use hard assert again.
488
489 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * lyxlength.C (asLatexString): rewrite so that it does not use
492         snprintf anymore
493
494 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
495
496         * text3.C (specialChar, dispatch): make sure cursor moves to the
497         right after inserting an inset
498
499 2004-11-02  José Matos  <jamatos@lyx.org>
500
501         * output_docbook.C (docbook):
502         * paragraph.C (getID):
503         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
504         garantee that the output is always legal.
505
506         * tabular.C (docbook):
507         * outputprams.[Ch]: remove mixed contents.
508
509 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
510
511         * text2.C (setCounter): prevent endless loop
512
513 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
514
515         * exporter.C (copyFile): use the mover instead of support::copy()
516         * exporter.C (Export): pass format and latex name to copyFile()
517         * exporter.h (addExternalFile): document
518         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
519
520 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
521
522         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
523
524 2004-10-30  José Matos  <jamatos@lyx.org>
525
526         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
527         text and no inset or font change. This allows to use CDATA
528         sections just for the whole paragraph.
529
530 2004-10-30  José Matos  <jamatos@lyx.org>
531
532         * paragraph.C (getFirstWord): remove unused variable.
533
534 2004-10-30  José Matos  <jamatos@lyx.org>
535
536         * paragraph.C (getFirstWord): the content should always be escaped
537         there.
538         (simpleDocBookOnePar):
539         * output_docbook.C (makeEnvironment): replace reference to CDATA
540         to style pass_thru.
541
542 2004-10-30  José Matos  <jamatos@lyx.org>
543
544         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
545
546 2004-10-30  José Matos  <jamatos@lyx.org>
547
548         * output_docbook.C (makeParagraphs):
549         * paragraph.[Ch] (emptyTag): for docbook and company, if the
550         standard paragraph has only a given type of content drop the wrapper.
551
552 2004-10-29  José Matos  <jamatos@lyx.org>
553
554         * output_docbook.C (makeEnvironment):
555         * sgml.C (openTag):
556         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
557
558 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
559
560         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
561         (cleanID): sanitize any id.
562
563 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
564
565         * buffer.C, lyxlex_pimpl.C:
566         * lyxlex_pimpl.C (setFile):
567         s/getExtFromContents/getFormatFromContents/
568
569 2004-10-28  José Matos  <jamatos@lyx.org>
570
571         * output_docbook.C (makeEnvironment): move id to broadest possible
572         scope.
573
574         * sgml.C (openTag): apply substitution of <> for all attributes.
575
576 2004-10-28  José Matos  <jamatos@lyx.org>
577
578         * buffer.C (makeLinuxDocFile, makeDocBookFile):
579         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
580         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
581
582         * sgml.[Ch]: new version for open and closeTag for paragraph and
583         for strings. Now they handle the ids of paragraphs.
584
585 2004-10-26  Angus Leeming  <leeming@lyx.org>
586
587         * Makefile.am: add mover.[Ch].
588
589         * converter.C (convert, move): use the new Movers to move external
590         files to the temp directory.
591
592         * lyx_main.C (init): ensure that the global system_movers data
593         is initialised.
594
595         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
596         preferences file.
597
598         * mover.[Ch]: new files, defining a Mover as a utility to move an
599         external file between directories and, if necessary, manipulate this
600         file using a helper script.
601
602 2004-10-25  José Matos  <jamatos@lyx.org>
603
604         * output_docbook.C (makeCommand): merge two if's that tested the
605         same condition.
606
607 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * sgml.C (escapeString): fix warning in a better way
610
611 2004-10-25  José Matos  <jamatos@lyx.org>
612
613         * sgml.C (escapeString): import the require boosts header file for
614         tie, and avoid a signed unsigned comparison.
615
616 2004-10-25  José Matos  <jamatos@lyx.org>
617
618         * sgml.h: add #include <string>
619
620 2004-10-25  José Matos  <jamatos@lyx.org>
621
622         * sgml.[Ch] (escapeString): new function to escape all the string.
623
624 2004-10-24  José Matos  <jamatos@lyx.org>
625
626         * paragraph.[Ch] (getFirstWord): new function to get the first
627         word. Useful for description.
628         (simpleDocBookOnePar): remove depth argument, add another that
629         says where to start the paragraph.
630
631         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
632         use the new functions to fix cleanly the support for descriptions.
633
634 2004-10-24  José Matos  <jamatos@lyx.org>
635
636         * buffer.C (makeLinuxDocFile, makeDocBookFile):
637         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
638         * output_linuxdoc.C (linuxdocParagraphs):
639         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
640         add buffer as argument.
641
642 2004-10-24  José Matos  <jamatos@lyx.org>
643
644         * output_docbook.C (makeEnvironment, searchEnvironment): place
645         CDATA inside paragraphs and fix scope for listitems.
646
647 2004-10-24  José Matos  <jamatos@lyx.org>
648
649         * output_docbook.C: remove using statement for stack.
650
651 2004-10-23  José Matos  <jamatos@lyx.org>
652
653         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
654         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
655         docbook. The new scheme is recursive and makes use of iterators, the
656         same as latex export works.
657         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
658         directly with the paragraph contents. This code was moved up to
659         output_docbook.C (docbookParagraphs).
660         * sgml.C (openTag, closeTag): removed unneeded newlines.
661         (closeEnvTags) removed.
662
663 2004-10-23  André Pönitz  <poenitz@gmx.net>
664
665         * undo.C (textUndoOrRedo):
666         * dociterator.C (asDocIterator): work around crash
667
668         * cursor.C (getStatus): replace ASSERT by more verbose error message
669           and manual correction of the problem. Should increase stability
670           while providing more sensible information.
671
672 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
673
674         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
675
676         * bufferlist.C (previous, next): new methods
677
678         * lfuns.h:
679         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
680
681 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
682
683         * buffer.C (makeDocBookFile): add dsssl stylesheet control
684         entities to preamble.
685
686 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
687
688         * messages.C (Pimpl): strip off translation context information
689
690 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
691
692         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
693         the cursor is correct (bug 1694)
694
695 2004-10-13  José Matos  <jamatos@lyx.org>
696
697         * output_docbook.C (docbookParagraphs): fix closing tags in the
698         end of the document.
699
700 2004-10-09  José Matos  <jamatos@lyx.org>
701
702         * buffer.C: format up to 237.
703         * bufferparams.C (write): use tostr to convert booleans to strings.
704
705 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
706
707         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
708
709 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
710
711         * LaTeX.C: implement use of babel language in xindy.
712
713 2004-10-05  José Matos  <jamatos@lyx.org>
714
715         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
716         Add new translators to help reading and writing the lyx file.
717
718 2004-10-05  José Matos  <jamatos@lyx.org>
719
720         * ParagraphParameters.C (read):
721         * text.C (readParToken): replace nexToken by more appropriate lex
722         methods.
723
724 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
725
726         * LaTeX.C (runMakeIndex):
727         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
728         (usually 'makeindex') configurable.
729
730         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
731         with a variable rather than with a number.
732
733 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * output_latex.C (TeXOnePar): make sure font setting is the first
736         thing that gets output (and the last at the end). Should fix bug
737         1404.
738
739 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
740
741         * pch.h: use proper signal include
742
743         * LaTeX.h: Use preferred calling of Boost.Signal
744         * buffer.h: ditto
745
746 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
747
748         * pch.h: dont include <boost/function/function0.hpp>
749
750         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
751
752         * paragraph_pimpl.h: remove usage of ShareContainer
753
754         * paragraph_pimpl.C: remove initialization of ShareContainer.
755
756 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         Fix bug #1666
759
760         * BufferView.C (putSelectionAt): change the semantics when
761         backwards == true: now, this just swaps cursor and anchor wrt the
762         forward case
763
764         * BufferView.h (putSelectionAt): add some documentation
765
766         * lyxfind.C (findBackwards): rewrite using while(). In particular,
767         make sure backwardChar is done at least once (to avoid getting
768         stuck)
769         (findNextChange): use putSelectionAt in the forward direction
770         (operator()): use Paragraph::isWord
771
772 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
773
774         * Spacing.C (set): c_str fix
775
776 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * lyx_cb.C (Reconfigure): quote the name of configure script in
779         case it contains spaces
780
781 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
782
783         * client: new dir
784
785         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
786         (BOOST_LIBS): use top_buildir when looking for the file
787
788 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
789
790         * pch.h: do not use include boost/format.hpp, multiple symbols
791                 will result (gcc bug)
792
793
794 2004-08-23  José Matos  <jamatos@lyx.org>
795
796         * bufferparams.C (readToken): fix reading of the author field.
797
798 2004-08-20  José Matos  <jamatos@lyx.org>
799
800         * lyxrc.C: remove support/translator.h inclusion since it is not used.
801
802 2004-08-20  José Matos  <jamatos@lyx.org>
803
804         * lyxlex.[Ch] (findToken): remove function.
805
806         * ParagraphParameters.C (findToken):
807         * bufferparams.C (findToken): replace call for previous function
808         with local copy. This local function has one more argument, the
809         read string argument.
810
811 2004-08-16  José Matos  <jamatos@lyx.org>
812
813         * ParagraphParameters.C (write):
814         * Spacing.C (writeFile):
815         * bufferparams.C (writeLaTeX):
816         * lyx_cb.C (Reconfigure):
817         * paragraph.C (write):
818         * tabular.C (write): remove unnecessary space at end of line.
819
820
821 2004-08-16  José Matos  <jamatos@lyx.org>
822
823         * text.C (readParagraph): remove debug message.
824
825 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
828         crash
829
830         * output_plaintext.C (asciiParagraph): set depth correctly
831
832         * outputparams.h: add member depth
833
834         * paragraph_funcs.C (ownerPar): remove.
835
836         * text2.C (setCounter): remove first_pit; comment out some
837         non-working code that uses ownerPar
838
839         * BufferView.C (getParentLanguage): remove. Not used anymore, and
840         uses ownerPar
841
842 2004-08-16  José Matos  <jamatos@lyx.org>
843
844         * text.C (readParToken, readParagraph, read): report all unknown tokens.
845         For the same level of importance use the same chanel to report problems.
846         (read): add code to deal with \begin_body and \end_body.
847
848
849 2004-08-15  José Matos  <jamatos@lyx.org>
850
851         * lyxlex.C (getString): fix comment, buffer::readBody is now
852         buffer:readDocument.
853
854         * tex-strings.C (string_papersize): Default -> default,
855         Custom -> custom, for consistency with other options.
856
857 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
858
859         * pch.h: new file
860
861         * Makefile.am: support pch
862
863 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
864
865         * text.C (readParToken): remove the static LyXFont variable and
866         pass it as a parameter instead. This fixes a nasty bug where an
867         inset will be inserted with a bad font in some situations
868         (readParagraph): adapt
869
870         * text2.C (setCounter): reduce number of calls to pars_[pit]
871
872         * text.C (singleWidth): add an assert, fix a test
873
874         * rowpainter.C (paintText): reduce number of calls to singleWidth
875
876         * paragraph.C (isHfill):
877         (isNewline): ws only
878
879 2004-08-14  André Pönitz  <poenitz@gmx.net>
880
881         * text.C:
882         * text2.C:
883         * rowpainter.C:
884         * lyxtext.h (several functions): use a Paragraph & argument
885         instead of par_type
886
887 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * metricsinfo.h: add a new field ltr_pos to PainterInfo
890
891         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
892
893         * text.C (singleWidth): remove useless test
894
895 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
896
897         * tabular.h: remove bogus comments
898
899         * tabular.C (getDescentOfRow):
900         (isPartOfMultiColumn): add assertions
901
902         * lyxlength.C (inPixels): remove #warning
903
904 2004-08-14  André Pönitz  <poenitz@gmx.net>
905
906         * paragraph.h: inline getChar()
907
908         * BufferView.h: remove unused declarations
909
910 2004-08-14  José Matos  <jamatos@lyx.org>
911
912         * Buffer.[Ch] (readDocument): new name for old readBody.
913         * Buffer.C: new file format, new keywords: \begin_document,
914         \begin_header, \begin_body, \end_body.
915
916         * bufferparams.C (readToken): replace all calls to lex.nextToken
917         by lex.next(). Do the same to eatLine except where really needed.
918
919         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
920         line when writing to the lyx file.
921
922         * output_plaintext.C (asciiParagraph): fix Bibliography style
923         handling.
924
925         * text.C (read): fix end of file handling.
926
927 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
928
929         * MenuBackend.C (Menu::operator[]): new method to access
930         individual menu items
931         (Menu::hasFunc): new method. search for an item that corresponds
932         to a given func
933         (MenuBackend::specialMenu): new method
934         (MenuBackend::expand): if a special menu has been set, skip
935         entries whose func() appears in this menu
936
937 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
938
939         * text3.C: use Debug::DEBUG a bit more
940
941         * text.C (leftMargin): try to simplify a tiny bit change var x to
942         l_margin. Dont output the wide margins always.
943         (rightMargin): no margin in inner texts
944
945         * rowpainter.h (nestMargin): new func
946         (changebarMargin): new func
947         (rightMargin): new func
948
949         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
950         now functions.
951         (paintLast): ditto
952
953         * factory.C (createInset): modify setDrawFrame
954
955         * cursor.C: use Debug::DEBUG a bit more
956
957 2004-08-14  André Pönitz  <poenitz@gmx.net>
958
959         * coordcache.[Ch]:
960         * Makefile.am: new files to accomodate an 'external' (x,y)-position
961         cache for all insets in (at least partially) visible (top-level)
962         paragraphs.
963
964         * BufferView_pimpl.C: reset external coord cache before every update.
965         This means the coord cache only contains valid entries.
966
967 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
968
969         bug 1096
970         * BufferView_pimpl.C (getInsetByCode): move function out of class
971         and change in to a template in anon namespace. Also fix to do what
972         suits us better.
973
974 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
975
976         bug 1305
977         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
978         of char
979         (breakParagraph): rename par to par_offset and use a local
980         reference. Add code to keep the language over a rebreak.
981         (breakParagraphConservative): rename par to par_offset, use a
982         local reference
983         (mergeParagraph): ditto
984         (outerHook): ditto
985         (isFirstInSequence): ditto
986         (outerFont): rename pit to par_offset
987
988         * paragraph.C: ws change
989         * paragraph.h: ditto
990         * text3.C: ditto
991         * text.C: ditto
992
993 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
996         treatment for ']'
997
998         * paragraph.C (simpleTeXOnePar): when we have a \item with
999         optional argument, enclose the argument with curly brackets (in
1000         case it contains a closing square bracket)
1001
1002         * text2.C (editXY):
1003         * text2.C (editXY):
1004         * text3.C (checkInsetHit): constify
1005
1006 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1007
1008         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1009         documents (bug 1629)
1010
1011 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1012
1013         Fix toggling of collapsable insets with the mouse (bug 1558)
1014
1015         * lyxfunc.C (dispatch): adapt to LCursor changes
1016
1017         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1018         make sure that dispatch is not invoked twice
1019
1020         * cursor.C (needsUpdate): new method
1021         (dispatch): return void
1022         (result): new method, to access the DispatchResult of the cursor.
1023
1024 2004-08-13  José Matos  <jamatos@lyx.org>
1025
1026         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1027
1028 2004-08-13  André Pönitz  <poenitz@gmx.net>
1029
1030         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1031
1032         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1033           multiple cells
1034
1035 2004-08-12  André Pönitz  <poenitz@gmx.net>
1036
1037         * text3.C: take out the 'cursor right' form insertInset and only
1038         do it in those places when it is really needed. Fixes crash on
1039         C-m...
1040
1041 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1044
1045         * BufferView_pimpl.C (setBuffer): initialize the current font of
1046         the underlying LyXText
1047
1048 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1049
1050         * kbsequence.C (print): use UI native formatting for menu
1051         shortcuts
1052
1053         * text.C (insertChar): call Paragraph::insertChar with a font
1054         argument (cosmetic)
1055
1056         * paragraph.C (insertInset, insertChar): the version that takes a
1057         LyXFont argument is now a wrapper around the other one (the
1058         opposite used to be true).
1059
1060         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1061         argument. Font setting is done in Paragraph now.
1062
1063 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1064
1065         * outputparams.h: add new members intitle and lang.
1066
1067         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1068         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1069
1070 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1071
1072         * text3.C (dispatch): remove special handling of button 4 and 5,
1073         it is now taken care of in the frontend code.
1074
1075 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1076
1077         * Spacing.h: add <string> (STLPort compile fix)
1078
1079 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1080
1081         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1082
1083 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1084
1085         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1086         to bool.
1087
1088         * converter.C (showMessage): inherit from unary_function, make
1089         operator() const.
1090
1091         * buffer.C (writeFile): initialize retval
1092
1093         * InsetList.h: rename private variable list to list_
1094         * InsetList.[Ch]: adjust accordingly.
1095
1096 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1097
1098         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1099         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1100         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1101         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1102         * ParagraphParameters.C, LaTeXFeatures.C: replace
1103         "support/std_sstream.h" with <sstream>
1104
1105 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1106
1107         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1108         * lyxsocket.C (LyXServerSocket): ditto
1109         (serverCallback): ditto
1110
1111 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1112
1113         * LaTeXFeatures.C: check release date when loading jurabib.
1114
1115 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1116
1117         * lyxserver.C (startPipe): call register_socket_callback
1118         (endPipe): call unregister_socket_callback
1119
1120 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1121
1122         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1123         (LyXServerSocket): register the callback
1124         (LyXServerSocket): unregister the callback
1125         (fd): delete function
1126         (serverCallback): improve error checking and setup the callbacks.
1127         (dataCallback): change arg to fd.
1128         (writeln): new func (copied fro the client socket) used for server
1129         write to client.
1130         (LyXDataSocket): simplify
1131         (~LyXDataSocket): close ann unregiser callback
1132         (server): delete function
1133         (fd): delete function
1134         (readln): small changes, improve some std::string usage
1135         (writeln): constify a bit
1136
1137 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1138
1139         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1140         Qt frontend
1141
1142 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1143
1144         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1145         after it has been populated
1146
1147 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * text2.C (insertInset): move cursor when inserting inset.
1150
1151 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1152
1153         * kbmap.C (findbindings): a couple of new methods. returns a
1154         container of kb_sequence objects. The real work is done by the
1155         private recursive version
1156         (printbindings): uses findbindings to print out a bracketed list
1157         of bindings (renamed from findbinding).
1158
1159         * MenuBackend.C (binding): use kb_keymap::findbindings
1160
1161         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1162
1163 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1164
1165         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1166
1167 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * paragraph.C (isWord): return true on insets that report
1170         isLetter().
1171
1172         * text.C (getWord): use Paragraph::isWord to decide what is in a
1173         word and what is not; fix bug 1609.
1174
1175 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1176
1177         * tex-strings.C: add "none" to string_paperpackages[], fixes
1178         off-by-one-error in the paperpackage selection.
1179
1180         * lyxlex.[Ch]:
1181         * tex-strings.[Ch]: char const * string[n]
1182         -> char const * const string[]
1183
1184 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1185
1186         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1187         command, return early.
1188
1189 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1190
1191         * debug.h: add DEBUG to enum and fix size of ANY.
1192
1193         * debug.C: add support for Debug::DEBUG
1194         (showTags): cast errorTags.level to unsigned int
1195
1196         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1197         (redoCurrentBuffer): ditto
1198         (updateScrollbar): ditto
1199         * cursor.C (dispatch): ditto
1200         * text2.C (setLayout): ditto
1201         (setFont): ditto
1202         (updateCounters): ditto
1203         (editXY): ditto
1204         (deleteEmptyParagraphMechanism): ditto
1205
1206 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1207
1208         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1209         annotations to cleanup the Makefile slightly.
1210
1211 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1212
1213         * lyxrc.C: do not set user_email to a default value but use empty
1214         instead. The entry used to be translated, which does not work
1215         since at the point where lyxrc is constructed there is no
1216         translation service available
1217
1218         * messages.C (getLocaleDir): remove and use directly
1219         lyx_localedir() instead
1220
1221 2004-06-02  Angus Leeming  <leeming@lyx.org>
1222
1223         Fix crash caused by dereferencing null pointer 'exportdata' in
1224         OutputParams by creating a new ExportData variable on the heap,
1225         storing it in a boost::shared_ptr.
1226         The crash was triggered when generating an Instant Preview
1227         of an external inset.
1228
1229         * Makefile.am: add outputparams.C
1230
1231         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1232         (c-tor): allocate memory to it.
1233
1234         * exporter.C (c-tor): associated changes.
1235
1236 2004-06-01  Angus Leeming  <leeming@lyx.org>
1237
1238         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1239         contains data before calling isInset(0). (Bug 1513.)
1240
1241 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1242
1243         * exporter.C (checkOverwrite): new method
1244         * exporter.C (copyFile): new method
1245         * exporter.C (Export): copy referenced files to the document dir
1246         * exporter.[Ch]: new class ExportedFile
1247         * exporter.[Ch]: new class ExportData. Contains currently the
1248         names of referenced external files
1249         * outputparams.h: add exportdata member.
1250
1251 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1252
1253         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1254         version.C-tmp
1255
1256 2004-05-19  Angus Leeming  <leeming@lyx.org>
1257
1258         * LaTeXFeatures.C:
1259         * ToolbarBackend.C:
1260         * bufferparams.C:
1261         * lyxfunc.C: small changes due to the introduction of namespace
1262         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1263
1264 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1265
1266         * text3.C (dispatch): supress update when only moving the cursor
1267         * cursor.C (selHandle): remove commented code
1268
1269 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1270
1271         * paragraph.C (startTeXParParams): correct column count
1272         * CutAndPaste.C (pasteSelection): remove const_cast
1273         * output_docbook.C (docbookParagraphs): remove const_cast
1274         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1275         const_cast and return ParagraphList::const_iterator
1276         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1277         * output_plaintext.C (writeFileAscii): remove const_cast
1278         * paragraph.[Ch] (simpleTeXOnePar): make const
1279         * paragraph_funcs.C (outerPar): use const iterators
1280         * paragraph_pimpl.C (validate): use const iterators
1281         * text.C (setHeightOfRow): use const iterators
1282
1283 2004-05-17  Angus Leeming  <leeming@lyx.org>
1284
1285         * lfuns.h:
1286         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1287
1288         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1289         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1290         if the citation engine has changed.
1291
1292 2004-05-14  José Matos  <jamatos@lyx.org>
1293
1294         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1295         if the textclass does not provide it. Have it different for sgml and
1296         xml.
1297         support the language of document.
1298         * output_docbook.C (docbookParagraphs):
1299         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1300         first anchor as the id of the paragraph, remove special case code.
1301         * sgml.C (escapeChar): escape only < & >.
1302
1303 2004-05-14  Angus Leeming  <leeming@lyx.org>
1304
1305         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1306         dependencies on src/frontends/controllers/biblio.h. Define a
1307         CiteEngine_enum wrapper class to enable the enum to be forward
1308         declared.
1309
1310 2004-05-12  Angus Leeming  <leeming@lyx.org>
1311
1312         * buffer.C: up LYX_FORMAT to 234.
1313         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1314         use_numerical_citations with a single biblio::CiteEngine cite_engine
1315         variable.
1316         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1317
1318 2004-05-13  José Matos  <jamatos@lyx.org>
1319
1320         * converter.h:
1321         * converter.C (Converter, readFlags): add xml member.
1322         * outputparams.h: add XML flavor.
1323         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1324
1325 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1326
1327         * lyxfunc.C (dispatch):
1328         (getStatus): fix handling of LFUN_SEQUENCE
1329
1330 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1331
1332         * debug.C (showLevel): do not forget the end-of-line marker
1333
1334 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1335
1336         * kbmap.C (read): do not stop parsing a bind file when an error
1337         occurs (bug 1575)
1338
1339 2004-04-29  Angus Leeming  <leeming@lyx.org>
1340
1341         * cursor.C:
1342         * factory.C:
1343         * pariterator.C:
1344         * text2.C: wrap a bunch of #warning statements
1345         inside #ifdef WITH_WARNINGS blocks.
1346
1347 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1348
1349         * buffer.C: increment format to 233.
1350
1351 2004-04-28  Angus Leeming  <leeming@lyx.org>
1352
1353         * BufferView_pimpl.C:
1354         * lyxfunc.C:
1355         * text3.C:
1356         s/updateToolbar()/updateToolbars()/
1357         s/Toolbar.h/Toolbars.h/
1358
1359 2004-04-28  Angus Leeming  <leeming@lyx.org>
1360
1361         * BufferView.[Ch] (c-tor):
1362         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1363         No longer passes these data to the WorkArea generator.
1364
1365 2004-04-28  Angus Leeming  <leeming@lyx.org>
1366
1367         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1368
1369 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1370
1371         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1372
1373 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1374
1375         * output_latex.C (TeXEnvironment): make sure that there is a line
1376         break before \end{foo} for the last paragraph of a document
1377         (TeXOnePar): if the paragraph is at the end of the document (or
1378         inset) and the language has to be reset, then make sure that the
1379         line break is _before_ the language command, not after (fixes bug
1380         1225); also make sure that the language reset command is the first
1381         thing after the paragraph (to ensure proper nesting of
1382         environments and thus fix bug 1404)
1383
1384 2004-04-21  John Levon  <levon@movementarian.org>
1385
1386         * ToolbarBackend.h:
1387         * ToolbarBackend.C: make "name" be a programmatic name
1388         and a gui_name field.
1389
1390         * lyxfunc.C: display the minibuffer on M-x
1391
1392 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1395         (bug 1526)
1396
1397 2004-04-19  Angus Leeming  <leeming@lyx.org>
1398
1399         * BufferView_pimpl.C (setBuffer): changed preview interface.
1400
1401         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1402         possible values.
1403
1404 2004-04-19  John Levon  <levon@movementarian.org>
1405
1406         * BufferView_pimpl.C:
1407         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1408
1409 2004-04-05  Angus Leeming  <leeming@lyx.org>
1410
1411         * text.C (redoParagraphs): add call to updateCounters(), thereby
1412         fixing the missing "Figure #:" label from the caption of a
1413         figure float.
1414
1415 2004-04-13  Angus Leeming  <leeming@lyx.org>
1416
1417         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1418         cursor is clicked out of an inset.
1419
1420 2004-04-13  Angus Leeming  <leeming@lyx.org>
1421
1422         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1423         than an InsetOld one.
1424
1425 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1426
1427         * format.[Ch]: add editor to Format
1428         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1429         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1430
1431 2004-04-08  André Pönitz  <poenitz@gmx.net>
1432
1433         * metricsinfo.h: remove PainterInfo::width member
1434
1435 2004-04-08  Angus Leeming  <leeming@lyx.org>
1436
1437         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1438         "\providecommand" rather than "\newcommand", thereby preventing
1439         clashes with packages that define "\boldsymbol" themselves.
1440         Eg, beamer.
1441
1442 2004-04-08  Angus Leeming  <leeming@lyx.org>
1443
1444         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1445         thereby squashing an unnecessary warning.
1446
1447 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1448
1449         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1450         setBuffer()
1451
1452 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1453
1454         * BufferView.C (setCursor): call redoParagraph (some insets could
1455         have been opened)
1456         (putSelectionAt): remove the 'double update' trick
1457
1458         * BufferView_pimpl.C (fitCursor): call refreshPar
1459         (workAreaDispatch): remove an uneeded update call
1460         (dispatch): remove some manual update calls
1461
1462         * cursor.[Ch]: remove cached_y_, updatePos
1463         (selHandle): set noUpdate when appropriate
1464
1465         * lyxfunc.C (dispatch): track if we need an update
1466
1467         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1468
1469         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1470         (paintSelection): cheap optimization, do not call cursorX when not
1471         needed
1472         (paintPars): change signature
1473         (refreshPar): add
1474         (paintText): adjust
1475         (paintTextInset): adjust
1476
1477         * text.C: adjust
1478
1479 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * lengthcommon.C: compilation fix: remove explicit array size from
1482         unit_name[] and friends
1483
1484 2004-04-05  Angus Leeming  <leeming@lyx.org>
1485
1486         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1487
1488         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1489         present only for the preferences dialog.
1490         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1491
1492 2004-04-05  Angus Leeming  <leeming@lyx.org>
1493
1494         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1495         to enable the frontends to export changes to lyxrc correctly.
1496
1497         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1498
1499 2004-04-07  André Pönitz  <poenitz@gmx.net>
1500
1501         * cursor.[Ch] (selClear, adjust): remove math
1502
1503         * cursor_slice.C: more agressive assert
1504
1505         * lyxfunc.C:
1506         * BufferView_pimpl.C: rework mouse event dispatch
1507
1508         * dociterator.C:
1509         * paragraph.C:
1510         * text2.C:
1511         * text3.C: adjust
1512
1513 2004-04-05  André Pönitz  <poenitz@gmx.net>
1514
1515         * cursor.[Ch] (valign, halign...): remove unneeded functions
1516
1517 2004-04-05  Angus Leeming  <leeming@lyx.org>
1518
1519         * lyxlength.[Ch] (unit_name et al.): const-correct.
1520
1521 2004-04-05  Angus Leeming  <leeming@lyx.org>
1522
1523         * BufferView_pimpl.C:
1524         * buffer.C:
1525         * counters.C:
1526         * cursor.C:
1527         * lyxfunc.C
1528         * paragraph.C:
1529         * pariterator.C:
1530         * text.C:
1531         * text2.C:
1532         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1533
1534 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1537
1538 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1539
1540         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1541         * BufferView_pimpl.[Ch] (getStatus)
1542         * BufferView.[Ch] (getStatus): add
1543         * lyxfunc.C (getStatus): move lfuns handled in
1544         BufferView::dispatch to te function above
1545         * Cursor.C (setSelection): set selection() = true
1546
1547 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1548
1549         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1550
1551 2004-03-31  Angus Leeming  <leeming@lyx.org>
1552
1553         * lyxfunc.C (dispatch): Fall through to the generic
1554         Dialogs::show("preamble").
1555
1556 2004-03-31  Angus Leeming  <leeming@lyx.org>
1557
1558         * lyxfunc.C (dispatch): Fall through to the generic
1559         Dialogs::show("spellchecker").
1560
1561 2004-03-31  Angus Leeming  <leeming@lyx.org>
1562
1563         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1564         preferences dialog.
1565
1566 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1567
1568         * BufferView.C
1569         * cursor.[Ch]
1570         * dociterator.[Ch]:
1571         * insetiterator.[Ch]:
1572         * lyxfind.C:
1573         * lyxfunc.C:
1574         * pariterator.[Ch]:
1575         * text2.C:
1576         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1577
1578 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1579
1580         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1581         insets where we are putting the cursor.
1582
1583 2004-03-31  Angus Leeming  <leeming@lyx.org>
1584
1585         * lfuns.h:
1586         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1587
1588         * lyxrc.[Ch] (read, write): overloaded member functions taking
1589         a std::[io]stream arguments.
1590
1591         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1592
1593 2004-03-31  Angus Leeming  <leeming@lyx.org>
1594
1595         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1596         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1597
1598         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1599         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1600
1601 2004-03-31  Angus Leeming  <leeming@lyx.org>
1602
1603         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1604         the LFUN_ALL_INSETS_TOGGLE code.
1605
1606 2004-03-30  Angus Leeming  <leeming@lyx.org>
1607
1608         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1609         has died. Fall through to the generic Dialogs::show("document").
1610
1611 2004-03-30  Angus Leeming  <leeming@lyx.org>
1612
1613         * lfuns.h:
1614         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1615         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1616
1617         * lyxfunc.C (getStatus, dispatch): define the actions for these
1618         lfuns. Little more than a cut and pste job from ControlDocument.C
1619
1620         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1621
1622 2004-03-30  Angus Leeming  <leeming@lyx.org>
1623
1624         * lfuns.h:
1625         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1626         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1627
1628         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1629         open/closed state of ollapsable insets. Usage:
1630
1631         all-inset-toggle <state> <name>, where
1632         <state> == "open" || "closed" || "toggle" and
1633         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1634
1635         * lyxtext.h, text2.C (toggleInset): removed.
1636
1637         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1638         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1639         now passes LFUN_INSET_TOGGLE to the found inset.
1640
1641         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1642         is now invoked as "all-insets-toggle toggle branch".
1643
1644 2004-03-30  Angus Leeming  <leeming@lyx.org>
1645
1646         * dociterator.C:
1647         * insetiterator.C:
1648         * pariterator.[Ch]: added/corrected header blurb.
1649
1650 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1651
1652         * dociterator.[Ch]: add an inset_ member
1653         (backwardPos): implemented
1654         (backwardPos, forwardPos): use inset_ when the stack is empty.
1655         (doc_iterator_begin, doc_iterator_end): implemented
1656         * pariterator.[Ch]: adjust, add begin, end
1657         * insetiterator.[Ch]: adjust, add begin, end
1658         * cursor.C:
1659         * document.C:
1660         * BufferView.C:
1661         * BufferView_pimpl.C:
1662         * CutAndPaste.C: adjust
1663
1664 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1665
1666         * buffer.C: increment file format to 232.
1667         * LaTeXFeatures.C: add bibtopic package.
1668         * bufferparams.[Ch]: param \use_bibtopic.
1669
1670         * lyxrc.[Ch]: add lyxrc bibtex_command
1671         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1672
1673         * buffer.C: increment file format to 231.
1674
1675 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1676
1677         * dociterator.C: implement forwardPar
1678         * iterators.[Ch]: remove, replaced by
1679         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1680         * BufferView.C:
1681         * BufferView_pimpl.C:
1682         * CutAndPaste.C:
1683         * buffer.C:
1684         * bufferview_funcs.C:
1685         * cursor.C:
1686         * lyxfind.C
1687         * lyxfunc.C
1688         * paragraph_funcs.C
1689         * toc.C:
1690         * Makefile.am: adjust
1691
1692 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * CutAndPaste.C (pasteSelection): fix 2 crashes
1695         (eraseSelection): fix a crash
1696         * paragraph_funcs.C: remove a warning
1697
1698 2004-03-28  Angus Leeming  <leeming@lyx.org>
1699
1700         * lfuns.h:
1701         * LyXAction.C (init): new LFUN_PRINT.
1702
1703         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1704
1705 2004-03-27  Angus Leeming  <leeming@lyx.org>
1706
1707         * lfuns.h:
1708         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1709
1710         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1711
1712 2004-03-27  Angus Leeming  <leeming@lyx.org>
1713
1714         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1715         insetlist always contains non-null pointers to insets.
1716
1717 2004-03-26  Angus Leeming  <leeming@lyx.org>
1718
1719         * src/BufferView_pimpl.C:
1720         * src/CutAndPaste.C:
1721         * src/buffer.C:
1722         * src/iterators.C:
1723         * src/output_plaintext.C:
1724         * src/outputparams.h:
1725         * src/paragraph_funcs.C:
1726         * src/rowpainter.C:
1727         * src/text.C:
1728         * src/text2.C:
1729         * src/frontends/controllers/ControlErrorList.C:
1730         * src/frontends/gtk/FileDialogPrivate.C:
1731         * src/frontends/gtk/GPainter.C:
1732         * src/frontends/gtk/GToolbar.C:
1733         * src/frontends/qt2/QRef.C:
1734         * src/mathed/math_scriptinset.C: squash compiler warnings.
1735
1736 2004-03-26  Angus Leeming  <leeming@lyx.org>
1737
1738         * ispell.C (LaunchIspell::start):
1739         * lyx_cb.C (AutoSaveBuffer::start):
1740         invoke run(DontWait) rather than runNonBlocking().
1741
1742 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1743
1744         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1745
1746 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1747
1748         * kbsequence.C (print): adjust
1749
1750         * kbmap.C (printKeySym): rename and change signature
1751         (printKey): use LyXKeySym::print()
1752
1753 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1754
1755         * undo.C: add using std::advance to compile for stlport
1756
1757 2004-03-24  Angus Leeming  <leeming@lyx.org>
1758
1759         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1760         it leads to a crash when no buffer is present.
1761
1762 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1763             Martin Vermeer  <martin.vermeer@hut.fi>
1764
1765         * lyxfunc.C (dispatch):
1766         * bufferparams.C (readToken): use the new LColor::setColor
1767
1768         * LColor.[Ch] (setColor): new version that takes two strings as
1769         argument and creates a new color entry if necessary
1770
1771 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1772
1773         * buffer.C (makeLaTeXFile): if the main latex file that is
1774         processed is usually a subdocument of some master, then pretend
1775         for a while that it is actually the master
1776
1777 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1778
1779         * buffer.C (getLabelList):
1780         (getBibkeyList): use getMasterBuffer()
1781         (getMasterBuffer): new method. Returns the main document in the
1782         case where one is using included documents.
1783
1784 2004-03-25  André Pönitz  <poenitz@gmx.net>
1785
1786         * Makefile.am:
1787         * iterators.[Ch]:
1788         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1789
1790         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1791
1792         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1793         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1794
1795         * ParameterStruct.h: merge with ParagraphParameters
1796
1797         * lyxtext.h: remove LyXText::parOffset() and getPar()
1798
1799         * text3.C: Remove all 'manual' update calls. We do now one per user
1800         interaction which is completely sufficient.
1801
1802         * Bidi.C:
1803         * BufferView.[Ch]:
1804         * BufferView_pimpl.C:
1805         * FontIterator.[Ch]:
1806         * MenuBackend.C:
1807         * ParagraphParameters.[Ch]:
1808         * buffer.C:
1809         * buffer.h:
1810         * bufferlist.C:
1811         * cursor.[Ch]:
1812         * cursor_slice.[Ch]:
1813         * dociterator.[Ch]:
1814         * errorlist.[Ch]:
1815         * factory.C:
1816         * lfuns.h:
1817         * lyxfind.C:
1818         * lyxfunc.C:
1819         * output_docbook.[Ch]:
1820         * output_latex.[Ch]:
1821         * output_linuxdoc.[Ch]:
1822         * output_plaintext.[Ch]:
1823         * paragraph.[Ch]:
1824         * paragraph_funcs.[Ch]:
1825         * paragraph_pimpl.[Ch]:
1826         * rowpainter.C:
1827         * tabular.[Ch]:
1828         * text.C:
1829         * text2.C:
1830         * toc.C:
1831         * undo.[Ch]: adjust
1832
1833         * frontends/controllers/ControlDocument.C:
1834         * frontends/controllers/ControlErrorList.C:
1835         * frontends/controllers/ControlSpellchecker.C:
1836         * insets/inset.C:
1837         * insets/inset.h:
1838         * insets/insetbase.h:
1839         * insets/insetbibitem.C:
1840         * insets/insetbox.C:
1841         * insets/insetbranch.C:
1842         * insets/insetcaption.C:
1843         * insets/insetcharstyle.C:
1844         * insets/insetcharstyle.h:
1845         * insets/insetcollapsable.C:
1846         * insets/insetcollapsable.h:
1847         * insets/insetert.C:
1848         * insets/insetfloat.C:
1849         * insets/insetfoot.C:
1850         * insets/insetmarginal.C:
1851         * insets/insetnote.C:
1852         * insets/insetoptarg.C:
1853         * insets/insettabular.C:
1854         * insets/insettext.C:
1855         * insets/insettext.h:
1856         * insets/insetwrap.C:
1857         * mathed/math_mboxinset.C:
1858         * mathed/math_nestinset.C:
1859         * mathed/math_scriptinset.C:
1860         * mathed/math_scriptinset.h:
1861         * support/types.h:
1862
1863 2004-03-24  Angus Leeming  <leeming@lyx.org>
1864
1865         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1866         deal with any child processes that have finished but are waiting to
1867         communicate this fact to the rest of LyX.
1868
1869 2004-03-24  Angus Leeming  <leeming@lyx.org>
1870
1871         64-bit compile fixes.
1872
1873         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1874         (c-tor): pass lyx::pos_types rather than ints.
1875
1876         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1877         lyx::pos_type.
1878
1879         * text.C (Delete): compile fix.
1880         (getPar): ensure that function declaration is the same as that in
1881         the header file.
1882
1883 2004-03-23  Angus Leeming  <leeming@lyx.org>
1884
1885         * ispell.C (LaunchIspell):
1886         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1887         a boost::shred_ptr rather than a std::auto_ptr.
1888
1889 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1890
1891         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1892         handle LFUN_FILE_INSERT_*
1893
1894         * lyxrc.C (setDefaults, getDescription, output, read):
1895         * lyxrc.h: remove ps_command
1896
1897 2004-03-22  Angus Leeming  <leeming@lyx.org>
1898
1899         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1900         Ensure that error_handler is processed once only and that all data
1901         is saved before attempting to output any warning messages.
1902
1903         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1904
1905 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1908
1909 2004-03-19  André Pönitz  <poenitz@gmx.net>
1910
1911         * cursor.[Ch] (reset): take main text inset as argument
1912
1913         * BufferView: adjust
1914         * BufferView_pimpl.C: adjust
1915
1916         * paragraph.[Ch]: fix completely broken operator=()
1917
1918 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1919
1920         * LColor.C (getFromLyXName): make sure that the color name is used
1921         as lowercase.
1922
1923 2004-03-17  Angus Leeming  <leeming@lyx.org>
1924
1925         * lfuns.h:
1926         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1927
1928         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1929         dialog and to kill a forked process.
1930
1931 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1932
1933         * text2.C (setCursorFromCoordinates): fix font problem
1934
1935 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1936
1937         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1938         bogus "rebuild cursor" code
1939
1940 2004-03-11  André Pönitz  <poenitz@gmx.net>
1941
1942         * buffer.[Ch]: use InsetText instead of LyXText as container for
1943         the main lyx text.
1944
1945         * dociterator.[Ch]: drop the BufferView * member which is not needed
1946         anymore after the change to buffer.C
1947
1948         * paragraph_funcs.C:
1949         * text.C:
1950         * text2.C:
1951         * BufferView.[Ch]:
1952         * BufferView_pimpl.[Ch]:
1953         * cursor.[Ch]:
1954         * cursor_slice.[Ch]: adjust
1955
1956         * text3.C: fix bug in mathDispatch
1957
1958 2004-03-08  André Pönitz  <poenitz@gmx.net>
1959
1960         * undo.[Ch]: use 'StableDocumentIterator' as base for
1961         the Undo struct.
1962
1963 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1964
1965         * LaTeXFeatures.C:
1966         * bufferparams.[Ch]: add jurabib support and param.
1967
1968         * LaTeX.C: add FIXME/comment.
1969
1970 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1971
1972         * buffer.C: increment file format to 230.
1973
1974 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * cursor.C (dispatch): avoid infinite loops
1977
1978 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1979
1980         * rowpainter.C (paintSelection): fix x coordinates
1981
1982 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1983
1984         * text.C (rowBreakPoint): fix breaking before displayed insets
1985
1986 2004-03-01  André Pönitz  <poenitz@gmx.net>
1987
1988         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1989
1990         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1991
1992         * Makefile.am:
1993         * BufferView.C:
1994         * BufferView_pimpl.C:
1995         * buffer.C:
1996         * lyxfind.C:
1997         * lyxfunc.C:
1998         * text.C:
1999         * text2.C:
2000         * text3.C: adjust
2001
2002 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * lyxtext.h:
2005         * text.C:
2006         * text2.C:
2007         * rowpainter.C:
2008         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2009         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2010
2011 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * Bidi.[Ch] (computeTables): const correctness
2014         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2015         fill_hfill, fill_label_hfill and x from Row
2016         * lyxtext.h: prepareToPrint returns a RowMetrics
2017         * rowPainter.C: adjust
2018         * text.C (prepareToPrint): use width, not textWidth. adjust
2019         (redoParagraphInternal, cursorX): adjust
2020         * text2.C (getColumnNearX): adjust
2021         (init): put a default value to the top LyXText::width
2022
2023 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2026
2027 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2028
2029         * lyxtext.h: add FontIterator class
2030
2031         * text.C (FontIterator, operator*, operator->, operator++): add
2032         (rowBreakPoint, setRowWidth): adjust (fixing a
2033         rebreaking bug)
2034
2035 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2036
2037         * BufferView_pimpl.C (workAreaDispatch): allow also
2038         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2039
2040 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2041
2042         * text.C (rowBreakPoint): fix a bug showing with very large insets
2043
2044 2004-02-25  André Pönitz  <poenitz@gmx.net>
2045
2046         * text3.C:
2047         * cursor.[Ch]: move some mathed specific code to mathed
2048
2049 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2050
2051         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2052         use_tempdir in preferences
2053         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2054         tempfile creation
2055         * lyx_main.C: ensure that tempdir is valid
2056         * lyxlex.h: correct typo
2057         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2058         * paragraph.[Ch] (isMultiLingual): make const
2059         * cursor.[Ch] (openable): make const
2060
2061 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2062
2063         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2064
2065 2004-02-20  André Pönitz  <poenitz@gmx.net>
2066
2067         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2068
2069         * cursor.[Ch]: prepare for localized getStatus()
2070
2071         * lyxtext.h:
2072         * tabular.C:
2073         * text.C:
2074         * text2.C:
2075         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2076
2077 2004-02-20  André Pönitz  <poenitz@gmx.net>
2078
2079         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2080
2081 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2082
2083         * text2.C (setCursorFromCoordinates): switch to absolute coords
2084         (cursorUp): adjust
2085         (cursorDown): adjust
2086         * text3.C (dispatch): adjust
2087
2088 2004-02-16  André Pönitz  <poenitz@gmx.net>
2089
2090         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2091           insets/ChangeLog)
2092
2093         * cursor_slice.[Ch]: remove unneeded acessor function
2094
2095         * lyxtext.h: rename rtl() to isRTL()
2096
2097         * rowpainter.C:
2098         * tabular.C:
2099         * text.C:
2100         * text2.C:
2101         * text3.C: adjust
2102
2103 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2104
2105         * rowpainter.C (paintSelection): coord fix
2106
2107 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2108
2109         * Spacing.C: compile fix
2110
2111 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * cursor.C (dispatch): restore current_ before returning
2114
2115 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * text2.C (cursorUp, cursorDown): fix coords
2118         (moveUp): fix crash
2119
2120 2004-02-12  André Pönitz  <poenitz@gmx.net>
2121
2122         * lyxtext.h:
2123         * text.C:
2124         * text2.C:
2125         * text3.C: add LCursor & parameter to most cursor movement functions
2126           remove usage of LyXText::cursorRow() and cursorPar()
2127
2128         * cursor.[Ch]: add textRow() needed members
2129
2130         * BufferView.C:
2131         * BufferView_pimpl.C:
2132         * paragraph.[Ch]:
2133         * BufferView.C:
2134         * BufferView_pimpl.C: adjust
2135
2136 2004-02-11  André Pönitz  <poenitz@gmx.net>
2137
2138         * lyxfunc.C:
2139         * BufferView.[Ch]:
2140         * BufferView_pimpl.C: shift undo/redo handling
2141
2142         * cursor.[Ch]: fix mathed crash
2143
2144         * lyxfind.C:
2145         * lyxtext.h: move selectionAsText to LCursor
2146
2147         * output_latex.C:
2148         * paragraph.C:
2149         * text.C:
2150         * text2.C:
2151         * text3.C: adjust
2152
2153         * rowpainter.C: fix excessive drawing
2154
2155 2004-02-06  André Pönitz  <poenitz@gmx.net>
2156
2157         * BufferView.[Ch]:
2158         * BufferView_pimpl.[Ch]:
2159         * text3.C: move some text specific LFUN handling
2160
2161 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2162
2163         * text3.C (checkInsetHit): adjust coords
2164         * text2.C (getColumnNearX): adjust coords
2165         (edit): adjust coords
2166         * text.C (getRowNearY): add two asserts
2167
2168 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2169
2170         * converter.C:
2171         * format.C: add using std::distance to compile on gcc 2.95/stlport
2172
2173 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2174
2175         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2176
2177 2004-02-04  André Pönitz  <poenitz@gmx.net>
2178
2179         * BufferView.[Ch] (insertInset):
2180         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2181
2182         * text2.C:
2183         * text3.C: adjust
2184
2185 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2186
2187         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2188         on the default clause of the switch
2189         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2190         wasn't catched by LCursor::dispatch
2191
2192 2004-02-03  André Pönitz  <poenitz@gmx.net>
2193
2194         * BufferView.C:
2195         * cursor.[Ch]: some additional asserts
2196
2197         * undo.[Ch]: remove LyXText dependency in interface
2198
2199         * lyxfunc.C: adjust
2200
2201         * lyxtext.h (firstPar, lastPar): remove dead functions
2202
2203         * text.C:
2204         * text2.C:
2205         * text3.C:
2206         * paragraph.[Ch]: adjust
2207
2208 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2209
2210         * lyxfind.C (find): fix argument order in call to ::find
2211
2212 2004-02-02  André Pönitz  <poenitz@gmx.net>
2213
2214         * cursor.[Ch]: remove direct access to anchor
2215
2216         * text.C: remove findText() hack
2217
2218 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2219
2220         * iterators.[Ch] (lockPath): remove in favour of...
2221         * BufferView.[Ch] (setCursor): this addition
2222         * BufferView.C (putSelectionAt): adjust
2223         * undo.C (performUndoOrRedo): adjust
2224         * lyxfunc.C (dispatch): adjust
2225
2226 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2227
2228         * iterators.C (lockPath): add a missing slice
2229         * undo.C (performUndoOrRedo): remove redundant positioning code
2230
2231 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2232
2233         * vc-backend.C (scanMaster): ";" -> ';'
2234
2235 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2236
2237         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2238         std::binary_function
2239
2240         * lyxtextclass.C (compare_name): rename to...
2241         (LayoutNamesEqual): ...this
2242
2243         * lyxlex_pimpl.C (compare_tags): inherit from
2244         std::binary_function, put back into anon namespace
2245
2246         * lyxfind.C (MatchString): inherig from std::binary_function
2247         (findChange): use empty() istead of !size()
2248
2249         * format.C (FormatNamesEqual): new functor
2250         (getFormat): use it
2251         (getNumber): use it
2252         (add): use it
2253         (erase): use it
2254         (setViewer): use it
2255
2256         * converter.C (compare_Converter): rename to...
2257         (ConverterEqual): ...this, and fixup a bit.
2258         (getConverter): use it, and make function const
2259         (getNumber): use it, and make function const
2260         (add): use it
2261         (erase): use it:
2262
2263         * bufferlist.C: add using boost::bind
2264
2265         * MenuBackend.C (MenuNamesEqual): new functor
2266         (hasMenu): use it, and make function const
2267         (hasSubmenu): use nested bind to get rid of compare_memfun.
2268
2269 2004-01-30  André Pönitz  <poenitz@gmx.net>
2270
2271         * BufferView_pimpl.C:
2272         * cursor.C:
2273         * cursor.h:
2274         * cursor_slice.[Ch]:
2275         * lyxfunc.C:
2276         * lyxtext.h:
2277         * paragraph_funcs.C:
2278         * paragraph_funcs.h:
2279         * rowpainter.C:
2280         * text.C:
2281         * text2.C:
2282         * text3.C: move some of the edit(x,y) handling to the insets
2283         some coordinate changes.
2284
2285 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2286
2287         * text.C: add using statements for std::advance and std::distance
2288
2289         * paragraph.C: add using statement for std::distance
2290
2291         * lyxfind.C: add using statement for std::advance
2292
2293         * cursor.C (region): remove std:: from swap
2294         (openable): use nucleus in stead of operator->
2295
2296         * BufferView.C: add using statements for std::distance and std::swap
2297
2298 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2299
2300         * iterators.C: Remove the pimple, move the needed structures to
2301         the header file. Create accessor for the positions stack.
2302         (asPosIterator): remove function
2303
2304         * PosIterator.C (PosIterator): move constructors to top of file
2305         (PosIterator): reimplement the constructor taking a ParIterator in
2306         terms of setFrom.
2307         (setFrom): new function
2308         (operator!=): inline it
2309
2310 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2311
2312         * lyxfind.C (replaceAll): use std::advance
2313
2314         * iterators.h: inherit from std::iterator.
2315
2316         * PosIterator.C (advance, distance): remove
2317         * PosIterator.h: interit from std::iterator.
2318
2319 2004-01-26  André Pönitz  <poenitz@gmx.net>
2320
2321         * BufferView.[Ch]:
2322         * BufferView_pimpl.[Ch]:
2323         * InsetList.[Ch]:
2324         * PosIterator.[Ch]:
2325         * buffer.h:
2326         * bufferview_funcs.C:
2327         * cursor.[Ch]:
2328         * cursor_slice.h:
2329         * factory.[Ch]:
2330         * iterators.[Ch]:
2331         * lyxfind.C:
2332         * lyxfunc.C:
2333         * lyxtext.h:
2334         * output_docbook.C:
2335         * output_latex.C:
2336         * output_linuxdoc.C:
2337         * output_plaintext.C:
2338         * paragraph.[Ch]:
2339         * paragraph_funcs.[Ch]:
2340         * paragraph_pimpl.[Ch]:
2341         * rowpainter.C:
2342         * tabular.C:
2343         * tabular.h:
2344         * text.C:
2345         * text2.C:
2346         * text3.C: more IU:  dumps most of the rest of the mathcursor
2347     implementation into cursor.[Ch]; "globalize" a bit of it.
2348
2349 2004-01-25  Angus Leeming  <leeming@lyx.org>
2350
2351         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2352
2353 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2354
2355         * LaTeXFeatures.h: add nice_ and nice() const
2356         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2357
2358 2004-01-20  André Pönitz  <poenitz@gmx.net>
2359
2360         * BufferView.[Ch]:
2361         * BufferView_pimpl.C:
2362         * PosIterator.C:
2363         * bufferview_funcs.C:
2364         * cursor.[Ch]:
2365         * cursor_slice.[Ch]:
2366         * factory.C:
2367         * iterators.C:
2368         * lyx_cb.C:
2369         * lyxfind.C:
2370         * lyxfunc.C:
2371         * lyxtext.h:
2372         * rowpainter.C:
2373         * text.C:
2374         * text2.C:
2375         * text3.C:
2376         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2377           LCursor and mathcursor parts to LCursor and InsetBase.
2378
2379 2004-01-15  André Pönitz  <poenitz@gmx.net>
2380
2381         * cursor_slice.[Ch]: add a few covienience functions
2382
2383         * funcrequest.[Ch]: remove BufferView * member
2384
2385         * BufferView_pimpl.C:
2386         * cursor.C:
2387         * factory.[Ch]:
2388         * lyxfind.[Ch]:
2389         * lyxfunc.C:
2390         * lyxtext.h:
2391         * text3.C:
2392         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2393
2394 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2395
2396         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2397         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2398
2399 2004-01-13  André Pönitz  <poenitz@gmx.net>
2400
2401         * textcursor.[Ch]:
2402         * lyxtext.h: hide cursor and selection anchor behind accessor function
2403
2404         * BufferView.C:
2405         * BufferView_pimpl.[Ch]:
2406         * PosIterator.C:
2407         * bufferview_funcs.C:
2408         * cursor.h:
2409         * lyxfind.C:
2410         * lyxfunc.C:
2411         * text.C:
2412         * text2.C:
2413         * text3.C:
2414         * undo.C: adjust
2415
2416         * cursor.h:
2417         * cursor_slice.[Ch]: some integer type changes for inset unification
2418
2419         * lyxcursor.[hC]: remove, it's CursorSlice now.
2420
2421         * Makefile.am:
2422         * BufferView_pimpl.[Ch]:
2423         * bufferview_funcs.C:
2424         * cursor_slice.C:
2425         * lyxtext.h:
2426         * text.C:
2427         * text2.C:
2428         * text3.C:
2429         * textcursor.[Ch]: adjust
2430
2431 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2432
2433         * text2.C (undoSpan): add and use
2434         * text.C (breakParagraph): use undoSpan (fix bug 578)
2435         * lyxtext.h: adjust
2436
2437 2004-01-08  Angus Leeming  <leeming@lyx.org>
2438
2439         * BufferView_pimpl.C (MenuInsertLyXFile):
2440         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2441         * lyxfunc.C (menuNew, open, doImport):
2442         FileFilterList change to the FileDialog open and save functions.
2443
2444 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2445
2446         * ShareContainer.h: make isEqual and isUnique adaptable
2447
2448         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2449
2450 2004-01-07  Angus Leeming  <leeming@lyx.org>
2451
2452         * LyXAction.C:
2453         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2454
2455         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2456
2457         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2458         functions replacing find, replace and replaceAll.
2459
2460         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2461         LFUN_WORDFIND(FORWARD|BACKWARD).
2462
2463 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2464
2465         * text.C (breakParagraph): remove an outdated #warning
2466
2467 2004-01-07  André Pönitz  <poenitz@gmx.net>
2468
2469         * lyxfind.C: somewhat clearer logic
2470
2471         * text.C: prevent crash in cursorX on unitialized row cache
2472
2473 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2474
2475         * lyxcursor.[Ch] (operator>): add
2476         * textcursor.C (selStart, selEnd): use std::min and std::max
2477
2478 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2479
2480         * Chktex.C: include boost/format.hpp
2481
2482 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2483
2484         * InsetList.C: replace functor MathcIt with adaptable functor
2485         InsetTablePosLess
2486         (insetIterator): modify accordingly
2487
2488         * BranchList.h: move the BranchNamesEqual functor here from...
2489         * BranchList.C: ... to here
2490
2491         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2492         SameName and match.
2493         (add): replace a finding loop with std::find_if.
2494
2495 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2496
2497         * output_docbook.C: moving LatexParam functionality into
2498         .layout files
2499
2500 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2501
2502         * buffer.C: increment format to 229.
2503
2504 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2505
2506         * LaTeXFeatures.C:
2507         * lyx_sty.[Ch]: remove minipageindent_def
2508
2509         * LyXAction.C:
2510         * factory.C:
2511         * lfuns.h:
2512         * lyxfunc.C:
2513         * text3.C: remove LFUN_INSET_MINIPAGE
2514
2515 2003-12-28  Angus Leeming  <leeming@lyx.org>
2516
2517         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2518
2519 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * text2.C (setParagraph): fix off-by-one crash
2522
2523 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2524
2525         * output_docbook.C: header stuff for AGU
2526
2527 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2528
2529         * text2.C (redoCursor): remove
2530         * text.C:
2531         * text3.C:
2532         * BufferView_pimpl.C: remove calls to redoCursor and
2533         setCursor(cursor.par(), cursor.pos()) all around
2534
2535 2003-12-15  Angus Leeming  <leeming@lyx.org>
2536
2537         * buffer.C: up the format to 228.
2538
2539 2003-12-15  André Pönitz  <poenitz@gmx.net>
2540
2541         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2542         slices
2543
2544         * Makefile.am:
2545
2546         * BufferView_pimpl.C:
2547         * cursor.[Ch]:
2548         * lyxcursor.[Ch]:
2549         * rowpainter.[Ch]:
2550         * lyxtext.h:
2551         * text.C:
2552         * text2.C:
2553         * text3.C: adjust
2554
2555 2003-12-15  Angus Leeming  <leeming@lyx.org>
2556
2557         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2558         than getFromGUIName to manipulate the color.
2559
2560 2003-12-14  Angus Leeming  <leeming@lyx.org>
2561
2562         * BranchList.[Ch]: minimize the API.
2563         (Branch::getBranch, getColor): now return a 'const &'.
2564         (Branch::setSelected) now returns a bool set to true if the
2565         selection status changes.
2566         (BranchList::clear, size, getColor, setColor, setSelected,
2567         allBranches, allSelected, separator): removed.
2568         (BranchList::find): new functions, returning the Branch with
2569         the given name.
2570         (BranchList::add, remove): return a bool indicating that
2571         the operation was successful.
2572
2573         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2574         new InsetBranch::isBranchSlected member function.
2575
2576         * LColor.[Ch]: mimimize the API.
2577         (fill): renamed as addColor and made private.
2578         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2579         versions of these functions taking a string arg have been removed.
2580
2581         * bufferparams.C (readToken):
2582         * lyxfunc.C (dispatch):
2583         * lyxrc.C (read): changes due to the altered BranchList and
2584         LColor APIs.
2585
2586         * factory.C (createInset, readInset): changes due to altered
2587         InsetBranch c-tor.
2588
2589 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2590
2591         * factory.C:
2592         * lyxfunc.C: remove insetminipage. "minipage-insert"
2593         now produces a frameless minipage box inset.
2594
2595 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2596
2597         * textcursor.[Ch] (selStart,selEnd): add new methods
2598         remove selection::start, end, use LyXCursor::operator<
2599         * lyxcursor.[Ch] (operator<): add
2600         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2601         * BufferView.[Ch] (unsetXSel): add
2602         * text2.C (clearSelection): use unsetXSel,adjust
2603         * text.C: adjust
2604         * text3.C: adjust
2605         * rowpainter.C: adjust
2606         * bufferview_funcs.C (put_selection_at): adjust
2607
2608 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2609
2610         * BufferView_pimpl.C: small coord. correction
2611
2612 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2613
2614         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2615         dragging over the splash screen.
2616
2617 2003-12-11  Angus Leeming  <leeming@lyx.org>
2618
2619         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2620         as it is now handled in LyXText::dispatch.
2621
2622         * text3.C (doInsertInset): remove a level of nesting.
2623
2624 2003-12-11  Angus Leeming  <leeming@lyx.org>
2625
2626         * factory.C (createInset): changes due to the changed interface to
2627         InsetCommandMailer::string2params.
2628
2629 2003-12-10  Angus Leeming  <leeming@lyx.org>
2630
2631         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2632         'dialog-show-new-inset <inset name>'
2633
2634 2003-12-10  Angus Leeming  <leeming@lyx.org>
2635
2636         * buffer.C: up the format to 227.
2637
2638         * factory.C: the box inset is now identified simply by 'Box'.
2639
2640 2003-12-10  Angus Leeming  <leeming@lyx.org>
2641
2642         * buffer.C: up the format to 226.
2643
2644         * factory.C: the note inset is now identified simply by 'Note'.
2645
2646 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2649         when a pit is enough. Standarize a couple of loops.
2650
2651 2003-12-05  Angus Leeming  <leeming@lyx.org>
2652
2653         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2654         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2655         data to the re-worked "log" dialog.
2656
2657 2003-12-03  André Pönitz  <poenitz@gmx.net>
2658
2659         * PosIterator.C:
2660         * iterators.C:
2661         * lyxtext.h:
2662         * output_latex.C:
2663         * paragraph_funcs.C:
2664         * text.C:
2665         * text2.C: use Inset::getText instead of Inset::getParagraph
2666
2667 2003-12-03  André Pönitz  <poenitz@gmx.net>
2668
2669         * buffer.[Ch]:
2670         * lyxtext.h:
2671         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2672         InsetText::read() as LyXText::read()
2673
2674 2003-12-02  Angus Leeming  <leeming@lyx.org>
2675
2676         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2677         type. Add a comment in the implementation that the function uses
2678         the stream's bad() function rather than fail() as the std::streams
2679         would do.
2680
2681 2003-12-02  André Pönitz  <poenitz@gmx.net>
2682
2683         * lyxlex.[Ch]: make interface more similar to std::stream
2684
2685         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2686
2687 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2688
2689         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2690
2691 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2692
2693         * vspace.[Ch]: remove VSpace::NONE
2694
2695 2003-12-01  André Pönitz  <poenitz@gmx.net>
2696
2697         * buffer.[Ch]:
2698         * lyxtext.h: move ParagraphList member to LyXText
2699         rename LyXText::ownerParagraphs to LyXText::paragraph
2700
2701         * CutAndPaste.C:
2702         * bufferview_funcs.C:
2703         * iterators.[Ch]:
2704         * lyx_cb.C:
2705         * paragraph.C:
2706         * rowpainter.C:
2707         * tabular.C:
2708         * text.C:
2709         * text2.C:
2710         * text3.C: adjust
2711
2712         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2713
2714         * undo.C: fix cursor positioning
2715
2716 2003-12-01  John Levon  <levon@movementarian.org>
2717
2718         * BufferView_pimpl.C: fix a crash on exit with
2719         a buffer open
2720
2721 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2722
2723         * BranchList.C: fix setSelected() method.
2724
2725 2003-11-28  André Pönitz  <poenitz@gmx.net>
2726
2727         * ParagraphParameters.[Ch]:
2728         * ParameterStruct.h: remove space above/below from Paragraph to
2729          InsetVSpace
2730
2731         * BufferView_pimpl.C:
2732         * factory.C:
2733         * lyxfunc.C:
2734         * lyxtext.h:
2735         * output_latex.C:
2736         * paragraph.C:
2737         * paragraph_funcs.C:
2738         * rowpainter.[Ch]:
2739         * text.C:
2740         * text2.C:
2741         * text3.C: adjust
2742
2743 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2744
2745         * factory.C: Syntax change for CharStyles
2746
2747 2003-11-28  André Pönitz  <poenitz@gmx.net>
2748
2749         * BufferView.[Ch]:
2750         * BufferView.[Ch]:
2751         * buffer.[Ch]:
2752         * buffer.[Ch]: move LyXText member
2753
2754 2003-11-28  André Pönitz  <poenitz@gmx.net>
2755
2756         * BufferView.[Ch]: make LyXText * text a private member
2757
2758         * BufferView_pimpl.C:
2759         * cursor.C:
2760         * iterators.C:
2761         * lyx_cb.C:
2762         * lyxfind.C:
2763         * lyxtext.h:
2764         * rowpainter.[Ch]:
2765         * text.C:
2766         * text2.C:
2767         * undo.C: adjust
2768
2769         * output_plaintext.C: cleanup
2770
2771 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2772
2773         * buffer.C:
2774         * lyxtextclass.[Ch]: parametrize SGML document header
2775
2776 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2777
2778         * converter.[Ch]:
2779         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2780         getFlavor().
2781
2782 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * text2.C (setFont): rework using PosIterator (no more recursive)
2785         (setCharFont): no more needed
2786         (setLayout): no more selection cursors fiddling (done by redoCursor)
2787         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2788         destroy remaining ones)
2789
2790 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2791
2792         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2793         * lyxtext.h: ditto
2794         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2795         selection cursors
2796         * lyxfunc.C: adjust
2797         * text3.C: adjust + re-allow multi par depth changes
2798         * textcursor.C: simplify a bit
2799
2800 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2801
2802         * src/buffer.C:
2803         * src/lyxlayout.C:
2804         * src/lyxlayout.h:
2805         * src/lyxtext.h:
2806         * src/output_docbook.C:
2807         * src/output_latex.C:
2808         * src/paragraph.C:
2809         * src/paragraph.h:
2810         * src/sgml.C:
2811         * src/sgml.h:
2812         * src/text2.C: Introducing a number of tags parametrizing various
2813         XML formats that we may want to support
2814
2815 2003-11-25  André Pönitz  <poenitz@gmx.net>
2816
2817         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2818
2819         * lyxtext.h (leftMargin/rightMargin): simplify interface
2820
2821         * rowpainter.C:
2822         * text.C:
2823         * text2.C:
2824         * text3.C: adjust
2825
2826 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2827
2828         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2829         master file to any child files. Fixes bug 546.
2830
2831 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2832
2833         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2834
2835 2003-11-24  André Pönitz  <poenitz@gmx.net>
2836
2837         * rowpainter.C: simplification
2838
2839         * text2.C (updateCounters): remove call to redoParagraph on
2840         changed labels as this is far too expensive.
2841
2842 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2843
2844         * converter.C (convert): fix a crash: this function gets
2845         called with buffer == 0 from importer code.
2846
2847 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2848
2849         * text3.C (cursorPrevious): make sure that we do not compare
2850         iterators form different containers.
2851         (cursorNext): ditto
2852
2853         * rowpainter.C (paintSelection): make sure that we do not compare
2854         iterators from different containers.
2855
2856         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2857         iterators from different ParagraphList containers.
2858         [NEXT] ditto
2859
2860         * text2.C (LyXText): change order of initialization slightly
2861         (operator=): new function. copy all variables except cache_par_
2862         (moveUp): make sure that we do not compare iterators from
2863         different ParagraphList constainers.
2864         (moveDown): ditto
2865
2866         * text.C (firstPar): new function
2867         (lastPar): new function
2868         (endPar): new function
2869
2870         * lyxtext.h: move things around and group public functions, public
2871         variables, private functions, private variables
2872
2873 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2874
2875         * factory.C: change call to InsetERT constructor to avoid
2876         additional invocation of method status
2877         * text2.C (toggleInset): remove redundant update() call
2878         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2879         instead of a Bufferview pointer
2880
2881 2003-11-21  André Pönitz  <poenitz@gmx.net>
2882
2883         * rowpainter.C: simplification
2884
2885 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2886
2887         * text3.C (dispatch): make possible to extend a word/row selection
2888         with the mouse
2889
2890 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2891
2892         * lyxtext.h: x0_,y0_ -> xo_,yo_
2893         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2894         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2895         * rowpainter.C (paintRows): paint full paragraphs
2896
2897 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2898
2899         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2900         screen coordinates)
2901
2902 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2903
2904         * lyxtext.h: add x0_, y0_
2905         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2906         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2907
2908 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2909
2910         * text2.C (setCursorIntern): move the x_target update here *
2911         * text3.C: change some bv() to true/false in calls to
2912         cursorUp/Down/Right/Left
2913         * cursor.C: use helper function.
2914
2915 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2916
2917         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2918         * paragraph_funcs.[Ch]: correct comment
2919         * rowpainter.C: do not paint selections away from bv->cursor()
2920         Fix a long standing selection painting bug.
2921         * text3.C: generalize mouse-selection code to LyXTexts other that
2922         top one
2923         * textcursor.C: do not use y coords if we can use par offsets
2924
2925 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2926
2927         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2928         cursor position after e.g. inset insert)
2929
2930 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * lyxfind.C (replace): adjust to locking removal + some
2933         code simplification
2934
2935 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2936
2937         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2938         of the path
2939
2940 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2941
2942         * lyxlayout.[Ch]:
2943         * output_docbook.C: XML sanitation: new layout
2944         parameters InnerTag and CommandDepth
2945
2946 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2947
2948         * BufferView_pimpl.C:
2949         * factory.C:
2950         * text3.C: Fix the insertion and modification of button-style
2951         insets
2952
2953 2003-11-13  André Pönitz  <poenitz@gmx.net>
2954
2955         * InsetList.[Ch]: remove deleteLyXText
2956
2957         * paragraph.[Ch]: cache beginOfBody position
2958
2959         * Bidi.C:
2960         * text.C:
2961         * text2.C:
2962         * text3.C: remove superfluous update() calls
2963
2964         * vspace.C: cleanup
2965
2966 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2967
2968         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2969         * BufferView.C (fitLockedInsetCursor): remove
2970         * cursor.[Ch] (getDim): add
2971         * text.C (getRowNearY): add faster version
2972         * text3.C: remove some update calls
2973
2974 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2975
2976         * LaTeXFeatures.C:
2977         * LyXAction.C:
2978         * MenuBackend.C:
2979         * MenuBackend.h:
2980         * dispatchresult.h:
2981         * factory.C:
2982         * lfuns.h:
2983         * lyxfunc.C:
2984         * lyxtextclass.C:
2985         * lyxtextclass.h:
2986         * text3.C: The Character Style /XML short element patch.
2987
2988 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2989
2990         * text3.C:
2991         * factory.C: Small step to solving 'unable to insert some insets'
2992         problem
2993
2994 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * cursor.[Ch] (updatePos): new function for updating the y
2997         position of the tip inset
2998         * bufferview_funcs.C (put_selection_at):
2999         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3000
3001 2003-11-11  André Pönitz  <poenitz@gmx.net>
3002
3003         * text.C: remove big comment on invalid Paragraph pointers as it is
3004         not valid anymore
3005
3006 2003-11-11  André Pönitz  <poenitz@gmx.net>
3007
3008         * text_funcs.[Ch]: merge with ...
3009
3010         * text.C: ... this
3011
3012         * lyxtext.h:
3013         * text2.C:
3014         * text3.C: adjust
3015
3016         * Makefile.am: remove text_funcs.[Ch]
3017
3018 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3019
3020         * cursor.C (getPos): return absolute cached y coord
3021
3022         * BufferView_pimpl.C (fitCursor): new simplistic code
3023         (workAreaDispatch): add a fitCursor call
3024
3025 2003-11-10  André Pönitz  <poenitz@gmx.net>
3026
3027         * BufferView.[Ch]:
3028         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3029
3030 2003-11-10  André Pönitz  <poenitz@gmx.net>
3031
3032         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3033         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3034         indicate that the cursor needs to leave an inset
3035
3036         * lyxtext.h: remove inset locking
3037
3038         * cursor.[Ch]: re-implement functionality provided by inset locking
3039
3040         * BufferView.[Ch]:
3041         * BufferView_pimpl.[Ch]:
3042         * LyXAction.C:
3043         * bufferview_funcs.[Ch]:
3044         * factory.C:
3045         * funcrequest.[Ch]:
3046         * iterators.C:
3047         * lyx_cb.C:
3048         * lyxfind.C:
3049         * lyxfunc.C:
3050         * text.C:
3051         * text2.C:
3052         * text3.C:
3053         * undo.C: adjust
3054
3055 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3056
3057         * PosIterator.[Ch]: replace the stack with a vector, add inset
3058         accesor
3059         * iterators.[C]: adjust
3060
3061 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3062
3063         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3064         replaced
3065         * paragraph_funcs.C (readParToken): put the correct id in the
3066         error item, not the id of the top paragraph
3067
3068 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3069
3070         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3071         * bufferview_funcs.C (put_selection_at): use the above
3072
3073 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3074
3075         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3076
3077 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3078
3079         * output_linuxdoc.h:
3080         * output_plaintext.h:
3081         * output.h:
3082         * output_docbook.h: add #include statements
3083
3084 2003-11-05  José Matos  <jamatos@lyx.org>
3085
3086         * output_docbook.[Ch]:
3087         * output_latex.[Ch]:
3088         * output_linuxdoc.[Ch]:
3089         * output_plaintext.[Ch]: New files for output formats.
3090         * output.[Ch]: New file for helper functions.
3091
3092         * buffer.[Ch]:
3093         * paragraph_funcs.[Ch]: output functions moved to new files.
3094
3095         * outputparams.h: rename of latexrunparams.h
3096
3097         * LaTeX.[Ch]:
3098         * buffer.[Ch]:
3099         * bufferlist.[Ch]:
3100         * converter.[Ch]:
3101         * exporter.C:
3102         * paragraph.[Ch]:
3103         * paragraph_funcs.[Ch]:
3104         * paragraph_pimpl.[Ch]:
3105         * tabular.[Ch]: rename ascii to plaintext
3106         and LatexRunParams to OutputParams.
3107
3108 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3109
3110         * iterators.[Ch] (text): require bv argument
3111         * undo.C (recordUndo):
3112         * lyxfunc.C (dispatch):
3113         * bufferview_funcs.C (put_selection_at): adjust
3114
3115 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3116
3117         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3118
3119 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3120
3121         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3122         nestings
3123
3124 2003-11-04  André Pönitz  <poenitz@gmx.net>
3125
3126         * cursor.[Ch]: restructure
3127
3128         * BufferView.[Ch]:
3129         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3130
3131         * iterators.[Ch] (asCursor): remove
3132
3133         * lfuns.h: remove LFUN_INSET_EDIT
3134
3135         * lyxfunc.C:
3136         * tabular.C:
3137         * text.C:
3138         * text2.C:
3139         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3140
3141 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3142
3143         * lyxfind.[Ch]: complete overhaul
3144         * BufferView_pimpl.C:
3145         * lyxfunc.C: adjust
3146         * paragraph.[Ch] (insert): add
3147
3148 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3149
3150         * BufferView.[Ch]:
3151         * lyxtext.h:
3152         * text.C: remove dead spellcheck code
3153
3154 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3155
3156         * dispatchresult.h: add a val setter
3157
3158         * cursor.C (dispatch): use a tempvar for data_[i]
3159
3160 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3161
3162         * PosIterator.[Ch]: compile fix
3163
3164 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3165
3166         * text.C (cursorPar): deactivate the cursor cache
3167
3168 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3169
3170         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3171
3172 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3173
3174         * text3.C (dispatch): adjust for new DisptchResult semantics.
3175
3176         * lyxfunc.C (dispatch): handle update when return from
3177         Cursor::dispatch, adjust for new DispatchResult semantics.
3178
3179         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3180         DispatchResult(true) mean to not update. Add class functions for
3181         setting dispatched and update, as well as reading.
3182
3183         * cursor.C (dispatch): don't handle update here
3184
3185 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3186
3187         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3188         * trans_mgr.C: adjust
3189
3190         * paragraph_funcs.C (readParToken): exception safety
3191
3192         * lyxvc.h: store the vcs pointer in a scoped_ptr
3193         * lyxvc.C: adjust
3194
3195         * lyxsocket.C (serverCallback): exception safety
3196
3197         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3198
3199         * ispell.C (clone): make it return a auto_ptr
3200
3201         * factory.C (createInset): exception safety
3202         (readInset): exception safety
3203
3204         * bufferlist.C (newBuffer): exception safety
3205
3206         * Thesaurus.C (Thesaurus): use initialization for aik_
3207
3208         * MenuBackend.C (expandToc): exception safety.
3209
3210 2003-11-03  André Pönitz  <poenitz@gmx.net>
3211
3212         * buffer.C:
3213         * buffer.h:
3214         * bufferview_funcs.C: remove getInsetFromId()
3215
3216         * lyxcursor.[Ch]:
3217         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3218
3219         * lyxfunc.C:
3220         * text2.C:
3221         * text3.C: adjust
3222
3223 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3224
3225         * PosIterator.C (distance, advance): new
3226         * bufferview_funcs.[Ch] (put_selection_at): new
3227         * iterators.[Ch] (lockPath): new
3228
3229 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * iterators.[Ch] (asPosIterator): added
3232         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3233         * PosIterator.[Ch]: added
3234
3235 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3236
3237         * text3.C:
3238         * lyxfunc.C:
3239         * cursor.C (dispatch):
3240         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3241
3242         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3243         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3244         contructor, add a class function dispatched. Remove operator>=
3245
3246 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3247
3248         * debug.C: only use the default constructor for debugstream
3249         (lyxerr) here.
3250
3251         * main.C (main): include debug.h and setup the lyxerr streambuf
3252         here.
3253
3254 2003-10-31  José Matos  <jamatos@lyx.org>
3255
3256         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3257
3258         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3259         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3260         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3261         * paragraph_pimpl.C (simpleTeXSpecialC):
3262         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3263         add LatexRunParams argument.
3264
3265         * exporter.C (Export): change call accordingly.
3266
3267         * latexrunparams.h: add new member to take care of the other backends.
3268 2003-10-30  José Matos  <jamatos@lyx.org>
3269
3270         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3271         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3272         factorise code for paragraph output.
3273         * buffer.[Ch]:
3274         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3275         move functions.
3276
3277 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * text3.C (dispatch):
3280         * lyxfunc.C (dispatch):
3281         * cursor.C (dispatch):
3282         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3283
3284         * dispatchresult.h: make the dispatch_result_t ctor explicit
3285
3286 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3287
3288         * sgml.[Ch]:
3289         * buffer.C: small refactoring of docbook stuff
3290
3291 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3292
3293         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3294         meaning.
3295
3296 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3297
3298         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3299         operator dispatch_result_t, and operators for == != and >=
3300
3301         * cursor.C (dispatch): adjust for operator dispatch_result_t
3302         removal. comment out call to update
3303
3304         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3305
3306 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * text3.C:
3309         * text2.C:
3310         * text.C:
3311         * lyxtext.h:
3312         * lyxfunc.C:
3313         * cursor.C:
3314         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3315         (dispatch):
3316
3317         * dispatchresult.h: new file, DispatchResult broken out of
3318         insets/insetbase.h
3319
3320         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3321
3322 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3323
3324         * text.C (rowBreakPoint): put a hack inside #if 0
3325
3326 2003-10-28  André Pönitz  <poenitz@gmx.net>
3327
3328         * lyxtext.h:
3329         * metricsinfo.C:
3330         * paragraph_funcs.C:
3331         * rowpainter.C:
3332         * text.C:
3333         * text2.C: general cleanup (lots of small stuff)
3334
3335 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3336
3337         * text2.C (cursorEnd): simple fix to the "end key goes to one
3338         before the end on last row" bug
3339
3340 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * text.C (backspace): fix the "zombie characters"
3343
3344 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3345
3346         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3347
3348 2003-10-27  André Pönitz  <poenitz@gmx.net>
3349
3350         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3351
3352         * factory.C: handle new InsetPagebreak, InsetLine
3353
3354         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3355         and move handling into new InsetPagebreak, InsetLine
3356
3357         * BufferView_pimpl.C:
3358         * LyXAction.C:
3359         * ParagraphParameters.C:
3360         * ParameterStruct.h:
3361         * lyxfunc.C:
3362         * lyxtext.h:
3363         * paragraph.C:
3364         * paragraph.h:
3365         * paragraph_funcs.C:
3366         * paragraph_pimpl.C:
3367         * rowpainter.C:
3368         * text.C:
3369         * text2.C:
3370         * text3.C: adjust
3371
3372 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3373
3374         * text.C:
3375         * lyxrow_funcs.[Ch]:
3376         * Bidi.C:
3377         * paragraph.C:
3378         * lyxtext.h:
3379         * rowpainter.C:
3380         * text2.C:
3381         * text3.C: remove lastPos uses in favour of Row::endpos
3382
3383 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3384
3385         * undo.C (performUndoOrRedo): fix two crashes by setting a
3386         cursor by hand and reordering some calls. Use bv->lockInset instead
3387         of inset->edit because the latter loses cursor information
3388
3389 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3390
3391         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3392         by Martin
3393         (rowBreakPoint): fix width. change point to point + 1.
3394         Add a missing check.
3395
3396 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3397
3398         * MenuBackend.C:
3399         * lyxfunc.C: fix (at least partly) the problems
3400         with the Nav menu and headers inside branch insets
3401         reported by Kayvan
3402
3403 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3404
3405         * paragraph.C (getChar): add strong asserts
3406
3407         * lyxrow_funcs.C (lastPos): remove hideous hack
3408
3409         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3410         (fill): adjust to that (avoid an infinite loop)
3411
3412 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3413
3414         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3415
3416 2003-10-23  André Pönitz  <poenitz@gmx.net>
3417
3418         * RowList_fwd.h: change list<> to vector<> to gain speed
3419         after suggestion from Alfredo
3420
3421 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3422
3423         * lyxtext.h: move the bidi stuff from here...
3424         * text.C: and here
3425         * text2.C: and here
3426         * Bidi.[Ch]: ... to here
3427
3428 2003-10-23  André Pönitz  <poenitz@gmx.net>
3429
3430         * lyxtext.h:
3431         * text.C (isLastRow, isFirstRow): new functions
3432
3433         * paragraph.h: new width cache member
3434
3435         * rowpainter.C: replace RowList::iterator with Row & where possible
3436
3437         * lyxfunc.C: replace several view()->text with a single call
3438
3439         * toc.C: fix 'unused' warning
3440
3441 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3442
3443         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3444         when woring with stream::pos_type
3445         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3446
3447 2003-10-22  André Pönitz  <poenitz@gmx.net>
3448
3449         * lyxtext.h:
3450         * text.C: use Row & instead of RowList::iterator
3451
3452         * lyxrow.h: rename end() to endpos()
3453
3454         * rowpainter.C:
3455         * text.C:
3456         * text2.C: adjust
3457
3458 2003-10-22  Angus Leeming  <leeming@lyx.org>
3459
3460         * buffer.[Ch] (fully_loaded): new member function, returning true
3461         only when the file has been loaded fully.
3462         Used to prevent the premature generation of previews and by the
3463         citation inset to prevent computation of the natbib-style label.
3464
3465         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3466         templates are all set up.
3467
3468         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3469
3470 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3471
3472         * text.C: fixed an "oops" in the "is a bit silly"
3473         bug fix
3474
3475 2003-10-21  André Pönitz  <poenitz@gmx.net>
3476
3477         * FuncStatus.[Ch]: small stuff, whitespace
3478
3479         * lyxfont.[Ch]: operator<<() for debug reasons
3480
3481         * lyxfunc.C:
3482         * lyxrow_funcs.C:
3483         * lyxtext.h: whitespace, spelling
3484
3485         * paragraph.C: naming of variables
3486
3487         * text.C:
3488         * text2.C: small stuff
3489
3490
3491 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3492
3493         * text.C: (1) finish off the inset display() work;
3494         (2) fix the "is a bit silly" bug (accessing char
3495         past end of par).
3496
3497 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3498
3499         * text.C: re-introduce display() for insets, fixing the
3500         various bugs (stretch of line above, math inset
3501         positioning, ...)
3502
3503 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3504
3505         * text.C (rightMargin): remove spurious semicolon
3506
3507         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3508         1415)
3509
3510 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3511
3512         * text3.C: fix one crash due to wrong cursor def
3513
3514 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3515
3516         * vc-backend.C (scanMaster): make the regex static
3517
3518         * LaTeX.C (scanAuxFile): make the regexs static
3519
3520         * text3.C (doInsertInset, dispatch, dispatch):
3521         * text2.C (cursorUp, cursorDown):
3522         * text.C (selectNextWordToSpellcheck):
3523         * BufferView_pimpl.C (dispatch):
3524         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3525
3526 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3527
3528         * lyxsocket.C: include <cerrno>
3529
3530 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * lyxfunc.C (dispatch): remove textcache stuff
3533
3534         * bufferlist.C (release): remove textcache stuff
3535         (closeAll): ditto
3536
3537         * TextCache.C: delete file
3538         * TextCache.h: delete file
3539
3540         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3541
3542         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3543         delete of the bv_->text.
3544         (resizeCurrentBuffer): remove texcache stuff
3545         (workAreaResize): ditto
3546
3547 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3548
3549         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3550         action.
3551
3552 2003-10-16  André Pönitz  <poenitz@gmx.net>
3553
3554         * lyxrow.[Ch]:
3555         * paragraph.h:
3556         * rowpainter.C:
3557         * text.C:
3558         * text2.C:
3559         * text3.C: speed up by storing y positions per paragraph plus per-row
3560         offset instead of having a 'full' y position in the row.
3561
3562 2003-10-15  André Pönitz  <poenitz@gmx.net>
3563
3564         * iterators.[Ch]:
3565         * iterators.[Ch]:
3566         * undo.[Ch]: make undo aware of inner insets
3567
3568 2003-10-14  Angus Leeming  <leeming@lyx.org>
3569
3570         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3571         static member functions LyX::ref() and LyX::cref.
3572         (lastfiles): new accessor functions for the new lastfiles_ member var.
3573         (addLyXView, views_): add a new LyXView to the list of views_.
3574         (updateInset): loop over all LyXViews to call their own updateInset
3575         member function, returning a pointer to the Buffer owning the inset.
3576
3577         * BufferView_pimpl.C (loadLyXFile):
3578         * MenuBackend.C (expandLastfiles):
3579         * bufferlist.C (MenuWrite, QuitLyX):
3580         lastfiles is no longer a global variable.
3581         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3582
3583         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3584         static function. Access through LyX::cref().emergencyCleanup().
3585
3586 2003-10-14  André Pönitz  <poenitz@gmx.net>
3587
3588         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3589
3590         * undo.[Ch]: restoring part of 'undo in insets'
3591
3592         * Makefile.am:
3593         * undo_funcs.[Ch]: merge with undo.[Ch]
3594
3595         * tabular.C: small cleansing stuff
3596
3597 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3598
3599         * paragraph_funcs.C (readParToken): report unknown insets as error
3600         boxes. Use the outer paragraph as location (also for unknown
3601         tokens).
3602
3603         * factory.C (readInset): do not abort on reading an unknown inset.
3604         Eat it and return 0.
3605
3606 2003-10-13  Angus Leeming  <leeming@lyx.org>
3607
3608         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3609
3610         * lyxrc.C: displayTranslator is now a function,
3611         declared in GraphicsTypes.h.
3612
3613 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3614
3615         * format.C: new placeholder $$a to pass the socket address.
3616
3617         * bufferlist.[Ch]: new function getBufferFromTmp.
3618
3619         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3620           files in the temporary dir.
3621
3622 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3623
3624         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3625
3626         * Makefile.am: add lyxsocket.[Ch].
3627
3628         * lyx_main.C (error_handler): handle SIGPIPE.
3629
3630 2003-10-13  André Pönitz  <poenitz@gmx.net>
3631
3632         * BufferView_pimpl.C:
3633         * lyxtext.h:
3634         * text.C:
3635         * text2.C:
3636         * text3.C:
3637         * undo_funcs.[Ch]: use paroffset_type instead of
3638           ParagraphList::iterators to prevent multiple conversion
3639           (and get a more robust interface)
3640
3641 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3642
3643         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3644         * lyxtext.h: ditto
3645         * text3.C (dispatch): ditto
3646
3647 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3650         move the onlyfile, use onlyfile instead of foundfile in a couple
3651         of places.
3652
3653         * DepTable.C (update): flush the error stream a bit more
3654
3655 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3656
3657         * lyxserver.C (callback): adjust
3658
3659         * lyxfunc.C (getStatus): add a missing brace in commented code
3660         (ensureBufferClean): reindent
3661         (dispatch): delete version taking a string
3662
3663 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * LaTeX.C (deplog): move found file handlig from here...
3666         (handleFoundFile): .. to new function here.
3667         (deplog): make sure to discover several files mentioned on the
3668         same log line.
3669
3670 2003-10-10  André Pönitz  <poenitz@gmx.net>
3671
3672         * lyxfunc.C:
3673         * lyxtext.h:
3674         * tabular.C:
3675         * text.C:
3676         * text2.C:
3677         * text3.C: fix some of the tabular crashes
3678
3679 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3680
3681         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3682
3683         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3684
3685 2003-10-09  André Pönitz  <poenitz@gmx.net>
3686
3687         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3688
3689         * BufferView.C:
3690         * BufferView_pimpl.C:
3691         * bufferview_funcs.C:
3692         * lyx_cb.C:
3693         * lyxcursor.C:
3694         * lyxfind.C:
3695         * lyxfunc.C:
3696         * lyxtext.h:
3697         * text.C:
3698         * text2.C:
3699         * text3.C:
3700         * text_funcs.[Ch]:
3701         * textcursor.[Ch]:
3702         * undo_funcs.C: adjust
3703
3704 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3705
3706         * text2.C (incrementItemDepth): new function, use a backtracking
3707         algorithm to discover the correct item depth.
3708         (resetEnumCounterIfNeeded): new function, use a backtracking
3709         algorithm to discover if counter reset is needed.
3710         (setCounter): use them. Simplify a bit. Add different labels for
3711         different item depths for itemize.
3712
3713         * paragraph.C (Paragraph): remove initialization of enumdepth
3714         (operator=): ditto
3715
3716         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3717         enumerate and itemize. Change the type of itemdepth to signed char.
3718
3719 2003-10-08  André Pönitz  <poenitz@gmx.net>
3720
3721         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3722           thing assignable.
3723         * text.C:
3724         * text2.C: adjust
3725
3726         * tabular.[Ch]: fix crash after 'row-insert'
3727
3728 2003-10-08  Angus Leeming  <leeming@lyx.org>
3729
3730         Fix doxygen warnings.
3731
3732         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3733         Remove CutAndPaste:: prefix from header file declaration.
3734
3735         * LColor.h (fill): remove LColor:: prefix from declaration.
3736
3737         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3738         use lyx::depth_type rather than Paragraph::depth_type so that
3739         header file and .C file match.
3740
3741         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3742
3743         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3744         * aspell.C: \file aspell_local.C -> \file aspell.C
3745         * gettext.C: \file gettext.C -> \file src/gettext.C
3746         * gettext.h: \file gettext.h -> \file src/gettext.h
3747         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3748         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3749         * text.C: \file text.C -> \file src/text.C
3750
3751         * toc.C: move comment so that doxygen is not confused.
3752
3753 2003-10-07  Angus Leeming  <leeming@lyx.org>
3754
3755         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3756
3757 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3758
3759         * aspell.C:
3760         * aspell_local.h: add forgotten std::string's.
3761
3762 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3763
3764         * LaTeXFeatures.C:
3765         * LyXAction.C:
3766         * factory.C:
3767         * lfuns.h:
3768         * lyxfunc.C:
3769         * text3.C: The Box patch. Fancybox support, minipage, parbox
3770
3771 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3772
3773         * CutAndPaste.h:
3774         * DepTable.h:
3775         * FloatList.h:
3776         * LaTeXFeatures.h:
3777         * ParagraphParameters.h:
3778         * TextCache.h:
3779         * Thesaurus.h:
3780         * bufferlist.h:
3781         * exporter.h:
3782         * importer.h:
3783         * lastfiles.h:
3784         * lyxfind.h:
3785         * lyxfont.h:
3786         * lyxlex.h:
3787         * lyxtextclasslist.h:
3788         * messages.h:
3789         * paragraph.h:
3790         * paragraph_pimpl.C:
3791         * textcursor.h: add <string> and other small fixes to make Lars'
3792         std::string patch compile with STLport.
3793
3794 2003-10-06  Angus Leeming  <leeming@lyx.org>
3795
3796         * LColor.h: Add missing #include <string>.
3797
3798 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * All most all file in all subdirs: Make <string> be the prefered
3801         way of getting to std::string, add using declarations.
3802
3803 2003-10-06  André Pönitz  <poenitz@gmx.net>
3804
3805         * metricsinfo.C: initialize LyXFont before changing attribute.
3806         (fixes the 'math in \emph is upright' bug)
3807
3808 2003-10-06  André Pönitz  <poenitz@gmx.net>
3809
3810         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3811
3812 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3813
3814         * graph.C:
3815         * paragraph_pimpl.C: Small fixes to build using STLport
3816
3817 2003-10-02  André Pönitz  <poenitz@gmx.net>
3818
3819         * lyxfunc.C:
3820         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3821
3822 2003-10-01  André Pönitz  <poenitz@gmx.net>
3823
3824         * factory.C: assert early
3825
3826 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * lyx_main.C: remove the global debug object
3829
3830         * debug.h: adjust for new debugstream
3831
3832         * debug.C: adjust for new debugstream and keep the global debug
3833         object here.
3834
3835 2003-09-22  Angus Leeming  <leeming@lyx.org>
3836
3837         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3838         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3839         an incomplete class LyXFont.
3840
3841 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3842
3843         * factory.C: bug fix in branches
3844
3845 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * lyxfunc.C (processKeySym): adjust
3848         (dispatch): adjust
3849         (dispatch): change arg name from ev to func, adjust
3850         (sendDispatchMessage): ditto
3851
3852         * lyx_main.C (defaultKeyBindings): adjust keybindings
3853         (deadKeyBindings): ditto
3854
3855         * kbsequence.C (addkey): return a FuncRequest
3856
3857         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3858
3859         * kbmap.C (bind): take a FuncRequest as arg, adjust
3860         (read): adjust
3861         (lookup): adjust
3862         (defkey): change to take a FuncRequest as arg, adjust
3863         (findbinding): take a FuncRequest as arg, adjust.
3864
3865         * funcrequest.h (operator=): added
3866
3867         * funcrequest.C (FuncRequest): default kb_action changed from
3868         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3869
3870         * buffer.C (dispatch): simplify
3871         (dispatch): adjust to take a FuncRequest as arg, adjust
3872
3873         * boost.C (assertion_failed): change assertion message slightly
3874
3875         * ToolbarBackend.C (read): simplify
3876
3877         * MenuBackend.C (binding): adjust call to findbinding, add a
3878         message if no binding is found.
3879         (read): simplify
3880         (expandToc): correct by adding a empty FuncRequest
3881
3882         * LyXAction.C: include <boost/assert.hpp>
3883         (isPseudoAction): delete function
3884         (LookupFunc): change name to...
3885         (lookupFunc): this. change return type to FuncRequest.
3886         (getActionName): take kb_action as arg, simplify
3887         (funcHasFlag): add an assert, simplify.
3888
3889 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3890
3891         * toc.C (action): return a FuncRequest, simplify
3892
3893         * lyxfunc.C (processKeySym): adjust
3894         (getStatus): delete version that takes an int.
3895         (getStatus): adjust
3896         (dispatch): delete version that takes action as int
3897         (dispatch): adjust
3898         (sendDispatchMessage): simplify and adjust
3899
3900         * funcrequest.C (getArg): take unsigned int as arg
3901
3902         * ToolbarBackend.C (read): adjust
3903         (add): delete version that takes func as a string.
3904         (getIton): take a FuncRequest as arg
3905
3906         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3907         action.
3908
3909         * MenuBackend.C (MenuItem): add a new construct that only takes a
3910         Kind, simplify the constructor use for submenus.
3911         (add): adjust
3912         (expandLastfiles): adjust
3913         (expandDocuments): adjust
3914         (expandFormats): adjust
3915         (expandFloatListInsert): adjust
3916         (expandFloatInsert): adjust
3917         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3918
3919         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3920         Remove class variables lyx_pseudo_map and lyx_arg_map
3921
3922         * LyXAction.C (searchActionArg): delete function
3923         (getPseudoAction): delete function
3924         (retrieveActionArg): delete function
3925         (LookupFunc): make it return kb_action, simplify.
3926         (getActionName): simplify
3927
3928         * factory.C (createInset): fix new bug
3929
3930 2003-09-19  Angus Leeming  <leeming@lyx.org>
3931
3932         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3933         masterFilename_ parameter in the include inset.
3934
3935         * factory.C (createInset): changes due to the changes to InsetInclude.
3936
3937 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3938
3939         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3940
3941 2003-09-18  Angus Leeming  <leeming@lyx.org>
3942
3943         * buffer.C:
3944         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3945         Inset::fillWithBibKeys.
3946         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3947
3948 2003-09-18  Angus Leeming  <leeming@lyx.org>
3949
3950         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3951         variables.
3952         (ctor): pass and store a 'Buffer const &'
3953         (buffer): new member function.
3954
3955         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3956         '*this' to the LaTeXFeatures ctor.
3957
3958 2003-09-18  Angus Leeming  <leeming@lyx.org>
3959
3960         * LColor.h:
3961         * lyxfont.C:
3962         * lyxfont.h:
3963         * lyxtext.h:
3964         * text.C: rename EnumLColor as LColor_color.
3965
3966 2003-09-18  Angus Leeming  <leeming@lyx.org>
3967
3968         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3969         remove #include "insets/insetbase.h" from cursor.h.
3970
3971 2003-09-18  Angus Leeming  <leeming@lyx.org>
3972
3973         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3974         InsetOld_code to remove #include "inset.h".
3975
3976         * iterators.C: add #include "insets/inset.h"
3977
3978 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3979
3980         * BufferView.C: remove more locking stuff that apparently doesn't
3981         do anything sensible.
3982
3983 2003-09-16  André Pönitz  <poenitz@gmx.net>
3984
3985         * paragraph.[Ch]:
3986         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3987           performance boost.
3988
3989 2003-09-16  Angus Leeming  <leeming@lyx.org>
3990
3991         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3992
3993         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3994         arg/return type.
3995
3996         * paragraph.h: remove #include "lyxfont.h". Forward declare
3997         LyXFont_size.
3998
3999 2003-09-16  Angus Leeming  <leeming@lyx.org>
4000
4001         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4002         of support/textutils.h.
4003         (isWord): move the contents of support/textutils.h's IsWordChar here.
4004
4005         * buffer.C:
4006         * lyxfind.C:
4007         * rowpainter.C:
4008         * text.C:
4009         * text2.C: add #include "paragraph.h".
4010
4011         * rowpainter.C:
4012         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4013
4014 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * main.C:
4017         * lyx_main.C:
4018         * lyx_cb.C:
4019         * buffer.C:
4020         * LaTeX.C: use namespace alias for lyx::support::os
4021
4022 2003-09-16  Angus Leeming  <leeming@lyx.org>
4023
4024         * bufferparams.C:
4025         * bufferview_funcs.C:
4026         * factory.C:
4027         * lyxfunc.C:
4028         * paragraph_pimpl.C:
4029         * rowpainter.C:
4030         * text.C: add #include "LColor.h".
4031
4032 2003-09-16  Angus Leeming  <leeming@lyx.org>
4033
4034         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4035         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4036         return LyXFont &.
4037         Store the FontBits::color variable as an int rather than as an
4038         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4039         file.
4040
4041         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4042         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4043         string calls together.
4044
4045         * lyxrc.C: add #include "LColor.h".
4046
4047 2003-09-15  Angus Leeming  <leeming@lyx.org>
4048
4049         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4050         a cow_ptr.
4051
4052 2003-09-15  Angus Leeming  <leeming@lyx.org>
4053
4054         * LColor.h: add an EnumLColor wrapper for LColor::color.
4055
4056         * lyxfont.[Ch] (color, setColor, realColor):
4057         * lyxtext.h, text.C (backgroundColor):
4058         pass EnumLColor args to/from the functions, rather than LColor::color
4059         ones.
4060
4061         * lyxfont.h:
4062         * lyxtext.h: forward declare EnumLColor.
4063
4064         * lyx_main.C: add #include "LColor.h".
4065
4066 2003-09-15  Angus Leeming  <leeming@lyx.org>
4067
4068         * .cvsignore: add lyx-gtk.
4069
4070 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * Chktex.C
4073         * LaTeX.C
4074         * LaTeXFeatures.C
4075         * ParagraphParameters.C
4076         * Spacing.C
4077         * buffer.C
4078         * bufferparams.C
4079         * bufferview_funcs.C
4080         * chset.C
4081         * counters.C
4082         * funcrequest.C
4083         * lyxfont.C
4084         * lyxgluelength.C
4085         * lyxlength.C
4086         * paragraph.C
4087         * paragraph_funcs.C
4088         * text3.C
4089         * vc-backend.C: remove usage of STRCONV
4090
4091 2003-09-15  Angus Leeming  <leeming@lyx.org>
4092
4093         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4094         explicitly define the color passed to the painter.
4095
4096 2003-09-15  Angus Leeming  <leeming@lyx.org>
4097
4098         * bufferparams.C (BufferParams): reorder member initializers to avoid
4099         compiler warning.
4100
4101 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4104         * text.C (updateRowPositions): remove an unusual nop
4105
4106 2003-09-12  André Pönitz  <poenitz@gmx.net>
4107
4108         * BufferView_pimpl.C:
4109         * Bullet.C:
4110         * layout.h:
4111         * lyxfunc.C:
4112         * lyxlayout.[Ch]:
4113         * lyxtextclass.C:
4114         * rowpainter.C:
4115         * text.C:
4116         * text2.C:
4117         * Counters.[Ch]: finish the 'automatic counters' job
4118
4119 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4120
4121         * aspell.C: include <boost/assert.cpp> (compile fix)
4122
4123 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4124
4125         * boost.C (assertion_failed): use lyx::support::abort instead of
4126         assert.
4127
4128 2003-09-10  Angus Leeming  <leeming@lyx.org>
4129
4130         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4131         with their _fwd progeny.
4132
4133 2003-09-09  Angus Leeming  <leeming@lyx.org>
4134
4135         134 files throughtout the source tree: replace 'using namespace abc;'
4136         directives with the appropriate 'using abc::xyz;' declarations.
4137
4138 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4139
4140         * boost.C (emergencyCleanup): moved here from LAssert.c
4141         (assertion_failed): new function, called by BOOST_ASSERT
4142
4143         * several files: change Assert to BOOST_ASSERT
4144
4145 2003-09-09  Angus Leeming  <leeming@lyx.org>
4146
4147         * buffer.[Ch]: Add an Impl class and move Buffer's member
4148         variables into it. As a result move several header files out of
4149         buffer.h.
4150
4151         Add header files to lots of .C files all over the tree as a result.
4152
4153 2003-09-09  Angus Leeming  <leeming@lyx.org>
4154
4155         * buffer.[Ch]: make Buffer's member variables private. Add
4156         accessor functions.
4157
4158         Lots of changes all over the tree as a result.
4159
4160 2003-09-08  Angus Leeming  <leeming@lyx.org>
4161
4162         * graph.C: #include <config.h>.
4163
4164 2003-09-08  Angus Leeming  <leeming@lyx.org>
4165
4166         * BranchList.C:
4167         * BufferView.C:
4168         * BufferView_pimpl.C:
4169         * CutAndPaste.C:
4170         * DepTable.C:
4171         * LaTeX.C:
4172         * LaTeXFeatures.C:
4173         * LyXAction.C:
4174         * MenuBackend.C:
4175         * TextCache.C:
4176         * aspell.C:
4177         * buffer.C:
4178         * bufferlist.C:
4179         * changes.C:
4180         * chset.C:
4181         * converter.C:
4182         * counters.C:
4183         * debug.C:
4184         * graph.C:
4185         * ispell.C:
4186         * lyx_cb.C:
4187         * lyxfind.C:
4188         * lyxfunc.C:
4189         * lyxlex_pimpl.C:
4190         * lyxrc.C:
4191         * lyxrow.C:
4192         * paragraph.C:
4193         * rowpainter.C:
4194         * texrow.C:
4195         * text.C:
4196         * text2.C:
4197         * toc.C: remove redundant using directives.
4198
4199 2003-09-07  Angus Leeming  <leeming@lyx.org>
4200
4201         * LaTeXFeatures.h: remove #include "support/types.h".
4202         * ToolbarBackend.h: remove #include <algorithm>.
4203         * changes.h: remove #include <ctime>.
4204         * debug.h: remove #include <iosfwd>.
4205         * graph.h: remove #include "support/std_string.h".
4206         * lyx_main.h: remove #include <csignal>.
4207         * lyxlex_pimpl.h: remove #include <fstream>.
4208         * sgml.h: remove #include <algorithm>, <utility>.
4209         * toc.h: remove #include "support/std_ostream.h".
4210         Add #include <iosfwd>.
4211
4212 2003-09-07  Angus Leeming  <leeming@lyx.org>
4213
4214         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4215
4216         * converter.h: forward declare LatexRunParams.
4217         * encoding.h: remove #include "lyxrc.h".
4218         * lyxtext.h: remove #include "LColor.h".
4219         * lyxtextclass.h: remove #include "support/types.h".
4220         * trans.h: remove #include "tex-accent.h".
4221         * trans_mgr.h: remove #include "tex-accent.h".
4222         * insets/inset.h: remove #include "support/types.h", <vector>.
4223         * insets/insetcollapsable.h: remove #include "LColor.h".
4224         * insets/insetinclude.h: remove #include "dimension.h".
4225         * insets/insetlatexaccent.h: remove #include "dimension.h".
4226         * insets/insetoptarg.h:: remove #include "insettext.h".
4227         * insets/insettext.h: remove #include "dimension.h",
4228         <boost/shared_ptr.hpp>
4229
4230         * insets/renderers.h: add #include "dimension.h".
4231         * insets/updatableinset.h: add #include "support/types.h".
4232
4233         * many .C files: Associated changes.
4234
4235 2003-09-06  Angus Leeming  <leeming@lyx.org>
4236
4237         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4238         one, inside testInvariant.
4239
4240         * PrinterParams.C: new file.
4241         * PrinterParams.[Ch]: move the function bodies out of line.
4242
4243 2003-09-06  Angus Leeming  <leeming@lyx.org>
4244
4245         * ParagraphParameters.h: forward declare ParameterStruct rather than
4246         including its header file.
4247         (depth): moved out-of-line.
4248
4249 2003-09-06  Angus Leeming  <leeming@lyx.org>
4250
4251         * BufferView_pimpl.h:
4252         * kbmap.h:
4253         * kbsequence.h:
4254         * lyxfunc.h: forward declare LyXKeySym rather than
4255         #include "frontends/LyXKeySym.h".
4256
4257         * BufferView_pimpl.C:
4258         * kbmap.C:
4259         * kbsequence.C:
4260         * lyxfunc.C: associated changes.
4261
4262 2003-09-06  Angus Leeming  <leeming@lyx.org>
4263
4264         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4265         As a result, can remove the #include "insets/inset.h" from BufferView.h
4266
4267 2003-09-06  Angus Leeming  <leeming@lyx.org>
4268
4269         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4270         As a result, can remove the #include "insets/inset.h" from BufferView.h
4271
4272 2003-09-06  Angus Leeming  <leeming@lyx.org>
4273
4274         * buffer_funcs.C:
4275         * buffer.h:
4276         * bufferlist.C:
4277         * BufferView.C:
4278         * bufferview_funcs.C:
4279         * BufferView_pimpl.C:
4280         * CutAndPaste.C:
4281         * lyx_cb.C:
4282         * lyxfunc.C:
4283         * paragraph.h:
4284         * ParagraphParameters.C:
4285         * tabular.C:
4286         * text3.C:
4287         * toc.C:
4288         * undo_funcs.C:
4289         * frontends/controllers/ControlDocument.C:
4290         * insets/insetcaption.C: rearrange the #includes into some sort of
4291         coherent order.
4292
4293         * buffer.h: remove #includes ErrorList.h, undo.h
4294
4295 2003-09-06  Angus Leeming  <leeming@lyx.org>
4296
4297         * support/types.h: add a 'depth_type' typedef, used to store the
4298         nesting depth of a paragraph.
4299
4300         * paragraph.h:
4301         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4302         defining explicitly.
4303
4304         * buffer.h:
4305         * paragraph_funcs.h:
4306         * ParagraphParameters.h:
4307         * sgml.h: use lyx::depth_type rather than Paragraph or
4308         ParameterStruct's depth_type.
4309
4310         * buffer.h
4311         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4312
4313         * BufferView.C:
4314         * BufferView_pimpl.C:
4315         * CutAndPaste.C:
4316         * ParagraphParameters.C:
4317         * buffer_funcs.C:
4318         * bufferlist.C:
4319         * bufferview_funcs.C:
4320         * lyx_cb.C:
4321         * lyxfunc.C:
4322         * tabular.C:
4323         * text3.C:
4324         * toc.C:
4325         * undo_funcs.C:
4326         * frontends/LyXView.C:
4327         * frontends/controllers/ControlDocument.C:
4328         * frontends/controllers/ControlErrorList.C:
4329         * insets/insetbibitem.C:
4330         * insets/insetbranch.C:
4331         * insets/insetcaption.C:
4332         * insets/insetcollapsable.C:
4333         * insets/insetenv.C:
4334         * insets/insetert.C:
4335         * insets/insetfloat.C:
4336         * insets/insetfoot.C:
4337         * insets/insetfootlike.C:
4338         * insets/insetnewline.C:
4339         * insets/insetquotes.C:
4340         * insets/insettabular.C:
4341         * insets/insettext.C:
4342         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4343
4344         * frontends/controllers/ControlChanges.C: #include "changes.h".
4345
4346 2003-09-06  Angus Leeming  <leeming@lyx.org>
4347
4348         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4349         than #including paragraph.h.
4350
4351         * ParagraphList.h:
4352         * RowList.h: deleted. Superfluous.
4353
4354         * CutAndPaste.h:
4355         * iterators.h:
4356         * lyxcursor.h:
4357         * lyxtext.h:
4358         * text_funcs.h:
4359         * undo.h:
4360         * undo_funcs.h:
4361         * insets/inset.h:
4362         * insets/insettext.h: use ParagraphList_fwd.h rather than
4363         ParagraphList.h.
4364
4365         * paragraph.h: don't forward declare ParagraphList.
4366
4367         * buffer.h:
4368         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4369         rather than ParagraphList.h. paragraph.h is still needed for the
4370         Paragraph::depth_type parameters.
4371
4372         * textcursor.h: enable it to compile stand-alone in light of the
4373         above changes.
4374
4375         * bufferview_funcs.C:
4376         * iterators.C:
4377         * lyxfunc.C:
4378         * lyxrow_funcs.C:
4379         * paragraph.C:
4380         * rowpainter.C:
4381         * text.C:
4382         * text2.C:
4383         * text3.C:
4384         * text_funcs.C:
4385         * textcursor.C:
4386         * undo.C:
4387         * frontends/controllers/ControlParagraph.C:
4388         * frontends/controllers/ControlTabular.C:
4389         * insets/insetmarginal.C:
4390         * insets/insetminipage.C:
4391         * insets/insetnote.C:
4392         * insets/insetoptarg.C: add header files needed to compile again.
4393
4394 2003-09-06  Angus Leeming  <leeming@lyx.org>
4395
4396         * RowList_fwd.h: new file, forward-declaring Row rather than
4397         #including lyxrow.h.
4398
4399         * lyxrow_funcs.h:
4400         * lyxtext.h:
4401         * paragraph.h:
4402         * insets/insettext.h: use it instead of RowList.h
4403
4404         * bufferview_funcs.C:
4405         * lyxfunc.C:
4406         * lyxrow_funcs.C:
4407         * paragraph.C:
4408         * rowpainter.C:
4409         * text.C:
4410         * text2.C:
4411         * text3.C: #include "RowList.h".
4412
4413 2003-09-05  Angus Leeming  <leeming@lyx.org>
4414
4415         * factory.C (createInset):
4416         * vspace.C (c-tor): replace sscanf call with an istringstream.
4417         * ispell.C: re-add missing HP/UX headers.
4418         * lyxserver.C: re-add missing  os2 headers.
4419
4420 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4421
4422         * BranchList.C:
4423         * graph.C:
4424         * ispell.C:
4425         * lastfiles.C:
4426         * lyx_cb.C:
4427         * lyxserver.C:
4428         * texrow.C:
4429         * text3.C: re-add missing system headers, needed for 2.95.2.
4430
4431 2003-09-05  Angus Leeming  <leeming@lyx.org>
4432
4433         Changes most place everywhere due to the removal of using directives
4434         from support/std_sstream.h.
4435
4436 2003-09-05  Angus Leeming  <leeming@lyx.org>
4437
4438         Replace LString.h with support/std_string.h,
4439         Lsstream.h with support/std_sstream.h,
4440         support/LIstream.h with support/std_istream.h,
4441         support/LOstream.h with support/std_ostream.h.
4442
4443         Changes resulting throughout the tree.
4444
4445 2003-09-05  Angus Leeming  <leeming@lyx.org>
4446
4447         * sgml.h: ensure that the header file can be compiled stand-alone.
4448         * *.C: strip out redundant #includes. (320 in total.)
4449
4450 2003-09-04  Angus Leeming  <leeming@lyx.org>
4451
4452         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4453         here (from getPackages).
4454
4455         * debug.[Ch]: add a new EXTERNAL tag.
4456
4457 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4458
4459         * text2.C (cursorEnd): simplify
4460         (setCursor): adjust
4461         (getColumnNearX): adjust
4462
4463         * text.C (computeBidiTables): adjust
4464         (fill): adjust
4465
4466         * rowpainter.C (paintChars): adjust
4467         (paintSelection): adjust
4468         (paintChangeBar): adjust
4469         (paintText): adjust
4470
4471         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4472         lastPos instead.
4473         (numberOfSeparators): adjust
4474
4475 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4476
4477         * LyXAction.C:
4478         * box.[Ch]:
4479         * lfuns.h:
4480         * lyxfunc.C:
4481         * text3.C: Restricts the mouse click functionality
4482         of insets like bibtex, include, toc and floatlist to the visible
4483         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4484         up the dialogs. Cursor has to be in front of the inset (i.e.
4485         start of row) for this to function.
4486
4487 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4488
4489         * bufferview_funcs.C (currentState): output row information
4490
4491 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4492
4493         * bufferview_funcs.C (currentState): output paragraph position
4494
4495 2003-09-04  Angus Leeming  <leeming@lyx.org>
4496
4497         * FloatList.h: move out #include "Floating.h".
4498         * LaTeX.h: move out #include "DepTable.h".
4499         * LyXAction.h: move out #include "funcrequest.h".
4500         * buffer.h: move out #include "author.h", "iterators.h".
4501         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4502         * lyx_main.h: move out #include "errorlist.h".
4503         * lyxfunc.h: move out #include "FuncStatus.h".
4504         * lyxtext: move out #include "lyxcursor.h".
4505         * paragraph_pimpl.h: move out #include "counters.h".
4506
4507 2003-09-03  Angus Leeming  <leeming@lyx.org>
4508
4509         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4510         preamble_snippets list, enabling us to add snippets to the preamble
4511         only if the snippet was not there already.
4512
4513 2003-09-04  Angus Leeming  <leeming@lyx.org>
4514
4515         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4516
4517 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4518
4519         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4520         update
4521
4522 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4523
4524         * BranchList.C: point fix, earlier forgotten
4525
4526 2003-09-02  Angus Leeming  <leeming@lyx.org>
4527
4528         * box.C (contains): renamed from 'contained' after a fantastic
4529         amount of hot air.
4530
4531 2003-09-02  John Levon  <levon@movementarian.org>
4532
4533         * BufferView.C:
4534         * lyxcursor.h:
4535         * lyxcursor.C:
4536         * lyxfunc.C:
4537         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4538
4539 2003-09-02  John Levon  <levon@movementarian.org>
4540
4541         * text2.C: simplification of cursorEnd(), including partial
4542         fix for bug 1376
4543
4544 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4545
4546         * buffer.C (readFile): add a space
4547
4548 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4549
4550         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4551
4552 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * buffer.C (readFile): new function, take a filename and a
4555         ParagraphList::iterator
4556         (readFile): adjust
4557         (readFile): adjust, make it private. don't use setStream, make
4558         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4559         always contain the filename.
4560
4561         * BufferView.C (insertLyXFile): simplify and make it work for
4562         gzipped files.
4563
4564 2003-08-30  John Levon  <levon@movementarian.org>
4565
4566         * Makefile.am: fix dist (from Kayvan)
4567
4568 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * most files: change to use const Buffer refs
4571
4572 2003-08-27  André Pönitz  <poenitz@gmx.net>
4573
4574         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4575         on top of ownerPar().
4576
4577 2003-08-27  John Levon  <levon@movementarian.org>
4578
4579         * funcrequest.C: properly initialise POD members
4580
4581 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4582
4583         * lyxtext.h (top_y): move top_y from here
4584         * text.C:
4585         * text2.C:
4586         * text3.C:
4587         * BufferView.[Ch]:
4588         * BufferView_pimpl.[Ch]: to here
4589         * frontends/screen.C:
4590         * insets/insettabular.C:
4591         * insets/insettext.C: adjust
4592         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4593
4594 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4595
4596         * BufferView.[Ch]:
4597         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4598
4599 2003-08-26  André Pönitz  <poenitz@gmx.net>
4600
4601         * paragraph_func.[Ch] (outerPar): new function
4602
4603         * paragraph.C:
4604         * paragraph_funcs.C:
4605         * paragraph_funcs.h:
4606         * paragraph_pimpl.C:
4607         * text2.C: remove Inset::par_owner
4608
4609 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4610
4611         * lyxrow_funcs.C:
4612         * lyxtext.h:
4613         * text.C:
4614         * text2.C: eliminates the needFullRow/display() stuff
4615         altogether, putting the logic in metrics/draw in the insets.
4616
4617 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4618
4619         * text2.C (redoParagraphInternal, redoParagraphs):
4620         * text.C (redoParagraph): add a call to updateRowPositions at the
4621         end of each 'metrics-like' call. Remove all others.
4622         (getRow): remove the 'y-computing' version.
4623         (getRowNearY): do not compute nor return the real y. Solve the
4624         'y < 0' problem and simplify.
4625
4626 2003-08-22  Angus Leeming  <leeming@lyx.org>
4627
4628         * *.[Ch]: clean-up of licence and author blurbs.
4629         Also move config.h out of a few .h files and into a few .C files.
4630
4631 2003-08-22  André Pönitz  <poenitz@gmx.net>
4632
4633         * lyxrow.[Ch]: add x_ and *fill_ members
4634
4635         * lyxtext.h:
4636         * text.C:
4637         * rowpainter.C:
4638         * text2.C: adjust/remove prepareToPrint() calls
4639
4640 2003-08-22  André Pönitz  <poenitz@gmx.net>
4641
4642         * lyxrow.[Ch]: add  end_ member
4643
4644         * lyxrow_funcs.C: use LyXRow::end_
4645
4646         * lyxtext.h (singleWidth): add LyXFont parameter
4647
4648         * rowpainter.C:
4649         * text2.C: adjust LyXText::singleWidth() calls
4650
4651         * text.C (redoParagraph): simplify row breaking logic
4652
4653
4654 2003-08-19  André Pönitz  <poenitz@gmx.net>
4655
4656         * funcrequest.C: initialize button_ member
4657
4658         * text3.C:
4659         * rowpainter.[Ch]: interface consolidation
4660
4661 2003-08-18  André Pönitz  <poenitz@gmx.net>
4662
4663         * BufferView.C:
4664         * BufferView_pimpl.C:
4665         * lyxfind.C:
4666         * paragraph_funcs.C:
4667         * rowpainter.C:
4668         * text3.C: remove LyXScreen::draw() and fitCursor calls
4669
4670         * BranchList.h: remove spurious semicolons
4671
4672         * MenuBackend.C: fix branchlist related crash
4673
4674 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4675
4676         * BranchList.[Ch]:
4677         * InsetList.[Ch]:
4678         * LColor.[Ch]:
4679         * LyXAction.C:
4680         * Makefile.am:
4681         * MenuBackend.[Ch]:
4682         * bufferparams.[Ch]:
4683         * factory.C:
4684         * lfuns.h:
4685         * lyxfunc.C:
4686         * text3.C: implements the 'branch inset'
4687         idea. This allows the output of various versions of a document
4688         from a single source version, selectively outputing or suppressing
4689         output of parts of the text.
4690         This implementation contains a 'branch list editor' in a separate
4691         tab of the document settings dialog. Branches are user definable
4692         and have a "display colour" to distinguish them on-screen.
4693
4694         ColorHandler was somewhat cleaned up.
4695         (1) make possible a dynamically growing LColor list by allowing
4696         the graphic context cache to grow along (vector);
4697         (2) eliminate an IMHO unnecessary step in colour allocation.
4698
4699 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4700
4701         * BufferView_pimpl.C: compile fix
4702
4703 2003-08-15  André Pönitz  <poenitz@gmx.net>
4704
4705         * rowpainter.C: remove extra metrics calls
4706
4707         * lyxtext.h: merge the two constructors into a single one,
4708           pass reference to owner's par list
4709
4710         * BufferView_pimpl.C:
4711         * text.C:
4712         * text2.C: adjust
4713
4714 2003-08-15  André Pönitz  <poenitz@gmx.net>
4715
4716         * lyxrow_funcs.[Ch]:
4717         * lyxtext.h:
4718         * paragraph.h:
4719         * paragraph_funcs.C:
4720         * rowpainter.C:
4721         * text.C:
4722         * text2.C:
4723         * text3.C:
4724         * text_funcs.C: split LyXText::rowlist_ into individual
4725         Paragraph::rows_ chunks
4726
4727         * BufferView.[Ch]:
4728         * BufferView_pimpl.[Ch]:
4729         * lyxfind.C:
4730         * lyxtext.h:
4731         * text3.C: remove toggleSelection()
4732
4733 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4734
4735         * bufferlist.C: beautify two alerts (shorter text of buttons)
4736         * buffer.C: Remove redundant ' ' from message
4737         * tabular.h:
4738         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4739         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4740         rename VALIGN_CENTER to VALIGN_MIDDLE
4741
4742 2003-08-11  André Pönitz  <poenitz@gmx.net>
4743
4744         * lyxtext.h (getPar):
4745         * text.C: new function
4746
4747 2003-08-11  André Pönitz  <poenitz@gmx.net>
4748
4749         * Makefile.am:
4750         * tracer.[Ch]: remove unneeded files
4751
4752         * InsetList.[Ch]: remove resizeInsetsLyXText()
4753
4754         * lyxtext.h:
4755         * text.C:
4756         * text2.C:
4757         * text3.C: merge insertParagraphs() and appendParagraph()
4758         remove breakAgain(), update()
4759
4760         * BufferView_pimpl.[Ch]:
4761         * bufferview_funcs.[Ch]:
4762         * lyxfunc.C:
4763         * paragraph.[Ch]:
4764         * rowpainter.C:
4765         * tabular.C: adjust after text & InsetList changes.
4766
4767 2003-08-08  André Pönitz  <poenitz@gmx.net>
4768
4769         * text.C (insertChar, backspace): replace rowlist fiddling
4770         with rebreak of full par
4771
4772         * lyxtext.h:
4773         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4774         checkParagraph, updateInset): removed
4775
4776 2003-08-07  André Pönitz  <poenitz@gmx.net>
4777
4778         * paragraph.C:
4779         * text3.C: merge some LFUN handlers, remove dead code
4780
4781 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4782
4783         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4784
4785 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4786
4787         * text2.C (DEPM): fix part of bug 1255 and 1256
4788
4789 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4790
4791         * BufferView_pimpl.C (workAreaDispatch): change to use
4792         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4793         that are no mouse related.
4794
4795 2003-08-05  André Pönitz  <poenitz@gmx.net>
4796
4797         * BufferView.[Ch]:
4798         * BufferView_pimpl.[Ch]:
4799         * bufferview_funcs.C:
4800         * text2.C:
4801         * text3.C: rip out "deep update"
4802
4803         * textcursor.[Ch] (last_sel_cursor): remove unused member
4804
4805 2003-08-04  André Pönitz  <poenitz@gmx.net>
4806
4807         * BufferView.[Ch]:
4808         * BufferView_pimpl.[Ch]:
4809         * ParagraphParameters.C:
4810         * bufferview_funcs.C:
4811         * lyx_cb.C:
4812         * lyxfind.C:
4813         * lyxfunc.C:
4814         * text.C:
4815         * text2.C:
4816         * text3.C: replace "complicated" BufferView::update(...) calls with
4817         simpler ones.
4818
4819         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4820
4821 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4822
4823         * Makefile.am (lyx_SOURCES): add paper.h
4824
4825 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4826
4827         * Makefile.am: move things around so that both lyx-qt and
4828         lyx-xforms can be built (according to --with-frontend). Then lyx
4829         is a symbolic link to lyx-[firstfrontend]
4830
4831 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4832
4833         * Always use std::endl with lyxerr
4834
4835 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4836
4837         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4838
4839 2003-08-01  André Pönitz  <poenitz@gmx.net>
4840
4841         * BufferView.[Ch]:
4842         * BufferView_pimpl.[Ch]:
4843         * lyxfunc.C:
4844         * text3.C: merge BufferView::repaint() and BufferView::update()
4845
4846 2003-08-01  José Matos  <jamatos@lyx.org>
4847
4848         * buffer.[Ch]: file_format is no longer a buffer data element.
4849
4850 2003-08-01  André Pönitz  <poenitz@gmx.net>
4851
4852         * BufferView.C:
4853         * lyxtext.h:
4854         * text.C:
4855         * text2.C: make redoParagraph more independent of current cursor
4856
4857         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4858         * text.C:
4859         * text2.C: remove unneeded members
4860
4861 2003-07-30  André Pönitz  <poenitz@gmx.net>
4862
4863         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4864
4865         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4866           create a single function...
4867
4868         * paragraph_funcs.C (moveItem): ... here.
4869
4870         * text.C:
4871           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4872
4873 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4874
4875         * LColor.[Ch]: Add comment and greyedout logical colors.
4876
4877 2003-07-30  André Pönitz  <poenitz@gmx.net>
4878
4879         * tabular.C: don't use Assert too heavily. This crashes where it
4880           shouldn't
4881
4882 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4885         is disabled (bug 1232)
4886
4887 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4888
4889         * factory.C: limited 'arg' scope
4890
4891 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4892
4893         * factory.C: fixed Note submenu issues
4894
4895 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4896
4897         * factory.C: submenu for Note/Comment/Greyedout
4898
4899 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * lyx_main.C (LyX):
4902         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4903
4904 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4905
4906         * LaTeXFeatures.C:
4907         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4908         greyedout. Patch provided by Jürgen Spitzmüller.
4909
4910 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4911
4912         * kbmap.C (read): fix error message when reading bind files
4913
4914 2003-07-29  Angus Leeming  <leeming@lyx.org>
4915
4916         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4917         certainly does not do what it purports to do. I am doing it, and
4918         us, a favour by killing it.
4919
4920 2003-07-28  José Matos  <jamatos@lyx.org>
4921
4922         * buffer.C (readBody, do_writeFile):
4923         * paragraph.C(readParagraph): \end_document replaces \the_end.
4924
4925 2003-07-29  André Pönitz  <poenitz@gmx.net>
4926
4927         * BufferView.[Ch]:
4928         * BufferView_pimpl.[Ch]:
4929         * lyxfunc.C:
4930         * text2.C:
4931         * text3.C:
4932         * textcursor.[Ch]: remove toggleToggle & Co
4933
4934 2003-07-28  José Matos  <jamatos@fep.up.pt>
4935
4936         * buffer.C (readParagraph):
4937         * params_func (readParToken, readParagraph):
4938         * paragraph.C (write): \layout -> \begin_layout.
4939
4940 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4941
4942         * lyxlex_pimpl.C (setFile): clean up slightly.
4943
4944         * bufferparams.h: add compressed var
4945
4946         * buffer_funcs.C (readFile): adjust for LyXLex change
4947         (newFile): ditto + simplify
4948
4949         * buffer.C (writeFile): handle writing of compressed files
4950
4951         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4952         Check if the file is compressed and set a bufferparm if so.
4953
4954         * Makefile.am (lyx_LDADD): remove explicit -lz
4955
4956 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4957
4958         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4959         makeDocBookFile): put the real LyX version in the first line of
4960         the file
4961
4962         * version.h:
4963         * version.C.in: remove lyx_docversion
4964
4965         * tabular.C (write_attribute): add a template-based version to
4966         write enums properly
4967
4968 2003-07-28  André Pönitz  <poenitz@gmx.net>
4969
4970         * lyxtext.h:
4971         * text.C:
4972         * text2.C:
4973         * text3.C: use doubles again for x-coordinates. They are needed.
4974
4975 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * messages.C (getLocaleDir): use lyx_localedir()
4978
4979         * lyxlex_pimpl.C (setFile): compress stuff
4980
4981         * buffer.C (writeFile): add some compression stuff
4982         (do_writeFile): new func, dont call expliti close... will this
4983         breake anything?
4984
4985         * Makefile.am (lyx_LDADD): add -lz
4986
4987 2003-07-28  José Matos  <jamatos@fep.up.pt>
4988
4989         * buffer.C: increment file format.
4990         * paragraph_funcs (readParagraph, readParToken):
4991         * paragraph.C (readParagraph): add \end_layout.
4992
4993 2003-07-27  Angus Leeming  <leeming@lyx.org>
4994
4995         * Makefile.am: remove special casing for configure-time setting of
4996         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4997
4998         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4999         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5000
5001 2003-07-26  André Pönitz  <poenitz@gmx.net>
5002
5003         * paragraph_func.[Ch]:
5004         * paragraph.C (realizeFont): inline it whereever it is used
5005
5006         * rowpainter.C:
5007         * text.C:
5008         * text2.C:
5009         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5010
5011
5012 2003-07-26  André Pönitz  <poenitz@gmx.net>
5013
5014         *       lyxtext.h:
5015         * text.C:
5016         * text2.C: get rid of LyXText::need_break_row
5017
5018 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5019
5020         * toc.[Ch]: put namespace toc inside namespace lyx
5021
5022         * MenuBackend.C (expandToc2): adjust for lyx::toc
5023         (expandToc): ditto
5024
5025         * lyxfunc.C (dispatch): adjust for lyx::find
5026
5027         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5028         lyx::find instead. Reorganize a bit.
5029         (LyXReplace): rename to replace
5030         (LyXFind): rename to find
5031
5032         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5033         (dispatch): ditto
5034
5035 2003-07-26  André Pönitz  <poenitz@gmx.net>
5036
5037         * text.C (setHeightOfRow): restrict scope of temporary variable
5038
5039         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5040           code (never has been used?)
5041
5042 2003-07-27  Asger Alstrup  <alstrup@local>
5043
5044         * text.C (fill): Optimise algorithm to exploit that we can reuse
5045         the LyXFont for many characters.
5046         (setHeightOfRow): Same thing.
5047         (rowBreakPoint): Same thing.
5048
5049 2003-07-26  Asger Alstrup  <alstrup@local>
5050
5051         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5052
5053         * text.C (singleWidth): Spurious font copying in hot-spot
5054         singleWidth avoided. Reorder tests for arabic for efficiency.
5055
5056         * text.C (fill): handle empty paragraphs better.
5057
5058 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5059
5060         * ispell.C:
5061         * encoding.h: add includes
5062
5063         * lyxrc.C: remove reading of bind files
5064
5065         * lyx_main.C (init): setup bindings and menus only if we have a
5066         gui.
5067
5068         * kbmap.C (read): new method. Do the actual reading of bind
5069         files.
5070
5071         * converter.C (dvipdfm_options):
5072         * bufferparams.C:
5073         * lyxrc.C (read):
5074         (output): adapt PAPER_* enums.
5075
5076         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5077
5078         * bufferparams.h: remove paper-related enums from there
5079
5080         * paper.h: New file. A trivial header file to hold paper-related
5081         enums. It should later expand to contain many paper-related
5082         horrors access.
5083
5084         * lyxrc.C: declare extern displayTranslator
5085
5086 2003-07-27  José Matos  <jamatos@fep.up.pt>
5087
5088         * tabular.[Ch] (linuxdoc): add support for tables and figures
5089         (linuxdoc).
5090
5091 2003-07-27  José Matos  <jamatos@fep.up.pt>
5092
5093         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5094         consistency in both functions.
5095         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5096
5097 2003-07-26  Asger Alstrup  <alstrup@local>
5098
5099         * rowpainter.C (paintRows): Change algorithm to work directly on
5100         the insets rather than asking every character in the document
5101         whether its an inset.
5102
5103 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * buffer.C (openFileWrite): factorize some code
5106
5107 2003-07-26  Angus Leeming  <leeming@lyx.org>
5108
5109         * lyx_cb.C:
5110         * lyx_main.[Ch]: replace occurances of system_tempdir with
5111         os::getTmpDir().
5112
5113 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * rename Inset to InsetOld
5116
5117 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5118
5119         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5120         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5121         which I think is a bit clearer. EDIT is gone, since it was
5122         premature optimisation, and broken for mathed anyway.
5123         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5124         with cursor positioning in insets as well (math insets still do not
5125         work, but that's a different story anyway.) It mysteriously
5126         crashes sometimes with undo in the first paragraph, but I'm fairly
5127         confident that this is a compiler bug.
5128
5129 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * paragraph.C (Paragraph): adjust for new clone return type
5132         (operator==): ditto
5133         (copyIntoMinibuffer): ditto
5134
5135 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5136
5137         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5138         by not having a special case, and always doing a full rebreak of
5139         the document after undo.
5140
5141 2003-07-23  Angus Leeming  <leeming@lyx.org>
5142
5143         * factory.C (createInset): InsetExternal::setParams now takes a
5144         Buffer const * arg.
5145
5146 2003-07-23  Angus Leeming  <leeming@lyx.org>
5147
5148         * factory.C (createInset): changed interface to the external and
5149         graphics mailers' string2params functions.
5150
5151 2003-07-23  Angus Leeming  <leeming@lyx.org>
5152
5153         * factory.C (createInset): pass a
5154         Buffer const * parameter to InsetExternalMailer's string2params.
5155
5156 2003-07-22  John Levon  <levon@movementarian.org>
5157
5158         * Thesaurus.h: include the right aiksaurus header
5159
5160 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5161
5162         * MenuBackend.C (expand): check menu shortcuts unconditionally
5163
5164 2003-07-21  Angus Leeming  <leeming@lyx.org>
5165
5166         * factory.C (createInset): pass a
5167         buffer_path parameter to InsetGraphicsMailer's string2params.
5168
5169 2003-07-21  Angus Leeming  <leeming@lyx.org>
5170
5171         * BufferView_pimpl.C (buffer):
5172         * buffer.C (d-tor):
5173         * lyx_main.C (LyX):
5174         * lyxfunc.C (dispatch):
5175         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5176         rather than the grfx shortcut.
5177
5178 2003-07-21  André Pönitz  <poenitz@gmx.net>
5179
5180         * rowpainter.C: remove unused variables
5181
5182         * tabular_funcs.C:
5183         * tabular_funcs.h: move to tabular.C
5184         * Makefile.am: adjust
5185
5186         * tabular.[Ch]: basic optical cleaning
5187
5188         * author.h: pass references, not values
5189
5190 2003-07-18  André Pönitz  <poenitz@gmx.net>
5191
5192         * lyxtext.h:
5193         * metricsinfo.C:
5194         * metricsinfo.h:
5195         * rowpainter.C:
5196         * text.C:
5197         * text2.C:
5198         * text3.C: two-phase drawing for InsetText and InsetTabular
5199         some float -> int changes.
5200
5201 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5202
5203         * lyx_main.C: fix the fix
5204
5205 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5206
5207         * lyx_main.C: fix a crash in batch mode if no files specified
5208         * converter.C: ws
5209
5210 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5211
5212         * format.[Ch] (papersize): moved to BufferParams
5213         * converter.[Ch] (dvips_options): moved to BufferParams
5214         (dvipdfm_options): moved to anon namespace
5215         * bufferparams.[Ch]: added above functions.
5216
5217 2003-07-17  André Pönitz  <poenitz@gmx.net>
5218
5219         * lyxtext.h:
5220         * rowpainter.C:
5221         * text2.C: don't call inset->update() anymore
5222
5223         * metricsinfo.[Ch]: add convenience constructor
5224
5225 2003-07-16  André Pönitz  <poenitz@gmx.net>
5226
5227         * lyxcursor.[Ch]:
5228         * lyxfunc.[Ch]:
5229         * text.C:
5230         * text2.C: replace the LyXCursor::irow_ member with
5231          on-demand computation of the value
5232
5233 2003-07-16  John Levon  <levon@movementarian.org>
5234
5235         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5236
5237 2003-07-15  André Pönitz  <poenitz@gmx.net>
5238
5239         * text.C:
5240         * text2.C: remove no more needed refresh_row
5241
5242 2003-07-15  André Pönitz  <poenitz@gmx.net>
5243
5244         * lyxtext.h:
5245         * rowpainter.C:
5246         * text2.C:
5247         * text3.C: refresh_status tristate -> need_update bool
5248
5249 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5250
5251         * lyxtext.h (init): remove reinit argument (act as if always true)
5252         * text2.C: adjust to that
5253
5254 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5255
5256         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5257         * text3.C: use it to delete selections in some cases
5258         (bugs 441, 673, 702, 954).
5259
5260 2003-07-14  André Pönitz  <poenitz@gmx.net>
5261
5262         * rowpainter.[Ch]: reduce interface
5263
5264 2003-07-14  André Pönitz  <poenitz@gmx.net>
5265
5266         * BufferView_pimpl.C:
5267         * text2.C: adjust after removing unused BufferView * argument
5268
5269 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * text2.C (init): fix a crash fired on resize
5272
5273 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * buffer.[Ch]: added new closing signal
5276         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5277         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5278         BufferView::Pimpl via the closing the signal
5279
5280 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * buffer.[Ch]: take out all bv-related from buffer
5283         * BufferView.C:
5284         * BufferView_pimpl.[Ch]: connect to new signals
5285         * CutAndPaste.C: removed useless asserts
5286         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5287         * lyxvc.[Ch]:
5288         * vc-backend.[Ch]:
5289         * lyxfunc.C: moved view-related funciontality from vc here
5290         * paragraph.C: removed outdated comments
5291         * text.C: ws
5292
5293 2003-07-10  André Pönitz  <poenitz@gmx.net>
5294
5295         * BufferView_pimpl.C:
5296         * tabular.h:
5297         * tabular_funcs.C:
5298         * text.C:
5299         * text2.C: remove InsetText::InnerCache, clean up consequences
5300
5301 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5302
5303         * ispell.C: fix two typos in error messages
5304
5305 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5306
5307         * Extend Note inset to other forms of annotation like Comment
5308         and Greyedout. Right button click gives dialog.
5309
5310         Files modified or added (+):
5311
5312         * insetnote.[Ch]
5313         * FormNote.[Ch]      +
5314         * ControlNote.[Ch]   +
5315         * form_note.fd       +
5316         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5317         frontends/controllers
5318         * xforms/Dialogs.C
5319         * factory.C
5320
5321 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5322
5323         * aspell.C: add missing namespace lyx::support
5324
5325 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5326
5327         * BufferView.[Ch] (newFile): Add
5328         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5329         * LaTeX.[Ch] (message): added this signal and use it
5330         * buffer.[Ch] (busy, message): added these signals and use them
5331         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5332         * converter.C:
5333         * exporter.C:
5334         * format.C:
5335         * importer.C: use buffer signals instead of direct bv calling
5336         * lyx_cb.[Ch] (ShowMessage): removed
5337         * lyx_main.C:
5338         * lyxfunc.C:
5339         * paragraph_funcs.C:
5340         * text2.C: use buffer signals
5341
5342 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5343
5344         * introduce namespace lyx::graphics
5345
5346 2003-07-02  André Pönitz  <poenitz@gmx.net>
5347
5348         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5349
5350 2003-07-01  André Pönitz  <poenitz@gmx.net>
5351
5352         * text.C:
5353         * text2.C:
5354         * text3.C:
5355         * text_funcs.[Ch]:
5356         * textcursor.h:
5357         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5358           text*.C to text_func.C
5359
5360 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * introduce namespace lyx::support
5363
5364 2003-06-30  André Pönitz  <poenitz@gmx.net>
5365
5366         * Chktex.C:
5367         * funcrequest.C:
5368         * lyxtext.h:
5369         * text.C: re-enable --with-included-string
5370
5371 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5372
5373         * textcursor.C: add <config.h>
5374
5375         * text.C (getWord): remove const from word_location arg
5376
5377         * lyxvc.C (getLogFile): fix const type order
5378
5379         * lyxtext.h: remove const from word_location arg, add arg name
5380
5381         * lyxlayout.h: currect type on labeltype.
5382
5383         * importer.C: correct \file
5384
5385         * converter.C (intToFormat): use std:: on ret val, ws changes
5386
5387         * bufferlist.h: correct \file
5388
5389         * buffer.C (makeLinuxDocFile): fix const type order
5390         (makeDocBookFile): ditto
5391         (fillWithBibKeys): use std:: on stdlib args.
5392
5393         * CutAndPaste.C: fix authors.
5394         (availableSelections): use std:: on return vector
5395
5396 2003-06-27  André Pönitz  <poenitz@gmx.net>
5397
5398         * BufferView_pimpl.C:
5399         * bufferview_funcs.C:
5400         * lyxcursor.C:
5401         * lyxcursor.h:
5402         * lyxfunc.C:
5403         * lyxtext.h:
5404         * rowpainter.C:
5405         * text.C:
5406         * text2.C:
5407         * text3.C: remove LyXCursor::row_ member
5408
5409         * lyxtext.h:
5410         * text.C: rename fullRebreak() to partialRebreak() and implement
5411           a fullRebreak() that really bereks fully
5412
5413         * textcursor.h: new struct for cursor-related data
5414
5415 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5416
5417         * lyx_main.C (LyX): get full path of document loaded on the
5418         command line
5419
5420 2003-06-26  André Pönitz  <poenitz@gmx.net>
5421
5422         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5423           remove unused/broken operator>,<,>=.
5424
5425         *       text.C: remove only use of broken operator<= in an Assert().
5426
5427 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5428
5429         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5430         moved errorlist_.clear to showErrorList
5431
5432 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5433
5434         * converter.C (scanLog, runLaTeX):
5435         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5436         move the bv->showErrorList call to the callers
5437         * lyxfunc.C: i.e. here...
5438         * text2.C: and here
5439         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5440         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5441         namespace, the second to...
5442         * buffer_funcs (BufferFormat, parseErrors): added
5443         * errorlist.C (ErrorList(TeXErrors const &)): removed
5444
5445 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5446
5447         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5448
5449 2003-06-24  "Garst R. Reese" <reese@isn.net>
5450
5451         * debug.C: fix typo
5452
5453 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5454
5455         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5456
5457         * version.C.in: change docversion to 1.4
5458
5459 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5460
5461         * buffer.C: fix a bug just introduced
5462
5463 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5464
5465         * buffer.[Ch]: added the parseError signal and use it, removed
5466         sgmlError
5467         * BufferView.[Ch] (addError): moved to ...
5468         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5469         to the Buffer::parseError signal to catch (guess what) parse errors
5470         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5471
5472 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5475         ability to create a buffer and to return an existing one from
5476         the list. Moved these functions to...
5477         * buffer_funcs.[Ch]: added
5478         * BufferView.[Ch] (loadLyXFile): added
5479         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5480         job removed from bufferlist::loadLyXFile.
5481         * buffer.C (setReadOnly): make it work without view
5482         (i.e added an if (users))
5483
5484 2003-06-19  Angus Leeming  <leeming@lyx.org>
5485
5486         * lfuns.h:
5487         * LyXAction.C (init):
5488         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5489         with LFUN_DIALOG_SHOW <name> <data>.
5490
5491 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5492
5493         * CutAndPaste.C (availableSelections): small compilation fix for
5494         ancient (gcc 2.9x) compilers
5495
5496 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * text3.C (cursorNext): add tmp var
5499
5500         * text2.C (updateCounters): for function calling out of for clause
5501         (replaceSelectionWithString): ditto
5502         (insertStringAsParagraphs): ditto
5503         (getColumnNearX): add tmp var
5504         (setCursorFromCoordinates): add tmp var
5505         (cursorDownParagraph): add tmp var
5506         (deleteEmptyParagraphMechanism): add tmp var
5507
5508         * text.C (insertChar): add tmp var
5509
5510         * rowpainter.C (paintDepthBar): add tmp var
5511
5512         * CutAndPaste.C (availableSelections): potentially check all
5513         paragraphs in a cut to fill the shown strings.
5514
5515 2003-06-18  André Pönitz  <poenitz@gmx.net>
5516
5517         * kbmap.[Ch]: use vector<> instead of list<>
5518
5519 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5520
5521         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5522         pasteSelection with index
5523
5524         * text2.C (pasteSelection): modify, call pasteSelection with index
5525
5526         * paragraph.C (asString): reimplement version with no interval to
5527         call the one with interval.
5528
5529         * lyxtext.h: add index arg to pasteSelection
5530
5531         * MenuBackend.C (MenuItem): handle PasteRecent
5532         (Menu::read::Menutags): add md_pasterecent
5533         (read): handle it
5534         (expandPasteRecent): new function
5535         (expand): use it
5536
5537         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5538
5539         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5540         the limited stack
5541         (availableSelections): new function
5542
5543 2003-06-17  Angus Leeming  <leeming@lyx.org>
5544
5545         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5546
5547 2003-06-17  Angus Leeming  <leeming@lyx.org>
5548
5549         * lfuns.h:
5550         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5551
5552         * lyxfunc.C (dispatch): invoke it.
5553
5554 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5555
5556         * iterators.C (operator++, ParPosition): reintroduce some
5557         const_cast for the benefit of older compilers.
5558
5559 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5560
5561         * text3.C (dispatch): do not modify clipboard when doing
5562         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5563         LFUN_DELETE_SKIP on a selection selection
5564
5565 2003-06-16  André Pönitz  <poenitz@gmx.net>
5566
5567         * BufferView.C:
5568         * buffer.C:
5569         * buffer.h:
5570         * paragraph.C:
5571         * tabular.[Ch]: IU of clone() and getLabelList();
5572
5573 2003-06-13  André Pönitz  <poenitz@gmx.net>
5574
5575         * tabular.h: compactification
5576
5577 2003-06-12  André Pönitz  <poenitz@gmx.net>
5578
5579         * tabular.C:
5580         * tabular.h:
5581         * tabular_funcs.h: some renaming plus whitespace
5582
5583 2003-06-12  André Pönitz  <poenitz@gmx.net>
5584
5585         * BufferView.C:
5586         * BufferView_pimpl.C:
5587         * CutAndPaste.C:
5588         * buffer.C:
5589         * iterators.[Ch]:
5590         * lyxfunc.C:
5591         * text.C:
5592         * toc.C: Return a Paragraph & for ParIterator::operator*()
5593
5594 2003-06-11  John Levon  <levon@movementarian.org>
5595
5596         * lyx_main.C:
5597         * ToolbarBackend.h:
5598         * ToolbarBackend.C: add "Toolbars" section and
5599         put the flags there
5600
5601 2003-06-10  Angus Leeming  <leeming@lyx.org>
5602
5603         * lfuns.h:
5604         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5605
5606         * lyxfunc.C (dispatch): invoke it.
5607
5608 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5609
5610         * main.C: protect <ios> with HAVE_IOS
5611         (main): protect sync_with_stdio with HAVE_IOS
5612
5613 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5614
5615         * text2.C (cutSelection): adjust
5616         (pasteSelection): adjust
5617
5618         * messages.C: handle get of empty string
5619
5620         * main.C (main): use sync_with_stdio(false)
5621
5622         * lyxfunc.C (dispatch): adjust
5623
5624         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5625         (WriteAs): remove unneeded BufferView arg.
5626
5627         * bufferparams.h: use correct types on papersize, papersize2 and
5628         paperpackage.
5629
5630         * bufferparams.C (readToken): adjust for type
5631         (writeLaTeX): add missing cases to switch.
5632
5633         * bufferlist.C (quitWriteBuffer): adjust
5634         (close): adjust
5635
5636         * buffer.C (asciiParagraph): remove some commented code.
5637
5638         * CutAndPaste.C: remove current_view extern variable.
5639         (cutSelection): add BufferParams arg.
5640         (eraseSelection): add BufferParams arg.
5641         (pasteSelection): add Buffer const & arg
5642
5643 2003-06-07  John Levon  <levon@movementarian.org>
5644
5645         * buffer.C:
5646         * paragraph_funcs.C:
5647         * paragraph_pimpl.C:
5648         * text.C:
5649         * text2.C:
5650         * paragraph.h:
5651         * paragraph.C: allow InsetERT to freely space lines,
5652         and some consolidation of code
5653
5654 2003-06-06  José Matos  <jamatos@fep.up.pt>
5655
5656         * buffer.C (makeDocBookFile): fix bug #821
5657
5658 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5659
5660         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5661
5662 2003-06-04  Angus Leeming  <leeming@lyx.org>
5663
5664         * buffer.C: bump format to 224.
5665
5666 2003-06-05  André Pönitz  <poenitz@gmx.net>
5667
5668         * text2.C (redoParagraphs): remove two const_cast<>
5669
5670 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5671
5672         * ParagraphList.h: remove last remnants of NO_STD_LIST
5673
5674 2003-06-03  Angus Leeming  <leeming@lyx.org>
5675
5676         * factory.C (createInset): small change to the way InsetExternal's params
5677         are set.
5678
5679 2003-06-04  André Pönitz  <poenitz@gmx.net>
5680
5681         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5682
5683         * paragraph_pimpl.h:
5684         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5685
5686         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5687
5688         * undo_funcs.C: make some simple cases of undo work again
5689
5690 2003-06-03  John Levon  <levon@movementarian.org>
5691
5692         * ispell.C: HPUX doesn't have sys/select.h
5693         (from Albert Chin)
5694
5695 2003-06-03  John Levon  <levon@movementarian.org>
5696
5697         * CutAndPaste.C: update tabular and include inset
5698         buffer references
5699
5700         * buffer.h:
5701         * paragraph.h:
5702         * paragraph.C: remove owningBuffer(), don't pass Buffer
5703         to clone()
5704
5705         * factory.C: insetGraphicsParams changed
5706
5707 2003-06-02  John Levon  <levon@movementarian.org>
5708
5709         * LyXAction.C:
5710         * factory.C:
5711         * lfuns.h:
5712         * lyxfunc.C:
5713         * text3.C: remove insetparent
5714
5715 2003-06-02  John Levon  <levon@movementarian.org>
5716
5717         * buffer.h:
5718         * buffer.C: fix inset_iterator.end(), move out of line
5719         (bug 1149)
5720
5721 2003-06-01  John Levon  <levon@movementarian.org>
5722
5723         * text3.C: use a proper cut/paste when doing inset
5724         insert (from Jürgen Spitzmüller)
5725
5726 2003-06-01  John Levon  <levon@movementarian.org>
5727
5728         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5729
5730 2003-05-30  André Pönitz  <poenitz@gmx.net>
5731
5732         * rowpainter.C: unify second drawing phase
5733
5734 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5735
5736         * trans_mgr.C: remove one case of current_view
5737
5738         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5739
5740         * paragraph_funcs.h: remove paragraph.h include
5741
5742         * paragraph.h: delete NO_STD_LIST stuff
5743
5744         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5745
5746         * buffer.h: remove paragraph.h include
5747
5748         * ParagraphList.C: delete file
5749
5750         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5751
5752         * toc.C (getTocList): adjust
5753
5754         * paragraph_pimpl.C (validate): adjust
5755
5756         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5757
5758         * paragraph.C (Paragraph): adjust
5759         (getPositionOfInset): use const_iterator, adjust
5760         (bibitem): use const_iterator, adjust
5761         (setInsetOwner): adjust
5762
5763         * iterators.C (operator++): adjust
5764
5765         * InsetList.[Ch]: Replace selfmade iterator with standard
5766         vector::iterator also introduce const_iterator. Remove getPos,
5767         getInset and setInset from InsetTable. Adjust accordingly.
5768
5769         * BufferView.C (lockInset): adjust
5770         (ChangeInsets): adjust
5771
5772         * tabular.[Ch]: delete commented same_id functions
5773
5774 2003-05-28  John Levon  <levon@movementarian.org>
5775
5776         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5777
5778 2003-05-28  André Pönitz  <poenitz@gmx.net>
5779
5780         * metricsinfo.[Ch]: remove 'fullredraw' member
5781
5782 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5783
5784         * lyxtextclass.C (operator): remove caching.
5785
5786 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * text3.C: adjust
5789
5790         * text2.C (cursorBottom): adjust
5791         (setCounter): use ParagraphList::find, adjust
5792
5793         * text.C (workWidth): use ParagraphList::find, adjust
5794
5795         * lyxcursor.C (LyXCursor): adjust
5796
5797         * buffer.C (inset_iterator): adjust
5798
5799         * ParagraphList.h: make iterator(value_type) private, make
5800         ParagraphList a friend of iterator.
5801
5802         * ParagraphList.C (find): new function
5803
5804         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5805
5806 2003-05-27  André Pönitz  <poenitz@gmx.net>
5807
5808         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5809
5810 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5811
5812         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5813
5814 2003-05-26  John Levon  <levon@movementarian.org>
5815
5816         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5817
5818 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * remove same_id from function signatures, adjust.
5821
5822 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5825
5826         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5827
5828         * paragraph.C (Paragraph): get rid of same_ids parameter
5829
5830         * ParagraphList.C (insert): adjust
5831         (push_back): adjust
5832
5833 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * paragraph_funcs.C (breakParagraph): adjust
5836         (breakParagraphConservative): adjust
5837
5838         * buffer.C (readParagraph): adjust
5839
5840         * ParagraphList.C (insert): take a reference instead of a pointer
5841         (insert): adjust
5842
5843         * paragraph.[Ch] (id): new function
5844
5845         * bufferlist.C (newFile): adjust
5846
5847         * ParagraphList.C (ParagraphList): adjust
5848         (assign): adjust
5849         (push_back): take a reference instead of a pointer.
5850
5851         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5852
5853         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5854         instead.
5855
5856         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5857         set else use old code.
5858
5859         * ParagraphList.C: remove all NO_NEXT code and only compile this
5860         code of NO_STD_LIST is set.
5861
5862 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5863
5864         * BufferView_pimpl.C:
5865         * TextCache.C:
5866         * TextCache.h:
5867         * bufferlist.C:
5868         * errorlist.h:
5869         * format.C:
5870         * format.h:
5871         * graph.C:
5872         * lyxfunc.C:
5873         * lyxrc.C:
5874         * graphics/GraphicsConverter.C:
5875         * graphics/PreviewLoader.C: header adjustment
5876
5877 2003-05-23  Angus Leeming  <leeming@lyx.org>
5878
5879         * LaTeXFeatures.[Ch] (useBabel): new method.
5880         * bufferparams.C (writeLaTeX): use it.
5881
5882 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * ParagraphList.h (set): remove unused function.
5885
5886 2003-05-23  André Pönitz  <poenitz@gmx.net>
5887
5888         * BufferView.C:
5889         * BufferView_pimpl.C:
5890         * buffer.C:
5891         * buffer.h:
5892         * lyxfunc.C:
5893         * undo_funcs.C: setUndo reworked
5894
5895         * iterators.[Ch]: add access to topmost ParagraphList
5896
5897         * lyxtext.[Ch] (workWidth): add a const
5898
5899 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5900
5901         * texrow.[Ch] (increasePos): remove function
5902         * exporter.C (export): removed unused var and outdated comment
5903
5904 2003-05-23  Angus Leeming  <leeming@lyx.org>
5905
5906         * latexrunparams.h: rename fragile as moving_arg.
5907         * paragraph.C (simpleTeXOnePar): ditto.
5908         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5909
5910 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5913         (createUndo): ditto
5914         (textUndoOrRedo): comment out a currently unused var.
5915
5916         * paragraph.h (NO_NEXT): enable NO_NEXT
5917
5918         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5919
5920         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5921
5922         * exporter.C (Export): adjust for removeAutoInsets removal.
5923
5924         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5925
5926         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5927
5928         * BufferView.[Ch] (removeAutoInsets): delete function
5929
5930 2003-05-22  Angus Leeming  <leeming@lyx.org>
5931
5932         * latexrunparams.h: add a free_spacing variable.
5933
5934         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5935         to pass moving_arg, as the data is stored in runparams.fragile.
5936
5937         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5938         to Inset::latexOptional or to simpleTeXOnePar.
5939
5940         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5941         free_spacing arg to Inset::latexOptional.
5942
5943         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5944         free_spacing arg.
5945
5946 2003-05-22  Angus Leeming  <leeming@lyx.org>
5947
5948         * latexrunparams.h: add fragile and use_babel variables.
5949
5950         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5951         * buffer.C (makeLaTeXFile): store this returned value in
5952         runparams.use_babel, thus passing it to the inset::latex methods.
5953
5954         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5955         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5956
5957         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5958         longer has a fragile arg, as it is stored in runparams.fragile.
5959
5960         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5961         moving_arg parameter as the data is stored in runparams.fragile.
5962
5963         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5964         a fragile parameter as the data is stored in runparams.fragile.
5965
5966 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5969
5970 2003-05-22  Angus Leeming  <leeming@lyx.org>
5971
5972         * latexrunparams.h: add a 'bool nice' which defaults to false.
5973
5974         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5975         now encapsulated within runparams.
5976
5977         * bufferlist.C (updateIncludedTeXfiles):
5978         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5979
5980 2003-05-22  Angus Leeming  <leeming@lyx.org>
5981
5982         * latexrunparams.h: new file containing struct LatexRunParams.
5983         * Makefile.am: add new file.
5984
5985         * LaTeX.[Ch] (c-tor, run):
5986         * buffer.[Ch] (makeLaTeXFile):
5987         * bufferlist.[Ch] (updateIncludedTeXfiles):
5988         * converter.C (convert, scanLog):
5989         * converter.[Ch] (runLaTeX):
5990         * exporter.C (Export):
5991         * paragraph.[Ch] (simpleTeXOnePar):
5992         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5993         * paragraph_funcs.[Ch] (latexParagraphs):
5994         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5995         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5996         pass around a LatexRunParams parameter.
5997
5998 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * paragraph.[Ch]: remove unused constructor
6001
6002         * ParagraphList.C (erase): new function, taking two iterators
6003
6004 2003-05-22  André Pönitz  <poenitz@gmx.net>
6005
6006         * undo_funcs.C: remove duplicated code
6007
6008         * iterator.[Ch]: operator=
6009
6010 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * tabular.C (SetMultiColumn): ws changes
6013
6014         * rowpainter.C (paintFirst): get rid of a ->previous
6015
6016         * lyx_cb.C (getPossibleLabel): parlist simplification
6017
6018         * BufferView.C (ChangeInsets): simplify slightly.
6019
6020 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6021
6022         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6023         * lfuns.h: new LFUN_SPACE
6024         * lyxfunc.C: protected space has a new lfun
6025         * paragraph_funcs.C: read new space insets
6026         * text3.C:
6027         * factory.C: handle new space insets
6028
6029 2003-05-22  André Pönitz  <poenitz@gmx.net>
6030
6031         * BufferView.C:
6032         * BufferView_pimpl.C:
6033         * buffer.[Ch]:
6034         * lyxfunc.C:
6035         * undo_funcs.C: return a ParIterator from getParFromID.
6036
6037         * iterators.[Ch]: add two const's
6038
6039 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * toc.C (getTocList): adjust
6042
6043         * iterators.[Ch]: rework for parlist
6044
6045         * buffer.C (par_iterator_begin): adjust
6046         (par_iterator_end): adjust
6047
6048         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6049
6050         * BufferView.C (removeAutoInsets): adjust
6051         (ChangeInsets): adjust
6052
6053 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6054
6055         * text.C (top_y): fix bug 1110
6056
6057 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6058
6059         * errorlist.[Ch]: added
6060         * buffer.C:
6061         * BufferView.[Ch]:
6062         * BufferView_pimpl.C:
6063         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6064         instead
6065
6066 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * Makefile.am: ensure that lyx is relinked upon changes to the
6069         various "convenience" libs.
6070
6071 2003-05-20  Angus Leeming  <leeming@lyx.org>
6072
6073         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6074         files are compiled in alphabetical order again.
6075
6076         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6077
6078 2003-05-19  Angus Leeming  <leeming@lyx.org>
6079
6080         * gettext.[Ch]: remove "char const * _(char const *)".
6081
6082 2003-05-19  André Pönitz  <poenitz@gmx.net>
6083
6084         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6085
6086         * Makefile.am:
6087         * BufferView.C:
6088         * DepTable.h:
6089         * LaTeXFeatures.C:
6090         * buffer.C:
6091         * lyxfont.C:
6092         * lyxlex.h:
6093         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6094
6095 2003-05-19  André Pönitz  <poenitz@gmx.net>
6096
6097         * buffer.C:
6098         * lyxlayout.[Ch]:
6099         * lyxtextclass.[Ch]:
6100         * paragraph.C:
6101         * paragraph_funcs.[Ch]:
6102         * text2.C:
6103         * text3.C: more insetenv work
6104
6105 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6106
6107         * ParagraphParameters.C (params2string): small bug fixed
6108
6109 2003-05-16  André Pönitz  <poenitz@gmx.net>
6110
6111         * debug.C:
6112         * bufferview_funcs.C: patch from Kornel Benko to prevent
6113           crash when _(...) is called twice in a statement
6114
6115 2003-05-16  André Pönitz  <poenitz@gmx.net>
6116
6117         * BufferView.C:
6118         * lyxfunc.C:
6119         * text.C:
6120         * text2.C:
6121         * text3.C:
6122         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6123
6124 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6125
6126         * lyx_main.C (init): remove spurious static_cast
6127
6128 2003-05-14  André Pönitz  <poenitz@gmx.net>
6129
6130         * BufferView.C: fix format string
6131
6132 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6133
6134         * BufferView.[Ch] (insertErrors): removed
6135         * BufferView.[Ch] (showErrorList): added
6136         * buffer.C (runChkTeX):
6137         * converter.C (scanLog): call showErrorList instead of inserterrors
6138
6139 2003-05-13  André Pönitz  <poenitz@gmx.net>
6140
6141         * BufferView_pimpl.C:
6142         * buffer.C:
6143         * bufferview_func.C:
6144         * MenuBackend.C:
6145         * lyxfunc.C:
6146         * lyxrc.C:
6147         * tex-accent.C:
6148         * text3.C:
6149         * toc.C:
6150         * tabular_funcs.h: tostr() from its own header
6151
6152         * ParagraphParameters.C:
6153         * ToolbarBackend.C:
6154         * bufferparams.C:
6155         * format.C:
6156         * lyxlex_pimpl.C:
6157         * text3.C: STRCONV()
6158
6159 2003-05-12  André Pönitz  <poenitz@gmx.net>
6160
6161         * BufferView.C:
6162         * BufferView_pimpl.C:
6163         * CutAndPaste.C:
6164         * LaTeX.C:
6165         * LaTeXFeatures.C:
6166         * ParagraphParameters.C:
6167         * buffer.C:
6168         * bufferlist.C:
6169         * bufferparams.C:
6170         * bufferview_funcs.C:
6171         * converter.C:
6172         * counters.C:
6173         * debug.C:
6174         * exporter.C:
6175         * format.C:
6176         * importer.C:
6177         * lyx_cb.C:
6178         * lyx_main.C:
6179         * lyxfont.C:
6180         * lyxfunc.C:
6181         * lyxvc.C:
6182         * paragraph.C:
6183         * paragraph_funcs.C:
6184         * tabular.C:
6185         * tabular_funcs.C:
6186         * text2.C:
6187         * text3.C:  boost::format -> bformat  all over the place
6188
6189
6190 2003-05-09  André Pönitz  <poenitz@gmx.net>
6191
6192         * LColor.[Ch]: Pimpl the #include <map> away
6193
6194 2003-05-09  John Levon  <levon@movementarian.org>
6195
6196         * bufferlist.C: never remove emergency saves
6197
6198 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * Makefile.am: better lib building
6201
6202 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6205         instead.
6206         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6207         (simpleTeXSpecialChars): adjust
6208         (simpleTeXSpecialChars): adjust
6209         * paragraph.C (simpleTeXOnePar): adjust
6210         * buffer.C (makeLaTeXFile): adjust
6211
6212         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6213
6214         * text2.C (changeDepth): parlist cleanup
6215         (getColumnNearX): ditto
6216
6217         * rowpainter.C (getLabelFont): parlist cleanup
6218
6219         * bufferlist.C (newFile): parlist cleanup
6220
6221         * CutAndPaste.C (eraseSelection): parlist cleanup
6222
6223         * BufferView_pimpl.C (trackChanges): parlist cleanup
6224         (dispatch): ditto
6225
6226         * BufferView.C (lockInset): parlist cleanup.
6227         (ChangeInsets): ditto
6228
6229 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * CutAndPaste.h: Update file header.
6232
6233         * CutAndPaste.C: Update file header.
6234         Store the parts cut out of the Document in a limited_stack.
6235         (copySelection): adjust
6236         (pasteSelection): new function, takes the index in the limited stack.
6237         (nrOfParagraphs): adjust
6238         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6239         simplify error inset insertion.
6240         (checkPastePossible): adjust
6241
6242 2003-05-06  John Levon  <levon@movementarian.org>
6243
6244         * text2.C: don't cast wrap inset to float
6245
6246 2003-05-05  André Pönitz  <poenitz@gmx.net>
6247
6248         * iterator.C:
6249         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6250
6251         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6252           few naked Paragraph *.
6253
6254 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6255
6256         * bufferparams.C: Output warning if a document with missing
6257         TeX document class is loaded
6258         * exporter.C: Disable TeX exports if the document class is missing
6259         * lyxtextclass.C:
6260         * lyxtextclass.h:
6261         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6262         isTeXClassAvailable()
6263
6264 2003-05-03  John Levon  <levon@movementarian.org>
6265
6266         * BufferView.h:
6267         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6268         explicit cursor show/hide
6269
6270         * BufferView_pimpl.h:
6271         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6272         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6273
6274         * lyxfunc.C: hide cursor before dispatching.
6275
6276         * lyx_cb.C:
6277         * lyxfind.C:
6278         * text.C:
6279         * text3.C: remove explicit cursor hides
6280
6281 2003-05-02  André Pönitz  <poenitz@gmx.net>
6282
6283         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6284
6285         * undo_funcs.C:
6286         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6287           linked lists
6288
6289         * text2.C: tiny whitespace
6290
6291 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * undo_funcs.C: almost only ws changes.
6294
6295         * ParagraphList.C (splice): just return if pl is empty.
6296
6297 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * ParagraphList.C (splice): new function.
6300
6301         * CutAndPaste.C (pasteSelection): use it
6302
6303 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * CutAndPaste.C (pasteSelection): remove the last next and
6306         previous from this file.
6307
6308 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * CutAndPaste.C (pasteSelection): more clean up, user proper
6311         ParagraphList functions for pasteing.
6312
6313         * ParagraphList.C (insert): new function, three arg insert
6314
6315 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * ParagraphList.C (insert): new function, three arg insert
6318
6319         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6320         not on paragraphs.
6321
6322 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6325
6326 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6329
6330 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6333         (copySelection): clean up a bit.
6334         (pasteSelection): use make_pair
6335
6336         * ParagraphList.C (ParagraphList): implement copy constructor
6337         (operator=): implement, base on copy constructor.
6338         (assign): new func
6339
6340         * paragraph.C (erase): return a bool
6341
6342         * paragraph_pimpl.C (erasePos): remove function, move contents...
6343         (erase): ... here. Return a bool.
6344         (erase): call erase instead of erasePos.
6345
6346 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6347
6348         * ParagraphList.h: define PitPosPair
6349         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6350         ParagraphList, fix a bug on pasting multiple pars
6351         * text2.C: change interface to C&P
6352
6353 2003-04-30  André Pönitz  <poenitz@gmx.net>
6354
6355         * undo_func.C: revert part of yesterday's patch 2
6356
6357 2003-04-30  John Levon  <levon@movementarian.org>
6358
6359         * LColor.C: s/tabular/table/
6360
6361 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * text3.C (dispatch): do not convert iterator -> pointer
6364         * undo_funcs.C (setCursorParUndo): ditto
6365         * text_funcs.C (transposeChars): ditto
6366
6367         * text2.C (setLayout): ws changes only
6368
6369         * text.C (breakParagraph): do not convert iterator -> pointer
6370         (insertChar): ditto
6371         (acceptChange): ditto
6372         (rejectChange): ditto
6373         (changeCase): ditto
6374         (Delete): ditto
6375         (backspace): ditto
6376
6377         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6378         pointer
6379
6380 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6381
6382         * text3.C (gotoInset): YABG (yet another bad getChar)
6383
6384 2003-04-29  André Pönitz  <poenitz@gmx.net>
6385
6386         * paragraph.h: make operator= private unimplemented as long as
6387           it is unusable
6388
6389         * ParagraphList.C: whitespace
6390
6391         * paragraph.[Ch]:
6392         * paragraph_pimpl.[Ch]:
6393         * paragraph_funcs.C:
6394         * CutAndPaste.C:
6395         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6396
6397         * text2.C:
6398           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6399
6400 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6403         * paragraph.[Ch] (erase):
6404         * paragraph_pimpl.[Ch] (erase): change return type and value
6405         * text2.C (cutSelection): some rework
6406
6407 2003-04-28  John Levon  <levon@movementarian.org>
6408
6409         * bufferlist.C: changes for unsaved changes dialog
6410
6411 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * bufferlist.C (newFile): set language (messages_) for new
6414         documents also.
6415
6416         * buffer.C (readFile): ws changes only.
6417
6418 2003-04-28  André Pönitz  <poenitz@gmx.net>
6419
6420         * undo_funcs.C:
6421         * lyxfunc.C:
6422         * buffer.[Ch]:
6423         * BufferView_pimpl.C:
6424         * BufferView.C: getParFromID related ParagraphList::iterator changes
6425
6426 2003-04-28  André Pönitz  <poenitz@gmx.net>
6427
6428         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6429           Changes
6430
6431 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6432
6433         * messages.C: remove one more localedir class variable.
6434
6435 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6436
6437         * messages.C (getLocaleDir): singleton generation function
6438         (Pimpl): use it.
6439         (Messages): add a default constructor.
6440
6441         * main.C (main): do not setup localedir here, do not call
6442         gettext_init.
6443
6444         * gettext.C (_): use it.
6445         (gettext_init): delete funciton
6446
6447 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * gettext.C (getLyXMessages): new singleton generating function.
6450
6451         * buffer.C (updateDocLang): adjust
6452
6453         * Makefile.am (messages.o): add target
6454         (main.o): remove target
6455
6456 2003-04-27  John Levon  <levon@movementarian.org>
6457
6458         * bufferlist.C:
6459         * lyx_cb.C:
6460         * lyxfunc.C:
6461         * lyxvc.C: specify cancel button in Alert::prompt
6462
6463 2003-04-26  John Levon  <levon@movementarian.org>
6464
6465         * text3.C:
6466         * lyxfunc.C:
6467         * lfuns.h:
6468         * LyXAction.C: add LFUN_INSET_SETTINGS
6469
6470         * lyxfunc.C: don't enable tabular-feature when there's
6471         just any locking inset
6472
6473 2003-04-26  John Levon  <levon@movementarian.org>
6474
6475         * bufferlist.C: re-add Cancel to buffer close question
6476
6477         * lyxfunc.C: fix import UI a bit
6478
6479 2003-04-25  John Levon  <levon@movementarian.org>
6480
6481         * gettext.C: remove the broken asserts for now
6482
6483 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * messages.C: make case where setlocale cannot comply work better.
6486
6487         * buffer.C (updateDocLang): new function
6488         (changeLanguage): use it
6489         (readFile): use it
6490
6491         * text2.C (setCounter): use B_ a bit.
6492
6493         * lyxlayout.C (Read): be sure to trim the label strings.
6494
6495         * messages.C (Messages): fix typo in comment
6496
6497         * buffer.C (readFile): set message_ after file is loaded.
6498         (makeDocBookFile): remove double return
6499         (changeLanguage): reset message_ upon language change.
6500         (B_): new func, use this to get translated buffer strings.
6501
6502         * main.C: add myself and Jean Marc as authors.
6503
6504 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * messages.[hC]: pimplify Messages, and three different pimpls to be
6507         used in different circumstances.
6508
6509         * gettext.[Ch]: change for use with new message code.
6510
6511 2003-04-24 André Pönitz <poenitz@gmx.net>
6512
6513         * factory.C: support for eqref
6514
6515 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * messages.[Ch]: add missing char
6518
6519         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6520
6521         * messages.[Ch]: New files
6522
6523 2003-04-18  John Levon  <levon@movementarian.org>
6524
6525         * BufferView.h:
6526         * BufferView.C:
6527         * BufferView_pimpl.C:
6528         * lfuns.h:
6529         * LyXAction.C:
6530         * lyxtext.h:
6531         * text2.C: remove layout-copy/paste (bug 778)
6532
6533 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6534
6535         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6536
6537 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6538
6539         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6540         if they succeed. Act accordingly.
6541
6542 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * text2.C (setCharFont): adjust
6545         (setCounter): adjust
6546         (insertStringAsLines): adjust
6547
6548         * text.C (leftMargin): adjust
6549         (setHeightOfRow): adjust
6550
6551         * rowpainter.C (paintFirst): adjust
6552         (paintLast): adjust
6553
6554         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6555         (outerHook): ditto
6556         (isFirstInSequence): ditto
6557         (getEndLabel): ditto
6558         (outerFont): adjust
6559
6560         * paragraph.C (getParLanguage): comment out some hard stuff.
6561
6562         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6563         (sgmlError): ditto
6564         (simpleDocBookOnePar): ditto
6565         (makeDocBookFile): use ParagraphList::iterator
6566
6567         * CutAndPaste.C (pasteSelection): adjust
6568
6569 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * text2.C (getFont): adjust
6572         (getLayoutFont): adjust
6573         (getLabelFont): adjust
6574
6575         * paragraph_funcs.C (TeXOnePar): adjust
6576
6577         * buffer.C (simpleLinuxDocOnePar): adjust
6578         (simpleDocBookOnePar): adjust
6579
6580         * CutAndPaste.C (pasteSelection): adjust
6581
6582         * BufferView.C (getEncoding): adjust
6583
6584         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6585
6586 2003-04-16  John Levon  <levon@movementarian.org>
6587
6588         * lyxfind.C: use parlist stuff for search/changes
6589
6590 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6591
6592         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6593
6594         * text2.C (deleteEmptyParagraphMechanism): adjust
6595
6596         * text2.[Ch] (ownerParagraph): delete func (both of them
6597
6598 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6601
6602 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * ParagraphList.C: prepare for NO_NEXT
6605
6606 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * text2.C (getFont): adjust
6609         (getLayoutFont): adjust
6610         (getLabelFont): adjust
6611
6612         * paragraph.C (getFont): adjust
6613         (getLabelFont): adjust
6614         (getLayoutFont): adjust
6615
6616         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6617
6618 2003-04-15  John Levon  <levon@movementarian.org>
6619
6620         From Angus Leeming
6621
6622         * lyx_main.C: handle Include in .ui files
6623
6624 2003-04-15  John Levon  <levon@movementarian.org>
6625
6626         * MenuBackend.C: make the doc files length shorter
6627
6628         * ToolbarBackend.h:
6629         * ToolbarBackend.C: handle toolbar placement flags,
6630         Minibuffer
6631
6632 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6635         adjust
6636
6637         * paragraph_funcs.C (TeXOnePar): adjust
6638
6639         * paragraph.C (getLabelFont): add outerfont arg, adjust
6640         (getLayoutFont): ditto
6641         (simpleTeXOnePar): adjust
6642
6643         * paragraph_pimpl.C (realizeFont): delete func
6644
6645 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6646
6647         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6648         row argument, constify cur argument.
6649
6650 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6651
6652         * text2.C (getFont): adjust
6653         (getLayoutFont): adjust
6654         (getLabelFont): adjust
6655
6656         * paragraph_funcs.C (TeXOnePar): adjust
6657         (outerFont): new func...
6658         (realizeFont): ...moved out from here, changed this to facilitate
6659         transition
6660
6661         * paragraph.C (getFont): take outerfont as arg, adjust
6662         (simpleTeXOnePar): add outerfont arg, adjust
6663
6664         * buffer.C (simpleLinuxDocOnePar): adjust
6665         (simpleDocBookOnePar): adjust
6666
6667         * CutAndPaste.C (pasteSelection): adjust
6668
6669         * BufferView.C (getEncoding): adjust
6670
6671 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * text2.C (setCharFont): adjust
6674         (setCounter): adjust
6675
6676         * text.C (leftMargin): adjust
6677         (setHeightOfRow): adjust
6678
6679         * rowpainter.C (paintFirst): adjust
6680         (paintLast): adjust
6681
6682         * paragraph_pimpl.C (realizeFont): adjust
6683
6684         * paragraph.C (isFirstInSequence): move from here...
6685         * paragraph_funcs.C (isFirstInSequence): ...to here
6686
6687         * paragraph.C (outerHook): move from here...
6688         * paragraph_funcs.C (outerHook): ...to here
6689
6690         * paragraph.C (depthHook): move from here...
6691         * paragraph_funcs.C (depthHook): ...to here
6692
6693         * paragraph.C (getEndLabel): move from here...
6694         * paragraph_funcs.C (getEndLabel): ...to here
6695
6696         * text2.C (realizeFont): move from here...
6697         * paragraph_funcs.C (realizeFont): ...to here
6698
6699 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6702
6703 2003-04-14  Angus Leeming  <leeming@lyx.org>
6704
6705         * LColor.[Ch]: scrap LColor mathcursor.
6706
6707 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * lyxlex.[Ch] (text): delete function
6710         * trans.C (Load): adjust
6711         * paragraph_funcs.C (readParToken): adjust
6712
6713 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6714
6715         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6716         vector<char> instead of a char[].
6717
6718         * lyxlex_pimpl.C (getString): adjust
6719         (next): adjust
6720         (lex): use getString
6721         (eatLine): adjust
6722         (nextToken): adjust
6723
6724         * lyxlex.C (text): use pimpl_->getString()
6725         (getBool): ditto
6726         (findToken): ditto
6727
6728 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6731         (makeFontEntriesLayoutSpecific): temp var for par.size()
6732         (setLayout): temp var for ownerParagraphs().end()
6733         (fullRebreak): temp var for rows().end()
6734         (selectionAsString): temp var for boost::next(startpit), realize
6735         that the while really is a regular for loop.
6736         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6737         setCursor in one place.
6738         (setParagraph): temp vr for ownerParagraphs().end()
6739         (updateCounters): make the while loop a for loop
6740         (cutSelection): temp var for ownerParagraphs().end()
6741         (updateInset): make the do {} while() a regular for loop
6742         (getCursorX): use temp vars
6743         (setCurrentFont): use temp vars
6744         (getColumnNearX): use temp vars
6745
6746 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * text.C (transformChar): use temp var for getChar
6749         (computeBidiTables): use temp var for row->par()
6750         (fill): move temp vars for row->par() and pit->layout() earlier in
6751         the function.
6752         (labelFill): use temp var for row->par()
6753         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6754         asc and desc, realize that pit never changes and that firstpit is
6755         just a duplicate and not needed. Exchange rit->par() with pit in a
6756         lot of places.
6757         (breakAgain): use a temp var for boost::next(rit)
6758         (breakAgainOneRow): ditto
6759         (breakParagraph): use a temp var for rows().begin()
6760         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6761         (cursorRightOneWord): use temp var for cursor.par() and
6762         cursor.pos(), remove usage of tmpcursor.
6763         (cursorLeftOneWord): use temp var for cursor.par() and
6764         cursor.pos() only set cur at end of function.
6765
6766 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6767
6768         * text.C, text2.C: exchange all usage of Paragraph::next with
6769         boost::next(ParagraphList::iterator)
6770
6771         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6772
6773         * text2.C (cursorTop): simplify implementation
6774         (cursorBottom): ditto
6775         (setParagraph): use ParagraphList::iterator
6776         (setCurrentFont): adjust
6777         (getColumnNearX): adjust
6778         (cursorRight): adjust
6779         (cursorLeft): remove usage of Paragraph::previous
6780         (cursorUpParagraph): ditto
6781         (deleteEmptyParagraphMechanism): slight cleanup
6782
6783         * text.C (isBoundary): take a Paragraph const & instead of a
6784         pointer as arg.
6785         (addressBreakPoint): ditto
6786         (leftMargin): remove usage of Paragraph::previous.
6787         (setHeightOfRow): ditto
6788         (cursorLeftOneWord): ditto
6789         (selectNextWordToSpellcheck): ditto
6790         (Delete): ditto
6791         (backspace): ditto
6792         (breakParagraph): remove one usage of Paragraph::next
6793         (redoParagraph): ditto
6794         (acceptChange): ditto
6795         (insertChar): adjust
6796         (rowBreakPoint): adjust
6797
6798         * bufferview_funcs.C (toggleAndShow): adjust
6799
6800 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6801
6802         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6803         methods to access it.
6804         * lyxtext.h:
6805         * text.C: Added updateRowPositions to compute all row positions.
6806         Make top_y and getRowNearY() to use the cached y position
6807
6808 2003-04-11  John Levon  <levon@movementarian.org>
6809
6810         * text.C (rowBreakPoint): reintroduce the labelEnd
6811         checks, code copied from the row fill stuff. Deep voodoo.
6812
6813         * text.C (fill): add a comment and debugging for the
6814         next poor soul.
6815
6816 2003-04-11  John Levon  <levon@movementarian.org>
6817
6818         * text.C: make sure fullrow insets get wrapped to the next line,
6819         even when they're in a manual label
6820
6821 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6822
6823         * text2.C (insertParagraph): make it take ParagraphList::iterator
6824         as arg.
6825         (setLayout): make it return ParagraphList::iterator
6826         (redoParagraphs): ditto
6827         (setCounter): ditto
6828         (checkParagraph): ditto
6829
6830         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6831
6832         * text2.C: adjust several funcs.
6833         (realizeFont): take a ParagraphList::iterator as arg.
6834         (getLayoutFont): ditto
6835         (getLabelFont): ditto
6836         (setCharFont): ditto
6837
6838         * text.C: adjust several funcs.
6839
6840 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6841
6842         * text.C (selectNextWordToSpellcheck): don't accidentally
6843         skip insets
6844
6845 2003-04-10  John Levon  <levon@movementarian.org>
6846
6847         * ToolbarBackend.C (getIcon): special handling for
6848         LFUN_MATH_DELIM
6849
6850 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6851
6852         * text2.C (cursorRight): a getChar assert fixed
6853
6854 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6855
6856         * text2.C (getFont): change to take a ParagraphList::iterator
6857         instead of Paragraph*
6858         Adjust several functions.
6859
6860         * text.C (transformChar): change to take a ParagraphList::iterator
6861         instead of Paragraph*
6862         (singleWidth): ditto
6863         Adjust several functions.
6864
6865         * rowpainter.C: adjust several functions
6866         * rowpainter.h:store a ParagraphList::iterator and not a
6867         Paragraph&.
6868
6869
6870 2003-04-09  John Levon  <levon@movementarian.org>
6871
6872         * lyxfunc.C:
6873         * lfuns.h:
6874         * LyXAction.h:
6875         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6876         and the "help" bits as well
6877
6878 2003-04-09  John Levon  <levon@movementarian.org>
6879
6880         * ToolbarBackend.h:
6881         * ToolbarBackend.C: allow multiple toolbars
6882
6883 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6884
6885         * undo_funcs.C (setCursorParUndo): adjust
6886
6887         * text_funcs.C (transposeChars): adjust
6888
6889         * text3.C (gotoNextInset): adjust
6890         (dispatch): adjust
6891
6892         * text2.C (setLayout): adjust
6893         (changeDepth): adjust
6894         (setFont): adjust
6895         (redoParagraphs): adjust
6896         (selectionAsString): adjust
6897         (setParagraph): adjust
6898         (insertInset): adjust
6899         (cutSelection): adjust
6900         (copySelection): adjust
6901         (pasteSelection): adjust
6902         (insertStringAsLines): adjust
6903         (updateInset): adjust
6904         (setCursor): change to take a ParagraphList::iterator parameter
6905         (setCursorIntern): change to take a ParagraphList::iterator parameter
6906         (setCurrentFont): adjust
6907         (cursorLeft): adjust
6908         (cursorRight): adjust
6909         (deleteEmptyParagraphMechanism): adjust
6910
6911         * text.C (breakParagraph): adjust
6912         (insertChar): adjust
6913         (acceptChange): adjust
6914         (rejectChange): adjust
6915         (selectNextWordToSpellcheck): adjust
6916         (changeCase): adjust
6917         (Delete): adjust
6918         (backspace): adjust
6919
6920         * lyxfind.C (SearchForward): adjust
6921         (SearchBackward): adjust
6922         (nextChange): adjust
6923
6924         * lyxcursor.C (par): adjust
6925
6926         * lyxcursor.h: store a ParagraphList::iterator instead of a
6927         Paragraph*
6928
6929         * lyx_cb.C (getPossibleLabel): adjust
6930
6931         * bufferview_funcs.C (toggleAndShow): adjust
6932
6933         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6934         (dispatch): adjust
6935
6936         * BufferView.C (removeAutoInsets): adjust
6937         (lockedInsetStoreUndo): adjust
6938
6939 2003-04-09  John Levon  <levon@movementarian.org>
6940
6941         * ToolbarBackend.C: try icon without argument
6942         if with argument fails
6943
6944 2003-04-08  John Levon  <levon@movementarian.org>
6945
6946         * ToolbarBackend.h:
6947         * ToolbarBackend.C: add getIcon(), handle tooltip,
6948         and change from "Icon" to "Item".
6949
6950 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6951
6952         * BufferView.C (lockInset): another bad getchar crunched
6953
6954 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6955
6956         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6957         again)
6958
6959 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6960
6961         * lyxfind.C (searchForward, searchBackwards): bug 782
6962
6963 2003-04-07  John Levon  <levon@movementarian.org>
6964
6965         * paragraph.C: remove dead comment
6966
6967         * text.C: remove troublesome depth-fiddling code
6968         in leftMargin() and rightMargin() (bug 1017)
6969
6970         * text.C: fix breaking of rows in nested lists
6971         (bug 1004)
6972
6973         * text2.C (updateCounters): fix up depth values
6974         (bug 1013)
6975
6976 2003-04-07  John Levon  <levon@movementarian.org>
6977
6978         * BufferView_pimpl.C: clear message when doc finishes resizing,
6979         and after a mouse event
6980
6981         * lyxfunc.C: clear message after exiting inset
6982
6983 2003-04-07  John Levon  <levon@movementarian.org>
6984
6985         * bufferview_funcs.C: show math status not outside
6986         status in the statusbar
6987
6988 2003-04-07  John Levon  <levon@movementarian.org>
6989
6990         * lyxfunc.C: note status changed after a depth change
6991
6992 2003-04-04  Angus Leeming  <leeming@lyx.org>
6993
6994         * LaTeX.h: move AuxInfo operator==, != out of line.
6995         Remove LaTeX virtual destructor; nothing derives from it.
6996         Move operator()() out of public area and rename it startscript().
6997         Change protected for private.
6998
6999 2003-04-04  Angus Leeming  <leeming@lyx.org>
7000
7001         * lyxfunc.C:
7002         * text2.C: remove unneeded #includes.
7003
7004 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7005
7006         * text2.C (dEPM): fix the heigth of the next row
7007
7008 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7009
7010         * text.C: squashed an invalid getChar requester + some ws changes
7011
7012 2003-04-03  John Levon  <levon@movementarian.org>
7013
7014         * bufferview_funcs.h:
7015         * bufferview_funcs.C:
7016         * lyxfunc.C:
7017         * lyxtext.h:
7018         * text2.C: make getStatus work for the env depth lfuns
7019
7020 2003-04-03  John Levon  <levon@movementarian.org>
7021
7022         * bufferview_funcs.h:
7023         * bufferview_funcs.C:
7024         * lyxfunc.C:
7025         * lyxtext.h:
7026         * text2.C: parlistize decDepth(), by merging it with incDepth()
7027
7028 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7029
7030         * lyxrow.h: store a ParagraphList::iterator instead of a
7031         Paragraph* and adjust other class functions to suit.
7032
7033         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7034         above.
7035
7036 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7037
7038         * text2.C (setCursor): do not anchor to cursor row for the time being
7039
7040 2003-04-02  John Levon  <levon@movementarian.org>
7041
7042         * LyXAction.C:
7043         * lfuns.h:
7044         * lyx_main.C:
7045         * lyxtext.h:
7046         * text.C:
7047         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7048
7049 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * paragraph.h: make ParagraphList and ParagraphList::iterator
7052         friends of Paragraph.
7053
7054         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7055
7056         * ParagraphList.C: Use the private next_ and previous_ from
7057         Paragraph.
7058
7059 2003-04-01  John Levon  <levon@movementarian.org>
7060
7061         * ToolbarBackend.h:
7062         * ToolbarBackend.C:
7063         * Makefile.am: rename, remove defaults gunk
7064
7065         * MenuBackend.h:
7066         * MenuBackend.C: remove defaults gunk
7067
7068         * Languages.h:
7069         * Languages.C: remove defaults gunk
7070
7071         * lyx_main.h:
7072         * lyx_main.C: error out if files couldn't be found.
7073
7074 2003-04-02  John Levon  <levon@movementarian.org>
7075
7076         * text2.C: make incDepth() use parlist
7077
7078 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * undo_funcs.C (firstUndoParagraph): adjust
7081
7082         * text3.C (gotoInset): adjust
7083         (dispatch): adjust, and rewrite loop.
7084
7085         * text2.C (init): adjust, and rewrite loop.
7086         (redoParagraphs): adjust
7087         (updateInset): adjust, and rewrite loop.
7088         (deleteEmptyParagraphMechanism): adjust
7089
7090         * tabular.C (LyXTabular): adjust
7091         (SetMultiColumn): adjust
7092         (TeXRow): adjust
7093
7094         * lyxtext.[Ch] (ownerParagraph): delete function
7095         (ownerParagraphs): new function returns a ParagraphList.
7096
7097         * BufferView.C (removeAutoInsets): adjust
7098         (insertErrors): adjust
7099         (setCursorFromRow): adjust
7100
7101 2003-04-01  Angus Leeming  <leeming@lyx.org>
7102
7103         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7104         in the frontends.
7105
7106 2003-04-02  John Levon  <levon@movementarian.org>
7107
7108         * lyxtext.h:
7109         * text.C:
7110         * Makefile.am:
7111         * text_funcs.h:
7112         * text_funcs.C: make transposeChars a free function
7113
7114         * lyxrow_funcs.C: remove wrong comment
7115
7116 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * lyxtext.h: adjust
7119         * rowpainter.C: adjust
7120         * text.C: adjust
7121         * text2.C: adjust
7122         * text3.C: adjust
7123
7124         * lyxrow_funcs. [Ch]: new files
7125
7126         * lyxrow.[Ch]: remove next and previous pointers
7127         (next,previous): remove accessor functions
7128         (isParEnd): move to lyxrow_funcs
7129         (lastPos): move to lyxrow_funcs
7130         (nextRowIsAllInset): move to lyxrow_funcs
7131         (lastPrintablePos): move to lyxrow_funcs
7132         (numberOfSeparators): move to lyxrow_funcs
7133         (numberOfHfills): move to lyxrow_funcs
7134         (numberOfLabelHfills): move to lyxrow_funcs
7135         (hfillExpansion): move to lyxrow_funcs
7136
7137         * lyxfunc.C: adjust
7138
7139         * bufferview_funcs.C (toggleAndShow): adjust
7140
7141         * RowList.h: Remove class RowList from file leave just a
7142         std::list<Row>.
7143
7144         * RowList.C: delete file
7145
7146         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7147         and lyxrow_funcs.h
7148
7149 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * text3.C (cursorPrevious): adjust
7152         (cursorNext): adjust
7153         (dispatch): adjust
7154
7155         * text2.C (redoHeightOfParagraph): adjust
7156         (redoDrawingOfParagraph): adjust
7157         (setCursor): adjust
7158
7159         * text.C (breakParagraph): adjust
7160         (insertChar): adjust
7161         (backspace): adjust
7162
7163         * rowpainter.C (RowPainter): adjust
7164         (leftMargin): simplify and adjust
7165         (most rowpainter functions): adjust.
7166
7167         * rowpainter.h: store the row as RowList::iterator not as Row*
7168
7169         * lyxcursor.C (row): taka RowList::iterator as arg
7170         (irow): ditto
7171
7172         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7173         of Row*.
7174
7175 2003-04-01  Angus Leeming  <leeming@lyx.org>
7176
7177         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7178         stuff like bool Bool.
7179
7180 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7181
7182         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7183         rewrite a loop
7184
7185 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7188         RowList::iterator.
7189
7190         * lyxtext.h (rows): drop one version and leve a const variant that
7191         returns a RowList::iterator.
7192
7193 2003-03-31  Angus Leeming  <leeming@lyx.org>
7194
7195         * text.C (fill): ensure that the signature is the same as that in the
7196         header file.
7197
7198 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * text2.C (redoParagraphs): adjust
7201         (updateCounters): adjust
7202         (checkParagraph): adjust
7203         (getColumnNearX): adjust and reformat a bit.
7204
7205         * text.C (top_y): adjust
7206         (workWidth): adjust
7207         (leftMargin): adjust
7208         (prepareToPrint): adjust
7209         (getRow): adjust
7210         (getRowNearY): adjust
7211
7212         * lyxtext.h: make rowlist_ mutable.
7213
7214         * RowList.h: add const_iterator
7215         * RowList.C: adjust for RowList::const_iterator.
7216
7217         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7218         adjust.
7219
7220 2003-03-31  John Levon  <levon@movementarian.org>
7221
7222         * lyxrc.h:
7223         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7224
7225         * lyx_main.C: set default fonts from using lyx_gui funcs
7226
7227         * exporter.C: pdf_mode moved from lyxrc
7228
7229         * lyx_cb.C:
7230         * lyxfunc.C: changes from above
7231
7232 2003-03-31  John Levon  <levon@movementarian.org>
7233
7234         * lyx_main.C: fix to the last fix
7235
7236 2003-03-31  John Levon  <levon@movementarian.org>
7237
7238         * bufferlist.C: "Load original" -> "Load Original"
7239
7240         * converter.C:
7241         * exporter.C:
7242         * importer.C:
7243         * lyx_main.C:
7244         * format.C: more Alert cleanups
7245
7246 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * text2.C (removeParagraph): make it take a RowList::iterator as
7249         arg, adjust.
7250         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7251         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7252
7253         * text.C (anchor_row): make it take a RowList::iterator as arg,
7254         adjust.
7255         (computeBidiTables): make it take a const reference to Row instead
7256         of Row pointer, adjust.
7257         (leftMargin): make it take a RowList::iterator as arg, adjust.
7258         (rowBreakPoint): adjust
7259         (breakAgainOneRow): make it take a RowList::iterator as arg,
7260         adjust.
7261         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7262
7263         * bufferview_funcs.C (toggleAndShow): adjust
7264
7265 2003-03-30  John Levon  <levon@movementarian.org>
7266
7267         * Makefile.am:
7268         * BoostFormat.h:
7269         * boost-inst.C: moved to support
7270
7271         * several files: changes as a result
7272
7273 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * text2.C (LyXText): adjust.
7276         (init): adjust
7277         (removeRow): make it take a RowList::iterator as arg, adjust.
7278         (fullRebreak): adjust
7279         (deleteEmptyParagraphMechanism): adjust
7280         (clearPaint): adjust
7281         (postPaint): adjust
7282
7283         * text.C (top_y): adjust
7284         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7285         (breakAgain): make it take a RowList::iterator as arg, adjust.
7286         (breakParagraph): adjust
7287         (insertChar): adjust
7288         (backspace): adjust
7289
7290         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7291         need_break_row, and refresh_row.
7292
7293         * text3.C (dispatch): adjust
7294
7295         * text2.C (checkParagraph): adjust
7296         (setCursor): adjust
7297         (setCursorFromCoordinates): adjust
7298
7299         * text.C (top_y): adjust
7300         (workWidth): adjust
7301         (getRow): make it return a RowList::iterator, adjust
7302         (getRowNearY): make it return a RowList::iterator, adjust
7303
7304         * text2.C (init): adjust
7305         (insertRow): remove function
7306         (insertParagraph): adjust
7307         (redoParagraphs): adjust
7308         (fullRebreak): adjust
7309         (updateCounters): adjust
7310
7311         * text.C (top_y): rewrite to use RowList iterators.
7312         (top_y): adjust
7313         (setHeightOfRow): rewrite to sue RowList iterators.
7314         (appendParagraph): adjust
7315         (breakAgain): adjust
7316         (breakAgainOneRow): adjust
7317         (breakParagraph): adjust
7318         (getRow): adjust
7319         (getRowNearY): adjust, and remove commented code.
7320
7321         * lyxtext.h (firstRow): delete function
7322         (lastRow): delete function
7323         (rows): new function (const and non-const versions.)
7324         (insertRow): delete function
7325
7326         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7327
7328 2003-03-29  John Levon  <levon@movementarian.org>
7329
7330         * BufferView_pimpl.C: always update scrollbar top
7331         because pasting text when we're anchored could mean we
7332         miss an update altogether
7333
7334 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * text2.C (init): use rowlist_.end() and not 0.
7337         (insertRow): change to take a RowList::iterator as arg, adjust
7338         for this.
7339         (insertParagraph): change to take a RowList::iterator as arg,
7340         adjust for this.
7341         (redoParagraphs): remove some debug msgs.
7342
7343         * text.C (appendParagraph): change to take a RowList::iterator
7344         arg, adjust for this.
7345         (breakAgain): add an assert
7346         (breakAgainOneRow): ditto
7347
7348 2003-03-29  John Levon  <levon@movementarian.org>
7349
7350         * text2.C: do not clear selection after inc/decDepth
7351         (bug 550)
7352
7353 2003-03-29  John Levon  <levon@movementarian.org>
7354
7355         * BufferView.C:
7356         * buffer.C: fix broken strerrors according to Lars
7357
7358 2003-03-29  John Levon  <levon@movementarian.org>
7359
7360         * converters.C: more Alert cleanups
7361
7362 2003-03-29  John Levon  <levon@movementarian.org>
7363
7364         * bufferview_funcs.C: remove pointless Alert
7365
7366         * buffer.C: fix confusing error message when
7367         a template is chmoded 000
7368
7369 2003-03-29  John Levon  <levon@movementarian.org>
7370
7371         * BufferView.C:
7372         * BufferView.h:
7373         * BufferView_pimpl.C: Alert fixes
7374
7375         * Makefile.am:
7376         * tabular.C:
7377         * tabular-old.C: remove unused table compat reading
7378
7379 2003-03-29  John Levon  <levon@movementarian.org>
7380
7381         * BufferView.C:
7382         * buffer.C:
7383         * lyx_cb.h:
7384         * lyx_cb.C: more Alert cleanups
7385
7386         * lyxfunc.C: don't allow chktex if not latex document
7387
7388 2003-03-29  John Levon  <levon@movementarian.org>
7389
7390         * lyx_cb.C:
7391         * BufferView.C:
7392         * buffer.C: warnings pushed down from support/,
7393         kill err_alert
7394
7395 2003-03-29  John Levon  <levon@movementarian.org>
7396
7397         * lyxfunc.C: safety check for C-r (revert)
7398
7399 2003-03-29  John Levon  <levon@movementarian.org>
7400
7401         * bufferlist.h:
7402         * bufferlist.C: several UI fixes using Alert::prompt.
7403         Fix the pointless looping quit code. Fix stupid revert
7404         behaviour (bug 938)
7405
7406         * lyxvc.h:
7407         * lyxvc.C:
7408         * lyx_cb.C: use Alert::prompt
7409
7410         * lyx_main.C: remove a silly question
7411
7412         * lyxfunc.C: remove a couple of silly questions,
7413         use Alert::prompt
7414
7415 2003-03-28  John Levon  <levon@movementarian.org>
7416
7417         * text2.C: fix bug 974 (End on empty par)
7418
7419 2003-03-28  John Levon  <levon@movementarian.org>
7420
7421         * BufferView_pimpl.C:
7422         * LyXAction.C:
7423         * lfuns.h: remove do-nothing math greek lfuns
7424
7425 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7426
7427         * lyxgluelength.h (isValidGlueLength): add default arg on
7428         parameter 2. Remove default arg from friend in class.
7429
7430         * lyxlength.h (isValidLength): add default arg on parameter 2.
7431         Remove default arg from friend in class.
7432
7433         * text2.C (LyXText): adjust, initialize refresh_row.
7434         (init): adjust
7435         (removeRow): adjust
7436         (insertRow): adjust
7437         (insertParagraph): adjst
7438         (redoParagraphs): adjust
7439         (fullRebreak): adjust
7440         (updateCounters): adjust
7441         (deleteEmptyParagraphMechanism): first attempt at fixing a
7442         crashing bug.
7443
7444         * text.C (top_y): adjust
7445         (setHeightOfRow): adjust
7446         (getRow): adjust
7447         (getRowNearY): adjust
7448
7449         * lyxtext.h: include RowList.h
7450         (~LyXText): not needed anymore, deleted.
7451         (firstRow): modify for RowList
7452         (lastRow): new function
7453         Delete firstrow and lastrow class variables, add a Rowlist
7454         rowlist_ class variable.
7455
7456         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7457         paragraph is empty.
7458
7459         * RowList.C (insert): fix case where it == begin().
7460
7461 2003-03-26  Angus Leeming  <leeming@lyx.org>
7462
7463         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7464         the thesaurus dialog.
7465
7466 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7467
7468         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7469
7470         * RowList.[Ch]: new files
7471
7472         * ParagraphList.C (erase): handle the case where it == begin
7473         correctly.
7474
7475 2003-03-25  John Levon  <levon@movementarian.org>
7476
7477         * Makefile.am:
7478         * aspell_local.h:
7479         * aspell.C: add new aspell support
7480
7481         * lyxrc.h:
7482         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7483         have it accessible.
7484
7485 2003-03-25  Angus Leeming  <leeming@lyx.org>
7486
7487         * lfuns.h:
7488         * LyXAction.C (init): new LFUN_INSET_INSERT.
7489
7490         * BufferView_pimpl.C (dispatch): split out part of the
7491         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7492
7493         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7494         LFUN_INSET_APPLY.
7495
7496 2003-03-25  Angus Leeming  <leeming@lyx.org>
7497
7498         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7499
7500 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7501
7502         * text2.C:
7503         * text3.C: remove useless row->height(0)
7504
7505 2003-03-25  John Levon  <levon@movementarian.org>
7506
7507         * lyxtext.h:
7508         * text2.C:
7509         * text3.C: rename the refreshing stuff to better names
7510
7511 2003-03-24  John Levon  <levon@movementarian.org>
7512
7513         * BufferView_pimpl.h:
7514         * BufferView_pimpl.C: update layout choice on a mouse
7515         press/release
7516
7517 2003-03-23  John Levon  <levon@movementarian.org>
7518
7519         * Makefile.am: fix commandtags.h reference
7520
7521 2003-03-22  John Levon  <levon@movementarian.org>
7522
7523         * BufferView_pimpl.C:
7524         * lyxtext.h:
7525         * rowpainter.C:
7526         * rowpainter.h:
7527         * text.C:
7528         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7529
7530 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7531
7532         * lyxtext.h:
7533         * text.C: take the rtl methods out of line
7534
7535 2003-03-21 André Pönitz <poenitz@gmx.net>
7536
7537         * metricsinfo.[Ch]: new files containing structures to be passed around
7538         during the two-phase-drawing...
7539
7540 2003-03-21 André Pönitz <poenitz@gmx.net>
7541
7542         * lyxtextclass.C: read 'environment' tag.
7543
7544 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7545
7546         * text2.C (removeRow): fix bug 964
7547
7548 2003-03-20  John Levon  <levon@movementarian.org>
7549
7550         * rowpainter.C:
7551         * text.C:
7552         * text2.C: paint cleanups. Inset::update() dropped font
7553         parameter
7554
7555 2003-03-19  John Levon  <levon@movementarian.org>
7556
7557         * lyxfunc.C: only fitcursor/markDirty if available()
7558
7559 2003-03-19  John Levon  <levon@movementarian.org>
7560
7561         * commandtags.h: rename to ...
7562
7563         * lfuns.h: ... this, and renumber / cleanup
7564
7565 2003-03-19  John Levon  <levon@movementarian.org>
7566
7567         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7568         fit the cursor after an lfun
7569
7570         * BufferView.h:
7571         * BufferView.C:
7572         * BufferView_pimpl.h:
7573         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7574
7575         * LyXAction.C: layout-character should have ReadOnly
7576
7577         * ParagraphParameters.C:
7578         * buffer.C:
7579         * bufferview_funcs.C:
7580         * lyx_cb.C:
7581         * lyxfind.C:
7582         * lyxtext.h:
7583         * text.C:
7584         * text2.C:
7585         * text3.C:
7586         * undo_funcs.C: changes from above
7587
7588 2003-03-18  John Levon  <levon@movementarian.org>
7589
7590         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7591         remove it from update()
7592
7593         * lyxfunc.C: update layout choice after an lfun
7594
7595         * text3.C: remove extra updateLayoutChoice()s
7596
7597 2003-03-18  John Levon  <levon@movementarian.org>
7598
7599         * text.C: top_y change means full repaint, fix
7600         a drawing bug with cursor movement
7601
7602 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7603
7604         * lyxtext.h:
7605         * text.C:
7606         * text2.C: anchor row on setCursor
7607
7608 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7609
7610         * lyxtext.h: remove almost all mutable keywords
7611         * text.C:
7612         * text2.C:
7613         * text3.C: remove const keywords accordingly
7614
7615 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7618         anon namespace
7619         (TeXEnvironment): ditto
7620         (TeXOnePar): ditto
7621
7622 2003-03-17  John Levon  <levon@movementarian.org>
7623
7624         * text.C (rowBreakPoint): remove attempt to fix displayed
7625         math insets inside a manual label
7626
7627 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7628
7629         * lyxtext.h: remove BufferView* as first arg from almost all class
7630         functions.
7631         * other files: adjust.
7632
7633 2003-03-17  John Levon  <levon@movementarian.org>
7634
7635         * lyxtext.h:
7636         * undo_funcs.C:
7637         * text2.C: more paint cleanups
7638
7639         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7640
7641         * rowpainter.h:
7642         * rowpainter.C: remove "smart" background painting code
7643
7644 2003-03-16  John Levon  <levon@movementarian.org>
7645
7646         * lyxtext.h:
7647         * text.C:
7648         * text2.C:
7649         * text3.C: add helper functions for setting refresh_row/y
7650
7651 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7652
7653         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7654         newline inset which *can* get inserted in the pass_thru layouts.
7655         This is primarily for literate documents.
7656
7657 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7658
7659         * buffer.C: increment LYX_FORMAT to 223
7660
7661 2003-03-14 André Pönitz <poenitz@gmx.net>
7662
7663         * textclass.h: prepare for environment handling, ws changes
7664         * lyxlayout.C: read latexheader and latexfooter tags
7665
7666 2003-03-14  John Levon  <levon@movementarian.org>
7667
7668         * text2.C: rewrite ::status() a bit
7669
7670 2003-03-13  John Levon  <levon@movementarian.org>
7671
7672         * lyxtext.h: add some docs
7673
7674 2003-03-13  John Levon  <levon@movementarian.org>
7675
7676         * lyxtext.h:
7677         * text.C:
7678         * text2.C:
7679         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7680
7681 2003-03-13  John Levon  <levon@movementarian.org>
7682
7683         * text3.C: fix appendix redrawing
7684
7685 2003-03-13  John Levon  <levon@movementarian.org>
7686
7687         * text.C (setHeightOfRow):
7688         * rowpainter.h:
7689         * rowpainter.C: make appendix mark have the text
7690           "Appendix" so the user knows what it is
7691
7692         * LColor.h:
7693         * LColor.C: s/appendixline/appendix/ from above
7694
7695 2003-03-13  John Levon  <levon@movementarian.org>
7696
7697         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7698
7699         * text.C: fix a getChar(pos) bug properly
7700
7701 2003-03-13  Angus Leeming  <leeming@lyx.org>
7702
7703         * commandtags.h:
7704         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7705         Probably only temporary. Let's see how things pan out.
7706
7707         * BufferView.C (unlockInset):
7708         * BufferView_pimpl.C (fitCursor):
7709         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7710
7711         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7712         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7713
7714         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7715         new functions that convert ParagraphParameters to and from a string.
7716
7717         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7718         BufferView::Pimpl's dispatch.
7719         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7720
7721 2003-03-13 André Pönitz <poenitz@gmx.net>
7722
7723         * lyxfunc.C:
7724         * text3.C:
7725         * factory.C: make it aware of InsetEnv
7726
7727 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7728
7729         * text2.C (setCursor): never ask for one past last
7730         (setCursor): add some debugging messages.
7731
7732         * text.C (singleWidth): never ask for one past last
7733         (singleWidth): ditto
7734         (leftMargin): ditto
7735         (rightMargin): ditto
7736         (rowBreakPoint): ditto
7737         (setHeightOfRow): ditto
7738         (prepareToPrint): ditto
7739
7740         * rowpainter.C (paintBackground): never ask for one past last
7741         (paintText): never ask for one past last
7742
7743         * paragraph_pimpl.C (getChar): make the assert stricter, never
7744         allow the one past last pos to be taken
7745
7746         * paragraph.C (getChar): ws changes only
7747
7748         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7749         (numberOfSeparators): ditto
7750         (numberOfHfills): ditto
7751
7752 2003-03-12  John Levon  <levon@movementarian.org>
7753
7754         * author.h:
7755         * author.C:
7756         * bufferparams.h:
7757         * bufferparams.C:
7758         * paragraph_funcs.C: fix per-buffer authorlists
7759
7760 2003-03-12  John Levon  <levon@movementarian.org>
7761
7762         * text.C: fix newline in right address
7763
7764 2003-03-12  Angus Leeming  <leeming@lyx.org>
7765
7766         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7767         duplicate those in LyXFunc::dispatch.
7768
7769         * commandtags.h:
7770         * LyXAction.C:
7771         * ToolbarDefaults.C:
7772         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7773         Add LFUN_FONTFREE_UPDATE.
7774
7775         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7776         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7777
7778         * bufferview_func.[Ch]: several new functions to facilliate
7779         transfer of data to and from the character dialog.
7780
7781 2003-03-12  John Levon  <levon@movementarian.org>
7782
7783         * buffer.C:
7784         * paragraph.h:
7785         * paragraph.C:
7786         * paragraph_funcs.C:
7787         * paragraph_pimpl.C:
7788         * sgml.C:
7789         * tabular.C:
7790         * text.C:
7791         * text3.C: remove META_NEWLINE in favour of an inset
7792
7793         * rowpainter.h:
7794         * rowpainter.C: remove paintNewline (done by inset)
7795
7796 2003-03-12  John Levon  <levon@movementarian.org>
7797
7798         * paragraph_pimpl.C: complain about bad getChar()s
7799         for a while at least
7800
7801 2003-03-12  John Levon  <levon@movementarian.org>
7802
7803         * buffer.h:
7804         * buffer.C: move paragraph read into a separate function,
7805         a little renaming to reflect that.
7806
7807         * bufferparams.h:
7808         * bufferparams.C: remove the author_ids map, not necessary now
7809
7810         * factory.h:
7811         * factory.C: moved Buffer::readInset to here
7812
7813         * paragraph_funcs.h:
7814         * paragraph_funcs.C: readParagraph free function moved from
7815         buffer.C
7816
7817         * tabular.C: name change
7818
7819 2003-03-12  John Levon  <levon@movementarian.org>
7820
7821         * buffer.C:
7822         * ParagraphParameters.C: move par params input to
7823         a read() method
7824
7825         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7826         behave like a normal read from the stream wrt reading
7827         a line vs. a \\token
7828
7829 2003-03-12  John Levon  <levon@movementarian.org>
7830
7831         * paragraph.C:
7832         * ParagraphParameters.h:
7833         * ParagraphParameters.C: move output code to a
7834         ::write() method
7835
7836 2003-03-12  John Levon  <levon@movementarian.org>
7837
7838         * BufferView.C (insertLyXFile):
7839         * buffer.h:
7840         * buffer.C:
7841         * tabular.C: use a parlist iterator for creating the
7842           document.
7843
7844 2003-03-12  John Levon  <levon@movementarian.org>
7845
7846         * buffer.C: make current_change static local not
7847           static file-scope
7848
7849 2003-03-12  John Levon  <levon@movementarian.org>
7850
7851         * buffer.C: fix insertStringAsLines for change tracking
7852
7853 2003-03-12  John Levon  <levon@movementarian.org>
7854
7855         * BufferView.C:
7856         * tabular.C:
7857         * buffer.h:
7858         * buffer.C:
7859         * bufferparams.h:
7860         * bufferparams.C: move author list into params. Rename some
7861           functions. Move the header reading into a separate token
7862           loop. Move the header token reading into BufferParams.
7863
7864 2003-03-12  John Levon  <levon@movementarian.org>
7865
7866         * changes.C: put debug inside lyxerr.debugging() checks
7867
7868 2003-03-11 André Pönitz <poenitz@gmx.net>
7869
7870         * factory.C: make it aware of InsetHFill
7871
7872 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7873
7874         * buffer.C (latexParagraphs): move function from here...
7875         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7876         args.
7877
7878 2003-03-10  Angus Leeming  <leeming@lyx.org>
7879
7880         * LyXAction.C (init): fix bug in poplating array with multiple entries
7881         with the same LFUN (spotted by JMarc).
7882
7883 2003-03-10  John Levon  <levon@movementarian.org>
7884
7885         * text.C:
7886         * text2.C: move getColumnNearX() near its
7887         only call site
7888
7889 2003-03-10  John Levon  <levon@movementarian.org>
7890
7891         * text.C: fix break before a minipage
7892
7893 2003-03-10  John Levon  <levon@movementarian.org>
7894
7895         * text.C: fix the last commit
7896
7897 2003-03-09  John Levon  <levon@movementarian.org>
7898
7899         * lyxtext.h:
7900         * text.C:
7901         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7902         bug 365 (don't break before insets unless needed). Don't
7903         return a value > last under any circumstances.
7904
7905 2003-03-09  Angus Leeming  <leeming@lyx.org>
7906
7907         * BufferView_pimpl.C (trackChanges, dispatch): call
7908         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7909
7910 2003-03-09  Angus Leeming  <leeming@lyx.org>
7911
7912         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7913         than Dialogs::showAboutlyx().
7914
7915 2003-03-09  Angus Leeming  <leeming@lyx.org>
7916
7917         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7918         than Dialogs::showTabularCreate().
7919
7920 2003-03-09  John Levon  <levon@movementarian.org>
7921
7922         * lyxtext.h:
7923         * text.C:
7924         * text2.C: 3rd arg to nextBreakPoint was always the same.
7925           Use references.
7926
7927 2003-03-08  John Levon  <levon@movementarian.org>
7928
7929         * lyxrow.C:
7930         * paragraph.C:
7931         * paragraph.h:
7932         * rowpainter.C:
7933         * text.C:
7934         * text2.C: Remove the "main" bit from the "main body"
7935           notion.
7936
7937 2003-03-08  John Levon  <levon@movementarian.org>
7938
7939         * text.C (leftMargin): The left margin of an empty
7940         manual label paragraph should not include the label width
7941         string length.
7942
7943         * text.C (prepareToPrint): don't attempt to measure hfills
7944         for empty manual label paragraphs - the answer should be 0
7945
7946 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * CutAndPaste.C: remove commented code and reindent.
7949
7950 2003-03-08  John Levon  <levon@movementarian.org>
7951
7952         * lyxfunc.h:
7953         * lyxfunc.C: move reloadBuffer()
7954
7955         * BufferView.h:
7956         * BufferView.C: to here
7957
7958         * lyxvc.C: add comment
7959
7960         * vc-backend.h:
7961         * vc-backend.C: call bv->reload() to avoid
7962           getStatus() check on MENURELOAD
7963
7964 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7965
7966         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7967         to an old format .dep file.
7968
7969 2003-03-07  Angus Leeming  <leeming@lyx.org>
7970
7971         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7972         when the LFUN_MOUSE_RELEASE should have been handled by
7973         inset->localDispatch.
7974
7975 2003-03-07  Angus Leeming  <leeming@lyx.org>
7976
7977         * BufferView_pimpl.C (dispatch):
7978         * LyXAction.C (init):
7979         * ToolbarDefaults.C (init):
7980         * commandtags.h:
7981         * lyxfunc.C (getStatus):
7982         remove LFUN_INSET_GRAPHICS.
7983
7984         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7985
7986 2003-03-07  Angus Leeming  <leeming@lyx.org>
7987
7988         * commandtags.h:
7989         * LyXAction.C (init):
7990         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7991
7992         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7993
7994         * commandtags.h:
7995         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7996
7997         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7998         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7999
8000 2003-03-07  Angus Leeming  <leeming@lyx.org>
8001
8002         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8003         remove "ert".
8004
8005 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * ParagraphList.C (front): new function
8008         (back): implement
8009
8010 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8011
8012         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8013         and top_row_offset_. removed var first_y.
8014         * text.C (top_y):
8015         * text2.C (LyXText, removeRow):
8016         * text3.C:
8017         * BufferView_pimpl.C:
8018         use these methods instead of using first_y
8019
8020 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * text2.C (pasteSelection): adjust for checkPastePossible
8023
8024         * CutAndPaste.C: remove Paragraph * buf and replace with
8025         ParagraphList paragraphs.
8026         (DeleteBuffer): delete
8027         (cutSelection): change the tc type to textclass_type
8028         (copySelection): change the tc type to textclass_type
8029         (copySelection): adjust for ParagraphList
8030         (pasteSelection): change the tc type to textclass_type
8031         (pasteSelection): adjust for Paragraphlist
8032         (nrOfParagraphs): simplify for ParagraphList
8033         (checkPastePossible): simplify for ParagraphList
8034         (checkPastePossible): remove unused arg
8035
8036         * ParagraphList.C (insert): handle the case where there are no
8037         paragraphs yet.
8038
8039         * CutAndPaste.h: make CutAndPaste a namespace.
8040
8041         * text3.C (dispatch): adjust
8042
8043         * text.C (breakParagraph): add a ParagraphList as arg
8044
8045         * paragraph_funcs.C (breakParagraph): change to take a
8046         BufferParams and a ParagraphList as args.
8047         (breakParagraphConservative): ditto
8048         (mergeParagraph): ditto
8049         (TeXDeeper): add a ParagraphList arg
8050         (TeXEnvironment): ditto
8051         (TeXOnePar): ditto
8052
8053         * buffer.C (readLyXformat2): adjust
8054         (insertStringAsLines): adjust
8055         (latexParagraphs): adjust
8056
8057         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8058         (cutSelection): adjust
8059         (pasteSelection): adjust
8060
8061         * BufferView_pimpl.C (insertInset): adjust
8062
8063 2003-03-05  Angus Leeming  <leeming@lyx.org>
8064
8065         * commandtags.h:
8066         * LyXAction.C (init):
8067         * BufferView_pimpl.C (dispatch):
8068         * lyxfunc.C (getStatus):
8069         remove LFUN_CHILD_INSERT.
8070
8071         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8072
8073 2003-03-05  Angus Leeming  <leeming@lyx.org>
8074
8075         * commandtags.h:
8076         * LyXAction.C (init):
8077         * src/factory.C (createInset):
8078         * lyxfunc.C (getStatus):
8079         * text3.C (dispatch):
8080         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8081
8082         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8083
8084 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8085
8086         * ParagraphList.C (insert): handle insert right before end()
8087         (erase): fix cases where it can be first or last paragraph.
8088
8089 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8092         Paragraph::next and Paragraph::previous
8093         (TeXOnePar): ditto
8094
8095         * text.C (breakParagraph): adjust
8096
8097         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8098         BufferParams& as arg.
8099         (breakParagraph): use ParagraphList::insert
8100         (breakParagraphConservative): take a Buffer* instead of a
8101         BufferParams& as arg.
8102         (breakParagraphConservative): use ParagraphList::insert.
8103
8104         * buffer.C (insertStringAsLines): un-const it
8105         (insertStringAsLines): adjust
8106
8107         * ParagraphList.C (insert): new function
8108
8109         * CutAndPaste.C (pasteSelection): adjust
8110
8111         * text.C (backspace): adjust
8112
8113         * tabular.C (SetMultiColumn): adjust
8114
8115         * CutAndPaste.C (cutSelection): adjust
8116         (pasteSelection): adjust
8117
8118         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8119         Buffer const * as arg
8120
8121         * ParagraphList.C (erase): new function
8122         * paragraph_funcs.C (mergeParagraph): use it
8123         (mergeParagraph): make it take a Buffer* instead of a
8124         BufferParams* as arg
8125
8126         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8127         as arg
8128         (breakParagraphConservative): ditto
8129
8130         * paragraph.h: remove the breakParagraph friend
8131
8132         * paragraph.C (eraseIntern): new function
8133         (setChange): new function
8134
8135         * paragraph_funcs.C (mergeParagraph): make it take a
8136         ParagraphList::iterator instead of a Paragraph *, adjust
8137         accordingly.
8138
8139         * paragraph.h: move an #endif so that the change tracking stuff
8140         also works in the NO_NEXT case.
8141
8142 2003-03-04  Angus Leeming  <leeming@lyx.org>
8143
8144         * commandtags.h:
8145         * LyXAction.C: new LFUN_INSET_MODIFY.
8146
8147         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8148         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8149
8150 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * several files: ws changes only
8153
8154         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8155         (TeXEnvironment): ditto
8156         (TeXDeeper): ditto
8157
8158         * buffer.C (makeLaTeXFile): adjust
8159         (latexParagraphs): make it take ParagraphList::iterator as args
8160
8161 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * buffer.C (latexParagraphs): adjust
8164
8165         * paragraph.C (TeXOnePar): move function...
8166         (optArgInset): move function...
8167         (TeXEnvironment): move function...
8168         * paragraph_pimpl.C (TeXDeeper): move function...
8169         * paragraph_funcs.C: ...here
8170
8171         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8172
8173 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * buffer.C (readInset): remove compability code for old Figure and
8176         InsetInfo insets
8177
8178 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8179
8180         * buffer.C: ws changes
8181         (readInset):
8182
8183         * BufferView_pimpl.C: ditto
8184         * author.C: ditto
8185         * buffer.h: ditto
8186         * bufferlist.h: ditto
8187         * changes.h: ditto
8188         * lyxfunc.C: ditto
8189
8190 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8191
8192         * converter.[Ch]: split into itself +
8193         * graph.[Ch]
8194         * format.[Ch]
8195         * Makefile.am: += graph.[Ch] + format.[Ch]
8196         * MenuBackend.C
8197         * buffer.C
8198         * exporter.C
8199         * importer.C
8200         * lyx_main.C
8201         * lyxfunc.C
8202         * lyxrc.C: added #include "format.h"
8203
8204 2003-02-27  Angus Leeming  <leeming@lyx.org>
8205
8206         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8207           a label.
8208
8209         * factory.C (createInset): add "label" to the factory.
8210
8211         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8212           string and do no more.
8213
8214 2003-02-27  Angus Leeming  <leeming@lyx.org>
8215
8216         * commandtags.h:
8217         * LyXAction.C (init):
8218         * factory.C (createInset):
8219         * BufferView_pimpl.C (dispatch):
8220           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8221
8222         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8223
8224         * lyxfunc.C (dispatch):
8225         * text3.C (dispatch): pass name to params2string.
8226
8227 2003-02-26  Angus Leeming  <leeming@lyx.org>
8228
8229         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8230           blocks together.
8231           Rearrange the ~includes. Strip out the unnecessary ones.
8232
8233         * factory.C (createInset): reformat.
8234           create new insets for the various LFUN_XYZ_APPLY lfuns.
8235
8236 2003-02-26  John Levon  <levon@movementarian.org>
8237
8238         * lyxrow.h:
8239         * lyxrow.C: add isParStart,isParEnd helpers
8240
8241         * paragraph.h: make isInserted/DeletedText take refs
8242
8243         * paragraph_funcs.h:
8244         * paragraph_funcs.C: remove #if 0'd code
8245
8246         * lyxtext.h:
8247         * text3.C:
8248         * text2.C:
8249         * text.C: use lyxrow helpers above.
8250           Move draw and paint routines to RowPainter.
8251           Make several methods use refs not pointers.
8252           Make backgroundColor() const.
8253           Add markChangeInDraw(), isInInset().
8254           Merge changeRegionCase into changeCase.
8255           Make workWidth() shouldn't-happen code into an Assert.
8256
8257         * rowpainter.h:
8258         * rowpainter.C: new class for painting a row.
8259
8260         * vspace.h:
8261         * vspace.C: make inPixels take a ref
8262
8263 2003-02-26  Angus Leeming  <leeming@lyx.org>
8264
8265         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8266         LFUN_REF_APPLY.
8267
8268 2003-02-25  John Levon  <levon@movementarian.org>
8269
8270         * ispell.C: give the forked command a more accurate name
8271
8272 2003-02-22  John Levon  <levon@movementarian.org>
8273
8274         * toc.h:
8275         * toc.C: make TocItem store an id not a Paragraph *
8276           (bug #913)
8277
8278 2003-02-21  Angus Leeming  <leeming@lyx.org>
8279
8280         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8281           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8282           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8283           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8284           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8285           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8286
8287         * BufferView_pimpl.C (dispatch):
8288         * LyXAction.C (init):
8289         * factory.C (createInset):
8290         * lyxfunc.C (getStatus, dispatch):
8291         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8292
8293 2003-02-21  Angus Leeming  <leeming@lyx.org>
8294
8295         * BufferView_pimpl.C (MenuInsertLyXFile):
8296         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8297         * lyxfunc.C (menuNew, open, doImport):
8298           no longer pass a LyXView & to fileDlg.
8299
8300 2003-02-21  Angus Leeming  <leeming@lyx.org>
8301
8302         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8303         * LyXAction.C: change, BIBKEY to BIBITEM.
8304         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8305         Change InsetBibKey to InsetBibitem.
8306         Change BIBKEY_CODE to BIBITEM_CODE.
8307         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8308         * factory.C: replace insetbib.h with insetbibitem.h.
8309         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8310         * paragraph.C: replace insetbib.h with insetbibitem.h.
8311         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8312         Change bibkey() to bibitem().
8313         * text.C: remove insetbib.h.
8314         * text2.C: replace insetbib.h with insetbibitem.h.
8315         change bibkey() to bibitem().
8316         * text3.C: remove insetbib.h.
8317         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8318
8319 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8320
8321         * lyxrc.C (output): enclose user email in quotes (in case there are
8322         several words)
8323
8324 2003-02-18  John Levon  <levon@movementarian.org>
8325
8326         * buffer.h: add std::
8327
8328 2003-02-17  John Levon  <levon@movementarian.org>
8329
8330         * SpellBase.h:
8331         * ispell.h:
8332         * ispell.C:
8333         * pspell.h:
8334         * pspell.C: reworking. Especially in ispell, a large
8335           number of clean ups and bug fixes.
8336
8337         * lyxfunc.C: fix revert to behave sensibly
8338
8339 2003-02-17 André Pönitz <poenitz@gmx.net>
8340
8341         * LyXAction.C:
8342         * commandtags.h: new LFUN_INSERT_BIBKEY
8343
8344         * layout.h:
8345         * lyxlayout.C:
8346         * buffer.C:
8347         * factory.C:
8348         * text.C:
8349         * text2.C:
8350         * text3.C:
8351         * paragraph.[Ch]:
8352         * paragraph_func.C: remove special bibkey handling
8353
8354 2003-02-17  John Levon  <levon@movementarian.org>
8355
8356         * text.C (Delete): fix case where delete at the end of
8357           the very first paragraph would not merge the pars
8358
8359 2003-02-17  John Levon  <levon@movementarian.org>
8360
8361         * lyxrow.C: fix lastPrintablePos()
8362
8363 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8364
8365         * bufferparams.C (writeLaTeX): add a std:here
8366
8367         * buffer.C: and remove a using directive there
8368
8369 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8370
8371         * buffer.C (makeLaTeXFile): move the code that generates the
8372           preamble...
8373
8374         * bufferparams.C (writeLaTeX): ... in this new method
8375
8376         * LaTeXFeatures.C (getEncodingSet): make const
8377           (getLanguages): make const
8378
8379         * MenuBackend.C (binding): returns the binding associated to this
8380           action
8381           (add): sets the status of each item by calling getStatus. Adds
8382           some intelligence.
8383           (read): add support for OptSubMenu
8384           (expand): remove extra separator at the end of expanded menu
8385
8386 2003-02-15  John Levon  <levon@movementarian.org>
8387
8388         * BufferView.C:
8389         * BufferView_pimpl.C:
8390         * bufferlist.h:
8391         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8392           inset code that had no actual effect. Remove unneeded status
8393           code.
8394
8395 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8396
8397         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8398           in preamble
8399
8400 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8401
8402         * text.C (drawLengthMarker): also draw an arrow marker for
8403           symbolic lengths (medskip...)
8404
8405 2003-02-14  John Levon  <levon@movementarian.org>
8406
8407         * tabular.h:
8408         * tabular.C: better method names
8409
8410 2003-02-14  John Levon  <levon@movementarian.org>
8411
8412         * BufferView_pimpl.C:
8413         * bufferlist.C:
8414         * buffer.C:
8415         * converter.C:
8416         * lyx_cb.C:
8417         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8418           it's a more accurate name. Remove some pointless uses.
8419
8420 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8421
8422         * text2.C (LyXText): change order of initilizers to shut off
8423           warnings
8424
8425 2003-02-14  John Levon  <levon@movementarian.org>
8426
8427         * buffer.C: use ParIterator for getParFromID()
8428
8429         * paragraph.h:
8430         * paragraph.C:
8431         * paragraph_pimpl.h:
8432         * paragraph_pimpl.C: remove unused getParFromID()
8433
8434 2003-02-14  John Levon  <levon@movementarian.org>
8435
8436         * buffer.C: remove some very old #if 0'd parse code
8437
8438 2003-02-13  John Levon  <levon@movementarian.org>
8439
8440         * text.h:
8441         * text.C:
8442         * text2.C: move hfillExpansion(), numberOfSeparators(),
8443           rowLast(), rowLastPrintable(), numberofHfills(),
8444           numberOfLabelHfills() ...
8445
8446         * lyxrow.h:
8447         * lyxrow.C: ... to member functions here.
8448
8449         * paragraph.h:
8450         * paragraph.C:
8451         * lyxtext.h:
8452         * text.C: remove LyXText::beginningOfMainBody(), and call
8453           p->beginningOfMainBody() directly. Move the check for
8454           LABEL_MANUAL into the latter.
8455
8456         * text.h:
8457         * text.C:
8458         * text2.C:
8459         * vspace.C:
8460         * BufferView.h:
8461         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8462
8463         * text.h:
8464         * text.C:
8465         * text2.C:
8466         * text3.C:
8467         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8468           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8469
8470 2003-02-13  John Levon  <levon@movementarian.org>
8471
8472         * CutAndPaste.C: remove debug
8473
8474 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8475
8476         * paragraph.C (asString): remove two unused variables
8477
8478         * lyxtextclass.C (readTitleType):
8479           (Read):
8480           (LyXTextClass): handle new members titletype_ and titlename_
8481
8482         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8483
8484 2003-02-09  John Levon  <levon@movementarian.org>
8485
8486         * buffer.h:
8487         * buffer.C: replace hand-coded list with a map for the dep clean
8488
8489 2003-02-08  John Levon  <levon@movementarian.org>
8490
8491         * LaTeX.C: consolidate code into showRunMessage() helper
8492
8493 2003-02-08  John Levon  <levon@movementarian.org>
8494
8495         * lyxfind.C:
8496         * lyxtext.h:
8497         * text2.C:
8498         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8499           and pass the size in explicitly
8500
8501         * BufferView_pimpl.h:
8502         * BufferView_pimpl.C:
8503         * BufferView.h:
8504         * BufferView.C: add getCurrentChange()
8505
8506         * BufferView_pimpl.h:
8507         * BufferView_pimpl.C: handle change lfuns
8508
8509         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8510           for changes. Mark pasted paragraphs as new.
8511
8512         * support/lyxtime.h:
8513         * support/lyxtime.C:
8514         * DepTable.C: abstract time_t as lyx::time_type
8515
8516         * LColor.h:
8517         * LColor.C: add colours for new text, deleted text, changebars
8518
8519         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8520           package use "usenames" option.
8521
8522         * commandtags.h:
8523         * lyxfunc.C:
8524         * LyXAction.C: add change lfuns
8525
8526         * Makefile.am:
8527         * author.h:
8528         * author.C: author handling
8529
8530         * buffer.h:
8531         * buffer.C: add a per-buffer author list, with first entry as
8532           current author. Handle new .lyx tokens for change tracking. Output
8533           author list to .lyx file. Output dvipost stuff to .tex preamble.
8534           Bump lyx format to 222.
8535
8536         * bufferlist.h:
8537         * bufferlist.C: add setCurrentAuthor() to reset current author details
8538           in all buffers.
8539
8540         * bufferparams.h:
8541         * bufferparams.C: add param for tracking
8542
8543         * bufferview_funcs.C: output change info in minibuffer
8544
8545         * Makefile.am:
8546         * changes.h:
8547         * changes.C: add change-tracking structure
8548
8549         * debug.h:
8550         * debug.C: add CHANGES debug flag
8551
8552         * lyxfind.h:
8553         * lyxfind.C: add code for finding the next change piece
8554
8555         * lyxrc.h:
8556         * lyxrc.C: add user_name and user_email
8557
8558         * lyxrow.h:
8559         * lyxrow.C: add a metric for the top of the text line
8560
8561         * lyxtext.h:
8562         * text.C: implement accept/rejectChange()
8563
8564         * lyxtext.h:
8565         * text.C: paint changebars. Paint new/deleted text in the chosen
8566         colours. Strike through deleted text.
8567
8568         * paragraph.h:
8569         * paragraph.C:
8570         * paragraph_pimpl.h:
8571         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8572           in the current change to the insert functions. Rework erase to
8573           mark text as deleted, adding an eraseIntern() and a range-based
8574           erase(). Implement per-paragraph change lookup and
8575           accept/reject.
8576
8577         * paragraph_funcs.C: Fixup paste for change tracking.
8578
8579         * tabular.C: mark added row/columns as new.
8580
8581         * text.C: fix rowLast() to never return -1. Don't allow
8582           spellchecking of deleted text. Track transpose changes. Don't
8583           allow paragraph break or merge where appropriate.
8584
8585         * text2.C: leave cursor at end of selection after a cut.
8586
8587 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8588
8589         * text.C (getLengthMarkerHeight):
8590         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8591         visible on screen too.
8592
8593 2003-02-07  John Levon  <levon@movementarian.org>
8594
8595         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8596
8597 2003-02-05  Angus Leeming  <leeming@lyx.org>
8598
8599         * lyxserver.C (read_ready): revert my patch of 11 September last year
8600         as it sends PC cpu through the roof. Presumably this means that
8601         the lyxserver will no longer run on an Alpha...
8602
8603 2003-01-30  Angus Leeming  <leeming@lyx.org>
8604
8605         * factory.C (createInset): create an InsetCommandParam of type "index"
8606         and use it to 'do the right thing'.
8607
8608         * text2.C (getStringToIndex): ensure that cursor position is always
8609         reset to the reset_cursor position.
8610
8611 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8612
8613         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8614         disabled.
8615
8616 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8617
8618         * bufferview.C:
8619         * lyxcb.C:
8620         * lyxfunc.C: Output messages with identical spelling, punctuation,
8621         and spaces
8622
8623 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8624
8625         * MenuBackend.C (expandFormats): List only viewable export formats
8626         in "View" menu
8627
8628         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8629         message
8630
8631         * lyxfunc.C (getStatus): Make sure that formats other than
8632         "fax" can also be disabled
8633
8634 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8635
8636         * text3.C (dispatch): put the lfuns that insert insets in 3
8637         groups, and call doInsertInset with appropriate arguments.
8638         (doInsertInset): new function, that creates an inset and inserts
8639         it according to some boolean parameters.
8640
8641 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8642
8643         * buffer.C (readFile): remember to pass on 'par' when calling
8644         readFile recursively.
8645
8646 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8647
8648         * MenuBackend.C (expandFormats): add "..." to import formats.
8649
8650 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8651
8652         * paragraph.C (asString): Remove XForms RTL hacks.
8653
8654 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8655         * buffer.C: fix typo
8656
8657 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8658
8659         * Makefile.am (LIBS): delete var
8660         (lyx_LDADD): add @LIBS@ here instead.
8661
8662 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8663
8664         * Clarify the meaning of "wheel mouse jump"
8665
8666 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8667
8668         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8669         tabular in a float
8670
8671 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8672
8673         * importer.C (Loaders): do not preallocate 3 elements in the
8674         vector, since one ends up with 6 elements otherwise
8675
8676 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8677
8678         * DepTable.C (write): write the file name as last element of the
8679         .dep file (because it may contain spaces)
8680         (read): read info in the right order
8681
8682 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8683
8684         * paragraph_pimpl.C (simpleTeXBlanks):
8685         (simpleTeXSpecialChars):
8686         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8687
8688         * tabular.C (latex): add some missing case statements. Reindent.
8689
8690         * MenuBackend.C (expandToc): remove unused variable.
8691
8692 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8693
8694         * LColor.C:
8695         * LaTeX.C:
8696         * LyXAction.C:
8697         * MenuBackend.C:
8698         * buffer.C:
8699         * exporter.C:
8700         * lyxfunc.C:
8701         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8702         and the like.
8703
8704 2003-01-05  John Levon  <levon@movementarian.org>
8705
8706         * BufferView.h:
8707         * BufferView.C: add getEncoding()
8708
8709         * kbsequence.h:
8710         * kbsequence.C: do not store last keypress
8711
8712         * lyxfunc.h:
8713         * lyxfunc.C: store last keypress here instead. Pass encoding
8714           to getISOEncoded()
8715
8716 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8717
8718         * lyx_main.C (init): remove annoying error message when following
8719         symbolic links (bug #780)
8720
8721 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8722
8723         * text.C (insertChar):
8724         * lyxrc.C (getDescription): remove extra spaces
8725
8726 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8727
8728         * lyxrc.C (getDescription): remove extra spaces
8729
8730 2002-12-20  John Levon  <levon@movementarian.org>
8731
8732         * text3.C: hack fix for page up/down across tall rows
8733
8734 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8735
8736         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8737         not been invoked
8738
8739 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8740
8741         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8742         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8743         thesaurus is not compiled in
8744
8745 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8746
8747         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8748
8749 2002-12-16  Angus Leeming  <leeming@lyx.org>
8750
8751         * lyxrc.[Ch]:
8752         * lyx_main.C (init): remove override_x_deadkeys stuff.
8753
8754 2002-12-12  John Levon  <levon@movementarian.org>
8755
8756         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8757           insert. Only remove shift modifier under strict
8758           circumstances.
8759
8760 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8761
8762         * MenuBackend.C (expandToc): fix crash.
8763
8764 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8765
8766         * MenuBackend.C (expandToc): gettext on float names.
8767
8768 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8769
8770         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8771         implement bool empty() [bug 490]
8772
8773 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8776
8777 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8778
8779         * several files: ws changes
8780
8781 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8782
8783         * text2.C (setCounter): clean up a bit, use boost.format.
8784         (updateCounters): initialize par upon declaration.
8785
8786         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8787         if the layout exists. We do not just store the layout any more.
8788         (SwitchLayoutsBetweenClasses): use boost.format
8789
8790 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8791
8792         * converter.C (convert): if from and to files are the same, use a
8793         temporary files as intermediary
8794
8795 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8796
8797         * commandtags.h:
8798         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8799
8800 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8801
8802         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8803
8804 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8805
8806         * tabular.C (asciiPrintCell): use string(size, char) instead of
8807         explicit loop.
8808
8809         * sgml.C (openTag): fix order of arguments to string constructor
8810         (closeTag): ditto
8811
8812         * lyxfunc.C (dispatch): use boost.format
8813
8814         * lots of files: change "c" -> 'c'
8815
8816 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8817
8818         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8819
8820 2002-11-25  Angus Leeming  <leeming@lyx.org>
8821
8822         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8823
8824         * lyx_main.C (init): compile fix.
8825
8826 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8827
8828         * lyx_cb.C (start): boost.formatify
8829         do not include <iostream>
8830
8831         * lengthcommon.C: ws only
8832
8833         * boost-inst.C,BoostFormat.h: add more explict instantations
8834
8835 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8836
8837         * lots of files: handle USE_BOOST_FORMAT
8838
8839 2002-11-21  John Levon  <levon@movementarian.org>
8840
8841         * pspell.C: fix compile
8842
8843 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8844
8845         * lyxfunc.C (dispatch): use boost::format
8846         (open): ditto
8847         (doImport): ditto
8848
8849         * lyxfont.C (stateText): use boost::format
8850
8851         * lyx_main.C (LyX): use boost::format
8852         (init): ditto
8853         (queryUserLyXDir): ditto
8854         (readRcFile): ditto
8855         (parse_dbg): ditto
8856         (typedef boost::function): use the recommened syntax.
8857
8858         * importer.C (Import): use boost::format
8859
8860         * debug.C (showLevel): use boost::format
8861
8862         * converter.C (view): use boost::format
8863         (convert): ditto
8864         (move): ditto
8865         (scanLog): ditto
8866
8867         * bufferview_funcs.C (currentState): use boost::format
8868
8869         * bufferlist.C (emergencyWrite): use boost::format
8870
8871         * buffer.C (readLyXformat2): use boost::format
8872         (parseSingleLyXformat2Token): ditto
8873
8874         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8875
8876         * LaTeX.C (run): use boost::format
8877
8878         * Chktex.C (scanLogFile): use boost::format
8879
8880         * BufferView_pimpl.C (savePosition): use boost::format
8881         (restorePosition): ditto
8882         (MenuInsertLyXFile): ditto
8883
8884         * BoostFormat.h: help file for explicit instation.
8885
8886 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8887
8888         * tabular.C (latex): Support for block alignment in fixed width
8889         columns.
8890
8891 2002-11-17  John Levon  <levon@movementarian.org>
8892
8893         * BufferView_pimpl.C:
8894         * lyx_cb.C:
8895         * lyxfunc.C: split filedialog into open/save
8896
8897 2002-11-08  Juergen Vigna  <jug@sad.it>
8898
8899         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8900         by my last patch (hopefully).
8901
8902 2002-11-08  John Levon  <levon@movementarian.org>
8903
8904         * iterators.h:
8905         * iterators.C:
8906         * buffer.h:
8907         * buffer.C:
8908         * paragraph.h:
8909         * paragraph.C:
8910         * toc.h:
8911         * toc.C: ParConstIterator, and use it (from Lars)
8912
8913 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8914
8915         * lyxtextclass.[Ch]: revise and add doxygen comments
8916
8917 2002-11-07  John Levon  <levon@movementarian.org>
8918
8919         * text.C: fix progress value for spellchecker
8920
8921         * toc.C: fix navigate menu for insetwrap inside minipage
8922
8923         * paragraph_funcs.C: added FIXME for suspect code
8924
8925 2002-11-07  John Levon  <levon@movementarian.org>
8926
8927         * BufferView_pimpl.C: fix redrawing of insets
8928           on buffer switch
8929
8930 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * text2.C (updateCounters): fix bug 668
8933
8934 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8935
8936         * text3.C (dispatch): Do not make the buffer dirty when moving the
8937         cursor.
8938
8939 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8940
8941         * vc-backend.C: STRCONV
8942         (scanMaster): ditto
8943
8944         * text2.C (setCounter): STRCONV
8945
8946         * paragraph.C (asString): STRCONV
8947
8948         * lyxlength.C (asString): STRCONV
8949         (asLatexString): ditto
8950
8951         * lyxgluelength.C (asString): STRCONV
8952         (asLatexString): ditto
8953
8954         * lyxfunc.C (dispatch): STRCONV
8955         (open): ditto
8956
8957         * lyxfont.C (stateText): STRCONV
8958
8959         * importer.C (Import): STRCONV
8960
8961         * counters.C (labelItem): STRCONV
8962         (numberLabel): ditto
8963         (numberLabel): remove unused ostringstream o
8964
8965         * chset.C: STRCONV
8966         (loadFile): ditto
8967
8968         * bufferview_funcs.C (currentState): STRCONV
8969
8970         * buffer.C (readFile): STRCONV
8971         (asciiParagraph): ditto
8972         (makeLaTeXFile): ditto
8973
8974         * Spacing.C (writeEnvirBegin): STRCONV
8975
8976         * LaTeXFeatures.C (getLanguages): STRCONV
8977         (getPackages): ditto
8978         (getMacros): ditto
8979         (getBabelOptions): ditto
8980         (getTClassPreamble): ditto
8981         (getLyXSGMLEntities): ditto
8982         (getIncludedFiles): ditto
8983
8984         * LaTeX.C: STRCONV
8985         (run): ditto
8986         (scanAuxFile): ditto
8987         (deplog): ditto
8988
8989         * LString.h: add the STRCONV macros
8990
8991         * BufferView_pimpl.C (savePosition): STRCONV
8992         (restorePosition): ditto
8993         (MenuInsertLyXFile): ditto
8994
8995         * vc-backend.C (scanMaster): change from submatch[...] to
8996         submatch.str(...)
8997
8998         * funcrequest.C: include config.h
8999
9000         * factory.C: include config.h
9001
9002         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9003
9004         * box.C: include config.h
9005
9006         * LaTeX.C (scanAuxFile): change from submatch[...] to
9007         submatch.str(...)
9008         (deplog): ditto
9009
9010 2002-10-25  Angus Leeming  <leeming@lyx.org>
9011
9012         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9013
9014         * ispell.[Ch] (setError): new method.
9015         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9016         Use setError() insetead of goto END.
9017
9018         * lyx_cb.C (AutoSave): move out child process into new class
9019         AutoSaveBuffer.
9020
9021 2002-10-30  John Levon  <levon@movementarian.org>
9022
9023         * text3.C: make start appendix undoable
9024
9025 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9026
9027         * lyxlength.C (inPixels): Fix returned value.
9028
9029         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9030         environment.
9031
9032 2002-10-24  Angus Leeming  <leeming@lyx.org>
9033
9034         * lyxgluelength.h: no need to forward declare BufferParams
9035         or BufferView, so don't.
9036
9037 2002-10-21  John Levon  <levon@movementarian.org>
9038
9039         * BufferView.C: menuUndo ->undo, redo
9040
9041         * BufferView.h: document, remove dead, make some methods private
9042
9043         * paragraph_funcs.h:
9044         * paragraph_funcs.C:
9045         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9046
9047         * buffer.h:
9048         * buffer.C:
9049         * sgml.h:
9050         * sgml.C: move sgml open/close tag into sgml.C
9051
9052         * bufferview_funcs.h: unused prototype
9053
9054         * lyxfunc.h:
9055         * lyxfunc.C: remove unused
9056
9057         * lyxtext.h:
9058         * text.C: remove unused
9059
9060 2002-10-21  John Levon  <levon@movementarian.org>
9061
9062         * BufferView.h:
9063         * BufferView.C:
9064         * BufferView_pimpl.h:
9065         * BufferView_pimpl.C: fix mouse wheel handling based on
9066           patch from Darren Freeman
9067
9068 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9069
9070         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9071
9072 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9073
9074         * lyxlength.C (inPixels): Fix hanfling of negative length.
9075         Fix LyXLength::MU case.
9076
9077 2002-10-16  John Levon  <levon@movementarian.org>
9078
9079         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9080
9081 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9082
9083         * converter.C (view): add support for $$i (file name) and $$p
9084         (file path) for the viewer command. If $$i is not specified, then
9085         it is appended to the command (for compatibility with old syntax)
9086
9087 2002-10-14  Juergen Vigna  <jug@sad.it>
9088
9089         * undo_funcs.C (textHandleUndo): alter the order in which the
9090         new undopar is added to the LyXText, as we have to set first
9091         the right prev/next and then add it as otherwise the rebuild of
9092         LyXText is not correct. Also reset the cursor to the right paragraph,
9093         with this IMO we could remove the hack in "redoParagraphs()".
9094
9095 2002-10-09  Angus Leeming  <leeming@lyx.org>
9096
9097         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9098         to turn off an optimisation if a new inset is to be inserted.
9099
9100 2002-10-11 André Pönitz <poenitz@gmx.net>
9101
9102         * lyxtext.h: make some functions public to allow access
9103         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9104
9105 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9106
9107         * text3.C (dispatch): when changing layout, avoid an infinite loop
9108         [bug #652]
9109
9110 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9111
9112         * lyxrc.C (read): treat a viewer or converter command of "none" as
9113         if it were empty.
9114
9115         * MenuBackend.C (expandFormats): for an update, also allow the
9116         formats that are not viewable
9117
9118         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9119         script if it is newer than the lyxrc.defaults in user directory
9120
9121 2002-10-07 André Pönitz <poenitz@gmx.net>
9122
9123         * text.C: Vitaly Lipatov's small i18n fix
9124
9125 2002-09-25  Angus Leeming  <leeming@lyx.org>
9126
9127         * ispell.h: doxygen fix.
9128
9129 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9130
9131         * buffer.h (readFile): Add a new argument to the method, to allow
9132         reading of old-format templates.
9133
9134 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9135
9136         * toc.C (getTocList): Get TOC from InsetWrap.
9137
9138 2002-09-16  John Levon  <levon@movementarian.org>
9139
9140         * lyxfunc.C: check tabular for cut/copy too
9141
9142 2002-09-12  John Levon  <levon@movementarian.org>
9143
9144         * LyXAction.C: tidy
9145
9146         * factory.h:
9147         * factory.C: add header
9148
9149         * paragraph_funcs.h:
9150         * paragraph_funcs.C: cleanup
9151
9152 2002-09-11  John Levon  <levon@movementarian.org>
9153
9154         * PrinterParams.h: odd/even default to true
9155
9156 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9157
9158         * PrinterParams.h: update printer parameters for new xforms dialog
9159
9160 2002-09-11  Angus Leeming  <leeming@lyx.org>
9161
9162         * lyxserver.C (read_ready): re-write to make it more transparent
9163         and to make it work in coherent fashion under Tru64 Unix.
9164
9165 2002-09-11  André Pönitz <poenitz@gmx.net>
9166
9167         * commandtags.h:
9168         * LyXAction.C:
9169         * text3.C: implement LFUN_WORDSEL
9170
9171 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9172
9173         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9174         make floatlist_ a boost::shared_ptr<FloatList>
9175
9176         * lyxtextclass.C: include FloatList.h
9177         (LyXTextClass): initialize floatlist_
9178         (TextClassTags): add TC_NOFLOAT
9179         (Read): match "nofloat" to TC_NOFLOAT and use it.
9180         (readFloat): modify call to floatlist_
9181         (floats): ditto
9182         (floats): ditto
9183
9184         * FloatList.[Ch] (FloatList): remove commented out float
9185         initialization.
9186         (erase): new function
9187
9188 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9189
9190         * MenuBackend.C (expandToc): fix crash when there is no document
9191         open
9192
9193 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9194
9195         * many files: Add insetwrap.
9196
9197 2002-09-09  John Levon  <levon@movementarian.org>
9198
9199         * text2.C: remove confusing and awkward depth wraparound
9200
9201 2002-09-09  John Levon  <levon@movementarian.org>
9202
9203         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9204
9205         * buffer.h:
9206         * buffer.C: remove getIncludeonlyList()
9207
9208         * paragraph.C:
9209         * lyxfunc.C: remove headers
9210
9211 2002-09-09  Juergen Vigna  <jug@sad.it>
9212
9213         * text.C (getColumnNearX): fix form Michael this is most
9214         probably a cut&paste bug.
9215
9216 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9217
9218         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9219
9220         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9221         references, ws changes.
9222
9223         * text2.C (init): update counters after init
9224         (insertParagraph): no need to set counter on idividual paragraphs.
9225         (setCounter): access the counters object in the textclass object
9226         on in the buffer object.
9227         (updateCounters): ditto
9228
9229         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9230         shared_ptr<Counters> to avoid loading counters.h in all
9231         compilation units.
9232         (LyXTextClass): initialize ctrs_
9233         (TextClassTags): add TC_COUNTER, and ...
9234         (Read): use it here.
9235         (CounterTags): new tags
9236         (readCounter): new function
9237         (counters): new funtion
9238         (defaultLayoutName): return a const reference
9239
9240         * counters.C (Counters): remove contructor
9241         (newCounter): remove a couple of unneeded statements.
9242         (newCounter): simplify a bit.
9243         (numberLabel): some small formatting changes.
9244
9245         * buffer.[Ch]: remove all traces of counters, move the Counters
9246         object to the LyXTextClass.
9247
9248 2002-09-06  Alain Castera  <castera@in2p3.fr>
9249
9250         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9251         package to set the horizontal alignment on fixed width columns.
9252
9253         * lyx_sty.C:
9254         * lyx_sty.h: added tabularnewline macro def.
9255
9256         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9257
9258 2002-09-06  John Levon  <levon@movementarian.org>
9259
9260         * LyXAction.C: tooltips for sub/superscript
9261
9262         * MenuBackend.C: a bit more verbose
9263
9264         * lyxfunc.C: tiny clean
9265
9266         * undo_funcs.C: document undo_frozen
9267
9268 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9269
9270         * counters.C (Counters): add missing algorithm counter.
9271
9272         * text2.C (setCounter): lookup the counter with layouts latexname
9273         instead of by section number.
9274         (setCounter): use a hackish way to lookup the correct enum
9275         counter.
9276         a float name->type change
9277         reset enum couners with counter name directly instead of depth value.
9278
9279         * counters.C (Counters): remove the push_backs, change to use the
9280         float type not the float name.
9281         (labelItem): remove unused string, float name->type change
9282
9283         * counters.h: don't include vector, loose the enums and sects vectors
9284
9285 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9286
9287         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9288         (Read): add float->TC_FLOAT to textclassTags
9289         (Read): and handle it in the switch
9290         (readFloat): new function
9291
9292         * FloatList.C (FloatList): comment out the hardcoded float
9293         definitions.
9294
9295         * lyxlayout.h: ws change.
9296
9297 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9298
9299         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9300
9301 2002-09-03  Angus Leeming  <leeming@lyx.org>
9302
9303         * BufferView_pimpl.h: qualified name is not allowed in member
9304         declaration: WorkArea & Pimpl::workarea() const;
9305
9306         * factory.C: added using std::endl directive.
9307
9308         * text3.C: added using std::find and std::vector directives.
9309
9310 2002-08-29  André Pönitz <poenitz@gmx.net>
9311
9312         * lyxtext.h:
9313         * text2.C: remove unused member number_of_rows
9314
9315         * Makefile.am:
9316         * BufferView2.C: remove file, move contents to...
9317         * BufferView.C: ... here
9318
9319         * BufferView_pimpl.C:
9320         * factory.C: move more inset creation to factory
9321
9322         * vspace.C: avoid direct usage of LyXText, ws changes
9323
9324         * BufferView.[Ch]:
9325                 don't provide direct access to WorkArea, use two simple
9326                 acessors haveSelction() and workHeight() instead
9327
9328
9329 2002-08-29  John Levon  <levon@movementarian.org>
9330
9331         * BufferView_pimpl.C (dispatch): do not continue when
9332           no buffer
9333
9334 2002-08-28  André Pönitz <poenitz@gmx.net>
9335
9336         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9337
9338         * BufferView.h:
9339         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9340
9341 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9342
9343         * buffer.C: increment LYX_FORMAT to 221
9344
9345         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9346         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9347
9348         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9349
9350         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9351
9352 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9353
9354         * factory.C (createInset): use LyXTextClass::floats
9355
9356         * MenuBackend.C (expandFloatListInsert):
9357         (expandFloatInsert):
9358         (expandToc):
9359
9360         * text2.C (setCounter):
9361
9362         * LaTeXFeatures.C (useFloat):
9363         (getFloatDefinitions):
9364
9365         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9366
9367         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9368         floatlist_, with accessor floats().
9369
9370         * FloatList.h: remove global FloatList
9371
9372 2002-08-26  André Pönitz <poenitz@gmx.net>
9373
9374         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9375
9376         * BufferView.h:
9377         * BufferView2.C:
9378         * BufferView_pimpl.C:
9379         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9380
9381 2002-08-25  John Levon  <levon@movementarian.org>
9382
9383         * LyXAction.C: fix margin note description
9384
9385 2002-08-24  John Levon  <levon@movementarian.org>
9386
9387         * buffer.C:
9388         * bufferlist.C:
9389         * bufferview_funcs.C:
9390         * lyxfont.C:
9391         * undo_funcs.C: cleanups
9392
9393         * lyxfunc.C: disable CUT/COPY when no selection
9394
9395 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9396
9397         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9398         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9399
9400         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9401         Add backward compatibility to "mono", "gray" and "no".
9402
9403 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9404
9405         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9406         (and file_format >= 200).
9407
9408 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9409
9410         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9411
9412 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9413
9414         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9415
9416 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9417
9418         * BufferView_pimpl.C:
9419         * LyXAction.C:
9420         * buffer.C:
9421         * commandtags.h:
9422         * lyxfunc.C:
9423         * paragraph.[Ch]:
9424         * text2.C:
9425         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9426         inset and code to make it  work with the paragraph code. The inset
9427         can be anywhere in the paragraph, but will only do the expected
9428         thing in LaTeX if the layout file contains the parameter line
9429                         OptionalArgs    1
9430         (or more generally, a nonzero value) for that layout.
9431
9432 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9433
9434         * paragraph.h: remove the declaration of undefined counters class
9435         function.
9436
9437 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9438
9439         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9440         Dr. Richard Hawkins.
9441
9442 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9443
9444         * paragraph_funcs.h: remove some unneeded includes
9445
9446         * text.C (backspace): pasteParagraph now in global scipe
9447
9448         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9449         (pasteSelection): ditto
9450
9451         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9452         * paragraph_funcs.C (pasteParagraph): ... here
9453
9454 2002-08-20  André Pönitz <poenitz@gmx.net>
9455
9456         * commandtags.h: new LFUNs for swapping/copying table row/colums
9457
9458         * LyXAction.C:
9459         * lyxfunc.C: support for new lfuns
9460
9461 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9462
9463         * tabular.C:
9464         * buffer.[Ch]: remove NO_COMPABILITY stuff
9465
9466 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9467
9468         * boost.C (throw_exception): new file, with helper function for
9469         boost compiled without exceptions.
9470
9471         * paragraph.h:
9472         * lyxlength.C:
9473         * buffer.C:
9474         * ParameterStruct.h:
9475         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9476
9477         * bufferlist.C (emergencyWriteAll): use boost bind
9478
9479         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9480
9481         * text.C: include paragraph_funcs.h
9482         (breakParagraph): breakParagraph is now in global scope
9483
9484         * paragraph_funcs.[Ch]: new files
9485
9486         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9487         global scope
9488
9489         * buffer.C: include paragraph_funcs.h
9490         (insertStringAsLines): breakParagraph is now in global scope
9491
9492         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9493         paragraph_funcs.C
9494
9495         * CutAndPaste.C: include paragraph_funcs.h
9496         (cutSelection): breakParagraphConservative is now in global scope
9497         (pasteSelection): ditto
9498
9499         * buffer.h: declare oprator== and operator!= for
9500         Buffer::inset_iterator
9501
9502         * bufferlist.C (emergencyWrite): don't use fmt(...)
9503
9504         * text3.C: add using std::endl
9505
9506         * BufferView.C (moveCursorUpdate): remove default arg
9507
9508 2002-08-20  André Pönitz <poenitz@gmx.net>
9509
9510         * buffer.[Ch]: move inline functions to .C
9511
9512         * BufferView2.C:
9513         * BufferView_pimpl.C:
9514         * text.C:
9515         * buffer.[Ch]: use improved inset_iterator
9516
9517         * buffer.C:
9518         * paragraph.[Ch]: write one paragraph at a time
9519
9520 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9521
9522         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9523         style if style is not specified.
9524
9525 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * text2.C (setCounter): when searching for right label for a
9528         caption, make sure to recurse to parent insets (so that a caption
9529         in a minipage in a figure float works) (bug #568)
9530
9531 2002-08-20  André Pönitz <poenitz@gmx.net>
9532
9533         * text3.C: new file for LyXText::dispatch() and helpers
9534
9535         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9536
9537         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9538
9539 2002-08-19  André Pönitz <poenitz@gmx.net>
9540
9541         * lyxtext.h:
9542         * text.C: new LyXText::dispatch()
9543
9544         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9545
9546 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9547
9548         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9549
9550         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9551         Hebrew text.
9552
9553 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9554
9555         * Makefile.am: use $(variables) instead of @substitutions@
9556
9557 2002-08-15  André Pönitz <poenitz@gmx.net>
9558
9559         * lyxfunc.C:
9560         * BufferView_pimpl.C: streamlining mathed <-> outer world
9561         interaction
9562
9563         * commandtags.h:
9564         * LyXAction.C: remove unused LFUN_MATH
9565
9566 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9567
9568         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9569
9570 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9571
9572         * paragraph.C (Paragraph): reformat a bit
9573         (cutIntoMinibuffer): use builtin InsetList function instad of
9574         doing it manually.
9575         (getInset): ditto
9576
9577         * buffer.C: include boost/bind.hpp, add using std::for_each
9578         (writeFileAscii): use ParagraphList iterators
9579         (validate): use for_each for validate traversal of paragraphs
9580         (getBibkeyList): use ParagraphList iterators
9581         (resizeInsets): use for_each to resizeInsetsLyXText for all
9582         paragraphs.
9583         (getParFromID): use ParagraphList iterators
9584
9585         * BufferView2.C (lockInset): use paragraph list and iterators
9586
9587 2002-08-14  John Levon  <levon@movementarian.org>
9588
9589         * lyxserver.C: remove spurious xforms include
9590
9591 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9592
9593         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9594
9595 2002-08-13  André Pönitz <poenitz@gmx.net>
9596
9597         * LyXAction.[Ch]:
9598         * lyxfunc.C: further cleaning
9599
9600 2002-08-13  André Pönitz <poenitz@gmx.net>
9601
9602         * funcrequest.h: new constructor
9603
9604         * funcrequest.C: move stuff here from .h
9605
9606         * Makefile.am:
9607         * BufferView_pimpl.C:
9608         * LyXAction.C:
9609         * toc.C:
9610         * lyxfunc.C: subsequent changes
9611
9612         * lyxfunc.h: new view() member function
9613
9614         * lyxfunc.C: subsequent changes
9615
9616 2002-08-13  Angus Leeming  <leeming@lyx.org>
9617
9618         * BufferView2.C:
9619         * BufferView_pimpl.C:
9620         * buffer.C:
9621         * converter.C:
9622         * importer.C:
9623         * lyxfunc.C:
9624         * lyxvc.C:
9625         * toc.C:
9626         * vc-backend.C:
9627         changes due to the changed LyXView interface that now returns references
9628         to member variables not pointers.
9629
9630 2002-08-13  Angus Leeming  <leeming@lyx.org>
9631
9632         * WordLangTuple (word, lang_code): return references to strings,
9633         not strings.
9634
9635         * BufferView.h:
9636         * SpellBase.h:
9637         * lyxtext.h: forward-declare WordLangTuple.
9638
9639         * BufferView2.C:
9640         * ispell.C:
9641         * pspell.C:
9642         * text.C: #include "WordLangTuple.h".
9643
9644         * lyxtext.h:
9645         * text.C: (selectNextWordToSpellcheck): constify return type.
9646
9647 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9648
9649         * buffer.C:
9650         * buffer.h:
9651         * lyxtext.h:
9652         * paragraph.C:
9653         * paragraph_pimpl.h:
9654         * text.C:
9655         * text2.C:
9656         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9657         suggested by Angus.
9658         Made updateCounter always count from start of buffer, and removed
9659         second argument (par).
9660         Reverted floats number display to '#'. Perhaps I'll try again when the
9661         code base is sanitized a bit.
9662
9663 2002-08-12  Angus Leeming  <leeming@lyx.org>
9664
9665         * buffer.[Ch] (getLabelList): constify.
9666
9667 2002-08-07  André Pönitz <poenitz@gmx.net>
9668
9669         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9670
9671         * funcrequest.h: extension to keep mouse (x,y) position
9672
9673 2002-08-12  Juergen Vigna  <jug@sad.it>
9674
9675         * BufferView2.C (insertErrors): forbid undo when inserting error
9676         insets.
9677
9678         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9679
9680 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9681
9682         * ParagraphList.[Ch]: new files
9683
9684         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9685
9686         * BufferView2.C (lockInset): ParagraphList changes
9687         * toc.C: ditto
9688         * text2.C: ditto
9689         * bufferlist.C: ditto
9690         * buffer.h: ditto
9691         * buffer.C: ditto
9692
9693 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9694
9695         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9696         unused class variable counter_,
9697
9698         * paragraph.[Ch] (getFirstCounter): delete unused function
9699
9700         * counters.C: include LAssert.h
9701         (reset): add a new function with no arg, change other version to
9702         not have def. arg and to not allow empty arg.
9703
9704         * text2.C (setCounter): remove empty arg from call to Counters::reset
9705
9706 2002-08-11  John Levon  <levon@movementarian.org>
9707
9708         * Makefile.am: add WordLangTuple.h
9709
9710 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9711
9712         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9713         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9714
9715         * insets/insettext.C: InsetList changes
9716
9717         * graphics/GraphicsSupport.C (operator()): InsetList changes
9718
9719         * toc.C (getTocList): InsetList changes
9720
9721         * paragraph_pimpl.[Ch]: InsetList changes
9722
9723         * paragraph.[Ch]: InsetList changes
9724
9725         * buffer.C (inset_iterator): InsetList changes
9726         (setParagraph): ditto
9727         * buffer.h (inset_iterator): ditto
9728         * iterators.C (operator++): ditto
9729         * iterators.h: ditto
9730
9731         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9732
9733         * InsetList.[Ch]: new files, most InsetList handling moved out of
9734         paragraph.C.
9735
9736         * BufferView2.C (removeAutoInsets): InsetList changes
9737         (lockInset): ditto
9738         (ChangeInsets): ditto
9739
9740 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9741
9742         * paragraph_pimpl.h (empty): new function
9743
9744         * paragraph.[Ch] (empty): new function
9745
9746         * other files: use the new Paragraph::empty function
9747
9748 2002-08-09  John Levon  <levon@movementarian.org>
9749
9750         * lyxtext.h: remove unused refresh_height
9751
9752 2002-08-09  John Levon  <levon@movementarian.org>
9753
9754         * Makefile.am:
9755         * sgml.h:
9756         * sgml.C:
9757         * buffer.C:
9758         * paragraph.h:
9759         * paragraph.C: move sgml char escaping out of paragraph
9760
9761         * paragraph.h:
9762         * paragraph.C: remove id setter
9763
9764         * buffer.C:
9765         * paragraph.C:
9766         * paragraph_pimpl.C: remove dead tex_code_break_column
9767
9768         * bufferview_funcs.C: small cleanup
9769
9770         * lyxfunc.C: remove dead proto
9771
9772         * lyxtext.h: make some stuff private. Remove some dead stuff.
9773
9774         * lyxgluelength.C: make as[LyX]String() readable
9775
9776 2002-08-08  John Levon  <levon@movementarian.org>
9777
9778         * LyXAction.h:
9779         * LyXAction.C:
9780         * MenuBackend.C:
9781         * ToolbarDefaults.C:
9782         * lyxfunc.C:
9783         * lyxrc.C:
9784         * toc.C: lyxaction cleanup
9785
9786 2002-08-08  John Levon  <levon@movementarian.org>
9787
9788         * BufferView2.C: small cleanup
9789
9790         * lyxfind.h:
9791         * lyxfind.C: move unnecessary header into the .C
9792
9793 2002-08-08  John Levon  <levon@movementarian.org>
9794
9795         * funcrequest.h: just tedious nonsense
9796
9797         * lyx_main.h:
9798         * lyx_main.C: cleanups
9799
9800         * buffer.C:
9801         * vspace.C: remove dead header lyx_main.h
9802
9803 2002-08-07  Angus Leeming  <leeming@lyx.org>
9804
9805         * Paragraph.[Ch]:
9806         * paragraph_pimpl.h:
9807         Forward declare class Counters in paragraph.h by moving the ctrs member
9808         variable into Paragraph::Pimpl.
9809         (counters): new method, returning a reference to pimpl_->ctrs.
9810
9811         * text2.C: ensuing changes.
9812
9813 2002-08-07  John Levon  <levon@movementarian.org>
9814
9815         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9816
9817         * BufferView_pimpl.C: announce X selection on double/triple
9818           click
9819
9820         * lyx_main.C: use correct bool in batch dispatch
9821
9822         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9823
9824 2002-08-07  André Pönitz <poenitz@gmx.net>
9825
9826         * funcrequest.h: new class to wrap a kb_action and its argument
9827
9828         * BufferView.[Ch]:
9829         * BufferView_pimpl[Ch]:
9830         * LaTeX.C:
9831         * LyXAction.[Ch]:
9832         * lyxfunc.[Ch]:
9833         * lyxrc.C: subsequent changes
9834
9835
9836 2002-08-07  John Levon  <levon@movementarian.org>
9837
9838         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9839           document options change.
9840
9841 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9842
9843         * counters.[Ch]
9844         * text2.C
9845         * paragraph.[Ch]
9846         * makefile.am: move counters functionality over from
9847         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9848
9849 2002-08-06  John Levon  <levon@movementarian.org>
9850
9851         * WordLangTuple.h: new file for word + language code tuple
9852
9853         * SpellBase.h:
9854         * pspell.h:
9855         * pspell.C:
9856         * ispell.h:
9857         * ispell.C:
9858         * lyxtext.h:
9859         * text.C:
9860         * text2.C:
9861         * BufferView.h:
9862         * BufferView2.C: use WordLangTuple
9863
9864         * layout.h:
9865         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9866
9867 2002-08-06  John Levon  <levon@movementarian.org>
9868
9869         * lyx_main.C: fix cmdline batch handling
9870
9871 2002-08-06  André Pönitz <poenitz@gmx.net>
9872
9873         * lyxrc.C: set default for show_banner to true
9874
9875 2002-08-06  John Levon  <levon@movementarian.org>
9876
9877         * pspell.C: fix a crash, and allow new aspell to work
9878
9879 2002-08-06  John Levon  <levon@movementarian.org>
9880
9881         * lyxfunc.C:
9882         * kbmap.C: small cleanup
9883
9884         * vspace.h:
9885         * vspace.C: add const
9886
9887 2002-08-05  John Levon  <levon@movementarian.org>
9888
9889         * LyXAction.C: back to tabular-insert
9890
9891 2002-08-04  John Levon  <levon@movementarian.org>
9892
9893         * BufferView.h:
9894         * BufferView.C: cosmetic change
9895
9896         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9897
9898         * bufferlist.C:
9899         * buffer.h:
9900         * buffer.C:
9901         * lyxcb.h:
9902         * lyxcb.C:
9903         * lyxserver.C:
9904         * lyxvc.C:
9905         * vc-backend.C:
9906         * BufferView2.C: purge all "Lyx" not "LyX" strings
9907
9908         * lyxcursor.h:
9909         * lyxcursor.C: attempt to add some documentation
9910
9911         * lyxfunc.C:
9912         * commandtags.h:
9913         * LyXAction.C:
9914         * ToolbarDefaults.C:
9915         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9916           merge with LFUN_TABULAR_INSERT
9917
9918         * Makefile.am:
9919         * SpellBase.h:
9920         * ispell.h:
9921         * ispell.C:
9922         * pspell.h:
9923         * pspell.C: split up i/pspell implementations into separate
9924           files, many cleanups
9925
9926         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9927
9928         * text2.C: some cleanup
9929
9930         * lyxfunc.C: don't check for isp_command == "none" any more, it
9931           didn't make any sense
9932
9933 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9934
9935         * counters.[Ch]
9936         * text2.C
9937         * paragraph.[Ch]
9938         * makefile.am: move counters functionality over
9939         from text2.C/paragraph.[Ch] to counters.[Ch], and
9940         make proper C++.
9941 2002-08-02  John Levon  <levon@movementarian.org>
9942
9943         * buffer.C: s/lyxconvert/lyx2lyx/
9944
9945 2002-08-02  Angus Leeming  <leeming@lyx.org>
9946
9947         * lyxlex.C: revert John's change as it breaks reading of the user
9948         preamble.
9949
9950 2002-08-02  Angus Leeming  <leeming@lyx.org>
9951
9952         * importer.C (Import):
9953         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9954         changes due to LyXView::view() now returning a boost::shared_ptr.
9955
9956 2002-08-02  John Levon  <levon@movementarian.org>
9957
9958         * lyxlex.C: small cleanup
9959
9960 2002-08-02  John Levon  <levon@movementarian.org>
9961
9962         * text2.C (status): small cleanup, no logic change
9963
9964 2002-08-01  John Levon  <levon@movementarian.org>
9965
9966         * buffer.h:
9967         * buffer.C (writeFile): don't output alerts, caller
9968           handles this
9969
9970         * bufferlist.C:
9971         * lyx_cb.C: from above
9972
9973         * lyxfunc.C: allow to open non-existent files
9974
9975 2002-07-31  John Levon  <levon@movementarian.org>
9976
9977         * lyxserver.C: don't let incidental errors get
9978           in the way (errno)
9979
9980 2002-07-30  John Levon  <levon@movementarian.org>
9981
9982         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9983
9984 2002-07-30  John Levon  <levon@movementarian.org>
9985
9986         * lyxserver.h:
9987         * lyxserver.C: remove I/O callback too
9988
9989 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9990
9991         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9992         log.
9993
9994 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9995
9996         * many files: strip,frontStrip -> trim,ltrim,rtrim
9997
9998 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9999
10000         * PrinterParams.h: remove extern containsOnly, and include
10001         support/lstrings.h instead.
10002
10003         * LaTeX.C (scanAuxFile): modify because of strip changes
10004         (deplog): ditto
10005         * buffer.C (makeLaTeXFile): ditto
10006         * bufferparams.C (writeFile): ditt
10007         * lyxfont.C (stateText): ditto
10008         * lyxserver.C (read_ready): ditto
10009         * vc-backend.C (scanMaster): ditto
10010
10011         * BufferView_pimpl.h: ws changes
10012
10013         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10014
10015 2002-07-26  André Pönitz <poenitz@gmx.net>
10016
10017         * kb_sequence.C: remove unnedred usings
10018
10019 2002-07-26  Juergen Vigna  <jug@sad.it>
10020
10021         * lyxfind.C (LyXReplace): we have to check better if the returned
10022         text is not of theLockingInset()->getLockingInset().
10023
10024 2002-07-25  Juergen Vigna  <jug@sad.it>
10025
10026         * lyxfind.C (LyXReplace): don't replace if we don't get the
10027         right LyXText.
10028
10029         * undo_funcs.C (createUndo): remove debugging code.
10030
10031 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10032
10033         * buffer.C (parseSingleLyXformat2Token): Use default placement
10034         when reading old floats.
10035
10036         * FloatList.C (FloatList): Change the default placement of figure
10037         and tables to "tbp".
10038
10039 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * MenuBackend.C: using std::max
10042
10043 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * MenuBackend.C (expandToc):
10046         (expandToc2): code moved from xforms menu frontend. It is now
10047         generic and TOCs are transparent to menu frontends.
10048
10049 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10050
10051         * toc.C (getTocList): protect against buf=0
10052
10053         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10054         Menu as first parameter. Now, this calls itself recursively to
10055         expand a whole tree (this will be useful for TOC handling)
10056         (expandFloatInsert): remove 'wide' version of floats
10057
10058         * MenuBackend.h (submenuname): returns the name of the submenu.
10059         (submenu): returns the submenu itself, provided it has been
10060         created by MenuBackend::expand
10061
10062 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10063
10064         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10065         insets which have noFontChange == true. (bug #172)
10066
10067 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * BufferView_pimpl.C: add connection objects and use them...
10070         (Pimpl): here.
10071
10072 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10073
10074         * MenuBackend.C (expandLastfiles):
10075         (expandDocuments):
10076         (expandFormats):
10077         (expandFloatListInsert):
10078         (expandFloatInsert):
10079         (expand): split expand in parts
10080
10081 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * lyx_gui.C: use lyx_gui::exit()
10084
10085 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10086
10087         * LyXAction.C: show the failing pseudo action
10088
10089 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10090
10091         * buffer.C (readFile): Run the lyxconvert script in order to read
10092         old files.
10093
10094 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * LyXAction.C:
10097         * commandtags.h:
10098         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10099
10100 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10101
10102         * LyXAction.C:
10103         * commandtags.h:
10104         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10105
10106 2002-07-22  Herbert Voss  <voss@lyx.org>
10107
10108         * lengthcommon.C:
10109         * lyxlength.[Ch]: add support for the vertical lengths
10110
10111 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10112
10113         * toc.[Ch]: std:: fixes
10114
10115 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10116
10117         * lyxrc.C: do not include lyx_main.h
10118
10119         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10120         for layouts
10121
10122         * lyxrc.C:
10123         * encoding.C:
10124         * bufferlist.C:
10125         * BufferView2.C: include "lyxlex.h"
10126
10127         * tabular.h:
10128         * bufferparams.h: do not #include "lyxlex.h"
10129
10130         * lyxtextclasslist.C (Add): remove method
10131         (classlist): renamed to classlist_
10132
10133         * paragraph_pimpl.C:
10134         * paragraph.C:
10135         * text2.C:
10136         * CutAndPaste.C:
10137         * bufferview_funcs.C:
10138         * bufferlist.C:
10139         * text.C:
10140         * LaTeXFeatures.C:
10141         * buffer.C:
10142         * toc.C (getTocList): use BufferParams::getLyXTextClass
10143
10144         * toc.C (getTocList): use InsetFloat::addToToc
10145
10146         * toc.[Ch]: new files, containing helper functions to handle table
10147         of contents
10148
10149         * lyxfunc.C (dispatch): no need to remove spaces around command
10150         given as a string
10151         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10152         first command of the sequence; it is not very clever, but I do not
10153         have a better idea, actually
10154
10155         * LyXAction.C (LookupFunc): make sure to remove space at the
10156         beginning and end of the command
10157
10158 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10159
10160         * MenuBackend.C (getMenubar): new method: return the menubar of
10161         this menu set
10162         (read): treat differently reading of menu and menubar (in
10163         particular, the menubar has no name now)
10164         (Menu::menubar): remove
10165
10166         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10167         saving is finished
10168
10169 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10170
10171         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10172         a bibitem inset in a RTL paragraph.
10173
10174 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * paragraph_pimpl.C: constify
10177
10178         * BufferView_pimpl.C:
10179         * LaTeX.C:
10180         * lyxfunc.C: fix dispatch in a nicer way
10181
10182 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * lyxfunc.C (dispatch):
10185         * BufferView_pimpl.C:
10186         * BufferView_pimpl.h:
10187         * BufferView.C:
10188         * BufferView.h: rename Dispatch() to dispatch()
10189
10190         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10191
10192         * lyxlayout.C (Read): honor DependsOn tag
10193
10194         * lyxlayout.[Ch] (depends_on): new method
10195
10196         * version.C.in: update lyx_docversion
10197
10198         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10199
10200         * paragraph.C (validate): remove from here...
10201         * paragraph_pimpl.C (validate): ... and move here
10202         (isTextAt): make it const
10203
10204         * buffer.C (getLists): ws cleanup
10205
10206 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10207
10208         * language.C (read): Use iso8859-1 encoding in latex_lang
10209         (this prevents LyX from crashing when using iso10646-1 encoding).
10210
10211 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10212
10213         * text2.C (toggleInset): if cursor is inside an inset, close the
10214         inset and leave cursor _after_ it
10215
10216 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10217
10218         * lyxfunc.C: move minibuffer completion handling out of here
10219
10220 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10221
10222         * BufferView_pimpl.C:
10223         * LaTeX.C: fix dispatch calls
10224
10225 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10226
10227         * text.C (drawChars): Fix Arabic text rendering.
10228
10229 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * LyXAction.C:
10232         * commandtags.h:
10233         * lyxfunc.C: remove message-push/pop
10234
10235         * lyxserver.C:
10236         * lyxfunc.h:
10237         * lyxfunc.C: rationalise some code by removing verboseDispatch
10238           in favour of a bool argument to dispatch()
10239
10240 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10241
10242         * lyx_main.C (init): make sure to read symlinks as absolute paths
10243
10244 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10245
10246         * lyxfunc.h:
10247         * lyxfunc.C: no need for commandshortcut to be a member
10248
10249 2002-07-15  André Pönitz <poenitz@gmx.net>
10250
10251         * converter.C: add support for $$s (scripts from lib/scripts dir)
10252         * lyx_main.C: white space
10253
10254 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * bufferlist.C:
10257         * lyxrc.h:
10258         * lyxrc.C: remove second exit confirmation
10259
10260 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * BufferView.h:
10263         * BufferView.C:
10264         * BufferView2.C:
10265         * BufferView_pimpl.h:
10266         * BufferView_pimpl.C:
10267         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10268
10269 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * MenuBackend.C (expand): add numeric shortcuts to document menu
10272
10273         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10274
10275 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * lyxfont.C (setLyXFamily):
10278         (setLyXSeries):
10279         (setLyXShape):
10280         (setLyXSize):
10281         (setLyXMisc):
10282         (lyxRead):
10283         * debug.C (value):
10284         * buffer.C (asciiParagraph): use ascii_lowercase
10285
10286 2002-07-15  Mike Fabian  <mfabian@suse.de>
10287
10288         * lyxlex_pimpl.C (search_kw):
10289         * lyxlex.C (getLongString):
10290         * converter.h (operator<):
10291         * converter.C (operator<):
10292         * buffer.C (parseSingleLyXformat2Token):
10293         (asciiParagraph):
10294         * ToolbarDefaults.C (read):
10295         * MenuBackend.C (checkShortcuts):
10296         (read):
10297         * LColor.C (getFromGUIName):
10298         (getFromLyXName): use the compare_ascii_no_case instead of
10299         compare_no_case, because in turkish, 'i' is not the lowercase
10300         version of 'I', and thus turkish locale breaks parsing of tags.
10301
10302 2002-07-16  Angus Leeming  <leeming@lyx.org>
10303
10304         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10305         now takes a Buffer const & argument.
10306
10307 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10308
10309         * BufferView.C (resize): check there's a buffer to resize
10310
10311 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10312
10313         * lyxfunc.C: remove dead code
10314
10315         * lyxserver.h:
10316         * lyxserver.C: use lyx_guii::set_read_callback
10317
10318 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10319
10320         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10321         an inset in a RTL paragraph.
10322
10323 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10324
10325         * lyxfunc.C: repaint after a font size update
10326
10327 2002-07-15  André Pönitz <poenitz@gmx.net>
10328
10329         * lyxlength.C: inBP should be able to return negative values
10330
10331 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * lyxfunc.C: use lyx_gui::update_fonts()
10334
10335 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10336
10337         * lyxfunc.C: use lyx_gui::update_color()
10338
10339 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * bufferlist.C:
10342         * lyxfunc.h:
10343         * lyxfunc.C:
10344         * lyxrc.h:
10345         * lyxrc.C: remove file->new asks for name option, and let
10346           buffer-new take an argument
10347
10348 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * BufferView_pimpl.C: remove unneeded extra repaint()
10351
10352 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * LyXAction.C: allow command-sequence with NoBuffer
10355
10356         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10357
10358 2002-07-10  Angus Leeming  <leeming@lyx.org>
10359
10360         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10361
10362 2002-07-09  Angus Leeming  <leeming@lyx.org>
10363
10364         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10365
10366 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * lengthcommon.h: whitespace
10369
10370         * lyxfunc.C: update scrollbar after goto paragraph
10371
10372         * lyxtext.h: factor out page break drawing, and fix it so
10373           page break/added space paints as selected nicely
10374
10375 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10376
10377         * BufferView_pimpl.C: add FIXMEs, clean up a little
10378
10379 2002-07-09  André Pönitz <poenitz@gmx.net>
10380
10381         * lyxfont.[Ch]: support for wasy symbols
10382
10383 2002-07-08  André Pönitz <poenitz@gmx.net>
10384
10385         * BufferView_pimpl.C: apply John's patch for #93.
10386
10387 2002-07-05  Angus Leeming  <leeming@lyx.org>
10388
10389         * BufferView_pimpl.C (buffer): generate previews if desired.
10390
10391         * LColor.h: add "preview" to the color enum.
10392
10393         * LColor.C (LColor): add a corresponding entry to the items array.
10394
10395         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10396         with this buffer.
10397
10398 2002-07-05  Angus Leeming  <leeming@lyx.org>
10399
10400         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10401         The body of the code is now in the method that is passed an ostream &
10402         rather than a file name.
10403         Pass an additional only_preamble parameter, useful for the forthcoming
10404         preview stuff.
10405
10406 2002-07-03  André Pönitz <poenitz@gmx.net>
10407
10408         * lyxfunc.C: simplify getStatus() a bit for math stuff
10409
10410 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10411
10412         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10413
10414 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10415
10416         * text.C (changeRegionCase): do not change case of all the
10417         document when region ends at paragraph end (bug #461)
10418
10419 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10420
10421         * paragraph.C (startTeXParParams):
10422         (endTeXParParams): add \protect when necessary
10423
10424 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * BufferView_pimpl.C (workAreaExpose): remove warning
10427
10428 2002-06-27  Angus Leeming  <leeming@lyx.org>
10429
10430         * Makefile.am: add lyxlayout_ptr_fwd.h.
10431
10432 2002-06-26  André Pönitz <poenitz@gmx.net>
10433
10434         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10435
10436 2002-06-25  Angus Leeming  <leeming@lyx.org>
10437
10438         * lyxfunc.C (dispatch): Comment out the call to
10439         grfx::GCache::changeDisplay. The method no longer exists now that the
10440         pixmap generation part of the graphics loader has been moved into
10441         InsetGraphics.
10442
10443 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10444
10445         * text2.C: layout as layout
10446
10447         * text.C: layout as layout
10448
10449         * tabular.C (OldFormatRead): layout as layout
10450
10451         * paragraph_pimpl.C (TeXDeeper): layout as layout
10452         (realizeFont): layout as layout
10453
10454         * paragraph.C (writeFile): layout as layout
10455         (validate): layout as layout
10456         (getFont): layout as layout
10457         (getLabelFont): layout as layout
10458         (getLayoutFont): layout as layout
10459         (breakParagraph): layout as layout
10460         (stripLeadingSpaces): layout as layout
10461         (getEndLabel): layout as layout
10462         (getMaxDepthAfter): layout as layout
10463         (applyLayout): layout as layout
10464         (TeXOnePar): layout as layout
10465         (simpleTeXOnePar): layout as layout
10466         (TeXEnvironment): layout as layout
10467         (layout): layout as layout
10468         (layout): layout as layout
10469
10470         * lyxtextclass.C (compare_name): new functor to work with
10471         shared_ptr, layout as layout
10472         (Read): layout as layout
10473         (hasLayout): layout as layout
10474         (operator): layout as layout
10475         (delete_layout): layout as layout
10476         (defaultLayout): layout as layout
10477
10478         * lyxlayout_ptr_fwd.h: new file
10479
10480         * lyxlayout.C (Read): layout as layout
10481
10482         * lyx_cb.C (MenuInsertLabel): layout as layout
10483
10484         * bufferlist.C (newFile): layout as layout
10485
10486         * buffer.C (readLyXformat2): layout as layout
10487         (parseSingleLyXformat2Token): layout as layout
10488         (insertStringAsLines): layout as layout
10489         (asciiParagraph): layout as layout
10490         (latexParagraphs): layout as layout
10491         (makeLinuxDocFile): layout as layout
10492         (simpleLinuxDocOnePar): layout as layout
10493         (makeDocBookFile): layout as layout
10494         (simpleDocBookOnePar): layout as layout
10495         (getLists): layout as layout
10496
10497         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10498
10499         * CutAndPaste.C (cutSelection): layout as layout
10500         (pasteSelection): layout as layout
10501         (SwitchLayoutsBetweenClasses): layout as layout
10502
10503         * BufferView_pimpl.C (Dispatch): layout as layout
10504         (smartQuote): layout as layout
10505
10506         * BufferView2.C (unlockInset): layout as layout
10507
10508 2002-06-24  André Pönitz <poenitz@gmx.net>
10509
10510         * lyxfunc.C: fix #487
10511
10512 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * lyxrc.h:
10515         * lyxrc.C:
10516         * lyxfunc.C: remove display_shortcuts, show_banner
10517
10518 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * Buffer_pimpl.C: oops, update on resize
10521
10522 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10523
10524         * buffer.C:
10525         * converter.C:
10526         * exporter.C:
10527         * lyxfunc.C:
10528         * BufferView.h:
10529         * BufferView.C: use repaint()
10530
10531         * BufferView_pimpl.h:
10532         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10533           as it's a clearer description. Remove superfluous
10534           redraws.
10535
10536 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10537
10538         * text.C: fix bug 488. Not ideal, but getting
10539           getWord() to work properly for the insets that
10540           matter is more difficult ...
10541
10542 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * BufferView_pimpl.C:
10545         * LyXAction.C:
10546         * commandtags.h:
10547         * lyxfunc.C: remove the six million index lyxfuncs to just
10548           one, and DTRT (bug 458)
10549
10550 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * BufferView.h:
10553         * BufferView.C:
10554         * BufferView_pimpl.h:
10555         * BufferView_pimpl.C: clean up resize() stuff,
10556           and unnecessary updateScreen()s
10557
10558 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * BufferView.h:
10561         * BufferView.C:
10562         * BufferView_pimpl.h:
10563         * BufferView_pimpl.C:
10564         * lyxfind.h:
10565         * lyxfind.C:
10566         * minibuffer.C: remove focus management of workarea,
10567           not needed. Use screen's greyOut()
10568
10569 2002-06-17  Herbert Voss  <voss@lyx.org>
10570
10571         * converter.C: (convert) do not post a message, when converting
10572         fails, let the calling function decide what to do in this case
10573
10574 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * lyxfunc.C: tidy up a little
10577
10578 2002-06-16    <alstrup@diku.dk>
10579
10580         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10581         Got rid of FORMS_H_LOCATION include. Now we are
10582         GUII.
10583
10584 2002-06-15  LyX Development team  <lyx@rilke>
10585
10586         * buffer.[Ch] (sgmlOpenTag):
10587         (sgmlCloseTag): Added support for avoiding pernicious mixed
10588         content. Return number of lines written.
10589
10590         (makeLinuxDocFile):
10591         (makeDocBookFile): Fixed calls to sgml*Tag.
10592         Simple white space clean.
10593
10594         (simpleDocBookOnePar): Simple white space clean.
10595
10596         * tabular.[Ch] (docBook): Renamed to docbook and got another
10597         argument to related with the pernicious mixed content.
10598
10599         (docbookRow): Fixed calls for docbook inset method.
10600
10601 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10602
10603         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10604         so it's X11 independent.
10605
10606         * kb*.[Ch]: ditto.
10607
10608         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10609
10610 2002-06-15  Lyx Development team  <lyx@electronia>
10611
10612         * intl.h: Renamed getTrans to getTransManager.
10613
10614 2002-06-14  Angus Leeming  <leeming@lyx.org>
10615
10616         * Makefile.am: nuke forgotten stl_string_fwd.h.
10617
10618 2002-06-12  Angus Leeming  <leeming@lyx.org>
10619
10620         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10621
10622 2002-06-13  Angus Leeming  <leeming@lyx.org>
10623
10624         * LaTeX.C:
10625         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10626
10627 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10628
10629         * kbmap.C (getiso): add support for cyrillic and greek
10630
10631 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * BufferView.h:
10634         * BufferView.C:
10635         * BufferView_pimpl.h:
10636         * BufferView_pimpl.C: move bogus scrolling logic
10637           to xforms
10638
10639 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * lyxfunc.C:
10642         * BufferView_pimpl.C: view->resize() change
10643
10644 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10645
10646         * BufferView_pimpl.C: topCursorVisible
10647           prototype change
10648
10649 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10650
10651         * Makefile.am:
10652         * lyx_gui.h:
10653         * lyx_gui.C: move to frontends/
10654
10655         * main.C:
10656         * lyx_main.h:
10657         * lyx_main.C: changes from above
10658
10659 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * intl.C:
10662         * intl.h:
10663         * kbmap.C:
10664         * kbsequence.C:
10665         * lyx_cb.C:
10666         * lyx_main.C: minor tidy
10667
10668 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10669
10670         * BufferView_pimpl.h:
10671         * BufferView_pimpl.C:
10672         * BufferView.h:
10673         * BufferView.C: make painter() const,
10674           remove dead code
10675
10676         * BufferView2.C: use screen() accessor
10677
10678         * lyx_main.h:
10679         * lyx_main.C: some minor cleanup
10680
10681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * BufferView_pimpl.h:
10684         * BufferView_pimpl.C: remove enter/leaveView,
10685           use workHeight()
10686
10687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * BufferView.h:
10690         * BufferView.C:
10691         * BufferView2.C:
10692         * BufferView_pimpl.h:
10693         * BufferView_pimpl.C: only construct screen once,
10694           rename
10695
10696         * lyxrc.C: remove pointless comment
10697
10698 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * BufferView.h:
10701         * BufferView.C: remove active() and belowMouse()
10702
10703         * BufferView_pimpl.h:
10704         * BufferView_pimpl.C: use workarea() not workarea_,
10705           and make it use a scoped_ptr instead
10706
10707 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10708
10709         * lyx_gui.C: add debug message on BadWindow
10710
10711 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10712
10713         * sp_spell.C: fdopen is not part of the C++ standard.
10714
10715         * paragraph.C (InsetIterator): use >= instead of ==
10716
10717 2002-06-07  Angus Leeming  <leeming@lyx.org>
10718
10719         Fixes needed to compile with Compaq cxx 6.5.
10720         * BufferView_pimpl.C:
10721         * DepTable.C:
10722         * buffer.C:
10723         * converter.C:
10724         * encoding.C:
10725         * lyx_gui.C:
10726         * lyx_main.C:
10727         * lyxtextclasslist.C:
10728         * minibuffer.C:
10729         * sp_spell.C:
10730         * tabular_funcs.C:
10731         * vc-backend.C:
10732         all c-library variables have been moved into namespace std. Wrap
10733         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10734
10735         * lyxlength.C:
10736         * tabular-old.C:
10737         * tabular.C:
10738         Add a using std::abs declaration.
10739
10740         * kbmap.h (modifier_pair):
10741         * paragraph.h (InsetTable, InsetList):
10742         * lyxfont.h (FontBits):
10743         type definition made public.
10744
10745         * bufferlist.C (emergencyWriteAll): the compiler complains that
10746         there is more than one possible lyx::class_fun template to choose from.
10747         I re-named the void specialisation as lyx::void_class_fun.
10748
10749         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10750
10751         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10752         the compiler is is unable to find tostr in write_attribute.
10753
10754 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10755
10756         * buffer.C (sgmlError): hide #warning
10757
10758 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10759
10760         * xtl/*: get rid of xtl, which is not in use anyway
10761
10762         * LyXAction.C (init):
10763         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10764         were unimplemented xtl experimentation
10765
10766 2002-06-04  André Pönitz <poenitz@gmx.net>
10767
10768         * lyxfunc.C: disable array operation on simple formulae
10769
10770 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10771
10772         * converter.C: constify a bit
10773
10774 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * lyx_gui.C: check xforms version correctly
10777
10778 2002-04-30  Herbert Voss  <voss@lyx.org>
10779
10780         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10781         "keep" option
10782
10783 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10784
10785         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10786           attempt to register it with a VCS)
10787
10788 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10789
10790         * lyx_main.C (init): honor variables LYX_DIR_13x and
10791         LYX_USERDIR_13x
10792
10793 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * buffer.h:
10796         * buffer.C:
10797         * lyx_main.C: fix a crash on bad command line,
10798           and give a useful exit status on error
10799
10800         * lyxfunc.C (doImport): allow -i lyx to work
10801
10802 2002-03-30  André Pönitz <poenitz@gmx.net>
10803
10804         * lyxfunc.C: mathed font changes
10805
10806 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * LaTeX.C:
10809         * importer.h:
10810         * importer.C:
10811         * lyx_sty.h:
10812         * lyx_sty.C:
10813         * lyxlex.C:
10814         * lyxrow.h:
10815         * lyxtext.h:
10816         * paragraph.h:
10817         * paragraph.C:
10818         * texrow.h:
10819         * texrow.C:
10820         * text.C:
10821         * trans_mgr.h: srcdocs, and some minor cleanups
10822
10823 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10826         call getFont all the time)
10827
10828 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * switch from SigC signals to boost::signals
10831
10832 2002-05-29  André Pönitz <poenitz@gmx.net>
10833
10834         * paragraph_pimpl.C (getChar): don't call size() too often...
10835
10836 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10837
10838         * paragraph_pimpl.C (insertChar): do not try to update tables when
10839         appending (pos == size())
10840
10841         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10842         in order to reduce drastically the number of comparisons needed to
10843         parse a large document
10844
10845 2002-05-29  André Pönitz <poenitz@gmx.net>
10846
10847         * text.C:
10848         * text2.C:
10849         * lyxtextclass.C:
10850         * sp_pspell.h:
10851         * textclasslist.[Ch]:
10852         * sp_ispell.h: whitespace change
10853
10854 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10857         lyxaction directly now.
10858
10859 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * trans.C:
10862         * lyxfont.C:
10863         * lyxvc.C: remove unused headers
10864
10865 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * Makefile.am:
10868         * buffer.h:
10869         * undostack.h:
10870         * undostack.C:
10871         * undo_funcs.h:
10872         * undo_funcs.C: some cleanups. Use shared_ptr
10873           and a template for the undo stacks.
10874
10875 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10876
10877         * BufferView_pimpl.h:
10878         * BufferView_pimpl.C:
10879         * kbmap.h:
10880         * kbmap.C:
10881         * kbsequence.h:
10882         * kbsequence.C:
10883         * lyxfunc.h:
10884         * lyxfunc.C:
10885         * text2.C: use key_state/mouse_state
10886
10887 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10890         and LSubstring
10891
10892         * chset.C: change include order
10893         (loadFile): use boost regex and get rid of LRegex and LSubstring
10894
10895         * Makefile.am (BOOST_LIBS): new variable
10896         (lyx_LDADD): use it
10897
10898         * LaTeX.C: change include order.
10899         (scanAuxFile): use boost regex and get rid of LRegex and
10900         LSubstring
10901         (deplog): ditto
10902
10903 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * ColorHandler.h:
10906         * ColorHandler.C:
10907         * FontInfo.h:
10908         * FontInfo.C: moved to frontends/xforms/
10909
10910         * FontLoader.h:
10911         * FontLoader.C: moved into frontends for GUIIzation
10912
10913         * Makefile.am:
10914         * lyx_gui.C:
10915         * lyxfont.C:
10916         * lyxfunc.C: changes from above
10917
10918 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10919
10920         * LColor.C: remove spurious X include
10921
10922         * BufferView_pimpl.C:
10923         * Makefile.am:
10924         * font.h:
10925         * font.C:
10926         * text.C:
10927         * text2.C: move font metrics to frontends/
10928
10929 2002-05-24  Juergen Vigna  <jug@sad.it>
10930
10931         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10932         setting the undo_cursor.
10933
10934         * ParagraphParameters.h: include local includes first.
10935
10936 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * BufferView_pimpl.C:
10939         * BufferView_pimpl.h:
10940         * Makefile.am:
10941         * WorkArea.h:
10942         * WorkArea.C:
10943         * screen.C: move WorkArea into frontends/
10944
10945         * lyxscreen.h:
10946         * screen.C:
10947         * text.C:
10948         * BufferView.C:
10949         * BufferView2.C: move LyXScreen into frontends/
10950
10951         * lyxlookup.h:
10952         * lyxlookup.C:
10953         * lyx_gui.C: move lyxlookup into frontends/xforms/
10954
10955 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * BufferView2.C:
10958         * BufferView_pimpl.C:
10959         * FontLoader.C:
10960         * LyXView.h:
10961         * LyXView.C:
10962         * Makefile.am:
10963         * WorkArea.C:
10964         * XFormsView.h:
10965         * XFormsView.C:
10966         * buffer.C:
10967         * bufferlist.C:
10968         * bufferview_funcs.C:
10969         * converter.C:
10970         * importer.C:
10971         * lyx_cb.C:
10972         * lyx_gui.C:
10973         * lyx_main.C:
10974         * lyx_find.C:
10975         * lyxfunc.C:
10976         * lyxvc.C:
10977         * minibuffer.C:
10978         * text.C:
10979         * text2.C:
10980         * trans.C:
10981         * vc-backend.C: move LyX/XFormsView into frontends/
10982
10983 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * Makefile.am:
10986         * PainterBase.C:
10987         * PainterBase.h:
10988         * Painter.C:
10989         * Painter.h:
10990         * WorkArea.C:
10991         * WorkArea.h:
10992         * screen.C:
10993         * tabular.C:
10994         * text.C:
10995         * text2.C: move Painter to frontends/
10996
10997 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10998
10999         * buffer.C: comment out some some code that depend upon lyx_format
11000         < 220
11001
11002         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11003         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11004
11005         * buffer.h (NO_COMPABILITY): turn off compability
11006
11007         * ColorHandler.C: include scoped_array.hpp
11008
11009         * font.C: Use more specific smart_ptr header.
11010         * Painter.C: ditto
11011         * gettext.C: ditto
11012         * ShareContainer.h: ditto
11013         * lyx_main.h: ditto
11014         * kbmap.h: ditto
11015         * FontInfo.h: ditto
11016         * BufferView_pimpl.h: ditto
11017         * ColorHandler.h: ditto
11018
11019         * kbmap.C (defkey): change call to shared_ptr::reset
11020
11021 2002-05-21  Juergen Vigna  <jug@sad.it>
11022
11023         * buffer.C (insertErtContents): fix to insert ert asis if it is
11024         non empty. Skip it completely if it contains only whitespaces.
11025
11026 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11027
11028         * BufferView_pimpl.C:
11029         * BufferView2.C: clear selection on paste (bug 393)
11030
11031 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11032
11033         * DepTable.C: include ctime
11034
11035 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11036
11037         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11038
11039 2002-05-14  Juergen Vigna  <jug@sad.it>
11040
11041         * text.C (breakParagraph): fixed function to honor the keepempty
11042         layout in the right maner and also to permit the right breaking
11043         algorithm on empty or non empyt keepempty paragraphs.
11044
11045         * paragraph.C (breakParagraph): we have to check also if the par
11046         is really empty (!size()) for isempty otherwise we do the wrong
11047         paragraph break.
11048
11049 2002-05-10  Juergen Vigna  <jug@sad.it>
11050
11051         * buffer.[Ch] : The following are only changes to the ert
11052         compatibility read reading old LaTeX layout and font stuff and
11053         convert it to ERTInsets.
11054
11055         * buffer.h: added isErtInset().
11056
11057         * buffer.C (struct ErtComp): add a fromlayout bool to check
11058         if we're inside a LaTeX layout.
11059         (isErtInset): new helper function.
11060         (insertErtContents): look for other ert insets before this one
11061         and insert the contents there, so that we don't have subsequent
11062         ERT insets with nothing between them. This way we create only one
11063         inset with multiple paragraphs. Also check if we don't insert only
11064         spaces ' ' as they are ignored anyway afterwards in the .tex file
11065         so if we have only spaces we will ignore this latex part in the
11066         new file.
11067         (parseSingleLyXformat2Token \\layout): better compatibility when
11068         reading layout-latex stuff.
11069         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11070         language tag.
11071         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11072         stuff after reading the inset only get the information back from
11073         the stack.
11074
11075 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11076
11077         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11078
11079         * LaTeXFeatures.C (getBabelOptions): New method.
11080
11081 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11082
11083         * BufferView_pimpl.C (Dispatch): work around missing argument for
11084         'layout'
11085
11086 2002-05-08  Juergen Vigna  <jug@sad.it>
11087
11088         * text.C (leftMargin): handle paragraph leftindent.
11089
11090         * paragraph.C (writeFile): write the new \\leftindent tag.
11091         (validate): handle leftindent code.
11092         (TeXEnvironment): handle paragraphleftindent code again.
11093
11094         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11095
11096         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11097         for paragrap_extra indent code and new token \\leftindent.
11098         (latexParagraphs): handle the leftindent as environment.
11099
11100         * ParameterStruct.h: added leftindent support.
11101
11102         * ParagraphParameters.C (leftIndent): added support functions for
11103         the paragraph left indent.
11104
11105         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11106         more appropriate.
11107
11108 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11109
11110         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11111         inside insetERT.
11112
11113         * text.C (computeBidiTables): No bidi in insetERT.
11114
11115         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11116         in RTL documents.
11117
11118 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11119
11120         * version.C.in: pre 5
11121
11122 2002-05-02  José Matos  <jamatos@fep.up.pt>
11123         * buffer.C (makeDocBookFile): white space changes, add newline to
11124         command styles.
11125         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11126
11127         * tabular.C (docBook): fix typo.
11128
11129 2002-05-03  Juergen Vigna  <jug@sad.it>
11130
11131         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11132         change in LyXText as we can not be sure it was not freed.
11133         (drawOneRow): remove unused code.
11134
11135         * text.C (drawInset): redo the calculation of the need_break_row as
11136         it could have a row which was already freed.
11137         (draw): look at the return value of drawInset and return false if
11138         it also returned false.
11139         (paintRowText): look at the return value of draw and return false if
11140         it also returned false.
11141
11142         * lyxtext.h: added bool return type to drawInset() and draw() so that
11143         if we have a change in the row so that the rowbreak has to be redone
11144         we abort drawing as it will be called again.
11145
11146 2002-05-02  Juergen Vigna  <jug@sad.it>
11147
11148         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11149         a change in the maintext also if we're inside an inset.
11150         (Dispatch): set the cursor again after a break line and after the
11151         screen has been updated as it could be we're in a different row.
11152
11153         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11154         to set the cursor behind the pargraph with > size().
11155         (setCursor): check also for the same paragraph when checking where
11156         to put the cursor if we have a NFR inset.
11157
11158         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11159         parts of layout read further up as it still was in the wrong
11160         position.
11161
11162 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11163
11164         * screen.C (drawFromTo): change sine fullRebreak always return
11165         true.
11166
11167         * buffer.C (parseSingleLyXformat2Token): reindent some
11168
11169         * BufferView_pimpl.C (update): change since fullRebreak always
11170         return true.
11171         (Dispatch): git rid of the last hardcoded "Standard"s.
11172
11173 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11174
11175         * text2.[Ch] (fullRebreak): make it return void now that we always
11176         returned true.
11177
11178 2002-04-30  Juergen Vigna  <jug@sad.it>
11179
11180         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11181         ert compatibility check for "latex" layout.
11182
11183 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11184
11185         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11186         minipages: use col% instead of p%, and also use the current font.
11187         (makeLaTeXFile): Fix use babel condition.
11188         (parseSingleLyXformat2Token): Correct font when reading old floats.
11189
11190 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11191
11192         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11193         inserting list of floats.
11194
11195 2002-04-25  Herbert Voss  <voss@lyx.org>
11196
11197         * MenuBackend.C (expand): don't add the graphics extensions to the
11198         export menu
11199
11200 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11201
11202         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11203         non-existing layout, do not complain if it was the default layout
11204         of the original class (bug #342)
11205
11206 2002-04-24  Juergen Vigna  <jug@sad.it>
11207
11208         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11209         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11210
11211 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11212
11213         * buffer.C (getBibkeyList): If using \bibliography, return the
11214         option field with the reference itself. Enables us to provide natbib
11215         support when using \bibliography.
11216
11217 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11218
11219         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11220
11221         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11222         natbib is provided by the LaTeX class.
11223
11224 2002-04-23  Juergen Vigna  <jug@sad.it>
11225
11226         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11227         Wakeup functions.
11228
11229         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11230
11231 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11232
11233         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11234
11235         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11236         ensuremath around textordmasculine, textordfeminine and
11237         textdegree.
11238
11239 2002-04-19  Juergen Vigna  <jug@sad.it>
11240
11241         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11242         reinitializing the buffer otherwise row-dimensions may be wrong.
11243         (update): reset also the selection cursors if they do exits otherwise
11244         their x/y positions may be wrong.
11245
11246         * text2.C (cursorDown): don't enter the inset if we came from a row
11247         above and are one row over the inset.
11248
11249         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11250         really leaving an inset.
11251
11252 2002-04-18  Juergen Vigna  <jug@sad.it>
11253
11254         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11255         of the selected paragraph does not have the selected layout also if
11256         the last one had!
11257
11258         * text2.C (setLayout): fixed bug which did not change last selected
11259         paragraph.
11260
11261         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11262         changed the read and substituted \\end_float with \\end_inset!
11263
11264         * BufferView_pimpl.C (cursorPrevious):
11265         (cursorNext): fixed to make it work with rows heigher than the work
11266         area without moving the cursor only the draw of the row.
11267         (workAreaMotionNotify): fix jumping over high rows.
11268
11269 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11272         Ressler.
11273
11274 2002-04-16  Juergen Vigna  <jug@sad.it>
11275
11276         * text2.C (setCursor): set also the irow().
11277         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11278         (cursorUp):
11279         (cursorDown): support for locking an inset if the x_fix value goes
11280         inside it. That way I can transverse insets too with cursor up/down.
11281
11282         * lyxrow.h: added irow helper function same as other (i) functions.
11283
11284         * BufferView_pimpl.C (cursorPrevious):
11285         (cursorNext): fixed for insets!
11286
11287 2002-04-15  Juergen Vigna  <jug@sad.it>
11288
11289         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11290         position otherwise it is wrong in some cases.
11291
11292         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11293         inside the inset before the call.
11294
11295 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11296
11297         * buffer.[Ch] (getBibkeyList): make it const.
11298
11299 2002-04-12  Juergen Vigna  <jug@sad.it>
11300
11301         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11302
11303         * text2.C (getCursorX): new helper function
11304         (setCursor): compute also ix_
11305         (setCursorFromCoordinates): set also ix.
11306
11307         * lyxcursor.h: added ix_ and helper functions.
11308
11309         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11310
11311         * buffer.C (insertStringAsLines): dont break paragraph if the this
11312         paragraph is inside an inset which does not permit it!
11313
11314         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11315         also with no chars on this paragraph.
11316         (paintRowText): only paint stuff if it's inside the workarea!
11317
11318         * paragraph.C (breakParagraph): honor keepempty flag and break the
11319         paragraph always below not above.
11320
11321         * BufferView2.C (unlockInset): update the paragraph layout on inset
11322         unlock as we changed paragraph in such a case.
11323
11324         * lyxfind.C (LyXFind): clear the former selection if not found!
11325
11326         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11327         again called in insertChar().
11328
11329         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11330         an inset which uses the whole row!
11331         (rightMargin): ditto.
11332         (insertChar): force a rebreak if we inserted an inset!
11333
11334 2002-03-28  Herbert Voss  <voss@lyx.org>
11335
11336         * lyxlength.[Ch]: add inBP() to get the right PS-point
11337         units (BigPoint). With inPixels we have rounding errors
11338
11339 2002-04-11  Juergen Vigna  <jug@sad.it>
11340
11341         * text2.C (setCursorFromCoordinates): set iy to the right value.
11342         (setCursor): add check if row->previous exists!
11343
11344         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11345         an old float_type as this was the case in the old code!
11346
11347         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11348
11349         * BufferView2.C (showLockedInsetCursor): use iy
11350         (fitLockedInsetCursor): ditto
11351
11352         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11353         locked insets as there we have the right value now.
11354
11355         * lyxcursor.C: added iy_ variable and iy functions to set to the
11356         baseline of cursor-y of the locked inset.
11357
11358         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11359         (setCursor): fixed for insets which need a full row.
11360
11361         * text.C (rowLastPrintable): don't ignore the last space when before
11362         an inset which needs a full row.
11363         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11364         as last character of a row when before a inset which needs a full row.
11365
11366 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11367
11368         * version.C.in: update date
11369
11370         * text2.C (fullRebreak): try to always return true and see what
11371         happens...
11372
11373 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * MenuBackend.C (expand): use Floating::listName
11376
11377         * FloatList.C (FloatList): add listName argument to the built-in
11378         floats
11379
11380         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11381         text associated with the float.
11382
11383 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11384
11385         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11386
11387 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11388
11389         * ShareContainer.h: add a couple of missing typenames.
11390
11391 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11392
11393         * lyxrc.C (getDescription): use _() correctly rather than N_().
11394
11395 2002-03-28  Herbert Voss  <voss@lyx.org>
11396
11397         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11398         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11399
11400 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11401
11402         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11403         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11404
11405 2002-03-29  Juergen Vigna  <jug@sad.it>
11406
11407         * lyxfunc.C (dispatch): add a missing fitCursor call.
11408
11409         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11410         it was scrolled by a cursor move, so return the bool status.
11411
11412         * BufferView.C (fitCursor): return the bool flag also to the outside
11413         world as this is needed.
11414
11415         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11416
11417         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11418         call the edit() as it is not needed (and wrong) IMO.
11419         (workAreaButtonPress): set the screen_first variable before evt.
11420         unlock the inset as this may change screen_first and then we have
11421         a wrong y position for the click!
11422
11423 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * MenuBackend.C (expand): another translation that I missed
11426
11427 2002-03-28  Juergen Vigna  <jug@sad.it>
11428
11429         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11430
11431         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11432
11433 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11434
11435         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11436
11437         * MenuBackend.C (expand): fix export/view/update when there is no
11438         document open.
11439
11440 2002-03-27  Herbert Voss  <voss@lyx.org>
11441
11442         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11443         and text%
11444
11445 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11446
11447         * bufferview_funcs.C (currentState): only show paragraph number
11448         for is DEVEL_VERSION is set.
11449
11450         * lyxfunc.C (dispatch): put warning in INFO channel
11451
11452         * MenuBackend.C (expand): translate the name of floats
11453
11454         * FloatList.C (FloatList): mark the float names for translation
11455
11456         * converter.C (convert): use LibScriptSearch
11457
11458 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11459
11460         * MenuBackend.C (defaults): fix default menu (we might as well get
11461         rid of it...)
11462
11463 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11466         directory.
11467
11468 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11469
11470         * lyxvc.C: reorder includes.
11471
11472 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11475           properly
11476
11477 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11478
11479         * CutAndPaste.C: change layouts earlier on paste
11480           to avoid crashing when calling getFont()
11481
11482 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11483
11484         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11485         irritating #error.
11486
11487 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11488
11489         * WorkArea.C: remove 'Pending' debug message.
11490
11491         * most files: ws cleanup
11492
11493         * buffer.[Ch]: ws changes
11494
11495         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11496
11497 2002-03-21  Juergen Vigna  <jug@sad.it>
11498
11499         * tabular.C (SetMultiColumn): collapse also the contents of the
11500         cells and set the last border right. Added a Buffer const * param.
11501
11502 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11503
11504         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11505         linking or not.
11506
11507 2002-03-19  Juergen Vigna  <jug@sad.it>
11508
11509         * text2.C (clearSelection): reset also xsel_cache.
11510
11511         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11512         where it needs to be called (John tells us to do so too :)
11513         (selectionLost): reset sel_cache.
11514
11515         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11516
11517 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11518
11519         * text2.C (setCursorIntern): put debuging code in INSETS channel
11520
11521 2002-03-19  André Pönitz <poenitz@gmx.net>
11522
11523         * lyxfunc.C: tiny whitespace change
11524
11525 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11526
11527         * ToolbarDefaults.C (init):
11528         * LyXAction.C (init):
11529         * commandtags.h:
11530         * BufferView_pimpl.C (Dispatch):
11531         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11532
11533 2002-03-19  Allan Rae  <rae@lyx.org>
11534
11535         * exporter.C (Export): removeAutoInsets before doing anything else.
11536         While I've just introduced a dependency on BufferView this really is
11537         the best place to clean the buffer otherwise you need to cleanup in
11538         a dozen places before calling export or cleanup in a dozen functions
11539         that export calls.
11540
11541         * converter.C (runLaTeX):
11542         (scanLog): Better handling of removeAutoInsets and screen updates.
11543
11544         * lyxfunc.C (dispatch): small whitespace changes
11545
11546 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11547
11548         * WorkArea.C (C_WorkAreaEvent): return a value.
11549         (event_cb): return 1 if we handled the event, 0 otherwise.
11550
11551         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11552
11553 2002-03-18  Juergen Vigna  <jug@sad.it>
11554
11555         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11556         (GetAdditionalWidth): ditto.
11557         (RightLine): ditto.
11558         (LeftLine): ditto.
11559
11560         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11561         inset if we're there actually (probably not used right now but this
11562         is the direction to go for unifying code).
11563         (paste): disable code to clear the selection.
11564
11565         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11566         inside an InsetText and move the check further up as it is in the
11567         wrong place.
11568
11569         * text2.C (pasteSelection): set a selection over the pasted text.
11570
11571 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11572
11573         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11574         and libgraphics to build on Cygwin.
11575
11576 2002-03-15  Juergen Vigna  <jug@sad.it>
11577
11578         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11579         inserting an Inset into the paragraph. I know this is not the best
11580         fix but we already use current_view in CutAndPaste so we will remove
11581         all of it's using at the same time.
11582
11583         * buffer.C (sgmlError): deactivated function till it is rewritten in
11584         the right mode, now it can create problems.
11585
11586         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11587         before accessing it.
11588
11589 2002-03-14  Juergen Vigna  <jug@sad.it>
11590
11591         * undo_funcs.C (textHandleUndo): do the right thing when updating
11592         the inset after the undo/redo.
11593
11594         * text2.C (setCursor): just some testcode for #44 not ready yet.
11595
11596         * undo_funcs.C (textHandleUndo): set the next() and previous()
11597         pointers of the paragraph to 0 before deleting otherwise we have
11598         problems with the Paragraph::[destructor].
11599
11600         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11601         on a paragraph insertion.
11602
11603 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * buffer.C (asciiParagraph): use += operator for char append to
11606         string.
11607
11608         * paragraph.C (getFontSettings): compare >= not just >
11609         (highestFontInRange): ditto
11610         (setFont): ditto
11611
11612 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * paragraph.C: change several algorithm to be more appripriate for
11615         the problem domain. This is lookip in FontList and in the InsetList.
11616
11617 2002-03-13  André Pönitz <poenitz@gmx.net>
11618
11619         * commandtags.h:
11620         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11621
11622 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * commandtags.h:
11625         * LyXAction.C:
11626         * lyxfunc.C:
11627         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11628
11629 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11630
11631         * Painter.C (display): anon helper function, adjust code for this
11632         change.
11633         (pixmap): remove function.
11634
11635         * Painter.h: remove private display variable.
11636
11637         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11638
11639 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11640
11641         * WorkArea.[Ch]: remove figinset_canvas cruft.
11642
11643 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * lyxtextclass.C (operator): add one item cache optimization.
11646
11647         * bufferlist.h: doxy changes
11648
11649         * bufferlist.C: ws changes
11650
11651         * DepTable.[Ch] (ext_exist): place const in the right spot.
11652
11653         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11654         call resizeInsets.
11655         (workAreaExpose): call resizeInsets when the with BufferView changes.
11656         (Dispatch): adjust for protectedBlank removal
11657         (specialChar): call updateInset if the insert went ok.
11658
11659         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11660         specialChar instead.
11661
11662         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11663
11664         * BufferView.h: doxy change
11665
11666         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11667
11668         * lyxtextclass.C (operator[]): remove non-const version
11669         (defaultLayout): remove non-const version
11670
11671 2002-03-12  Juergen Vigna  <jug@sad.it>
11672
11673         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11674         did resize the LyXText too.
11675
11676         * buffer.C (readLyXformat2): set layout information on newly allocated
11677         paragraphs.
11678
11679         * tabular.C (OldFormatRead): set layout information on the paragraph.
11680
11681 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11682
11683         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11684
11685 2002-03-11  Juergen Vigna  <jug@sad.it>
11686
11687         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11688         plainly wrong.
11689         (resizeCurrentBuffer): force also the insets to resize themselfes.
11690         (moveCursorUpdate): fixed up for InsetText.
11691
11692 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11693
11694         * commandtags.h:
11695         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11696         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11697         value of Dialogs::tooltipsEnabled().
11698         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11699
11700 2002-03-08  Juergen Vigna  <jug@sad.it>
11701
11702         * BufferView_pimpl.C (updateInset): update inset inside inset also
11703         if it isn't inside theLockingInset().
11704
11705 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11706
11707         * buffer.C (asciiParagraph): redo some of the word and line length
11708         handling.
11709         (getLists): look for Caption instead of caption.
11710
11711 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11712
11713         * buffer.C (Buffer): initialize niceFile to true
11714         (makeLaTeXFile):
11715         (makeLinuxDocFile):
11716         (makeDocBookFile): make sure niceFile is true on exit
11717
11718 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11719
11720         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11721
11722 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11723
11724         * LyXSendto.C: remove.
11725         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11726         * lyx_gui.C: remove now-redundant comment.
11727         * ColorHandler.h: remove forward declaration of class WorkArea.
11728         * lyxfunc.C: remove #include "WorkArea.h".
11729
11730 2002-03-07  Juergen Vigna  <jug@sad.it>
11731
11732         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11733         got moved away with the DEPM and also set the inset_owner always
11734         right which before could have been omitted.
11735
11736 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11737
11738         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11739         wanted layout is not found.
11740
11741 2002-03-07  Juergen Vigna  <jug@sad.it>
11742
11743         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11744
11745 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * paragraph.C (breakParagraph): use default layout not layout of
11748         prev paragraph.
11749         (Paragraph): clear ParagraphParameters.
11750
11751 2002-03-06  Juergen Vigna  <jug@sad.it>
11752
11753         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11754         otherwise it would not be a valid lenght. Fixed a special case in
11755         the minipage compatibility read where we end the document with a
11756         minipage.
11757
11758         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11759         was set as it could be 0 for InsetTexts first entry.
11760
11761 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * paragraph.C (writeFile): if layout is empty write out
11764         defaultLayoutName().
11765
11766         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11767         file without named layout we set layout to defaultLayoutName().
11768
11769 2002-03-06  Juergen Vigna  <jug@sad.it>
11770
11771         * CutAndPaste.C (copySelection): set layout for new paragraph.
11772
11773         * text.C (prepareToPrint): leave ERT inset left aligned
11774         (leftMargin): don't indent paragraphs inside ERT insets
11775
11776 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * paragraph.C (breakParagraph): dont call clear do the work manually
11779
11780         * paragraph.[Ch] (clear): remove function
11781
11782 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11783
11784         * paragraph.C (Paragraph): dont call clear, the work has already
11785         been done.
11786
11787         * lyxtextclass.C (operator): assert if n is empty
11788
11789         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11790         work manually instead.
11791
11792 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * BufferView_pimpl.C: protect selectionLost against text == 0
11795
11796 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11797
11798         * text.C (breakParagraph): fix a setting layout to '0' problem.
11799
11800 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11801
11802         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11803         final location of file, for the included files, and graphics.
11804
11805 2002-03-05  Juergen Vigna  <jug@sad.it>
11806
11807         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11808
11809 2002-03-04  Juergen Vigna  <jug@sad.it>
11810
11811         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11812
11813         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11814         last column of multicolumn cells.
11815         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11816
11817 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11818
11819         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11820         file if it doesn't go to a temporary file.
11821
11822         * buffer.C (sgmlOpenTag):
11823         (sgmlCloseTag):  remove extra newline insertion.
11824
11825 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * text.C (getRowNearY): comment out debug msg
11828
11829 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * text2.C: first -> first_y
11832
11833         * text.C (getRowNearY): add some attemts at a possible
11834         optimization, not working.
11835
11836         * tabular.[Ch]: add BufferParams to several function so that newly
11837         created paragraph can be initialized to he default layotu for the
11838         buffers textclass.
11839
11840         * tabular-old.C (ReadOld): add buf->params to call of Init
11841
11842         * screen.C: rename text->first to text->first_y
11843
11844         * paragraph.C (breakParagraph): always set layout in the broken
11845         paragraph
11846
11847         * lyxtextclass.C (Read): remove lowercase
11848         (hasLayout): ditto
11849         (operator): ditto
11850         (delete_layout): ditto
11851
11852         * lyxtext.h: rename first -> first_y
11853
11854         * lyxlayout.C (Read): remove lowercase
11855         (name): ditto
11856         (setName): ditto
11857         (obsoleted_by): ditto
11858
11859         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11860
11861         * buffer.C (insertErtContents): add params are to InsetERT
11862         (parseSingleLyXformat2Token): add code to check if a paragraphs
11863         layout really exist.
11864         (parseSingleLyXformat2Token): add params to several inset
11865         constructors
11866         (asciiParagraph): remove lowercase, do the layout comparisons with
11867         no_case
11868
11869         * BufferView_pimpl.C (cursorNext): first -> first_y
11870         (resizeCurrentBuffer): first -> first_y
11871         (updateScrollbar): first -> first_y
11872         (scrollCB): first -> first_y
11873         (workAreaMotionNotify): first -> first_y
11874         (workAreaButtonPress): first -> first_y
11875         (checkInsetHit): first -> first_y
11876         (cursorPrevious): first -> first_y
11877         (cursorNext): first -> first_y
11878         (Dispatch): add buffer_->params to severl inset contructors
11879
11880 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11881
11882         * lyxlayout.C (Read): remove some debug info that I forgot.
11883
11884         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11885         clean up the code slightly.
11886         (makeLinuxDocFile): ditto
11887         (makeDocBookFile): ditto
11888
11889         * text2.C: layout as string
11890
11891         * text.C: layout as string
11892
11893         * paragraph_pimpl.C: layout as string
11894
11895         * paragraph.[Ch]: layout as string
11896
11897         * lyxtextclasslist.[Ch]: layout as string
11898
11899         * lyxtextclass.[Ch]: layout as string
11900
11901         * lyxtext.h: layout as string
11902
11903         * lyxlayout.[Ch]: layout as string
11904
11905         * lyx_cb.C: layout as string
11906
11907         * bufferview_funcs.C: layout as string
11908
11909         * bufferparams.C: layout as string
11910
11911         * buffer.C: layout as string
11912
11913         * LyXView.[Ch]: layout as string
11914
11915         * LaTeXFeatures.[Ch]: layout as string
11916
11917         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11918
11919         * BufferView_pimpl.C: change current_layout to string, remove
11920         lyx::layout_type.
11921         (Dispatch):
11922         (smartQuote):
11923         (insertInset):
11924         (workAreaButtonRelease): layout as string
11925
11926         * BufferView2.C (unlockInset): adjust
11927
11928         * vspace.C (asLatexCommand): use an explict temp variable.
11929
11930 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * Makefile.am: use FRONTEND_*
11933
11934 2002-03-01  Juergen Vigna  <jug@sad.it>
11935
11936         * tabular.C (SetWidthOfMulticolCell): changed to something better
11937         I hope but still work in progress.
11938         (recalculateMulticolumnsOfColumn): renamed function from
11939         recalculateMulticolCells as it is more appropriate now.
11940         (SetWidthOfCell): calculate multicols better.
11941
11942 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11943
11944         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11945
11946         * lyxfunc.C (processKeySym): print sequence also if it is
11947         `deleted' (complete)
11948
11949         * kbsequence.C (print): print sequence even if it is deleted
11950         (complete would be a better word, actually).
11951
11952         * lyxfunc.C (dispatch): print complete options after a prefix key
11953
11954         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11955
11956 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11957
11958         * text2.C (setCharFont): eliminate setCharFont code duplication.
11959
11960 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11961
11962         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11963         LFUN_TABULAR_FEATURE (bug #177)
11964
11965 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11966
11967         * Makefile.am: remove figure.h
11968
11969 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * Bufferview_pimpl.C:
11972         * CutAndPasteC:
11973         * LaTeX.C:
11974         * LyXSendto.C:
11975         * buffer.C:
11976         * bufferlist.C:
11977         * converter.C:
11978         * language.C:
11979         * lyxfunc.C:
11980         * lyxvc.C:
11981         * paragraph.C:
11982         * text.C:
11983         * text2.C: remove #include "lyx_gui_misc.h".
11984
11985         * LaTeX.C: added #include <cstdio>
11986
11987 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11990         that the paragraph following this one can have.
11991
11992         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11993
11994         * vspace.C (asLatexCommand): fix bogus gcc warning
11995
11996         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11997
11998 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11999
12000         * text2.C (setLayout): get rid of redundant code
12001
12002 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12003
12004         * text2.C (incDepth): make sure depth cannot be increased beyond
12005         reasonable values.
12006
12007 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12008
12009         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12010         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12011
12012         * PainterBase.h (image):
12013         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12014         a LyXImage const *.
12015
12016 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * BufferView.C:
12019         * BufferView.h:
12020         * BufferView_pimpl.C:
12021         * BufferView_pimpl.h:
12022         * LaTeXFeatures.C:
12023         * LyXAction.C:
12024         * LyXView.C:
12025         * Makefile.am:
12026         * UpdateList.h:
12027         * UpdateList.C:
12028         * buffer.C:
12029         * figure.h:
12030         * figureForm.C:
12031         * figureForm.h:
12032         * figure_form.C:
12033         * figure_form.h:
12034         * lyx_cb.C:
12035         * lyx_gui.C:
12036         * lyx_gui_misc.C:
12037         * lyxfunc.C:
12038         * sp_base.h:
12039         * sp_ispell.h:
12040         * sp_pspell.h:
12041         * sp_spell.C: remove fig inset, and the crap house of
12042           cards that follows it
12043
12044 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * Makefile.am:
12047         * lyxserver.C:
12048         * os2_defines.h:
12049         * os2_errortable.h:
12050         * nt_defines.h: move .h into support/
12051
12052         * vms_defines.h: remove
12053
12054         * WorkArea.C: add space in debug output
12055
12056         * text2.C:
12057         * paragraph.C:
12058         * buffer.C: add WITH_WARNINGS
12059
12060         * vc-backend.h:
12061         * vc-backend.C:
12062         * bufferlist.C: s/retrive/retrieve/, add docs
12063
12064         * vspace.h:
12065         * vspace.C:
12066         * kbmap.h:
12067         * lyxlength.h:
12068         * lyxgluelength.h:
12069         * length_common.h:
12070         * chset.h:
12071         * chset.C: add docs
12072
12073         * lyxgui.C: add ID to X error handler
12074
12075         * lyxtestclass.c: fix typo
12076
12077 2002-02-26  Juergen Vigna  <jug@sad.it>
12078
12079         * tabular_funcs.C (write_attribute): changed so that some default
12080         attributes are not written at all.
12081         (getTokenValue): set default values before trying to read the
12082         value so we have the return value always set as default if we don't
12083         find the token we search for.
12084
12085         * tabular.C (Write): write bools as bools not as strings!
12086
12087 2002-02-22  Juergen Vigna  <jug@sad.it>
12088
12089         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12090         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12091
12092         * text.C (leftMargin): don't add an indent for paragraphs inside
12093         tabular cells (fix #208).
12094
12095 2002-02-21  José Matos  <jamatos@fep.up.pt>
12096
12097         * tabular.C (docBook): fixed support for long tables.
12098
12099 2002-02-20  Juergen Vigna  <jug@sad.it>
12100
12101         * text2.C (getFont): get the drawing font of the Inset if this
12102         paragraph is inside an inset (only important for InsetERT for now).
12103
12104         * buffer.C (insertErtContents): use new lanugage params in ERT
12105         constructor.
12106
12107         * CutAndPaste.C: commenting out seemingly uneeded code.
12108
12109 2002-02-19  Allan Rae  <rae@lyx.org>
12110
12111         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12112         Iterators might be simple to use but they also get invalidated.
12113         (removeAutoInsets): renamed saved cursor tracking variables and added
12114         some comments to clarify what everything does.
12115
12116 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12117
12118         * Chktex.C:
12119         * LaTeX.C:
12120         * LyXSendto.C:
12121         * converter.C:
12122         * lyx_cb.C:
12123         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12124         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12125
12126         * lyxfunc.C:
12127         * vc-backend.h: remove #include "support/syscall.h"
12128
12129         * LaTeX.C:
12130         * LyXSendto.C:
12131         * converter.C: rearrange #includes in Lars' approved fashion.
12132
12133         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12134         forward declare class Timeout in the header file.
12135
12136         * XFormsView.C: changes due to the above.
12137
12138         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12139         similar to LyXView.
12140
12141         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12142         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12143
12144 2002-02-18  José Matos  <jamatos@fep.up.pt>
12145
12146         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12147         insets contents.
12148
12149 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12150
12151         * a lot of small ws changes
12152         * add a lot of using std::XXX
12153         * use std construcs some places where approp.
12154         * use some exisint stuff from lyxfunctional where approp.
12155         * Make file changes to use partial linking (lets test this now...)
12156
12157 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12158
12159         * Chktex.C:
12160         * buffer.C:
12161         remove #include "support/syscontr.h" as it's redundant. Always has been.
12162
12163         * Chktex.C:
12164         * LaTeX.C:
12165         * LyXSendto.C:
12166         * converter.C:
12167         * lyx_cb.C:
12168         * vc-backend.C:
12169         change Systemcalls::System to Systemcalls::Wait and
12170         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12171         No change of functionality, just reflects the stripped down Systemcalls
12172         class.
12173
12174 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12175
12176         * debug.[Ch]: add a GRAPHICS type to the enum.
12177
12178 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12179
12180         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12181
12182         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12183         there is an inset.
12184
12185 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12186
12187         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12188         match the changes below.
12189
12190         * text2.C (toggleInset): if there is not editable inset at cursor
12191         position, try to see if cursor is _inside_ a collapsable inset
12192         and close it.
12193
12194 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12195
12196         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12197         document menu has a nice checkbox
12198
12199 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12200
12201         * lyxlength.C (asLatexString): change PW to output as percent of
12202         \textwidth.
12203
12204         * lengthcommon.C: change '%' to 't%'
12205
12206         * lyxfunc.C (dispatch): a few comments from Martin
12207
12208 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * WorkArea.h:
12211         * WorkArea.C:
12212         * BufferView_pimpl.h:
12213         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12214           the X selection.
12215
12216 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12217
12218         * vspace.C (inPixels): fix compiler warning
12219
12220 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12221
12222         * lyxfunc.C (getStatus): fix status message for disabled commands.
12223
12224 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * BufferView_pimpl.C: fix crash on close buffer
12227         during selection (#227)
12228
12229 2002-01-27  Herbert Voss  <voss@lyx.org>
12230
12231         * buffer.C: link old Figure to new graphic inset
12232
12233 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12234
12235         * FontLoader.C (getFontinfo): Change the latex font names in order
12236         to match the names of type1inst.
12237
12238 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12239
12240         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12241
12242         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12243         (extchanged): ditto
12244         (ext_exist): ditto
12245         (remove_files_with_extension): ditto
12246         (remove_file): ditto
12247         (write): ditto
12248
12249         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12250         document is smaller than the work area height. Do not initialize
12251         static variables to 0.
12252
12253 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12254
12255         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12256
12257         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12258         LFUN_LAYOUT_PARAGRAPHS.
12259
12260         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12261         tabular. It is possible to provide a possible cell, which will
12262         typically be the actcell from the corresponding insettabular
12263
12264         * lyxfunc.C (getStatus): small cleanup; disable
12265         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12266         true
12267
12268 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12269
12270         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12271
12272         * paragraph.C (startTeXParParams):
12273         (endTeXParParams): new methods. The LaTeX code to
12274         start/end paragraph formatting
12275         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12276         empty (fixes bug #200)
12277
12278         * vspace.C (inPixels): adapt to the change below
12279         (inPixels): [later] more cleanups (remove unused variables)
12280
12281         * lyxlength.C (inPixels): change to use a width and a height as
12282         parameter.
12283
12284 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12285
12286         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12287         Replaced with \paperwidth
12288
12289         * DepTable.C (insert): add std:: qualifier
12290
12291 2002-01-18  Allan Rae  <rae@lyx.org>
12292
12293         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12294         updated also?
12295
12296         * text.C (drawInset): Turned out I didn't know enough about how
12297         rebreaking worked.  This fixes most of the redraw problems.  I see
12298         an occasional cursor trail when a line is broken now and the cursor
12299         placement can seem out by a few pixels also after a rebreak.
12300
12301 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * buffer.C (parseSingleLyXformat2Token): update because minipage
12304         width is now a LyXLength
12305
12306         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12307
12308         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12309         math insets
12310
12311 2002-01-17  Juergen Vigna  <jug@sad.it>
12312
12313         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12314
12315         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12316         is set correctly and the inset is updated correctly.
12317
12318 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12319
12320         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12321         the beginning of the loop.
12322
12323 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * lyxrc.C: improve help for use_scalable_fonts
12326
12327 2002-01-17  Allan Rae  <rae@lyx.org>
12328
12329         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12330
12331 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12332
12333         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12334         make sure to set their inset_owner to the right value (bug #171)
12335
12336 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12337
12338         * DepTable.h
12339         * DepTable.C: Implement mtime checking to reduce time spent doing
12340         CRCs.
12341
12342 2002-01-16  Juergen Vigna  <jug@sad.it>
12343
12344         * tabular.C (GetAdditionalHeight): one of error fixed.
12345
12346         * lyxrc.C (output): small fix in writing use_pspell.
12347
12348 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12349
12350         * sp_base.h: #include LString.h
12351
12352 2002-01-16  Allan Rae  <rae@lyx.org>
12353
12354         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12355         Can someone check this please?
12356
12357         * text.C (drawInset): It was possible that p.row would be removed by
12358         breakAgainOneRow upsetting a few other settings.  There may be another
12359         small tweak possible by setting need_break_row = 0 when p.row has been
12360         removed but I don't know enough about the logic here.
12361
12362 2002-01-15  Allan Rae  <rae@lyx.org>
12363
12364         * text.C (insertChar): removed conditional truism.
12365
12366         * BufferView2.C (removeAutoInsets): More tweaks.
12367         cur_par_prev could be a stray pointer.  Check for trailing empty line
12368         in case last line was cur_par and only had an error inset on it.
12369
12370 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12373         absolute
12374
12375         * vc-backend.C (most methods):
12376         * exporter.C (Export):
12377         * converter.C (convert):
12378         (runLaTeX):
12379         * LyXSendto.C (SendtoApplyCB):
12380         * lyxfunc.C (dispatch):
12381         (menuNew):
12382         (open):
12383         (doImport):
12384         * lyx_cb.C (AutoSave):
12385         (InsertAsciiFile):
12386         * BufferView_pimpl.C (MenuInsertLyXFile):
12387         * buffer.C (runChktex): use Buffer::filePath().
12388
12389         * buffer.h: rename filename to filename_; rename filepath to
12390         filepath_ and make it private
12391         (filePath): new method
12392
12393         * buffer.C (writeFile): use fileName()
12394         (getLatexName):
12395
12396         * lyx_main.C (init): fix starting  of LyX when the binary is a
12397         link from so,ewhere else.
12398
12399         * minibuffer.C: include <cctype> for isprint
12400
12401 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12402
12403         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12404         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12405         name clash with InsetCollapsable's width function.
12406
12407 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12408
12409         * lastfiles.C: include <iterator>
12410
12411 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12412
12413         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12414         std::count.
12415
12416         * buffer.C (makeLaTeXFile): ditto.
12417         Also make loop operation more transparent.
12418
12419 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12420
12421         * ToolbarDefaults.C: remove trailing comma closing namespace.
12422
12423         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12424
12425         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12426         as in WorkArea.
12427
12428         * trans.C (Load): comment out unused variable, allowed.
12429
12430 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12431
12432         * minibuffer.[Ch] (append_char): new method to recieve input from the
12433         drop-down completion browser. If a key was pressed, then recieve this
12434         char and append it to the existing string.
12435         (peek_event): modify the positioning data passed to the completion
12436         browser so that it can be placed above the minibuffer rather than below.
12437 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12438
12439         * LyXAction.C (init): alloe error-next for readonly documents.
12440
12441         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12442         count.
12443
12444 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12445
12446         * bufferlist.C (readFile): create the buffer _after_ checking that
12447         the file exists.
12448
12449         * lyxfunc.C (verboseDispatch): fix handling of arguments
12450
12451         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12452
12453         * lyxrc.C: use string::erase() instead of initializing to "".
12454
12455
12456 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * BufferView_pimpl.h:
12459         * BufferView_pimpl.C:
12460         * WorkArea.h:
12461         * WorkArea.C:
12462         * text2.C: tell X when we have made a selection for copying
12463
12464 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12465
12466         * BufferView_pimpl.C (MenuInsertLyXFile):
12467         * lyxfunc.C (menuNew):
12468         (open):
12469         (doImport): add shortcuts to directory buttons
12470
12471         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12472         open a float)
12473
12474         * lyxfunc.C (setStatusMessage):
12475         (getStatusMessage): new methods
12476         (getStatus):use setStatusMessage instead of setErrorMessage
12477         (dispatch): when function is disabled, set error message here
12478         [instead of in getStatus previously]
12479
12480         * BufferView_pimpl.C (workAreaButtonRelease): update
12481         toolbar/menubar here too.
12482
12483 2002-01-13  Allan Rae  <rae@lyx.org>
12484
12485         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12486         Now seems indestructible.  Remaining task is to audit all other
12487         code affected by deleteEmptyParagraphMechanism.  One small quirk
12488         left is that an empty document with an error in the preamble can
12489         be made to report an error but no error box appears.  I don't know
12490         where it goes.
12491         (removeAutoInsets): Improved comments.
12492
12493 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * Thesaurus.h:
12496         * Thesaurus.C: update for Aiksaurus 0.14
12497
12498 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * text2.C (firstParagraph): removed member function, all uses
12501         replaces with ownerParagraph
12502         (redoParagraphs): here
12503         (updateInset): here
12504         (toggleAppendix): here
12505         * BufferView2.C (insertErrors): here
12506         (setCursorFromRow): here
12507
12508 2002-01-13  Allan Rae  <rae@lyx.org>
12509
12510         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12511         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12512         There is still a way to segfault this although you may have to do this
12513         multiple times: Have an InsetERT with an unknown command in it.
12514         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12515         <down-arrow>, <Enter> again, View->DVI, BANG!
12516
12517         * text2.C (setCursor):
12518         (deleteEmptyParagraphMechanism):
12519         * lyxtext.h (setCursor):
12520         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12521         Making use of the return value may help fix other bugs.
12522
12523 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12526
12527         * LyXView.C (updateMenubar): call MenuBar::update here
12528         (updateToolbar): but not here
12529         (showState): do not update toolbar/menubar
12530
12531         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12532         should need to care about that.
12533
12534         * lyxfunc.C (verboseDispatch): simplify a bit
12535         (getStatus): have a version which takes a pseudoaction, and
12536         another which requires a (kb_action,string).
12537
12538         * LyXAction.C (retrieveActionArg): make it work also when action
12539         is not a pseudo-action.
12540         (getActionName): simplify a bit
12541         (helpText):
12542
12543 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12544
12545         * lyxfunc.C (verboseDispatch): new families of methods with
12546         several ways to specify a command and a bool to indicate whether
12547         the command name and shortcut should be displayed in minibuffer
12548         (eventually, we could extend that to a finer bitmask like
12549         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12550         (dispatch): the pristine dispatch command which just, well,
12551         dispatchs! Note it still sets its result to minibuffer; I'm not
12552         sure we want that.
12553
12554         * lyxfunc.h: remove setHintMessage
12555
12556         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12557
12558 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12559
12560         * BufferView_pimpl.C (specialChar): delete new inset if we have
12561         not been able to insert it.
12562
12563         * kbmap.C: revert to using int instead of kb_action, since all we
12564         are dealing with is pseudo-actions.
12565
12566         * LyXAction.C (searchActionArg): change to return int instead of
12567         kb_action, since the result is a pseudoaction.
12568
12569 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12570
12571         * buffer.C (insertErtContents): Fix (partially) the font bug.
12572
12573 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12574
12575         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12576         as the other one is broken on my machine!
12577
12578 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12579
12580         * commandtags.h:
12581         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12582
12583 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12584
12585         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12586         reflect their actual use. Provide compatibility code for older lyxrc
12587         files.
12588
12589         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12590         FL_NORMAL_STYLE.
12591         change names of popup font variables in line with the changes to lyxrc.C
12592
12593 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12594
12595         * buffer.C (asciiParagraph): avoid outputing a word twice after
12596         an inset.
12597
12598         * lyxrc.C (getDescription): document that document_path and
12599         template_path can be empty.
12600
12601 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12602
12603         * LaTeXFeatures.C (getMacros):
12604         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12605
12606         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12607
12608         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12609         getPackages.
12610         (getPackages): rename feature "floats" to "float". Use an array to
12611         iterate over 'simple' features (i.e. just a \usepackage). Add
12612         handling of "amsmath" (renamed from "amsstyle").
12613
12614 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12615
12616         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12617         features list.
12618
12619 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12620
12621         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12622         FuncStaus::FuncStatus & FuncStaus::some_method().
12623
12624 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12625
12626         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12627         of the func_satus stuff. Edited and massaged in various ways by
12628         JMarc.
12629
12630         * lyxfunc.C (getStatus): use FuncStatus
12631
12632 2002-01-08  Juergen Vigna  <jug@sad.it>
12633
12634         * text.C (nextBreakPoint): use function Inset::isChar().
12635
12636         * paragraph.C (TeXOnePar): use function
12637         Inset::forceDefaultParagraphs.
12638
12639         * buffer.C (latexParagraphs): use function
12640         Inset::forceDefaultParagraphs.
12641
12642 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * lyx_gui.C (init): set the style of the menu popups to
12645         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12646
12647 2002-01-07  Juergen Vigna  <jug@sad.it>
12648
12649         * text.C (setHeightOfRow): small fix
12650         (prepareToPrint): don't look at alignment if we don't have the place
12651         for doing it.
12652
12653 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12654
12655         * box.C: New file. Move the Box methods and functions out of box.h,
12656         following Lars' suggestion.
12657
12658 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12659
12660         * box.h: #include "support/LOstream.h", needed for inlined function.
12661
12662         * lyxtextclass.C:
12663         * lyxtextclasslist.C: added some using std declarations.
12664
12665 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * box.h: make signed dimensions to allow insets wider than
12668           the screen (bug #162)
12669
12670         * BufferView_pimpl.C: add some insetHit debug
12671
12672 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * vc-backend.C: add FIXME
12675
12676 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12677
12678         * lyxfunc.C (getStatus): enable code for showing math font status
12679         in toolbar/menu.
12680
12681 2002-01-07  Juergen Vigna  <jug@sad.it>
12682
12683         * text.C (nextBreakPoint): removed debug output not needed anymore.
12684
12685 2002-01-06  Juergen Vigna  <jug@sad.it>
12686
12687         * text.C (nextBreakPoint): fixed up this function we had this bug
12688         since ever but now hopefully we break row better.
12689         (insertChar): we have to check if an inset is the next char as it
12690         could now happen that a large inset is causing a break.
12691
12692 2002-01-05  Juergen Vigna  <jug@sad.it>
12693
12694         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12695         if it doesn't like to be drawed.
12696
12697 2002-01-04  Juergen Vigna  <jug@sad.it>
12698
12699         * BufferView2.C (lockInset): forgot to set a cursor.
12700
12701         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12702
12703 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12704
12705         * FormMathsPanel.C:
12706         * FormMathsPanel.h
12707         * MathsSymbols.C:
12708         * form_maths_panel.C:
12709         * form_maths_panel.h:
12710         * form_maths_panel.fd: implemented sub- and super- buttons in math
12711         panel.
12712
12713         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12714         (or ^ space) to be used as in TeX (req'd by André).
12715
12716         * lyxfunc.C: Allow ^ and _ again to be used both as
12717         super/subscript (mathed) and as themselves (in text).
12718
12719 2002-01-03  Allan Rae  <rae@lyx.org>
12720
12721         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12722         "LyX" or the filename of the current buffer if it has one.  This is a
12723         modified form of John Levon's patch.
12724
12725         * XFormsView.C (setWindowTitle): also set icon title.
12726
12727         * LyXView.h (setWindowTitle): signature changed.
12728         * XFormsView.h (setWindowTitle): ditto.
12729
12730 2002-01-02  Juergen Vigna  <jug@sad.it>
12731
12732         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12733
12734 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12735
12736         * screen.C (topCursorVisible): introduce a temp var for
12737         text->cursor.row(), handle the case where this row is null. (kindo
12738         hachish)
12739
12740         * text2.C (setCursor): add a couple of asserts.
12741
12742         * paragraph.h (inset_iterator): add -> operator
12743
12744         * paragraph.[Ch] (autoDeleteInsets): remove member function
12745
12746         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12747         cursor pos correctly and handle inset deletion by itself.
12748         (insertErrors): move iterator declaration out of for expression
12749
12750         * lyxtextclass.C: add <algorithm>
12751
12752         * Makefile.am: added the new files to sources, removed layout.C
12753
12754         * layout.C: removed file
12755
12756         * layout.h: remove LYX_DUMMY_LAYOUT
12757
12758         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12759         layout.
12760
12761         * lyxlayout.[Ch]:
12762         * lyxtextclass.[Ch]:
12763         * lyxtextclasslist.[Ch]: new files
12764
12765         * include order changes to a lot of files, also changes because of
12766         the six new files.
12767
12768 2001-12-27  Juergen Vigna  <jug@sad.it>
12769
12770         * buffer.C (asciiParagraph): more fixes.
12771
12772         * tabular.C (ascii): make ascii export support export of only the
12773         data separated by a column-delimiter.
12774         (ascii): better support for ascii export.
12775
12776         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12777
12778 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12779
12780         * tabular_funcs.C: use a "using std::getline" instead of the
12781         previous fix from Angus (necessary for cxx + lyxstring)
12782
12783 2001-12-24  Juergen Vigna  <jug@sad.it>
12784
12785         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12786
12787         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12788         problems. First check a minipage also if we have some ert-contents
12789         (not only on par->size(), second set the right depth of the paragraph
12790         on the relink to the root-paragraph-list!
12791
12792         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12793         which then did not anymore update the main paragraphs on undo/redo!
12794
12795 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12798         code. Support all font-changing funcs (even those which are not in
12799         menu currently). Support for reporting font settings in
12800         mathed (disabled until Andre provides a function on mathed's side).
12801
12802         * func_status.h (toggle): small helper function to set toggle
12803         state on a flag.
12804
12805 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12806
12807         * tabular_funcs.C: getline -> std::getline
12808
12809 2001-12-21  Juergen Vigna  <jug@sad.it>
12810
12811         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12812         accessed and could be 0 (I couldn't generate this but it seems
12813         Michael could!).
12814
12815 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12818         * tabular_funcs.h: here and include iosfwd
12819
12820 2001-12-20  Juergen Vigna  <jug@sad.it>
12821
12822         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12823         inside inset but undo_par was.
12824
12825 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * Thesaurus.C: always include <config.h> in sources.
12828
12829         * Painter.h:
12830         * lyxlookup.h:
12831         * box.h: do not include <config.h> in header files
12832
12833         * text.C (paintLastRow): remove unused variable
12834
12835         * text.C (transformChar):
12836         (insertChar):
12837         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12838
12839         * Painter.C (text):
12840         * font.C (width): rewrite to use uppercase() instead of
12841         islower/toupper.
12842
12843         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12844
12845 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12846
12847         * lyxfind.C: clean up of find failure position change
12848
12849 2001-12-20  Juergen Vigna  <jug@sad.it>
12850
12851         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12852
12853         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12854         (TeXRow): added to LaTeX a single tabular row.
12855         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12856         (Latex): simplified and finally good LT-h/f support.
12857         (various_functions): just small adaptions for LT-h/f support.
12858
12859         * tabular_funcs.[hC]: added and moved here all not classfunctions
12860         of LyXTabular.
12861
12862 2001-12-19  Juergen Vigna  <jug@sad.it>
12863
12864         * tabular.[Ch]: better support for longtabular options (not finished
12865         yet!)
12866
12867 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12868
12869         * text.C (paintLastRow): use the label font instead of the font of
12870         the last character to compute the size of *_BOX. This makes more
12871         sense and avoids a crash with empty paragraphs.
12872         Use Painter::rectangle to draw EMPTY_BOX.
12873
12874 2001-12-19  Juergen Vigna  <jug@sad.it>
12875
12876         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12877         the paragraphs if the replaced paragraph is not the first one!
12878         Tried to delete not used paragraphs but does not work yet so for
12879         now it's inside #ifdef's and by default off!
12880
12881 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12882
12883         * MenuBackend.C: include "lyx_main.h" instead of declaring
12884         lastfiles (actually was declared as LastFiles* instead of a
12885         scoped_ptr).
12886
12887 2001-12-17  Juergen Vigna  <jug@sad.it>
12888
12889         * tabular.C (AppendColumn): applied John's fix
12890
12891 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * BufferView.h:
12894         * BufferView.C:
12895         * BufferView_pimpl.h:
12896         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12897
12898         * Makefile.am:
12899         * box.h: new start of class for above
12900
12901         * lyxfunc.C: ignore space-only minibuffer dispatches.
12902           Show the command name when it doesn't exist
12903
12904         * minibuffer.C: don't add empty lines to the history
12905
12906         * minibuffer.C: add a space on dropdown completion
12907
12908 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12909
12910         * text.C: fix line above/below drawing in insets
12911
12912 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * lyxlength.C (LyXLength): Initialize private variables.
12915
12916 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12917
12918         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12919         when inserting error insets.
12920
12921 2001-12-13  Juergen Vigna  <jug@sad.it>
12922
12923         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12924         actually sometimes the before-paragraph.
12925         (setUndo): don't clear the redostack if we're not actually undoing!
12926
12927 2001-12-06  Juergen Vigna  <jug@sad.it>
12928
12929         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12930         and fixed redoing of main paragraph, so we can use it now ;)
12931
12932         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12933
12934 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12935
12936         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12937         Juergen's request
12938
12939 2001-12-13  André Pönitz <poenitz@gmx.net>
12940
12941         * undostack.[Ch]:
12942         * undo_func.C: minor cleanup
12943
12944 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12945
12946         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12947         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12948         font in urw-fonts package which is marked as -urw-fontspecific and
12949         does not work (incidentally, changing the encoding in the
12950         fonts.dir of this package to -adobe-fontspecific fixes the
12951         problem).
12952
12953         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12954         is a crash when undoing first paragraph (Juergen, please take a
12955         look). THis does not mean the undo fix is wrong, just that it
12956         uncovers problems.
12957
12958         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12959         the (Paragraph*) version when needed instead of duplicating the
12960         code.
12961
12962         * text.C (workWidth): use Inset::parOwner to find out where the
12963         inset has been inserted. This is a huge performance gain for large
12964         documents with lots of insets. If Inset::parOwner is not set, fall
12965         back on the brute force method
12966
12967         * paragraph_pimpl.C (insertInset):
12968         * paragraph.C (Paragraph):
12969         (cutIntoMinibuffer): set parOwner of insets when
12970         inserting/removing them
12971
12972         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12973
12974 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12975
12976         * commandtags.h:
12977         * LyXAction.C:
12978         * lyx_main.C:
12979         * lyxfunc.C:
12980         * mathed/formulabase.C:
12981         * mathed/math_cursor.[Ch]:
12982         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12983
12984
12985 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * lyxlength.[Ch] (operator!=): new function
12988
12989 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12990
12991         * text.C (workWidth): use Inset::parOwner to find out where the
12992         inset has been inserted. This is a huge performance gain for large
12993         documents with lots of insets. If Inset::parOwner is not set, fall
12994         back on the brute force method
12995
12996         * paragraph_pimpl.C (insertInset):
12997         * paragraph.C (Paragraph):
12998         (cutIntoMinibuffer): set parOwner of insets when
12999         inserting/removing them
13000
13001         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13002
13003 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13004
13005         * tabular-old.C (getTokenValue):
13006         * tabular.C (getTokenValue):
13007         (write_attribute): new versions for LyXLength
13008         (everywhere): adjust the use of widths
13009
13010         * tabular.h: change the type of widths from string to LyXLength
13011
13012 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13013
13014         * paragraph.C: fixed missing line number count when exporting
13015         Environments to LaTeX file
13016
13017         * buffer.C: added informational message for checking line numbers.
13018
13019 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13020
13021         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13022         paragraph, do the 'double space' part, but not the 'empty
13023         paragraph' one.
13024
13025         * text.C (workWidth): small optimization
13026         (getLengthMarkerHeight): use minimal size for negative lengths.
13027
13028 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13031
13032         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13033
13034 2001-12-11  André Pönitz <poenitz@gmx.net>
13035
13036         * FontLoader.C:
13037         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13038
13039 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * text2.C: keep selection on a setFont()
13042
13043 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13044
13045         * lyx_cb.C: another bv->text misuse, from insert label
13046
13047 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13048
13049         * kbsequence.h:
13050         * kbsequence.C: re-instate nmodifier mask
13051
13052 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13053
13054         * lyx_main.h: make lyxGUI private.
13055
13056 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13057
13058         * lyxfind.C: place the cursor correctly on failed search
13059
13060 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13061
13062         * text.C (getLengthMarkerHeight): for small heights, the arrows
13063         are not always on top/bottom of the text
13064         (drawLengthMarker): smaller arrows; take the left margin in
13065         account; draw also vfills.
13066         (paintFirstRow):
13067         (paintLastRow): remove special code for vfill and standard spaces,
13068         since everything is handled in drawLengthMarker now.
13069
13070 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * buffer.C (insertErtContents): try to handle font and language
13073         interaction a bit better.g
13074
13075         * ColorHandler.C (updateColor): change the hash to cover the whole
13076         LColor enum, ws cleanup
13077         (getGCLinepars): ditto
13078         (getGCLinepars): only lookup in the linecache once.
13079
13080 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13081
13082         * iterators.C (operator++): Make the iterator more robust
13083
13084         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13085         (John's patch)
13086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13087
13088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * lyxtext.h:
13091         * text.C: better added space drawing
13092
13093 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13094
13095         * LyXView.C:
13096         * BufferView2.C: fix layout combo update on inset unlock
13097
13098 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13099
13100         * Makefile.am: don't compile unused files
13101
13102 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13103
13104         * lyxfunc.C:
13105         * commandtags.h:
13106         * LyXAction.C: remove old LFUN_LAYOUTNO
13107
13108 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * paragraph_pimpl.h:
13111         * paragraph_pimpl.C: isTextAt() doesn't need font param
13112
13113 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13114
13115         * lyxlex.h:
13116         * lyxlex.C: little cleanup
13117
13118 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * BufferView_pimpl.C: fix insertAscii for insets
13121
13122 2001-12-05  Juergen Vigna  <jug@sad.it>
13123
13124         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13125         set the right font on the "multi" paragraph paste!
13126
13127 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13128
13129         * trans_decl.h:
13130         * trans_mgr.[Ch]:
13131         * trans.[Ch]:
13132         * lyxgluelength.C:
13133         * lyxlength.C: remove out-commented code.
13134
13135         * BufferView_pimpl:
13136         * CutAndPaste.C:
13137         * DepTable.C:
13138         * buffer.C:
13139         * chset.C:
13140         * lastfiles.C:
13141         * lyxlex.C:
13142         * lyxlex_pimpl.C:
13143         * lyxserver.C:
13144         * screen.C:
13145         * tabular-old.C:
13146         * tabular.C:
13147         * text.C:
13148         * trans_mgr.C:
13149         * vc-backend.C: change "while(" to "while ("
13150
13151         * lyxlength.[Ch]: add zero function to check if length is zero or
13152         not
13153         * lyxgluelength.C: use it
13154
13155 2001-12-05  Allan Rae  <rae@lyx.org>
13156
13157         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13158         Works for 2.95.3, from what I understand of Garst's reports this should
13159         work for other g++ versions.  We're screwed if the abs(int) definition
13160         changed between bugfix releases of gcc.
13161
13162 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * text.C: fix chapter label offset !
13165
13166 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13167
13168         * lyxtext.h:
13169         * text.C: fix hfill at end of line, clean up
13170
13171 2001-12-04  Juergen Vigna  <jug@sad.it>
13172
13173         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13174         that we force an update of the inset and it's owners if neccessary.
13175
13176 2001-12-03  Juergen Vigna  <jug@sad.it>
13177
13178         * text.C (rowLast): simplified code
13179
13180 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * lyxfunc.C: fix show options on timeout
13183
13184 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * screen.C (topCursorVisible): scroll half a page when the cursor
13187         reached top of bottom of screen
13188
13189 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * minibuffer.C: deactivate on loss of focus
13192
13193 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13194
13195         * vspace.[Ch] (operator!=): add operator.
13196
13197 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13198
13199         * BufferView_pimpl.C: refuse to open an inset when
13200         there's a selection.
13201
13202 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13203
13204         * BufferView_pimpl.C: allow to click on RHS of full row insets
13205
13206 2001-11-30  Juergen Vigna  <jug@sad.it>
13207
13208         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13209         insets for undo reasons.
13210
13211 2001-11-28  André Pönitz <poenitz@gmx.net>
13212
13213         * vspace.[Ch]: cosmetical changes
13214
13215 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * LyXAction.h:
13218         * LyXAction.C:
13219         * lyxfunc.h:
13220         * lyxfunc.C:
13221         * kbmap.h:
13222         * kbmap.C:
13223         * lyxrc.C:
13224         * kbsequence.h:
13225         * kbsequence.C: part re-write of old kb code
13226
13227         * Painter.C:
13228         * WorkArea.C: remove Lgb_bug_find_hack
13229
13230 2001-11-30  José Matos <jamatos@fep.up.pt>
13231
13232         * buffer.C (makeDocBookFile): add a comment to point a hack.
13233         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13234         Fixed a double write of labels.
13235
13236 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13237
13238         * LaTeX.C:
13239         * LaTeX.h Fixed bug in LaTeX class where it would not
13240         re-run latex if no depfiles were changed, but the .dvi was removed.
13241
13242 2001-11-28  André Pönitz <poenitz@gmx.net>
13243
13244         * all the files from the change on 2001/11/26:
13245         use lyx::layout_type instead of LyXTextClass::size_type
13246         use lyx::textclass_type instead of LyXTextClassList::size_type
13247
13248 2001-11-29  Juergen Vigna  <jug@sad.it>
13249
13250         * text.C: added support for paragraph::isFreeSpacing()
13251
13252         * buffer.C: same as above
13253
13254         * paragraph.h: inserted isFreeSpacing() function to enable
13255         FreeSpacing inside InsetERT.
13256
13257         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13258         of the paragraph's in the cut/copy buffer to 0!
13259
13260         * text2.C (removeRow): remove the assert as it can!
13261
13262         * lyxtext.h: added helper function firstRow returning firstrow and
13263         made firstrow private again.
13264
13265         * BufferView2.C (lockInset): don't relock if we're already locked!
13266
13267         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13268         the only paragraph.
13269         (removeRow): added Assert::(firstrow)
13270
13271         * debug.C: forgot to add INSETTEXT here.
13272
13273 2001-11-28  Juergen Vigna  <jug@sad.it>
13274
13275         * sp_spell.C (initialize): changed error text to more general
13276         spellchecker command use (not only ispell!)
13277
13278         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13279
13280         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13281
13282 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13283
13284         * vspace.C: initialise lyxgluelength on failure
13285
13286 2001-11-28  Allan Rae  <rae@lyx.org>
13287
13288         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13289         declaration & definition that looks like a function declaration.
13290
13291 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13292
13293         * BufferView2.C (copy):
13294         (copyEnvironment): do not clear the selection when doing a copy.
13295
13296         * text.C (paintFirstRow): compilation fix
13297
13298 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13299
13300         * tabular.C (Latex): correct line count when writing latex.
13301
13302 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13303
13304         * paragraph_pimpl.h:
13305         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13306           bug a bit
13307
13308 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * text.C:
13311         * LColor.h:
13312         * LColor.C: change vfillline->added_space
13313
13314         * text.C: add markers and text for added space
13315
13316         * vspace.C: fix comment
13317
13318 2001-11-28  André Pönitz <poenitz@gmx.net>
13319
13320         * paragraph.C: whitespace changes
13321         * all the other files from the change on 2001/11/26:
13322         change *::pos_type into lyx::pos_type
13323
13324 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13327         language of the document when inserting error insets.
13328
13329 2001-11-26  André Pönitz <poenitz@gmx.net>
13330
13331         * BufferView_pimpl.[Ch]:
13332         *       CutAndPaste.C:
13333         * buffer.[Ch]:
13334         * lyxcursor.[Ch]:
13335         * lyxfind.C:
13336         * lyxfunc.C:
13337         * lyxrow.[Ch]:
13338         * paragraph.[Ch]:
13339         * paragraph_pimpl.[Ch]:
13340         * sp_spell.C:
13341         * text.C:
13342         * text2.C: reduce header dependencies, introduce type for positions
13343
13344 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13345
13346         * <various>: change to use Alert.h
13347
13348 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13349
13350         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13351         when encountering an unknown token.
13352         (readLyXformat2): Show an error message if there were unknown tokens.
13353
13354 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * BufferView2.C:
13357         * BufferView_pimpl.C:
13358         * buffer.C:
13359         * paragraph.h:
13360         * text.C:
13361         * text2.C: use par->isInset()
13362
13363 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13364
13365         * paragraph_pimpl.h:
13366         * paragraph_pimpl.C: cleanup
13367
13368 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * text2.C (removeRow):
13371         * text.C (setHeightOfRow): remove useless (and costly) call to
13372         getRow.
13373
13374 2001-11-20  Allan Rae  <rae@lyx.org>
13375
13376         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13377         Now need Inset*::checkInsertChar() to return true for appropriate
13378         cases so that the characters in the minibuffer will actually be
13379         inserted.
13380
13381 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * text.C: change the order of the includes.
13384         (workWidth): initialize it at once.
13385         (workWidth): make maxw unsigned
13386         (setHeightOfRow): remove unused variable (inset)
13387         (selectSelectedWord): remove unused variable (inset)
13388         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13389
13390 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13391
13392         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13393         server is not running.
13394         (openConnection):
13395         (closeConnection): add debug info when server is disabled.
13396
13397         * ColorHandler.C (getGCForeground): send debug message to GUI
13398         channel.
13399
13400         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13401
13402         * kbmap.C (bind): modify because return conventions of
13403         kb_sequence::parse have changed.
13404
13405         * kbsequence.C (parse): only ignore spaces and not any stupid
13406         control character. This avoids tests like s[i] <= ' ', which are
13407         guaranteed to fail with 8bit characters and signed chars.
13408         Change return code to string::npos when there have been no error
13409         (0 was a bad idea when error is at first character)
13410
13411 2001-11-14  José Matos  <jamatos@fep.up.pt>
13412
13413         * buffer.h:
13414         * buffer.C (simpleDocBookOnePar): removed unused argument.
13415
13416 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13419         insets which are part of a word. Paragraph::isLetter takes care of
13420         that now. Use Paragraph::isInset to identify insets.
13421         (selectSelectedWord): do not test for hyphenation break.
13422
13423         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13424         that protected spaces are considered as spaces.
13425
13426         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13427         Inset::isLetter.
13428
13429 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13430
13431         * lyxserver.h:
13432         * lyxserver.C: fix it. and small cleanup.
13433
13434 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13435
13436         * BufferView_pimpl.C: use inline helpers
13437
13438         * LaTeXFeatures.h:
13439         * LaTeXFeatures.C: fix typos
13440
13441         * Spacing.h:
13442         * Spacing.C: move spacing_string into class
13443
13444         * ToolbarDefaults.C: move stuff into namespace anon
13445
13446         * layout.h: update enum
13447
13448         * lyxfunc.C: use better debug
13449
13450         * minibuffer.h: fix typo
13451
13452         * debug.h:
13453         * debug.C:
13454         * WorkArea.C: add and use Debug::WORKAREA
13455
13456         * lyxtext.h:
13457         * text.C:
13458         * text2.C: code re-organisation, inline helpers
13459
13460 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13461
13462         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13463         std::vector.empty().
13464
13465 2001-11-09  Allan Rae  <rae@lyx.org>
13466
13467         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13468         '\n's after tables.  Tabular and ERT inset work now makes this no
13469         longer necessary.
13470
13471 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * minibuffer.h:
13474         * minibuffer.C: fix crash, improve drop-down completion
13475
13476 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13477
13478         * lyxserver.h:
13479         * lyxserver.C: invalidate fd's when doing endPipe()
13480
13481 2001-11-08  José Matos  <jamatos@fep.up.pt>
13482
13483         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13484         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13485
13486         * paragraph.h:
13487         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13488
13489 2001-11-07  José Matos  <jamatos@fep.up.pt>
13490
13491         * buffer.h:
13492         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13493         const qualifier.
13494
13495         * buffer.C (sgmlOpenTag):
13496         * buffer.C (sgmlCloseTag): removed debug info.
13497
13498         * buffer.h (sgmlOpenTag):
13499         * buffer.h (sgmlCloseTag): made public.
13500
13501 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13502
13503         * buffer.C (saveParamsAsDefaults):
13504         * lyx_cb.C (MenuLayoutSave): remove
13505
13506         * LyXAction.C (init):
13507         * commandtags.h:
13508         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13509
13510 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13511
13512         * buffer.C (setPaperStuff): removed from here...
13513
13514         * bufferparams.C (setPaperStuff): ... and moved there.
13515
13516 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13517
13518         * minibuffer.h:
13519         * minibuffer.C:
13520         * XFormsView.C: add support for drop-down completion
13521
13522 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13523
13524         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13525         commands.
13526
13527 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13528
13529         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13530         disabled.
13531
13532 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * lyx_main.C: change ref to known bugs
13535
13536 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13537
13538         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13539         to work around older babel problems.
13540
13541 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13542
13543         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13544
13545 2001-10-24  Juergen Vigna  <jug@sad.it>
13546
13547         * tabular-old.C (ReadOld): below variable changes reflected.
13548
13549         * tabular.[Ch]: added ltType struct for longtable header/footer
13550         defines and changed all instances where they are used. Added
13551         future support for double top/bottom rows.
13552
13553 2001-10-24  José Matos  <jamatos@fep.up.pt>
13554
13555         * buffer.h (docbookHandleCaption):
13556         * buffer.C (docbookHandleCaption): removed unused function.
13557         (makeDocBookFile): moved docbook supported version to v4.1.
13558
13559 2001-10-24  José Matos  <jamatos@fep.up.pt>
13560
13561         * tabular.h:
13562         * tabular.C (docbookRow): new function to export docbook code of a row.
13563         (DocBook): now honors the longtable flags.
13564
13565 2001-10-23  José Matos  <jamatos@fep.up.pt>
13566
13567         * LaTeXFeatures.h:
13568         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13569         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13570
13571         * buffer.C (makeLinuxDocFile):
13572         (makeDocBookFile): reworked the preamble, more clean, and with
13573         support for lyx defined entities. Changed the document declaration
13574         to be more XML friendly.
13575
13576         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13577         if we need to output XML that should be done with a filter.
13578
13579 2001-10-22  Juergen Vigna  <jug@sad.it>
13580
13581         * sp_pspell.h (class PSpell): add alive function needed in the
13582         controller to see if the spellchecker could be started.
13583
13584 2001-10-22  Juergen Vigna  <jug@sad.it>
13585
13586         * buffer.C (insertStringAsLines): modify the font for inserting
13587         chars in certain conditions by calling checkInsertChar(font).
13588
13589 2001-10-19  Juergen Vigna  <jug@sad.it>
13590
13591         * text.C (workWidth): use getRow instead of wrong algorithm.
13592         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13593
13594 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * lyxserver.h:
13597         * lyxserver.C:
13598         * lyx_main.h:
13599         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13600
13601 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13602
13603         * text.C (workWidth): do not search for the exact row when
13604         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13605         optimization for big documents.
13606
13607 2001-10-18  Juergen Vigna  <jug@sad.it>
13608
13609         * text.C (workWidth): new function with added Inset * parameter.
13610
13611 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13612
13613         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13614
13615         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13616         change return type of getColumnNearX.
13617
13618
13619         * text.C (changeRegionCase): use uppercase/lowercase instead of
13620         toupper/tolower.
13621         (leftMargin):
13622         (rightMargin): simplify code by factoring out the uses of
13623         textclasslist.
13624         (labelFill):
13625         (numberOfHfills):
13626         (setHeightOfRow):
13627         (appendParagraph): use Paragraph::size_type
13628
13629 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * vspace.C (asLatexString): add a missing break
13632
13633 2001-10-15  Herbert Voss  <voss@perce.de>
13634
13635         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13636
13637 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13638
13639         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13640         is not available.
13641
13642 2001-10-10  André Pönitz <poenitz@gmx.net>
13643
13644         * lyxfunc.C: removed greek_kb_flag.
13645
13646 2001-10-10  Herbert Voss  <voss@perce.de>
13647
13648         * lyx_main.C: delete global string help_lyxdir.
13649
13650 2001-10-09  Herbert Voss  <voss@perce.de>
13651
13652         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13653
13654         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13655
13656         * lyx_main.C: added global string help_lyxdir.
13657
13658         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13659
13660 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13661
13662         * lyxrc.C (set_font_norm_type): support iso8859-4
13663
13664 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13665
13666         * LaTeX.C (deplog): add another regex for MikTeX
13667
13668 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13669
13670         * lyxrc.C (set_font_norm_type): support iso8859-3
13671
13672 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13673
13674         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13675
13676         * LaTeXFeatures.C: remove special case of french and index
13677
13678         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13679         before \begin{document}). This solves several incompatibilities.
13680
13681 2001-10-03  Garst Reese  <reese@isn.net>
13682
13683         * lyx_cb.C: change CheckTex error msg.
13684
13685 2001-10-03  José Matos  <jamatos@fep.up.pt>
13686
13687         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13688
13689 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13690
13691         * .cvsignore: update
13692
13693         * lyx_main.C (commandLineVersionInfo): use new style version info.
13694
13695         * buffer.C (writeFile):
13696         (makeLaTeXFile):
13697         (makeLinuxDocFile):
13698         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13699
13700         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13701
13702         * version.h: update to use stuff in version.C
13703
13704         * version.C.in: new file. Contains version information determined
13705         at compile time. This is a merging of version.h and
13706         version_info.h.in.
13707
13708 2001-10-03  Juergen Vigna  <jug@sad.it>
13709
13710         * BufferView_pimpl.C (update): don't change "dirty" status in
13711         updateInset call.
13712
13713 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13714
13715         * WorkArea.C (c-tor): re-position version string slightly.
13716
13717 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13718
13719         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13720         revert to previous code.
13721
13722         WorkArea.[Ch]: (show, destroySplash): methods removed.
13723
13724         WorkArea.C: rework code so that it's an amalgam of the codes before and
13725         after the splash screen was moved to WorkArea.
13726
13727 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13728
13729         * lyxrc.C (read):
13730         * vspace.C (inPixels):
13731         (lyx_advance):
13732         * kbmap.C (bind):
13733         * buffer.C (insertStringAsLines):
13734         (asciiParagraph): fix types to be large enough
13735
13736         * lyxlex_pimpl.h: change member status from short to int
13737
13738         * layout.h: fix type of endlabeltype
13739
13740         * kbmap.C (bind):
13741         * kbsequence.C (parse): change return type to string::size_type
13742
13743         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13744         variable
13745
13746         * Bullet.C (bulletSize):
13747         (bulletEntry): do not use short ints as parameters
13748
13749         * BufferView2.C (insertLyXFile): change a char to an int.
13750
13751         * WorkArea.C (WorkArea): remove unneeded floats in computation
13752
13753 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13754
13755         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13756
13757         * paragraph.C (asString): Do not ignore newline/hfill chars when
13758         copying to the clipboard.
13759
13760 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13761
13762         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13763         after a multi-line inset.
13764
13765 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13766
13767         * paragraph.C (validate): Set NeedLyXFootnoteCode
13768
13769 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13770
13771         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13772         and decrease-error to decrease.
13773
13774 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13775
13776         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13777         it more readable (should be equivalent)
13778
13779 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13780
13781         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13782
13783 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13786         of a cursor (row, etc.) after a character has been deleted
13787         (deleteEmptyParagraphMechanism): call the method above on _all_
13788         cursors held by the LyXText when a double space has been
13789         detected/deleted.
13790
13791 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13794         pixmap.
13795         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13796
13797         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13798         background. Use greyOut() and the new show() methods to toggle between
13799         the foreground and background. Add code to remove the splash after
13800         its initial showing.
13801
13802         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13803         (create_forms): no longer call Dialogs::showSplash.
13804
13805 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13806
13807         * .cvsignore: add version_info.h
13808
13809 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13810
13811         * version_info.h.in: new file
13812
13813         * Makefile.am: add version_info.h.in
13814
13815         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13816         version_info.h instead of VERSION_INFO
13817
13818 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13819
13820         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13821         The ERT inset now returns string().
13822
13823 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13824
13825         * lyxtext.h, text.C (selectNextWord): renamed as
13826         selectNextWordToSpellcheck.
13827
13828         * text.C (selectNextWordToSpellcheck): Modified to not select
13829         words inside an ERT inset.
13830
13831 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * lyx_cb.C (MenuLayoutSave): change a bit the question
13834
13835         * sp_base.h: include <sys/types.h>
13836
13837 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13838
13839         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13840
13841 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13842
13843         * several files: fix typos in user-visible strings
13844
13845 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13846
13847         * text2.C (pasteSelection): do not set the selection, since it
13848         will be cleared later. Actually, the intent was to fix the way the
13849         selection was set, but I figured rmoving the code was just as good.
13850
13851 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13852
13853         * FontLoader.C (available): Check if font is available without
13854         loading the font.
13855
13856 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13857
13858         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13859
13860 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13861
13862         * lyxrc.[Ch]: added display_graphics variable and associated code.
13863
13864 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13865
13866         * bufferparams.C (hasClassDefaults): new method. Returns true if
13867         the buffer parameters correspond to known class defaults
13868
13869 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13870
13871         * XFormsView.C (show): set minimum size to the main window.
13872
13873 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13874
13875         * text2.C (copySelection):
13876         (cutSelection):
13877         * lyxfind.C (LyXReplace):
13878         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13879         LyXText::selectionAsString.
13880
13881         * paragraph.C (asString): add "label" argument to the second form
13882
13883         * text2.C (selectionAsString): add "label" argument and pass it to
13884         Paragraph::asString.
13885
13886 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13887
13888         * lyx_main.C (commandLineHelp): remove version information
13889
13890 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13891
13892         * lyx_main.C: add -version commandline option
13893
13894 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13895
13896         * paragraph.h: make the optional constructor arg required instead.
13897         some modifications to other files because of this.
13898
13899         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13900
13901         * lyxserver.C (C_LyXComm_callback): make it static
13902
13903         * lyx_main.C (error_handler): make it static
13904
13905         * lyx_gui.C (LyX_XErrHandler): make it static
13906
13907         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13908
13909         * WorkArea.C: make the extern "C" methods static.
13910
13911         * Makefile.am (lyx_LDADD): simplify
13912
13913 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13914
13915         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13916         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13917
13918         * LyXAction.C (init):
13919         * lyxfunc.C (dispatch): associated code removal.
13920
13921 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13922
13923         * lyxfont.h (isSymbolFont): shut off warning
13924
13925         * text.C (setHeightOfRow):
13926         (getVisibleRow): fix crash with empty paragraphs which have a
13927         bottom line
13928
13929 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13930
13931         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13932         code.
13933
13934 2001-09-04  José Matos  <jamatos@fep.up.pt>
13935         * buffer.C
13936         * buffer.h
13937         * tabular.C (docbook): rename docBook method to docbook.
13938
13939 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13940
13941         * Makefile.am: add dependencies to main.o.
13942
13943 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13944
13945         * FontLoader.C (available): Return false if !lyxrc.use_gui
13946
13947 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13948
13949         * FontInfo.C (query):
13950         * converter.C (view):
13951         * importer.C (Import):
13952         * exporter.C (Export): Can not -> cannot.
13953
13954 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13955
13956         * BufferView_pimpl.C: allow to create index inset even if
13957           string is empty
13958
13959 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * buffer.C (getLists): replace boost::tie code with an explicit pair
13962         as boost::tie can break some compilers.
13963
13964         * iterators.h: Added a std:: declaration to the return type of
13965         ParIterator::size.
13966
13967 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13968
13969         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13970           case.
13971
13972 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13973
13974         * iterators.[Ch]: New files. Provide paragraph iterators.
13975
13976         * buffer.C (changeLanguage): Use paragraph iterators.
13977         (isMultiLingual): ditto
13978
13979         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13980
13981 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * FontLoader.C: Support for cmr font.
13984
13985 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13986
13987         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13988         (available): New method.
13989
13990         * FontInfo.C (getFontname): Use scalable fonts even when
13991         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13992         found.
13993
13994 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13995
13996         * converter.C (Formats::view): reverted! Incorrect fix.
13997
13998 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13999
14000         * converter.C (Formats::view): only output the -paper option
14001         if the dvi viewer is xdvi, thereby fixing bug #233429.
14002
14003 2001-08-23  Herbert Voss  <voss@perce>
14004
14005         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14006
14007 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14008
14009         * Spacing.h (Spacing): Set space to Default on in the default
14010         constructor.
14011
14012 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14013
14014         * vc-backend.h (RCS::versionString): add RCS to version
14015         (CVS::versionString): add CVS to version
14016
14017         * vc-backend.C (scanMaster): do not add CVS to version.
14018         (scanMaster): do not add RCS to version
14019
14020         * lyxvc.C (versionString): new method
14021
14022         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14023
14024 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14025
14026         * Spacing.C (set): initialize fval
14027
14028 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14029
14030         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14031         " or \.
14032
14033 2001-08-16  Juergen Vigna  <jug@sad.it>
14034
14035         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14036
14037 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14038
14039         * BufferView_pimpl.C:
14040         * figureForm.C:
14041         * lyxtext.h:
14042         * text2.C: setParagraph takes linespacing now
14043
14044 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14045
14046         * LyxAction.C: add internal LFUN_CITATION_INSERT
14047
14048         * LyXView.C: actually apply fix
14049
14050         * bufferlist.C: fix open non-existent file
14051
14052         * lyxfind.C: fix indentation
14053
14054         * lyxfunc.C: remove unneeded assert, fix typo
14055
14056 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * MenuBackend.C: use "Floatname List"
14059
14060 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14061
14062         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14063         when converting LaTeX layout to insetERT.
14064         Generate a non-collapsed float when reading old float
14065
14066 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14069         ERT insets.
14070
14071 2001-08-13  Juergen Vigna  <jug@sad.it>
14072
14073         * text.C (fill): return 0 instead of 20 as this seems to be the more
14074         correct value.
14075
14076 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14077
14078         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14079         lyxrc.font_norm.
14080
14081 2001-08-13  Juergen Vigna  <jug@sad.it>
14082
14083         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14084         casesensitive off.
14085         (SearchBackward): comment out the unlocking of the inset_owner this
14086         should not be needed!
14087
14088 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14089
14090         * Many files: Remove inherit_language, and add latex_language
14091
14092         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14093         collapsible insets.
14094
14095 2001-08-10  Juergen Vigna  <jug@sad.it>
14096
14097         * text.C (prepareToPrint): fixed hfill-width in draw!
14098
14099         * BufferView2.C (selectLastWord): save the selection cursor as this
14100         now is cleared in the function LyXText::clearSelection!
14101
14102 2001-08-08  Juergen Vigna  <jug@sad.it>
14103
14104         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14105         BACKSPACE type functions.
14106
14107         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14108         is only cutted from the document but not put in the cut-buffer, where
14109         still the old stuff should be.
14110
14111         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14112
14113         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14114
14115         * tabular.C (SetWidthOfCell): fixed special case where the width
14116         was not updated!
14117         (LeftLine): handle '|' in align_special.
14118         (RightLine): ditto
14119         (LeftAlreadyDrawed): ditto
14120         (SetWidthOfCell): ditto
14121
14122 2001-08-07  Juergen Vigna  <jug@sad.it>
14123
14124         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14125
14126 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14127
14128         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14129         * lyxlex.[hC]: ditto
14130
14131 2001-08-06  Juergen Vigna  <jug@sad.it>
14132
14133         * text.C (getVisibleRow): fix up row clearing a bit.
14134
14135 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14136
14137         * minibuffer.C: make sure the X server sees the changes in the input.
14138
14139 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14140
14141         * paragraph.C (getFont): split into...
14142         (getLabelFont): this
14143         (getLayoutFont): and this
14144         * paragraph_pimpl.C (realizeFont): calling this
14145
14146         * text2.C (getFont): split into...
14147         (getLayoutFont): this
14148         (getLabelFont): and this
14149         (realizeFont): all three calling this
14150
14151         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14152         files where used.
14153
14154 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14155
14156         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14157
14158 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14159
14160         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14161         layouts from the Quote inset insertion.
14162
14163 2001-08-03  Juergen Vigna  <jug@sad.it>
14164
14165         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14166
14167         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14168         only if status not is already CHANGED_IN_DRAW (second level).
14169
14170         * text.C (draw): don't set the need_break_row when inside an
14171         InsetText LyXText.
14172
14173 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14174
14175         * buffer.C (parseSingleLyXformat2Token): handle more latex
14176         conversion cases.
14177
14178         * bufferview_funcs.[hC]: change function names to
14179         begin with small char, adjust other files.
14180
14181 2001-08-02  André Pönitz <poenitz@gmx.net>
14182
14183         * lyxfunc.C:
14184         BufferView_pimpl.C: remove broken special code for math-greek
14185
14186 2001-08-02  Juergen Vigna  <jug@sad.it>
14187
14188         * BufferView_pimpl.C (update): redone this function so that we
14189         update the text again if there was a CHANGE_IN_DRAW.
14190
14191         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14192         (drawFromTo): added a new internal bool which is used by draw() and
14193         redraw() function.
14194         (general): some cursor drawing problems fixed.
14195
14196 2001-08-01  Juergen Vigna  <jug@sad.it>
14197
14198         * lyxfind.C (LyXFind): fixed
14199         (SearchForward): ditto
14200         (SearchBackward): ditto
14201
14202         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14203         spurius drawing of the cursor in the main area.
14204
14205         * text2.C (status): small fix which could lead to a segfault!
14206         (clearSelection): remove unneeded BufferView param.
14207
14208 2001-08-01  André Pönitz <poenitz@gmx.net>
14209
14210         * lyxfunc.C: small change due to changed mathed interface
14211
14212 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14213
14214         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14215
14216 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * lyxfunc.c: fail gracefully if file doesn't exist
14219
14220         * LyXSendto.C:
14221         * buffer.C:
14222         * lyxfunc.C:
14223         * BufferView_pimpl.C: IsDirWriteable() proto changed
14224
14225         * LyXView.C: fix updateWindowTitle() to store the last title
14226
14227 2001-07-31  Juergen Vigna  <jug@sad.it>
14228
14229         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14230         the font (wrong since using of Paragraph::highestFontInRange).
14231
14232         * paragraph.C (highestFontInRange): added a default_size parameter.
14233
14234         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14235         (setHeightOfRow): reformat
14236
14237 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14238
14239         * converter.[hC] + affected files: move to (inital-char)lowercase
14240         function names.
14241
14242         * ParagraphParameters.C (ParagraphParameters): remove commented code
14243
14244         * PainterBase.[Ch]: remove commented code
14245
14246         * LaTeXFeatures.h: add "bool floats" for float.sty
14247
14248         * LaTeXFeatures.C (LaTeXFeatures): init floats
14249         (require): handle float
14250         (getPackages): do it with floats
14251
14252 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14253
14254         * BufferView_pimpl.C (Dispatch): improve handling of
14255         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14256
14257         * commandtags.h: #include lyxfont.h here temporarily to avoid
14258         keybinding bug.
14259
14260         * bufferlist.h: include LString.h here.
14261
14262 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14263
14264         * text2.C (getStringToIndex): new method.
14265
14266 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14267
14268         * *: Reduced header file dependencies all over.
14269
14270 2001-07-30  Baruch Even  <baruch@lyx.org>
14271
14272         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14273
14274 2001-07-29  Baruch Even  <baruch@lyx.org>
14275
14276         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14277
14278 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14279
14280         * ParameterStruct.h (endif): add a default constructor to make
14281         sure that all variables is initialized.
14282
14283         * ParagraphParameters.C (ParagraphParameters): adjust
14284
14285 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14288         index; also, check that there is something to index, and that it
14289         does not span over several paragraphs.
14290         (doubleClick): use WHOLE_WORD_STRICT for double click.
14291
14292         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14293
14294         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14295         scheme.
14296
14297 2001-07-26  Baruch Even  <baruch@lyx.org>
14298
14299         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14300         an InsetFig figure, backwards compatible reading of old figure code.
14301
14302 2001-07-27  Juergen Vigna  <jug@sad.it>
14303
14304         * text2.C: font.realize function adaption.
14305
14306         * text.C (draw): add a warnings lyxerr text if needed.
14307
14308         * layout.C: font.realize function adaption.
14309
14310         * language.C: add inherit_language and implement it's handlings
14311
14312         * bufferview_funcs.C (StyleReset): remove language parameter from
14313         font creation (should be language_inherit now).
14314
14315         * bufferparams.C (writeFile): handle ignore_language.
14316
14317         * paragraph.C (getFontSettings): the language has to be resolved
14318         otherwise we have problems in LyXFont!
14319
14320         * lyxfont.C (lyxWriteChanges): added document_language parameter
14321         (update): removed unneeded language parameter
14322
14323         * paragraph.C (validate): fixed wrong output of color-package when
14324         using interface colors for certain fonts in certain environments,
14325         which should not seen as that on the final output.
14326
14327 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * BufferView_pimpl.C:
14330         * Thesaurus.h:
14331         * Thesaurus.C:
14332         * Makefile.am:
14333         * commandtags.h:
14334         * LyXAction.C: add thesaurus support
14335
14336         * lyxfind.h:
14337         * lyxfind.C: add "once" parameter, for thesaurus, to not
14338           move to the next match
14339
14340 2001-07-26  Juergen Vigna  <jug@sad.it>
14341
14342         * lyxfont.C (realize): honor ignore_language too!
14343         (resolved): ditto.
14344
14345         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14346
14347         * text.C (draw): one place more for ignore_language to not draw
14348         itself!
14349
14350 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14351
14352         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14353
14354 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14357         the minipage conversion problem.
14358
14359 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14362         insert an inset.
14363
14364 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14365
14366         * BufferView.h: don't forward declare WorkArea
14367
14368         * BufferView.C: don't include WorkArea.h
14369
14370 2001-07-25  André Pönitz <poenitz@gmx.net>
14371
14372         * commandtags.h:
14373         * LyXAction.C:
14374         * lyxfunc.C:  new LFUN 'math-space'
14375
14376         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14377
14378 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14379
14380         * text2.C (toggleInset): call open/close
14381
14382 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14383
14384         * lyxfunc.C (dispatch): add debug for the disabled case
14385
14386         * font.C (buttonText): make similar to rectText
14387
14388         * buffer.C (readInset): comment out parsing of insetlist and
14389         insttheorem
14390
14391         * PainterBase.C (rectText): small correction
14392
14393         * BufferView_pimpl.C: comment out insettheorem and insetlist
14394         * LyXAction.C: ditto
14395         * commandtags.h: ditto
14396
14397 2001-07-24  Juergen Vigna  <jug@sad.it>
14398
14399         * text.C (draw): honor the ignore_language.
14400
14401         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14402
14403 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14406         char inset.
14407
14408 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14409
14410         * lyxtext.h: remove unused (and unimplemented) methods
14411
14412 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14413
14414         * text.C (getVisibleRow): honor background color
14415
14416         * PainterBase.h:
14417         * Painter.h: remove default color argument for fillRectangle
14418
14419         * text.C (backgroundColor): new method
14420
14421 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14422
14423         * text.C (getVisibleRow): adjust
14424
14425         * font.[Ch] (rectText): new method, metrics
14426         (buttonText): new method, metrics
14427
14428         * PainterBase.[hC]: make rectText and buttonText always draw and take
14429         fewer paramteres.
14430
14431 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14432
14433         * ToolbarDefaults.C (read):
14434         * MenuBackend.C (read): allow escaping in all strings
14435
14436         * BufferView_pimpl.C (insertAndEditInset): new method.
14437         (Dispatch): use insertAndEditInset whenever appropriate.
14438
14439         * BufferView_pimpl.C (insertNote): removed
14440
14441         * BufferView_pimpl.C (smartQuote): new method, moved from
14442         BufferView; if an insetquote cannot be inserted, insert a '"'
14443         character instead.
14444
14445         * BufferView2.C: remove insertCorrectQuote();
14446
14447         * lyxfunc.C (getStatus): Add support for all remaingin
14448         inset-insert lfuns.
14449
14450         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14451
14452         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14453         command (necessary to pass " as parameter of self-insert.
14454
14455         * text.C (selectWordWhenUnderCursor):
14456         (selectWord): add word_location parameter
14457         (selectWordWhenUnderCursor): same + remove special code for word
14458         boundary.
14459         (selectNextWord): use kind() to guess type of insetspecialchar,
14460         not latex().
14461
14462         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14463         (insertErtContents): create ert insets as collapsed.
14464         (readInset): better compatibility code for Info inset.
14465
14466 2001-07-20  Juergen Vigna  <jug@sad.it>
14467
14468         * lyxfunc.C (dispatch): use always LyXFind now!
14469
14470         * text2.C (init): add a reinit flag so that the LyXText can be
14471         reinited instead of deleted and reallocated (used in InsetText).
14472
14473         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14474
14475         * text.C: ditto
14476
14477         * text2.C: ditto
14478
14479 2001-07-18  Juergen Vigna  <jug@sad.it>
14480
14481         * text.C (selectNextWord): handle insets inside inset by calling
14482         always the bv->text functions so that we can go up the_locking_inset!
14483
14484         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14485         in strange locations when inside an inset!
14486
14487         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14488         handling to include insets.
14489
14490         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14491
14492 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14493
14494         * LyXAction.C (init):
14495         * commandtags.h:
14496         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14497         LIGATURE_BREAK, since the name is so stupid.
14498
14499 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14500
14501         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14502         InsetInfos.
14503
14504         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14505
14506         * sp_form.[Ch]: remove.
14507
14508         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14509
14510         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14511         InsetInfo.
14512
14513         * src/buffer.C (readInset): ditto.
14514
14515 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14516
14517         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14518         menuSeparator(), endOfSentenceDot(), ldots() and
14519         hyphenationPoint(), which are therefore removed.
14520         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14521
14522         * LyXAction.C (init):
14523         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14524
14525         * paragraph.C (getWord): removed.
14526
14527         * BufferView_pimpl.C (Dispatch): use last word or selection for
14528         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14529
14530         * lyx_main.C (queryUserLyXDir): do not ask before creating
14531         user_dir, except if it has been named explicitely.
14532
14533 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14534
14535         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14536         a document of zero size.
14537
14538 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14539
14540         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14541         approriately in the c-tor and in require().
14542         (getPackages): output the appropriate LaTeX for natbib support.
14543
14544         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14545         variables "use_natbib" and "use_numerical_citations" when reading the
14546         LyX file.
14547         (readInset): read the various natbib cite commands.
14548         (validate): white-space change.
14549
14550         * bufferparams.[Ch]: new variables "bool use_natbib" and
14551         "bool use_numerical_citations".
14552         (writeFile): output them in the LyX file.
14553
14554 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14555
14556         * lyxfunc.C (getStatus): add support for all the inset insertion
14557         commands.
14558
14559         * text2.C (insertInset):
14560         * paragraph.C (insetAllowed):
14561         * BufferView_pimpl.C (insertInset): update to take in account the
14562         renaming of insertInsetAllowed
14563
14564         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14565
14566         * text2.C (getInset): new method. returns inset at cursor position.
14567
14568         * BufferView_pimpl.C (Dispatch): changes because of this.
14569
14570         * LyXAction.C (init): rename open-stuff to inset-toggle.
14571
14572         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14573
14574         * text2.C (toggleInset): renamed from openStuff; use
14575         Inset::open().
14576
14577 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14578
14579         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14580
14581         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14582
14583 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14584
14585         * buffer.C (readLyXformat2): Add filename to the error dialog
14586
14587 2001-07-18  Juergen Vigna  <jug@sad.it>
14588
14589         * tabular.C (GetCellNumber): put an assert here instead of the check!
14590
14591 2001-07-17  Juergen Vigna  <jug@sad.it>
14592
14593         * BufferView_pimpl.C (toggleSelection): adapted too.
14594
14595         * text.C (selectNextWord): adapted for use with insets.
14596         (selectSelectedWord): ditto
14597
14598 2001-07-17  Juergen Vigna  <jug@sad.it>
14599
14600         * sp_spell.C (PSpell): fix initialitation order.
14601
14602 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * paragraph.C: spacing
14605
14606 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14607
14608         * sp_spell.C: repair language selection for pspell
14609
14610 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * lyxfunc.h: change more methods to begin with lower char.
14613
14614 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14615
14616         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14617         for unknown layouts.
14618
14619 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14620
14621         * buffer.C (readLyXformat2): Generate an error dialog if there are
14622         unknown layouts.
14623
14624 2001-07-16  Juergen Vigna  <jug@sad.it>
14625
14626         * sp_spell.C: always compile ISpell part.
14627
14628         * lyxrc.C: added use_pspell entry and it's handling.
14629
14630 2001-07-13  Juergen Vigna  <jug@sad.it>
14631
14632         * sp_spell.C: removed double includes.
14633
14634 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14635
14636         Consistent use of Lsstream.h:
14637         * Lsstream.h: added using std::stringstream for consistencies sake.
14638
14639         * buffer.C: removed using std::stringstream
14640
14641         * lyxfont.C (stateText):
14642         * paragraph.C (asString):
14643         * text.C (selectNextWord, selectSelectedWord):
14644         * text2.C (setCounter):
14645         * vspace.C (asString, asLatexString):
14646         std::ostringstream -> ostringstream.
14647
14648 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14649
14650         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14651         * commandtags.h: add LFUN_HELP_ABOUTLYX
14652         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14653
14654 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14655
14656         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14657         cursorToggle()
14658         * lyx_gui_misc.C: remove spellchecker
14659         * lyxfunc.C: showSpellchecker
14660         * sp_base.h: added
14661         * sp_ispell.h: added
14662         * sp_pspell.h: added
14663         * sp_spell.C: added
14664         * sp_form.[Ch]: removed
14665         * spellchecker.[Ch]: removed
14666
14667 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14668
14669         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14670         is set.
14671         (simpleTeXSpecialChars): Simply print the input character without
14672         any special translation if pass_thru is set.
14673
14674         * layout.h: Added bool pass_thru to layout class for being able to
14675         implement pass through of a paragraph for Literate Programming.
14676
14677         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14678         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14679         * layout.C (Read): add "passthru" to list of layout tags and add
14680         code to set the pass_thru boolean when it is read.
14681
14682 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14683
14684         * trans_decl.h: remove allowed from KmodInfo
14685
14686         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14687         remove allowed code
14688         (Load): adjust
14689
14690         * paragraph_pimpl.C (erase): use boost::prior
14691
14692         * Painter.C (text): use data() instead of c_str() when length is
14693         also provided.
14694         * WorkArea.C (putClipboard): ditto
14695         * font.h (width): ditto
14696
14697         * BufferView2.C: use it-> instead of (*it). for iterators
14698         * texrow.C: ditto
14699         * paragraph_pimpl.C: ditto
14700         * paragraph.C: ditto
14701         * minibuffer.C: ditto
14702         * language.C: ditto
14703         * kbmap.C: ditto
14704         * encoding.C: ditto
14705         * counters.C: ditto
14706         * converter.C: ditto
14707         * chset.C: ditto
14708         * Variables.C: ditto
14709         * TextCache.C: ditto
14710         * MenuBackend.C: ditto
14711         * LyXAction.C: ditto
14712         * LColor.C: ditto
14713         * FloatList.C: ditto
14714         * DepTable.C: ditto
14715         * ColorHandler.C (LyXColorHandler): ditto
14716
14717 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14720
14721         * text2.C (openStuff): reintroduce this method (which had been
14722         nuked in NEW_INSETS frenzy).
14723
14724         * lyxfunc.C (Dispatch): when an action has not been handled, use
14725         its name in the error message, not its number.
14726
14727         * paragraph.C (inInset): change method name to begin with lowercase.
14728
14729         * undo_funcs.C:
14730         * text2.C: updates because of this.
14731
14732 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * ToolbarDefaults.C (add): add spaces in error message
14735
14736 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14739         (readLyXformat2): rename return_par to first_par, use lyxlex's
14740         pushToken and remove the manual push handling.
14741         (parseSingleLyXformat2Token): add another ert comp. variable:
14742         in_tabular, rename return_par to first_par. handle newlines better
14743
14744 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14745
14746         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14747
14748 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14749
14750         * text2.C (getParFromID): removed
14751
14752         * buffer.C (getParFromID): new method moved form lyxtext.
14753         * BufferView2.C (insertErrors): adjust
14754         (setCursorFromRow): adjust
14755         * BufferView_pimpl.C (restorePosition): adjust
14756         * lyxfunc.C (Dispatch): adjust
14757         * undo_funcs.C (textUndo): adjust
14758         (textRedo): adjust
14759         (textHandleUndo): adjust
14760         (textHandleUndo): adjust
14761
14762 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14763
14764         * buffer.C: up' the LYX_FORMAT
14765
14766         * lyxfont.h: turn NO_LATEX on as default
14767
14768         * buffer.C (insertErtContents): new methods of tex style compability.
14769         (parseSingleLyXformat2Token): use it several places.
14770         * tabular.C (OldFormatRead): and here
14771
14772 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * text2.C: remove some commented code.
14775         reindent file.
14776
14777         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14778         * trans.C: changes because of the above.
14779
14780 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14781
14782         * text2.C (setCounter): Fix counters bug with bibliography layout.
14783
14784 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14785
14786         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14787         own member functions
14788         (simpleTeXSpecialChars): ditto
14789
14790 2001-07-06  Juergen Vigna  <jug@sad.it>
14791
14792         * a lot of files: changed the access to LyXText::status and the
14793         call of undo-functions.
14794
14795         * undo.[Ch]: added a inset_id to the undo informations.
14796
14797         * undo_funcs.[Ch]: added and moved here all undo functions.
14798
14799         * lyxtext.h: give the status enum a weight, made status_ a private
14800         variable and made accessor functions for it, removed the whole bunch
14801         of undo-functions as they are now in their own file, make some
14802         functions publically available. Added function ownerParagraph with
14803         int parameter.
14804
14805         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14806         made InInset() a const function, added getParFromID() function.
14807
14808         * buffer.[Ch]: added const version for inset_iterator functions,
14809         added getInsetFromID() function.
14810
14811         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14812         changed undo functions for new version.
14813
14814 2001-07-05  Juergen Vigna  <jug@sad.it>
14815
14816         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14817         unknow mechanism does not call the proper constructor but only this
14818         one also if I request the other!?
14819
14820 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14821
14822         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14823
14824         * text2.C (LyXText): use initialization lists.
14825
14826         * lyxtext.h (Selection): initialize set_ and mark_
14827         (init): remove method
14828
14829 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14830
14831         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14832
14833 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14834
14835         * screen.[Ch]: change method names to begin with lowercase
14836
14837         * BufferView_pimpl.C (updateScrollbar): simplify further and
14838         hopefully make it a bit faster.
14839
14840 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14841
14842         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14843         calling directly xforms functions.
14844
14845         * Painter.C (Painter):
14846         * lyx_cb.C (MenuWrite):
14847         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14848         fl_display.
14849
14850         * lyx_gui.C: remove bogus guiruntime extern declaration.
14851
14852 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14853
14854         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14855         in NEW_INSETS
14856         (redoDrawingOfParagraph): ditto
14857         (redoParagraphs): ditto
14858         (cutSelection): don't create a object for CutAndPaste use the
14859         static method directly
14860         (pasteSelection): ditto
14861
14862         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14863         LyXview (+ rename)
14864
14865 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14866
14867         * modifications to some other files because of this.
14868
14869         * Makefile.am (lyx_SOURCES): add XFormsView
14870
14871         * XFormsView.[Ch]: new files
14872
14873         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14874         the main window. Move the gui dependent stuff to XFormsView
14875
14876 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * tabular.C (GetCellInset): update cur_cell also in the row/col
14879         version of this function.
14880
14881         * lyxfunc.C: no need to include figure_form.h here.
14882
14883         * FontLoader.h:
14884         * lyxfunc.h:
14885         * lyxscreen.h:
14886         * text2.C:
14887         * lyxvc.C: no need to include forms.h here.
14888
14889 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14892
14893         * lyxfunc.C (Dispatch):
14894         * Spacing.C (set):
14895         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14896         constructor argument.
14897
14898 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14899
14900         * paragraph.C (Paragraph): dont't clear, and just set layout.
14901         (makeSameLayout): use params's copy contructor.
14902
14903         * ParagraphParameters.[Ch] (makeSame): delete method
14904
14905 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14906
14907         * Variables.[Ch]: fix indentation, rename set to isSet
14908
14909 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14910
14911         * lyxfunc.C (Dispatch): fix typo
14912
14913 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14914
14915         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14916         upper_bound.
14917
14918         * bufferlist.C: include assert.h for emergencyWrite().
14919
14920 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14923           give up at last (bug #425202) !
14924
14925 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14926
14927         * lyx_gui_misc.C:
14928         * sp_form.h:
14929         * sp_form.C:
14930         * spellchecker.h:
14931         * spellchecker.C: strip spellchecker options and bring up
14932           preferences tab instead
14933
14934 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14935
14936         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14937         the istringstream constructor
14938
14939 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14940
14941         * paragraph.C (getLayout): fix return value
14942
14943         * paragraph.h: do not declare getLayout as inline.
14944
14945         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14946
14947 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14948
14949         * lyxcursor.h (operator<): new func
14950         (operator>): new func
14951         (operator>=): new func
14952         (operator<=): new func
14953
14954         * text.C (changeCase): use selection.start and selection.end
14955         (changeRegionCase): require from to be <= to. Require par to be a
14956         valid paragraph.
14957
14958         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14959
14960 2001-06-27  Juergen Vigna  <jug@sad.it>
14961
14962         * text.C (cursorLeftOneWord): changed to return the cursor and added
14963         overlay with BufferView * parameter which calls this one.
14964         (getWord): added
14965         (selectWord): use new getWord function.
14966         (changeCase): renamed from changeWordCase as and extended to work
14967         also on selections.
14968
14969         * lyxtext.h: added enum word_location
14970
14971         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14972         changeCase as this operates now also on selections.
14973
14974 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14975
14976         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14977
14978         * many files: send debug output to Debug::INFO instead of
14979         Debug::ANY.
14980
14981         * converter.C (View):
14982         (Convert):
14983         (Move): send debug output to Debug::FILES instead of console.
14984
14985 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14986
14987         * lyxfunc.C (getStatus): use func_status
14988
14989         * func_status.h: new header, describing the results of
14990         LyXFunc::getStatus;
14991
14992         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14993         LFUN_MATH_HALIGN.
14994
14995 2001-06-25  The LyX Project  <jug@sad.it>
14996
14997         * buffer.C (sgmlOpenTag):
14998         (sgmlCloseTag):
14999         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15000
15001 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * text2.C: remove some dead code
15004
15005         * tabular.C (GetCellInset): store the last cell checked (gotten)
15006
15007         * tabular.h: add the helper for the speedup
15008
15009         * lyxtext.h: remove some dead code
15010
15011 2001-06-26  The LyX Project  <Asger>
15012
15013         * paragraph.C: Change export to LaTeX of alignment to
15014         \begin{center} and family for better roundtrip work with reLyX.
15015
15016         * Tune the math drawing a bit.
15017
15018 2001-06-25  The LyX Project  <Asger>
15019
15020         * LColor.C (LColor): New color for math background. New color
15021         for buttons.
15022
15023 2001-06-25  The LyX Project  <jug@sad.it>
15024
15025         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15026
15027         * lyxfunc.C (Open):
15028         * bufferlist.C (newFile): do not restrict to files ending with
15029         .lyx
15030
15031         * BufferView_pimpl.C (MenuInsertLyXFile):
15032
15033 2001-06-24  The LyX Project  <jug@sad.it>
15034
15035         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15036         of compare_no_case
15037
15038 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15039
15040         * lyxtext.h: rename most methods to begin with a small char.
15041         Lots of changes because of this.
15042
15043         * paragraph.C (Paragraph): do not call fitToSize
15044         (erase): call Pimpl::erase
15045         (insertChar): call Pimpl::insertChar
15046         (insertInset): call Pipl::insertInset
15047         (breakParagraph): do not call fitToSize
15048         (breakParagraphConservative): do not call fitToSize
15049         (fitToSize): remove method
15050
15051         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15052
15053 2001-06-24  The LyX Project  <Asger>
15054
15055         * Fix Qt compilation^2
15056
15057 2001-06-24  The LyX Project  <jug@sad.it>
15058
15059         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15060         depthHook(getDepth()-1).
15061
15062         * paragraph.h:
15063         * ParagraphParameters.h:
15064         * ParameterStruct.h: change type of depth to unsigned int ==
15065         depth_type. Many adaptations to other files before of that.
15066
15067 2001-06-24  The LyX Project  <Asger>
15068
15069         * Fix Qt compilation.
15070
15071 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * paragraph.h: renamed several methods to begin with small letter.
15074         several changes to many parts of the code because of this.
15075
15076 2001-06-23  The LyX Project  <jug@sad.it>
15077
15078         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15079         rewritten to discard all double spaces when KeepEmpty is off
15080         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15081         to only handle newlines but not fiddle with spaces and friends.
15082
15083         * lyxfunc.C (MenuNew): when doing 'new from template', use
15084         template_path as default directory
15085
15086 2001-06-23  The LyX Project  <Asger>
15087
15088         * Clean-up of header file includes all over
15089         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15090
15091 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15092
15093         * paragraph.h: renamed from lyxparagraph.h
15094
15095 2001-06-23  Asger  <lyx@violet.home.sad.it>
15096
15097         * Buffer.h: Removed Buffer::resize
15098         * BufferList.h: Removed BufferList::resize
15099         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15100         the document lazily when we change the width, or the font settings.
15101
15102 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15103
15104         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15105
15106 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * buffer.h: remove out of date comment
15109
15110 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * lyxscreen.h:
15113         * screen.C: fix "theoretical" GC leak
15114
15115 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15116
15117         * LaTeX.C (scanAuxFile):
15118         (deplog): remove trailing \r when reading stream (useful under
15119         win32)
15120
15121 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15122
15123         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15124         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15125         and BufferView::theLockingInset(Inset*), so should use them and not
15126         access bv_->text->the_locking_inset directly.
15127
15128         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15129
15130 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * Makefile.am:
15133         * tex-defs.h: remove old unused file
15134
15135 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15136
15137         * BufferView_pimpl.C: fix typo, remove minibuffer message
15138           when buffer has loaded
15139
15140 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15141
15142         * lyxfunc.C (Dispatch): use stringstream
15143         (MenuNew): use stringstream
15144         (Open): use stringstream
15145
15146         * importer.C (Import): use stringstream
15147
15148         * bufferview_funcs.C (CurrentState): use stringstream
15149
15150         * LaTeX.C (run): use stringstream
15151
15152         * BufferView_pimpl.C (savePosition): use stringstream
15153         (restorePosition): use stringstream
15154         (MenuInsertLyXFile): use stringstream
15155
15156 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15157
15158         * BufferView.C:
15159         * Bullet.C:
15160         * ColorHandler.C:
15161         * FontInfo.C:
15162         * FontLoader.C:
15163         * LColor.C:
15164         * LaTeXFeatures.C:
15165         * Painter.C:
15166         * gettext.C:
15167         * lyx_gui_misc.C:
15168         * lyxserver.C:
15169         * vspace.C: removed // -*- C++ -*- as first line.
15170
15171         * lyxfind.h:
15172         * version.h: added // -*- C++ -*- as first line.
15173
15174 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15175
15176         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15177
15178         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15179         of string
15180
15181 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15182
15183         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15184         of floats.
15185
15186 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * gettext.C: include LString.h even when --disable-nls is on.
15189
15190 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15191
15192         * converter.h (Get): changed argument type from int to
15193         FormatList::size_type to avoid unnecessary conversion.
15194
15195         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15196         before using it.
15197
15198 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15199
15200         * gettext.h: include LString.h even when --disable-nls is on.
15201
15202 2001-06-07  Juergen Vigna  <jug@sad.it>
15203
15204         * text.C (BreakAgain): subst spaces with tabs.
15205
15206         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15207         (resizeInsetsLyXText): set force on resizeLyXText.
15208
15209 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15210
15211         * gettext.h (gettext_init):
15212         (locale_init): use a real definition instead of a macro
15213
15214 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * Bufferview_pimpl.C:
15217         * LColor.h:
15218         * LColor.C: further lcolor tidies
15219
15220 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15221
15222         * BufferView_pimpl.C (updateScrollbar): simplify.
15223
15224         * BufferView2.C: don't include insets/insetinfo.h, change
15225         prototype for insertInset and call the Pimpl version. let
15226         updateInset call Pimpl version.
15227
15228         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15229         gotoInset to BufferView::Pimpl
15230
15231 2001-06-01  Juergen Vigna  <jug@sad.it>
15232
15233         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15234         inside a LockingInset (is the update needed at all?).
15235
15236 2001-05-31  Juergen Vigna  <jug@sad.it>
15237
15238         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15239         here not the old one otherwise how should we compare it afterwards
15240         if it's the same!
15241
15242 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15243
15244         * lyxfont.C:
15245         * tabular.C:
15246         * tabular-old.C:
15247         * FontInfo.C: bring C functions into global namespace when
15248         necessary
15249
15250 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15251
15252         * LString.h: make sure config.h has been loaded before LString.h.
15253
15254         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15255         (one for each char read by EatLine!).
15256
15257         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15258         variables.
15259
15260 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15261
15262         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15263         to the same as the par we break from
15264
15265 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15266
15267         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15268
15269         * MenuBackend.C (expand): also create menu entries for wide
15270         versions of the floats.
15271
15272         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15273
15274         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15275
15276         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15277         frontends/Makefile.am
15278
15279         * text2.C: adjust
15280         * text.C: adjust
15281
15282
15283         * tabular.C (getTokenValue): add std::
15284
15285         * tabular-old.C (getTokenValue): add std::
15286         (getTokenValue): ditto
15287         (getTokenValue): ditto
15288
15289         * screen.C (ToggleSelection): adjust
15290
15291         * lyxtext.h: put selection cursors inside a Selection struct.
15292
15293         * lyxfunc.C (moveCursorUpdate): adjust
15294
15295         * lyxfont.C (latexWriteStartChanges): add std::
15296
15297         * lyxfind.C: adjust
15298
15299         * font.h: delete with(char const *, LyXFont const &)
15300
15301         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15302
15303         * FontInfo.C (getFontname): add std::
15304
15305         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15306         (workAreaButtonPress): adjust
15307         (tripleClick): adjust
15308         (update): adjust
15309         (moveCursorUpdate): adjust
15310         (Dispatch): adjust
15311
15312         * BufferView2.C (gotoInset): adjust
15313
15314 2001-05-30  Juergen Vigna  <jug@sad.it>
15315
15316         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15317         to check pspell I add this as default as I now have new pspell
15318         libraries and they seem to use this.
15319
15320 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15321
15322         * text2.C (CutSelection): make the cursor valid before the call to
15323         ClearSelection.
15324
15325 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15326
15327         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15328         relied on 0 terminated strings and other horrors. Bug found due to
15329         the new assert in lyxstring!
15330
15331         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15332         KP_ keys.
15333
15334 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15337         to latinkeys.bind.
15338
15339         * lyxfunc.C (processKeySym): change method of getting to the
15340         self-insert char.
15341
15342         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15343         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15344         * BufferView_pimpl.[Ch]: here as private methods.
15345
15346 2001-05-28  Juergen Vigna  <jug@sad.it>
15347
15348         * text.C (SetHeightOfRow): added the update() call again as it is
15349         needed to initialize inset dimensions!
15350
15351 2001-05-16  Juergen Vigna  <jug@sad.it>
15352
15353         * text2.C (SetCharFont): Add new function with BufferView * and
15354         bool toggleall parameters for setting insets internal fonts.
15355         (SetFont): Freeze the undo as we may change fonts in Insets and
15356         all this change should be inside only one Undo!
15357
15358         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15359         setting font's in insets as for them we have the SetFont function!
15360
15361 2001-05-15  Juergen Vigna  <jug@sad.it>
15362
15363         * text2.C (ClearSelection): to be sure we REALLY don't have any
15364         selection anymore!
15365
15366         * tabular.C (TeXCellPreamble): fixed the left border problem for
15367         multicolumn cells.
15368
15369 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15370
15371         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15372         dependancy file
15373
15374 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15375
15376         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15377         LFUN_BREAKPARAGRAPH.
15378
15379         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15380         help test to "internal only", similar for LFUN_INSERT_URL
15381
15382         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15383         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15384         auto_region_delete and deadkeys.
15385
15386 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15387
15388         * LColor.h:
15389         * LColor.C: remove some dead entries, tidy a little
15390
15391 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15392
15393         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15394         commented code.
15395         (Dispatch): implement LFUN_ESCAPE
15396
15397         * commandtags.h: add LFUN_ESCAPE
15398
15399         * LyXAction.C (init): add entry for LFUN_ESCAPE
15400
15401         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15402         Remove commented code.
15403         (insertNote): moved here
15404         (open_new_inset): moved here
15405
15406         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15407         BufferView_pimpl
15408
15409 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * kbmap.C (findbinding): clean it up and make it work correctly.
15412
15413         * lyx_main.C (init): do not pass argc and argv as parameters
15414
15415 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15416
15417         * buffer.C: fix path for OS/2 & Win32
15418
15419         * lyx_gui.C:
15420         * lyx_main:
15421         * lyx_main.C: Added os:: class.
15422
15423         * os2_defines.h: update
15424
15425 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15426
15427         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15428         better by trying again with reduced state.
15429
15430 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15431
15432         * lyxrc.C (read): print error about invalid key sequence only when
15433         debugging (because not all latinX keysyms are known to some X
15434         servers)
15435
15436         * kbsequence.C (getiso): add a few std:: qualifiers
15437         (getiso): comment out extra return statement.
15438
15439 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15440
15441         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15442         handling.
15443         (Dispatch): enhance the accent inset a bit. (not perfect)
15444
15445 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15446
15447         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15448
15449 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15450
15451         * bufferlist.C (emergencyWrite): fix assert() call
15452
15453 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15454
15455         * text.C (InsertChar): Added trivial patch to only send the "you
15456         can not do multiple spaces this way" message once during a
15457         session.
15458
15459 2001-05-08  Baruch Even  <baruch@lyx.org>
15460
15461         * Makefile.am: Changed order of libraries to get LyX to link properly
15462         with the gnome frontend.
15463
15464 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15465
15466         * LaTeXFeatures.h: add a std:: qualifier
15467
15468 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15469
15470         * paragraph.C (String): use stringstream
15471
15472 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15473
15474         * paragraph.C (writeFile): remove footflag arg
15475
15476         * buffer.C (makeLaTeXFile): use stringstream
15477         (latexParagraphs): remove footnot gurba
15478
15479         * LaTeXFeatures.C (getPackages): use stringstream
15480         (getMacros): likewise
15481         (getTClassPreamble): likewise
15482         (getFloatDefinitions): new method
15483
15484         * paragraph.C (writeFile): reindent
15485         (Erase): reindent
15486
15487         * WorkArea.h: revert the xpos + etc changes.
15488
15489         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15490
15491         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15492
15493         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15494         (pasteSelection): likewise
15495         * text2.C (CreateUndo): likewise
15496
15497 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15498
15499         * minibuffer.C (peek_event): temporarily reduce the functionality
15500         of the minibuffer (to allow args on lfuns)
15501
15502         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15503         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15504
15505         * buffer.C (readInset): add compability reading of old float
15506         lists, add reading of new style float list.
15507         (readInset): avoid reevaluation of inscmd.getCmdName()
15508         (getLists): reindent
15509
15510         * MenuBackend.C (MenuItem): implement parsing of
15511         md_floatlistinsert and md_floatinsert.
15512         (expand::LastFiles): move initalizaton of iterators out of loop,
15513         avoid reevaluation.
15514         (expand::Documents): introduce typdedef vector<string> Strings,
15515         and use it.
15516         (expand::ExportFormats): introduce typedef vector<Format const *>
15517         Formats, and use it.
15518         (expand): implement FloatListInsert and FloatInsert.
15519
15520         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15521         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15522         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15523
15524         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15525         handling.
15526         (Dispatch::LFUN_FLOAT_LIST): implement
15527
15528 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15529
15530         * LaTeX.C (run): Fix problem with --export code.
15531
15532 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15533
15534         * BufferView.[Ch] (workarea): removed.
15535         (getClipboard) new method; wrapper for workarea()->getClipboard()
15536
15537         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15538         bug.
15539
15540         * WorkArea.h (width, height, xpos, ypos): These methods all
15541         returned the dimensions of the work_area sub-area of WorkArea,
15542         resulting in a position error if the WorkArea were resized. Now
15543         return the dimensions of the entire WorkArea.
15544
15545         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15546
15547 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15548
15549         * LaTeX.C (deplog): correct the syntax of regex reg1
15550
15551 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15552
15553         * undo.C: remove !NEW_INSETS cruft
15554
15555 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * text2.C: remove !NEW_INSETS cruft
15558
15559         * text.C: remove !NEW_INSETS cruft
15560
15561         * tabular.C: remove !NEW_INSETS cruft
15562
15563         * spellchecker.C: remove !NEW_INSETS cruft
15564
15565         * lyxtext.h: remove !NEW_INSETS cruft
15566
15567         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15568
15569         * lyxfunc.C: remove !NEW_INSETS cruft
15570
15571         * lyxfind.C: remove !NEW_INSETS cruft
15572
15573         * lyx_cb.C: remove !NEW_INSETS cruft
15574
15575         * figureForm.C: remove  !NEW_INSETS cruft
15576
15577         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15578
15579         * buffer.[Ch]: remove !NEW_INSETS cruft
15580
15581         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15582
15583         * CutAndPaste.C: remove !NEW_INSETS cruft
15584
15585         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15586
15587         * BufferView2.C: remove !NEW_INSETS cruft
15588
15589         * BufferView.h: remove !NEW_INSETS cruft
15590
15591 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15592
15593         * Lsstream.h: include LString.h before the sstream headers to
15594         fix problem with gcc 2.95.3 and lyxstring
15595
15596 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * lyx_main.C: add using directives when needed for C functions
15599         declared in std:: namespace.
15600
15601 2001-04-27  Juergen Vigna  <jug@sad.it>
15602
15603         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15604         (SetHeightOfRow): comment out the update call should not be needed!
15605
15606 2001-04-13  Juergen Vigna  <jug@sad.it>
15607
15608         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15609         (LyXTabular): tried to minimize operator= operations (and realized
15610         hopfully Lars wish).
15611
15612 2001-04-27  Juergen Vigna  <jug@sad.it>
15613
15614         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15615
15616 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15619
15620         * buffer.C (readInset): hack to make listof algorithm work
15621
15622         * BufferView_pimpl.C: hack to make listof algorithm work
15623
15624 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15625
15626         * LyXAction.C: removed all !NEW_INSETS cruft
15627         (init): moved lfun_item in method
15628
15629         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15630
15631 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15632
15633         * BufferView2.C (theLockingInset): white space.
15634
15635 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15636
15637         * minibuffer.C: include <iostream>
15638
15639         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15640
15641         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15642
15643         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15644
15645         * text.[Ch] (TransposeChars): new method
15646
15647 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15648
15649         * call message directly through LyXView instead of through LyXFunc
15650         * BufferView2.C: adjust
15651         * BufferView_pimpl.C: adjust
15652         * FontLoader.C: adjust
15653         * buffer.C: adjust
15654         * bufferview_funcs.C: adjust
15655         * converter.C: adjust
15656         * figureForm.C: adjust
15657         * importer.C: adjust
15658         * lyx_cb.C: adjust
15659         * lyx_gui_misc.C: adjust
15660         * lyxfunc.C: adjust
15661         * lyxvc.C: adjust
15662         * text2.C: adjust
15663         + more files in subdirs
15664
15665         * lyxparagraph.h (size): move up int file
15666         (GetLayout): ditto
15667
15668         * adjust all uses of Assert to lyx::Assert.
15669
15670         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15671         lyxfunctional in namespace lyx
15672         * layout.C (hasLayout): ditto
15673         (GetLayout): ditto
15674         (GetLayout): ditto
15675         (delete_layout): ditto
15676         (NumberOfClass): ditto
15677         * converter.C (GetFormat): ditto
15678         (GetNumber): ditto
15679         (Add): ditto
15680         (Delete): ditto
15681         (SetViewer): ditto
15682         * bufferlist.C (getFileNames): ditto
15683         (emergencyWriteAll): ditto
15684         (exists): ditto
15685         (getBuffer): ditto
15686         * MenuBackend.C (hasSubmenu): ditto
15687         (hasMenu): ditto
15688         (getMenu): ditto
15689         * BufferView_pimpl.C (getInsetByCode): ditto
15690
15691 2001-04-18  Juergen Vigna  <jug@sad.it>
15692
15693         * vspace.C (asLatexString): fixed the 100% problem.
15694
15695 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * lyxfunc.C (Dispatch):
15698         * minibuffer.C:
15699         * minibuffer.h: add a few std:: qualifiers
15700
15701 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * minibuffer.[Ch]: reimplement so that commands is initiated and
15704         run from lyxfunc, simplified som handling, and made the completion
15705         and history code for complete. wip.
15706
15707         * lyxfunc.C (processKeySym): call message
15708         (miniDispatch): new temporary method
15709         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15710         (LFUN_MESSAGE): implement
15711         (LFUN_MESSAGE_PUSH): implement
15712         (LFUN_MESSAGE_POP): implement
15713         (initMiniBuffer): the initial/defualt minibuffer message.
15714
15715         * lyxfont.[Ch]: inline some more getters
15716
15717         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15718
15719         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15720
15721         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15722         (AutoSave): use LFUN_MESSAGE
15723         (Reconfigure): ditto
15724
15725         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15726
15727         * figureForm.C: use LFUN_MESSAGE
15728
15729         * converter.C (runLaTeX): use LFUN_MESSAGE
15730
15731         * bufferview_funcs.C: use LFUN_MESSAGE
15732         (Melt): ditto
15733         (changeDepth): ditto
15734
15735         * bufferparams.h: use boost::
15736
15737         * bufferlist.h: inherit privately from noncopyable
15738
15739         * bufferlist.C (loadLyXFile): remove some commented code.
15740
15741         * buffer.C (runChktex): use LFUN_MESSAGE
15742
15743         * ShareContainer.h: inherit privately from noncopyable
15744
15745         * ParagraphParameters.[hC] (depth): inline it.
15746
15747         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15748         methods.
15749         (message): new method
15750         (messagePush): ditto
15751         (messagePop): ditto
15752         (show): init minibuffer
15753         (showState): direct call
15754
15755         * LaTeX.[Ch]: inherit privately from noncopyable
15756         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15757         instead of WriteStatus.
15758
15759         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15760
15761         * BufferView_pimpl.C (buffer): don't init minibuffer
15762         (workAreaButtonPress): use LFUN_MESSAGE
15763         (workAreaButtonRelease): ditto
15764         (savePosition): ditto
15765         (restorePosition): ditto
15766         (MenuInsertLyXFile): ditto
15767         (workAreaExpose): don't init minibuffer
15768         (update): remove commented code, simplify
15769
15770         * BufferView2.C (openStuff): use LFUN_MESSAGE
15771         (toggleFloat): ditto
15772         (menuUndo): ditto
15773         (menuRedo): ditto
15774         (copyEnvironment): ditto
15775         (pasteEnvironment): ditto
15776         (copy): ditto
15777         (cut): ditto
15778         (paste): ditto
15779         (gotoInset): ditto
15780         (updateInset): remove some commented code
15781
15782         * lastfiles.h: inherit privately from noncopyable
15783         * layout.h: ditto
15784         * lyx_gui.h: ditto
15785         * lyx_main.h: ditto
15786         * lyxlex.h: ditto
15787         * lyxlex_pimpl.h: ditto
15788
15789         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15790         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15791         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15792
15793         * LyXAction.h: inherit privately from noncopyable, add methods
15794         func_begin, func_end, returning iterators to the func map.
15795
15796         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15797         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15798         (func_begin): new method
15799         (func_end): new method
15800
15801         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15802         and not)
15803         (copySelection): ditto
15804         (pasteSelection): ditto
15805
15806         * BufferView.C: whitespace change
15807         * BufferView.h: inherit privately from noncopyable
15808
15809 2001-04-16  Allan Rae  <rae@lyx.org>
15810
15811         * tabular-old.C (l_getline):
15812         * spellchecker.C (sc_check_word):
15813         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15814         an unrecognised preprocessor directive.  So ensure they're wrapped.
15815
15816 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15817
15818         * src/exporter.C (Export): Give an error message when path to file
15819         contains spaces.
15820
15821 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15822
15823         * LaTeX.C (deplog): Always check that foundfile exists.
15824
15825 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15826
15827         * lyx_main.h:
15828         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15829
15830 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15831
15832         * tabular.[Ch] (getLabelList): implement new method
15833
15834         * minibuffer.h: comment ouf setTiimer
15835
15836         * minibuffer.C (ExecutingCB): constify res
15837         (peek_event): constify s
15838         (Set): constify ntext
15839         (Init): constify nicename
15840
15841         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15842
15843         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15844         (savePosition): use two params to Minibuffer::Set
15845         (restorePosition): ditto
15846
15847 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15848
15849         * lyx_main.C: include language.h
15850
15851         * Makefile.am (lyx_main.o): add language.h
15852
15853 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15854
15855         * exporter.C:
15856         * paragraph.C:
15857         * screen.C:
15858         * tabular.C:
15859         * CutAndPaste.C: include gettext.h
15860
15861         * lyxfont.h: remove old hack with ON and OFF.
15862
15863         * lyxparagraph.h:
15864         * lyxfont.h: do not include language.h...
15865
15866         * BufferView2.C:
15867         * LaTeXFeatures.C:
15868         * Painter.C:
15869         * bufferview_funcs.C:
15870         * font.C:
15871         * lyxfont.C:
15872         * text.C:
15873         * text2.C:
15874         * trans_mgr.C:
15875         * paragraph.C: ... but do it here instead
15876
15877 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15878
15879         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15880
15881         * tabular.C: small reformat
15882
15883         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15884         NEW_INSETS version
15885         (GetChar): ditto
15886         (BreakParagraph): ditto
15887         (SetOnlyLayout): ditto
15888         (SetLayout): ditto
15889
15890         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15891         with one arg less.
15892
15893         * lastfiles.C: removed most using decl, add std:: where needed
15894
15895         * buffer.C: ws changes
15896
15897         * MenuBackend.C (class compare_format): put into anon namespace
15898         (expand): constify label, names, action, action2
15899         (expand):
15900
15901         * text.C (SingleWidth): constify font
15902         (IsBoundary): constify rtl2
15903         (GetVisibleRow): constify ww
15904
15905         * LaTeX.C (deplog): constify logfile
15906
15907         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15908         start_x, end_x
15909         (workAreaExpose): constify widthChange, heightChange
15910
15911         * lyxrow.C (par): moved
15912         (height): moved
15913         (next): moved
15914         * lyxrow.h: as inlines here
15915
15916         * lyxfont.h (shape): moved from lyxfont.C
15917         (emph): moved from lyxfont.C
15918
15919         * lyxfont.C (LyXFont): use initialization list for all
15920         constructors
15921         (shape): move to lyxfont.h as inline
15922         (emph): move to lyxfont.h as inline
15923
15924
15925 2001-04-04  Juergen Vigna  <jug@sad.it>
15926
15927         * vspace.C: had to include stdio.h for use of sscanf
15928
15929 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15930
15931         * BufferView.h:
15932         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15933         independent of xforms.
15934
15935 2001-04-02  Juergen Vigna  <jug@sad.it>
15936
15937         * spellchecker.C: fixed namespace placing!
15938
15939 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15940
15941         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15942         the LyXParagraph * is 0.
15943
15944 2001-03-29  Juergen Vigna  <jug@sad.it>
15945
15946         * vspace.C: added support for %, c%, p%, l%.
15947         (stringFromUnit): added helper function.
15948         (asLatexString): changed to give right results for the %-values.
15949
15950         * buffer.C: convert the widthp in a width%.
15951
15952 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15953
15954         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15955         figureForm.[Ch].
15956
15957         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15958         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15959
15960         * lyx_cb.[Ch]: see above.
15961
15962         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15963         form1.[Ch].
15964
15965         * form1.[Ch]:
15966         * lyx.[Ch]: replaced by figure_form.[Ch].
15967
15968         * lyx_gui.C:
15969         * lyx_gui_misc.C:
15970         * lyxfunc.C: changed headers associated with above changes.
15971
15972 2001-03-27  Juergen Vigna  <jug@sad.it>
15973
15974         * BufferView_pimpl.C: set the temporary cursor right!
15975
15976 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15977
15978         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15979
15980 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15981
15982         * LString.h: removed "using std::getline"!
15983
15984         * BufferView_pimpl.C (Dispatch): changes due to changes in
15985         InsetInclude::Params.
15986
15987         * buffer.C (tag_name): removed redundant break statements as they were
15988         producing lots of warnings with my compiler.
15989
15990 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15991
15992         * LString.h: add "using std::getline" when using the real <string>.
15993
15994 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15995
15996         * buffer.C: removed bitset usage.
15997         PAR_TAG moved to an anonymous name space.
15998         (tag_name): new funtion, also in the anonymous namespace.
15999         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16000         (makeDocBookFile): clean code. Completed transition from string arrays
16001         to string vectors.
16002         (SimpleDocBookOnePar): code clean.
16003
16004 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16005
16006         * tabular.C: add some comments.
16007
16008 2001-03-22  Juergen Vigna  <jug@sad.it>
16009
16010         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16011         compatibility read a bit and fixed bug with minipage in different
16012         depth.
16013
16014 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16015
16016         * buffer.C (pop_tag): removed.
16017         (push_tag): removed.
16018         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16019         array replaced with vector. Added support for CDATA sections.
16020         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16021         at any nest level.
16022         (makeDocBookFile): XML conformant declaration of CDATA section,
16023         fixed bug related to <emphasis> in the first paragraph char.
16024         (sgmlOpenTag): exclude empty tags.
16025         (sgmlCloseTag): ditto.
16026
16027         * buffer.h (pop_tag): removed.
16028         (push_tag): removed.
16029
16030 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16031
16032         * language.h (Languages): added size_type and size().
16033
16034 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16035
16036         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16037         response on compability reading of minipages. One probliem is that
16038         the old usage of minipages was «flertydig»
16039
16040         * several files here and in subdirs: don't use static at file
16041         scope use anon namespaces instead.
16042
16043 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16044
16045         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16046         LaTeX output. This is necessary for Literate document
16047         processing.
16048
16049 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16050
16051         * buffer.C: insert hfill when needed.
16052
16053         * tabular.C (l_getline): use string::erase, small whitespace change.
16054
16055         * BufferView_pimpl.C: try the anon namespace.
16056         * WorkArea.C: ditto
16057
16058 2001-03-16  Juergen Vigna  <jug@sad.it>
16059
16060         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16061         otherwise it won't open options-dialogs.
16062
16063         * buffer.C: honor pextraWidth(p) on converting minipages.
16064
16065         * tabular.C (l_getline): changed the functions to strip trailing \r.
16066
16067 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16068
16069         * BufferView_pimpl.C:
16070         * minibuffer..C: added "using SigC::slot" declaration.
16071
16072 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16073
16074         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16075
16076         * text2.C: ditto
16077
16078         * text.C: ditto
16079
16080         * paragraph.C: ditto
16081
16082         * lyxtext.h: NO_PEXTRA
16083
16084         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16085
16086         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16087         * ParameterStruct.h: ditto
16088         * ParagraphParameters.h: ditto
16089         * lyxparagraph.h: ditto
16090
16091 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16092
16093         * buffer.C: add compability for minipage alignment.
16094         (latexParagraphs): remove unwanted pextra check.
16095
16096         * several files: remove CXX_WORKING_NAMESPACES
16097
16098         * buffer.C (pop_tag): tie is in namespace boost
16099
16100         * BufferView.h: noncopyable is in namespace boost
16101         * lyxlex.h: ditto
16102         * lyx_main.h: ditto
16103         * lyx_gui.h: ditto
16104         * layout.h: ditto
16105         * lastfiles.h: ditto
16106         * bufferlist.h: ditto
16107         * ShareContainer.h: ditto
16108         * LyXView.h: ditto
16109         * LyXAction.h: ditto
16110         * LaTeX.h: ditto
16111
16112 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16113
16114         * Merging changes from BRANCH_MVC back into HEAD.
16115
16116         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16117
16118 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16119
16120         * BufferView_pimpl.C: change from intl.C
16121
16122         * combox.h:
16123         * combox.C:
16124         * Makefile.am: move combox.*
16125
16126         * form1.h:
16127         * form1.C:
16128         * lyx_gui.C:
16129         * intl.h:
16130         * intl.C: remove dialog (covered by prefs)
16131
16132 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16133
16134         * lyxfunc.C (Dispatch): removed redundant break statement.
16135
16136 2001-03-14  Juergen Vigna  <jug@sad.it>
16137
16138         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16139
16140 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16141
16142         * buffer.C: add hack to fix compability reading of minipages.
16143
16144 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16145
16146         * buffer.C (getLists): Cleanup.
16147
16148 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16149
16150         * lyxfont.C (update): don't honor toggleall on font size.
16151
16152 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16153
16154         * bmtable.c:
16155         * bmtable.h:
16156         * Makefile.am: moved to frontends/xforms/
16157
16158         * lyx_gui_misc.C:
16159         * lyxfunc.C:
16160         * BufferView_pimpl.C: changes for moved mathpanel
16161
16162 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16163
16164         * gettext.h: fix gettext_init() in --disable-nls
16165
16166 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16167
16168         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16169
16170 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16171
16172         * lyx.C:
16173         * lyx.h: strip external form
16174
16175 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16176
16177         * BufferView_pimpl.C: add comment, destroySplash()
16178
16179 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16180
16181         * BufferView_pimpl.C:
16182         * LyXAction.C:
16183         * buffer.C:
16184         * commandtags.h:
16185         * lyxfunc.C: use re-worked insetinclude
16186
16187 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16188
16189         * buffer.C: add using std::stringstream.
16190
16191         * lyx_cb.C: readd using std::ios.
16192
16193         * buffer.C: add using std::map.
16194
16195         * BufferView_pimpl.C: add using std::vector.
16196
16197         * ShareContainer.h: add std:: to swap.
16198
16199         * buffer.h: add some typedefs
16200         * buffer.C (getLists): use them
16201         (getLists): renamed from getTocList.
16202         add a counter for the different float types and use it in the
16203         generated string.
16204         (getLists): use the same counter for the NEW_INSETS and the "non"
16205         NEW_INSETS
16206
16207         * lyx_cb.h: remove unused items, includes, using etc.
16208
16209         * ShareContainer.h: remove some commented code, add more comments
16210         and "documentation".
16211
16212 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16213
16214         * buffer.C (getTocList): make the list also when NEW_INSETS is
16215         defined.
16216
16217         * buffer.h: remove TocType
16218
16219         * buffer.C (getTocList): change to return a map<string,
16220         vector<TocItem> >, implement for dynamic number of list.
16221
16222         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16223         * text2.C (PasteSelection): adjust
16224         * CutAndPaste.C (pasteSelection): adjust
16225
16226         * FloatList.C (FloatList): update from the new_insets branch.
16227         * Floating.[Ch]: ditto
16228         * LaTeXFeatures.C: ditto
16229         * buffer.C: ditto
16230         * lyxlex_pimpl.C: ditto
16231
16232         * paragraph.C (Last): remove when NEW_INSETS is defined.
16233
16234         * other file: changes because of the above.
16235
16236 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16237
16238         * lyxparagraph.h: rename next to next_, previous to previous_,
16239         make them private for NEW_INSETS. Rename Next() to next(),
16240         Previous() to previous().
16241
16242         * other files: changes because of the above.
16243
16244 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16245
16246         * BufferView.h:
16247         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16248         problem.
16249
16250 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16251
16252         * main.C (main): pass lyx_localedir to gettext_init().
16253
16254         * gettext.h: remove locale_init and gettext_init macros
16255
16256         * gettext.C (locale_init): new function
16257         (gettext_init): new function
16258
16259         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16260         setlocale().
16261
16262 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16263
16264         * Moved credits to frontends:
16265         * credits.[Ch]: removed
16266         * credits_form.[Ch]: removed
16267         * lyx_gui_misc.C: remove credits stuff
16268         * Makefile.am:
16269
16270 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16271
16272         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16273
16274         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16275         unneeded destructor.
16276
16277         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16278         a standalone pointer again.
16279
16280         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16281
16282 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16283
16284         * Makefile.am:
16285         * filedlg.h:
16286         * filedlg.C:
16287         * LyXAction.C:
16288         * ToolbarDefaults.C:
16289         * bufferlist.C:
16290         * commandtags.h:
16291         * form1.C:
16292         * form1.h:
16293         * lyx_cb.C:
16294         * lyx_cb.h:
16295         * lyxfunc.h:
16296         * lyxfunc.C:
16297         * BufferView_pimpl.C: use new file dialog in GUII
16298
16299         * lyx_cb.h:
16300         * lyx_cb.C: remove LayoutsCB to Toolbar
16301
16302 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16303
16304         * ShareContainer.h (get): add std:: qualifier
16305
16306 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16307
16308         * ShareContainer.h: define a proper ShareContainer::value_type
16309         type (and use typename to please compaq cxx)
16310
16311 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16312
16313         * lyxparagraph.h: move serveral local vars to
16314         ParameterStruct/ParagraphParameters., use ShareContainer in
16315         FontTable., make vars in FontTable private and add getter and
16316         setter.
16317
16318         * paragraph.C: changes because of the above.
16319
16320         * lyxfont.h: remove copy constructor and copy assignment. (the
16321         default ones is ok), move number inside FontBits. move inlines to
16322         lyxfont.C
16323
16324         * lyxfont.C: add number to initializaton of statics, move several
16325         inlines here. constify several local vars. some whitespace
16326         cleanup. Dont hide outerscope variables.
16327
16328         * Spacing.h: add two new constructors to match the set methods.
16329
16330         * ShareContainer.h: new file, will perhaps be moved to support
16331
16332         * ParameterStruct.h: new file
16333
16334         * ParagraphParameters.h: new file
16335
16336         * ParagraphParameters.C: new file
16337
16338         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16339         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16340
16341         * BufferView_pimpl.C: ParagraphParameter changes.
16342         * buffer.C: Likewise.
16343         * bufferview_funcs.C: Likewise.
16344         * text.C: Likewise.
16345         * text2.C: Likewise.
16346
16347 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16348
16349         * lyxfind.C (LyXReplace): do not redefine default argument in
16350         implementation.
16351         (IsStringInText): ditto
16352         (SearchForward): ditto
16353         (SearchBackward): ditto
16354
16355 2001-03-06  Juergen Vigna  <jug@sad.it>
16356
16357         * lyxfind.C (IsStringInText): put parentes around expressions.
16358
16359 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16360
16361         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16362
16363 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16364
16365         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16366
16367         * stl_string_fwd.h: add comment
16368
16369         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16370
16371         * tabular.h:
16372         * tabular.C: remove unused DocBook methods
16373
16374         * intl.C:
16375         * language.C:
16376         * paragraph.C:
16377         * buffer.C:
16378         killed DO_USE_DEFAULT_LANGUAGE
16379
16380 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16381
16382         * lyx_gui.C: do not include language.h.
16383
16384         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16385         arguments in function implementation.
16386
16387 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16388
16389         * BufferView_pimpl.C: add <ctime>
16390
16391 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16392
16393         * BufferView_pimpl.C: add using std::find_if
16394
16395 2001-02-27  José Matos  <jamatos@fep.up.pt>
16396
16397         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16398         by OnlyPath.
16399
16400 2001-02-11  José Matos  <jamatos@fep.up.pt>
16401
16402         * buffer.C (makeDocBookFile): command styles now have a parameter as
16403         "title" by default.
16404
16405 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16406
16407         * layout_forms.[Ch]: removed
16408         * lyx_cb.[Ch]: out character
16409         * lyx_gui.C: out character
16410         * lyx_gui_misc.C: out character
16411         * bufferview_funcs.C: : out character,
16412         added toggleall as parameter in ToggleAndShow
16413
16414 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16415
16416         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16417
16418         * text2.C (SetCurrentFont): Disable number property at boundary.
16419
16420 2001-02-26  Juergen Vigna  <jug@sad.it>
16421
16422         * lyxfunc.C (getStatus): added a string argument override function so
16423         that this is correctly called from LyXFunc::Dispatch if it contains a
16424         do_not_use_argument which is used!
16425         (Dispatch): added check for "custom" export and call appropriate func.
16426
16427 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16428
16429         * lyxrc.C: Add language_command_local, language_use_babel and
16430         language_global_options.
16431
16432         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16433
16434         * buffer.C (makeLaTeXFile): Use language_use_babel and
16435         language_global_options.
16436
16437 2001-02-23  Juergen Vigna  <jug@sad.it>
16438
16439         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16440         which works with LyXText and putted it inside BufferView. Here now we
16441         only call for that part the BufferView::Dispatch() function.
16442
16443         * BufferView.C (Dispatch): added.
16444
16445         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16446         functions which needs to use a LyXText over from LyXFunc.
16447         (MenuInsertLyXFile): added
16448         (getInsetByCode): added
16449         (moveCursorUpdate): added
16450         (static TEXT): added
16451
16452 2001-02-22  Juergen Vigna  <jug@sad.it>
16453
16454         * BufferView_pimpl.C (update): call a status update to see if LyXText
16455         needs it.
16456
16457 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16458
16459         * vc-backend.C (revert): implement for CVS
16460         (getLog): implement for CVS
16461
16462 2001-02-20  Juergen Vigna  <jug@sad.it>
16463
16464         * text2.C (ClearSelection): added BufferView param for inset_owner call
16465
16466         * lyxfunc.C (TEXT): added this function and use it instead of
16467         directly owner->view()-text of getLyXText().
16468
16469 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16470
16471         * src/layout_forms.C: out preamble
16472         * src/layout_forms.h: out preamble
16473         * src/lyx_cb.C: out preamble
16474         * src/lyx_cb.h: out preamble
16475         * src/lyx_gui.C: out preamble
16476         * src/lyx_gui_misc.C: out preamble
16477         * src/lyxfunc.C: connect with guii preamble
16478
16479 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16480
16481         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16482
16483 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16484
16485         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16486         whether to run bibtex.
16487
16488 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16489
16490         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16491
16492 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16493
16494         * Makefile.am (lyx_SOURCES): removed bibforms.h
16495
16496         * vspace.h: doxygen
16497
16498         * text.C (GetVisibleRow): make several local vars const
16499
16500         * tabular.C: small cleanup.
16501
16502         * lyxserver.C (callback): use compare instead of strncmp
16503
16504         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16505         inlines to after class or to paragraph.C
16506
16507         * lyxfont.h: remove friend operator!=
16508
16509         * converter.h: move friend bool operator< to non friend and after
16510         class def.
16511
16512         * combox.h: small cleanup
16513
16514         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16515         to inlines after class def.
16516
16517         * buffer.C (pop_tag): use string operations instead of strcmp
16518
16519         * bmtable.c: doxygen, small cleanup
16520
16521         * LaTeX.h: remove friend operator==
16522
16523 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16524
16525         * screen.C:
16526         * lyxrc.[Ch]:
16527         * lyxfunc.C:
16528         * lyxfont.[Ch]:
16529         * lyx_cb.C:
16530         * intl.[Ch]:
16531         * commandtags.h:
16532         * buffer.C:
16533         * WorkArea.[Ch]:
16534         * LyXAction.C:
16535         * BufferView_pimpl.C:
16536         * BufferView.[Ch]: remove cruft
16537
16538 2001-02-14  Juergen Vigna  <jug@sad.it>
16539
16540         * lyxfunc.C: removed #if 0 unused code
16541
16542         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16543
16544         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16545
16546         * text2.C (SetSelection): added a BufferView * parameter
16547
16548 2001-02-13  Juergen Vigna  <jug@sad.it>
16549
16550         * lyxfunc.C (Dispatch): fixed protected blank problem.
16551         * BufferView2.C (protectedBlank): added LyxText * parameter.
16552
16553         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16554         (AppendColumn): same as above for column_info.
16555
16556         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16557         (moveCursorUpdate): use a LyXText param for support of InsetText.
16558
16559         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16560         (tripleClick): ditto
16561
16562         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16563
16564         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16565
16566         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16567
16568         * text2.C (SetSelection): set correct update status if inset_owner
16569         (ToggleFree): ditto
16570
16571 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16572
16573         * tabular.C: remove some commented code.
16574
16575 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16576
16577         * BufferView_pimpl.C: call hideSplash()
16578
16579         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16580
16581         * include_form.h:
16582         * bibforms.h: remove
16583
16584         * lyxfunc.C:
16585         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16586           add LFUN_CHILD_CREATE
16587
16588         * counters.h: fix tiny typo
16589
16590         * lyx_cb.C:
16591         * lyx.h:
16592         * lyx_gui.C:
16593         * lyx.C: move splash to frontends/xforms/
16594
16595         * lyx_gui_misc.C: move Include and Bibform to frontends
16596
16597         * lyxvc.h: clarify comment
16598
16599         * vspace.C: tiny housekeeping
16600
16601 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16602
16603         * text.C (PrepareToPrint): RTL Fix.
16604
16605         * paragraph.C (GetUChar): New method.
16606         (String):  Use GetUChar.
16607
16608         * buffer.C (asciiParagraph): Use GetUChar.
16609
16610 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16611
16612         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16613
16614 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16615
16616         * buffer.h:
16617         * buffer.C: rename to getLogName(), handle
16618           build log / latex log nicely
16619
16620 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16621
16622         * MenuBackend.C:
16623         * MenuBackend.h: remove support for reference menuitem type.
16624
16625 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16626
16627         * BufferView_pimpl.C: housekeeping
16628         * BufferView_pimpl.h:
16629         * LyXView.h:
16630         * Makefile.am:
16631         * Timeout.C:
16632         * Timeout.h:
16633         * minibuffer.h: move Timeout GUI-I
16634
16635 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16636
16637         * lyxrc.C (read): Update converters data-structures.
16638
16639 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16640
16641         * LaTeX.h (operator!=): add operator != for Aux_Info
16642
16643 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16644
16645         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16646
16647         * LaTeXLog.C: deleted, useful code moved to Buffer
16648
16649         * buffer.h:
16650         * buffer.C: new function getLatexLogName()
16651
16652         * lyx_gui_misc.C:
16653         * lyx_gui.C:
16654         * lyxvc.C:
16655         * lyxvc.h:
16656         * lyxfunc.C: use frontends for LaTeX and VC logs
16657
16658 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16659
16660         * LaTeX.h: yet another std:: that Allan forgot.
16661
16662         * Variables.C (set): renamed from isset(), because this clashes
16663         with some HP-UX macros (grr).
16664
16665 2001-02-06  Allan Rae  <rae@lyx.org>
16666
16667         * LaTeX.h: Another bug fix.  Missing std:: this time.
16668
16669 2001-02-04  Allan Rae  <rae@lyx.org>
16670
16671         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16672         floats problem. I've left it commented out because it's not quite
16673         correct.  It should also test that the current object is a table or
16674         figure inset.  But I haven't gotten around to figuring out how to do
16675         that.  I *think* it'll be something like: "table" == inset.type()
16676
16677         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16678         bool.
16679
16680 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16681
16682         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16683         all the citation/databases/styles in the auxilary file.
16684         (run): Rerun latex if there was a babel language error.
16685
16686 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16687
16688         * text.C (Backspace): Preserve the font when changing newline char
16689         with a space.
16690         (BreakParagraph): If the cursor is before a space, delete the space.
16691
16692         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16693
16694 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16695
16696         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16697         new argument (code).
16698         (ChangeCitationsIfUnique): New method.
16699
16700         * paragraph.C (GetPositionOfInset): Handle bibkey.
16701
16702 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16703
16704         * BufferView_pimpl.h: change type of Position::par_pos to
16705         LyXParagraph::size_type.
16706
16707 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16708
16709         * BufferView_pimpl.C (savePosition, restorePosition): Write
16710         messages to minibuffer.
16711
16712 2001-01-28  José Matos  <jamatos@fep.up.pt>
16713
16714         * buffer.C (makeDocBookFile): adds support for document language.
16715         A silly restriction on the name of LatexCommand types where removed.
16716         Added support for CDATA sections, allows to chars unescaped, used
16717         among others in code, to avoid escape < and >.
16718
16719 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16720
16721         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16722         saved positions instrad of a stack. Furthermore, a position is
16723         stored using paragraph id/paragraph position.
16724
16725         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16726         Remove LFUN_REF_BACK.
16727
16728 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16729
16730         * converter.C (dvipdfm_options): New method.
16731
16732 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16733
16734         * vspace.C (isValidLength): Fix for empty input string.
16735
16736 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16737
16738         * LyXAction.C (init): change description of LFUN_FIGURE to
16739         "Insert Graphics"
16740
16741 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16742
16743         * LaTeX.C: add using directive
16744
16745 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16746
16747         * MenuBackend.C (expand): Fix the sorting of the formats.
16748
16749 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16750
16751         * lyx_main.C: tiny error message fix
16752
16753 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16754
16755         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16756         calling fl_initialize(). This fixes the problem with ',' as
16757         decimal separator in text files.
16758
16759 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16760
16761         * trans.C (process): Fix the keymap bug.
16762
16763 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16764
16765         * LaTeX.C (scanAuxFiles): New method. Provides support for
16766         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16767         (scanLogFile) Scan for "run BibTeX" messages.
16768
16769         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16770         OT1 font encoding. Also, load the aecompl package if the ae
16771         package is loaded.
16772
16773         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16774
16775 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16776
16777         * texrow.C (increasePos): turn two error messages into debug
16778         messages.
16779
16780 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16781
16782         * LaTeX.C (scanAux): Handle the \@input macro.
16783         (runBibTeX): Use scanAux().
16784
16785         * language.C (latex_options_): New field.
16786
16787         * LaTeXFeatures.C (getMacros): Add language macros.
16788
16789         * buffer.C (makeLaTeXFile): Small fix.
16790
16791 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16792
16793         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16794
16795         * text2.C: add a using directive.
16796
16797 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16798
16799         * BufferView2.C:
16800         * lyx_gui_misc.h:
16801         * lyxfr1.C:
16802         * lyxfunc.C: kill LyXBell.
16803
16804 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16805
16806         * text.C (IsBoundary): Remove the error message
16807
16808         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16809
16810         * lyxrc.C (setDefaults): Correct initialization value for
16811         font_norm_type.
16812
16813 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16814
16815         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16816         gotoError().
16817
16818         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16819         and GotoNextNote().
16820
16821         * src/LyXAction.C: Added reference-next.
16822
16823         * text.C (InsertChar): Use contains instead of strchr.
16824
16825         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16826
16827 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16828
16829         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16830         alignment commands (when needed).
16831
16832         * text.C (InsertChar): Add ':' to number separator chars.