]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
tostr -> convert and some bformat work
[lyx.git] / src / ChangeLog
1 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * tabular.C: make all write_attributes templates, tostr -> convert
4         
5         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
6         (emptyTag): and -> &&, and fix type for ret from getChar
7         (getFirstWord): fix type for ret from getChar
8         (onlyText): and -> &&
9         (simpleDocBookOnePar): and not -> && !, fix type for ret from
10         getChar
11
12         * toc.C (goTo, action):
13         * text3.C (dispatch):
14         * text.C (currentState):
15         * tex-accent.C (DoAccent):
16         * sgml.C:
17         * lyxrc.C:
18         * lyxfunc.C (menuNew):
19         * lyxfinc.C (replace):
20         * counters.C (laberItem):
21         * bufferview_funcs.C (font2string):
22         * bufferparams.C (writeFile):
23         * buffer.C (readFile):
24         * Spacing.C (set):
25         * MenuBackend.C: tostr -> convert
26
27         * LaTeX.C (runMessage): fix format
28         (scanAuxFiles): tostr -> convert
29
30         * BufferView_pimpl.C (savePosition): fix format
31         (restorePosition): ditto
32         (dispatch): ditto
33
34 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
35
36         * Spacing.[Ch]: New method getValueAsString().
37
38         * Spacing.[Ch]:
39         * bufferparams.C:
40         * ParagraphParameters.C:
41         * lyxlayout.C:
42         * text.C:
43         * text3.C: store/read spacing value as string.
44
45         * rowpainter.C: change float value (spacing_val) to double.
46
47         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
48         broken custom document spacing).
49
50 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
51
52         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
53         namespace, also more use of temp references and const
54
55         * cursor.[Ch] (getStatus): move to lyxfunc.C
56
57         * bufferparams.C: reformat slightly
58
59         * bufferview_funcs.C (font2string): constify arg
60
61         * changes.C:
62         * converter.C:
63         * counters.C:
64         * bufferlist.C:
65         * buffer_funcs.C: (many funcs): constify arg on function
66         definitions, also make more local vars const, also add ASSERTS on
67         pointer args.
68
69         * buffer.C (LYX_FORMAT): put const in correct place
70         (many funcs): constify arg on function definitions, also make
71         more local vars const
72
73         * aspell_local.h: remove "struct" from typdef setup
74
75         * aspell.C (check): make word_ok const
76         (nextMiss): simplify slightly
77         (error): ditto
78
79 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
80
81         * lyxrc.[Ch]: store all float values as strings.
82         use int (not float) for lyxrc.dpi.
83
84 2005-01-04  Angus Leeming  <leeming@lyx.org>
85
86         * lyx_cb.C (Reconfigure):
87         * lyx_main.C (queryUserLyXDir):
88         to run the <system_lyxdir>/configure correctly on Windows, prefix
89         the path to the script with "sh " when generating the string that
90         is passed to system().
91
92 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
93
94         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
95
96 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
97
98         * lyxlength.C (asLatexString): get rid of setprecision
99
100 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * text2.C (setLayout): remove unused variable endpit.
103         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
104
105         * paragraph.C (onlyText): remove unused variable style.
106
107         * cursor.C (bruteFind): remove unused variables beg and end.
108
109         * Makefile.am (dist_noinset_DATA): not needed anymore
110
111         * cheaders/*: remove.
112
113 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * text3.C: fix LFUN_MATH_MODE.
116
117 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * buffer_funcs.C (countWords): new function. Counts words between
120         two iterators.
121
122         * BufferView_pimpl.C (getStatus, dispatch): handle
123         LFUN_WORDS_COUNT.
124
125         * LyXAction.C (init):
126         * lfuns.h: add LFUN_WORDS_COUNT.
127
128 2004-12-19  Angus Leeming  <leeming@lyx.org>
129
130         * buffer.C (save): s/slashify_path/internal_path/.
131
132 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
133
134         * lyxfind.C (findChange): do not search for end of pars, because
135         the change tracker cannot handle this (fixes bug 1719).
136
137 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
138
139         * paragraph.[Ch] (autoBreakRows): remove
140
141         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
142
143         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
144         avoid using the paragraph one
145
146         * text2.C (LyXText, insertStringAsLines): adjust
147
148 2004-12-16  Angus Leeming  <leeming@lyx.org>
149
150         * bufferlist.C:
151         * lyx_main.C:
152         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
153
154 2004-12-14  Angus Leeming  <leeming@lyx.org>
155
156         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
157
158         * bufferlist.C (emergencyWrite):
159         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
160         GetEnvPath("HOME").
161
162 2004-12-14  Angus Leeming  <leeming@lyx.org>
163
164         * main.C: (main): no longer pass pointers to os::init.
165
166 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
167
168         * undo.C (textUndoOrRedo): simplify logic, fix a crash
169         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
170
171 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
172
173         * lyxfunc.C:
174         * text3.C: remove selection_possible global flag
175
176 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
177
178         * text2.C (getSelectionSpan): remove
179         (changeDepth, changeDepthAllowed): adjust
180
181 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
182
183         * Makefile.am (BOOST_LIBS): use boost variables
184
185 2004-12-03  José Matos <jamatos@lyx.org>
186
187         * buffer.C: format up to 238.
188
189 2004-12-03  José Matos  <jamatos@lyx.org>
190
191         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
192
193 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
194
195         * cursor.C (goUpDown): remove call to idxUpDown2
196
197 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
198
199         * tabular.[Ch]: use size_t-like types for cell, row and column
200         indices
201
202 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * lyxfunc.C (getStatus): do not lose previous information when
205         calling BufferView::getStatus; do not set a default "Command
206         disabled" message at the beginning, but just before returning.
207
208 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
209
210         * cursor.h (getStatus): add better comment from src/cursor.C
211
212 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * text3.C (getStatus): return false when the lfun is not handled
215
216 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * broken_headers.h: remove
219
220         * Makefile.am (lyx_SOURCES): remove broken_headers.h
221
222 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
223
224         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
225         offset_ref accessors
226
227         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
228         top_y_, merge fitcursor with update
229         (updateScrollbar, scrollDocView, fitCursor, center, update): new
230         coord scheme
231         (metrics): introduce
232         (workAreaDispatch): adapt to new coord scheme
233         (redoCurrentBuffer): remove
234
235         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
236
237         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
238         CurStatus enum.
239
240         * coordcache.[Ch]: add paragraph cache and helpers
241
242         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
243         adjust everywhere
244
245         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
246         (targetX, setTargetX): introduce
247
248         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
249         baseline -> ascent, as the rest of lyx
250
251         * lyxtext.h: remove redoParagraphs, updateParPositions,
252         fullRebreak, redoParagraphInternal. move dist to anon namespace in
253         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
254         have ascent/descent (ascent is ascent of first par)
255
256         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
257         step of BufferView
258
259         * paragraph.[Ch]: unify dimension handling with the rest of lyx
260
261         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
262
263         * pariterator.C: fix infinite loop introduced in par->pit renaming
264
265         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
266         in insets and LyXText, draw two off-screen paragraphs using
267         NullPainter, and adapt to new coord scheme
268
269         * text.C:
270         * text2.C:
271         * text3.C: adapt lfun handlers to the new coord scheme, which
272         means: there's only guaranteed coord information for onscreen pars
273         plus one above and one below. This implies that one can do search
274         from y coordinates in the range [-1,workHeight]
275
276 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
277
278         * rename a lot of InsetOld to InsetBase
279
280 2004-11-25  Angus Leeming  <leeming@lyx.org>
281
282         * BufferView_pimpl.C:
283         * lyx_cb.C:
284         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
285
286 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
289         call BufferView::getStatus if LCursor::getStatus did nothing
290         (setStatusMessage, getStatusMessage): removed.
291
292         * FuncStatus.C (message): new methods. Used to provide an error
293         message indicating why a command is disabled.
294         (clear, |=, FuncStatus): update for message.
295
296 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
297
298         * lyxfunc.C (dispatch): always call sendDispatchMessage
299
300 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
301
302         * BufferView.C:
303         * BufferView_pimpl.C:
304         * CutAndPaste.C:
305         * FontIterator.C:
306         * buffer.C:
307         * cursor.C:
308         * cursor_slice.[Ch]:
309         * dociterator.[Ch]:
310         * lyxfind.C:
311         * paragraph_funcs.C:
312         * pariterator.C:
313         * rowpainter.C:
314         * text.C:
315         * text2.C:
316         * text3.C:
317         * undo.C: par->pit renaming
318
319 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
320
321         * tabular.C (cellstruct): use initialization, store a shared_ptr
322         to insettext instead of the insettext directly, adjust to fit.
323         (operator=):  new function
324         (swap): new function
325         (rowstruct): use initialization
326         (columnstruct): use initialization
327         (ltType): use initialization
328
329
330         * lyxlength.h (swap): new function
331
332         * LColor.[Ch] (operator=): use the common semantics
333
334 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * lyxfind.C (findNextChange): update the bufferview after setting
337         the selection.
338
339 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
342         number of InsetOptArgs has already been inserted.
343
344         * output_latex.C (latexOptArgInsets): new method. This outputs all
345         the optarg insets, up to the limit defined in the layout file.
346         (optArgInset): removed
347         (TeXOnePar): call latexOptArgInsets; correctly update texrow
348
349 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * paragraph.C (isLetter): remove special spellchecker-related
352         code; return true also for digits
353         (isWord, isKomma): remove
354
355         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
356         * lyxfind.C (MatchString()): use isLetter instead of isWord
357
358 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
359
360         * pariterator.h (operatir=): comment out un-implemented member
361         function.
362
363         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
364         static cast.
365
366 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
367
368         * lyxfont.h: include LColor.h to satisfy concept checks.
369
370 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
371
372         * pariterator.h: add typdefs for value_type, difference_type,
373         pointer and reference to satisfy concept checks. Also add default
374         constructor for same reason.
375
376         * pariterator.C (operator++): add post-increment operator to
377         satisfy concept checks.
378
379         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
380         checks.
381
382         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
383
384         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
385         checks. Also rename base_type to BaseType to follow naming
386         standard better.
387
388         * FloatList.h: include Floating.h to satisfy concept checks.
389
390 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * lyxfunc.C (getStatus): when the origin of the request is menu or
393         toolbar, and the LyXView does not have focus, do as if there was
394         no buffer (bug 1720)
395
396         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
397         FuncRequest to individual entries of LFUN_SEQUENCE
398
399 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
400
401         * output_latex.C (TeXOnePar): override runparams.moving_arg
402         according to the needprotect value of the current paragraph (bug
403         1739)
404
405         * paragraph.C (simpleTeXOnePar): no need to override
406         runparams.moving_args here
407
408 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
409
410         * vspace.C: fix off-by-one-error, related to fix #1682
411
412 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
413
414         * lengthcommon.C: a more general fix for bug 1682
415
416 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
417
418         * text.C (backspace): fix crash
419
420 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
421
422         * format.[Ch] (getFormatFromFile): new method
423         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
424
425 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
428
429 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * lyxfunc.C (dispatch): remove the verbose argument
432         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
433         instead
434
435         * kbmap.C (defkey): set the origin of func to KEYBOARD
436
437         * MenuBackend.C (MenuItem):
438         * ToolbarBackend.C (add): set the origin of func to UI
439
440         * funcrequest.[Ch]: add origin member, which indicates which part
441         of LyX requests an action
442
443 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
444
445         * converter.C (move): don't lie in the error message
446         * converter.h (isReachable, move): document
447
448 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
449
450         * buffer.C: remove unused using lyx::support::atoi
451         * paragraph_funcs.C: ditto
452
453 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
454
455         * bufferlist.C (exists): use bind and equal_to instead of
456         compare_memfun
457         (getBuffer): ditto
458         * lyxtextclasslist.C (NumberOfClass): ditto
459
460         * cursor.C (insert): use for_each instead of explicit for loop
461
462         * bufferlist.C (getFileNames): use std::transform and
463         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
464
465         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
466         for loop
467
468         * buffer.C (changeLanguage): use for_each instead of explicit for
469         loop
470         (hasParWithID): implement using getParFromID
471
472         * LaTeXFeatures.C: ws change only
473
474         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
475         to cleanup a bit.
476
477         * BufferView_pimpl.C (trackChanges): use for_each instead of
478         expilicit for loop
479
480 2004-11-04  André Pönitz  <poenitz@gmx.net>
481
482         * undo.h:
483         * undo.C (textUndoOrRedo): fix crash when creating undo information.
484
485         * dociterator.C (asDocIterator): use hard assert again.
486
487 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * lyxlength.C (asLatexString): rewrite so that it does not use
490         snprintf anymore
491
492 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * text3.C (specialChar, dispatch): make sure cursor moves to the
495         right after inserting an inset
496
497 2004-11-02  José Matos  <jamatos@lyx.org>
498
499         * output_docbook.C (docbook):
500         * paragraph.C (getID):
501         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
502         garantee that the output is always legal.
503
504         * tabular.C (docbook):
505         * outputprams.[Ch]: remove mixed contents.
506
507 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
508
509         * text2.C (setCounter): prevent endless loop
510
511 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
512
513         * exporter.C (copyFile): use the mover instead of support::copy()
514         * exporter.C (Export): pass format and latex name to copyFile()
515         * exporter.h (addExternalFile): document
516         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
517
518 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
519
520         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
521
522 2004-10-30  José Matos  <jamatos@lyx.org>
523
524         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
525         text and no inset or font change. This allows to use CDATA
526         sections just for the whole paragraph.
527
528 2004-10-30  José Matos  <jamatos@lyx.org>
529
530         * paragraph.C (getFirstWord): remove unused variable.
531
532 2004-10-30  José Matos  <jamatos@lyx.org>
533
534         * paragraph.C (getFirstWord): the content should always be escaped
535         there.
536         (simpleDocBookOnePar):
537         * output_docbook.C (makeEnvironment): replace reference to CDATA
538         to style pass_thru.
539
540 2004-10-30  José Matos  <jamatos@lyx.org>
541
542         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
543
544 2004-10-30  José Matos  <jamatos@lyx.org>
545
546         * output_docbook.C (makeParagraphs):
547         * paragraph.[Ch] (emptyTag): for docbook and company, if the
548         standard paragraph has only a given type of content drop the wrapper.
549
550 2004-10-29  José Matos  <jamatos@lyx.org>
551
552         * output_docbook.C (makeEnvironment):
553         * sgml.C (openTag):
554         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
555
556 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
557
558         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
559         (cleanID): sanitize any id.
560
561 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
562
563         * buffer.C, lyxlex_pimpl.C:
564         * lyxlex_pimpl.C (setFile):
565         s/getExtFromContents/getFormatFromContents/
566
567 2004-10-28  José Matos  <jamatos@lyx.org>
568
569         * output_docbook.C (makeEnvironment): move id to broadest possible
570         scope.
571
572         * sgml.C (openTag): apply substitution of <> for all attributes.
573
574 2004-10-28  José Matos  <jamatos@lyx.org>
575
576         * buffer.C (makeLinuxDocFile, makeDocBookFile):
577         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
578         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
579
580         * sgml.[Ch]: new version for open and closeTag for paragraph and
581         for strings. Now they handle the ids of paragraphs.
582
583 2004-10-26  Angus Leeming  <leeming@lyx.org>
584
585         * Makefile.am: add mover.[Ch].
586
587         * converter.C (convert, move): use the new Movers to move external
588         files to the temp directory.
589
590         * lyx_main.C (init): ensure that the global system_movers data
591         is initialised.
592
593         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
594         preferences file.
595
596         * mover.[Ch]: new files, defining a Mover as a utility to move an
597         external file between directories and, if necessary, manipulate this
598         file using a helper script.
599
600 2004-10-25  José Matos  <jamatos@lyx.org>
601
602         * output_docbook.C (makeCommand): merge two if's that tested the
603         same condition.
604
605 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * sgml.C (escapeString): fix warning in a better way
608
609 2004-10-25  José Matos  <jamatos@lyx.org>
610
611         * sgml.C (escapeString): import the require boosts header file for
612         tie, and avoid a signed unsigned comparison.
613
614 2004-10-25  José Matos  <jamatos@lyx.org>
615
616         * sgml.h: add #include <string>
617
618 2004-10-25  José Matos  <jamatos@lyx.org>
619
620         * sgml.[Ch] (escapeString): new function to escape all the string.
621
622 2004-10-24  José Matos  <jamatos@lyx.org>
623
624         * paragraph.[Ch] (getFirstWord): new function to get the first
625         word. Useful for description.
626         (simpleDocBookOnePar): remove depth argument, add another that
627         says where to start the paragraph.
628
629         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
630         use the new functions to fix cleanly the support for descriptions.
631
632 2004-10-24  José Matos  <jamatos@lyx.org>
633
634         * buffer.C (makeLinuxDocFile, makeDocBookFile):
635         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
636         * output_linuxdoc.C (linuxdocParagraphs):
637         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
638         add buffer as argument.
639
640 2004-10-24  José Matos  <jamatos@lyx.org>
641
642         * output_docbook.C (makeEnvironment, searchEnvironment): place
643         CDATA inside paragraphs and fix scope for listitems.
644
645 2004-10-24  José Matos  <jamatos@lyx.org>
646
647         * output_docbook.C: remove using statement for stack.
648
649 2004-10-23  José Matos  <jamatos@lyx.org>
650
651         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
652         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
653         docbook. The new scheme is recursive and makes use of iterators, the
654         same as latex export works.
655         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
656         directly with the paragraph contents. This code was moved up to
657         output_docbook.C (docbookParagraphs).
658         * sgml.C (openTag, closeTag): removed unneeded newlines.
659         (closeEnvTags) removed.
660
661 2004-10-23  André Pönitz  <poenitz@gmx.net>
662
663         * undo.C (textUndoOrRedo):
664         * dociterator.C (asDocIterator): work around crash
665
666         * cursor.C (getStatus): replace ASSERT by more verbose error message
667           and manual correction of the problem. Should increase stability
668           while providing more sensible information.
669
670 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
673
674         * bufferlist.C (previous, next): new methods
675
676         * lfuns.h:
677         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
678
679 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
680
681         * buffer.C (makeDocBookFile): add dsssl stylesheet control
682         entities to preamble.
683
684 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
685
686         * messages.C (Pimpl): strip off translation context information
687
688 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
689
690         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
691         the cursor is correct (bug 1694)
692
693 2004-10-13  José Matos  <jamatos@lyx.org>
694
695         * output_docbook.C (docbookParagraphs): fix closing tags in the
696         end of the document.
697
698 2004-10-09  José Matos  <jamatos@lyx.org>
699
700         * buffer.C: format up to 237.
701         * bufferparams.C (write): use tostr to convert booleans to strings.
702
703 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
704
705         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
706
707 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
708
709         * LaTeX.C: implement use of babel language in xindy.
710
711 2004-10-05  José Matos  <jamatos@lyx.org>
712
713         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
714         Add new translators to help reading and writing the lyx file.
715
716 2004-10-05  José Matos  <jamatos@lyx.org>
717
718         * ParagraphParameters.C (read):
719         * text.C (readParToken): replace nexToken by more appropriate lex
720         methods.
721
722 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
723
724         * LaTeX.C (runMakeIndex):
725         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
726         (usually 'makeindex') configurable.
727
728         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
729         with a variable rather than with a number.
730
731 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         * output_latex.C (TeXOnePar): make sure font setting is the first
734         thing that gets output (and the last at the end). Should fix bug
735         1404.
736
737 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
738
739         * pch.h: use proper signal include
740
741         * LaTeX.h: Use preferred calling of Boost.Signal
742         * buffer.h: ditto
743
744 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
745
746         * pch.h: dont include <boost/function/function0.hpp>
747
748         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
749
750         * paragraph_pimpl.h: remove usage of ShareContainer
751
752         * paragraph_pimpl.C: remove initialization of ShareContainer.
753
754 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         Fix bug #1666
757
758         * BufferView.C (putSelectionAt): change the semantics when
759         backwards == true: now, this just swaps cursor and anchor wrt the
760         forward case
761
762         * BufferView.h (putSelectionAt): add some documentation
763
764         * lyxfind.C (findBackwards): rewrite using while(). In particular,
765         make sure backwardChar is done at least once (to avoid getting
766         stuck)
767         (findNextChange): use putSelectionAt in the forward direction
768         (operator()): use Paragraph::isWord
769
770 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
771
772         * Spacing.C (set): c_str fix
773
774 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
775
776         * lyx_cb.C (Reconfigure): quote the name of configure script in
777         case it contains spaces
778
779 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
780
781         * client: new dir
782
783         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
784         (BOOST_LIBS): use top_buildir when looking for the file
785
786 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
787
788         * pch.h: do not use include boost/format.hpp, multiple symbols
789                 will result (gcc bug)
790
791
792 2004-08-23  José Matos  <jamatos@lyx.org>
793
794         * bufferparams.C (readToken): fix reading of the author field.
795
796 2004-08-20  José Matos  <jamatos@lyx.org>
797
798         * lyxrc.C: remove support/translator.h inclusion since it is not used.
799
800 2004-08-20  José Matos  <jamatos@lyx.org>
801
802         * lyxlex.[Ch] (findToken): remove function.
803
804         * ParagraphParameters.C (findToken):
805         * bufferparams.C (findToken): replace call for previous function
806         with local copy. This local function has one more argument, the
807         read string argument.
808
809 2004-08-16  José Matos  <jamatos@lyx.org>
810
811         * ParagraphParameters.C (write):
812         * Spacing.C (writeFile):
813         * bufferparams.C (writeLaTeX):
814         * lyx_cb.C (Reconfigure):
815         * paragraph.C (write):
816         * tabular.C (write): remove unnecessary space at end of line.
817
818
819 2004-08-16  José Matos  <jamatos@lyx.org>
820
821         * text.C (readParagraph): remove debug message.
822
823 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
824
825         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
826         crash
827
828         * output_plaintext.C (asciiParagraph): set depth correctly
829
830         * outputparams.h: add member depth
831
832         * paragraph_funcs.C (ownerPar): remove.
833
834         * text2.C (setCounter): remove first_pit; comment out some
835         non-working code that uses ownerPar
836
837         * BufferView.C (getParentLanguage): remove. Not used anymore, and
838         uses ownerPar
839
840 2004-08-16  José Matos  <jamatos@lyx.org>
841
842         * text.C (readParToken, readParagraph, read): report all unknown tokens.
843         For the same level of importance use the same chanel to report problems.
844         (read): add code to deal with \begin_body and \end_body.
845
846
847 2004-08-15  José Matos  <jamatos@lyx.org>
848
849         * lyxlex.C (getString): fix comment, buffer::readBody is now
850         buffer:readDocument.
851
852         * tex-strings.C (string_papersize): Default -> default,
853         Custom -> custom, for consistency with other options.
854
855 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
856
857         * pch.h: new file
858
859         * Makefile.am: support pch
860
861 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * text.C (readParToken): remove the static LyXFont variable and
864         pass it as a parameter instead. This fixes a nasty bug where an
865         inset will be inserted with a bad font in some situations
866         (readParagraph): adapt
867
868         * text2.C (setCounter): reduce number of calls to pars_[pit]
869
870         * text.C (singleWidth): add an assert, fix a test
871
872         * rowpainter.C (paintText): reduce number of calls to singleWidth
873
874         * paragraph.C (isHfill):
875         (isNewline): ws only
876
877 2004-08-14  André Pönitz  <poenitz@gmx.net>
878
879         * text.C:
880         * text2.C:
881         * rowpainter.C:
882         * lyxtext.h (several functions): use a Paragraph & argument
883         instead of par_type
884
885 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
886
887         * metricsinfo.h: add a new field ltr_pos to PainterInfo
888
889         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
890
891         * text.C (singleWidth): remove useless test
892
893 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * tabular.h: remove bogus comments
896
897         * tabular.C (getDescentOfRow):
898         (isPartOfMultiColumn): add assertions
899
900         * lyxlength.C (inPixels): remove #warning
901
902 2004-08-14  André Pönitz  <poenitz@gmx.net>
903
904         * paragraph.h: inline getChar()
905
906         * BufferView.h: remove unused declarations
907
908 2004-08-14  José Matos  <jamatos@lyx.org>
909
910         * Buffer.[Ch] (readDocument): new name for old readBody.
911         * Buffer.C: new file format, new keywords: \begin_document,
912         \begin_header, \begin_body, \end_body.
913
914         * bufferparams.C (readToken): replace all calls to lex.nextToken
915         by lex.next(). Do the same to eatLine except where really needed.
916
917         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
918         line when writing to the lyx file.
919
920         * output_plaintext.C (asciiParagraph): fix Bibliography style
921         handling.
922
923         * text.C (read): fix end of file handling.
924
925 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * MenuBackend.C (Menu::operator[]): new method to access
928         individual menu items
929         (Menu::hasFunc): new method. search for an item that corresponds
930         to a given func
931         (MenuBackend::specialMenu): new method
932         (MenuBackend::expand): if a special menu has been set, skip
933         entries whose func() appears in this menu
934
935 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
936
937         * text3.C: use Debug::DEBUG a bit more
938
939         * text.C (leftMargin): try to simplify a tiny bit change var x to
940         l_margin. Dont output the wide margins always.
941         (rightMargin): no margin in inner texts
942
943         * rowpainter.h (nestMargin): new func
944         (changebarMargin): new func
945         (rightMargin): new func
946
947         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
948         now functions.
949         (paintLast): ditto
950
951         * factory.C (createInset): modify setDrawFrame
952
953         * cursor.C: use Debug::DEBUG a bit more
954
955 2004-08-14  André Pönitz  <poenitz@gmx.net>
956
957         * coordcache.[Ch]:
958         * Makefile.am: new files to accomodate an 'external' (x,y)-position
959         cache for all insets in (at least partially) visible (top-level)
960         paragraphs.
961
962         * BufferView_pimpl.C: reset external coord cache before every update.
963         This means the coord cache only contains valid entries.
964
965 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
966
967         bug 1096
968         * BufferView_pimpl.C (getInsetByCode): move function out of class
969         and change in to a template in anon namespace. Also fix to do what
970         suits us better.
971
972 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
973
974         bug 1305
975         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
976         of char
977         (breakParagraph): rename par to par_offset and use a local
978         reference. Add code to keep the language over a rebreak.
979         (breakParagraphConservative): rename par to par_offset, use a
980         local reference
981         (mergeParagraph): ditto
982         (outerHook): ditto
983         (isFirstInSequence): ditto
984         (outerFont): rename pit to par_offset
985
986         * paragraph.C: ws change
987         * paragraph.h: ditto
988         * text3.C: ditto
989         * text.C: ditto
990
991 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
992
993         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
994         treatment for ']'
995
996         * paragraph.C (simpleTeXOnePar): when we have a \item with
997         optional argument, enclose the argument with curly brackets (in
998         case it contains a closing square bracket)
999
1000         * text2.C (editXY):
1001         * text2.C (editXY):
1002         * text3.C (checkInsetHit): constify
1003
1004 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1007         documents (bug 1629)
1008
1009 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1010
1011         Fix toggling of collapsable insets with the mouse (bug 1558)
1012
1013         * lyxfunc.C (dispatch): adapt to LCursor changes
1014
1015         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1016         make sure that dispatch is not invoked twice
1017
1018         * cursor.C (needsUpdate): new method
1019         (dispatch): return void
1020         (result): new method, to access the DispatchResult of the cursor.
1021
1022 2004-08-13  José Matos  <jamatos@lyx.org>
1023
1024         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1025
1026 2004-08-13  André Pönitz  <poenitz@gmx.net>
1027
1028         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1029
1030         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1031           multiple cells
1032
1033 2004-08-12  André Pönitz  <poenitz@gmx.net>
1034
1035         * text3.C: take out the 'cursor right' form insertInset and only
1036         do it in those places when it is really needed. Fixes crash on
1037         C-m...
1038
1039 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1040
1041         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1042
1043         * BufferView_pimpl.C (setBuffer): initialize the current font of
1044         the underlying LyXText
1045
1046 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1047
1048         * kbsequence.C (print): use UI native formatting for menu
1049         shortcuts
1050
1051         * text.C (insertChar): call Paragraph::insertChar with a font
1052         argument (cosmetic)
1053
1054         * paragraph.C (insertInset, insertChar): the version that takes a
1055         LyXFont argument is now a wrapper around the other one (the
1056         opposite used to be true).
1057
1058         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1059         argument. Font setting is done in Paragraph now.
1060
1061 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1062
1063         * outputparams.h: add new members intitle and lang.
1064
1065         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1066         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1067
1068 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1069
1070         * text3.C (dispatch): remove special handling of button 4 and 5,
1071         it is now taken care of in the frontend code.
1072
1073 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1074
1075         * Spacing.h: add <string> (STLPort compile fix)
1076
1077 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1078
1079         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1080
1081 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1082
1083         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1084         to bool.
1085
1086         * converter.C (showMessage): inherit from unary_function, make
1087         operator() const.
1088
1089         * buffer.C (writeFile): initialize retval
1090
1091         * InsetList.h: rename private variable list to list_
1092         * InsetList.[Ch]: adjust accordingly.
1093
1094 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1095
1096         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1097         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1098         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1099         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1100         * ParagraphParameters.C, LaTeXFeatures.C: replace
1101         "support/std_sstream.h" with <sstream>
1102
1103 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1104
1105         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1106         * lyxsocket.C (LyXServerSocket): ditto
1107         (serverCallback): ditto
1108
1109 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1110
1111         * LaTeXFeatures.C: check release date when loading jurabib.
1112
1113 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1114
1115         * lyxserver.C (startPipe): call register_socket_callback
1116         (endPipe): call unregister_socket_callback
1117
1118 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1119
1120         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1121         (LyXServerSocket): register the callback
1122         (LyXServerSocket): unregister the callback
1123         (fd): delete function
1124         (serverCallback): improve error checking and setup the callbacks.
1125         (dataCallback): change arg to fd.
1126         (writeln): new func (copied fro the client socket) used for server
1127         write to client.
1128         (LyXDataSocket): simplify
1129         (~LyXDataSocket): close ann unregiser callback
1130         (server): delete function
1131         (fd): delete function
1132         (readln): small changes, improve some std::string usage
1133         (writeln): constify a bit
1134
1135 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1138         Qt frontend
1139
1140 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1143         after it has been populated
1144
1145 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1146
1147         * text2.C (insertInset): move cursor when inserting inset.
1148
1149 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1150
1151         * kbmap.C (findbindings): a couple of new methods. returns a
1152         container of kb_sequence objects. The real work is done by the
1153         private recursive version
1154         (printbindings): uses findbindings to print out a bracketed list
1155         of bindings (renamed from findbinding).
1156
1157         * MenuBackend.C (binding): use kb_keymap::findbindings
1158
1159         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1160
1161 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1162
1163         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1164
1165 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1166
1167         * paragraph.C (isWord): return true on insets that report
1168         isLetter().
1169
1170         * text.C (getWord): use Paragraph::isWord to decide what is in a
1171         word and what is not; fix bug 1609.
1172
1173 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1174
1175         * tex-strings.C: add "none" to string_paperpackages[], fixes
1176         off-by-one-error in the paperpackage selection.
1177
1178         * lyxlex.[Ch]:
1179         * tex-strings.[Ch]: char const * string[n]
1180         -> char const * const string[]
1181
1182 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1183
1184         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1185         command, return early.
1186
1187 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1188
1189         * debug.h: add DEBUG to enum and fix size of ANY.
1190
1191         * debug.C: add support for Debug::DEBUG
1192         (showTags): cast errorTags.level to unsigned int
1193
1194         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1195         (redoCurrentBuffer): ditto
1196         (updateScrollbar): ditto
1197         * cursor.C (dispatch): ditto
1198         * text2.C (setLayout): ditto
1199         (setFont): ditto
1200         (updateCounters): ditto
1201         (editXY): ditto
1202         (deleteEmptyParagraphMechanism): ditto
1203
1204 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1205
1206         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1207         annotations to cleanup the Makefile slightly.
1208
1209 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * lyxrc.C: do not set user_email to a default value but use empty
1212         instead. The entry used to be translated, which does not work
1213         since at the point where lyxrc is constructed there is no
1214         translation service available
1215
1216         * messages.C (getLocaleDir): remove and use directly
1217         lyx_localedir() instead
1218
1219 2004-06-02  Angus Leeming  <leeming@lyx.org>
1220
1221         Fix crash caused by dereferencing null pointer 'exportdata' in
1222         OutputParams by creating a new ExportData variable on the heap,
1223         storing it in a boost::shared_ptr.
1224         The crash was triggered when generating an Instant Preview
1225         of an external inset.
1226
1227         * Makefile.am: add outputparams.C
1228
1229         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1230         (c-tor): allocate memory to it.
1231
1232         * exporter.C (c-tor): associated changes.
1233
1234 2004-06-01  Angus Leeming  <leeming@lyx.org>
1235
1236         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1237         contains data before calling isInset(0). (Bug 1513.)
1238
1239 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1240
1241         * exporter.C (checkOverwrite): new method
1242         * exporter.C (copyFile): new method
1243         * exporter.C (Export): copy referenced files to the document dir
1244         * exporter.[Ch]: new class ExportedFile
1245         * exporter.[Ch]: new class ExportData. Contains currently the
1246         names of referenced external files
1247         * outputparams.h: add exportdata member.
1248
1249 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1250
1251         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1252         version.C-tmp
1253
1254 2004-05-19  Angus Leeming  <leeming@lyx.org>
1255
1256         * LaTeXFeatures.C:
1257         * ToolbarBackend.C:
1258         * bufferparams.C:
1259         * lyxfunc.C: small changes due to the introduction of namespace
1260         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1261
1262 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * text3.C (dispatch): supress update when only moving the cursor
1265         * cursor.C (selHandle): remove commented code
1266
1267 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1268
1269         * paragraph.C (startTeXParParams): correct column count
1270         * CutAndPaste.C (pasteSelection): remove const_cast
1271         * output_docbook.C (docbookParagraphs): remove const_cast
1272         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1273         const_cast and return ParagraphList::const_iterator
1274         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1275         * output_plaintext.C (writeFileAscii): remove const_cast
1276         * paragraph.[Ch] (simpleTeXOnePar): make const
1277         * paragraph_funcs.C (outerPar): use const iterators
1278         * paragraph_pimpl.C (validate): use const iterators
1279         * text.C (setHeightOfRow): use const iterators
1280
1281 2004-05-17  Angus Leeming  <leeming@lyx.org>
1282
1283         * lfuns.h:
1284         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1285
1286         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1287         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1288         if the citation engine has changed.
1289
1290 2004-05-14  José Matos  <jamatos@lyx.org>
1291
1292         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1293         if the textclass does not provide it. Have it different for sgml and
1294         xml.
1295         support the language of document.
1296         * output_docbook.C (docbookParagraphs):
1297         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1298         first anchor as the id of the paragraph, remove special case code.
1299         * sgml.C (escapeChar): escape only < & >.
1300
1301 2004-05-14  Angus Leeming  <leeming@lyx.org>
1302
1303         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1304         dependencies on src/frontends/controllers/biblio.h. Define a
1305         CiteEngine_enum wrapper class to enable the enum to be forward
1306         declared.
1307
1308 2004-05-12  Angus Leeming  <leeming@lyx.org>
1309
1310         * buffer.C: up LYX_FORMAT to 234.
1311         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1312         use_numerical_citations with a single biblio::CiteEngine cite_engine
1313         variable.
1314         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1315
1316 2004-05-13  José Matos  <jamatos@lyx.org>
1317
1318         * converter.h:
1319         * converter.C (Converter, readFlags): add xml member.
1320         * outputparams.h: add XML flavor.
1321         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1322
1323 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1324
1325         * lyxfunc.C (dispatch):
1326         (getStatus): fix handling of LFUN_SEQUENCE
1327
1328 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1329
1330         * debug.C (showLevel): do not forget the end-of-line marker
1331
1332 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333
1334         * kbmap.C (read): do not stop parsing a bind file when an error
1335         occurs (bug 1575)
1336
1337 2004-04-29  Angus Leeming  <leeming@lyx.org>
1338
1339         * cursor.C:
1340         * factory.C:
1341         * pariterator.C:
1342         * text2.C: wrap a bunch of #warning statements
1343         inside #ifdef WITH_WARNINGS blocks.
1344
1345 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1346
1347         * buffer.C: increment format to 233.
1348
1349 2004-04-28  Angus Leeming  <leeming@lyx.org>
1350
1351         * BufferView_pimpl.C:
1352         * lyxfunc.C:
1353         * text3.C:
1354         s/updateToolbar()/updateToolbars()/
1355         s/Toolbar.h/Toolbars.h/
1356
1357 2004-04-28  Angus Leeming  <leeming@lyx.org>
1358
1359         * BufferView.[Ch] (c-tor):
1360         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1361         No longer passes these data to the WorkArea generator.
1362
1363 2004-04-28  Angus Leeming  <leeming@lyx.org>
1364
1365         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1366
1367 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1368
1369         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1370
1371 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * output_latex.C (TeXEnvironment): make sure that there is a line
1374         break before \end{foo} for the last paragraph of a document
1375         (TeXOnePar): if the paragraph is at the end of the document (or
1376         inset) and the language has to be reset, then make sure that the
1377         line break is _before_ the language command, not after (fixes bug
1378         1225); also make sure that the language reset command is the first
1379         thing after the paragraph (to ensure proper nesting of
1380         environments and thus fix bug 1404)
1381
1382 2004-04-21  John Levon  <levon@movementarian.org>
1383
1384         * ToolbarBackend.h:
1385         * ToolbarBackend.C: make "name" be a programmatic name
1386         and a gui_name field.
1387
1388         * lyxfunc.C: display the minibuffer on M-x
1389
1390 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1393         (bug 1526)
1394
1395 2004-04-19  Angus Leeming  <leeming@lyx.org>
1396
1397         * BufferView_pimpl.C (setBuffer): changed preview interface.
1398
1399         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1400         possible values.
1401
1402 2004-04-19  John Levon  <levon@movementarian.org>
1403
1404         * BufferView_pimpl.C:
1405         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1406
1407 2004-04-05  Angus Leeming  <leeming@lyx.org>
1408
1409         * text.C (redoParagraphs): add call to updateCounters(), thereby
1410         fixing the missing "Figure #:" label from the caption of a
1411         figure float.
1412
1413 2004-04-13  Angus Leeming  <leeming@lyx.org>
1414
1415         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1416         cursor is clicked out of an inset.
1417
1418 2004-04-13  Angus Leeming  <leeming@lyx.org>
1419
1420         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1421         than an InsetOld one.
1422
1423 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1424
1425         * format.[Ch]: add editor to Format
1426         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1427         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1428
1429 2004-04-08  André Pönitz  <poenitz@gmx.net>
1430
1431         * metricsinfo.h: remove PainterInfo::width member
1432
1433 2004-04-08  Angus Leeming  <leeming@lyx.org>
1434
1435         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1436         "\providecommand" rather than "\newcommand", thereby preventing
1437         clashes with packages that define "\boldsymbol" themselves.
1438         Eg, beamer.
1439
1440 2004-04-08  Angus Leeming  <leeming@lyx.org>
1441
1442         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1443         thereby squashing an unnecessary warning.
1444
1445 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1446
1447         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1448         setBuffer()
1449
1450 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1451
1452         * BufferView.C (setCursor): call redoParagraph (some insets could
1453         have been opened)
1454         (putSelectionAt): remove the 'double update' trick
1455
1456         * BufferView_pimpl.C (fitCursor): call refreshPar
1457         (workAreaDispatch): remove an uneeded update call
1458         (dispatch): remove some manual update calls
1459
1460         * cursor.[Ch]: remove cached_y_, updatePos
1461         (selHandle): set noUpdate when appropriate
1462
1463         * lyxfunc.C (dispatch): track if we need an update
1464
1465         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1466
1467         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1468         (paintSelection): cheap optimization, do not call cursorX when not
1469         needed
1470         (paintPars): change signature
1471         (refreshPar): add
1472         (paintText): adjust
1473         (paintTextInset): adjust
1474
1475         * text.C: adjust
1476
1477 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1478
1479         * lengthcommon.C: compilation fix: remove explicit array size from
1480         unit_name[] and friends
1481
1482 2004-04-05  Angus Leeming  <leeming@lyx.org>
1483
1484         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1485
1486         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1487         present only for the preferences dialog.
1488         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1489
1490 2004-04-05  Angus Leeming  <leeming@lyx.org>
1491
1492         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1493         to enable the frontends to export changes to lyxrc correctly.
1494
1495         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1496
1497 2004-04-07  André Pönitz  <poenitz@gmx.net>
1498
1499         * cursor.[Ch] (selClear, adjust): remove math
1500
1501         * cursor_slice.C: more agressive assert
1502
1503         * lyxfunc.C:
1504         * BufferView_pimpl.C: rework mouse event dispatch
1505
1506         * dociterator.C:
1507         * paragraph.C:
1508         * text2.C:
1509         * text3.C: adjust
1510
1511 2004-04-05  André Pönitz  <poenitz@gmx.net>
1512
1513         * cursor.[Ch] (valign, halign...): remove unneeded functions
1514
1515 2004-04-05  Angus Leeming  <leeming@lyx.org>
1516
1517         * lyxlength.[Ch] (unit_name et al.): const-correct.
1518
1519 2004-04-05  Angus Leeming  <leeming@lyx.org>
1520
1521         * BufferView_pimpl.C:
1522         * buffer.C:
1523         * counters.C:
1524         * cursor.C:
1525         * lyxfunc.C
1526         * paragraph.C:
1527         * pariterator.C:
1528         * text.C:
1529         * text2.C:
1530         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1531
1532 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1533
1534         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1535
1536 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1537
1538         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1539         * BufferView_pimpl.[Ch] (getStatus)
1540         * BufferView.[Ch] (getStatus): add
1541         * lyxfunc.C (getStatus): move lfuns handled in
1542         BufferView::dispatch to te function above
1543         * Cursor.C (setSelection): set selection() = true
1544
1545 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1546
1547         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1548
1549 2004-03-31  Angus Leeming  <leeming@lyx.org>
1550
1551         * lyxfunc.C (dispatch): Fall through to the generic
1552         Dialogs::show("preamble").
1553
1554 2004-03-31  Angus Leeming  <leeming@lyx.org>
1555
1556         * lyxfunc.C (dispatch): Fall through to the generic
1557         Dialogs::show("spellchecker").
1558
1559 2004-03-31  Angus Leeming  <leeming@lyx.org>
1560
1561         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1562         preferences dialog.
1563
1564 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1565
1566         * BufferView.C
1567         * cursor.[Ch]
1568         * dociterator.[Ch]:
1569         * insetiterator.[Ch]:
1570         * lyxfind.C:
1571         * lyxfunc.C:
1572         * pariterator.[Ch]:
1573         * text2.C:
1574         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1575
1576 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1579         insets where we are putting the cursor.
1580
1581 2004-03-31  Angus Leeming  <leeming@lyx.org>
1582
1583         * lfuns.h:
1584         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1585
1586         * lyxrc.[Ch] (read, write): overloaded member functions taking
1587         a std::[io]stream arguments.
1588
1589         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1590
1591 2004-03-31  Angus Leeming  <leeming@lyx.org>
1592
1593         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1594         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1595
1596         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1597         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1598
1599 2004-03-31  Angus Leeming  <leeming@lyx.org>
1600
1601         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1602         the LFUN_ALL_INSETS_TOGGLE code.
1603
1604 2004-03-30  Angus Leeming  <leeming@lyx.org>
1605
1606         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1607         has died. Fall through to the generic Dialogs::show("document").
1608
1609 2004-03-30  Angus Leeming  <leeming@lyx.org>
1610
1611         * lfuns.h:
1612         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1613         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1614
1615         * lyxfunc.C (getStatus, dispatch): define the actions for these
1616         lfuns. Little more than a cut and pste job from ControlDocument.C
1617
1618         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1619
1620 2004-03-30  Angus Leeming  <leeming@lyx.org>
1621
1622         * lfuns.h:
1623         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1624         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1625
1626         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1627         open/closed state of ollapsable insets. Usage:
1628
1629         all-inset-toggle <state> <name>, where
1630         <state> == "open" || "closed" || "toggle" and
1631         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1632
1633         * lyxtext.h, text2.C (toggleInset): removed.
1634
1635         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1636         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1637         now passes LFUN_INSET_TOGGLE to the found inset.
1638
1639         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1640         is now invoked as "all-insets-toggle toggle branch".
1641
1642 2004-03-30  Angus Leeming  <leeming@lyx.org>
1643
1644         * dociterator.C:
1645         * insetiterator.C:
1646         * pariterator.[Ch]: added/corrected header blurb.
1647
1648 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1649
1650         * dociterator.[Ch]: add an inset_ member
1651         (backwardPos): implemented
1652         (backwardPos, forwardPos): use inset_ when the stack is empty.
1653         (doc_iterator_begin, doc_iterator_end): implemented
1654         * pariterator.[Ch]: adjust, add begin, end
1655         * insetiterator.[Ch]: adjust, add begin, end
1656         * cursor.C:
1657         * document.C:
1658         * BufferView.C:
1659         * BufferView_pimpl.C:
1660         * CutAndPaste.C: adjust
1661
1662 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1663
1664         * buffer.C: increment file format to 232.
1665         * LaTeXFeatures.C: add bibtopic package.
1666         * bufferparams.[Ch]: param \use_bibtopic.
1667
1668         * lyxrc.[Ch]: add lyxrc bibtex_command
1669         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1670
1671         * buffer.C: increment file format to 231.
1672
1673 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1674
1675         * dociterator.C: implement forwardPar
1676         * iterators.[Ch]: remove, replaced by
1677         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1678         * BufferView.C:
1679         * BufferView_pimpl.C:
1680         * CutAndPaste.C:
1681         * buffer.C:
1682         * bufferview_funcs.C:
1683         * cursor.C:
1684         * lyxfind.C
1685         * lyxfunc.C
1686         * paragraph_funcs.C
1687         * toc.C:
1688         * Makefile.am: adjust
1689
1690 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1691
1692         * CutAndPaste.C (pasteSelection): fix 2 crashes
1693         (eraseSelection): fix a crash
1694         * paragraph_funcs.C: remove a warning
1695
1696 2004-03-28  Angus Leeming  <leeming@lyx.org>
1697
1698         * lfuns.h:
1699         * LyXAction.C (init): new LFUN_PRINT.
1700
1701         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1702
1703 2004-03-27  Angus Leeming  <leeming@lyx.org>
1704
1705         * lfuns.h:
1706         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1707
1708         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1709
1710 2004-03-27  Angus Leeming  <leeming@lyx.org>
1711
1712         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1713         insetlist always contains non-null pointers to insets.
1714
1715 2004-03-26  Angus Leeming  <leeming@lyx.org>
1716
1717         * src/BufferView_pimpl.C:
1718         * src/CutAndPaste.C:
1719         * src/buffer.C:
1720         * src/iterators.C:
1721         * src/output_plaintext.C:
1722         * src/outputparams.h:
1723         * src/paragraph_funcs.C:
1724         * src/rowpainter.C:
1725         * src/text.C:
1726         * src/text2.C:
1727         * src/frontends/controllers/ControlErrorList.C:
1728         * src/frontends/gtk/FileDialogPrivate.C:
1729         * src/frontends/gtk/GPainter.C:
1730         * src/frontends/gtk/GToolbar.C:
1731         * src/frontends/qt2/QRef.C:
1732         * src/mathed/math_scriptinset.C: squash compiler warnings.
1733
1734 2004-03-26  Angus Leeming  <leeming@lyx.org>
1735
1736         * ispell.C (LaunchIspell::start):
1737         * lyx_cb.C (AutoSaveBuffer::start):
1738         invoke run(DontWait) rather than runNonBlocking().
1739
1740 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1741
1742         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1743
1744 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1745
1746         * kbsequence.C (print): adjust
1747
1748         * kbmap.C (printKeySym): rename and change signature
1749         (printKey): use LyXKeySym::print()
1750
1751 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1752
1753         * undo.C: add using std::advance to compile for stlport
1754
1755 2004-03-24  Angus Leeming  <leeming@lyx.org>
1756
1757         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1758         it leads to a crash when no buffer is present.
1759
1760 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761             Martin Vermeer  <martin.vermeer@hut.fi>
1762
1763         * lyxfunc.C (dispatch):
1764         * bufferparams.C (readToken): use the new LColor::setColor
1765
1766         * LColor.[Ch] (setColor): new version that takes two strings as
1767         argument and creates a new color entry if necessary
1768
1769 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1770
1771         * buffer.C (makeLaTeXFile): if the main latex file that is
1772         processed is usually a subdocument of some master, then pretend
1773         for a while that it is actually the master
1774
1775 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1776
1777         * buffer.C (getLabelList):
1778         (getBibkeyList): use getMasterBuffer()
1779         (getMasterBuffer): new method. Returns the main document in the
1780         case where one is using included documents.
1781
1782 2004-03-25  André Pönitz  <poenitz@gmx.net>
1783
1784         * Makefile.am:
1785         * iterators.[Ch]:
1786         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1787
1788         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1789
1790         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1791         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1792
1793         * ParameterStruct.h: merge with ParagraphParameters
1794
1795         * lyxtext.h: remove LyXText::parOffset() and getPar()
1796
1797         * text3.C: Remove all 'manual' update calls. We do now one per user
1798         interaction which is completely sufficient.
1799
1800         * Bidi.C:
1801         * BufferView.[Ch]:
1802         * BufferView_pimpl.C:
1803         * FontIterator.[Ch]:
1804         * MenuBackend.C:
1805         * ParagraphParameters.[Ch]:
1806         * buffer.C:
1807         * buffer.h:
1808         * bufferlist.C:
1809         * cursor.[Ch]:
1810         * cursor_slice.[Ch]:
1811         * dociterator.[Ch]:
1812         * errorlist.[Ch]:
1813         * factory.C:
1814         * lfuns.h:
1815         * lyxfind.C:
1816         * lyxfunc.C:
1817         * output_docbook.[Ch]:
1818         * output_latex.[Ch]:
1819         * output_linuxdoc.[Ch]:
1820         * output_plaintext.[Ch]:
1821         * paragraph.[Ch]:
1822         * paragraph_funcs.[Ch]:
1823         * paragraph_pimpl.[Ch]:
1824         * rowpainter.C:
1825         * tabular.[Ch]:
1826         * text.C:
1827         * text2.C:
1828         * toc.C:
1829         * undo.[Ch]: adjust
1830
1831         * frontends/controllers/ControlDocument.C:
1832         * frontends/controllers/ControlErrorList.C:
1833         * frontends/controllers/ControlSpellchecker.C:
1834         * insets/inset.C:
1835         * insets/inset.h:
1836         * insets/insetbase.h:
1837         * insets/insetbibitem.C:
1838         * insets/insetbox.C:
1839         * insets/insetbranch.C:
1840         * insets/insetcaption.C:
1841         * insets/insetcharstyle.C:
1842         * insets/insetcharstyle.h:
1843         * insets/insetcollapsable.C:
1844         * insets/insetcollapsable.h:
1845         * insets/insetert.C:
1846         * insets/insetfloat.C:
1847         * insets/insetfoot.C:
1848         * insets/insetmarginal.C:
1849         * insets/insetnote.C:
1850         * insets/insetoptarg.C:
1851         * insets/insettabular.C:
1852         * insets/insettext.C:
1853         * insets/insettext.h:
1854         * insets/insetwrap.C:
1855         * mathed/math_mboxinset.C:
1856         * mathed/math_nestinset.C:
1857         * mathed/math_scriptinset.C:
1858         * mathed/math_scriptinset.h:
1859         * support/types.h:
1860
1861 2004-03-24  Angus Leeming  <leeming@lyx.org>
1862
1863         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1864         deal with any child processes that have finished but are waiting to
1865         communicate this fact to the rest of LyX.
1866
1867 2004-03-24  Angus Leeming  <leeming@lyx.org>
1868
1869         64-bit compile fixes.
1870
1871         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1872         (c-tor): pass lyx::pos_types rather than ints.
1873
1874         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1875         lyx::pos_type.
1876
1877         * text.C (Delete): compile fix.
1878         (getPar): ensure that function declaration is the same as that in
1879         the header file.
1880
1881 2004-03-23  Angus Leeming  <leeming@lyx.org>
1882
1883         * ispell.C (LaunchIspell):
1884         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1885         a boost::shred_ptr rather than a std::auto_ptr.
1886
1887 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1888
1889         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1890         handle LFUN_FILE_INSERT_*
1891
1892         * lyxrc.C (setDefaults, getDescription, output, read):
1893         * lyxrc.h: remove ps_command
1894
1895 2004-03-22  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1898         Ensure that error_handler is processed once only and that all data
1899         is saved before attempting to output any warning messages.
1900
1901         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1902
1903 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1904
1905         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1906
1907 2004-03-19  André Pönitz  <poenitz@gmx.net>
1908
1909         * cursor.[Ch] (reset): take main text inset as argument
1910
1911         * BufferView: adjust
1912         * BufferView_pimpl.C: adjust
1913
1914         * paragraph.[Ch]: fix completely broken operator=()
1915
1916 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1917
1918         * LColor.C (getFromLyXName): make sure that the color name is used
1919         as lowercase.
1920
1921 2004-03-17  Angus Leeming  <leeming@lyx.org>
1922
1923         * lfuns.h:
1924         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1925
1926         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1927         dialog and to kill a forked process.
1928
1929 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * text2.C (setCursorFromCoordinates): fix font problem
1932
1933 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1934
1935         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1936         bogus "rebuild cursor" code
1937
1938 2004-03-11  André Pönitz  <poenitz@gmx.net>
1939
1940         * buffer.[Ch]: use InsetText instead of LyXText as container for
1941         the main lyx text.
1942
1943         * dociterator.[Ch]: drop the BufferView * member which is not needed
1944         anymore after the change to buffer.C
1945
1946         * paragraph_funcs.C:
1947         * text.C:
1948         * text2.C:
1949         * BufferView.[Ch]:
1950         * BufferView_pimpl.[Ch]:
1951         * cursor.[Ch]:
1952         * cursor_slice.[Ch]: adjust
1953
1954         * text3.C: fix bug in mathDispatch
1955
1956 2004-03-08  André Pönitz  <poenitz@gmx.net>
1957
1958         * undo.[Ch]: use 'StableDocumentIterator' as base for
1959         the Undo struct.
1960
1961 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1962
1963         * LaTeXFeatures.C:
1964         * bufferparams.[Ch]: add jurabib support and param.
1965
1966         * LaTeX.C: add FIXME/comment.
1967
1968 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1969
1970         * buffer.C: increment file format to 230.
1971
1972 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * cursor.C (dispatch): avoid infinite loops
1975
1976 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1977
1978         * rowpainter.C (paintSelection): fix x coordinates
1979
1980 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * text.C (rowBreakPoint): fix breaking before displayed insets
1983
1984 2004-03-01  André Pönitz  <poenitz@gmx.net>
1985
1986         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1987
1988         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1989
1990         * Makefile.am:
1991         * BufferView.C:
1992         * BufferView_pimpl.C:
1993         * buffer.C:
1994         * lyxfind.C:
1995         * lyxfunc.C:
1996         * text.C:
1997         * text2.C:
1998         * text3.C: adjust
1999
2000 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2001
2002         * lyxtext.h:
2003         * text.C:
2004         * text2.C:
2005         * rowpainter.C:
2006         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2007         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2008
2009 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2010
2011         * Bidi.[Ch] (computeTables): const correctness
2012         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2013         fill_hfill, fill_label_hfill and x from Row
2014         * lyxtext.h: prepareToPrint returns a RowMetrics
2015         * rowPainter.C: adjust
2016         * text.C (prepareToPrint): use width, not textWidth. adjust
2017         (redoParagraphInternal, cursorX): adjust
2018         * text2.C (getColumnNearX): adjust
2019         (init): put a default value to the top LyXText::width
2020
2021 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2022
2023         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2024
2025 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2026
2027         * lyxtext.h: add FontIterator class
2028
2029         * text.C (FontIterator, operator*, operator->, operator++): add
2030         (rowBreakPoint, setRowWidth): adjust (fixing a
2031         rebreaking bug)
2032
2033 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2034
2035         * BufferView_pimpl.C (workAreaDispatch): allow also
2036         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2037
2038 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2039
2040         * text.C (rowBreakPoint): fix a bug showing with very large insets
2041
2042 2004-02-25  André Pönitz  <poenitz@gmx.net>
2043
2044         * text3.C:
2045         * cursor.[Ch]: move some mathed specific code to mathed
2046
2047 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2048
2049         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2050         use_tempdir in preferences
2051         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2052         tempfile creation
2053         * lyx_main.C: ensure that tempdir is valid
2054         * lyxlex.h: correct typo
2055         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2056         * paragraph.[Ch] (isMultiLingual): make const
2057         * cursor.[Ch] (openable): make const
2058
2059 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2060
2061         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2062
2063 2004-02-20  André Pönitz  <poenitz@gmx.net>
2064
2065         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2066
2067         * cursor.[Ch]: prepare for localized getStatus()
2068
2069         * lyxtext.h:
2070         * tabular.C:
2071         * text.C:
2072         * text2.C:
2073         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2074
2075 2004-02-20  André Pönitz  <poenitz@gmx.net>
2076
2077         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2078
2079 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2080
2081         * text2.C (setCursorFromCoordinates): switch to absolute coords
2082         (cursorUp): adjust
2083         (cursorDown): adjust
2084         * text3.C (dispatch): adjust
2085
2086 2004-02-16  André Pönitz  <poenitz@gmx.net>
2087
2088         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2089           insets/ChangeLog)
2090
2091         * cursor_slice.[Ch]: remove unneeded acessor function
2092
2093         * lyxtext.h: rename rtl() to isRTL()
2094
2095         * rowpainter.C:
2096         * tabular.C:
2097         * text.C:
2098         * text2.C:
2099         * text3.C: adjust
2100
2101 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2102
2103         * rowpainter.C (paintSelection): coord fix
2104
2105 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2106
2107         * Spacing.C: compile fix
2108
2109 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2110
2111         * cursor.C (dispatch): restore current_ before returning
2112
2113 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2114
2115         * text2.C (cursorUp, cursorDown): fix coords
2116         (moveUp): fix crash
2117
2118 2004-02-12  André Pönitz  <poenitz@gmx.net>
2119
2120         * lyxtext.h:
2121         * text.C:
2122         * text2.C:
2123         * text3.C: add LCursor & parameter to most cursor movement functions
2124           remove usage of LyXText::cursorRow() and cursorPar()
2125
2126         * cursor.[Ch]: add textRow() needed members
2127
2128         * BufferView.C:
2129         * BufferView_pimpl.C:
2130         * paragraph.[Ch]:
2131         * BufferView.C:
2132         * BufferView_pimpl.C: adjust
2133
2134 2004-02-11  André Pönitz  <poenitz@gmx.net>
2135
2136         * lyxfunc.C:
2137         * BufferView.[Ch]:
2138         * BufferView_pimpl.C: shift undo/redo handling
2139
2140         * cursor.[Ch]: fix mathed crash
2141
2142         * lyxfind.C:
2143         * lyxtext.h: move selectionAsText to LCursor
2144
2145         * output_latex.C:
2146         * paragraph.C:
2147         * text.C:
2148         * text2.C:
2149         * text3.C: adjust
2150
2151         * rowpainter.C: fix excessive drawing
2152
2153 2004-02-06  André Pönitz  <poenitz@gmx.net>
2154
2155         * BufferView.[Ch]:
2156         * BufferView_pimpl.[Ch]:
2157         * text3.C: move some text specific LFUN handling
2158
2159 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2160
2161         * text3.C (checkInsetHit): adjust coords
2162         * text2.C (getColumnNearX): adjust coords
2163         (edit): adjust coords
2164         * text.C (getRowNearY): add two asserts
2165
2166 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2167
2168         * converter.C:
2169         * format.C: add using std::distance to compile on gcc 2.95/stlport
2170
2171 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2172
2173         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2174
2175 2004-02-04  André Pönitz  <poenitz@gmx.net>
2176
2177         * BufferView.[Ch] (insertInset):
2178         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2179
2180         * text2.C:
2181         * text3.C: adjust
2182
2183 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2184
2185         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2186         on the default clause of the switch
2187         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2188         wasn't catched by LCursor::dispatch
2189
2190 2004-02-03  André Pönitz  <poenitz@gmx.net>
2191
2192         * BufferView.C:
2193         * cursor.[Ch]: some additional asserts
2194
2195         * undo.[Ch]: remove LyXText dependency in interface
2196
2197         * lyxfunc.C: adjust
2198
2199         * lyxtext.h (firstPar, lastPar): remove dead functions
2200
2201         * text.C:
2202         * text2.C:
2203         * text3.C:
2204         * paragraph.[Ch]: adjust
2205
2206 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2207
2208         * lyxfind.C (find): fix argument order in call to ::find
2209
2210 2004-02-02  André Pönitz  <poenitz@gmx.net>
2211
2212         * cursor.[Ch]: remove direct access to anchor
2213
2214         * text.C: remove findText() hack
2215
2216 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2217
2218         * iterators.[Ch] (lockPath): remove in favour of...
2219         * BufferView.[Ch] (setCursor): this addition
2220         * BufferView.C (putSelectionAt): adjust
2221         * undo.C (performUndoOrRedo): adjust
2222         * lyxfunc.C (dispatch): adjust
2223
2224 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2225
2226         * iterators.C (lockPath): add a missing slice
2227         * undo.C (performUndoOrRedo): remove redundant positioning code
2228
2229 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2230
2231         * vc-backend.C (scanMaster): ";" -> ';'
2232
2233 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2234
2235         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2236         std::binary_function
2237
2238         * lyxtextclass.C (compare_name): rename to...
2239         (LayoutNamesEqual): ...this
2240
2241         * lyxlex_pimpl.C (compare_tags): inherit from
2242         std::binary_function, put back into anon namespace
2243
2244         * lyxfind.C (MatchString): inherig from std::binary_function
2245         (findChange): use empty() istead of !size()
2246
2247         * format.C (FormatNamesEqual): new functor
2248         (getFormat): use it
2249         (getNumber): use it
2250         (add): use it
2251         (erase): use it
2252         (setViewer): use it
2253
2254         * converter.C (compare_Converter): rename to...
2255         (ConverterEqual): ...this, and fixup a bit.
2256         (getConverter): use it, and make function const
2257         (getNumber): use it, and make function const
2258         (add): use it
2259         (erase): use it:
2260
2261         * bufferlist.C: add using boost::bind
2262
2263         * MenuBackend.C (MenuNamesEqual): new functor
2264         (hasMenu): use it, and make function const
2265         (hasSubmenu): use nested bind to get rid of compare_memfun.
2266
2267 2004-01-30  André Pönitz  <poenitz@gmx.net>
2268
2269         * BufferView_pimpl.C:
2270         * cursor.C:
2271         * cursor.h:
2272         * cursor_slice.[Ch]:
2273         * lyxfunc.C:
2274         * lyxtext.h:
2275         * paragraph_funcs.C:
2276         * paragraph_funcs.h:
2277         * rowpainter.C:
2278         * text.C:
2279         * text2.C:
2280         * text3.C: move some of the edit(x,y) handling to the insets
2281         some coordinate changes.
2282
2283 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2284
2285         * text.C: add using statements for std::advance and std::distance
2286
2287         * paragraph.C: add using statement for std::distance
2288
2289         * lyxfind.C: add using statement for std::advance
2290
2291         * cursor.C (region): remove std:: from swap
2292         (openable): use nucleus in stead of operator->
2293
2294         * BufferView.C: add using statements for std::distance and std::swap
2295
2296 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2297
2298         * iterators.C: Remove the pimple, move the needed structures to
2299         the header file. Create accessor for the positions stack.
2300         (asPosIterator): remove function
2301
2302         * PosIterator.C (PosIterator): move constructors to top of file
2303         (PosIterator): reimplement the constructor taking a ParIterator in
2304         terms of setFrom.
2305         (setFrom): new function
2306         (operator!=): inline it
2307
2308 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2309
2310         * lyxfind.C (replaceAll): use std::advance
2311
2312         * iterators.h: inherit from std::iterator.
2313
2314         * PosIterator.C (advance, distance): remove
2315         * PosIterator.h: interit from std::iterator.
2316
2317 2004-01-26  André Pönitz  <poenitz@gmx.net>
2318
2319         * BufferView.[Ch]:
2320         * BufferView_pimpl.[Ch]:
2321         * InsetList.[Ch]:
2322         * PosIterator.[Ch]:
2323         * buffer.h:
2324         * bufferview_funcs.C:
2325         * cursor.[Ch]:
2326         * cursor_slice.h:
2327         * factory.[Ch]:
2328         * iterators.[Ch]:
2329         * lyxfind.C:
2330         * lyxfunc.C:
2331         * lyxtext.h:
2332         * output_docbook.C:
2333         * output_latex.C:
2334         * output_linuxdoc.C:
2335         * output_plaintext.C:
2336         * paragraph.[Ch]:
2337         * paragraph_funcs.[Ch]:
2338         * paragraph_pimpl.[Ch]:
2339         * rowpainter.C:
2340         * tabular.C:
2341         * tabular.h:
2342         * text.C:
2343         * text2.C:
2344         * text3.C: more IU:  dumps most of the rest of the mathcursor
2345     implementation into cursor.[Ch]; "globalize" a bit of it.
2346
2347 2004-01-25  Angus Leeming  <leeming@lyx.org>
2348
2349         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2350
2351 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2352
2353         * LaTeXFeatures.h: add nice_ and nice() const
2354         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2355
2356 2004-01-20  André Pönitz  <poenitz@gmx.net>
2357
2358         * BufferView.[Ch]:
2359         * BufferView_pimpl.C:
2360         * PosIterator.C:
2361         * bufferview_funcs.C:
2362         * cursor.[Ch]:
2363         * cursor_slice.[Ch]:
2364         * factory.C:
2365         * iterators.C:
2366         * lyx_cb.C:
2367         * lyxfind.C:
2368         * lyxfunc.C:
2369         * lyxtext.h:
2370         * rowpainter.C:
2371         * text.C:
2372         * text2.C:
2373         * text3.C:
2374         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2375           LCursor and mathcursor parts to LCursor and InsetBase.
2376
2377 2004-01-15  André Pönitz  <poenitz@gmx.net>
2378
2379         * cursor_slice.[Ch]: add a few covienience functions
2380
2381         * funcrequest.[Ch]: remove BufferView * member
2382
2383         * BufferView_pimpl.C:
2384         * cursor.C:
2385         * factory.[Ch]:
2386         * lyxfind.[Ch]:
2387         * lyxfunc.C:
2388         * lyxtext.h:
2389         * text3.C:
2390         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2391
2392 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2395         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2396
2397 2004-01-13  André Pönitz  <poenitz@gmx.net>
2398
2399         * textcursor.[Ch]:
2400         * lyxtext.h: hide cursor and selection anchor behind accessor function
2401
2402         * BufferView.C:
2403         * BufferView_pimpl.[Ch]:
2404         * PosIterator.C:
2405         * bufferview_funcs.C:
2406         * cursor.h:
2407         * lyxfind.C:
2408         * lyxfunc.C:
2409         * text.C:
2410         * text2.C:
2411         * text3.C:
2412         * undo.C: adjust
2413
2414         * cursor.h:
2415         * cursor_slice.[Ch]: some integer type changes for inset unification
2416
2417         * lyxcursor.[hC]: remove, it's CursorSlice now.
2418
2419         * Makefile.am:
2420         * BufferView_pimpl.[Ch]:
2421         * bufferview_funcs.C:
2422         * cursor_slice.C:
2423         * lyxtext.h:
2424         * text.C:
2425         * text2.C:
2426         * text3.C:
2427         * textcursor.[Ch]: adjust
2428
2429 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2430
2431         * text2.C (undoSpan): add and use
2432         * text.C (breakParagraph): use undoSpan (fix bug 578)
2433         * lyxtext.h: adjust
2434
2435 2004-01-08  Angus Leeming  <leeming@lyx.org>
2436
2437         * BufferView_pimpl.C (MenuInsertLyXFile):
2438         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2439         * lyxfunc.C (menuNew, open, doImport):
2440         FileFilterList change to the FileDialog open and save functions.
2441
2442 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2443
2444         * ShareContainer.h: make isEqual and isUnique adaptable
2445
2446         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2447
2448 2004-01-07  Angus Leeming  <leeming@lyx.org>
2449
2450         * LyXAction.C:
2451         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2452
2453         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2454
2455         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2456         functions replacing find, replace and replaceAll.
2457
2458         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2459         LFUN_WORDFIND(FORWARD|BACKWARD).
2460
2461 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2462
2463         * text.C (breakParagraph): remove an outdated #warning
2464
2465 2004-01-07  André Pönitz  <poenitz@gmx.net>
2466
2467         * lyxfind.C: somewhat clearer logic
2468
2469         * text.C: prevent crash in cursorX on unitialized row cache
2470
2471 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * lyxcursor.[Ch] (operator>): add
2474         * textcursor.C (selStart, selEnd): use std::min and std::max
2475
2476 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2477
2478         * Chktex.C: include boost/format.hpp
2479
2480 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2481
2482         * InsetList.C: replace functor MathcIt with adaptable functor
2483         InsetTablePosLess
2484         (insetIterator): modify accordingly
2485
2486         * BranchList.h: move the BranchNamesEqual functor here from...
2487         * BranchList.C: ... to here
2488
2489         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2490         SameName and match.
2491         (add): replace a finding loop with std::find_if.
2492
2493 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2494
2495         * output_docbook.C: moving LatexParam functionality into
2496         .layout files
2497
2498 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2499
2500         * buffer.C: increment format to 229.
2501
2502 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2503
2504         * LaTeXFeatures.C:
2505         * lyx_sty.[Ch]: remove minipageindent_def
2506
2507         * LyXAction.C:
2508         * factory.C:
2509         * lfuns.h:
2510         * lyxfunc.C:
2511         * text3.C: remove LFUN_INSET_MINIPAGE
2512
2513 2003-12-28  Angus Leeming  <leeming@lyx.org>
2514
2515         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2516
2517 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2518
2519         * text2.C (setParagraph): fix off-by-one crash
2520
2521 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2522
2523         * output_docbook.C: header stuff for AGU
2524
2525 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2526
2527         * text2.C (redoCursor): remove
2528         * text.C:
2529         * text3.C:
2530         * BufferView_pimpl.C: remove calls to redoCursor and
2531         setCursor(cursor.par(), cursor.pos()) all around
2532
2533 2003-12-15  Angus Leeming  <leeming@lyx.org>
2534
2535         * buffer.C: up the format to 228.
2536
2537 2003-12-15  André Pönitz  <poenitz@gmx.net>
2538
2539         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2540         slices
2541
2542         * Makefile.am:
2543
2544         * BufferView_pimpl.C:
2545         * cursor.[Ch]:
2546         * lyxcursor.[Ch]:
2547         * rowpainter.[Ch]:
2548         * lyxtext.h:
2549         * text.C:
2550         * text2.C:
2551         * text3.C: adjust
2552
2553 2003-12-15  Angus Leeming  <leeming@lyx.org>
2554
2555         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2556         than getFromGUIName to manipulate the color.
2557
2558 2003-12-14  Angus Leeming  <leeming@lyx.org>
2559
2560         * BranchList.[Ch]: minimize the API.
2561         (Branch::getBranch, getColor): now return a 'const &'.
2562         (Branch::setSelected) now returns a bool set to true if the
2563         selection status changes.
2564         (BranchList::clear, size, getColor, setColor, setSelected,
2565         allBranches, allSelected, separator): removed.
2566         (BranchList::find): new functions, returning the Branch with
2567         the given name.
2568         (BranchList::add, remove): return a bool indicating that
2569         the operation was successful.
2570
2571         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2572         new InsetBranch::isBranchSlected member function.
2573
2574         * LColor.[Ch]: mimimize the API.
2575         (fill): renamed as addColor and made private.
2576         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2577         versions of these functions taking a string arg have been removed.
2578
2579         * bufferparams.C (readToken):
2580         * lyxfunc.C (dispatch):
2581         * lyxrc.C (read): changes due to the altered BranchList and
2582         LColor APIs.
2583
2584         * factory.C (createInset, readInset): changes due to altered
2585         InsetBranch c-tor.
2586
2587 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2588
2589         * factory.C:
2590         * lyxfunc.C: remove insetminipage. "minipage-insert"
2591         now produces a frameless minipage box inset.
2592
2593 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * textcursor.[Ch] (selStart,selEnd): add new methods
2596         remove selection::start, end, use LyXCursor::operator<
2597         * lyxcursor.[Ch] (operator<): add
2598         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2599         * BufferView.[Ch] (unsetXSel): add
2600         * text2.C (clearSelection): use unsetXSel,adjust
2601         * text.C: adjust
2602         * text3.C: adjust
2603         * rowpainter.C: adjust
2604         * bufferview_funcs.C (put_selection_at): adjust
2605
2606 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2607
2608         * BufferView_pimpl.C: small coord. correction
2609
2610 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2611
2612         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2613         dragging over the splash screen.
2614
2615 2003-12-11  Angus Leeming  <leeming@lyx.org>
2616
2617         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2618         as it is now handled in LyXText::dispatch.
2619
2620         * text3.C (doInsertInset): remove a level of nesting.
2621
2622 2003-12-11  Angus Leeming  <leeming@lyx.org>
2623
2624         * factory.C (createInset): changes due to the changed interface to
2625         InsetCommandMailer::string2params.
2626
2627 2003-12-10  Angus Leeming  <leeming@lyx.org>
2628
2629         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2630         'dialog-show-new-inset <inset name>'
2631
2632 2003-12-10  Angus Leeming  <leeming@lyx.org>
2633
2634         * buffer.C: up the format to 227.
2635
2636         * factory.C: the box inset is now identified simply by 'Box'.
2637
2638 2003-12-10  Angus Leeming  <leeming@lyx.org>
2639
2640         * buffer.C: up the format to 226.
2641
2642         * factory.C: the note inset is now identified simply by 'Note'.
2643
2644 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2645
2646         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2647         when a pit is enough. Standarize a couple of loops.
2648
2649 2003-12-05  Angus Leeming  <leeming@lyx.org>
2650
2651         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2652         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2653         data to the re-worked "log" dialog.
2654
2655 2003-12-03  André Pönitz  <poenitz@gmx.net>
2656
2657         * PosIterator.C:
2658         * iterators.C:
2659         * lyxtext.h:
2660         * output_latex.C:
2661         * paragraph_funcs.C:
2662         * text.C:
2663         * text2.C: use Inset::getText instead of Inset::getParagraph
2664
2665 2003-12-03  André Pönitz  <poenitz@gmx.net>
2666
2667         * buffer.[Ch]:
2668         * lyxtext.h:
2669         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2670         InsetText::read() as LyXText::read()
2671
2672 2003-12-02  Angus Leeming  <leeming@lyx.org>
2673
2674         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2675         type. Add a comment in the implementation that the function uses
2676         the stream's bad() function rather than fail() as the std::streams
2677         would do.
2678
2679 2003-12-02  André Pönitz  <poenitz@gmx.net>
2680
2681         * lyxlex.[Ch]: make interface more similar to std::stream
2682
2683         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2684
2685 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2686
2687         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2688
2689 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2690
2691         * vspace.[Ch]: remove VSpace::NONE
2692
2693 2003-12-01  André Pönitz  <poenitz@gmx.net>
2694
2695         * buffer.[Ch]:
2696         * lyxtext.h: move ParagraphList member to LyXText
2697         rename LyXText::ownerParagraphs to LyXText::paragraph
2698
2699         * CutAndPaste.C:
2700         * bufferview_funcs.C:
2701         * iterators.[Ch]:
2702         * lyx_cb.C:
2703         * paragraph.C:
2704         * rowpainter.C:
2705         * tabular.C:
2706         * text.C:
2707         * text2.C:
2708         * text3.C: adjust
2709
2710         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2711
2712         * undo.C: fix cursor positioning
2713
2714 2003-12-01  John Levon  <levon@movementarian.org>
2715
2716         * BufferView_pimpl.C: fix a crash on exit with
2717         a buffer open
2718
2719 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2720
2721         * BranchList.C: fix setSelected() method.
2722
2723 2003-11-28  André Pönitz  <poenitz@gmx.net>
2724
2725         * ParagraphParameters.[Ch]:
2726         * ParameterStruct.h: remove space above/below from Paragraph to
2727          InsetVSpace
2728
2729         * BufferView_pimpl.C:
2730         * factory.C:
2731         * lyxfunc.C:
2732         * lyxtext.h:
2733         * output_latex.C:
2734         * paragraph.C:
2735         * paragraph_funcs.C:
2736         * rowpainter.[Ch]:
2737         * text.C:
2738         * text2.C:
2739         * text3.C: adjust
2740
2741 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2742
2743         * factory.C: Syntax change for CharStyles
2744
2745 2003-11-28  André Pönitz  <poenitz@gmx.net>
2746
2747         * BufferView.[Ch]:
2748         * BufferView.[Ch]:
2749         * buffer.[Ch]:
2750         * buffer.[Ch]: move LyXText member
2751
2752 2003-11-28  André Pönitz  <poenitz@gmx.net>
2753
2754         * BufferView.[Ch]: make LyXText * text a private member
2755
2756         * BufferView_pimpl.C:
2757         * cursor.C:
2758         * iterators.C:
2759         * lyx_cb.C:
2760         * lyxfind.C:
2761         * lyxtext.h:
2762         * rowpainter.[Ch]:
2763         * text.C:
2764         * text2.C:
2765         * undo.C: adjust
2766
2767         * output_plaintext.C: cleanup
2768
2769 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2770
2771         * buffer.C:
2772         * lyxtextclass.[Ch]: parametrize SGML document header
2773
2774 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2775
2776         * converter.[Ch]:
2777         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2778         getFlavor().
2779
2780 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2781
2782         * text2.C (setFont): rework using PosIterator (no more recursive)
2783         (setCharFont): no more needed
2784         (setLayout): no more selection cursors fiddling (done by redoCursor)
2785         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2786         destroy remaining ones)
2787
2788 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2789
2790         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2791         * lyxtext.h: ditto
2792         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2793         selection cursors
2794         * lyxfunc.C: adjust
2795         * text3.C: adjust + re-allow multi par depth changes
2796         * textcursor.C: simplify a bit
2797
2798 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2799
2800         * src/buffer.C:
2801         * src/lyxlayout.C:
2802         * src/lyxlayout.h:
2803         * src/lyxtext.h:
2804         * src/output_docbook.C:
2805         * src/output_latex.C:
2806         * src/paragraph.C:
2807         * src/paragraph.h:
2808         * src/sgml.C:
2809         * src/sgml.h:
2810         * src/text2.C: Introducing a number of tags parametrizing various
2811         XML formats that we may want to support
2812
2813 2003-11-25  André Pönitz  <poenitz@gmx.net>
2814
2815         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2816
2817         * lyxtext.h (leftMargin/rightMargin): simplify interface
2818
2819         * rowpainter.C:
2820         * text.C:
2821         * text2.C:
2822         * text3.C: adjust
2823
2824 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2825
2826         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2827         master file to any child files. Fixes bug 546.
2828
2829 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2830
2831         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2832
2833 2003-11-24  André Pönitz  <poenitz@gmx.net>
2834
2835         * rowpainter.C: simplification
2836
2837         * text2.C (updateCounters): remove call to redoParagraph on
2838         changed labels as this is far too expensive.
2839
2840 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2841
2842         * converter.C (convert): fix a crash: this function gets
2843         called with buffer == 0 from importer code.
2844
2845 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2846
2847         * text3.C (cursorPrevious): make sure that we do not compare
2848         iterators form different containers.
2849         (cursorNext): ditto
2850
2851         * rowpainter.C (paintSelection): make sure that we do not compare
2852         iterators from different containers.
2853
2854         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2855         iterators from different ParagraphList containers.
2856         [NEXT] ditto
2857
2858         * text2.C (LyXText): change order of initialization slightly
2859         (operator=): new function. copy all variables except cache_par_
2860         (moveUp): make sure that we do not compare iterators from
2861         different ParagraphList constainers.
2862         (moveDown): ditto
2863
2864         * text.C (firstPar): new function
2865         (lastPar): new function
2866         (endPar): new function
2867
2868         * lyxtext.h: move things around and group public functions, public
2869         variables, private functions, private variables
2870
2871 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2872
2873         * factory.C: change call to InsetERT constructor to avoid
2874         additional invocation of method status
2875         * text2.C (toggleInset): remove redundant update() call
2876         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2877         instead of a Bufferview pointer
2878
2879 2003-11-21  André Pönitz  <poenitz@gmx.net>
2880
2881         * rowpainter.C: simplification
2882
2883 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2884
2885         * text3.C (dispatch): make possible to extend a word/row selection
2886         with the mouse
2887
2888 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2889
2890         * lyxtext.h: x0_,y0_ -> xo_,yo_
2891         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2892         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2893         * rowpainter.C (paintRows): paint full paragraphs
2894
2895 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2896
2897         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2898         screen coordinates)
2899
2900 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2901
2902         * lyxtext.h: add x0_, y0_
2903         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2904         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2905
2906 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2907
2908         * text2.C (setCursorIntern): move the x_target update here *
2909         * text3.C: change some bv() to true/false in calls to
2910         cursorUp/Down/Right/Left
2911         * cursor.C: use helper function.
2912
2913 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2914
2915         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2916         * paragraph_funcs.[Ch]: correct comment
2917         * rowpainter.C: do not paint selections away from bv->cursor()
2918         Fix a long standing selection painting bug.
2919         * text3.C: generalize mouse-selection code to LyXTexts other that
2920         top one
2921         * textcursor.C: do not use y coords if we can use par offsets
2922
2923 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2924
2925         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2926         cursor position after e.g. inset insert)
2927
2928 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2929
2930         * lyxfind.C (replace): adjust to locking removal + some
2931         code simplification
2932
2933 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2934
2935         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2936         of the path
2937
2938 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2939
2940         * lyxlayout.[Ch]:
2941         * output_docbook.C: XML sanitation: new layout
2942         parameters InnerTag and CommandDepth
2943
2944 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2945
2946         * BufferView_pimpl.C:
2947         * factory.C:
2948         * text3.C: Fix the insertion and modification of button-style
2949         insets
2950
2951 2003-11-13  André Pönitz  <poenitz@gmx.net>
2952
2953         * InsetList.[Ch]: remove deleteLyXText
2954
2955         * paragraph.[Ch]: cache beginOfBody position
2956
2957         * Bidi.C:
2958         * text.C:
2959         * text2.C:
2960         * text3.C: remove superfluous update() calls
2961
2962         * vspace.C: cleanup
2963
2964 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2967         * BufferView.C (fitLockedInsetCursor): remove
2968         * cursor.[Ch] (getDim): add
2969         * text.C (getRowNearY): add faster version
2970         * text3.C: remove some update calls
2971
2972 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2973
2974         * LaTeXFeatures.C:
2975         * LyXAction.C:
2976         * MenuBackend.C:
2977         * MenuBackend.h:
2978         * dispatchresult.h:
2979         * factory.C:
2980         * lfuns.h:
2981         * lyxfunc.C:
2982         * lyxtextclass.C:
2983         * lyxtextclass.h:
2984         * text3.C: The Character Style /XML short element patch.
2985
2986 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2987
2988         * text3.C:
2989         * factory.C: Small step to solving 'unable to insert some insets'
2990         problem
2991
2992 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2993
2994         * cursor.[Ch] (updatePos): new function for updating the y
2995         position of the tip inset
2996         * bufferview_funcs.C (put_selection_at):
2997         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2998
2999 2003-11-11  André Pönitz  <poenitz@gmx.net>
3000
3001         * text.C: remove big comment on invalid Paragraph pointers as it is
3002         not valid anymore
3003
3004 2003-11-11  André Pönitz  <poenitz@gmx.net>
3005
3006         * text_funcs.[Ch]: merge with ...
3007
3008         * text.C: ... this
3009
3010         * lyxtext.h:
3011         * text2.C:
3012         * text3.C: adjust
3013
3014         * Makefile.am: remove text_funcs.[Ch]
3015
3016 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3017
3018         * cursor.C (getPos): return absolute cached y coord
3019
3020         * BufferView_pimpl.C (fitCursor): new simplistic code
3021         (workAreaDispatch): add a fitCursor call
3022
3023 2003-11-10  André Pönitz  <poenitz@gmx.net>
3024
3025         * BufferView.[Ch]:
3026         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3027
3028 2003-11-10  André Pönitz  <poenitz@gmx.net>
3029
3030         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3031         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3032         indicate that the cursor needs to leave an inset
3033
3034         * lyxtext.h: remove inset locking
3035
3036         * cursor.[Ch]: re-implement functionality provided by inset locking
3037
3038         * BufferView.[Ch]:
3039         * BufferView_pimpl.[Ch]:
3040         * LyXAction.C:
3041         * bufferview_funcs.[Ch]:
3042         * factory.C:
3043         * funcrequest.[Ch]:
3044         * iterators.C:
3045         * lyx_cb.C:
3046         * lyxfind.C:
3047         * lyxfunc.C:
3048         * text.C:
3049         * text2.C:
3050         * text3.C:
3051         * undo.C: adjust
3052
3053 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3054
3055         * PosIterator.[Ch]: replace the stack with a vector, add inset
3056         accesor
3057         * iterators.[C]: adjust
3058
3059 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3060
3061         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3062         replaced
3063         * paragraph_funcs.C (readParToken): put the correct id in the
3064         error item, not the id of the top paragraph
3065
3066 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3067
3068         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3069         * bufferview_funcs.C (put_selection_at): use the above
3070
3071 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3072
3073         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3074
3075 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3076
3077         * output_linuxdoc.h:
3078         * output_plaintext.h:
3079         * output.h:
3080         * output_docbook.h: add #include statements
3081
3082 2003-11-05  José Matos  <jamatos@lyx.org>
3083
3084         * output_docbook.[Ch]:
3085         * output_latex.[Ch]:
3086         * output_linuxdoc.[Ch]:
3087         * output_plaintext.[Ch]: New files for output formats.
3088         * output.[Ch]: New file for helper functions.
3089
3090         * buffer.[Ch]:
3091         * paragraph_funcs.[Ch]: output functions moved to new files.
3092
3093         * outputparams.h: rename of latexrunparams.h
3094
3095         * LaTeX.[Ch]:
3096         * buffer.[Ch]:
3097         * bufferlist.[Ch]:
3098         * converter.[Ch]:
3099         * exporter.C:
3100         * paragraph.[Ch]:
3101         * paragraph_funcs.[Ch]:
3102         * paragraph_pimpl.[Ch]:
3103         * tabular.[Ch]: rename ascii to plaintext
3104         and LatexRunParams to OutputParams.
3105
3106 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3107
3108         * iterators.[Ch] (text): require bv argument
3109         * undo.C (recordUndo):
3110         * lyxfunc.C (dispatch):
3111         * bufferview_funcs.C (put_selection_at): adjust
3112
3113 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3114
3115         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3116
3117 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3118
3119         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3120         nestings
3121
3122 2003-11-04  André Pönitz  <poenitz@gmx.net>
3123
3124         * cursor.[Ch]: restructure
3125
3126         * BufferView.[Ch]:
3127         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3128
3129         * iterators.[Ch] (asCursor): remove
3130
3131         * lfuns.h: remove LFUN_INSET_EDIT
3132
3133         * lyxfunc.C:
3134         * tabular.C:
3135         * text.C:
3136         * text2.C:
3137         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3138
3139 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3140
3141         * lyxfind.[Ch]: complete overhaul
3142         * BufferView_pimpl.C:
3143         * lyxfunc.C: adjust
3144         * paragraph.[Ch] (insert): add
3145
3146 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3147
3148         * BufferView.[Ch]:
3149         * lyxtext.h:
3150         * text.C: remove dead spellcheck code
3151
3152 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * dispatchresult.h: add a val setter
3155
3156         * cursor.C (dispatch): use a tempvar for data_[i]
3157
3158 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3159
3160         * PosIterator.[Ch]: compile fix
3161
3162 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * text.C (cursorPar): deactivate the cursor cache
3165
3166 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3167
3168         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3169
3170 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3171
3172         * text3.C (dispatch): adjust for new DisptchResult semantics.
3173
3174         * lyxfunc.C (dispatch): handle update when return from
3175         Cursor::dispatch, adjust for new DispatchResult semantics.
3176
3177         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3178         DispatchResult(true) mean to not update. Add class functions for
3179         setting dispatched and update, as well as reading.
3180
3181         * cursor.C (dispatch): don't handle update here
3182
3183 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3184
3185         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3186         * trans_mgr.C: adjust
3187
3188         * paragraph_funcs.C (readParToken): exception safety
3189
3190         * lyxvc.h: store the vcs pointer in a scoped_ptr
3191         * lyxvc.C: adjust
3192
3193         * lyxsocket.C (serverCallback): exception safety
3194
3195         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3196
3197         * ispell.C (clone): make it return a auto_ptr
3198
3199         * factory.C (createInset): exception safety
3200         (readInset): exception safety
3201
3202         * bufferlist.C (newBuffer): exception safety
3203
3204         * Thesaurus.C (Thesaurus): use initialization for aik_
3205
3206         * MenuBackend.C (expandToc): exception safety.
3207
3208 2003-11-03  André Pönitz  <poenitz@gmx.net>
3209
3210         * buffer.C:
3211         * buffer.h:
3212         * bufferview_funcs.C: remove getInsetFromId()
3213
3214         * lyxcursor.[Ch]:
3215         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3216
3217         * lyxfunc.C:
3218         * text2.C:
3219         * text3.C: adjust
3220
3221 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3222
3223         * PosIterator.C (distance, advance): new
3224         * bufferview_funcs.[Ch] (put_selection_at): new
3225         * iterators.[Ch] (lockPath): new
3226
3227 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * iterators.[Ch] (asPosIterator): added
3230         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3231         * PosIterator.[Ch]: added
3232
3233 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3234
3235         * text3.C:
3236         * lyxfunc.C:
3237         * cursor.C (dispatch):
3238         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3239
3240         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3241         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3242         contructor, add a class function dispatched. Remove operator>=
3243
3244 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3245
3246         * debug.C: only use the default constructor for debugstream
3247         (lyxerr) here.
3248
3249         * main.C (main): include debug.h and setup the lyxerr streambuf
3250         here.
3251
3252 2003-10-31  José Matos  <jamatos@lyx.org>
3253
3254         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3255
3256         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3257         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3258         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3259         * paragraph_pimpl.C (simpleTeXSpecialC):
3260         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3261         add LatexRunParams argument.
3262
3263         * exporter.C (Export): change call accordingly.
3264
3265         * latexrunparams.h: add new member to take care of the other backends.
3266 2003-10-30  José Matos  <jamatos@lyx.org>
3267
3268         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3269         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3270         factorise code for paragraph output.
3271         * buffer.[Ch]:
3272         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3273         move functions.
3274
3275 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * text3.C (dispatch):
3278         * lyxfunc.C (dispatch):
3279         * cursor.C (dispatch):
3280         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3281
3282         * dispatchresult.h: make the dispatch_result_t ctor explicit
3283
3284 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3285
3286         * sgml.[Ch]:
3287         * buffer.C: small refactoring of docbook stuff
3288
3289 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3292         meaning.
3293
3294 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3295
3296         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3297         operator dispatch_result_t, and operators for == != and >=
3298
3299         * cursor.C (dispatch): adjust for operator dispatch_result_t
3300         removal. comment out call to update
3301
3302         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3303
3304 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * text3.C:
3307         * text2.C:
3308         * text.C:
3309         * lyxtext.h:
3310         * lyxfunc.C:
3311         * cursor.C:
3312         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3313         (dispatch):
3314
3315         * dispatchresult.h: new file, DispatchResult broken out of
3316         insets/insetbase.h
3317
3318         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3319
3320 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3321
3322         * text.C (rowBreakPoint): put a hack inside #if 0
3323
3324 2003-10-28  André Pönitz  <poenitz@gmx.net>
3325
3326         * lyxtext.h:
3327         * metricsinfo.C:
3328         * paragraph_funcs.C:
3329         * rowpainter.C:
3330         * text.C:
3331         * text2.C: general cleanup (lots of small stuff)
3332
3333 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3334
3335         * text2.C (cursorEnd): simple fix to the "end key goes to one
3336         before the end on last row" bug
3337
3338 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3339
3340         * text.C (backspace): fix the "zombie characters"
3341
3342 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3343
3344         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3345
3346 2003-10-27  André Pönitz  <poenitz@gmx.net>
3347
3348         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3349
3350         * factory.C: handle new InsetPagebreak, InsetLine
3351
3352         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3353         and move handling into new InsetPagebreak, InsetLine
3354
3355         * BufferView_pimpl.C:
3356         * LyXAction.C:
3357         * ParagraphParameters.C:
3358         * ParameterStruct.h:
3359         * lyxfunc.C:
3360         * lyxtext.h:
3361         * paragraph.C:
3362         * paragraph.h:
3363         * paragraph_funcs.C:
3364         * paragraph_pimpl.C:
3365         * rowpainter.C:
3366         * text.C:
3367         * text2.C:
3368         * text3.C: adjust
3369
3370 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3371
3372         * text.C:
3373         * lyxrow_funcs.[Ch]:
3374         * Bidi.C:
3375         * paragraph.C:
3376         * lyxtext.h:
3377         * rowpainter.C:
3378         * text2.C:
3379         * text3.C: remove lastPos uses in favour of Row::endpos
3380
3381 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3382
3383         * undo.C (performUndoOrRedo): fix two crashes by setting a
3384         cursor by hand and reordering some calls. Use bv->lockInset instead
3385         of inset->edit because the latter loses cursor information
3386
3387 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3388
3389         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3390         by Martin
3391         (rowBreakPoint): fix width. change point to point + 1.
3392         Add a missing check.
3393
3394 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3395
3396         * MenuBackend.C:
3397         * lyxfunc.C: fix (at least partly) the problems
3398         with the Nav menu and headers inside branch insets
3399         reported by Kayvan
3400
3401 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3402
3403         * paragraph.C (getChar): add strong asserts
3404
3405         * lyxrow_funcs.C (lastPos): remove hideous hack
3406
3407         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3408         (fill): adjust to that (avoid an infinite loop)
3409
3410 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3411
3412         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3413
3414 2003-10-23  André Pönitz  <poenitz@gmx.net>
3415
3416         * RowList_fwd.h: change list<> to vector<> to gain speed
3417         after suggestion from Alfredo
3418
3419 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3420
3421         * lyxtext.h: move the bidi stuff from here...
3422         * text.C: and here
3423         * text2.C: and here
3424         * Bidi.[Ch]: ... to here
3425
3426 2003-10-23  André Pönitz  <poenitz@gmx.net>
3427
3428         * lyxtext.h:
3429         * text.C (isLastRow, isFirstRow): new functions
3430
3431         * paragraph.h: new width cache member
3432
3433         * rowpainter.C: replace RowList::iterator with Row & where possible
3434
3435         * lyxfunc.C: replace several view()->text with a single call
3436
3437         * toc.C: fix 'unused' warning
3438
3439 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3442         when woring with stream::pos_type
3443         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3444
3445 2003-10-22  André Pönitz  <poenitz@gmx.net>
3446
3447         * lyxtext.h:
3448         * text.C: use Row & instead of RowList::iterator
3449
3450         * lyxrow.h: rename end() to endpos()
3451
3452         * rowpainter.C:
3453         * text.C:
3454         * text2.C: adjust
3455
3456 2003-10-22  Angus Leeming  <leeming@lyx.org>
3457
3458         * buffer.[Ch] (fully_loaded): new member function, returning true
3459         only when the file has been loaded fully.
3460         Used to prevent the premature generation of previews and by the
3461         citation inset to prevent computation of the natbib-style label.
3462
3463         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3464         templates are all set up.
3465
3466         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3467
3468 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3469
3470         * text.C: fixed an "oops" in the "is a bit silly"
3471         bug fix
3472
3473 2003-10-21  André Pönitz  <poenitz@gmx.net>
3474
3475         * FuncStatus.[Ch]: small stuff, whitespace
3476
3477         * lyxfont.[Ch]: operator<<() for debug reasons
3478
3479         * lyxfunc.C:
3480         * lyxrow_funcs.C:
3481         * lyxtext.h: whitespace, spelling
3482
3483         * paragraph.C: naming of variables
3484
3485         * text.C:
3486         * text2.C: small stuff
3487
3488
3489 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3490
3491         * text.C: (1) finish off the inset display() work;
3492         (2) fix the "is a bit silly" bug (accessing char
3493         past end of par).
3494
3495 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3496
3497         * text.C: re-introduce display() for insets, fixing the
3498         various bugs (stretch of line above, math inset
3499         positioning, ...)
3500
3501 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3502
3503         * text.C (rightMargin): remove spurious semicolon
3504
3505         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3506         1415)
3507
3508 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3509
3510         * text3.C: fix one crash due to wrong cursor def
3511
3512 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3513
3514         * vc-backend.C (scanMaster): make the regex static
3515
3516         * LaTeX.C (scanAuxFile): make the regexs static
3517
3518         * text3.C (doInsertInset, dispatch, dispatch):
3519         * text2.C (cursorUp, cursorDown):
3520         * text.C (selectNextWordToSpellcheck):
3521         * BufferView_pimpl.C (dispatch):
3522         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3523
3524 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3525
3526         * lyxsocket.C: include <cerrno>
3527
3528 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3529
3530         * lyxfunc.C (dispatch): remove textcache stuff
3531
3532         * bufferlist.C (release): remove textcache stuff
3533         (closeAll): ditto
3534
3535         * TextCache.C: delete file
3536         * TextCache.h: delete file
3537
3538         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3539
3540         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3541         delete of the bv_->text.
3542         (resizeCurrentBuffer): remove texcache stuff
3543         (workAreaResize): ditto
3544
3545 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3546
3547         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3548         action.
3549
3550 2003-10-16  André Pönitz  <poenitz@gmx.net>
3551
3552         * lyxrow.[Ch]:
3553         * paragraph.h:
3554         * rowpainter.C:
3555         * text.C:
3556         * text2.C:
3557         * text3.C: speed up by storing y positions per paragraph plus per-row
3558         offset instead of having a 'full' y position in the row.
3559
3560 2003-10-15  André Pönitz  <poenitz@gmx.net>
3561
3562         * iterators.[Ch]:
3563         * iterators.[Ch]:
3564         * undo.[Ch]: make undo aware of inner insets
3565
3566 2003-10-14  Angus Leeming  <leeming@lyx.org>
3567
3568         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3569         static member functions LyX::ref() and LyX::cref.
3570         (lastfiles): new accessor functions for the new lastfiles_ member var.
3571         (addLyXView, views_): add a new LyXView to the list of views_.
3572         (updateInset): loop over all LyXViews to call their own updateInset
3573         member function, returning a pointer to the Buffer owning the inset.
3574
3575         * BufferView_pimpl.C (loadLyXFile):
3576         * MenuBackend.C (expandLastfiles):
3577         * bufferlist.C (MenuWrite, QuitLyX):
3578         lastfiles is no longer a global variable.
3579         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3580
3581         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3582         static function. Access through LyX::cref().emergencyCleanup().
3583
3584 2003-10-14  André Pönitz  <poenitz@gmx.net>
3585
3586         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3587
3588         * undo.[Ch]: restoring part of 'undo in insets'
3589
3590         * Makefile.am:
3591         * undo_funcs.[Ch]: merge with undo.[Ch]
3592
3593         * tabular.C: small cleansing stuff
3594
3595 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3596
3597         * paragraph_funcs.C (readParToken): report unknown insets as error
3598         boxes. Use the outer paragraph as location (also for unknown
3599         tokens).
3600
3601         * factory.C (readInset): do not abort on reading an unknown inset.
3602         Eat it and return 0.
3603
3604 2003-10-13  Angus Leeming  <leeming@lyx.org>
3605
3606         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3607
3608         * lyxrc.C: displayTranslator is now a function,
3609         declared in GraphicsTypes.h.
3610
3611 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3612
3613         * format.C: new placeholder $$a to pass the socket address.
3614
3615         * bufferlist.[Ch]: new function getBufferFromTmp.
3616
3617         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3618           files in the temporary dir.
3619
3620 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3621
3622         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3623
3624         * Makefile.am: add lyxsocket.[Ch].
3625
3626         * lyx_main.C (error_handler): handle SIGPIPE.
3627
3628 2003-10-13  André Pönitz  <poenitz@gmx.net>
3629
3630         * BufferView_pimpl.C:
3631         * lyxtext.h:
3632         * text.C:
3633         * text2.C:
3634         * text3.C:
3635         * undo_funcs.[Ch]: use paroffset_type instead of
3636           ParagraphList::iterators to prevent multiple conversion
3637           (and get a more robust interface)
3638
3639 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3642         * lyxtext.h: ditto
3643         * text3.C (dispatch): ditto
3644
3645 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3646
3647         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3648         move the onlyfile, use onlyfile instead of foundfile in a couple
3649         of places.
3650
3651         * DepTable.C (update): flush the error stream a bit more
3652
3653 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * lyxserver.C (callback): adjust
3656
3657         * lyxfunc.C (getStatus): add a missing brace in commented code
3658         (ensureBufferClean): reindent
3659         (dispatch): delete version taking a string
3660
3661 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3662
3663         * LaTeX.C (deplog): move found file handlig from here...
3664         (handleFoundFile): .. to new function here.
3665         (deplog): make sure to discover several files mentioned on the
3666         same log line.
3667
3668 2003-10-10  André Pönitz  <poenitz@gmx.net>
3669
3670         * lyxfunc.C:
3671         * lyxtext.h:
3672         * tabular.C:
3673         * text.C:
3674         * text2.C:
3675         * text3.C: fix some of the tabular crashes
3676
3677 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3678
3679         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3680
3681         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3682
3683 2003-10-09  André Pönitz  <poenitz@gmx.net>
3684
3685         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3686
3687         * BufferView.C:
3688         * BufferView_pimpl.C:
3689         * bufferview_funcs.C:
3690         * lyx_cb.C:
3691         * lyxcursor.C:
3692         * lyxfind.C:
3693         * lyxfunc.C:
3694         * lyxtext.h:
3695         * text.C:
3696         * text2.C:
3697         * text3.C:
3698         * text_funcs.[Ch]:
3699         * textcursor.[Ch]:
3700         * undo_funcs.C: adjust
3701
3702 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3703
3704         * text2.C (incrementItemDepth): new function, use a backtracking
3705         algorithm to discover the correct item depth.
3706         (resetEnumCounterIfNeeded): new function, use a backtracking
3707         algorithm to discover if counter reset is needed.
3708         (setCounter): use them. Simplify a bit. Add different labels for
3709         different item depths for itemize.
3710
3711         * paragraph.C (Paragraph): remove initialization of enumdepth
3712         (operator=): ditto
3713
3714         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3715         enumerate and itemize. Change the type of itemdepth to signed char.
3716
3717 2003-10-08  André Pönitz  <poenitz@gmx.net>
3718
3719         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3720           thing assignable.
3721         * text.C:
3722         * text2.C: adjust
3723
3724         * tabular.[Ch]: fix crash after 'row-insert'
3725
3726 2003-10-08  Angus Leeming  <leeming@lyx.org>
3727
3728         Fix doxygen warnings.
3729
3730         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3731         Remove CutAndPaste:: prefix from header file declaration.
3732
3733         * LColor.h (fill): remove LColor:: prefix from declaration.
3734
3735         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3736         use lyx::depth_type rather than Paragraph::depth_type so that
3737         header file and .C file match.
3738
3739         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3740
3741         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3742         * aspell.C: \file aspell_local.C -> \file aspell.C
3743         * gettext.C: \file gettext.C -> \file src/gettext.C
3744         * gettext.h: \file gettext.h -> \file src/gettext.h
3745         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3746         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3747         * text.C: \file text.C -> \file src/text.C
3748
3749         * toc.C: move comment so that doxygen is not confused.
3750
3751 2003-10-07  Angus Leeming  <leeming@lyx.org>
3752
3753         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3754
3755 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3756
3757         * aspell.C:
3758         * aspell_local.h: add forgotten std::string's.
3759
3760 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3761
3762         * LaTeXFeatures.C:
3763         * LyXAction.C:
3764         * factory.C:
3765         * lfuns.h:
3766         * lyxfunc.C:
3767         * text3.C: The Box patch. Fancybox support, minipage, parbox
3768
3769 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3770
3771         * CutAndPaste.h:
3772         * DepTable.h:
3773         * FloatList.h:
3774         * LaTeXFeatures.h:
3775         * ParagraphParameters.h:
3776         * TextCache.h:
3777         * Thesaurus.h:
3778         * bufferlist.h:
3779         * exporter.h:
3780         * importer.h:
3781         * lastfiles.h:
3782         * lyxfind.h:
3783         * lyxfont.h:
3784         * lyxlex.h:
3785         * lyxtextclasslist.h:
3786         * messages.h:
3787         * paragraph.h:
3788         * paragraph_pimpl.C:
3789         * textcursor.h: add <string> and other small fixes to make Lars'
3790         std::string patch compile with STLport.
3791
3792 2003-10-06  Angus Leeming  <leeming@lyx.org>
3793
3794         * LColor.h: Add missing #include <string>.
3795
3796 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * All most all file in all subdirs: Make <string> be the prefered
3799         way of getting to std::string, add using declarations.
3800
3801 2003-10-06  André Pönitz  <poenitz@gmx.net>
3802
3803         * metricsinfo.C: initialize LyXFont before changing attribute.
3804         (fixes the 'math in \emph is upright' bug)
3805
3806 2003-10-06  André Pönitz  <poenitz@gmx.net>
3807
3808         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3809
3810 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3811
3812         * graph.C:
3813         * paragraph_pimpl.C: Small fixes to build using STLport
3814
3815 2003-10-02  André Pönitz  <poenitz@gmx.net>
3816
3817         * lyxfunc.C:
3818         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3819
3820 2003-10-01  André Pönitz  <poenitz@gmx.net>
3821
3822         * factory.C: assert early
3823
3824 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * lyx_main.C: remove the global debug object
3827
3828         * debug.h: adjust for new debugstream
3829
3830         * debug.C: adjust for new debugstream and keep the global debug
3831         object here.
3832
3833 2003-09-22  Angus Leeming  <leeming@lyx.org>
3834
3835         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3836         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3837         an incomplete class LyXFont.
3838
3839 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3840
3841         * factory.C: bug fix in branches
3842
3843 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3844
3845         * lyxfunc.C (processKeySym): adjust
3846         (dispatch): adjust
3847         (dispatch): change arg name from ev to func, adjust
3848         (sendDispatchMessage): ditto
3849
3850         * lyx_main.C (defaultKeyBindings): adjust keybindings
3851         (deadKeyBindings): ditto
3852
3853         * kbsequence.C (addkey): return a FuncRequest
3854
3855         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3856
3857         * kbmap.C (bind): take a FuncRequest as arg, adjust
3858         (read): adjust
3859         (lookup): adjust
3860         (defkey): change to take a FuncRequest as arg, adjust
3861         (findbinding): take a FuncRequest as arg, adjust.
3862
3863         * funcrequest.h (operator=): added
3864
3865         * funcrequest.C (FuncRequest): default kb_action changed from
3866         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3867
3868         * buffer.C (dispatch): simplify
3869         (dispatch): adjust to take a FuncRequest as arg, adjust
3870
3871         * boost.C (assertion_failed): change assertion message slightly
3872
3873         * ToolbarBackend.C (read): simplify
3874
3875         * MenuBackend.C (binding): adjust call to findbinding, add a
3876         message if no binding is found.
3877         (read): simplify
3878         (expandToc): correct by adding a empty FuncRequest
3879
3880         * LyXAction.C: include <boost/assert.hpp>
3881         (isPseudoAction): delete function
3882         (LookupFunc): change name to...
3883         (lookupFunc): this. change return type to FuncRequest.
3884         (getActionName): take kb_action as arg, simplify
3885         (funcHasFlag): add an assert, simplify.
3886
3887 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * toc.C (action): return a FuncRequest, simplify
3890
3891         * lyxfunc.C (processKeySym): adjust
3892         (getStatus): delete version that takes an int.
3893         (getStatus): adjust
3894         (dispatch): delete version that takes action as int
3895         (dispatch): adjust
3896         (sendDispatchMessage): simplify and adjust
3897
3898         * funcrequest.C (getArg): take unsigned int as arg
3899
3900         * ToolbarBackend.C (read): adjust
3901         (add): delete version that takes func as a string.
3902         (getIton): take a FuncRequest as arg
3903
3904         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3905         action.
3906
3907         * MenuBackend.C (MenuItem): add a new construct that only takes a
3908         Kind, simplify the constructor use for submenus.
3909         (add): adjust
3910         (expandLastfiles): adjust
3911         (expandDocuments): adjust
3912         (expandFormats): adjust
3913         (expandFloatListInsert): adjust
3914         (expandFloatInsert): adjust
3915         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3916
3917         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3918         Remove class variables lyx_pseudo_map and lyx_arg_map
3919
3920         * LyXAction.C (searchActionArg): delete function
3921         (getPseudoAction): delete function
3922         (retrieveActionArg): delete function
3923         (LookupFunc): make it return kb_action, simplify.
3924         (getActionName): simplify
3925
3926         * factory.C (createInset): fix new bug
3927
3928 2003-09-19  Angus Leeming  <leeming@lyx.org>
3929
3930         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3931         masterFilename_ parameter in the include inset.
3932
3933         * factory.C (createInset): changes due to the changes to InsetInclude.
3934
3935 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3936
3937         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3938
3939 2003-09-18  Angus Leeming  <leeming@lyx.org>
3940
3941         * buffer.C:
3942         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3943         Inset::fillWithBibKeys.
3944         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3945
3946 2003-09-18  Angus Leeming  <leeming@lyx.org>
3947
3948         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3949         variables.
3950         (ctor): pass and store a 'Buffer const &'
3951         (buffer): new member function.
3952
3953         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3954         '*this' to the LaTeXFeatures ctor.
3955
3956 2003-09-18  Angus Leeming  <leeming@lyx.org>
3957
3958         * LColor.h:
3959         * lyxfont.C:
3960         * lyxfont.h:
3961         * lyxtext.h:
3962         * text.C: rename EnumLColor as LColor_color.
3963
3964 2003-09-18  Angus Leeming  <leeming@lyx.org>
3965
3966         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3967         remove #include "insets/insetbase.h" from cursor.h.
3968
3969 2003-09-18  Angus Leeming  <leeming@lyx.org>
3970
3971         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3972         InsetOld_code to remove #include "inset.h".
3973
3974         * iterators.C: add #include "insets/inset.h"
3975
3976 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3977
3978         * BufferView.C: remove more locking stuff that apparently doesn't
3979         do anything sensible.
3980
3981 2003-09-16  André Pönitz  <poenitz@gmx.net>
3982
3983         * paragraph.[Ch]:
3984         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3985           performance boost.
3986
3987 2003-09-16  Angus Leeming  <leeming@lyx.org>
3988
3989         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3990
3991         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3992         arg/return type.
3993
3994         * paragraph.h: remove #include "lyxfont.h". Forward declare
3995         LyXFont_size.
3996
3997 2003-09-16  Angus Leeming  <leeming@lyx.org>
3998
3999         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4000         of support/textutils.h.
4001         (isWord): move the contents of support/textutils.h's IsWordChar here.
4002
4003         * buffer.C:
4004         * lyxfind.C:
4005         * rowpainter.C:
4006         * text.C:
4007         * text2.C: add #include "paragraph.h".
4008
4009         * rowpainter.C:
4010         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4011
4012 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4013
4014         * main.C:
4015         * lyx_main.C:
4016         * lyx_cb.C:
4017         * buffer.C:
4018         * LaTeX.C: use namespace alias for lyx::support::os
4019
4020 2003-09-16  Angus Leeming  <leeming@lyx.org>
4021
4022         * bufferparams.C:
4023         * bufferview_funcs.C:
4024         * factory.C:
4025         * lyxfunc.C:
4026         * paragraph_pimpl.C:
4027         * rowpainter.C:
4028         * text.C: add #include "LColor.h".
4029
4030 2003-09-16  Angus Leeming  <leeming@lyx.org>
4031
4032         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4033         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4034         return LyXFont &.
4035         Store the FontBits::color variable as an int rather than as an
4036         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4037         file.
4038
4039         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4040         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4041         string calls together.
4042
4043         * lyxrc.C: add #include "LColor.h".
4044
4045 2003-09-15  Angus Leeming  <leeming@lyx.org>
4046
4047         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4048         a cow_ptr.
4049
4050 2003-09-15  Angus Leeming  <leeming@lyx.org>
4051
4052         * LColor.h: add an EnumLColor wrapper for LColor::color.
4053
4054         * lyxfont.[Ch] (color, setColor, realColor):
4055         * lyxtext.h, text.C (backgroundColor):
4056         pass EnumLColor args to/from the functions, rather than LColor::color
4057         ones.
4058
4059         * lyxfont.h:
4060         * lyxtext.h: forward declare EnumLColor.
4061
4062         * lyx_main.C: add #include "LColor.h".
4063
4064 2003-09-15  Angus Leeming  <leeming@lyx.org>
4065
4066         * .cvsignore: add lyx-gtk.
4067
4068 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * Chktex.C
4071         * LaTeX.C
4072         * LaTeXFeatures.C
4073         * ParagraphParameters.C
4074         * Spacing.C
4075         * buffer.C
4076         * bufferparams.C
4077         * bufferview_funcs.C
4078         * chset.C
4079         * counters.C
4080         * funcrequest.C
4081         * lyxfont.C
4082         * lyxgluelength.C
4083         * lyxlength.C
4084         * paragraph.C
4085         * paragraph_funcs.C
4086         * text3.C
4087         * vc-backend.C: remove usage of STRCONV
4088
4089 2003-09-15  Angus Leeming  <leeming@lyx.org>
4090
4091         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4092         explicitly define the color passed to the painter.
4093
4094 2003-09-15  Angus Leeming  <leeming@lyx.org>
4095
4096         * bufferparams.C (BufferParams): reorder member initializers to avoid
4097         compiler warning.
4098
4099 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4100
4101         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4102         * text.C (updateRowPositions): remove an unusual nop
4103
4104 2003-09-12  André Pönitz  <poenitz@gmx.net>
4105
4106         * BufferView_pimpl.C:
4107         * Bullet.C:
4108         * layout.h:
4109         * lyxfunc.C:
4110         * lyxlayout.[Ch]:
4111         * lyxtextclass.C:
4112         * rowpainter.C:
4113         * text.C:
4114         * text2.C:
4115         * Counters.[Ch]: finish the 'automatic counters' job
4116
4117 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4118
4119         * aspell.C: include <boost/assert.cpp> (compile fix)
4120
4121 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4122
4123         * boost.C (assertion_failed): use lyx::support::abort instead of
4124         assert.
4125
4126 2003-09-10  Angus Leeming  <leeming@lyx.org>
4127
4128         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4129         with their _fwd progeny.
4130
4131 2003-09-09  Angus Leeming  <leeming@lyx.org>
4132
4133         134 files throughtout the source tree: replace 'using namespace abc;'
4134         directives with the appropriate 'using abc::xyz;' declarations.
4135
4136 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4137
4138         * boost.C (emergencyCleanup): moved here from LAssert.c
4139         (assertion_failed): new function, called by BOOST_ASSERT
4140
4141         * several files: change Assert to BOOST_ASSERT
4142
4143 2003-09-09  Angus Leeming  <leeming@lyx.org>
4144
4145         * buffer.[Ch]: Add an Impl class and move Buffer's member
4146         variables into it. As a result move several header files out of
4147         buffer.h.
4148
4149         Add header files to lots of .C files all over the tree as a result.
4150
4151 2003-09-09  Angus Leeming  <leeming@lyx.org>
4152
4153         * buffer.[Ch]: make Buffer's member variables private. Add
4154         accessor functions.
4155
4156         Lots of changes all over the tree as a result.
4157
4158 2003-09-08  Angus Leeming  <leeming@lyx.org>
4159
4160         * graph.C: #include <config.h>.
4161
4162 2003-09-08  Angus Leeming  <leeming@lyx.org>
4163
4164         * BranchList.C:
4165         * BufferView.C:
4166         * BufferView_pimpl.C:
4167         * CutAndPaste.C:
4168         * DepTable.C:
4169         * LaTeX.C:
4170         * LaTeXFeatures.C:
4171         * LyXAction.C:
4172         * MenuBackend.C:
4173         * TextCache.C:
4174         * aspell.C:
4175         * buffer.C:
4176         * bufferlist.C:
4177         * changes.C:
4178         * chset.C:
4179         * converter.C:
4180         * counters.C:
4181         * debug.C:
4182         * graph.C:
4183         * ispell.C:
4184         * lyx_cb.C:
4185         * lyxfind.C:
4186         * lyxfunc.C:
4187         * lyxlex_pimpl.C:
4188         * lyxrc.C:
4189         * lyxrow.C:
4190         * paragraph.C:
4191         * rowpainter.C:
4192         * texrow.C:
4193         * text.C:
4194         * text2.C:
4195         * toc.C: remove redundant using directives.
4196
4197 2003-09-07  Angus Leeming  <leeming@lyx.org>
4198
4199         * LaTeXFeatures.h: remove #include "support/types.h".
4200         * ToolbarBackend.h: remove #include <algorithm>.
4201         * changes.h: remove #include <ctime>.
4202         * debug.h: remove #include <iosfwd>.
4203         * graph.h: remove #include "support/std_string.h".
4204         * lyx_main.h: remove #include <csignal>.
4205         * lyxlex_pimpl.h: remove #include <fstream>.
4206         * sgml.h: remove #include <algorithm>, <utility>.
4207         * toc.h: remove #include "support/std_ostream.h".
4208         Add #include <iosfwd>.
4209
4210 2003-09-07  Angus Leeming  <leeming@lyx.org>
4211
4212         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4213
4214         * converter.h: forward declare LatexRunParams.
4215         * encoding.h: remove #include "lyxrc.h".
4216         * lyxtext.h: remove #include "LColor.h".
4217         * lyxtextclass.h: remove #include "support/types.h".
4218         * trans.h: remove #include "tex-accent.h".
4219         * trans_mgr.h: remove #include "tex-accent.h".
4220         * insets/inset.h: remove #include "support/types.h", <vector>.
4221         * insets/insetcollapsable.h: remove #include "LColor.h".
4222         * insets/insetinclude.h: remove #include "dimension.h".
4223         * insets/insetlatexaccent.h: remove #include "dimension.h".
4224         * insets/insetoptarg.h:: remove #include "insettext.h".
4225         * insets/insettext.h: remove #include "dimension.h",
4226         <boost/shared_ptr.hpp>
4227
4228         * insets/renderers.h: add #include "dimension.h".
4229         * insets/updatableinset.h: add #include "support/types.h".
4230
4231         * many .C files: Associated changes.
4232
4233 2003-09-06  Angus Leeming  <leeming@lyx.org>
4234
4235         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4236         one, inside testInvariant.
4237
4238         * PrinterParams.C: new file.
4239         * PrinterParams.[Ch]: move the function bodies out of line.
4240
4241 2003-09-06  Angus Leeming  <leeming@lyx.org>
4242
4243         * ParagraphParameters.h: forward declare ParameterStruct rather than
4244         including its header file.
4245         (depth): moved out-of-line.
4246
4247 2003-09-06  Angus Leeming  <leeming@lyx.org>
4248
4249         * BufferView_pimpl.h:
4250         * kbmap.h:
4251         * kbsequence.h:
4252         * lyxfunc.h: forward declare LyXKeySym rather than
4253         #include "frontends/LyXKeySym.h".
4254
4255         * BufferView_pimpl.C:
4256         * kbmap.C:
4257         * kbsequence.C:
4258         * lyxfunc.C: associated changes.
4259
4260 2003-09-06  Angus Leeming  <leeming@lyx.org>
4261
4262         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4263         As a result, can remove the #include "insets/inset.h" from BufferView.h
4264
4265 2003-09-06  Angus Leeming  <leeming@lyx.org>
4266
4267         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4268         As a result, can remove the #include "insets/inset.h" from BufferView.h
4269
4270 2003-09-06  Angus Leeming  <leeming@lyx.org>
4271
4272         * buffer_funcs.C:
4273         * buffer.h:
4274         * bufferlist.C:
4275         * BufferView.C:
4276         * bufferview_funcs.C:
4277         * BufferView_pimpl.C:
4278         * CutAndPaste.C:
4279         * lyx_cb.C:
4280         * lyxfunc.C:
4281         * paragraph.h:
4282         * ParagraphParameters.C:
4283         * tabular.C:
4284         * text3.C:
4285         * toc.C:
4286         * undo_funcs.C:
4287         * frontends/controllers/ControlDocument.C:
4288         * insets/insetcaption.C: rearrange the #includes into some sort of
4289         coherent order.
4290
4291         * buffer.h: remove #includes ErrorList.h, undo.h
4292
4293 2003-09-06  Angus Leeming  <leeming@lyx.org>
4294
4295         * support/types.h: add a 'depth_type' typedef, used to store the
4296         nesting depth of a paragraph.
4297
4298         * paragraph.h:
4299         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4300         defining explicitly.
4301
4302         * buffer.h:
4303         * paragraph_funcs.h:
4304         * ParagraphParameters.h:
4305         * sgml.h: use lyx::depth_type rather than Paragraph or
4306         ParameterStruct's depth_type.
4307
4308         * buffer.h
4309         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4310
4311         * BufferView.C:
4312         * BufferView_pimpl.C:
4313         * CutAndPaste.C:
4314         * ParagraphParameters.C:
4315         * buffer_funcs.C:
4316         * bufferlist.C:
4317         * bufferview_funcs.C:
4318         * lyx_cb.C:
4319         * lyxfunc.C:
4320         * tabular.C:
4321         * text3.C:
4322         * toc.C:
4323         * undo_funcs.C:
4324         * frontends/LyXView.C:
4325         * frontends/controllers/ControlDocument.C:
4326         * frontends/controllers/ControlErrorList.C:
4327         * insets/insetbibitem.C:
4328         * insets/insetbranch.C:
4329         * insets/insetcaption.C:
4330         * insets/insetcollapsable.C:
4331         * insets/insetenv.C:
4332         * insets/insetert.C:
4333         * insets/insetfloat.C:
4334         * insets/insetfoot.C:
4335         * insets/insetfootlike.C:
4336         * insets/insetnewline.C:
4337         * insets/insetquotes.C:
4338         * insets/insettabular.C:
4339         * insets/insettext.C:
4340         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4341
4342         * frontends/controllers/ControlChanges.C: #include "changes.h".
4343
4344 2003-09-06  Angus Leeming  <leeming@lyx.org>
4345
4346         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4347         than #including paragraph.h.
4348
4349         * ParagraphList.h:
4350         * RowList.h: deleted. Superfluous.
4351
4352         * CutAndPaste.h:
4353         * iterators.h:
4354         * lyxcursor.h:
4355         * lyxtext.h:
4356         * text_funcs.h:
4357         * undo.h:
4358         * undo_funcs.h:
4359         * insets/inset.h:
4360         * insets/insettext.h: use ParagraphList_fwd.h rather than
4361         ParagraphList.h.
4362
4363         * paragraph.h: don't forward declare ParagraphList.
4364
4365         * buffer.h:
4366         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4367         rather than ParagraphList.h. paragraph.h is still needed for the
4368         Paragraph::depth_type parameters.
4369
4370         * textcursor.h: enable it to compile stand-alone in light of the
4371         above changes.
4372
4373         * bufferview_funcs.C:
4374         * iterators.C:
4375         * lyxfunc.C:
4376         * lyxrow_funcs.C:
4377         * paragraph.C:
4378         * rowpainter.C:
4379         * text.C:
4380         * text2.C:
4381         * text3.C:
4382         * text_funcs.C:
4383         * textcursor.C:
4384         * undo.C:
4385         * frontends/controllers/ControlParagraph.C:
4386         * frontends/controllers/ControlTabular.C:
4387         * insets/insetmarginal.C:
4388         * insets/insetminipage.C:
4389         * insets/insetnote.C:
4390         * insets/insetoptarg.C: add header files needed to compile again.
4391
4392 2003-09-06  Angus Leeming  <leeming@lyx.org>
4393
4394         * RowList_fwd.h: new file, forward-declaring Row rather than
4395         #including lyxrow.h.
4396
4397         * lyxrow_funcs.h:
4398         * lyxtext.h:
4399         * paragraph.h:
4400         * insets/insettext.h: use it instead of RowList.h
4401
4402         * bufferview_funcs.C:
4403         * lyxfunc.C:
4404         * lyxrow_funcs.C:
4405         * paragraph.C:
4406         * rowpainter.C:
4407         * text.C:
4408         * text2.C:
4409         * text3.C: #include "RowList.h".
4410
4411 2003-09-05  Angus Leeming  <leeming@lyx.org>
4412
4413         * factory.C (createInset):
4414         * vspace.C (c-tor): replace sscanf call with an istringstream.
4415         * ispell.C: re-add missing HP/UX headers.
4416         * lyxserver.C: re-add missing  os2 headers.
4417
4418 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4419
4420         * BranchList.C:
4421         * graph.C:
4422         * ispell.C:
4423         * lastfiles.C:
4424         * lyx_cb.C:
4425         * lyxserver.C:
4426         * texrow.C:
4427         * text3.C: re-add missing system headers, needed for 2.95.2.
4428
4429 2003-09-05  Angus Leeming  <leeming@lyx.org>
4430
4431         Changes most place everywhere due to the removal of using directives
4432         from support/std_sstream.h.
4433
4434 2003-09-05  Angus Leeming  <leeming@lyx.org>
4435
4436         Replace LString.h with support/std_string.h,
4437         Lsstream.h with support/std_sstream.h,
4438         support/LIstream.h with support/std_istream.h,
4439         support/LOstream.h with support/std_ostream.h.
4440
4441         Changes resulting throughout the tree.
4442
4443 2003-09-05  Angus Leeming  <leeming@lyx.org>
4444
4445         * sgml.h: ensure that the header file can be compiled stand-alone.
4446         * *.C: strip out redundant #includes. (320 in total.)
4447
4448 2003-09-04  Angus Leeming  <leeming@lyx.org>
4449
4450         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4451         here (from getPackages).
4452
4453         * debug.[Ch]: add a new EXTERNAL tag.
4454
4455 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4456
4457         * text2.C (cursorEnd): simplify
4458         (setCursor): adjust
4459         (getColumnNearX): adjust
4460
4461         * text.C (computeBidiTables): adjust
4462         (fill): adjust
4463
4464         * rowpainter.C (paintChars): adjust
4465         (paintSelection): adjust
4466         (paintChangeBar): adjust
4467         (paintText): adjust
4468
4469         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4470         lastPos instead.
4471         (numberOfSeparators): adjust
4472
4473 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4474
4475         * LyXAction.C:
4476         * box.[Ch]:
4477         * lfuns.h:
4478         * lyxfunc.C:
4479         * text3.C: Restricts the mouse click functionality
4480         of insets like bibtex, include, toc and floatlist to the visible
4481         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4482         up the dialogs. Cursor has to be in front of the inset (i.e.
4483         start of row) for this to function.
4484
4485 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4486
4487         * bufferview_funcs.C (currentState): output row information
4488
4489 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4490
4491         * bufferview_funcs.C (currentState): output paragraph position
4492
4493 2003-09-04  Angus Leeming  <leeming@lyx.org>
4494
4495         * FloatList.h: move out #include "Floating.h".
4496         * LaTeX.h: move out #include "DepTable.h".
4497         * LyXAction.h: move out #include "funcrequest.h".
4498         * buffer.h: move out #include "author.h", "iterators.h".
4499         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4500         * lyx_main.h: move out #include "errorlist.h".
4501         * lyxfunc.h: move out #include "FuncStatus.h".
4502         * lyxtext: move out #include "lyxcursor.h".
4503         * paragraph_pimpl.h: move out #include "counters.h".
4504
4505 2003-09-03  Angus Leeming  <leeming@lyx.org>
4506
4507         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4508         preamble_snippets list, enabling us to add snippets to the preamble
4509         only if the snippet was not there already.
4510
4511 2003-09-04  Angus Leeming  <leeming@lyx.org>
4512
4513         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4514
4515 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4518         update
4519
4520 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4521
4522         * BranchList.C: point fix, earlier forgotten
4523
4524 2003-09-02  Angus Leeming  <leeming@lyx.org>
4525
4526         * box.C (contains): renamed from 'contained' after a fantastic
4527         amount of hot air.
4528
4529 2003-09-02  John Levon  <levon@movementarian.org>
4530
4531         * BufferView.C:
4532         * lyxcursor.h:
4533         * lyxcursor.C:
4534         * lyxfunc.C:
4535         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4536
4537 2003-09-02  John Levon  <levon@movementarian.org>
4538
4539         * text2.C: simplification of cursorEnd(), including partial
4540         fix for bug 1376
4541
4542 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * buffer.C (readFile): add a space
4545
4546 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4547
4548         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4549
4550 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * buffer.C (readFile): new function, take a filename and a
4553         ParagraphList::iterator
4554         (readFile): adjust
4555         (readFile): adjust, make it private. don't use setStream, make
4556         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4557         always contain the filename.
4558
4559         * BufferView.C (insertLyXFile): simplify and make it work for
4560         gzipped files.
4561
4562 2003-08-30  John Levon  <levon@movementarian.org>
4563
4564         * Makefile.am: fix dist (from Kayvan)
4565
4566 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * most files: change to use const Buffer refs
4569
4570 2003-08-27  André Pönitz  <poenitz@gmx.net>
4571
4572         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4573         on top of ownerPar().
4574
4575 2003-08-27  John Levon  <levon@movementarian.org>
4576
4577         * funcrequest.C: properly initialise POD members
4578
4579 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * lyxtext.h (top_y): move top_y from here
4582         * text.C:
4583         * text2.C:
4584         * text3.C:
4585         * BufferView.[Ch]:
4586         * BufferView_pimpl.[Ch]: to here
4587         * frontends/screen.C:
4588         * insets/insettabular.C:
4589         * insets/insettext.C: adjust
4590         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4591
4592 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4593
4594         * BufferView.[Ch]:
4595         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4596
4597 2003-08-26  André Pönitz  <poenitz@gmx.net>
4598
4599         * paragraph_func.[Ch] (outerPar): new function
4600
4601         * paragraph.C:
4602         * paragraph_funcs.C:
4603         * paragraph_funcs.h:
4604         * paragraph_pimpl.C:
4605         * text2.C: remove Inset::par_owner
4606
4607 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4608
4609         * lyxrow_funcs.C:
4610         * lyxtext.h:
4611         * text.C:
4612         * text2.C: eliminates the needFullRow/display() stuff
4613         altogether, putting the logic in metrics/draw in the insets.
4614
4615 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * text2.C (redoParagraphInternal, redoParagraphs):
4618         * text.C (redoParagraph): add a call to updateRowPositions at the
4619         end of each 'metrics-like' call. Remove all others.
4620         (getRow): remove the 'y-computing' version.
4621         (getRowNearY): do not compute nor return the real y. Solve the
4622         'y < 0' problem and simplify.
4623
4624 2003-08-22  Angus Leeming  <leeming@lyx.org>
4625
4626         * *.[Ch]: clean-up of licence and author blurbs.
4627         Also move config.h out of a few .h files and into a few .C files.
4628
4629 2003-08-22  André Pönitz  <poenitz@gmx.net>
4630
4631         * lyxrow.[Ch]: add x_ and *fill_ members
4632
4633         * lyxtext.h:
4634         * text.C:
4635         * rowpainter.C:
4636         * text2.C: adjust/remove prepareToPrint() calls
4637
4638 2003-08-22  André Pönitz  <poenitz@gmx.net>
4639
4640         * lyxrow.[Ch]: add  end_ member
4641
4642         * lyxrow_funcs.C: use LyXRow::end_
4643
4644         * lyxtext.h (singleWidth): add LyXFont parameter
4645
4646         * rowpainter.C:
4647         * text2.C: adjust LyXText::singleWidth() calls
4648
4649         * text.C (redoParagraph): simplify row breaking logic
4650
4651
4652 2003-08-19  André Pönitz  <poenitz@gmx.net>
4653
4654         * funcrequest.C: initialize button_ member
4655
4656         * text3.C:
4657         * rowpainter.[Ch]: interface consolidation
4658
4659 2003-08-18  André Pönitz  <poenitz@gmx.net>
4660
4661         * BufferView.C:
4662         * BufferView_pimpl.C:
4663         * lyxfind.C:
4664         * paragraph_funcs.C:
4665         * rowpainter.C:
4666         * text3.C: remove LyXScreen::draw() and fitCursor calls
4667
4668         * BranchList.h: remove spurious semicolons
4669
4670         * MenuBackend.C: fix branchlist related crash
4671
4672 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4673
4674         * BranchList.[Ch]:
4675         * InsetList.[Ch]:
4676         * LColor.[Ch]:
4677         * LyXAction.C:
4678         * Makefile.am:
4679         * MenuBackend.[Ch]:
4680         * bufferparams.[Ch]:
4681         * factory.C:
4682         * lfuns.h:
4683         * lyxfunc.C:
4684         * text3.C: implements the 'branch inset'
4685         idea. This allows the output of various versions of a document
4686         from a single source version, selectively outputing or suppressing
4687         output of parts of the text.
4688         This implementation contains a 'branch list editor' in a separate
4689         tab of the document settings dialog. Branches are user definable
4690         and have a "display colour" to distinguish them on-screen.
4691
4692         ColorHandler was somewhat cleaned up.
4693         (1) make possible a dynamically growing LColor list by allowing
4694         the graphic context cache to grow along (vector);
4695         (2) eliminate an IMHO unnecessary step in colour allocation.
4696
4697 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4698
4699         * BufferView_pimpl.C: compile fix
4700
4701 2003-08-15  André Pönitz  <poenitz@gmx.net>
4702
4703         * rowpainter.C: remove extra metrics calls
4704
4705         * lyxtext.h: merge the two constructors into a single one,
4706           pass reference to owner's par list
4707
4708         * BufferView_pimpl.C:
4709         * text.C:
4710         * text2.C: adjust
4711
4712 2003-08-15  André Pönitz  <poenitz@gmx.net>
4713
4714         * lyxrow_funcs.[Ch]:
4715         * lyxtext.h:
4716         * paragraph.h:
4717         * paragraph_funcs.C:
4718         * rowpainter.C:
4719         * text.C:
4720         * text2.C:
4721         * text3.C:
4722         * text_funcs.C: split LyXText::rowlist_ into individual
4723         Paragraph::rows_ chunks
4724
4725         * BufferView.[Ch]:
4726         * BufferView_pimpl.[Ch]:
4727         * lyxfind.C:
4728         * lyxtext.h:
4729         * text3.C: remove toggleSelection()
4730
4731 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4732
4733         * bufferlist.C: beautify two alerts (shorter text of buttons)
4734         * buffer.C: Remove redundant ' ' from message
4735         * tabular.h:
4736         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4737         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4738         rename VALIGN_CENTER to VALIGN_MIDDLE
4739
4740 2003-08-11  André Pönitz  <poenitz@gmx.net>
4741
4742         * lyxtext.h (getPar):
4743         * text.C: new function
4744
4745 2003-08-11  André Pönitz  <poenitz@gmx.net>
4746
4747         * Makefile.am:
4748         * tracer.[Ch]: remove unneeded files
4749
4750         * InsetList.[Ch]: remove resizeInsetsLyXText()
4751
4752         * lyxtext.h:
4753         * text.C:
4754         * text2.C:
4755         * text3.C: merge insertParagraphs() and appendParagraph()
4756         remove breakAgain(), update()
4757
4758         * BufferView_pimpl.[Ch]:
4759         * bufferview_funcs.[Ch]:
4760         * lyxfunc.C:
4761         * paragraph.[Ch]:
4762         * rowpainter.C:
4763         * tabular.C: adjust after text & InsetList changes.
4764
4765 2003-08-08  André Pönitz  <poenitz@gmx.net>
4766
4767         * text.C (insertChar, backspace): replace rowlist fiddling
4768         with rebreak of full par
4769
4770         * lyxtext.h:
4771         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4772         checkParagraph, updateInset): removed
4773
4774 2003-08-07  André Pönitz  <poenitz@gmx.net>
4775
4776         * paragraph.C:
4777         * text3.C: merge some LFUN handlers, remove dead code
4778
4779 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4780
4781         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4782
4783 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4784
4785         * text2.C (DEPM): fix part of bug 1255 and 1256
4786
4787 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4788
4789         * BufferView_pimpl.C (workAreaDispatch): change to use
4790         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4791         that are no mouse related.
4792
4793 2003-08-05  André Pönitz  <poenitz@gmx.net>
4794
4795         * BufferView.[Ch]:
4796         * BufferView_pimpl.[Ch]:
4797         * bufferview_funcs.C:
4798         * text2.C:
4799         * text3.C: rip out "deep update"
4800
4801         * textcursor.[Ch] (last_sel_cursor): remove unused member
4802
4803 2003-08-04  André Pönitz  <poenitz@gmx.net>
4804
4805         * BufferView.[Ch]:
4806         * BufferView_pimpl.[Ch]:
4807         * ParagraphParameters.C:
4808         * bufferview_funcs.C:
4809         * lyx_cb.C:
4810         * lyxfind.C:
4811         * lyxfunc.C:
4812         * text.C:
4813         * text2.C:
4814         * text3.C: replace "complicated" BufferView::update(...) calls with
4815         simpler ones.
4816
4817         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4818
4819 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4820
4821         * Makefile.am (lyx_SOURCES): add paper.h
4822
4823 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4824
4825         * Makefile.am: move things around so that both lyx-qt and
4826         lyx-xforms can be built (according to --with-frontend). Then lyx
4827         is a symbolic link to lyx-[firstfrontend]
4828
4829 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4830
4831         * Always use std::endl with lyxerr
4832
4833 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4834
4835         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4836
4837 2003-08-01  André Pönitz  <poenitz@gmx.net>
4838
4839         * BufferView.[Ch]:
4840         * BufferView_pimpl.[Ch]:
4841         * lyxfunc.C:
4842         * text3.C: merge BufferView::repaint() and BufferView::update()
4843
4844 2003-08-01  José Matos  <jamatos@lyx.org>
4845
4846         * buffer.[Ch]: file_format is no longer a buffer data element.
4847
4848 2003-08-01  André Pönitz  <poenitz@gmx.net>
4849
4850         * BufferView.C:
4851         * lyxtext.h:
4852         * text.C:
4853         * text2.C: make redoParagraph more independent of current cursor
4854
4855         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4856         * text.C:
4857         * text2.C: remove unneeded members
4858
4859 2003-07-30  André Pönitz  <poenitz@gmx.net>
4860
4861         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4862
4863         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4864           create a single function...
4865
4866         * paragraph_funcs.C (moveItem): ... here.
4867
4868         * text.C:
4869           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4870
4871 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4872
4873         * LColor.[Ch]: Add comment and greyedout logical colors.
4874
4875 2003-07-30  André Pönitz  <poenitz@gmx.net>
4876
4877         * tabular.C: don't use Assert too heavily. This crashes where it
4878           shouldn't
4879
4880 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4883         is disabled (bug 1232)
4884
4885 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4886
4887         * factory.C: limited 'arg' scope
4888
4889 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4890
4891         * factory.C: fixed Note submenu issues
4892
4893 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4894
4895         * factory.C: submenu for Note/Comment/Greyedout
4896
4897 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4898
4899         * lyx_main.C (LyX):
4900         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4901
4902 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4903
4904         * LaTeXFeatures.C:
4905         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4906         greyedout. Patch provided by Jürgen Spitzmüller.
4907
4908 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4909
4910         * kbmap.C (read): fix error message when reading bind files
4911
4912 2003-07-29  Angus Leeming  <leeming@lyx.org>
4913
4914         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4915         certainly does not do what it purports to do. I am doing it, and
4916         us, a favour by killing it.
4917
4918 2003-07-28  José Matos  <jamatos@lyx.org>
4919
4920         * buffer.C (readBody, do_writeFile):
4921         * paragraph.C(readParagraph): \end_document replaces \the_end.
4922
4923 2003-07-29  André Pönitz  <poenitz@gmx.net>
4924
4925         * BufferView.[Ch]:
4926         * BufferView_pimpl.[Ch]:
4927         * lyxfunc.C:
4928         * text2.C:
4929         * text3.C:
4930         * textcursor.[Ch]: remove toggleToggle & Co
4931
4932 2003-07-28  José Matos  <jamatos@fep.up.pt>
4933
4934         * buffer.C (readParagraph):
4935         * params_func (readParToken, readParagraph):
4936         * paragraph.C (write): \layout -> \begin_layout.
4937
4938 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * lyxlex_pimpl.C (setFile): clean up slightly.
4941
4942         * bufferparams.h: add compressed var
4943
4944         * buffer_funcs.C (readFile): adjust for LyXLex change
4945         (newFile): ditto + simplify
4946
4947         * buffer.C (writeFile): handle writing of compressed files
4948
4949         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4950         Check if the file is compressed and set a bufferparm if so.
4951
4952         * Makefile.am (lyx_LDADD): remove explicit -lz
4953
4954 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4955
4956         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4957         makeDocBookFile): put the real LyX version in the first line of
4958         the file
4959
4960         * version.h:
4961         * version.C.in: remove lyx_docversion
4962
4963         * tabular.C (write_attribute): add a template-based version to
4964         write enums properly
4965
4966 2003-07-28  André Pönitz  <poenitz@gmx.net>
4967
4968         * lyxtext.h:
4969         * text.C:
4970         * text2.C:
4971         * text3.C: use doubles again for x-coordinates. They are needed.
4972
4973 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4974
4975         * messages.C (getLocaleDir): use lyx_localedir()
4976
4977         * lyxlex_pimpl.C (setFile): compress stuff
4978
4979         * buffer.C (writeFile): add some compression stuff
4980         (do_writeFile): new func, dont call expliti close... will this
4981         breake anything?
4982
4983         * Makefile.am (lyx_LDADD): add -lz
4984
4985 2003-07-28  José Matos  <jamatos@fep.up.pt>
4986
4987         * buffer.C: increment file format.
4988         * paragraph_funcs (readParagraph, readParToken):
4989         * paragraph.C (readParagraph): add \end_layout.
4990
4991 2003-07-27  Angus Leeming  <leeming@lyx.org>
4992
4993         * Makefile.am: remove special casing for configure-time setting of
4994         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4995
4996         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4997         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4998
4999 2003-07-26  André Pönitz  <poenitz@gmx.net>
5000
5001         * paragraph_func.[Ch]:
5002         * paragraph.C (realizeFont): inline it whereever it is used
5003
5004         * rowpainter.C:
5005         * text.C:
5006         * text2.C:
5007         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5008
5009
5010 2003-07-26  André Pönitz  <poenitz@gmx.net>
5011
5012         *       lyxtext.h:
5013         * text.C:
5014         * text2.C: get rid of LyXText::need_break_row
5015
5016 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * toc.[Ch]: put namespace toc inside namespace lyx
5019
5020         * MenuBackend.C (expandToc2): adjust for lyx::toc
5021         (expandToc): ditto
5022
5023         * lyxfunc.C (dispatch): adjust for lyx::find
5024
5025         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5026         lyx::find instead. Reorganize a bit.
5027         (LyXReplace): rename to replace
5028         (LyXFind): rename to find
5029
5030         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5031         (dispatch): ditto
5032
5033 2003-07-26  André Pönitz  <poenitz@gmx.net>
5034
5035         * text.C (setHeightOfRow): restrict scope of temporary variable
5036
5037         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5038           code (never has been used?)
5039
5040 2003-07-27  Asger Alstrup  <alstrup@local>
5041
5042         * text.C (fill): Optimise algorithm to exploit that we can reuse
5043         the LyXFont for many characters.
5044         (setHeightOfRow): Same thing.
5045         (rowBreakPoint): Same thing.
5046
5047 2003-07-26  Asger Alstrup  <alstrup@local>
5048
5049         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5050
5051         * text.C (singleWidth): Spurious font copying in hot-spot
5052         singleWidth avoided. Reorder tests for arabic for efficiency.
5053
5054         * text.C (fill): handle empty paragraphs better.
5055
5056 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5057
5058         * ispell.C:
5059         * encoding.h: add includes
5060
5061         * lyxrc.C: remove reading of bind files
5062
5063         * lyx_main.C (init): setup bindings and menus only if we have a
5064         gui.
5065
5066         * kbmap.C (read): new method. Do the actual reading of bind
5067         files.
5068
5069         * converter.C (dvipdfm_options):
5070         * bufferparams.C:
5071         * lyxrc.C (read):
5072         (output): adapt PAPER_* enums.
5073
5074         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5075
5076         * bufferparams.h: remove paper-related enums from there
5077
5078         * paper.h: New file. A trivial header file to hold paper-related
5079         enums. It should later expand to contain many paper-related
5080         horrors access.
5081
5082         * lyxrc.C: declare extern displayTranslator
5083
5084 2003-07-27  José Matos  <jamatos@fep.up.pt>
5085
5086         * tabular.[Ch] (linuxdoc): add support for tables and figures
5087         (linuxdoc).
5088
5089 2003-07-27  José Matos  <jamatos@fep.up.pt>
5090
5091         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5092         consistency in both functions.
5093         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5094
5095 2003-07-26  Asger Alstrup  <alstrup@local>
5096
5097         * rowpainter.C (paintRows): Change algorithm to work directly on
5098         the insets rather than asking every character in the document
5099         whether its an inset.
5100
5101 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * buffer.C (openFileWrite): factorize some code
5104
5105 2003-07-26  Angus Leeming  <leeming@lyx.org>
5106
5107         * lyx_cb.C:
5108         * lyx_main.[Ch]: replace occurances of system_tempdir with
5109         os::getTmpDir().
5110
5111 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * rename Inset to InsetOld
5114
5115 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5116
5117         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5118         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5119         which I think is a bit clearer. EDIT is gone, since it was
5120         premature optimisation, and broken for mathed anyway.
5121         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5122         with cursor positioning in insets as well (math insets still do not
5123         work, but that's a different story anyway.) It mysteriously
5124         crashes sometimes with undo in the first paragraph, but I'm fairly
5125         confident that this is a compiler bug.
5126
5127 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * paragraph.C (Paragraph): adjust for new clone return type
5130         (operator==): ditto
5131         (copyIntoMinibuffer): ditto
5132
5133 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5134
5135         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5136         by not having a special case, and always doing a full rebreak of
5137         the document after undo.
5138
5139 2003-07-23  Angus Leeming  <leeming@lyx.org>
5140
5141         * factory.C (createInset): InsetExternal::setParams now takes a
5142         Buffer const * arg.
5143
5144 2003-07-23  Angus Leeming  <leeming@lyx.org>
5145
5146         * factory.C (createInset): changed interface to the external and
5147         graphics mailers' string2params functions.
5148
5149 2003-07-23  Angus Leeming  <leeming@lyx.org>
5150
5151         * factory.C (createInset): pass a
5152         Buffer const * parameter to InsetExternalMailer's string2params.
5153
5154 2003-07-22  John Levon  <levon@movementarian.org>
5155
5156         * Thesaurus.h: include the right aiksaurus header
5157
5158 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5159
5160         * MenuBackend.C (expand): check menu shortcuts unconditionally
5161
5162 2003-07-21  Angus Leeming  <leeming@lyx.org>
5163
5164         * factory.C (createInset): pass a
5165         buffer_path parameter to InsetGraphicsMailer's string2params.
5166
5167 2003-07-21  Angus Leeming  <leeming@lyx.org>
5168
5169         * BufferView_pimpl.C (buffer):
5170         * buffer.C (d-tor):
5171         * lyx_main.C (LyX):
5172         * lyxfunc.C (dispatch):
5173         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5174         rather than the grfx shortcut.
5175
5176 2003-07-21  André Pönitz  <poenitz@gmx.net>
5177
5178         * rowpainter.C: remove unused variables
5179
5180         * tabular_funcs.C:
5181         * tabular_funcs.h: move to tabular.C
5182         * Makefile.am: adjust
5183
5184         * tabular.[Ch]: basic optical cleaning
5185
5186         * author.h: pass references, not values
5187
5188 2003-07-18  André Pönitz  <poenitz@gmx.net>
5189
5190         * lyxtext.h:
5191         * metricsinfo.C:
5192         * metricsinfo.h:
5193         * rowpainter.C:
5194         * text.C:
5195         * text2.C:
5196         * text3.C: two-phase drawing for InsetText and InsetTabular
5197         some float -> int changes.
5198
5199 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5200
5201         * lyx_main.C: fix the fix
5202
5203 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5204
5205         * lyx_main.C: fix a crash in batch mode if no files specified
5206         * converter.C: ws
5207
5208 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5209
5210         * format.[Ch] (papersize): moved to BufferParams
5211         * converter.[Ch] (dvips_options): moved to BufferParams
5212         (dvipdfm_options): moved to anon namespace
5213         * bufferparams.[Ch]: added above functions.
5214
5215 2003-07-17  André Pönitz  <poenitz@gmx.net>
5216
5217         * lyxtext.h:
5218         * rowpainter.C:
5219         * text2.C: don't call inset->update() anymore
5220
5221         * metricsinfo.[Ch]: add convenience constructor
5222
5223 2003-07-16  André Pönitz  <poenitz@gmx.net>
5224
5225         * lyxcursor.[Ch]:
5226         * lyxfunc.[Ch]:
5227         * text.C:
5228         * text2.C: replace the LyXCursor::irow_ member with
5229          on-demand computation of the value
5230
5231 2003-07-16  John Levon  <levon@movementarian.org>
5232
5233         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5234
5235 2003-07-15  André Pönitz  <poenitz@gmx.net>
5236
5237         * text.C:
5238         * text2.C: remove no more needed refresh_row
5239
5240 2003-07-15  André Pönitz  <poenitz@gmx.net>
5241
5242         * lyxtext.h:
5243         * rowpainter.C:
5244         * text2.C:
5245         * text3.C: refresh_status tristate -> need_update bool
5246
5247 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5248
5249         * lyxtext.h (init): remove reinit argument (act as if always true)
5250         * text2.C: adjust to that
5251
5252 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5253
5254         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5255         * text3.C: use it to delete selections in some cases
5256         (bugs 441, 673, 702, 954).
5257
5258 2003-07-14  André Pönitz  <poenitz@gmx.net>
5259
5260         * rowpainter.[Ch]: reduce interface
5261
5262 2003-07-14  André Pönitz  <poenitz@gmx.net>
5263
5264         * BufferView_pimpl.C:
5265         * text2.C: adjust after removing unused BufferView * argument
5266
5267 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5268
5269         * text2.C (init): fix a crash fired on resize
5270
5271 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5272
5273         * buffer.[Ch]: added new closing signal
5274         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5275         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5276         BufferView::Pimpl via the closing the signal
5277
5278 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5279
5280         * buffer.[Ch]: take out all bv-related from buffer
5281         * BufferView.C:
5282         * BufferView_pimpl.[Ch]: connect to new signals
5283         * CutAndPaste.C: removed useless asserts
5284         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5285         * lyxvc.[Ch]:
5286         * vc-backend.[Ch]:
5287         * lyxfunc.C: moved view-related funciontality from vc here
5288         * paragraph.C: removed outdated comments
5289         * text.C: ws
5290
5291 2003-07-10  André Pönitz  <poenitz@gmx.net>
5292
5293         * BufferView_pimpl.C:
5294         * tabular.h:
5295         * tabular_funcs.C:
5296         * text.C:
5297         * text2.C: remove InsetText::InnerCache, clean up consequences
5298
5299 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5300
5301         * ispell.C: fix two typos in error messages
5302
5303 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5304
5305         * Extend Note inset to other forms of annotation like Comment
5306         and Greyedout. Right button click gives dialog.
5307
5308         Files modified or added (+):
5309
5310         * insetnote.[Ch]
5311         * FormNote.[Ch]      +
5312         * ControlNote.[Ch]   +
5313         * form_note.fd       +
5314         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5315         frontends/controllers
5316         * xforms/Dialogs.C
5317         * factory.C
5318
5319 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5320
5321         * aspell.C: add missing namespace lyx::support
5322
5323 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * BufferView.[Ch] (newFile): Add
5326         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5327         * LaTeX.[Ch] (message): added this signal and use it
5328         * buffer.[Ch] (busy, message): added these signals and use them
5329         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5330         * converter.C:
5331         * exporter.C:
5332         * format.C:
5333         * importer.C: use buffer signals instead of direct bv calling
5334         * lyx_cb.[Ch] (ShowMessage): removed
5335         * lyx_main.C:
5336         * lyxfunc.C:
5337         * paragraph_funcs.C:
5338         * text2.C: use buffer signals
5339
5340 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * introduce namespace lyx::graphics
5343
5344 2003-07-02  André Pönitz  <poenitz@gmx.net>
5345
5346         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5347
5348 2003-07-01  André Pönitz  <poenitz@gmx.net>
5349
5350         * text.C:
5351         * text2.C:
5352         * text3.C:
5353         * text_funcs.[Ch]:
5354         * textcursor.h:
5355         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5356           text*.C to text_func.C
5357
5358 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * introduce namespace lyx::support
5361
5362 2003-06-30  André Pönitz  <poenitz@gmx.net>
5363
5364         * Chktex.C:
5365         * funcrequest.C:
5366         * lyxtext.h:
5367         * text.C: re-enable --with-included-string
5368
5369 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * textcursor.C: add <config.h>
5372
5373         * text.C (getWord): remove const from word_location arg
5374
5375         * lyxvc.C (getLogFile): fix const type order
5376
5377         * lyxtext.h: remove const from word_location arg, add arg name
5378
5379         * lyxlayout.h: currect type on labeltype.
5380
5381         * importer.C: correct \file
5382
5383         * converter.C (intToFormat): use std:: on ret val, ws changes
5384
5385         * bufferlist.h: correct \file
5386
5387         * buffer.C (makeLinuxDocFile): fix const type order
5388         (makeDocBookFile): ditto
5389         (fillWithBibKeys): use std:: on stdlib args.
5390
5391         * CutAndPaste.C: fix authors.
5392         (availableSelections): use std:: on return vector
5393
5394 2003-06-27  André Pönitz  <poenitz@gmx.net>
5395
5396         * BufferView_pimpl.C:
5397         * bufferview_funcs.C:
5398         * lyxcursor.C:
5399         * lyxcursor.h:
5400         * lyxfunc.C:
5401         * lyxtext.h:
5402         * rowpainter.C:
5403         * text.C:
5404         * text2.C:
5405         * text3.C: remove LyXCursor::row_ member
5406
5407         * lyxtext.h:
5408         * text.C: rename fullRebreak() to partialRebreak() and implement
5409           a fullRebreak() that really bereks fully
5410
5411         * textcursor.h: new struct for cursor-related data
5412
5413 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5414
5415         * lyx_main.C (LyX): get full path of document loaded on the
5416         command line
5417
5418 2003-06-26  André Pönitz  <poenitz@gmx.net>
5419
5420         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5421           remove unused/broken operator>,<,>=.
5422
5423         *       text.C: remove only use of broken operator<= in an Assert().
5424
5425 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5426
5427         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5428         moved errorlist_.clear to showErrorList
5429
5430 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5431
5432         * converter.C (scanLog, runLaTeX):
5433         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5434         move the bv->showErrorList call to the callers
5435         * lyxfunc.C: i.e. here...
5436         * text2.C: and here
5437         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5438         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5439         namespace, the second to...
5440         * buffer_funcs (BufferFormat, parseErrors): added
5441         * errorlist.C (ErrorList(TeXErrors const &)): removed
5442
5443 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5444
5445         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5446
5447 2003-06-24  "Garst R. Reese" <reese@isn.net>
5448
5449         * debug.C: fix typo
5450
5451 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5452
5453         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5454
5455         * version.C.in: change docversion to 1.4
5456
5457 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5458
5459         * buffer.C: fix a bug just introduced
5460
5461 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5462
5463         * buffer.[Ch]: added the parseError signal and use it, removed
5464         sgmlError
5465         * BufferView.[Ch] (addError): moved to ...
5466         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5467         to the Buffer::parseError signal to catch (guess what) parse errors
5468         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5469
5470 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5471
5472         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5473         ability to create a buffer and to return an existing one from
5474         the list. Moved these functions to...
5475         * buffer_funcs.[Ch]: added
5476         * BufferView.[Ch] (loadLyXFile): added
5477         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5478         job removed from bufferlist::loadLyXFile.
5479         * buffer.C (setReadOnly): make it work without view
5480         (i.e added an if (users))
5481
5482 2003-06-19  Angus Leeming  <leeming@lyx.org>
5483
5484         * lfuns.h:
5485         * LyXAction.C (init):
5486         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5487         with LFUN_DIALOG_SHOW <name> <data>.
5488
5489 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5490
5491         * CutAndPaste.C (availableSelections): small compilation fix for
5492         ancient (gcc 2.9x) compilers
5493
5494 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * text3.C (cursorNext): add tmp var
5497
5498         * text2.C (updateCounters): for function calling out of for clause
5499         (replaceSelectionWithString): ditto
5500         (insertStringAsParagraphs): ditto
5501         (getColumnNearX): add tmp var
5502         (setCursorFromCoordinates): add tmp var
5503         (cursorDownParagraph): add tmp var
5504         (deleteEmptyParagraphMechanism): add tmp var
5505
5506         * text.C (insertChar): add tmp var
5507
5508         * rowpainter.C (paintDepthBar): add tmp var
5509
5510         * CutAndPaste.C (availableSelections): potentially check all
5511         paragraphs in a cut to fill the shown strings.
5512
5513 2003-06-18  André Pönitz  <poenitz@gmx.net>
5514
5515         * kbmap.[Ch]: use vector<> instead of list<>
5516
5517 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5518
5519         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5520         pasteSelection with index
5521
5522         * text2.C (pasteSelection): modify, call pasteSelection with index
5523
5524         * paragraph.C (asString): reimplement version with no interval to
5525         call the one with interval.
5526
5527         * lyxtext.h: add index arg to pasteSelection
5528
5529         * MenuBackend.C (MenuItem): handle PasteRecent
5530         (Menu::read::Menutags): add md_pasterecent
5531         (read): handle it
5532         (expandPasteRecent): new function
5533         (expand): use it
5534
5535         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5536
5537         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5538         the limited stack
5539         (availableSelections): new function
5540
5541 2003-06-17  Angus Leeming  <leeming@lyx.org>
5542
5543         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5544
5545 2003-06-17  Angus Leeming  <leeming@lyx.org>
5546
5547         * lfuns.h:
5548         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5549
5550         * lyxfunc.C (dispatch): invoke it.
5551
5552 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5553
5554         * iterators.C (operator++, ParPosition): reintroduce some
5555         const_cast for the benefit of older compilers.
5556
5557 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5558
5559         * text3.C (dispatch): do not modify clipboard when doing
5560         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5561         LFUN_DELETE_SKIP on a selection selection
5562
5563 2003-06-16  André Pönitz  <poenitz@gmx.net>
5564
5565         * BufferView.C:
5566         * buffer.C:
5567         * buffer.h:
5568         * paragraph.C:
5569         * tabular.[Ch]: IU of clone() and getLabelList();
5570
5571 2003-06-13  André Pönitz  <poenitz@gmx.net>
5572
5573         * tabular.h: compactification
5574
5575 2003-06-12  André Pönitz  <poenitz@gmx.net>
5576
5577         * tabular.C:
5578         * tabular.h:
5579         * tabular_funcs.h: some renaming plus whitespace
5580
5581 2003-06-12  André Pönitz  <poenitz@gmx.net>
5582
5583         * BufferView.C:
5584         * BufferView_pimpl.C:
5585         * CutAndPaste.C:
5586         * buffer.C:
5587         * iterators.[Ch]:
5588         * lyxfunc.C:
5589         * text.C:
5590         * toc.C: Return a Paragraph & for ParIterator::operator*()
5591
5592 2003-06-11  John Levon  <levon@movementarian.org>
5593
5594         * lyx_main.C:
5595         * ToolbarBackend.h:
5596         * ToolbarBackend.C: add "Toolbars" section and
5597         put the flags there
5598
5599 2003-06-10  Angus Leeming  <leeming@lyx.org>
5600
5601         * lfuns.h:
5602         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5603
5604         * lyxfunc.C (dispatch): invoke it.
5605
5606 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * main.C: protect <ios> with HAVE_IOS
5609         (main): protect sync_with_stdio with HAVE_IOS
5610
5611 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5612
5613         * text2.C (cutSelection): adjust
5614         (pasteSelection): adjust
5615
5616         * messages.C: handle get of empty string
5617
5618         * main.C (main): use sync_with_stdio(false)
5619
5620         * lyxfunc.C (dispatch): adjust
5621
5622         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5623         (WriteAs): remove unneeded BufferView arg.
5624
5625         * bufferparams.h: use correct types on papersize, papersize2 and
5626         paperpackage.
5627
5628         * bufferparams.C (readToken): adjust for type
5629         (writeLaTeX): add missing cases to switch.
5630
5631         * bufferlist.C (quitWriteBuffer): adjust
5632         (close): adjust
5633
5634         * buffer.C (asciiParagraph): remove some commented code.
5635
5636         * CutAndPaste.C: remove current_view extern variable.
5637         (cutSelection): add BufferParams arg.
5638         (eraseSelection): add BufferParams arg.
5639         (pasteSelection): add Buffer const & arg
5640
5641 2003-06-07  John Levon  <levon@movementarian.org>
5642
5643         * buffer.C:
5644         * paragraph_funcs.C:
5645         * paragraph_pimpl.C:
5646         * text.C:
5647         * text2.C:
5648         * paragraph.h:
5649         * paragraph.C: allow InsetERT to freely space lines,
5650         and some consolidation of code
5651
5652 2003-06-06  José Matos  <jamatos@fep.up.pt>
5653
5654         * buffer.C (makeDocBookFile): fix bug #821
5655
5656 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5657
5658         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5659
5660 2003-06-04  Angus Leeming  <leeming@lyx.org>
5661
5662         * buffer.C: bump format to 224.
5663
5664 2003-06-05  André Pönitz  <poenitz@gmx.net>
5665
5666         * text2.C (redoParagraphs): remove two const_cast<>
5667
5668 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5669
5670         * ParagraphList.h: remove last remnants of NO_STD_LIST
5671
5672 2003-06-03  Angus Leeming  <leeming@lyx.org>
5673
5674         * factory.C (createInset): small change to the way InsetExternal's params
5675         are set.
5676
5677 2003-06-04  André Pönitz  <poenitz@gmx.net>
5678
5679         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5680
5681         * paragraph_pimpl.h:
5682         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5683
5684         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5685
5686         * undo_funcs.C: make some simple cases of undo work again
5687
5688 2003-06-03  John Levon  <levon@movementarian.org>
5689
5690         * ispell.C: HPUX doesn't have sys/select.h
5691         (from Albert Chin)
5692
5693 2003-06-03  John Levon  <levon@movementarian.org>
5694
5695         * CutAndPaste.C: update tabular and include inset
5696         buffer references
5697
5698         * buffer.h:
5699         * paragraph.h:
5700         * paragraph.C: remove owningBuffer(), don't pass Buffer
5701         to clone()
5702
5703         * factory.C: insetGraphicsParams changed
5704
5705 2003-06-02  John Levon  <levon@movementarian.org>
5706
5707         * LyXAction.C:
5708         * factory.C:
5709         * lfuns.h:
5710         * lyxfunc.C:
5711         * text3.C: remove insetparent
5712
5713 2003-06-02  John Levon  <levon@movementarian.org>
5714
5715         * buffer.h:
5716         * buffer.C: fix inset_iterator.end(), move out of line
5717         (bug 1149)
5718
5719 2003-06-01  John Levon  <levon@movementarian.org>
5720
5721         * text3.C: use a proper cut/paste when doing inset
5722         insert (from Jürgen Spitzmüller)
5723
5724 2003-06-01  John Levon  <levon@movementarian.org>
5725
5726         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5727
5728 2003-05-30  André Pönitz  <poenitz@gmx.net>
5729
5730         * rowpainter.C: unify second drawing phase
5731
5732 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * trans_mgr.C: remove one case of current_view
5735
5736         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5737
5738         * paragraph_funcs.h: remove paragraph.h include
5739
5740         * paragraph.h: delete NO_STD_LIST stuff
5741
5742         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5743
5744         * buffer.h: remove paragraph.h include
5745
5746         * ParagraphList.C: delete file
5747
5748         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5749
5750         * toc.C (getTocList): adjust
5751
5752         * paragraph_pimpl.C (validate): adjust
5753
5754         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5755
5756         * paragraph.C (Paragraph): adjust
5757         (getPositionOfInset): use const_iterator, adjust
5758         (bibitem): use const_iterator, adjust
5759         (setInsetOwner): adjust
5760
5761         * iterators.C (operator++): adjust
5762
5763         * InsetList.[Ch]: Replace selfmade iterator with standard
5764         vector::iterator also introduce const_iterator. Remove getPos,
5765         getInset and setInset from InsetTable. Adjust accordingly.
5766
5767         * BufferView.C (lockInset): adjust
5768         (ChangeInsets): adjust
5769
5770         * tabular.[Ch]: delete commented same_id functions
5771
5772 2003-05-28  John Levon  <levon@movementarian.org>
5773
5774         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5775
5776 2003-05-28  André Pönitz  <poenitz@gmx.net>
5777
5778         * metricsinfo.[Ch]: remove 'fullredraw' member
5779
5780 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5781
5782         * lyxtextclass.C (operator): remove caching.
5783
5784 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5785
5786         * text3.C: adjust
5787
5788         * text2.C (cursorBottom): adjust
5789         (setCounter): use ParagraphList::find, adjust
5790
5791         * text.C (workWidth): use ParagraphList::find, adjust
5792
5793         * lyxcursor.C (LyXCursor): adjust
5794
5795         * buffer.C (inset_iterator): adjust
5796
5797         * ParagraphList.h: make iterator(value_type) private, make
5798         ParagraphList a friend of iterator.
5799
5800         * ParagraphList.C (find): new function
5801
5802         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5803
5804 2003-05-27  André Pönitz  <poenitz@gmx.net>
5805
5806         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5807
5808 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5809
5810         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5811
5812 2003-05-26  John Levon  <levon@movementarian.org>
5813
5814         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5815
5816 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * remove same_id from function signatures, adjust.
5819
5820 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5823
5824         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5825
5826         * paragraph.C (Paragraph): get rid of same_ids parameter
5827
5828         * ParagraphList.C (insert): adjust
5829         (push_back): adjust
5830
5831 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5832
5833         * paragraph_funcs.C (breakParagraph): adjust
5834         (breakParagraphConservative): adjust
5835
5836         * buffer.C (readParagraph): adjust
5837
5838         * ParagraphList.C (insert): take a reference instead of a pointer
5839         (insert): adjust
5840
5841         * paragraph.[Ch] (id): new function
5842
5843         * bufferlist.C (newFile): adjust
5844
5845         * ParagraphList.C (ParagraphList): adjust
5846         (assign): adjust
5847         (push_back): take a reference instead of a pointer.
5848
5849         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5850
5851         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5852         instead.
5853
5854         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5855         set else use old code.
5856
5857         * ParagraphList.C: remove all NO_NEXT code and only compile this
5858         code of NO_STD_LIST is set.
5859
5860 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5861
5862         * BufferView_pimpl.C:
5863         * TextCache.C:
5864         * TextCache.h:
5865         * bufferlist.C:
5866         * errorlist.h:
5867         * format.C:
5868         * format.h:
5869         * graph.C:
5870         * lyxfunc.C:
5871         * lyxrc.C:
5872         * graphics/GraphicsConverter.C:
5873         * graphics/PreviewLoader.C: header adjustment
5874
5875 2003-05-23  Angus Leeming  <leeming@lyx.org>
5876
5877         * LaTeXFeatures.[Ch] (useBabel): new method.
5878         * bufferparams.C (writeLaTeX): use it.
5879
5880 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * ParagraphList.h (set): remove unused function.
5883
5884 2003-05-23  André Pönitz  <poenitz@gmx.net>
5885
5886         * BufferView.C:
5887         * BufferView_pimpl.C:
5888         * buffer.C:
5889         * buffer.h:
5890         * lyxfunc.C:
5891         * undo_funcs.C: setUndo reworked
5892
5893         * iterators.[Ch]: add access to topmost ParagraphList
5894
5895         * lyxtext.[Ch] (workWidth): add a const
5896
5897 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5898
5899         * texrow.[Ch] (increasePos): remove function
5900         * exporter.C (export): removed unused var and outdated comment
5901
5902 2003-05-23  Angus Leeming  <leeming@lyx.org>
5903
5904         * latexrunparams.h: rename fragile as moving_arg.
5905         * paragraph.C (simpleTeXOnePar): ditto.
5906         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5907
5908 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5909
5910         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5911         (createUndo): ditto
5912         (textUndoOrRedo): comment out a currently unused var.
5913
5914         * paragraph.h (NO_NEXT): enable NO_NEXT
5915
5916         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5917
5918         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5919
5920         * exporter.C (Export): adjust for removeAutoInsets removal.
5921
5922         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5923
5924         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5925
5926         * BufferView.[Ch] (removeAutoInsets): delete function
5927
5928 2003-05-22  Angus Leeming  <leeming@lyx.org>
5929
5930         * latexrunparams.h: add a free_spacing variable.
5931
5932         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5933         to pass moving_arg, as the data is stored in runparams.fragile.
5934
5935         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5936         to Inset::latexOptional or to simpleTeXOnePar.
5937
5938         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5939         free_spacing arg to Inset::latexOptional.
5940
5941         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5942         free_spacing arg.
5943
5944 2003-05-22  Angus Leeming  <leeming@lyx.org>
5945
5946         * latexrunparams.h: add fragile and use_babel variables.
5947
5948         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5949         * buffer.C (makeLaTeXFile): store this returned value in
5950         runparams.use_babel, thus passing it to the inset::latex methods.
5951
5952         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5953         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5954
5955         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5956         longer has a fragile arg, as it is stored in runparams.fragile.
5957
5958         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5959         moving_arg parameter as the data is stored in runparams.fragile.
5960
5961         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5962         a fragile parameter as the data is stored in runparams.fragile.
5963
5964 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5965
5966         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5967
5968 2003-05-22  Angus Leeming  <leeming@lyx.org>
5969
5970         * latexrunparams.h: add a 'bool nice' which defaults to false.
5971
5972         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5973         now encapsulated within runparams.
5974
5975         * bufferlist.C (updateIncludedTeXfiles):
5976         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5977
5978 2003-05-22  Angus Leeming  <leeming@lyx.org>
5979
5980         * latexrunparams.h: new file containing struct LatexRunParams.
5981         * Makefile.am: add new file.
5982
5983         * LaTeX.[Ch] (c-tor, run):
5984         * buffer.[Ch] (makeLaTeXFile):
5985         * bufferlist.[Ch] (updateIncludedTeXfiles):
5986         * converter.C (convert, scanLog):
5987         * converter.[Ch] (runLaTeX):
5988         * exporter.C (Export):
5989         * paragraph.[Ch] (simpleTeXOnePar):
5990         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5991         * paragraph_funcs.[Ch] (latexParagraphs):
5992         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5993         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5994         pass around a LatexRunParams parameter.
5995
5996 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * paragraph.[Ch]: remove unused constructor
5999
6000         * ParagraphList.C (erase): new function, taking two iterators
6001
6002 2003-05-22  André Pönitz  <poenitz@gmx.net>
6003
6004         * undo_funcs.C: remove duplicated code
6005
6006         * iterator.[Ch]: operator=
6007
6008 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * tabular.C (SetMultiColumn): ws changes
6011
6012         * rowpainter.C (paintFirst): get rid of a ->previous
6013
6014         * lyx_cb.C (getPossibleLabel): parlist simplification
6015
6016         * BufferView.C (ChangeInsets): simplify slightly.
6017
6018 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6019
6020         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6021         * lfuns.h: new LFUN_SPACE
6022         * lyxfunc.C: protected space has a new lfun
6023         * paragraph_funcs.C: read new space insets
6024         * text3.C:
6025         * factory.C: handle new space insets
6026
6027 2003-05-22  André Pönitz  <poenitz@gmx.net>
6028
6029         * BufferView.C:
6030         * BufferView_pimpl.C:
6031         * buffer.[Ch]:
6032         * lyxfunc.C:
6033         * undo_funcs.C: return a ParIterator from getParFromID.
6034
6035         * iterators.[Ch]: add two const's
6036
6037 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6038
6039         * toc.C (getTocList): adjust
6040
6041         * iterators.[Ch]: rework for parlist
6042
6043         * buffer.C (par_iterator_begin): adjust
6044         (par_iterator_end): adjust
6045
6046         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6047
6048         * BufferView.C (removeAutoInsets): adjust
6049         (ChangeInsets): adjust
6050
6051 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6052
6053         * text.C (top_y): fix bug 1110
6054
6055 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6056
6057         * errorlist.[Ch]: added
6058         * buffer.C:
6059         * BufferView.[Ch]:
6060         * BufferView_pimpl.C:
6061         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6062         instead
6063
6064 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * Makefile.am: ensure that lyx is relinked upon changes to the
6067         various "convenience" libs.
6068
6069 2003-05-20  Angus Leeming  <leeming@lyx.org>
6070
6071         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6072         files are compiled in alphabetical order again.
6073
6074         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6075
6076 2003-05-19  Angus Leeming  <leeming@lyx.org>
6077
6078         * gettext.[Ch]: remove "char const * _(char const *)".
6079
6080 2003-05-19  André Pönitz  <poenitz@gmx.net>
6081
6082         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6083
6084         * Makefile.am:
6085         * BufferView.C:
6086         * DepTable.h:
6087         * LaTeXFeatures.C:
6088         * buffer.C:
6089         * lyxfont.C:
6090         * lyxlex.h:
6091         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6092
6093 2003-05-19  André Pönitz  <poenitz@gmx.net>
6094
6095         * buffer.C:
6096         * lyxlayout.[Ch]:
6097         * lyxtextclass.[Ch]:
6098         * paragraph.C:
6099         * paragraph_funcs.[Ch]:
6100         * text2.C:
6101         * text3.C: more insetenv work
6102
6103 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * ParagraphParameters.C (params2string): small bug fixed
6106
6107 2003-05-16  André Pönitz  <poenitz@gmx.net>
6108
6109         * debug.C:
6110         * bufferview_funcs.C: patch from Kornel Benko to prevent
6111           crash when _(...) is called twice in a statement
6112
6113 2003-05-16  André Pönitz  <poenitz@gmx.net>
6114
6115         * BufferView.C:
6116         * lyxfunc.C:
6117         * text.C:
6118         * text2.C:
6119         * text3.C:
6120         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6121
6122 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6123
6124         * lyx_main.C (init): remove spurious static_cast
6125
6126 2003-05-14  André Pönitz  <poenitz@gmx.net>
6127
6128         * BufferView.C: fix format string
6129
6130 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6131
6132         * BufferView.[Ch] (insertErrors): removed
6133         * BufferView.[Ch] (showErrorList): added
6134         * buffer.C (runChkTeX):
6135         * converter.C (scanLog): call showErrorList instead of inserterrors
6136
6137 2003-05-13  André Pönitz  <poenitz@gmx.net>
6138
6139         * BufferView_pimpl.C:
6140         * buffer.C:
6141         * bufferview_func.C:
6142         * MenuBackend.C:
6143         * lyxfunc.C:
6144         * lyxrc.C:
6145         * tex-accent.C:
6146         * text3.C:
6147         * toc.C:
6148         * tabular_funcs.h: tostr() from its own header
6149
6150         * ParagraphParameters.C:
6151         * ToolbarBackend.C:
6152         * bufferparams.C:
6153         * format.C:
6154         * lyxlex_pimpl.C:
6155         * text3.C: STRCONV()
6156
6157 2003-05-12  André Pönitz  <poenitz@gmx.net>
6158
6159         * BufferView.C:
6160         * BufferView_pimpl.C:
6161         * CutAndPaste.C:
6162         * LaTeX.C:
6163         * LaTeXFeatures.C:
6164         * ParagraphParameters.C:
6165         * buffer.C:
6166         * bufferlist.C:
6167         * bufferparams.C:
6168         * bufferview_funcs.C:
6169         * converter.C:
6170         * counters.C:
6171         * debug.C:
6172         * exporter.C:
6173         * format.C:
6174         * importer.C:
6175         * lyx_cb.C:
6176         * lyx_main.C:
6177         * lyxfont.C:
6178         * lyxfunc.C:
6179         * lyxvc.C:
6180         * paragraph.C:
6181         * paragraph_funcs.C:
6182         * tabular.C:
6183         * tabular_funcs.C:
6184         * text2.C:
6185         * text3.C:  boost::format -> bformat  all over the place
6186
6187
6188 2003-05-09  André Pönitz  <poenitz@gmx.net>
6189
6190         * LColor.[Ch]: Pimpl the #include <map> away
6191
6192 2003-05-09  John Levon  <levon@movementarian.org>
6193
6194         * bufferlist.C: never remove emergency saves
6195
6196 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * Makefile.am: better lib building
6199
6200 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6201
6202         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6203         instead.
6204         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6205         (simpleTeXSpecialChars): adjust
6206         (simpleTeXSpecialChars): adjust
6207         * paragraph.C (simpleTeXOnePar): adjust
6208         * buffer.C (makeLaTeXFile): adjust
6209
6210         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6211
6212         * text2.C (changeDepth): parlist cleanup
6213         (getColumnNearX): ditto
6214
6215         * rowpainter.C (getLabelFont): parlist cleanup
6216
6217         * bufferlist.C (newFile): parlist cleanup
6218
6219         * CutAndPaste.C (eraseSelection): parlist cleanup
6220
6221         * BufferView_pimpl.C (trackChanges): parlist cleanup
6222         (dispatch): ditto
6223
6224         * BufferView.C (lockInset): parlist cleanup.
6225         (ChangeInsets): ditto
6226
6227 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * CutAndPaste.h: Update file header.
6230
6231         * CutAndPaste.C: Update file header.
6232         Store the parts cut out of the Document in a limited_stack.
6233         (copySelection): adjust
6234         (pasteSelection): new function, takes the index in the limited stack.
6235         (nrOfParagraphs): adjust
6236         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6237         simplify error inset insertion.
6238         (checkPastePossible): adjust
6239
6240 2003-05-06  John Levon  <levon@movementarian.org>
6241
6242         * text2.C: don't cast wrap inset to float
6243
6244 2003-05-05  André Pönitz  <poenitz@gmx.net>
6245
6246         * iterator.C:
6247         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6248
6249         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6250           few naked Paragraph *.
6251
6252 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6253
6254         * bufferparams.C: Output warning if a document with missing
6255         TeX document class is loaded
6256         * exporter.C: Disable TeX exports if the document class is missing
6257         * lyxtextclass.C:
6258         * lyxtextclass.h:
6259         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6260         isTeXClassAvailable()
6261
6262 2003-05-03  John Levon  <levon@movementarian.org>
6263
6264         * BufferView.h:
6265         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6266         explicit cursor show/hide
6267
6268         * BufferView_pimpl.h:
6269         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6270         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6271
6272         * lyxfunc.C: hide cursor before dispatching.
6273
6274         * lyx_cb.C:
6275         * lyxfind.C:
6276         * text.C:
6277         * text3.C: remove explicit cursor hides
6278
6279 2003-05-02  André Pönitz  <poenitz@gmx.net>
6280
6281         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6282
6283         * undo_funcs.C:
6284         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6285           linked lists
6286
6287         * text2.C: tiny whitespace
6288
6289 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6290
6291         * undo_funcs.C: almost only ws changes.
6292
6293         * ParagraphList.C (splice): just return if pl is empty.
6294
6295 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6296
6297         * ParagraphList.C (splice): new function.
6298
6299         * CutAndPaste.C (pasteSelection): use it
6300
6301 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * CutAndPaste.C (pasteSelection): remove the last next and
6304         previous from this file.
6305
6306 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * CutAndPaste.C (pasteSelection): more clean up, user proper
6309         ParagraphList functions for pasteing.
6310
6311         * ParagraphList.C (insert): new function, three arg insert
6312
6313 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * ParagraphList.C (insert): new function, three arg insert
6316
6317         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6318         not on paragraphs.
6319
6320 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6323
6324 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325
6326         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6327
6328 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6331         (copySelection): clean up a bit.
6332         (pasteSelection): use make_pair
6333
6334         * ParagraphList.C (ParagraphList): implement copy constructor
6335         (operator=): implement, base on copy constructor.
6336         (assign): new func
6337
6338         * paragraph.C (erase): return a bool
6339
6340         * paragraph_pimpl.C (erasePos): remove function, move contents...
6341         (erase): ... here. Return a bool.
6342         (erase): call erase instead of erasePos.
6343
6344 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6345
6346         * ParagraphList.h: define PitPosPair
6347         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6348         ParagraphList, fix a bug on pasting multiple pars
6349         * text2.C: change interface to C&P
6350
6351 2003-04-30  André Pönitz  <poenitz@gmx.net>
6352
6353         * undo_func.C: revert part of yesterday's patch 2
6354
6355 2003-04-30  John Levon  <levon@movementarian.org>
6356
6357         * LColor.C: s/tabular/table/
6358
6359 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6360
6361         * text3.C (dispatch): do not convert iterator -> pointer
6362         * undo_funcs.C (setCursorParUndo): ditto
6363         * text_funcs.C (transposeChars): ditto
6364
6365         * text2.C (setLayout): ws changes only
6366
6367         * text.C (breakParagraph): do not convert iterator -> pointer
6368         (insertChar): ditto
6369         (acceptChange): ditto
6370         (rejectChange): ditto
6371         (changeCase): ditto
6372         (Delete): ditto
6373         (backspace): ditto
6374
6375         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6376         pointer
6377
6378 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6379
6380         * text3.C (gotoInset): YABG (yet another bad getChar)
6381
6382 2003-04-29  André Pönitz  <poenitz@gmx.net>
6383
6384         * paragraph.h: make operator= private unimplemented as long as
6385           it is unusable
6386
6387         * ParagraphList.C: whitespace
6388
6389         * paragraph.[Ch]:
6390         * paragraph_pimpl.[Ch]:
6391         * paragraph_funcs.C:
6392         * CutAndPaste.C:
6393         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6394
6395         * text2.C:
6396           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6397
6398 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6399
6400         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6401         * paragraph.[Ch] (erase):
6402         * paragraph_pimpl.[Ch] (erase): change return type and value
6403         * text2.C (cutSelection): some rework
6404
6405 2003-04-28  John Levon  <levon@movementarian.org>
6406
6407         * bufferlist.C: changes for unsaved changes dialog
6408
6409 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * bufferlist.C (newFile): set language (messages_) for new
6412         documents also.
6413
6414         * buffer.C (readFile): ws changes only.
6415
6416 2003-04-28  André Pönitz  <poenitz@gmx.net>
6417
6418         * undo_funcs.C:
6419         * lyxfunc.C:
6420         * buffer.[Ch]:
6421         * BufferView_pimpl.C:
6422         * BufferView.C: getParFromID related ParagraphList::iterator changes
6423
6424 2003-04-28  André Pönitz  <poenitz@gmx.net>
6425
6426         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6427           Changes
6428
6429 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * messages.C: remove one more localedir class variable.
6432
6433 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6434
6435         * messages.C (getLocaleDir): singleton generation function
6436         (Pimpl): use it.
6437         (Messages): add a default constructor.
6438
6439         * main.C (main): do not setup localedir here, do not call
6440         gettext_init.
6441
6442         * gettext.C (_): use it.
6443         (gettext_init): delete funciton
6444
6445 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * gettext.C (getLyXMessages): new singleton generating function.
6448
6449         * buffer.C (updateDocLang): adjust
6450
6451         * Makefile.am (messages.o): add target
6452         (main.o): remove target
6453
6454 2003-04-27  John Levon  <levon@movementarian.org>
6455
6456         * bufferlist.C:
6457         * lyx_cb.C:
6458         * lyxfunc.C:
6459         * lyxvc.C: specify cancel button in Alert::prompt
6460
6461 2003-04-26  John Levon  <levon@movementarian.org>
6462
6463         * text3.C:
6464         * lyxfunc.C:
6465         * lfuns.h:
6466         * LyXAction.C: add LFUN_INSET_SETTINGS
6467
6468         * lyxfunc.C: don't enable tabular-feature when there's
6469         just any locking inset
6470
6471 2003-04-26  John Levon  <levon@movementarian.org>
6472
6473         * bufferlist.C: re-add Cancel to buffer close question
6474
6475         * lyxfunc.C: fix import UI a bit
6476
6477 2003-04-25  John Levon  <levon@movementarian.org>
6478
6479         * gettext.C: remove the broken asserts for now
6480
6481 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * messages.C: make case where setlocale cannot comply work better.
6484
6485         * buffer.C (updateDocLang): new function
6486         (changeLanguage): use it
6487         (readFile): use it
6488
6489         * text2.C (setCounter): use B_ a bit.
6490
6491         * lyxlayout.C (Read): be sure to trim the label strings.
6492
6493         * messages.C (Messages): fix typo in comment
6494
6495         * buffer.C (readFile): set message_ after file is loaded.
6496         (makeDocBookFile): remove double return
6497         (changeLanguage): reset message_ upon language change.
6498         (B_): new func, use this to get translated buffer strings.
6499
6500         * main.C: add myself and Jean Marc as authors.
6501
6502 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6503
6504         * messages.[hC]: pimplify Messages, and three different pimpls to be
6505         used in different circumstances.
6506
6507         * gettext.[Ch]: change for use with new message code.
6508
6509 2003-04-24 André Pönitz <poenitz@gmx.net>
6510
6511         * factory.C: support for eqref
6512
6513 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6514
6515         * messages.[Ch]: add missing char
6516
6517         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6518
6519         * messages.[Ch]: New files
6520
6521 2003-04-18  John Levon  <levon@movementarian.org>
6522
6523         * BufferView.h:
6524         * BufferView.C:
6525         * BufferView_pimpl.C:
6526         * lfuns.h:
6527         * LyXAction.C:
6528         * lyxtext.h:
6529         * text2.C: remove layout-copy/paste (bug 778)
6530
6531 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6532
6533         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6534
6535 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6536
6537         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6538         if they succeed. Act accordingly.
6539
6540 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6541
6542         * text2.C (setCharFont): adjust
6543         (setCounter): adjust
6544         (insertStringAsLines): adjust
6545
6546         * text.C (leftMargin): adjust
6547         (setHeightOfRow): adjust
6548
6549         * rowpainter.C (paintFirst): adjust
6550         (paintLast): adjust
6551
6552         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6553         (outerHook): ditto
6554         (isFirstInSequence): ditto
6555         (getEndLabel): ditto
6556         (outerFont): adjust
6557
6558         * paragraph.C (getParLanguage): comment out some hard stuff.
6559
6560         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6561         (sgmlError): ditto
6562         (simpleDocBookOnePar): ditto
6563         (makeDocBookFile): use ParagraphList::iterator
6564
6565         * CutAndPaste.C (pasteSelection): adjust
6566
6567 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6568
6569         * text2.C (getFont): adjust
6570         (getLayoutFont): adjust
6571         (getLabelFont): adjust
6572
6573         * paragraph_funcs.C (TeXOnePar): adjust
6574
6575         * buffer.C (simpleLinuxDocOnePar): adjust
6576         (simpleDocBookOnePar): adjust
6577
6578         * CutAndPaste.C (pasteSelection): adjust
6579
6580         * BufferView.C (getEncoding): adjust
6581
6582         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6583
6584 2003-04-16  John Levon  <levon@movementarian.org>
6585
6586         * lyxfind.C: use parlist stuff for search/changes
6587
6588 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6589
6590         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6591
6592         * text2.C (deleteEmptyParagraphMechanism): adjust
6593
6594         * text2.[Ch] (ownerParagraph): delete func (both of them
6595
6596 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6599
6600 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * ParagraphList.C: prepare for NO_NEXT
6603
6604 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * text2.C (getFont): adjust
6607         (getLayoutFont): adjust
6608         (getLabelFont): adjust
6609
6610         * paragraph.C (getFont): adjust
6611         (getLabelFont): adjust
6612         (getLayoutFont): adjust
6613
6614         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6615
6616 2003-04-15  John Levon  <levon@movementarian.org>
6617
6618         From Angus Leeming
6619
6620         * lyx_main.C: handle Include in .ui files
6621
6622 2003-04-15  John Levon  <levon@movementarian.org>
6623
6624         * MenuBackend.C: make the doc files length shorter
6625
6626         * ToolbarBackend.h:
6627         * ToolbarBackend.C: handle toolbar placement flags,
6628         Minibuffer
6629
6630 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6633         adjust
6634
6635         * paragraph_funcs.C (TeXOnePar): adjust
6636
6637         * paragraph.C (getLabelFont): add outerfont arg, adjust
6638         (getLayoutFont): ditto
6639         (simpleTeXOnePar): adjust
6640
6641         * paragraph_pimpl.C (realizeFont): delete func
6642
6643 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6644
6645         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6646         row argument, constify cur argument.
6647
6648 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * text2.C (getFont): adjust
6651         (getLayoutFont): adjust
6652         (getLabelFont): adjust
6653
6654         * paragraph_funcs.C (TeXOnePar): adjust
6655         (outerFont): new func...
6656         (realizeFont): ...moved out from here, changed this to facilitate
6657         transition
6658
6659         * paragraph.C (getFont): take outerfont as arg, adjust
6660         (simpleTeXOnePar): add outerfont arg, adjust
6661
6662         * buffer.C (simpleLinuxDocOnePar): adjust
6663         (simpleDocBookOnePar): adjust
6664
6665         * CutAndPaste.C (pasteSelection): adjust
6666
6667         * BufferView.C (getEncoding): adjust
6668
6669 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * text2.C (setCharFont): adjust
6672         (setCounter): adjust
6673
6674         * text.C (leftMargin): adjust
6675         (setHeightOfRow): adjust
6676
6677         * rowpainter.C (paintFirst): adjust
6678         (paintLast): adjust
6679
6680         * paragraph_pimpl.C (realizeFont): adjust
6681
6682         * paragraph.C (isFirstInSequence): move from here...
6683         * paragraph_funcs.C (isFirstInSequence): ...to here
6684
6685         * paragraph.C (outerHook): move from here...
6686         * paragraph_funcs.C (outerHook): ...to here
6687
6688         * paragraph.C (depthHook): move from here...
6689         * paragraph_funcs.C (depthHook): ...to here
6690
6691         * paragraph.C (getEndLabel): move from here...
6692         * paragraph_funcs.C (getEndLabel): ...to here
6693
6694         * text2.C (realizeFont): move from here...
6695         * paragraph_funcs.C (realizeFont): ...to here
6696
6697 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6698
6699         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6700
6701 2003-04-14  Angus Leeming  <leeming@lyx.org>
6702
6703         * LColor.[Ch]: scrap LColor mathcursor.
6704
6705 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * lyxlex.[Ch] (text): delete function
6708         * trans.C (Load): adjust
6709         * paragraph_funcs.C (readParToken): adjust
6710
6711 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6714         vector<char> instead of a char[].
6715
6716         * lyxlex_pimpl.C (getString): adjust
6717         (next): adjust
6718         (lex): use getString
6719         (eatLine): adjust
6720         (nextToken): adjust
6721
6722         * lyxlex.C (text): use pimpl_->getString()
6723         (getBool): ditto
6724         (findToken): ditto
6725
6726 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6727
6728         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6729         (makeFontEntriesLayoutSpecific): temp var for par.size()
6730         (setLayout): temp var for ownerParagraphs().end()
6731         (fullRebreak): temp var for rows().end()
6732         (selectionAsString): temp var for boost::next(startpit), realize
6733         that the while really is a regular for loop.
6734         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6735         setCursor in one place.
6736         (setParagraph): temp vr for ownerParagraphs().end()
6737         (updateCounters): make the while loop a for loop
6738         (cutSelection): temp var for ownerParagraphs().end()
6739         (updateInset): make the do {} while() a regular for loop
6740         (getCursorX): use temp vars
6741         (setCurrentFont): use temp vars
6742         (getColumnNearX): use temp vars
6743
6744 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * text.C (transformChar): use temp var for getChar
6747         (computeBidiTables): use temp var for row->par()
6748         (fill): move temp vars for row->par() and pit->layout() earlier in
6749         the function.
6750         (labelFill): use temp var for row->par()
6751         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6752         asc and desc, realize that pit never changes and that firstpit is
6753         just a duplicate and not needed. Exchange rit->par() with pit in a
6754         lot of places.
6755         (breakAgain): use a temp var for boost::next(rit)
6756         (breakAgainOneRow): ditto
6757         (breakParagraph): use a temp var for rows().begin()
6758         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6759         (cursorRightOneWord): use temp var for cursor.par() and
6760         cursor.pos(), remove usage of tmpcursor.
6761         (cursorLeftOneWord): use temp var for cursor.par() and
6762         cursor.pos() only set cur at end of function.
6763
6764 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * text.C, text2.C: exchange all usage of Paragraph::next with
6767         boost::next(ParagraphList::iterator)
6768
6769         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6770
6771         * text2.C (cursorTop): simplify implementation
6772         (cursorBottom): ditto
6773         (setParagraph): use ParagraphList::iterator
6774         (setCurrentFont): adjust
6775         (getColumnNearX): adjust
6776         (cursorRight): adjust
6777         (cursorLeft): remove usage of Paragraph::previous
6778         (cursorUpParagraph): ditto
6779         (deleteEmptyParagraphMechanism): slight cleanup
6780
6781         * text.C (isBoundary): take a Paragraph const & instead of a
6782         pointer as arg.
6783         (addressBreakPoint): ditto
6784         (leftMargin): remove usage of Paragraph::previous.
6785         (setHeightOfRow): ditto
6786         (cursorLeftOneWord): ditto
6787         (selectNextWordToSpellcheck): ditto
6788         (Delete): ditto
6789         (backspace): ditto
6790         (breakParagraph): remove one usage of Paragraph::next
6791         (redoParagraph): ditto
6792         (acceptChange): ditto
6793         (insertChar): adjust
6794         (rowBreakPoint): adjust
6795
6796         * bufferview_funcs.C (toggleAndShow): adjust
6797
6798 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6799
6800         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6801         methods to access it.
6802         * lyxtext.h:
6803         * text.C: Added updateRowPositions to compute all row positions.
6804         Make top_y and getRowNearY() to use the cached y position
6805
6806 2003-04-11  John Levon  <levon@movementarian.org>
6807
6808         * text.C (rowBreakPoint): reintroduce the labelEnd
6809         checks, code copied from the row fill stuff. Deep voodoo.
6810
6811         * text.C (fill): add a comment and debugging for the
6812         next poor soul.
6813
6814 2003-04-11  John Levon  <levon@movementarian.org>
6815
6816         * text.C: make sure fullrow insets get wrapped to the next line,
6817         even when they're in a manual label
6818
6819 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * text2.C (insertParagraph): make it take ParagraphList::iterator
6822         as arg.
6823         (setLayout): make it return ParagraphList::iterator
6824         (redoParagraphs): ditto
6825         (setCounter): ditto
6826         (checkParagraph): ditto
6827
6828         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6829
6830         * text2.C: adjust several funcs.
6831         (realizeFont): take a ParagraphList::iterator as arg.
6832         (getLayoutFont): ditto
6833         (getLabelFont): ditto
6834         (setCharFont): ditto
6835
6836         * text.C: adjust several funcs.
6837
6838 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6839
6840         * text.C (selectNextWordToSpellcheck): don't accidentally
6841         skip insets
6842
6843 2003-04-10  John Levon  <levon@movementarian.org>
6844
6845         * ToolbarBackend.C (getIcon): special handling for
6846         LFUN_MATH_DELIM
6847
6848 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6849
6850         * text2.C (cursorRight): a getChar assert fixed
6851
6852 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * text2.C (getFont): change to take a ParagraphList::iterator
6855         instead of Paragraph*
6856         Adjust several functions.
6857
6858         * text.C (transformChar): change to take a ParagraphList::iterator
6859         instead of Paragraph*
6860         (singleWidth): ditto
6861         Adjust several functions.
6862
6863         * rowpainter.C: adjust several functions
6864         * rowpainter.h:store a ParagraphList::iterator and not a
6865         Paragraph&.
6866
6867
6868 2003-04-09  John Levon  <levon@movementarian.org>
6869
6870         * lyxfunc.C:
6871         * lfuns.h:
6872         * LyXAction.h:
6873         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6874         and the "help" bits as well
6875
6876 2003-04-09  John Levon  <levon@movementarian.org>
6877
6878         * ToolbarBackend.h:
6879         * ToolbarBackend.C: allow multiple toolbars
6880
6881 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6882
6883         * undo_funcs.C (setCursorParUndo): adjust
6884
6885         * text_funcs.C (transposeChars): adjust
6886
6887         * text3.C (gotoNextInset): adjust
6888         (dispatch): adjust
6889
6890         * text2.C (setLayout): adjust
6891         (changeDepth): adjust
6892         (setFont): adjust
6893         (redoParagraphs): adjust
6894         (selectionAsString): adjust
6895         (setParagraph): adjust
6896         (insertInset): adjust
6897         (cutSelection): adjust
6898         (copySelection): adjust
6899         (pasteSelection): adjust
6900         (insertStringAsLines): adjust
6901         (updateInset): adjust
6902         (setCursor): change to take a ParagraphList::iterator parameter
6903         (setCursorIntern): change to take a ParagraphList::iterator parameter
6904         (setCurrentFont): adjust
6905         (cursorLeft): adjust
6906         (cursorRight): adjust
6907         (deleteEmptyParagraphMechanism): adjust
6908
6909         * text.C (breakParagraph): adjust
6910         (insertChar): adjust
6911         (acceptChange): adjust
6912         (rejectChange): adjust
6913         (selectNextWordToSpellcheck): adjust
6914         (changeCase): adjust
6915         (Delete): adjust
6916         (backspace): adjust
6917
6918         * lyxfind.C (SearchForward): adjust
6919         (SearchBackward): adjust
6920         (nextChange): adjust
6921
6922         * lyxcursor.C (par): adjust
6923
6924         * lyxcursor.h: store a ParagraphList::iterator instead of a
6925         Paragraph*
6926
6927         * lyx_cb.C (getPossibleLabel): adjust
6928
6929         * bufferview_funcs.C (toggleAndShow): adjust
6930
6931         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6932         (dispatch): adjust
6933
6934         * BufferView.C (removeAutoInsets): adjust
6935         (lockedInsetStoreUndo): adjust
6936
6937 2003-04-09  John Levon  <levon@movementarian.org>
6938
6939         * ToolbarBackend.C: try icon without argument
6940         if with argument fails
6941
6942 2003-04-08  John Levon  <levon@movementarian.org>
6943
6944         * ToolbarBackend.h:
6945         * ToolbarBackend.C: add getIcon(), handle tooltip,
6946         and change from "Icon" to "Item".
6947
6948 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6949
6950         * BufferView.C (lockInset): another bad getchar crunched
6951
6952 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6953
6954         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6955         again)
6956
6957 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6958
6959         * lyxfind.C (searchForward, searchBackwards): bug 782
6960
6961 2003-04-07  John Levon  <levon@movementarian.org>
6962
6963         * paragraph.C: remove dead comment
6964
6965         * text.C: remove troublesome depth-fiddling code
6966         in leftMargin() and rightMargin() (bug 1017)
6967
6968         * text.C: fix breaking of rows in nested lists
6969         (bug 1004)
6970
6971         * text2.C (updateCounters): fix up depth values
6972         (bug 1013)
6973
6974 2003-04-07  John Levon  <levon@movementarian.org>
6975
6976         * BufferView_pimpl.C: clear message when doc finishes resizing,
6977         and after a mouse event
6978
6979         * lyxfunc.C: clear message after exiting inset
6980
6981 2003-04-07  John Levon  <levon@movementarian.org>
6982
6983         * bufferview_funcs.C: show math status not outside
6984         status in the statusbar
6985
6986 2003-04-07  John Levon  <levon@movementarian.org>
6987
6988         * lyxfunc.C: note status changed after a depth change
6989
6990 2003-04-04  Angus Leeming  <leeming@lyx.org>
6991
6992         * LaTeX.h: move AuxInfo operator==, != out of line.
6993         Remove LaTeX virtual destructor; nothing derives from it.
6994         Move operator()() out of public area and rename it startscript().
6995         Change protected for private.
6996
6997 2003-04-04  Angus Leeming  <leeming@lyx.org>
6998
6999         * lyxfunc.C:
7000         * text2.C: remove unneeded #includes.
7001
7002 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7003
7004         * text2.C (dEPM): fix the heigth of the next row
7005
7006 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7007
7008         * text.C: squashed an invalid getChar requester + some ws changes
7009
7010 2003-04-03  John Levon  <levon@movementarian.org>
7011
7012         * bufferview_funcs.h:
7013         * bufferview_funcs.C:
7014         * lyxfunc.C:
7015         * lyxtext.h:
7016         * text2.C: make getStatus work for the env depth lfuns
7017
7018 2003-04-03  John Levon  <levon@movementarian.org>
7019
7020         * bufferview_funcs.h:
7021         * bufferview_funcs.C:
7022         * lyxfunc.C:
7023         * lyxtext.h:
7024         * text2.C: parlistize decDepth(), by merging it with incDepth()
7025
7026 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * lyxrow.h: store a ParagraphList::iterator instead of a
7029         Paragraph* and adjust other class functions to suit.
7030
7031         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7032         above.
7033
7034 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7035
7036         * text2.C (setCursor): do not anchor to cursor row for the time being
7037
7038 2003-04-02  John Levon  <levon@movementarian.org>
7039
7040         * LyXAction.C:
7041         * lfuns.h:
7042         * lyx_main.C:
7043         * lyxtext.h:
7044         * text.C:
7045         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7046
7047 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * paragraph.h: make ParagraphList and ParagraphList::iterator
7050         friends of Paragraph.
7051
7052         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7053
7054         * ParagraphList.C: Use the private next_ and previous_ from
7055         Paragraph.
7056
7057 2003-04-01  John Levon  <levon@movementarian.org>
7058
7059         * ToolbarBackend.h:
7060         * ToolbarBackend.C:
7061         * Makefile.am: rename, remove defaults gunk
7062
7063         * MenuBackend.h:
7064         * MenuBackend.C: remove defaults gunk
7065
7066         * Languages.h:
7067         * Languages.C: remove defaults gunk
7068
7069         * lyx_main.h:
7070         * lyx_main.C: error out if files couldn't be found.
7071
7072 2003-04-02  John Levon  <levon@movementarian.org>
7073
7074         * text2.C: make incDepth() use parlist
7075
7076 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7077
7078         * undo_funcs.C (firstUndoParagraph): adjust
7079
7080         * text3.C (gotoInset): adjust
7081         (dispatch): adjust, and rewrite loop.
7082
7083         * text2.C (init): adjust, and rewrite loop.
7084         (redoParagraphs): adjust
7085         (updateInset): adjust, and rewrite loop.
7086         (deleteEmptyParagraphMechanism): adjust
7087
7088         * tabular.C (LyXTabular): adjust
7089         (SetMultiColumn): adjust
7090         (TeXRow): adjust
7091
7092         * lyxtext.[Ch] (ownerParagraph): delete function
7093         (ownerParagraphs): new function returns a ParagraphList.
7094
7095         * BufferView.C (removeAutoInsets): adjust
7096         (insertErrors): adjust
7097         (setCursorFromRow): adjust
7098
7099 2003-04-01  Angus Leeming  <leeming@lyx.org>
7100
7101         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7102         in the frontends.
7103
7104 2003-04-02  John Levon  <levon@movementarian.org>
7105
7106         * lyxtext.h:
7107         * text.C:
7108         * Makefile.am:
7109         * text_funcs.h:
7110         * text_funcs.C: make transposeChars a free function
7111
7112         * lyxrow_funcs.C: remove wrong comment
7113
7114 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * lyxtext.h: adjust
7117         * rowpainter.C: adjust
7118         * text.C: adjust
7119         * text2.C: adjust
7120         * text3.C: adjust
7121
7122         * lyxrow_funcs. [Ch]: new files
7123
7124         * lyxrow.[Ch]: remove next and previous pointers
7125         (next,previous): remove accessor functions
7126         (isParEnd): move to lyxrow_funcs
7127         (lastPos): move to lyxrow_funcs
7128         (nextRowIsAllInset): move to lyxrow_funcs
7129         (lastPrintablePos): move to lyxrow_funcs
7130         (numberOfSeparators): move to lyxrow_funcs
7131         (numberOfHfills): move to lyxrow_funcs
7132         (numberOfLabelHfills): move to lyxrow_funcs
7133         (hfillExpansion): move to lyxrow_funcs
7134
7135         * lyxfunc.C: adjust
7136
7137         * bufferview_funcs.C (toggleAndShow): adjust
7138
7139         * RowList.h: Remove class RowList from file leave just a
7140         std::list<Row>.
7141
7142         * RowList.C: delete file
7143
7144         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7145         and lyxrow_funcs.h
7146
7147 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * text3.C (cursorPrevious): adjust
7150         (cursorNext): adjust
7151         (dispatch): adjust
7152
7153         * text2.C (redoHeightOfParagraph): adjust
7154         (redoDrawingOfParagraph): adjust
7155         (setCursor): adjust
7156
7157         * text.C (breakParagraph): adjust
7158         (insertChar): adjust
7159         (backspace): adjust
7160
7161         * rowpainter.C (RowPainter): adjust
7162         (leftMargin): simplify and adjust
7163         (most rowpainter functions): adjust.
7164
7165         * rowpainter.h: store the row as RowList::iterator not as Row*
7166
7167         * lyxcursor.C (row): taka RowList::iterator as arg
7168         (irow): ditto
7169
7170         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7171         of Row*.
7172
7173 2003-04-01  Angus Leeming  <leeming@lyx.org>
7174
7175         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7176         stuff like bool Bool.
7177
7178 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7179
7180         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7181         rewrite a loop
7182
7183 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7184
7185         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7186         RowList::iterator.
7187
7188         * lyxtext.h (rows): drop one version and leve a const variant that
7189         returns a RowList::iterator.
7190
7191 2003-03-31  Angus Leeming  <leeming@lyx.org>
7192
7193         * text.C (fill): ensure that the signature is the same as that in the
7194         header file.
7195
7196 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7197
7198         * text2.C (redoParagraphs): adjust
7199         (updateCounters): adjust
7200         (checkParagraph): adjust
7201         (getColumnNearX): adjust and reformat a bit.
7202
7203         * text.C (top_y): adjust
7204         (workWidth): adjust
7205         (leftMargin): adjust
7206         (prepareToPrint): adjust
7207         (getRow): adjust
7208         (getRowNearY): adjust
7209
7210         * lyxtext.h: make rowlist_ mutable.
7211
7212         * RowList.h: add const_iterator
7213         * RowList.C: adjust for RowList::const_iterator.
7214
7215         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7216         adjust.
7217
7218 2003-03-31  John Levon  <levon@movementarian.org>
7219
7220         * lyxrc.h:
7221         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7222
7223         * lyx_main.C: set default fonts from using lyx_gui funcs
7224
7225         * exporter.C: pdf_mode moved from lyxrc
7226
7227         * lyx_cb.C:
7228         * lyxfunc.C: changes from above
7229
7230 2003-03-31  John Levon  <levon@movementarian.org>
7231
7232         * lyx_main.C: fix to the last fix
7233
7234 2003-03-31  John Levon  <levon@movementarian.org>
7235
7236         * bufferlist.C: "Load original" -> "Load Original"
7237
7238         * converter.C:
7239         * exporter.C:
7240         * importer.C:
7241         * lyx_main.C:
7242         * format.C: more Alert cleanups
7243
7244 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * text2.C (removeParagraph): make it take a RowList::iterator as
7247         arg, adjust.
7248         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7249         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7250
7251         * text.C (anchor_row): make it take a RowList::iterator as arg,
7252         adjust.
7253         (computeBidiTables): make it take a const reference to Row instead
7254         of Row pointer, adjust.
7255         (leftMargin): make it take a RowList::iterator as arg, adjust.
7256         (rowBreakPoint): adjust
7257         (breakAgainOneRow): make it take a RowList::iterator as arg,
7258         adjust.
7259         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7260
7261         * bufferview_funcs.C (toggleAndShow): adjust
7262
7263 2003-03-30  John Levon  <levon@movementarian.org>
7264
7265         * Makefile.am:
7266         * BoostFormat.h:
7267         * boost-inst.C: moved to support
7268
7269         * several files: changes as a result
7270
7271 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7272
7273         * text2.C (LyXText): adjust.
7274         (init): adjust
7275         (removeRow): make it take a RowList::iterator as arg, adjust.
7276         (fullRebreak): adjust
7277         (deleteEmptyParagraphMechanism): adjust
7278         (clearPaint): adjust
7279         (postPaint): adjust
7280
7281         * text.C (top_y): adjust
7282         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7283         (breakAgain): make it take a RowList::iterator as arg, adjust.
7284         (breakParagraph): adjust
7285         (insertChar): adjust
7286         (backspace): adjust
7287
7288         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7289         need_break_row, and refresh_row.
7290
7291         * text3.C (dispatch): adjust
7292
7293         * text2.C (checkParagraph): adjust
7294         (setCursor): adjust
7295         (setCursorFromCoordinates): adjust
7296
7297         * text.C (top_y): adjust
7298         (workWidth): adjust
7299         (getRow): make it return a RowList::iterator, adjust
7300         (getRowNearY): make it return a RowList::iterator, adjust
7301
7302         * text2.C (init): adjust
7303         (insertRow): remove function
7304         (insertParagraph): adjust
7305         (redoParagraphs): adjust
7306         (fullRebreak): adjust
7307         (updateCounters): adjust
7308
7309         * text.C (top_y): rewrite to use RowList iterators.
7310         (top_y): adjust
7311         (setHeightOfRow): rewrite to sue RowList iterators.
7312         (appendParagraph): adjust
7313         (breakAgain): adjust
7314         (breakAgainOneRow): adjust
7315         (breakParagraph): adjust
7316         (getRow): adjust
7317         (getRowNearY): adjust, and remove commented code.
7318
7319         * lyxtext.h (firstRow): delete function
7320         (lastRow): delete function
7321         (rows): new function (const and non-const versions.)
7322         (insertRow): delete function
7323
7324         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7325
7326 2003-03-29  John Levon  <levon@movementarian.org>
7327
7328         * BufferView_pimpl.C: always update scrollbar top
7329         because pasting text when we're anchored could mean we
7330         miss an update altogether
7331
7332 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7333
7334         * text2.C (init): use rowlist_.end() and not 0.
7335         (insertRow): change to take a RowList::iterator as arg, adjust
7336         for this.
7337         (insertParagraph): change to take a RowList::iterator as arg,
7338         adjust for this.
7339         (redoParagraphs): remove some debug msgs.
7340
7341         * text.C (appendParagraph): change to take a RowList::iterator
7342         arg, adjust for this.
7343         (breakAgain): add an assert
7344         (breakAgainOneRow): ditto
7345
7346 2003-03-29  John Levon  <levon@movementarian.org>
7347
7348         * text2.C: do not clear selection after inc/decDepth
7349         (bug 550)
7350
7351 2003-03-29  John Levon  <levon@movementarian.org>
7352
7353         * BufferView.C:
7354         * buffer.C: fix broken strerrors according to Lars
7355
7356 2003-03-29  John Levon  <levon@movementarian.org>
7357
7358         * converters.C: more Alert cleanups
7359
7360 2003-03-29  John Levon  <levon@movementarian.org>
7361
7362         * bufferview_funcs.C: remove pointless Alert
7363
7364         * buffer.C: fix confusing error message when
7365         a template is chmoded 000
7366
7367 2003-03-29  John Levon  <levon@movementarian.org>
7368
7369         * BufferView.C:
7370         * BufferView.h:
7371         * BufferView_pimpl.C: Alert fixes
7372
7373         * Makefile.am:
7374         * tabular.C:
7375         * tabular-old.C: remove unused table compat reading
7376
7377 2003-03-29  John Levon  <levon@movementarian.org>
7378
7379         * BufferView.C:
7380         * buffer.C:
7381         * lyx_cb.h:
7382         * lyx_cb.C: more Alert cleanups
7383
7384         * lyxfunc.C: don't allow chktex if not latex document
7385
7386 2003-03-29  John Levon  <levon@movementarian.org>
7387
7388         * lyx_cb.C:
7389         * BufferView.C:
7390         * buffer.C: warnings pushed down from support/,
7391         kill err_alert
7392
7393 2003-03-29  John Levon  <levon@movementarian.org>
7394
7395         * lyxfunc.C: safety check for C-r (revert)
7396
7397 2003-03-29  John Levon  <levon@movementarian.org>
7398
7399         * bufferlist.h:
7400         * bufferlist.C: several UI fixes using Alert::prompt.
7401         Fix the pointless looping quit code. Fix stupid revert
7402         behaviour (bug 938)
7403
7404         * lyxvc.h:
7405         * lyxvc.C:
7406         * lyx_cb.C: use Alert::prompt
7407
7408         * lyx_main.C: remove a silly question
7409
7410         * lyxfunc.C: remove a couple of silly questions,
7411         use Alert::prompt
7412
7413 2003-03-28  John Levon  <levon@movementarian.org>
7414
7415         * text2.C: fix bug 974 (End on empty par)
7416
7417 2003-03-28  John Levon  <levon@movementarian.org>
7418
7419         * BufferView_pimpl.C:
7420         * LyXAction.C:
7421         * lfuns.h: remove do-nothing math greek lfuns
7422
7423 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * lyxgluelength.h (isValidGlueLength): add default arg on
7426         parameter 2. Remove default arg from friend in class.
7427
7428         * lyxlength.h (isValidLength): add default arg on parameter 2.
7429         Remove default arg from friend in class.
7430
7431         * text2.C (LyXText): adjust, initialize refresh_row.
7432         (init): adjust
7433         (removeRow): adjust
7434         (insertRow): adjust
7435         (insertParagraph): adjst
7436         (redoParagraphs): adjust
7437         (fullRebreak): adjust
7438         (updateCounters): adjust
7439         (deleteEmptyParagraphMechanism): first attempt at fixing a
7440         crashing bug.
7441
7442         * text.C (top_y): adjust
7443         (setHeightOfRow): adjust
7444         (getRow): adjust
7445         (getRowNearY): adjust
7446
7447         * lyxtext.h: include RowList.h
7448         (~LyXText): not needed anymore, deleted.
7449         (firstRow): modify for RowList
7450         (lastRow): new function
7451         Delete firstrow and lastrow class variables, add a Rowlist
7452         rowlist_ class variable.
7453
7454         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7455         paragraph is empty.
7456
7457         * RowList.C (insert): fix case where it == begin().
7458
7459 2003-03-26  Angus Leeming  <leeming@lyx.org>
7460
7461         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7462         the thesaurus dialog.
7463
7464 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7467
7468         * RowList.[Ch]: new files
7469
7470         * ParagraphList.C (erase): handle the case where it == begin
7471         correctly.
7472
7473 2003-03-25  John Levon  <levon@movementarian.org>
7474
7475         * Makefile.am:
7476         * aspell_local.h:
7477         * aspell.C: add new aspell support
7478
7479         * lyxrc.h:
7480         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7481         have it accessible.
7482
7483 2003-03-25  Angus Leeming  <leeming@lyx.org>
7484
7485         * lfuns.h:
7486         * LyXAction.C (init): new LFUN_INSET_INSERT.
7487
7488         * BufferView_pimpl.C (dispatch): split out part of the
7489         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7490
7491         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7492         LFUN_INSET_APPLY.
7493
7494 2003-03-25  Angus Leeming  <leeming@lyx.org>
7495
7496         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7497
7498 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7499
7500         * text2.C:
7501         * text3.C: remove useless row->height(0)
7502
7503 2003-03-25  John Levon  <levon@movementarian.org>
7504
7505         * lyxtext.h:
7506         * text2.C:
7507         * text3.C: rename the refreshing stuff to better names
7508
7509 2003-03-24  John Levon  <levon@movementarian.org>
7510
7511         * BufferView_pimpl.h:
7512         * BufferView_pimpl.C: update layout choice on a mouse
7513         press/release
7514
7515 2003-03-23  John Levon  <levon@movementarian.org>
7516
7517         * Makefile.am: fix commandtags.h reference
7518
7519 2003-03-22  John Levon  <levon@movementarian.org>
7520
7521         * BufferView_pimpl.C:
7522         * lyxtext.h:
7523         * rowpainter.C:
7524         * rowpainter.h:
7525         * text.C:
7526         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7527
7528 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7529
7530         * lyxtext.h:
7531         * text.C: take the rtl methods out of line
7532
7533 2003-03-21 André Pönitz <poenitz@gmx.net>
7534
7535         * metricsinfo.[Ch]: new files containing structures to be passed around
7536         during the two-phase-drawing...
7537
7538 2003-03-21 André Pönitz <poenitz@gmx.net>
7539
7540         * lyxtextclass.C: read 'environment' tag.
7541
7542 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7543
7544         * text2.C (removeRow): fix bug 964
7545
7546 2003-03-20  John Levon  <levon@movementarian.org>
7547
7548         * rowpainter.C:
7549         * text.C:
7550         * text2.C: paint cleanups. Inset::update() dropped font
7551         parameter
7552
7553 2003-03-19  John Levon  <levon@movementarian.org>
7554
7555         * lyxfunc.C: only fitcursor/markDirty if available()
7556
7557 2003-03-19  John Levon  <levon@movementarian.org>
7558
7559         * commandtags.h: rename to ...
7560
7561         * lfuns.h: ... this, and renumber / cleanup
7562
7563 2003-03-19  John Levon  <levon@movementarian.org>
7564
7565         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7566         fit the cursor after an lfun
7567
7568         * BufferView.h:
7569         * BufferView.C:
7570         * BufferView_pimpl.h:
7571         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7572
7573         * LyXAction.C: layout-character should have ReadOnly
7574
7575         * ParagraphParameters.C:
7576         * buffer.C:
7577         * bufferview_funcs.C:
7578         * lyx_cb.C:
7579         * lyxfind.C:
7580         * lyxtext.h:
7581         * text.C:
7582         * text2.C:
7583         * text3.C:
7584         * undo_funcs.C: changes from above
7585
7586 2003-03-18  John Levon  <levon@movementarian.org>
7587
7588         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7589         remove it from update()
7590
7591         * lyxfunc.C: update layout choice after an lfun
7592
7593         * text3.C: remove extra updateLayoutChoice()s
7594
7595 2003-03-18  John Levon  <levon@movementarian.org>
7596
7597         * text.C: top_y change means full repaint, fix
7598         a drawing bug with cursor movement
7599
7600 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7601
7602         * lyxtext.h:
7603         * text.C:
7604         * text2.C: anchor row on setCursor
7605
7606 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7607
7608         * lyxtext.h: remove almost all mutable keywords
7609         * text.C:
7610         * text2.C:
7611         * text3.C: remove const keywords accordingly
7612
7613 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7614
7615         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7616         anon namespace
7617         (TeXEnvironment): ditto
7618         (TeXOnePar): ditto
7619
7620 2003-03-17  John Levon  <levon@movementarian.org>
7621
7622         * text.C (rowBreakPoint): remove attempt to fix displayed
7623         math insets inside a manual label
7624
7625 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7626
7627         * lyxtext.h: remove BufferView* as first arg from almost all class
7628         functions.
7629         * other files: adjust.
7630
7631 2003-03-17  John Levon  <levon@movementarian.org>
7632
7633         * lyxtext.h:
7634         * undo_funcs.C:
7635         * text2.C: more paint cleanups
7636
7637         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7638
7639         * rowpainter.h:
7640         * rowpainter.C: remove "smart" background painting code
7641
7642 2003-03-16  John Levon  <levon@movementarian.org>
7643
7644         * lyxtext.h:
7645         * text.C:
7646         * text2.C:
7647         * text3.C: add helper functions for setting refresh_row/y
7648
7649 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7650
7651         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7652         newline inset which *can* get inserted in the pass_thru layouts.
7653         This is primarily for literate documents.
7654
7655 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7656
7657         * buffer.C: increment LYX_FORMAT to 223
7658
7659 2003-03-14 André Pönitz <poenitz@gmx.net>
7660
7661         * textclass.h: prepare for environment handling, ws changes
7662         * lyxlayout.C: read latexheader and latexfooter tags
7663
7664 2003-03-14  John Levon  <levon@movementarian.org>
7665
7666         * text2.C: rewrite ::status() a bit
7667
7668 2003-03-13  John Levon  <levon@movementarian.org>
7669
7670         * lyxtext.h: add some docs
7671
7672 2003-03-13  John Levon  <levon@movementarian.org>
7673
7674         * lyxtext.h:
7675         * text.C:
7676         * text2.C:
7677         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7678
7679 2003-03-13  John Levon  <levon@movementarian.org>
7680
7681         * text3.C: fix appendix redrawing
7682
7683 2003-03-13  John Levon  <levon@movementarian.org>
7684
7685         * text.C (setHeightOfRow):
7686         * rowpainter.h:
7687         * rowpainter.C: make appendix mark have the text
7688           "Appendix" so the user knows what it is
7689
7690         * LColor.h:
7691         * LColor.C: s/appendixline/appendix/ from above
7692
7693 2003-03-13  John Levon  <levon@movementarian.org>
7694
7695         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7696
7697         * text.C: fix a getChar(pos) bug properly
7698
7699 2003-03-13  Angus Leeming  <leeming@lyx.org>
7700
7701         * commandtags.h:
7702         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7703         Probably only temporary. Let's see how things pan out.
7704
7705         * BufferView.C (unlockInset):
7706         * BufferView_pimpl.C (fitCursor):
7707         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7708
7709         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7710         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7711
7712         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7713         new functions that convert ParagraphParameters to and from a string.
7714
7715         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7716         BufferView::Pimpl's dispatch.
7717         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7718
7719 2003-03-13 André Pönitz <poenitz@gmx.net>
7720
7721         * lyxfunc.C:
7722         * text3.C:
7723         * factory.C: make it aware of InsetEnv
7724
7725 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7726
7727         * text2.C (setCursor): never ask for one past last
7728         (setCursor): add some debugging messages.
7729
7730         * text.C (singleWidth): never ask for one past last
7731         (singleWidth): ditto
7732         (leftMargin): ditto
7733         (rightMargin): ditto
7734         (rowBreakPoint): ditto
7735         (setHeightOfRow): ditto
7736         (prepareToPrint): ditto
7737
7738         * rowpainter.C (paintBackground): never ask for one past last
7739         (paintText): never ask for one past last
7740
7741         * paragraph_pimpl.C (getChar): make the assert stricter, never
7742         allow the one past last pos to be taken
7743
7744         * paragraph.C (getChar): ws changes only
7745
7746         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7747         (numberOfSeparators): ditto
7748         (numberOfHfills): ditto
7749
7750 2003-03-12  John Levon  <levon@movementarian.org>
7751
7752         * author.h:
7753         * author.C:
7754         * bufferparams.h:
7755         * bufferparams.C:
7756         * paragraph_funcs.C: fix per-buffer authorlists
7757
7758 2003-03-12  John Levon  <levon@movementarian.org>
7759
7760         * text.C: fix newline in right address
7761
7762 2003-03-12  Angus Leeming  <leeming@lyx.org>
7763
7764         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7765         duplicate those in LyXFunc::dispatch.
7766
7767         * commandtags.h:
7768         * LyXAction.C:
7769         * ToolbarDefaults.C:
7770         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7771         Add LFUN_FONTFREE_UPDATE.
7772
7773         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7774         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7775
7776         * bufferview_func.[Ch]: several new functions to facilliate
7777         transfer of data to and from the character dialog.
7778
7779 2003-03-12  John Levon  <levon@movementarian.org>
7780
7781         * buffer.C:
7782         * paragraph.h:
7783         * paragraph.C:
7784         * paragraph_funcs.C:
7785         * paragraph_pimpl.C:
7786         * sgml.C:
7787         * tabular.C:
7788         * text.C:
7789         * text3.C: remove META_NEWLINE in favour of an inset
7790
7791         * rowpainter.h:
7792         * rowpainter.C: remove paintNewline (done by inset)
7793
7794 2003-03-12  John Levon  <levon@movementarian.org>
7795
7796         * paragraph_pimpl.C: complain about bad getChar()s
7797         for a while at least
7798
7799 2003-03-12  John Levon  <levon@movementarian.org>
7800
7801         * buffer.h:
7802         * buffer.C: move paragraph read into a separate function,
7803         a little renaming to reflect that.
7804
7805         * bufferparams.h:
7806         * bufferparams.C: remove the author_ids map, not necessary now
7807
7808         * factory.h:
7809         * factory.C: moved Buffer::readInset to here
7810
7811         * paragraph_funcs.h:
7812         * paragraph_funcs.C: readParagraph free function moved from
7813         buffer.C
7814
7815         * tabular.C: name change
7816
7817 2003-03-12  John Levon  <levon@movementarian.org>
7818
7819         * buffer.C:
7820         * ParagraphParameters.C: move par params input to
7821         a read() method
7822
7823         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7824         behave like a normal read from the stream wrt reading
7825         a line vs. a \\token
7826
7827 2003-03-12  John Levon  <levon@movementarian.org>
7828
7829         * paragraph.C:
7830         * ParagraphParameters.h:
7831         * ParagraphParameters.C: move output code to a
7832         ::write() method
7833
7834 2003-03-12  John Levon  <levon@movementarian.org>
7835
7836         * BufferView.C (insertLyXFile):
7837         * buffer.h:
7838         * buffer.C:
7839         * tabular.C: use a parlist iterator for creating the
7840           document.
7841
7842 2003-03-12  John Levon  <levon@movementarian.org>
7843
7844         * buffer.C: make current_change static local not
7845           static file-scope
7846
7847 2003-03-12  John Levon  <levon@movementarian.org>
7848
7849         * buffer.C: fix insertStringAsLines for change tracking
7850
7851 2003-03-12  John Levon  <levon@movementarian.org>
7852
7853         * BufferView.C:
7854         * tabular.C:
7855         * buffer.h:
7856         * buffer.C:
7857         * bufferparams.h:
7858         * bufferparams.C: move author list into params. Rename some
7859           functions. Move the header reading into a separate token
7860           loop. Move the header token reading into BufferParams.
7861
7862 2003-03-12  John Levon  <levon@movementarian.org>
7863
7864         * changes.C: put debug inside lyxerr.debugging() checks
7865
7866 2003-03-11 André Pönitz <poenitz@gmx.net>
7867
7868         * factory.C: make it aware of InsetHFill
7869
7870 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7871
7872         * buffer.C (latexParagraphs): move function from here...
7873         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7874         args.
7875
7876 2003-03-10  Angus Leeming  <leeming@lyx.org>
7877
7878         * LyXAction.C (init): fix bug in poplating array with multiple entries
7879         with the same LFUN (spotted by JMarc).
7880
7881 2003-03-10  John Levon  <levon@movementarian.org>
7882
7883         * text.C:
7884         * text2.C: move getColumnNearX() near its
7885         only call site
7886
7887 2003-03-10  John Levon  <levon@movementarian.org>
7888
7889         * text.C: fix break before a minipage
7890
7891 2003-03-10  John Levon  <levon@movementarian.org>
7892
7893         * text.C: fix the last commit
7894
7895 2003-03-09  John Levon  <levon@movementarian.org>
7896
7897         * lyxtext.h:
7898         * text.C:
7899         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7900         bug 365 (don't break before insets unless needed). Don't
7901         return a value > last under any circumstances.
7902
7903 2003-03-09  Angus Leeming  <leeming@lyx.org>
7904
7905         * BufferView_pimpl.C (trackChanges, dispatch): call
7906         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7907
7908 2003-03-09  Angus Leeming  <leeming@lyx.org>
7909
7910         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7911         than Dialogs::showAboutlyx().
7912
7913 2003-03-09  Angus Leeming  <leeming@lyx.org>
7914
7915         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7916         than Dialogs::showTabularCreate().
7917
7918 2003-03-09  John Levon  <levon@movementarian.org>
7919
7920         * lyxtext.h:
7921         * text.C:
7922         * text2.C: 3rd arg to nextBreakPoint was always the same.
7923           Use references.
7924
7925 2003-03-08  John Levon  <levon@movementarian.org>
7926
7927         * lyxrow.C:
7928         * paragraph.C:
7929         * paragraph.h:
7930         * rowpainter.C:
7931         * text.C:
7932         * text2.C: Remove the "main" bit from the "main body"
7933           notion.
7934
7935 2003-03-08  John Levon  <levon@movementarian.org>
7936
7937         * text.C (leftMargin): The left margin of an empty
7938         manual label paragraph should not include the label width
7939         string length.
7940
7941         * text.C (prepareToPrint): don't attempt to measure hfills
7942         for empty manual label paragraphs - the answer should be 0
7943
7944 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7945
7946         * CutAndPaste.C: remove commented code and reindent.
7947
7948 2003-03-08  John Levon  <levon@movementarian.org>
7949
7950         * lyxfunc.h:
7951         * lyxfunc.C: move reloadBuffer()
7952
7953         * BufferView.h:
7954         * BufferView.C: to here
7955
7956         * lyxvc.C: add comment
7957
7958         * vc-backend.h:
7959         * vc-backend.C: call bv->reload() to avoid
7960           getStatus() check on MENURELOAD
7961
7962 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7963
7964         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7965         to an old format .dep file.
7966
7967 2003-03-07  Angus Leeming  <leeming@lyx.org>
7968
7969         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7970         when the LFUN_MOUSE_RELEASE should have been handled by
7971         inset->localDispatch.
7972
7973 2003-03-07  Angus Leeming  <leeming@lyx.org>
7974
7975         * BufferView_pimpl.C (dispatch):
7976         * LyXAction.C (init):
7977         * ToolbarDefaults.C (init):
7978         * commandtags.h:
7979         * lyxfunc.C (getStatus):
7980         remove LFUN_INSET_GRAPHICS.
7981
7982         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7983
7984 2003-03-07  Angus Leeming  <leeming@lyx.org>
7985
7986         * commandtags.h:
7987         * LyXAction.C (init):
7988         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7989
7990         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7991
7992         * commandtags.h:
7993         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7994
7995         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7996         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7997
7998 2003-03-07  Angus Leeming  <leeming@lyx.org>
7999
8000         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8001         remove "ert".
8002
8003 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8004
8005         * ParagraphList.C (front): new function
8006         (back): implement
8007
8008 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8009
8010         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8011         and top_row_offset_. removed var first_y.
8012         * text.C (top_y):
8013         * text2.C (LyXText, removeRow):
8014         * text3.C:
8015         * BufferView_pimpl.C:
8016         use these methods instead of using first_y
8017
8018 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * text2.C (pasteSelection): adjust for checkPastePossible
8021
8022         * CutAndPaste.C: remove Paragraph * buf and replace with
8023         ParagraphList paragraphs.
8024         (DeleteBuffer): delete
8025         (cutSelection): change the tc type to textclass_type
8026         (copySelection): change the tc type to textclass_type
8027         (copySelection): adjust for ParagraphList
8028         (pasteSelection): change the tc type to textclass_type
8029         (pasteSelection): adjust for Paragraphlist
8030         (nrOfParagraphs): simplify for ParagraphList
8031         (checkPastePossible): simplify for ParagraphList
8032         (checkPastePossible): remove unused arg
8033
8034         * ParagraphList.C (insert): handle the case where there are no
8035         paragraphs yet.
8036
8037         * CutAndPaste.h: make CutAndPaste a namespace.
8038
8039         * text3.C (dispatch): adjust
8040
8041         * text.C (breakParagraph): add a ParagraphList as arg
8042
8043         * paragraph_funcs.C (breakParagraph): change to take a
8044         BufferParams and a ParagraphList as args.
8045         (breakParagraphConservative): ditto
8046         (mergeParagraph): ditto
8047         (TeXDeeper): add a ParagraphList arg
8048         (TeXEnvironment): ditto
8049         (TeXOnePar): ditto
8050
8051         * buffer.C (readLyXformat2): adjust
8052         (insertStringAsLines): adjust
8053         (latexParagraphs): adjust
8054
8055         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8056         (cutSelection): adjust
8057         (pasteSelection): adjust
8058
8059         * BufferView_pimpl.C (insertInset): adjust
8060
8061 2003-03-05  Angus Leeming  <leeming@lyx.org>
8062
8063         * commandtags.h:
8064         * LyXAction.C (init):
8065         * BufferView_pimpl.C (dispatch):
8066         * lyxfunc.C (getStatus):
8067         remove LFUN_CHILD_INSERT.
8068
8069         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8070
8071 2003-03-05  Angus Leeming  <leeming@lyx.org>
8072
8073         * commandtags.h:
8074         * LyXAction.C (init):
8075         * src/factory.C (createInset):
8076         * lyxfunc.C (getStatus):
8077         * text3.C (dispatch):
8078         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8079
8080         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8081
8082 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8083
8084         * ParagraphList.C (insert): handle insert right before end()
8085         (erase): fix cases where it can be first or last paragraph.
8086
8087 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8088
8089         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8090         Paragraph::next and Paragraph::previous
8091         (TeXOnePar): ditto
8092
8093         * text.C (breakParagraph): adjust
8094
8095         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8096         BufferParams& as arg.
8097         (breakParagraph): use ParagraphList::insert
8098         (breakParagraphConservative): take a Buffer* instead of a
8099         BufferParams& as arg.
8100         (breakParagraphConservative): use ParagraphList::insert.
8101
8102         * buffer.C (insertStringAsLines): un-const it
8103         (insertStringAsLines): adjust
8104
8105         * ParagraphList.C (insert): new function
8106
8107         * CutAndPaste.C (pasteSelection): adjust
8108
8109         * text.C (backspace): adjust
8110
8111         * tabular.C (SetMultiColumn): adjust
8112
8113         * CutAndPaste.C (cutSelection): adjust
8114         (pasteSelection): adjust
8115
8116         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8117         Buffer const * as arg
8118
8119         * ParagraphList.C (erase): new function
8120         * paragraph_funcs.C (mergeParagraph): use it
8121         (mergeParagraph): make it take a Buffer* instead of a
8122         BufferParams* as arg
8123
8124         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8125         as arg
8126         (breakParagraphConservative): ditto
8127
8128         * paragraph.h: remove the breakParagraph friend
8129
8130         * paragraph.C (eraseIntern): new function
8131         (setChange): new function
8132
8133         * paragraph_funcs.C (mergeParagraph): make it take a
8134         ParagraphList::iterator instead of a Paragraph *, adjust
8135         accordingly.
8136
8137         * paragraph.h: move an #endif so that the change tracking stuff
8138         also works in the NO_NEXT case.
8139
8140 2003-03-04  Angus Leeming  <leeming@lyx.org>
8141
8142         * commandtags.h:
8143         * LyXAction.C: new LFUN_INSET_MODIFY.
8144
8145         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8146         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8147
8148 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * several files: ws changes only
8151
8152         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8153         (TeXEnvironment): ditto
8154         (TeXDeeper): ditto
8155
8156         * buffer.C (makeLaTeXFile): adjust
8157         (latexParagraphs): make it take ParagraphList::iterator as args
8158
8159 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * buffer.C (latexParagraphs): adjust
8162
8163         * paragraph.C (TeXOnePar): move function...
8164         (optArgInset): move function...
8165         (TeXEnvironment): move function...
8166         * paragraph_pimpl.C (TeXDeeper): move function...
8167         * paragraph_funcs.C: ...here
8168
8169         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8170
8171 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * buffer.C (readInset): remove compability code for old Figure and
8174         InsetInfo insets
8175
8176 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * buffer.C: ws changes
8179         (readInset):
8180
8181         * BufferView_pimpl.C: ditto
8182         * author.C: ditto
8183         * buffer.h: ditto
8184         * bufferlist.h: ditto
8185         * changes.h: ditto
8186         * lyxfunc.C: ditto
8187
8188 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8189
8190         * converter.[Ch]: split into itself +
8191         * graph.[Ch]
8192         * format.[Ch]
8193         * Makefile.am: += graph.[Ch] + format.[Ch]
8194         * MenuBackend.C
8195         * buffer.C
8196         * exporter.C
8197         * importer.C
8198         * lyx_main.C
8199         * lyxfunc.C
8200         * lyxrc.C: added #include "format.h"
8201
8202 2003-02-27  Angus Leeming  <leeming@lyx.org>
8203
8204         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8205           a label.
8206
8207         * factory.C (createInset): add "label" to the factory.
8208
8209         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8210           string and do no more.
8211
8212 2003-02-27  Angus Leeming  <leeming@lyx.org>
8213
8214         * commandtags.h:
8215         * LyXAction.C (init):
8216         * factory.C (createInset):
8217         * BufferView_pimpl.C (dispatch):
8218           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8219
8220         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8221
8222         * lyxfunc.C (dispatch):
8223         * text3.C (dispatch): pass name to params2string.
8224
8225 2003-02-26  Angus Leeming  <leeming@lyx.org>
8226
8227         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8228           blocks together.
8229           Rearrange the ~includes. Strip out the unnecessary ones.
8230
8231         * factory.C (createInset): reformat.
8232           create new insets for the various LFUN_XYZ_APPLY lfuns.
8233
8234 2003-02-26  John Levon  <levon@movementarian.org>
8235
8236         * lyxrow.h:
8237         * lyxrow.C: add isParStart,isParEnd helpers
8238
8239         * paragraph.h: make isInserted/DeletedText take refs
8240
8241         * paragraph_funcs.h:
8242         * paragraph_funcs.C: remove #if 0'd code
8243
8244         * lyxtext.h:
8245         * text3.C:
8246         * text2.C:
8247         * text.C: use lyxrow helpers above.
8248           Move draw and paint routines to RowPainter.
8249           Make several methods use refs not pointers.
8250           Make backgroundColor() const.
8251           Add markChangeInDraw(), isInInset().
8252           Merge changeRegionCase into changeCase.
8253           Make workWidth() shouldn't-happen code into an Assert.
8254
8255         * rowpainter.h:
8256         * rowpainter.C: new class for painting a row.
8257
8258         * vspace.h:
8259         * vspace.C: make inPixels take a ref
8260
8261 2003-02-26  Angus Leeming  <leeming@lyx.org>
8262
8263         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8264         LFUN_REF_APPLY.
8265
8266 2003-02-25  John Levon  <levon@movementarian.org>
8267
8268         * ispell.C: give the forked command a more accurate name
8269
8270 2003-02-22  John Levon  <levon@movementarian.org>
8271
8272         * toc.h:
8273         * toc.C: make TocItem store an id not a Paragraph *
8274           (bug #913)
8275
8276 2003-02-21  Angus Leeming  <leeming@lyx.org>
8277
8278         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8279           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8280           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8281           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8282           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8283           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8284
8285         * BufferView_pimpl.C (dispatch):
8286         * LyXAction.C (init):
8287         * factory.C (createInset):
8288         * lyxfunc.C (getStatus, dispatch):
8289         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8290
8291 2003-02-21  Angus Leeming  <leeming@lyx.org>
8292
8293         * BufferView_pimpl.C (MenuInsertLyXFile):
8294         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8295         * lyxfunc.C (menuNew, open, doImport):
8296           no longer pass a LyXView & to fileDlg.
8297
8298 2003-02-21  Angus Leeming  <leeming@lyx.org>
8299
8300         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8301         * LyXAction.C: change, BIBKEY to BIBITEM.
8302         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8303         Change InsetBibKey to InsetBibitem.
8304         Change BIBKEY_CODE to BIBITEM_CODE.
8305         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8306         * factory.C: replace insetbib.h with insetbibitem.h.
8307         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8308         * paragraph.C: replace insetbib.h with insetbibitem.h.
8309         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8310         Change bibkey() to bibitem().
8311         * text.C: remove insetbib.h.
8312         * text2.C: replace insetbib.h with insetbibitem.h.
8313         change bibkey() to bibitem().
8314         * text3.C: remove insetbib.h.
8315         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8316
8317 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8318
8319         * lyxrc.C (output): enclose user email in quotes (in case there are
8320         several words)
8321
8322 2003-02-18  John Levon  <levon@movementarian.org>
8323
8324         * buffer.h: add std::
8325
8326 2003-02-17  John Levon  <levon@movementarian.org>
8327
8328         * SpellBase.h:
8329         * ispell.h:
8330         * ispell.C:
8331         * pspell.h:
8332         * pspell.C: reworking. Especially in ispell, a large
8333           number of clean ups and bug fixes.
8334
8335         * lyxfunc.C: fix revert to behave sensibly
8336
8337 2003-02-17 André Pönitz <poenitz@gmx.net>
8338
8339         * LyXAction.C:
8340         * commandtags.h: new LFUN_INSERT_BIBKEY
8341
8342         * layout.h:
8343         * lyxlayout.C:
8344         * buffer.C:
8345         * factory.C:
8346         * text.C:
8347         * text2.C:
8348         * text3.C:
8349         * paragraph.[Ch]:
8350         * paragraph_func.C: remove special bibkey handling
8351
8352 2003-02-17  John Levon  <levon@movementarian.org>
8353
8354         * text.C (Delete): fix case where delete at the end of
8355           the very first paragraph would not merge the pars
8356
8357 2003-02-17  John Levon  <levon@movementarian.org>
8358
8359         * lyxrow.C: fix lastPrintablePos()
8360
8361 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8362
8363         * bufferparams.C (writeLaTeX): add a std:here
8364
8365         * buffer.C: and remove a using directive there
8366
8367 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8368
8369         * buffer.C (makeLaTeXFile): move the code that generates the
8370           preamble...
8371
8372         * bufferparams.C (writeLaTeX): ... in this new method
8373
8374         * LaTeXFeatures.C (getEncodingSet): make const
8375           (getLanguages): make const
8376
8377         * MenuBackend.C (binding): returns the binding associated to this
8378           action
8379           (add): sets the status of each item by calling getStatus. Adds
8380           some intelligence.
8381           (read): add support for OptSubMenu
8382           (expand): remove extra separator at the end of expanded menu
8383
8384 2003-02-15  John Levon  <levon@movementarian.org>
8385
8386         * BufferView.C:
8387         * BufferView_pimpl.C:
8388         * bufferlist.h:
8389         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8390           inset code that had no actual effect. Remove unneeded status
8391           code.
8392
8393 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8394
8395         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8396           in preamble
8397
8398 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8399
8400         * text.C (drawLengthMarker): also draw an arrow marker for
8401           symbolic lengths (medskip...)
8402
8403 2003-02-14  John Levon  <levon@movementarian.org>
8404
8405         * tabular.h:
8406         * tabular.C: better method names
8407
8408 2003-02-14  John Levon  <levon@movementarian.org>
8409
8410         * BufferView_pimpl.C:
8411         * bufferlist.C:
8412         * buffer.C:
8413         * converter.C:
8414         * lyx_cb.C:
8415         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8416           it's a more accurate name. Remove some pointless uses.
8417
8418 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8419
8420         * text2.C (LyXText): change order of initilizers to shut off
8421           warnings
8422
8423 2003-02-14  John Levon  <levon@movementarian.org>
8424
8425         * buffer.C: use ParIterator for getParFromID()
8426
8427         * paragraph.h:
8428         * paragraph.C:
8429         * paragraph_pimpl.h:
8430         * paragraph_pimpl.C: remove unused getParFromID()
8431
8432 2003-02-14  John Levon  <levon@movementarian.org>
8433
8434         * buffer.C: remove some very old #if 0'd parse code
8435
8436 2003-02-13  John Levon  <levon@movementarian.org>
8437
8438         * text.h:
8439         * text.C:
8440         * text2.C: move hfillExpansion(), numberOfSeparators(),
8441           rowLast(), rowLastPrintable(), numberofHfills(),
8442           numberOfLabelHfills() ...
8443
8444         * lyxrow.h:
8445         * lyxrow.C: ... to member functions here.
8446
8447         * paragraph.h:
8448         * paragraph.C:
8449         * lyxtext.h:
8450         * text.C: remove LyXText::beginningOfMainBody(), and call
8451           p->beginningOfMainBody() directly. Move the check for
8452           LABEL_MANUAL into the latter.
8453
8454         * text.h:
8455         * text.C:
8456         * text2.C:
8457         * vspace.C:
8458         * BufferView.h:
8459         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8460
8461         * text.h:
8462         * text.C:
8463         * text2.C:
8464         * text3.C:
8465         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8466           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8467
8468 2003-02-13  John Levon  <levon@movementarian.org>
8469
8470         * CutAndPaste.C: remove debug
8471
8472 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8473
8474         * paragraph.C (asString): remove two unused variables
8475
8476         * lyxtextclass.C (readTitleType):
8477           (Read):
8478           (LyXTextClass): handle new members titletype_ and titlename_
8479
8480         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8481
8482 2003-02-09  John Levon  <levon@movementarian.org>
8483
8484         * buffer.h:
8485         * buffer.C: replace hand-coded list with a map for the dep clean
8486
8487 2003-02-08  John Levon  <levon@movementarian.org>
8488
8489         * LaTeX.C: consolidate code into showRunMessage() helper
8490
8491 2003-02-08  John Levon  <levon@movementarian.org>
8492
8493         * lyxfind.C:
8494         * lyxtext.h:
8495         * text2.C:
8496         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8497           and pass the size in explicitly
8498
8499         * BufferView_pimpl.h:
8500         * BufferView_pimpl.C:
8501         * BufferView.h:
8502         * BufferView.C: add getCurrentChange()
8503
8504         * BufferView_pimpl.h:
8505         * BufferView_pimpl.C: handle change lfuns
8506
8507         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8508           for changes. Mark pasted paragraphs as new.
8509
8510         * support/lyxtime.h:
8511         * support/lyxtime.C:
8512         * DepTable.C: abstract time_t as lyx::time_type
8513
8514         * LColor.h:
8515         * LColor.C: add colours for new text, deleted text, changebars
8516
8517         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8518           package use "usenames" option.
8519
8520         * commandtags.h:
8521         * lyxfunc.C:
8522         * LyXAction.C: add change lfuns
8523
8524         * Makefile.am:
8525         * author.h:
8526         * author.C: author handling
8527
8528         * buffer.h:
8529         * buffer.C: add a per-buffer author list, with first entry as
8530           current author. Handle new .lyx tokens for change tracking. Output
8531           author list to .lyx file. Output dvipost stuff to .tex preamble.
8532           Bump lyx format to 222.
8533
8534         * bufferlist.h:
8535         * bufferlist.C: add setCurrentAuthor() to reset current author details
8536           in all buffers.
8537
8538         * bufferparams.h:
8539         * bufferparams.C: add param for tracking
8540
8541         * bufferview_funcs.C: output change info in minibuffer
8542
8543         * Makefile.am:
8544         * changes.h:
8545         * changes.C: add change-tracking structure
8546
8547         * debug.h:
8548         * debug.C: add CHANGES debug flag
8549
8550         * lyxfind.h:
8551         * lyxfind.C: add code for finding the next change piece
8552
8553         * lyxrc.h:
8554         * lyxrc.C: add user_name and user_email
8555
8556         * lyxrow.h:
8557         * lyxrow.C: add a metric for the top of the text line
8558
8559         * lyxtext.h:
8560         * text.C: implement accept/rejectChange()
8561
8562         * lyxtext.h:
8563         * text.C: paint changebars. Paint new/deleted text in the chosen
8564         colours. Strike through deleted text.
8565
8566         * paragraph.h:
8567         * paragraph.C:
8568         * paragraph_pimpl.h:
8569         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8570           in the current change to the insert functions. Rework erase to
8571           mark text as deleted, adding an eraseIntern() and a range-based
8572           erase(). Implement per-paragraph change lookup and
8573           accept/reject.
8574
8575         * paragraph_funcs.C: Fixup paste for change tracking.
8576
8577         * tabular.C: mark added row/columns as new.
8578
8579         * text.C: fix rowLast() to never return -1. Don't allow
8580           spellchecking of deleted text. Track transpose changes. Don't
8581           allow paragraph break or merge where appropriate.
8582
8583         * text2.C: leave cursor at end of selection after a cut.
8584
8585 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8586
8587         * text.C (getLengthMarkerHeight):
8588         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8589         visible on screen too.
8590
8591 2003-02-07  John Levon  <levon@movementarian.org>
8592
8593         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8594
8595 2003-02-05  Angus Leeming  <leeming@lyx.org>
8596
8597         * lyxserver.C (read_ready): revert my patch of 11 September last year
8598         as it sends PC cpu through the roof. Presumably this means that
8599         the lyxserver will no longer run on an Alpha...
8600
8601 2003-01-30  Angus Leeming  <leeming@lyx.org>
8602
8603         * factory.C (createInset): create an InsetCommandParam of type "index"
8604         and use it to 'do the right thing'.
8605
8606         * text2.C (getStringToIndex): ensure that cursor position is always
8607         reset to the reset_cursor position.
8608
8609 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8610
8611         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8612         disabled.
8613
8614 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8615
8616         * bufferview.C:
8617         * lyxcb.C:
8618         * lyxfunc.C: Output messages with identical spelling, punctuation,
8619         and spaces
8620
8621 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8622
8623         * MenuBackend.C (expandFormats): List only viewable export formats
8624         in "View" menu
8625
8626         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8627         message
8628
8629         * lyxfunc.C (getStatus): Make sure that formats other than
8630         "fax" can also be disabled
8631
8632 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8633
8634         * text3.C (dispatch): put the lfuns that insert insets in 3
8635         groups, and call doInsertInset with appropriate arguments.
8636         (doInsertInset): new function, that creates an inset and inserts
8637         it according to some boolean parameters.
8638
8639 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * buffer.C (readFile): remember to pass on 'par' when calling
8642         readFile recursively.
8643
8644 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8645
8646         * MenuBackend.C (expandFormats): add "..." to import formats.
8647
8648 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8649
8650         * paragraph.C (asString): Remove XForms RTL hacks.
8651
8652 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8653         * buffer.C: fix typo
8654
8655 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * Makefile.am (LIBS): delete var
8658         (lyx_LDADD): add @LIBS@ here instead.
8659
8660 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8661
8662         * Clarify the meaning of "wheel mouse jump"
8663
8664 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8665
8666         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8667         tabular in a float
8668
8669 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8670
8671         * importer.C (Loaders): do not preallocate 3 elements in the
8672         vector, since one ends up with 6 elements otherwise
8673
8674 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8675
8676         * DepTable.C (write): write the file name as last element of the
8677         .dep file (because it may contain spaces)
8678         (read): read info in the right order
8679
8680 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8681
8682         * paragraph_pimpl.C (simpleTeXBlanks):
8683         (simpleTeXSpecialChars):
8684         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8685
8686         * tabular.C (latex): add some missing case statements. Reindent.
8687
8688         * MenuBackend.C (expandToc): remove unused variable.
8689
8690 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8691
8692         * LColor.C:
8693         * LaTeX.C:
8694         * LyXAction.C:
8695         * MenuBackend.C:
8696         * buffer.C:
8697         * exporter.C:
8698         * lyxfunc.C:
8699         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8700         and the like.
8701
8702 2003-01-05  John Levon  <levon@movementarian.org>
8703
8704         * BufferView.h:
8705         * BufferView.C: add getEncoding()
8706
8707         * kbsequence.h:
8708         * kbsequence.C: do not store last keypress
8709
8710         * lyxfunc.h:
8711         * lyxfunc.C: store last keypress here instead. Pass encoding
8712           to getISOEncoded()
8713
8714 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8715
8716         * lyx_main.C (init): remove annoying error message when following
8717         symbolic links (bug #780)
8718
8719 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8720
8721         * text.C (insertChar):
8722         * lyxrc.C (getDescription): remove extra spaces
8723
8724 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8725
8726         * lyxrc.C (getDescription): remove extra spaces
8727
8728 2002-12-20  John Levon  <levon@movementarian.org>
8729
8730         * text3.C: hack fix for page up/down across tall rows
8731
8732 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8733
8734         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8735         not been invoked
8736
8737 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8738
8739         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8740         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8741         thesaurus is not compiled in
8742
8743 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8744
8745         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8746
8747 2002-12-16  Angus Leeming  <leeming@lyx.org>
8748
8749         * lyxrc.[Ch]:
8750         * lyx_main.C (init): remove override_x_deadkeys stuff.
8751
8752 2002-12-12  John Levon  <levon@movementarian.org>
8753
8754         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8755           insert. Only remove shift modifier under strict
8756           circumstances.
8757
8758 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8759
8760         * MenuBackend.C (expandToc): fix crash.
8761
8762 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * MenuBackend.C (expandToc): gettext on float names.
8765
8766 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8767
8768         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8769         implement bool empty() [bug 490]
8770
8771 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8772
8773         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8774
8775 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8776
8777         * several files: ws changes
8778
8779 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8780
8781         * text2.C (setCounter): clean up a bit, use boost.format.
8782         (updateCounters): initialize par upon declaration.
8783
8784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8785         if the layout exists. We do not just store the layout any more.
8786         (SwitchLayoutsBetweenClasses): use boost.format
8787
8788 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8789
8790         * converter.C (convert): if from and to files are the same, use a
8791         temporary files as intermediary
8792
8793 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8794
8795         * commandtags.h:
8796         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8797
8798 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8799
8800         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8801
8802 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8803
8804         * tabular.C (asciiPrintCell): use string(size, char) instead of
8805         explicit loop.
8806
8807         * sgml.C (openTag): fix order of arguments to string constructor
8808         (closeTag): ditto
8809
8810         * lyxfunc.C (dispatch): use boost.format
8811
8812         * lots of files: change "c" -> 'c'
8813
8814 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8815
8816         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8817
8818 2002-11-25  Angus Leeming  <leeming@lyx.org>
8819
8820         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8821
8822         * lyx_main.C (init): compile fix.
8823
8824 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8825
8826         * lyx_cb.C (start): boost.formatify
8827         do not include <iostream>
8828
8829         * lengthcommon.C: ws only
8830
8831         * boost-inst.C,BoostFormat.h: add more explict instantations
8832
8833 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8834
8835         * lots of files: handle USE_BOOST_FORMAT
8836
8837 2002-11-21  John Levon  <levon@movementarian.org>
8838
8839         * pspell.C: fix compile
8840
8841 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8842
8843         * lyxfunc.C (dispatch): use boost::format
8844         (open): ditto
8845         (doImport): ditto
8846
8847         * lyxfont.C (stateText): use boost::format
8848
8849         * lyx_main.C (LyX): use boost::format
8850         (init): ditto
8851         (queryUserLyXDir): ditto
8852         (readRcFile): ditto
8853         (parse_dbg): ditto
8854         (typedef boost::function): use the recommened syntax.
8855
8856         * importer.C (Import): use boost::format
8857
8858         * debug.C (showLevel): use boost::format
8859
8860         * converter.C (view): use boost::format
8861         (convert): ditto
8862         (move): ditto
8863         (scanLog): ditto
8864
8865         * bufferview_funcs.C (currentState): use boost::format
8866
8867         * bufferlist.C (emergencyWrite): use boost::format
8868
8869         * buffer.C (readLyXformat2): use boost::format
8870         (parseSingleLyXformat2Token): ditto
8871
8872         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8873
8874         * LaTeX.C (run): use boost::format
8875
8876         * Chktex.C (scanLogFile): use boost::format
8877
8878         * BufferView_pimpl.C (savePosition): use boost::format
8879         (restorePosition): ditto
8880         (MenuInsertLyXFile): ditto
8881
8882         * BoostFormat.h: help file for explicit instation.
8883
8884 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8885
8886         * tabular.C (latex): Support for block alignment in fixed width
8887         columns.
8888
8889 2002-11-17  John Levon  <levon@movementarian.org>
8890
8891         * BufferView_pimpl.C:
8892         * lyx_cb.C:
8893         * lyxfunc.C: split filedialog into open/save
8894
8895 2002-11-08  Juergen Vigna  <jug@sad.it>
8896
8897         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8898         by my last patch (hopefully).
8899
8900 2002-11-08  John Levon  <levon@movementarian.org>
8901
8902         * iterators.h:
8903         * iterators.C:
8904         * buffer.h:
8905         * buffer.C:
8906         * paragraph.h:
8907         * paragraph.C:
8908         * toc.h:
8909         * toc.C: ParConstIterator, and use it (from Lars)
8910
8911 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8912
8913         * lyxtextclass.[Ch]: revise and add doxygen comments
8914
8915 2002-11-07  John Levon  <levon@movementarian.org>
8916
8917         * text.C: fix progress value for spellchecker
8918
8919         * toc.C: fix navigate menu for insetwrap inside minipage
8920
8921         * paragraph_funcs.C: added FIXME for suspect code
8922
8923 2002-11-07  John Levon  <levon@movementarian.org>
8924
8925         * BufferView_pimpl.C: fix redrawing of insets
8926           on buffer switch
8927
8928 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8929
8930         * text2.C (updateCounters): fix bug 668
8931
8932 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8933
8934         * text3.C (dispatch): Do not make the buffer dirty when moving the
8935         cursor.
8936
8937 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8938
8939         * vc-backend.C: STRCONV
8940         (scanMaster): ditto
8941
8942         * text2.C (setCounter): STRCONV
8943
8944         * paragraph.C (asString): STRCONV
8945
8946         * lyxlength.C (asString): STRCONV
8947         (asLatexString): ditto
8948
8949         * lyxgluelength.C (asString): STRCONV
8950         (asLatexString): ditto
8951
8952         * lyxfunc.C (dispatch): STRCONV
8953         (open): ditto
8954
8955         * lyxfont.C (stateText): STRCONV
8956
8957         * importer.C (Import): STRCONV
8958
8959         * counters.C (labelItem): STRCONV
8960         (numberLabel): ditto
8961         (numberLabel): remove unused ostringstream o
8962
8963         * chset.C: STRCONV
8964         (loadFile): ditto
8965
8966         * bufferview_funcs.C (currentState): STRCONV
8967
8968         * buffer.C (readFile): STRCONV
8969         (asciiParagraph): ditto
8970         (makeLaTeXFile): ditto
8971
8972         * Spacing.C (writeEnvirBegin): STRCONV
8973
8974         * LaTeXFeatures.C (getLanguages): STRCONV
8975         (getPackages): ditto
8976         (getMacros): ditto
8977         (getBabelOptions): ditto
8978         (getTClassPreamble): ditto
8979         (getLyXSGMLEntities): ditto
8980         (getIncludedFiles): ditto
8981
8982         * LaTeX.C: STRCONV
8983         (run): ditto
8984         (scanAuxFile): ditto
8985         (deplog): ditto
8986
8987         * LString.h: add the STRCONV macros
8988
8989         * BufferView_pimpl.C (savePosition): STRCONV
8990         (restorePosition): ditto
8991         (MenuInsertLyXFile): ditto
8992
8993         * vc-backend.C (scanMaster): change from submatch[...] to
8994         submatch.str(...)
8995
8996         * funcrequest.C: include config.h
8997
8998         * factory.C: include config.h
8999
9000         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9001
9002         * box.C: include config.h
9003
9004         * LaTeX.C (scanAuxFile): change from submatch[...] to
9005         submatch.str(...)
9006         (deplog): ditto
9007
9008 2002-10-25  Angus Leeming  <leeming@lyx.org>
9009
9010         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9011
9012         * ispell.[Ch] (setError): new method.
9013         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9014         Use setError() insetead of goto END.
9015
9016         * lyx_cb.C (AutoSave): move out child process into new class
9017         AutoSaveBuffer.
9018
9019 2002-10-30  John Levon  <levon@movementarian.org>
9020
9021         * text3.C: make start appendix undoable
9022
9023 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9024
9025         * lyxlength.C (inPixels): Fix returned value.
9026
9027         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9028         environment.
9029
9030 2002-10-24  Angus Leeming  <leeming@lyx.org>
9031
9032         * lyxgluelength.h: no need to forward declare BufferParams
9033         or BufferView, so don't.
9034
9035 2002-10-21  John Levon  <levon@movementarian.org>
9036
9037         * BufferView.C: menuUndo ->undo, redo
9038
9039         * BufferView.h: document, remove dead, make some methods private
9040
9041         * paragraph_funcs.h:
9042         * paragraph_funcs.C:
9043         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9044
9045         * buffer.h:
9046         * buffer.C:
9047         * sgml.h:
9048         * sgml.C: move sgml open/close tag into sgml.C
9049
9050         * bufferview_funcs.h: unused prototype
9051
9052         * lyxfunc.h:
9053         * lyxfunc.C: remove unused
9054
9055         * lyxtext.h:
9056         * text.C: remove unused
9057
9058 2002-10-21  John Levon  <levon@movementarian.org>
9059
9060         * BufferView.h:
9061         * BufferView.C:
9062         * BufferView_pimpl.h:
9063         * BufferView_pimpl.C: fix mouse wheel handling based on
9064           patch from Darren Freeman
9065
9066 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9067
9068         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9069
9070 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9071
9072         * lyxlength.C (inPixels): Fix hanfling of negative length.
9073         Fix LyXLength::MU case.
9074
9075 2002-10-16  John Levon  <levon@movementarian.org>
9076
9077         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9078
9079 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9080
9081         * converter.C (view): add support for $$i (file name) and $$p
9082         (file path) for the viewer command. If $$i is not specified, then
9083         it is appended to the command (for compatibility with old syntax)
9084
9085 2002-10-14  Juergen Vigna  <jug@sad.it>
9086
9087         * undo_funcs.C (textHandleUndo): alter the order in which the
9088         new undopar is added to the LyXText, as we have to set first
9089         the right prev/next and then add it as otherwise the rebuild of
9090         LyXText is not correct. Also reset the cursor to the right paragraph,
9091         with this IMO we could remove the hack in "redoParagraphs()".
9092
9093 2002-10-09  Angus Leeming  <leeming@lyx.org>
9094
9095         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9096         to turn off an optimisation if a new inset is to be inserted.
9097
9098 2002-10-11 André Pönitz <poenitz@gmx.net>
9099
9100         * lyxtext.h: make some functions public to allow access
9101         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9102
9103 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9104
9105         * text3.C (dispatch): when changing layout, avoid an infinite loop
9106         [bug #652]
9107
9108 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9109
9110         * lyxrc.C (read): treat a viewer or converter command of "none" as
9111         if it were empty.
9112
9113         * MenuBackend.C (expandFormats): for an update, also allow the
9114         formats that are not viewable
9115
9116         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9117         script if it is newer than the lyxrc.defaults in user directory
9118
9119 2002-10-07 André Pönitz <poenitz@gmx.net>
9120
9121         * text.C: Vitaly Lipatov's small i18n fix
9122
9123 2002-09-25  Angus Leeming  <leeming@lyx.org>
9124
9125         * ispell.h: doxygen fix.
9126
9127 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9128
9129         * buffer.h (readFile): Add a new argument to the method, to allow
9130         reading of old-format templates.
9131
9132 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9133
9134         * toc.C (getTocList): Get TOC from InsetWrap.
9135
9136 2002-09-16  John Levon  <levon@movementarian.org>
9137
9138         * lyxfunc.C: check tabular for cut/copy too
9139
9140 2002-09-12  John Levon  <levon@movementarian.org>
9141
9142         * LyXAction.C: tidy
9143
9144         * factory.h:
9145         * factory.C: add header
9146
9147         * paragraph_funcs.h:
9148         * paragraph_funcs.C: cleanup
9149
9150 2002-09-11  John Levon  <levon@movementarian.org>
9151
9152         * PrinterParams.h: odd/even default to true
9153
9154 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9155
9156         * PrinterParams.h: update printer parameters for new xforms dialog
9157
9158 2002-09-11  Angus Leeming  <leeming@lyx.org>
9159
9160         * lyxserver.C (read_ready): re-write to make it more transparent
9161         and to make it work in coherent fashion under Tru64 Unix.
9162
9163 2002-09-11  André Pönitz <poenitz@gmx.net>
9164
9165         * commandtags.h:
9166         * LyXAction.C:
9167         * text3.C: implement LFUN_WORDSEL
9168
9169 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9170
9171         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9172         make floatlist_ a boost::shared_ptr<FloatList>
9173
9174         * lyxtextclass.C: include FloatList.h
9175         (LyXTextClass): initialize floatlist_
9176         (TextClassTags): add TC_NOFLOAT
9177         (Read): match "nofloat" to TC_NOFLOAT and use it.
9178         (readFloat): modify call to floatlist_
9179         (floats): ditto
9180         (floats): ditto
9181
9182         * FloatList.[Ch] (FloatList): remove commented out float
9183         initialization.
9184         (erase): new function
9185
9186 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9187
9188         * MenuBackend.C (expandToc): fix crash when there is no document
9189         open
9190
9191 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9192
9193         * many files: Add insetwrap.
9194
9195 2002-09-09  John Levon  <levon@movementarian.org>
9196
9197         * text2.C: remove confusing and awkward depth wraparound
9198
9199 2002-09-09  John Levon  <levon@movementarian.org>
9200
9201         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9202
9203         * buffer.h:
9204         * buffer.C: remove getIncludeonlyList()
9205
9206         * paragraph.C:
9207         * lyxfunc.C: remove headers
9208
9209 2002-09-09  Juergen Vigna  <jug@sad.it>
9210
9211         * text.C (getColumnNearX): fix form Michael this is most
9212         probably a cut&paste bug.
9213
9214 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9215
9216         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9217
9218         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9219         references, ws changes.
9220
9221         * text2.C (init): update counters after init
9222         (insertParagraph): no need to set counter on idividual paragraphs.
9223         (setCounter): access the counters object in the textclass object
9224         on in the buffer object.
9225         (updateCounters): ditto
9226
9227         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9228         shared_ptr<Counters> to avoid loading counters.h in all
9229         compilation units.
9230         (LyXTextClass): initialize ctrs_
9231         (TextClassTags): add TC_COUNTER, and ...
9232         (Read): use it here.
9233         (CounterTags): new tags
9234         (readCounter): new function
9235         (counters): new funtion
9236         (defaultLayoutName): return a const reference
9237
9238         * counters.C (Counters): remove contructor
9239         (newCounter): remove a couple of unneeded statements.
9240         (newCounter): simplify a bit.
9241         (numberLabel): some small formatting changes.
9242
9243         * buffer.[Ch]: remove all traces of counters, move the Counters
9244         object to the LyXTextClass.
9245
9246 2002-09-06  Alain Castera  <castera@in2p3.fr>
9247
9248         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9249         package to set the horizontal alignment on fixed width columns.
9250
9251         * lyx_sty.C:
9252         * lyx_sty.h: added tabularnewline macro def.
9253
9254         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9255
9256 2002-09-06  John Levon  <levon@movementarian.org>
9257
9258         * LyXAction.C: tooltips for sub/superscript
9259
9260         * MenuBackend.C: a bit more verbose
9261
9262         * lyxfunc.C: tiny clean
9263
9264         * undo_funcs.C: document undo_frozen
9265
9266 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9267
9268         * counters.C (Counters): add missing algorithm counter.
9269
9270         * text2.C (setCounter): lookup the counter with layouts latexname
9271         instead of by section number.
9272         (setCounter): use a hackish way to lookup the correct enum
9273         counter.
9274         a float name->type change
9275         reset enum couners with counter name directly instead of depth value.
9276
9277         * counters.C (Counters): remove the push_backs, change to use the
9278         float type not the float name.
9279         (labelItem): remove unused string, float name->type change
9280
9281         * counters.h: don't include vector, loose the enums and sects vectors
9282
9283 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9284
9285         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9286         (Read): add float->TC_FLOAT to textclassTags
9287         (Read): and handle it in the switch
9288         (readFloat): new function
9289
9290         * FloatList.C (FloatList): comment out the hardcoded float
9291         definitions.
9292
9293         * lyxlayout.h: ws change.
9294
9295 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9296
9297         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9298
9299 2002-09-03  Angus Leeming  <leeming@lyx.org>
9300
9301         * BufferView_pimpl.h: qualified name is not allowed in member
9302         declaration: WorkArea & Pimpl::workarea() const;
9303
9304         * factory.C: added using std::endl directive.
9305
9306         * text3.C: added using std::find and std::vector directives.
9307
9308 2002-08-29  André Pönitz <poenitz@gmx.net>
9309
9310         * lyxtext.h:
9311         * text2.C: remove unused member number_of_rows
9312
9313         * Makefile.am:
9314         * BufferView2.C: remove file, move contents to...
9315         * BufferView.C: ... here
9316
9317         * BufferView_pimpl.C:
9318         * factory.C: move more inset creation to factory
9319
9320         * vspace.C: avoid direct usage of LyXText, ws changes
9321
9322         * BufferView.[Ch]:
9323                 don't provide direct access to WorkArea, use two simple
9324                 acessors haveSelction() and workHeight() instead
9325
9326
9327 2002-08-29  John Levon  <levon@movementarian.org>
9328
9329         * BufferView_pimpl.C (dispatch): do not continue when
9330           no buffer
9331
9332 2002-08-28  André Pönitz <poenitz@gmx.net>
9333
9334         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9335
9336         * BufferView.h:
9337         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9338
9339 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9340
9341         * buffer.C: increment LYX_FORMAT to 221
9342
9343         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9344         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9345
9346         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9347
9348         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9349
9350 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9351
9352         * factory.C (createInset): use LyXTextClass::floats
9353
9354         * MenuBackend.C (expandFloatListInsert):
9355         (expandFloatInsert):
9356         (expandToc):
9357
9358         * text2.C (setCounter):
9359
9360         * LaTeXFeatures.C (useFloat):
9361         (getFloatDefinitions):
9362
9363         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9364
9365         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9366         floatlist_, with accessor floats().
9367
9368         * FloatList.h: remove global FloatList
9369
9370 2002-08-26  André Pönitz <poenitz@gmx.net>
9371
9372         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9373
9374         * BufferView.h:
9375         * BufferView2.C:
9376         * BufferView_pimpl.C:
9377         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9378
9379 2002-08-25  John Levon  <levon@movementarian.org>
9380
9381         * LyXAction.C: fix margin note description
9382
9383 2002-08-24  John Levon  <levon@movementarian.org>
9384
9385         * buffer.C:
9386         * bufferlist.C:
9387         * bufferview_funcs.C:
9388         * lyxfont.C:
9389         * undo_funcs.C: cleanups
9390
9391         * lyxfunc.C: disable CUT/COPY when no selection
9392
9393 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9394
9395         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9396         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9397
9398         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9399         Add backward compatibility to "mono", "gray" and "no".
9400
9401 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9402
9403         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9404         (and file_format >= 200).
9405
9406 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9407
9408         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9409
9410 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9411
9412         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9413
9414 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9415
9416         * BufferView_pimpl.C:
9417         * LyXAction.C:
9418         * buffer.C:
9419         * commandtags.h:
9420         * lyxfunc.C:
9421         * paragraph.[Ch]:
9422         * text2.C:
9423         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9424         inset and code to make it  work with the paragraph code. The inset
9425         can be anywhere in the paragraph, but will only do the expected
9426         thing in LaTeX if the layout file contains the parameter line
9427                         OptionalArgs    1
9428         (or more generally, a nonzero value) for that layout.
9429
9430 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9431
9432         * paragraph.h: remove the declaration of undefined counters class
9433         function.
9434
9435 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9436
9437         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9438         Dr. Richard Hawkins.
9439
9440 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9441
9442         * paragraph_funcs.h: remove some unneeded includes
9443
9444         * text.C (backspace): pasteParagraph now in global scipe
9445
9446         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9447         (pasteSelection): ditto
9448
9449         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9450         * paragraph_funcs.C (pasteParagraph): ... here
9451
9452 2002-08-20  André Pönitz <poenitz@gmx.net>
9453
9454         * commandtags.h: new LFUNs for swapping/copying table row/colums
9455
9456         * LyXAction.C:
9457         * lyxfunc.C: support for new lfuns
9458
9459 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9460
9461         * tabular.C:
9462         * buffer.[Ch]: remove NO_COMPABILITY stuff
9463
9464 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9465
9466         * boost.C (throw_exception): new file, with helper function for
9467         boost compiled without exceptions.
9468
9469         * paragraph.h:
9470         * lyxlength.C:
9471         * buffer.C:
9472         * ParameterStruct.h:
9473         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9474
9475         * bufferlist.C (emergencyWriteAll): use boost bind
9476
9477         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9478
9479         * text.C: include paragraph_funcs.h
9480         (breakParagraph): breakParagraph is now in global scope
9481
9482         * paragraph_funcs.[Ch]: new files
9483
9484         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9485         global scope
9486
9487         * buffer.C: include paragraph_funcs.h
9488         (insertStringAsLines): breakParagraph is now in global scope
9489
9490         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9491         paragraph_funcs.C
9492
9493         * CutAndPaste.C: include paragraph_funcs.h
9494         (cutSelection): breakParagraphConservative is now in global scope
9495         (pasteSelection): ditto
9496
9497         * buffer.h: declare oprator== and operator!= for
9498         Buffer::inset_iterator
9499
9500         * bufferlist.C (emergencyWrite): don't use fmt(...)
9501
9502         * text3.C: add using std::endl
9503
9504         * BufferView.C (moveCursorUpdate): remove default arg
9505
9506 2002-08-20  André Pönitz <poenitz@gmx.net>
9507
9508         * buffer.[Ch]: move inline functions to .C
9509
9510         * BufferView2.C:
9511         * BufferView_pimpl.C:
9512         * text.C:
9513         * buffer.[Ch]: use improved inset_iterator
9514
9515         * buffer.C:
9516         * paragraph.[Ch]: write one paragraph at a time
9517
9518 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9519
9520         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9521         style if style is not specified.
9522
9523 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9524
9525         * text2.C (setCounter): when searching for right label for a
9526         caption, make sure to recurse to parent insets (so that a caption
9527         in a minipage in a figure float works) (bug #568)
9528
9529 2002-08-20  André Pönitz <poenitz@gmx.net>
9530
9531         * text3.C: new file for LyXText::dispatch() and helpers
9532
9533         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9534
9535         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9536
9537 2002-08-19  André Pönitz <poenitz@gmx.net>
9538
9539         * lyxtext.h:
9540         * text.C: new LyXText::dispatch()
9541
9542         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9543
9544 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9545
9546         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9547
9548         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9549         Hebrew text.
9550
9551 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9552
9553         * Makefile.am: use $(variables) instead of @substitutions@
9554
9555 2002-08-15  André Pönitz <poenitz@gmx.net>
9556
9557         * lyxfunc.C:
9558         * BufferView_pimpl.C: streamlining mathed <-> outer world
9559         interaction
9560
9561         * commandtags.h:
9562         * LyXAction.C: remove unused LFUN_MATH
9563
9564 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9565
9566         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9567
9568 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9569
9570         * paragraph.C (Paragraph): reformat a bit
9571         (cutIntoMinibuffer): use builtin InsetList function instad of
9572         doing it manually.
9573         (getInset): ditto
9574
9575         * buffer.C: include boost/bind.hpp, add using std::for_each
9576         (writeFileAscii): use ParagraphList iterators
9577         (validate): use for_each for validate traversal of paragraphs
9578         (getBibkeyList): use ParagraphList iterators
9579         (resizeInsets): use for_each to resizeInsetsLyXText for all
9580         paragraphs.
9581         (getParFromID): use ParagraphList iterators
9582
9583         * BufferView2.C (lockInset): use paragraph list and iterators
9584
9585 2002-08-14  John Levon  <levon@movementarian.org>
9586
9587         * lyxserver.C: remove spurious xforms include
9588
9589 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9590
9591         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9592
9593 2002-08-13  André Pönitz <poenitz@gmx.net>
9594
9595         * LyXAction.[Ch]:
9596         * lyxfunc.C: further cleaning
9597
9598 2002-08-13  André Pönitz <poenitz@gmx.net>
9599
9600         * funcrequest.h: new constructor
9601
9602         * funcrequest.C: move stuff here from .h
9603
9604         * Makefile.am:
9605         * BufferView_pimpl.C:
9606         * LyXAction.C:
9607         * toc.C:
9608         * lyxfunc.C: subsequent changes
9609
9610         * lyxfunc.h: new view() member function
9611
9612         * lyxfunc.C: subsequent changes
9613
9614 2002-08-13  Angus Leeming  <leeming@lyx.org>
9615
9616         * BufferView2.C:
9617         * BufferView_pimpl.C:
9618         * buffer.C:
9619         * converter.C:
9620         * importer.C:
9621         * lyxfunc.C:
9622         * lyxvc.C:
9623         * toc.C:
9624         * vc-backend.C:
9625         changes due to the changed LyXView interface that now returns references
9626         to member variables not pointers.
9627
9628 2002-08-13  Angus Leeming  <leeming@lyx.org>
9629
9630         * WordLangTuple (word, lang_code): return references to strings,
9631         not strings.
9632
9633         * BufferView.h:
9634         * SpellBase.h:
9635         * lyxtext.h: forward-declare WordLangTuple.
9636
9637         * BufferView2.C:
9638         * ispell.C:
9639         * pspell.C:
9640         * text.C: #include "WordLangTuple.h".
9641
9642         * lyxtext.h:
9643         * text.C: (selectNextWordToSpellcheck): constify return type.
9644
9645 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9646
9647         * buffer.C:
9648         * buffer.h:
9649         * lyxtext.h:
9650         * paragraph.C:
9651         * paragraph_pimpl.h:
9652         * text.C:
9653         * text2.C:
9654         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9655         suggested by Angus.
9656         Made updateCounter always count from start of buffer, and removed
9657         second argument (par).
9658         Reverted floats number display to '#'. Perhaps I'll try again when the
9659         code base is sanitized a bit.
9660
9661 2002-08-12  Angus Leeming  <leeming@lyx.org>
9662
9663         * buffer.[Ch] (getLabelList): constify.
9664
9665 2002-08-07  André Pönitz <poenitz@gmx.net>
9666
9667         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9668
9669         * funcrequest.h: extension to keep mouse (x,y) position
9670
9671 2002-08-12  Juergen Vigna  <jug@sad.it>
9672
9673         * BufferView2.C (insertErrors): forbid undo when inserting error
9674         insets.
9675
9676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9677
9678 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9679
9680         * ParagraphList.[Ch]: new files
9681
9682         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9683
9684         * BufferView2.C (lockInset): ParagraphList changes
9685         * toc.C: ditto
9686         * text2.C: ditto
9687         * bufferlist.C: ditto
9688         * buffer.h: ditto
9689         * buffer.C: ditto
9690
9691 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9692
9693         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9694         unused class variable counter_,
9695
9696         * paragraph.[Ch] (getFirstCounter): delete unused function
9697
9698         * counters.C: include LAssert.h
9699         (reset): add a new function with no arg, change other version to
9700         not have def. arg and to not allow empty arg.
9701
9702         * text2.C (setCounter): remove empty arg from call to Counters::reset
9703
9704 2002-08-11  John Levon  <levon@movementarian.org>
9705
9706         * Makefile.am: add WordLangTuple.h
9707
9708 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9709
9710         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9711         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9712
9713         * insets/insettext.C: InsetList changes
9714
9715         * graphics/GraphicsSupport.C (operator()): InsetList changes
9716
9717         * toc.C (getTocList): InsetList changes
9718
9719         * paragraph_pimpl.[Ch]: InsetList changes
9720
9721         * paragraph.[Ch]: InsetList changes
9722
9723         * buffer.C (inset_iterator): InsetList changes
9724         (setParagraph): ditto
9725         * buffer.h (inset_iterator): ditto
9726         * iterators.C (operator++): ditto
9727         * iterators.h: ditto
9728
9729         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9730
9731         * InsetList.[Ch]: new files, most InsetList handling moved out of
9732         paragraph.C.
9733
9734         * BufferView2.C (removeAutoInsets): InsetList changes
9735         (lockInset): ditto
9736         (ChangeInsets): ditto
9737
9738 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9739
9740         * paragraph_pimpl.h (empty): new function
9741
9742         * paragraph.[Ch] (empty): new function
9743
9744         * other files: use the new Paragraph::empty function
9745
9746 2002-08-09  John Levon  <levon@movementarian.org>
9747
9748         * lyxtext.h: remove unused refresh_height
9749
9750 2002-08-09  John Levon  <levon@movementarian.org>
9751
9752         * Makefile.am:
9753         * sgml.h:
9754         * sgml.C:
9755         * buffer.C:
9756         * paragraph.h:
9757         * paragraph.C: move sgml char escaping out of paragraph
9758
9759         * paragraph.h:
9760         * paragraph.C: remove id setter
9761
9762         * buffer.C:
9763         * paragraph.C:
9764         * paragraph_pimpl.C: remove dead tex_code_break_column
9765
9766         * bufferview_funcs.C: small cleanup
9767
9768         * lyxfunc.C: remove dead proto
9769
9770         * lyxtext.h: make some stuff private. Remove some dead stuff.
9771
9772         * lyxgluelength.C: make as[LyX]String() readable
9773
9774 2002-08-08  John Levon  <levon@movementarian.org>
9775
9776         * LyXAction.h:
9777         * LyXAction.C:
9778         * MenuBackend.C:
9779         * ToolbarDefaults.C:
9780         * lyxfunc.C:
9781         * lyxrc.C:
9782         * toc.C: lyxaction cleanup
9783
9784 2002-08-08  John Levon  <levon@movementarian.org>
9785
9786         * BufferView2.C: small cleanup
9787
9788         * lyxfind.h:
9789         * lyxfind.C: move unnecessary header into the .C
9790
9791 2002-08-08  John Levon  <levon@movementarian.org>
9792
9793         * funcrequest.h: just tedious nonsense
9794
9795         * lyx_main.h:
9796         * lyx_main.C: cleanups
9797
9798         * buffer.C:
9799         * vspace.C: remove dead header lyx_main.h
9800
9801 2002-08-07  Angus Leeming  <leeming@lyx.org>
9802
9803         * Paragraph.[Ch]:
9804         * paragraph_pimpl.h:
9805         Forward declare class Counters in paragraph.h by moving the ctrs member
9806         variable into Paragraph::Pimpl.
9807         (counters): new method, returning a reference to pimpl_->ctrs.
9808
9809         * text2.C: ensuing changes.
9810
9811 2002-08-07  John Levon  <levon@movementarian.org>
9812
9813         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9814
9815         * BufferView_pimpl.C: announce X selection on double/triple
9816           click
9817
9818         * lyx_main.C: use correct bool in batch dispatch
9819
9820         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9821
9822 2002-08-07  André Pönitz <poenitz@gmx.net>
9823
9824         * funcrequest.h: new class to wrap a kb_action and its argument
9825
9826         * BufferView.[Ch]:
9827         * BufferView_pimpl[Ch]:
9828         * LaTeX.C:
9829         * LyXAction.[Ch]:
9830         * lyxfunc.[Ch]:
9831         * lyxrc.C: subsequent changes
9832
9833
9834 2002-08-07  John Levon  <levon@movementarian.org>
9835
9836         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9837           document options change.
9838
9839 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9840
9841         * counters.[Ch]
9842         * text2.C
9843         * paragraph.[Ch]
9844         * makefile.am: move counters functionality over from
9845         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9846
9847 2002-08-06  John Levon  <levon@movementarian.org>
9848
9849         * WordLangTuple.h: new file for word + language code tuple
9850
9851         * SpellBase.h:
9852         * pspell.h:
9853         * pspell.C:
9854         * ispell.h:
9855         * ispell.C:
9856         * lyxtext.h:
9857         * text.C:
9858         * text2.C:
9859         * BufferView.h:
9860         * BufferView2.C: use WordLangTuple
9861
9862         * layout.h:
9863         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9864
9865 2002-08-06  John Levon  <levon@movementarian.org>
9866
9867         * lyx_main.C: fix cmdline batch handling
9868
9869 2002-08-06  André Pönitz <poenitz@gmx.net>
9870
9871         * lyxrc.C: set default for show_banner to true
9872
9873 2002-08-06  John Levon  <levon@movementarian.org>
9874
9875         * pspell.C: fix a crash, and allow new aspell to work
9876
9877 2002-08-06  John Levon  <levon@movementarian.org>
9878
9879         * lyxfunc.C:
9880         * kbmap.C: small cleanup
9881
9882         * vspace.h:
9883         * vspace.C: add const
9884
9885 2002-08-05  John Levon  <levon@movementarian.org>
9886
9887         * LyXAction.C: back to tabular-insert
9888
9889 2002-08-04  John Levon  <levon@movementarian.org>
9890
9891         * BufferView.h:
9892         * BufferView.C: cosmetic change
9893
9894         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9895
9896         * bufferlist.C:
9897         * buffer.h:
9898         * buffer.C:
9899         * lyxcb.h:
9900         * lyxcb.C:
9901         * lyxserver.C:
9902         * lyxvc.C:
9903         * vc-backend.C:
9904         * BufferView2.C: purge all "Lyx" not "LyX" strings
9905
9906         * lyxcursor.h:
9907         * lyxcursor.C: attempt to add some documentation
9908
9909         * lyxfunc.C:
9910         * commandtags.h:
9911         * LyXAction.C:
9912         * ToolbarDefaults.C:
9913         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9914           merge with LFUN_TABULAR_INSERT
9915
9916         * Makefile.am:
9917         * SpellBase.h:
9918         * ispell.h:
9919         * ispell.C:
9920         * pspell.h:
9921         * pspell.C: split up i/pspell implementations into separate
9922           files, many cleanups
9923
9924         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9925
9926         * text2.C: some cleanup
9927
9928         * lyxfunc.C: don't check for isp_command == "none" any more, it
9929           didn't make any sense
9930
9931 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9932
9933         * counters.[Ch]
9934         * text2.C
9935         * paragraph.[Ch]
9936         * makefile.am: move counters functionality over
9937         from text2.C/paragraph.[Ch] to counters.[Ch], and
9938         make proper C++.
9939 2002-08-02  John Levon  <levon@movementarian.org>
9940
9941         * buffer.C: s/lyxconvert/lyx2lyx/
9942
9943 2002-08-02  Angus Leeming  <leeming@lyx.org>
9944
9945         * lyxlex.C: revert John's change as it breaks reading of the user
9946         preamble.
9947
9948 2002-08-02  Angus Leeming  <leeming@lyx.org>
9949
9950         * importer.C (Import):
9951         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9952         changes due to LyXView::view() now returning a boost::shared_ptr.
9953
9954 2002-08-02  John Levon  <levon@movementarian.org>
9955
9956         * lyxlex.C: small cleanup
9957
9958 2002-08-02  John Levon  <levon@movementarian.org>
9959
9960         * text2.C (status): small cleanup, no logic change
9961
9962 2002-08-01  John Levon  <levon@movementarian.org>
9963
9964         * buffer.h:
9965         * buffer.C (writeFile): don't output alerts, caller
9966           handles this
9967
9968         * bufferlist.C:
9969         * lyx_cb.C: from above
9970
9971         * lyxfunc.C: allow to open non-existent files
9972
9973 2002-07-31  John Levon  <levon@movementarian.org>
9974
9975         * lyxserver.C: don't let incidental errors get
9976           in the way (errno)
9977
9978 2002-07-30  John Levon  <levon@movementarian.org>
9979
9980         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9981
9982 2002-07-30  John Levon  <levon@movementarian.org>
9983
9984         * lyxserver.h:
9985         * lyxserver.C: remove I/O callback too
9986
9987 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9990         log.
9991
9992 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9993
9994         * many files: strip,frontStrip -> trim,ltrim,rtrim
9995
9996 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9997
9998         * PrinterParams.h: remove extern containsOnly, and include
9999         support/lstrings.h instead.
10000
10001         * LaTeX.C (scanAuxFile): modify because of strip changes
10002         (deplog): ditto
10003         * buffer.C (makeLaTeXFile): ditto
10004         * bufferparams.C (writeFile): ditt
10005         * lyxfont.C (stateText): ditto
10006         * lyxserver.C (read_ready): ditto
10007         * vc-backend.C (scanMaster): ditto
10008
10009         * BufferView_pimpl.h: ws changes
10010
10011         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10012
10013 2002-07-26  André Pönitz <poenitz@gmx.net>
10014
10015         * kb_sequence.C: remove unnedred usings
10016
10017 2002-07-26  Juergen Vigna  <jug@sad.it>
10018
10019         * lyxfind.C (LyXReplace): we have to check better if the returned
10020         text is not of theLockingInset()->getLockingInset().
10021
10022 2002-07-25  Juergen Vigna  <jug@sad.it>
10023
10024         * lyxfind.C (LyXReplace): don't replace if we don't get the
10025         right LyXText.
10026
10027         * undo_funcs.C (createUndo): remove debugging code.
10028
10029 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10030
10031         * buffer.C (parseSingleLyXformat2Token): Use default placement
10032         when reading old floats.
10033
10034         * FloatList.C (FloatList): Change the default placement of figure
10035         and tables to "tbp".
10036
10037 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * MenuBackend.C: using std::max
10040
10041 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10042
10043         * MenuBackend.C (expandToc):
10044         (expandToc2): code moved from xforms menu frontend. It is now
10045         generic and TOCs are transparent to menu frontends.
10046
10047 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10048
10049         * toc.C (getTocList): protect against buf=0
10050
10051         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10052         Menu as first parameter. Now, this calls itself recursively to
10053         expand a whole tree (this will be useful for TOC handling)
10054         (expandFloatInsert): remove 'wide' version of floats
10055
10056         * MenuBackend.h (submenuname): returns the name of the submenu.
10057         (submenu): returns the submenu itself, provided it has been
10058         created by MenuBackend::expand
10059
10060 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10061
10062         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10063         insets which have noFontChange == true. (bug #172)
10064
10065 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10066
10067         * BufferView_pimpl.C: add connection objects and use them...
10068         (Pimpl): here.
10069
10070 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10071
10072         * MenuBackend.C (expandLastfiles):
10073         (expandDocuments):
10074         (expandFormats):
10075         (expandFloatListInsert):
10076         (expandFloatInsert):
10077         (expand): split expand in parts
10078
10079 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * lyx_gui.C: use lyx_gui::exit()
10082
10083 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10084
10085         * LyXAction.C: show the failing pseudo action
10086
10087 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10088
10089         * buffer.C (readFile): Run the lyxconvert script in order to read
10090         old files.
10091
10092 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10093
10094         * LyXAction.C:
10095         * commandtags.h:
10096         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10097
10098 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10099
10100         * LyXAction.C:
10101         * commandtags.h:
10102         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10103
10104 2002-07-22  Herbert Voss  <voss@lyx.org>
10105
10106         * lengthcommon.C:
10107         * lyxlength.[Ch]: add support for the vertical lengths
10108
10109 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * toc.[Ch]: std:: fixes
10112
10113 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * lyxrc.C: do not include lyx_main.h
10116
10117         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10118         for layouts
10119
10120         * lyxrc.C:
10121         * encoding.C:
10122         * bufferlist.C:
10123         * BufferView2.C: include "lyxlex.h"
10124
10125         * tabular.h:
10126         * bufferparams.h: do not #include "lyxlex.h"
10127
10128         * lyxtextclasslist.C (Add): remove method
10129         (classlist): renamed to classlist_
10130
10131         * paragraph_pimpl.C:
10132         * paragraph.C:
10133         * text2.C:
10134         * CutAndPaste.C:
10135         * bufferview_funcs.C:
10136         * bufferlist.C:
10137         * text.C:
10138         * LaTeXFeatures.C:
10139         * buffer.C:
10140         * toc.C (getTocList): use BufferParams::getLyXTextClass
10141
10142         * toc.C (getTocList): use InsetFloat::addToToc
10143
10144         * toc.[Ch]: new files, containing helper functions to handle table
10145         of contents
10146
10147         * lyxfunc.C (dispatch): no need to remove spaces around command
10148         given as a string
10149         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10150         first command of the sequence; it is not very clever, but I do not
10151         have a better idea, actually
10152
10153         * LyXAction.C (LookupFunc): make sure to remove space at the
10154         beginning and end of the command
10155
10156 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * MenuBackend.C (getMenubar): new method: return the menubar of
10159         this menu set
10160         (read): treat differently reading of menu and menubar (in
10161         particular, the menubar has no name now)
10162         (Menu::menubar): remove
10163
10164         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10165         saving is finished
10166
10167 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10168
10169         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10170         a bibitem inset in a RTL paragraph.
10171
10172 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * paragraph_pimpl.C: constify
10175
10176         * BufferView_pimpl.C:
10177         * LaTeX.C:
10178         * lyxfunc.C: fix dispatch in a nicer way
10179
10180 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10181
10182         * lyxfunc.C (dispatch):
10183         * BufferView_pimpl.C:
10184         * BufferView_pimpl.h:
10185         * BufferView.C:
10186         * BufferView.h: rename Dispatch() to dispatch()
10187
10188         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10189
10190         * lyxlayout.C (Read): honor DependsOn tag
10191
10192         * lyxlayout.[Ch] (depends_on): new method
10193
10194         * version.C.in: update lyx_docversion
10195
10196         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10197
10198         * paragraph.C (validate): remove from here...
10199         * paragraph_pimpl.C (validate): ... and move here
10200         (isTextAt): make it const
10201
10202         * buffer.C (getLists): ws cleanup
10203
10204 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10205
10206         * language.C (read): Use iso8859-1 encoding in latex_lang
10207         (this prevents LyX from crashing when using iso10646-1 encoding).
10208
10209 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10210
10211         * text2.C (toggleInset): if cursor is inside an inset, close the
10212         inset and leave cursor _after_ it
10213
10214 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * lyxfunc.C: move minibuffer completion handling out of here
10217
10218 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * BufferView_pimpl.C:
10221         * LaTeX.C: fix dispatch calls
10222
10223 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10224
10225         * text.C (drawChars): Fix Arabic text rendering.
10226
10227 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * LyXAction.C:
10230         * commandtags.h:
10231         * lyxfunc.C: remove message-push/pop
10232
10233         * lyxserver.C:
10234         * lyxfunc.h:
10235         * lyxfunc.C: rationalise some code by removing verboseDispatch
10236           in favour of a bool argument to dispatch()
10237
10238 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10239
10240         * lyx_main.C (init): make sure to read symlinks as absolute paths
10241
10242 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * lyxfunc.h:
10245         * lyxfunc.C: no need for commandshortcut to be a member
10246
10247 2002-07-15  André Pönitz <poenitz@gmx.net>
10248
10249         * converter.C: add support for $$s (scripts from lib/scripts dir)
10250         * lyx_main.C: white space
10251
10252 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10253
10254         * bufferlist.C:
10255         * lyxrc.h:
10256         * lyxrc.C: remove second exit confirmation
10257
10258 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * BufferView.h:
10261         * BufferView.C:
10262         * BufferView2.C:
10263         * BufferView_pimpl.h:
10264         * BufferView_pimpl.C:
10265         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10266
10267 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10268
10269         * MenuBackend.C (expand): add numeric shortcuts to document menu
10270
10271         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10272
10273 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10274
10275         * lyxfont.C (setLyXFamily):
10276         (setLyXSeries):
10277         (setLyXShape):
10278         (setLyXSize):
10279         (setLyXMisc):
10280         (lyxRead):
10281         * debug.C (value):
10282         * buffer.C (asciiParagraph): use ascii_lowercase
10283
10284 2002-07-15  Mike Fabian  <mfabian@suse.de>
10285
10286         * lyxlex_pimpl.C (search_kw):
10287         * lyxlex.C (getLongString):
10288         * converter.h (operator<):
10289         * converter.C (operator<):
10290         * buffer.C (parseSingleLyXformat2Token):
10291         (asciiParagraph):
10292         * ToolbarDefaults.C (read):
10293         * MenuBackend.C (checkShortcuts):
10294         (read):
10295         * LColor.C (getFromGUIName):
10296         (getFromLyXName): use the compare_ascii_no_case instead of
10297         compare_no_case, because in turkish, 'i' is not the lowercase
10298         version of 'I', and thus turkish locale breaks parsing of tags.
10299
10300 2002-07-16  Angus Leeming  <leeming@lyx.org>
10301
10302         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10303         now takes a Buffer const & argument.
10304
10305 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * BufferView.C (resize): check there's a buffer to resize
10308
10309 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * lyxfunc.C: remove dead code
10312
10313         * lyxserver.h:
10314         * lyxserver.C: use lyx_guii::set_read_callback
10315
10316 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10317
10318         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10319         an inset in a RTL paragraph.
10320
10321 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10322
10323         * lyxfunc.C: repaint after a font size update
10324
10325 2002-07-15  André Pönitz <poenitz@gmx.net>
10326
10327         * lyxlength.C: inBP should be able to return negative values
10328
10329 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * lyxfunc.C: use lyx_gui::update_fonts()
10332
10333 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * lyxfunc.C: use lyx_gui::update_color()
10336
10337 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * bufferlist.C:
10340         * lyxfunc.h:
10341         * lyxfunc.C:
10342         * lyxrc.h:
10343         * lyxrc.C: remove file->new asks for name option, and let
10344           buffer-new take an argument
10345
10346 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * BufferView_pimpl.C: remove unneeded extra repaint()
10349
10350 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * LyXAction.C: allow command-sequence with NoBuffer
10353
10354         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10355
10356 2002-07-10  Angus Leeming  <leeming@lyx.org>
10357
10358         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10359
10360 2002-07-09  Angus Leeming  <leeming@lyx.org>
10361
10362         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10363
10364 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * lengthcommon.h: whitespace
10367
10368         * lyxfunc.C: update scrollbar after goto paragraph
10369
10370         * lyxtext.h: factor out page break drawing, and fix it so
10371           page break/added space paints as selected nicely
10372
10373 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * BufferView_pimpl.C: add FIXMEs, clean up a little
10376
10377 2002-07-09  André Pönitz <poenitz@gmx.net>
10378
10379         * lyxfont.[Ch]: support for wasy symbols
10380
10381 2002-07-08  André Pönitz <poenitz@gmx.net>
10382
10383         * BufferView_pimpl.C: apply John's patch for #93.
10384
10385 2002-07-05  Angus Leeming  <leeming@lyx.org>
10386
10387         * BufferView_pimpl.C (buffer): generate previews if desired.
10388
10389         * LColor.h: add "preview" to the color enum.
10390
10391         * LColor.C (LColor): add a corresponding entry to the items array.
10392
10393         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10394         with this buffer.
10395
10396 2002-07-05  Angus Leeming  <leeming@lyx.org>
10397
10398         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10399         The body of the code is now in the method that is passed an ostream &
10400         rather than a file name.
10401         Pass an additional only_preamble parameter, useful for the forthcoming
10402         preview stuff.
10403
10404 2002-07-03  André Pönitz <poenitz@gmx.net>
10405
10406         * lyxfunc.C: simplify getStatus() a bit for math stuff
10407
10408 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10409
10410         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10411
10412 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10413
10414         * text.C (changeRegionCase): do not change case of all the
10415         document when region ends at paragraph end (bug #461)
10416
10417 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10418
10419         * paragraph.C (startTeXParParams):
10420         (endTeXParParams): add \protect when necessary
10421
10422 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * BufferView_pimpl.C (workAreaExpose): remove warning
10425
10426 2002-06-27  Angus Leeming  <leeming@lyx.org>
10427
10428         * Makefile.am: add lyxlayout_ptr_fwd.h.
10429
10430 2002-06-26  André Pönitz <poenitz@gmx.net>
10431
10432         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10433
10434 2002-06-25  Angus Leeming  <leeming@lyx.org>
10435
10436         * lyxfunc.C (dispatch): Comment out the call to
10437         grfx::GCache::changeDisplay. The method no longer exists now that the
10438         pixmap generation part of the graphics loader has been moved into
10439         InsetGraphics.
10440
10441 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10442
10443         * text2.C: layout as layout
10444
10445         * text.C: layout as layout
10446
10447         * tabular.C (OldFormatRead): layout as layout
10448
10449         * paragraph_pimpl.C (TeXDeeper): layout as layout
10450         (realizeFont): layout as layout
10451
10452         * paragraph.C (writeFile): layout as layout
10453         (validate): layout as layout
10454         (getFont): layout as layout
10455         (getLabelFont): layout as layout
10456         (getLayoutFont): layout as layout
10457         (breakParagraph): layout as layout
10458         (stripLeadingSpaces): layout as layout
10459         (getEndLabel): layout as layout
10460         (getMaxDepthAfter): layout as layout
10461         (applyLayout): layout as layout
10462         (TeXOnePar): layout as layout
10463         (simpleTeXOnePar): layout as layout
10464         (TeXEnvironment): layout as layout
10465         (layout): layout as layout
10466         (layout): layout as layout
10467
10468         * lyxtextclass.C (compare_name): new functor to work with
10469         shared_ptr, layout as layout
10470         (Read): layout as layout
10471         (hasLayout): layout as layout
10472         (operator): layout as layout
10473         (delete_layout): layout as layout
10474         (defaultLayout): layout as layout
10475
10476         * lyxlayout_ptr_fwd.h: new file
10477
10478         * lyxlayout.C (Read): layout as layout
10479
10480         * lyx_cb.C (MenuInsertLabel): layout as layout
10481
10482         * bufferlist.C (newFile): layout as layout
10483
10484         * buffer.C (readLyXformat2): layout as layout
10485         (parseSingleLyXformat2Token): layout as layout
10486         (insertStringAsLines): layout as layout
10487         (asciiParagraph): layout as layout
10488         (latexParagraphs): layout as layout
10489         (makeLinuxDocFile): layout as layout
10490         (simpleLinuxDocOnePar): layout as layout
10491         (makeDocBookFile): layout as layout
10492         (simpleDocBookOnePar): layout as layout
10493         (getLists): layout as layout
10494
10495         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10496
10497         * CutAndPaste.C (cutSelection): layout as layout
10498         (pasteSelection): layout as layout
10499         (SwitchLayoutsBetweenClasses): layout as layout
10500
10501         * BufferView_pimpl.C (Dispatch): layout as layout
10502         (smartQuote): layout as layout
10503
10504         * BufferView2.C (unlockInset): layout as layout
10505
10506 2002-06-24  André Pönitz <poenitz@gmx.net>
10507
10508         * lyxfunc.C: fix #487
10509
10510 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * lyxrc.h:
10513         * lyxrc.C:
10514         * lyxfunc.C: remove display_shortcuts, show_banner
10515
10516 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * Buffer_pimpl.C: oops, update on resize
10519
10520 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * buffer.C:
10523         * converter.C:
10524         * exporter.C:
10525         * lyxfunc.C:
10526         * BufferView.h:
10527         * BufferView.C: use repaint()
10528
10529         * BufferView_pimpl.h:
10530         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10531           as it's a clearer description. Remove superfluous
10532           redraws.
10533
10534 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * text.C: fix bug 488. Not ideal, but getting
10537           getWord() to work properly for the insets that
10538           matter is more difficult ...
10539
10540 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * BufferView_pimpl.C:
10543         * LyXAction.C:
10544         * commandtags.h:
10545         * lyxfunc.C: remove the six million index lyxfuncs to just
10546           one, and DTRT (bug 458)
10547
10548 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * BufferView.h:
10551         * BufferView.C:
10552         * BufferView_pimpl.h:
10553         * BufferView_pimpl.C: clean up resize() stuff,
10554           and unnecessary updateScreen()s
10555
10556 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * BufferView.h:
10559         * BufferView.C:
10560         * BufferView_pimpl.h:
10561         * BufferView_pimpl.C:
10562         * lyxfind.h:
10563         * lyxfind.C:
10564         * minibuffer.C: remove focus management of workarea,
10565           not needed. Use screen's greyOut()
10566
10567 2002-06-17  Herbert Voss  <voss@lyx.org>
10568
10569         * converter.C: (convert) do not post a message, when converting
10570         fails, let the calling function decide what to do in this case
10571
10572 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * lyxfunc.C: tidy up a little
10575
10576 2002-06-16    <alstrup@diku.dk>
10577
10578         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10579         Got rid of FORMS_H_LOCATION include. Now we are
10580         GUII.
10581
10582 2002-06-15  LyX Development team  <lyx@rilke>
10583
10584         * buffer.[Ch] (sgmlOpenTag):
10585         (sgmlCloseTag): Added support for avoiding pernicious mixed
10586         content. Return number of lines written.
10587
10588         (makeLinuxDocFile):
10589         (makeDocBookFile): Fixed calls to sgml*Tag.
10590         Simple white space clean.
10591
10592         (simpleDocBookOnePar): Simple white space clean.
10593
10594         * tabular.[Ch] (docBook): Renamed to docbook and got another
10595         argument to related with the pernicious mixed content.
10596
10597         (docbookRow): Fixed calls for docbook inset method.
10598
10599 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10600
10601         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10602         so it's X11 independent.
10603
10604         * kb*.[Ch]: ditto.
10605
10606         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10607
10608 2002-06-15  Lyx Development team  <lyx@electronia>
10609
10610         * intl.h: Renamed getTrans to getTransManager.
10611
10612 2002-06-14  Angus Leeming  <leeming@lyx.org>
10613
10614         * Makefile.am: nuke forgotten stl_string_fwd.h.
10615
10616 2002-06-12  Angus Leeming  <leeming@lyx.org>
10617
10618         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10619
10620 2002-06-13  Angus Leeming  <leeming@lyx.org>
10621
10622         * LaTeX.C:
10623         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10624
10625 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10626
10627         * kbmap.C (getiso): add support for cyrillic and greek
10628
10629 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * BufferView.h:
10632         * BufferView.C:
10633         * BufferView_pimpl.h:
10634         * BufferView_pimpl.C: move bogus scrolling logic
10635           to xforms
10636
10637 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * lyxfunc.C:
10640         * BufferView_pimpl.C: view->resize() change
10641
10642 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * BufferView_pimpl.C: topCursorVisible
10645           prototype change
10646
10647 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * Makefile.am:
10650         * lyx_gui.h:
10651         * lyx_gui.C: move to frontends/
10652
10653         * main.C:
10654         * lyx_main.h:
10655         * lyx_main.C: changes from above
10656
10657 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10658
10659         * intl.C:
10660         * intl.h:
10661         * kbmap.C:
10662         * kbsequence.C:
10663         * lyx_cb.C:
10664         * lyx_main.C: minor tidy
10665
10666 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * BufferView_pimpl.h:
10669         * BufferView_pimpl.C:
10670         * BufferView.h:
10671         * BufferView.C: make painter() const,
10672           remove dead code
10673
10674         * BufferView2.C: use screen() accessor
10675
10676         * lyx_main.h:
10677         * lyx_main.C: some minor cleanup
10678
10679 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * BufferView_pimpl.h:
10682         * BufferView_pimpl.C: remove enter/leaveView,
10683           use workHeight()
10684
10685 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * BufferView.h:
10688         * BufferView.C:
10689         * BufferView2.C:
10690         * BufferView_pimpl.h:
10691         * BufferView_pimpl.C: only construct screen once,
10692           rename
10693
10694         * lyxrc.C: remove pointless comment
10695
10696 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * BufferView.h:
10699         * BufferView.C: remove active() and belowMouse()
10700
10701         * BufferView_pimpl.h:
10702         * BufferView_pimpl.C: use workarea() not workarea_,
10703           and make it use a scoped_ptr instead
10704
10705 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * lyx_gui.C: add debug message on BadWindow
10708
10709 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * sp_spell.C: fdopen is not part of the C++ standard.
10712
10713         * paragraph.C (InsetIterator): use >= instead of ==
10714
10715 2002-06-07  Angus Leeming  <leeming@lyx.org>
10716
10717         Fixes needed to compile with Compaq cxx 6.5.
10718         * BufferView_pimpl.C:
10719         * DepTable.C:
10720         * buffer.C:
10721         * converter.C:
10722         * encoding.C:
10723         * lyx_gui.C:
10724         * lyx_main.C:
10725         * lyxtextclasslist.C:
10726         * minibuffer.C:
10727         * sp_spell.C:
10728         * tabular_funcs.C:
10729         * vc-backend.C:
10730         all c-library variables have been moved into namespace std. Wrap
10731         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10732
10733         * lyxlength.C:
10734         * tabular-old.C:
10735         * tabular.C:
10736         Add a using std::abs declaration.
10737
10738         * kbmap.h (modifier_pair):
10739         * paragraph.h (InsetTable, InsetList):
10740         * lyxfont.h (FontBits):
10741         type definition made public.
10742
10743         * bufferlist.C (emergencyWriteAll): the compiler complains that
10744         there is more than one possible lyx::class_fun template to choose from.
10745         I re-named the void specialisation as lyx::void_class_fun.
10746
10747         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10748
10749         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10750         the compiler is is unable to find tostr in write_attribute.
10751
10752 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10753
10754         * buffer.C (sgmlError): hide #warning
10755
10756 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * xtl/*: get rid of xtl, which is not in use anyway
10759
10760         * LyXAction.C (init):
10761         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10762         were unimplemented xtl experimentation
10763
10764 2002-06-04  André Pönitz <poenitz@gmx.net>
10765
10766         * lyxfunc.C: disable array operation on simple formulae
10767
10768 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * converter.C: constify a bit
10771
10772 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * lyx_gui.C: check xforms version correctly
10775
10776 2002-04-30  Herbert Voss  <voss@lyx.org>
10777
10778         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10779         "keep" option
10780
10781 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10784           attempt to register it with a VCS)
10785
10786 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * lyx_main.C (init): honor variables LYX_DIR_13x and
10789         LYX_USERDIR_13x
10790
10791 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10792
10793         * buffer.h:
10794         * buffer.C:
10795         * lyx_main.C: fix a crash on bad command line,
10796           and give a useful exit status on error
10797
10798         * lyxfunc.C (doImport): allow -i lyx to work
10799
10800 2002-03-30  André Pönitz <poenitz@gmx.net>
10801
10802         * lyxfunc.C: mathed font changes
10803
10804 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * LaTeX.C:
10807         * importer.h:
10808         * importer.C:
10809         * lyx_sty.h:
10810         * lyx_sty.C:
10811         * lyxlex.C:
10812         * lyxrow.h:
10813         * lyxtext.h:
10814         * paragraph.h:
10815         * paragraph.C:
10816         * texrow.h:
10817         * texrow.C:
10818         * text.C:
10819         * trans_mgr.h: srcdocs, and some minor cleanups
10820
10821 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10822
10823         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10824         call getFont all the time)
10825
10826 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10827
10828         * switch from SigC signals to boost::signals
10829
10830 2002-05-29  André Pönitz <poenitz@gmx.net>
10831
10832         * paragraph_pimpl.C (getChar): don't call size() too often...
10833
10834 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10835
10836         * paragraph_pimpl.C (insertChar): do not try to update tables when
10837         appending (pos == size())
10838
10839         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10840         in order to reduce drastically the number of comparisons needed to
10841         parse a large document
10842
10843 2002-05-29  André Pönitz <poenitz@gmx.net>
10844
10845         * text.C:
10846         * text2.C:
10847         * lyxtextclass.C:
10848         * sp_pspell.h:
10849         * textclasslist.[Ch]:
10850         * sp_ispell.h: whitespace change
10851
10852 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10853
10854         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10855         lyxaction directly now.
10856
10857 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10858
10859         * trans.C:
10860         * lyxfont.C:
10861         * lyxvc.C: remove unused headers
10862
10863 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * Makefile.am:
10866         * buffer.h:
10867         * undostack.h:
10868         * undostack.C:
10869         * undo_funcs.h:
10870         * undo_funcs.C: some cleanups. Use shared_ptr
10871           and a template for the undo stacks.
10872
10873 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * BufferView_pimpl.h:
10876         * BufferView_pimpl.C:
10877         * kbmap.h:
10878         * kbmap.C:
10879         * kbsequence.h:
10880         * kbsequence.C:
10881         * lyxfunc.h:
10882         * lyxfunc.C:
10883         * text2.C: use key_state/mouse_state
10884
10885 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10888         and LSubstring
10889
10890         * chset.C: change include order
10891         (loadFile): use boost regex and get rid of LRegex and LSubstring
10892
10893         * Makefile.am (BOOST_LIBS): new variable
10894         (lyx_LDADD): use it
10895
10896         * LaTeX.C: change include order.
10897         (scanAuxFile): use boost regex and get rid of LRegex and
10898         LSubstring
10899         (deplog): ditto
10900
10901 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * ColorHandler.h:
10904         * ColorHandler.C:
10905         * FontInfo.h:
10906         * FontInfo.C: moved to frontends/xforms/
10907
10908         * FontLoader.h:
10909         * FontLoader.C: moved into frontends for GUIIzation
10910
10911         * Makefile.am:
10912         * lyx_gui.C:
10913         * lyxfont.C:
10914         * lyxfunc.C: changes from above
10915
10916 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10917
10918         * LColor.C: remove spurious X include
10919
10920         * BufferView_pimpl.C:
10921         * Makefile.am:
10922         * font.h:
10923         * font.C:
10924         * text.C:
10925         * text2.C: move font metrics to frontends/
10926
10927 2002-05-24  Juergen Vigna  <jug@sad.it>
10928
10929         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10930         setting the undo_cursor.
10931
10932         * ParagraphParameters.h: include local includes first.
10933
10934 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10935
10936         * BufferView_pimpl.C:
10937         * BufferView_pimpl.h:
10938         * Makefile.am:
10939         * WorkArea.h:
10940         * WorkArea.C:
10941         * screen.C: move WorkArea into frontends/
10942
10943         * lyxscreen.h:
10944         * screen.C:
10945         * text.C:
10946         * BufferView.C:
10947         * BufferView2.C: move LyXScreen into frontends/
10948
10949         * lyxlookup.h:
10950         * lyxlookup.C:
10951         * lyx_gui.C: move lyxlookup into frontends/xforms/
10952
10953 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * BufferView2.C:
10956         * BufferView_pimpl.C:
10957         * FontLoader.C:
10958         * LyXView.h:
10959         * LyXView.C:
10960         * Makefile.am:
10961         * WorkArea.C:
10962         * XFormsView.h:
10963         * XFormsView.C:
10964         * buffer.C:
10965         * bufferlist.C:
10966         * bufferview_funcs.C:
10967         * converter.C:
10968         * importer.C:
10969         * lyx_cb.C:
10970         * lyx_gui.C:
10971         * lyx_main.C:
10972         * lyx_find.C:
10973         * lyxfunc.C:
10974         * lyxvc.C:
10975         * minibuffer.C:
10976         * text.C:
10977         * text2.C:
10978         * trans.C:
10979         * vc-backend.C: move LyX/XFormsView into frontends/
10980
10981 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10982
10983         * Makefile.am:
10984         * PainterBase.C:
10985         * PainterBase.h:
10986         * Painter.C:
10987         * Painter.h:
10988         * WorkArea.C:
10989         * WorkArea.h:
10990         * screen.C:
10991         * tabular.C:
10992         * text.C:
10993         * text2.C: move Painter to frontends/
10994
10995 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10996
10997         * buffer.C: comment out some some code that depend upon lyx_format
10998         < 220
10999
11000         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11001         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11002
11003         * buffer.h (NO_COMPABILITY): turn off compability
11004
11005         * ColorHandler.C: include scoped_array.hpp
11006
11007         * font.C: Use more specific smart_ptr header.
11008         * Painter.C: ditto
11009         * gettext.C: ditto
11010         * ShareContainer.h: ditto
11011         * lyx_main.h: ditto
11012         * kbmap.h: ditto
11013         * FontInfo.h: ditto
11014         * BufferView_pimpl.h: ditto
11015         * ColorHandler.h: ditto
11016
11017         * kbmap.C (defkey): change call to shared_ptr::reset
11018
11019 2002-05-21  Juergen Vigna  <jug@sad.it>
11020
11021         * buffer.C (insertErtContents): fix to insert ert asis if it is
11022         non empty. Skip it completely if it contains only whitespaces.
11023
11024 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * BufferView_pimpl.C:
11027         * BufferView2.C: clear selection on paste (bug 393)
11028
11029 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11030
11031         * DepTable.C: include ctime
11032
11033 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11034
11035         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11036
11037 2002-05-14  Juergen Vigna  <jug@sad.it>
11038
11039         * text.C (breakParagraph): fixed function to honor the keepempty
11040         layout in the right maner and also to permit the right breaking
11041         algorithm on empty or non empyt keepempty paragraphs.
11042
11043         * paragraph.C (breakParagraph): we have to check also if the par
11044         is really empty (!size()) for isempty otherwise we do the wrong
11045         paragraph break.
11046
11047 2002-05-10  Juergen Vigna  <jug@sad.it>
11048
11049         * buffer.[Ch] : The following are only changes to the ert
11050         compatibility read reading old LaTeX layout and font stuff and
11051         convert it to ERTInsets.
11052
11053         * buffer.h: added isErtInset().
11054
11055         * buffer.C (struct ErtComp): add a fromlayout bool to check
11056         if we're inside a LaTeX layout.
11057         (isErtInset): new helper function.
11058         (insertErtContents): look for other ert insets before this one
11059         and insert the contents there, so that we don't have subsequent
11060         ERT insets with nothing between them. This way we create only one
11061         inset with multiple paragraphs. Also check if we don't insert only
11062         spaces ' ' as they are ignored anyway afterwards in the .tex file
11063         so if we have only spaces we will ignore this latex part in the
11064         new file.
11065         (parseSingleLyXformat2Token \\layout): better compatibility when
11066         reading layout-latex stuff.
11067         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11068         language tag.
11069         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11070         stuff after reading the inset only get the information back from
11071         the stack.
11072
11073 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11076
11077         * LaTeXFeatures.C (getBabelOptions): New method.
11078
11079 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11080
11081         * BufferView_pimpl.C (Dispatch): work around missing argument for
11082         'layout'
11083
11084 2002-05-08  Juergen Vigna  <jug@sad.it>
11085
11086         * text.C (leftMargin): handle paragraph leftindent.
11087
11088         * paragraph.C (writeFile): write the new \\leftindent tag.
11089         (validate): handle leftindent code.
11090         (TeXEnvironment): handle paragraphleftindent code again.
11091
11092         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11093
11094         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11095         for paragrap_extra indent code and new token \\leftindent.
11096         (latexParagraphs): handle the leftindent as environment.
11097
11098         * ParameterStruct.h: added leftindent support.
11099
11100         * ParagraphParameters.C (leftIndent): added support functions for
11101         the paragraph left indent.
11102
11103         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11104         more appropriate.
11105
11106 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11107
11108         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11109         inside insetERT.
11110
11111         * text.C (computeBidiTables): No bidi in insetERT.
11112
11113         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11114         in RTL documents.
11115
11116 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11117
11118         * version.C.in: pre 5
11119
11120 2002-05-02  José Matos  <jamatos@fep.up.pt>
11121         * buffer.C (makeDocBookFile): white space changes, add newline to
11122         command styles.
11123         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11124
11125         * tabular.C (docBook): fix typo.
11126
11127 2002-05-03  Juergen Vigna  <jug@sad.it>
11128
11129         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11130         change in LyXText as we can not be sure it was not freed.
11131         (drawOneRow): remove unused code.
11132
11133         * text.C (drawInset): redo the calculation of the need_break_row as
11134         it could have a row which was already freed.
11135         (draw): look at the return value of drawInset and return false if
11136         it also returned false.
11137         (paintRowText): look at the return value of draw and return false if
11138         it also returned false.
11139
11140         * lyxtext.h: added bool return type to drawInset() and draw() so that
11141         if we have a change in the row so that the rowbreak has to be redone
11142         we abort drawing as it will be called again.
11143
11144 2002-05-02  Juergen Vigna  <jug@sad.it>
11145
11146         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11147         a change in the maintext also if we're inside an inset.
11148         (Dispatch): set the cursor again after a break line and after the
11149         screen has been updated as it could be we're in a different row.
11150
11151         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11152         to set the cursor behind the pargraph with > size().
11153         (setCursor): check also for the same paragraph when checking where
11154         to put the cursor if we have a NFR inset.
11155
11156         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11157         parts of layout read further up as it still was in the wrong
11158         position.
11159
11160 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * screen.C (drawFromTo): change sine fullRebreak always return
11163         true.
11164
11165         * buffer.C (parseSingleLyXformat2Token): reindent some
11166
11167         * BufferView_pimpl.C (update): change since fullRebreak always
11168         return true.
11169         (Dispatch): git rid of the last hardcoded "Standard"s.
11170
11171 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11172
11173         * text2.[Ch] (fullRebreak): make it return void now that we always
11174         returned true.
11175
11176 2002-04-30  Juergen Vigna  <jug@sad.it>
11177
11178         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11179         ert compatibility check for "latex" layout.
11180
11181 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11182
11183         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11184         minipages: use col% instead of p%, and also use the current font.
11185         (makeLaTeXFile): Fix use babel condition.
11186         (parseSingleLyXformat2Token): Correct font when reading old floats.
11187
11188 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11189
11190         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11191         inserting list of floats.
11192
11193 2002-04-25  Herbert Voss  <voss@lyx.org>
11194
11195         * MenuBackend.C (expand): don't add the graphics extensions to the
11196         export menu
11197
11198 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11199
11200         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11201         non-existing layout, do not complain if it was the default layout
11202         of the original class (bug #342)
11203
11204 2002-04-24  Juergen Vigna  <jug@sad.it>
11205
11206         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11207         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11208
11209 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11210
11211         * buffer.C (getBibkeyList): If using \bibliography, return the
11212         option field with the reference itself. Enables us to provide natbib
11213         support when using \bibliography.
11214
11215 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11216
11217         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11218
11219         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11220         natbib is provided by the LaTeX class.
11221
11222 2002-04-23  Juergen Vigna  <jug@sad.it>
11223
11224         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11225         Wakeup functions.
11226
11227         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11228
11229 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11230
11231         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11232
11233         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11234         ensuremath around textordmasculine, textordfeminine and
11235         textdegree.
11236
11237 2002-04-19  Juergen Vigna  <jug@sad.it>
11238
11239         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11240         reinitializing the buffer otherwise row-dimensions may be wrong.
11241         (update): reset also the selection cursors if they do exits otherwise
11242         their x/y positions may be wrong.
11243
11244         * text2.C (cursorDown): don't enter the inset if we came from a row
11245         above and are one row over the inset.
11246
11247         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11248         really leaving an inset.
11249
11250 2002-04-18  Juergen Vigna  <jug@sad.it>
11251
11252         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11253         of the selected paragraph does not have the selected layout also if
11254         the last one had!
11255
11256         * text2.C (setLayout): fixed bug which did not change last selected
11257         paragraph.
11258
11259         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11260         changed the read and substituted \\end_float with \\end_inset!
11261
11262         * BufferView_pimpl.C (cursorPrevious):
11263         (cursorNext): fixed to make it work with rows heigher than the work
11264         area without moving the cursor only the draw of the row.
11265         (workAreaMotionNotify): fix jumping over high rows.
11266
11267 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11268
11269         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11270         Ressler.
11271
11272 2002-04-16  Juergen Vigna  <jug@sad.it>
11273
11274         * text2.C (setCursor): set also the irow().
11275         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11276         (cursorUp):
11277         (cursorDown): support for locking an inset if the x_fix value goes
11278         inside it. That way I can transverse insets too with cursor up/down.
11279
11280         * lyxrow.h: added irow helper function same as other (i) functions.
11281
11282         * BufferView_pimpl.C (cursorPrevious):
11283         (cursorNext): fixed for insets!
11284
11285 2002-04-15  Juergen Vigna  <jug@sad.it>
11286
11287         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11288         position otherwise it is wrong in some cases.
11289
11290         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11291         inside the inset before the call.
11292
11293 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11294
11295         * buffer.[Ch] (getBibkeyList): make it const.
11296
11297 2002-04-12  Juergen Vigna  <jug@sad.it>
11298
11299         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11300
11301         * text2.C (getCursorX): new helper function
11302         (setCursor): compute also ix_
11303         (setCursorFromCoordinates): set also ix.
11304
11305         * lyxcursor.h: added ix_ and helper functions.
11306
11307         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11308
11309         * buffer.C (insertStringAsLines): dont break paragraph if the this
11310         paragraph is inside an inset which does not permit it!
11311
11312         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11313         also with no chars on this paragraph.
11314         (paintRowText): only paint stuff if it's inside the workarea!
11315
11316         * paragraph.C (breakParagraph): honor keepempty flag and break the
11317         paragraph always below not above.
11318
11319         * BufferView2.C (unlockInset): update the paragraph layout on inset
11320         unlock as we changed paragraph in such a case.
11321
11322         * lyxfind.C (LyXFind): clear the former selection if not found!
11323
11324         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11325         again called in insertChar().
11326
11327         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11328         an inset which uses the whole row!
11329         (rightMargin): ditto.
11330         (insertChar): force a rebreak if we inserted an inset!
11331
11332 2002-03-28  Herbert Voss  <voss@lyx.org>
11333
11334         * lyxlength.[Ch]: add inBP() to get the right PS-point
11335         units (BigPoint). With inPixels we have rounding errors
11336
11337 2002-04-11  Juergen Vigna  <jug@sad.it>
11338
11339         * text2.C (setCursorFromCoordinates): set iy to the right value.
11340         (setCursor): add check if row->previous exists!
11341
11342         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11343         an old float_type as this was the case in the old code!
11344
11345         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11346
11347         * BufferView2.C (showLockedInsetCursor): use iy
11348         (fitLockedInsetCursor): ditto
11349
11350         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11351         locked insets as there we have the right value now.
11352
11353         * lyxcursor.C: added iy_ variable and iy functions to set to the
11354         baseline of cursor-y of the locked inset.
11355
11356         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11357         (setCursor): fixed for insets which need a full row.
11358
11359         * text.C (rowLastPrintable): don't ignore the last space when before
11360         an inset which needs a full row.
11361         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11362         as last character of a row when before a inset which needs a full row.
11363
11364 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * version.C.in: update date
11367
11368         * text2.C (fullRebreak): try to always return true and see what
11369         happens...
11370
11371 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11372
11373         * MenuBackend.C (expand): use Floating::listName
11374
11375         * FloatList.C (FloatList): add listName argument to the built-in
11376         floats
11377
11378         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11379         text associated with the float.
11380
11381 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11384
11385 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * ShareContainer.h: add a couple of missing typenames.
11388
11389 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11390
11391         * lyxrc.C (getDescription): use _() correctly rather than N_().
11392
11393 2002-03-28  Herbert Voss  <voss@lyx.org>
11394
11395         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11396         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11397
11398 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11399
11400         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11401         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11402
11403 2002-03-29  Juergen Vigna  <jug@sad.it>
11404
11405         * lyxfunc.C (dispatch): add a missing fitCursor call.
11406
11407         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11408         it was scrolled by a cursor move, so return the bool status.
11409
11410         * BufferView.C (fitCursor): return the bool flag also to the outside
11411         world as this is needed.
11412
11413         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11414
11415         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11416         call the edit() as it is not needed (and wrong) IMO.
11417         (workAreaButtonPress): set the screen_first variable before evt.
11418         unlock the inset as this may change screen_first and then we have
11419         a wrong y position for the click!
11420
11421 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11422
11423         * MenuBackend.C (expand): another translation that I missed
11424
11425 2002-03-28  Juergen Vigna  <jug@sad.it>
11426
11427         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11428
11429         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11430
11431 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11432
11433         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11434
11435         * MenuBackend.C (expand): fix export/view/update when there is no
11436         document open.
11437
11438 2002-03-27  Herbert Voss  <voss@lyx.org>
11439
11440         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11441         and text%
11442
11443 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11444
11445         * bufferview_funcs.C (currentState): only show paragraph number
11446         for is DEVEL_VERSION is set.
11447
11448         * lyxfunc.C (dispatch): put warning in INFO channel
11449
11450         * MenuBackend.C (expand): translate the name of floats
11451
11452         * FloatList.C (FloatList): mark the float names for translation
11453
11454         * converter.C (convert): use LibScriptSearch
11455
11456 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11457
11458         * MenuBackend.C (defaults): fix default menu (we might as well get
11459         rid of it...)
11460
11461 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11464         directory.
11465
11466 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * lyxvc.C: reorder includes.
11469
11470 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11471
11472         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11473           properly
11474
11475 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * CutAndPaste.C: change layouts earlier on paste
11478           to avoid crashing when calling getFont()
11479
11480 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11481
11482         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11483         irritating #error.
11484
11485 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * WorkArea.C: remove 'Pending' debug message.
11488
11489         * most files: ws cleanup
11490
11491         * buffer.[Ch]: ws changes
11492
11493         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11494
11495 2002-03-21  Juergen Vigna  <jug@sad.it>
11496
11497         * tabular.C (SetMultiColumn): collapse also the contents of the
11498         cells and set the last border right. Added a Buffer const * param.
11499
11500 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11503         linking or not.
11504
11505 2002-03-19  Juergen Vigna  <jug@sad.it>
11506
11507         * text2.C (clearSelection): reset also xsel_cache.
11508
11509         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11510         where it needs to be called (John tells us to do so too :)
11511         (selectionLost): reset sel_cache.
11512
11513         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11514
11515 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11516
11517         * text2.C (setCursorIntern): put debuging code in INSETS channel
11518
11519 2002-03-19  André Pönitz <poenitz@gmx.net>
11520
11521         * lyxfunc.C: tiny whitespace change
11522
11523 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11524
11525         * ToolbarDefaults.C (init):
11526         * LyXAction.C (init):
11527         * commandtags.h:
11528         * BufferView_pimpl.C (Dispatch):
11529         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11530
11531 2002-03-19  Allan Rae  <rae@lyx.org>
11532
11533         * exporter.C (Export): removeAutoInsets before doing anything else.
11534         While I've just introduced a dependency on BufferView this really is
11535         the best place to clean the buffer otherwise you need to cleanup in
11536         a dozen places before calling export or cleanup in a dozen functions
11537         that export calls.
11538
11539         * converter.C (runLaTeX):
11540         (scanLog): Better handling of removeAutoInsets and screen updates.
11541
11542         * lyxfunc.C (dispatch): small whitespace changes
11543
11544 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * WorkArea.C (C_WorkAreaEvent): return a value.
11547         (event_cb): return 1 if we handled the event, 0 otherwise.
11548
11549         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11550
11551 2002-03-18  Juergen Vigna  <jug@sad.it>
11552
11553         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11554         (GetAdditionalWidth): ditto.
11555         (RightLine): ditto.
11556         (LeftLine): ditto.
11557
11558         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11559         inset if we're there actually (probably not used right now but this
11560         is the direction to go for unifying code).
11561         (paste): disable code to clear the selection.
11562
11563         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11564         inside an InsetText and move the check further up as it is in the
11565         wrong place.
11566
11567         * text2.C (pasteSelection): set a selection over the pasted text.
11568
11569 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11570
11571         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11572         and libgraphics to build on Cygwin.
11573
11574 2002-03-15  Juergen Vigna  <jug@sad.it>
11575
11576         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11577         inserting an Inset into the paragraph. I know this is not the best
11578         fix but we already use current_view in CutAndPaste so we will remove
11579         all of it's using at the same time.
11580
11581         * buffer.C (sgmlError): deactivated function till it is rewritten in
11582         the right mode, now it can create problems.
11583
11584         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11585         before accessing it.
11586
11587 2002-03-14  Juergen Vigna  <jug@sad.it>
11588
11589         * undo_funcs.C (textHandleUndo): do the right thing when updating
11590         the inset after the undo/redo.
11591
11592         * text2.C (setCursor): just some testcode for #44 not ready yet.
11593
11594         * undo_funcs.C (textHandleUndo): set the next() and previous()
11595         pointers of the paragraph to 0 before deleting otherwise we have
11596         problems with the Paragraph::[destructor].
11597
11598         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11599         on a paragraph insertion.
11600
11601 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11602
11603         * buffer.C (asciiParagraph): use += operator for char append to
11604         string.
11605
11606         * paragraph.C (getFontSettings): compare >= not just >
11607         (highestFontInRange): ditto
11608         (setFont): ditto
11609
11610 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11611
11612         * paragraph.C: change several algorithm to be more appripriate for
11613         the problem domain. This is lookip in FontList and in the InsetList.
11614
11615 2002-03-13  André Pönitz <poenitz@gmx.net>
11616
11617         * commandtags.h:
11618         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11619
11620 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * commandtags.h:
11623         * LyXAction.C:
11624         * lyxfunc.C:
11625         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11626
11627 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * Painter.C (display): anon helper function, adjust code for this
11630         change.
11631         (pixmap): remove function.
11632
11633         * Painter.h: remove private display variable.
11634
11635         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11636
11637 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11638
11639         * WorkArea.[Ch]: remove figinset_canvas cruft.
11640
11641 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * lyxtextclass.C (operator): add one item cache optimization.
11644
11645         * bufferlist.h: doxy changes
11646
11647         * bufferlist.C: ws changes
11648
11649         * DepTable.[Ch] (ext_exist): place const in the right spot.
11650
11651         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11652         call resizeInsets.
11653         (workAreaExpose): call resizeInsets when the with BufferView changes.
11654         (Dispatch): adjust for protectedBlank removal
11655         (specialChar): call updateInset if the insert went ok.
11656
11657         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11658         specialChar instead.
11659
11660         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11661
11662         * BufferView.h: doxy change
11663
11664         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11665
11666         * lyxtextclass.C (operator[]): remove non-const version
11667         (defaultLayout): remove non-const version
11668
11669 2002-03-12  Juergen Vigna  <jug@sad.it>
11670
11671         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11672         did resize the LyXText too.
11673
11674         * buffer.C (readLyXformat2): set layout information on newly allocated
11675         paragraphs.
11676
11677         * tabular.C (OldFormatRead): set layout information on the paragraph.
11678
11679 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11680
11681         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11682
11683 2002-03-11  Juergen Vigna  <jug@sad.it>
11684
11685         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11686         plainly wrong.
11687         (resizeCurrentBuffer): force also the insets to resize themselfes.
11688         (moveCursorUpdate): fixed up for InsetText.
11689
11690 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11691
11692         * commandtags.h:
11693         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11694         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11695         value of Dialogs::tooltipsEnabled().
11696         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11697
11698 2002-03-08  Juergen Vigna  <jug@sad.it>
11699
11700         * BufferView_pimpl.C (updateInset): update inset inside inset also
11701         if it isn't inside theLockingInset().
11702
11703 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11704
11705         * buffer.C (asciiParagraph): redo some of the word and line length
11706         handling.
11707         (getLists): look for Caption instead of caption.
11708
11709 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11710
11711         * buffer.C (Buffer): initialize niceFile to true
11712         (makeLaTeXFile):
11713         (makeLinuxDocFile):
11714         (makeDocBookFile): make sure niceFile is true on exit
11715
11716 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11717
11718         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11719
11720 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11721
11722         * LyXSendto.C: remove.
11723         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11724         * lyx_gui.C: remove now-redundant comment.
11725         * ColorHandler.h: remove forward declaration of class WorkArea.
11726         * lyxfunc.C: remove #include "WorkArea.h".
11727
11728 2002-03-07  Juergen Vigna  <jug@sad.it>
11729
11730         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11731         got moved away with the DEPM and also set the inset_owner always
11732         right which before could have been omitted.
11733
11734 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11735
11736         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11737         wanted layout is not found.
11738
11739 2002-03-07  Juergen Vigna  <jug@sad.it>
11740
11741         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11742
11743 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * paragraph.C (breakParagraph): use default layout not layout of
11746         prev paragraph.
11747         (Paragraph): clear ParagraphParameters.
11748
11749 2002-03-06  Juergen Vigna  <jug@sad.it>
11750
11751         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11752         otherwise it would not be a valid lenght. Fixed a special case in
11753         the minipage compatibility read where we end the document with a
11754         minipage.
11755
11756         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11757         was set as it could be 0 for InsetTexts first entry.
11758
11759 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11760
11761         * paragraph.C (writeFile): if layout is empty write out
11762         defaultLayoutName().
11763
11764         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11765         file without named layout we set layout to defaultLayoutName().
11766
11767 2002-03-06  Juergen Vigna  <jug@sad.it>
11768
11769         * CutAndPaste.C (copySelection): set layout for new paragraph.
11770
11771         * text.C (prepareToPrint): leave ERT inset left aligned
11772         (leftMargin): don't indent paragraphs inside ERT insets
11773
11774 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * paragraph.C (breakParagraph): dont call clear do the work manually
11777
11778         * paragraph.[Ch] (clear): remove function
11779
11780 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * paragraph.C (Paragraph): dont call clear, the work has already
11783         been done.
11784
11785         * lyxtextclass.C (operator): assert if n is empty
11786
11787         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11788         work manually instead.
11789
11790 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * BufferView_pimpl.C: protect selectionLost against text == 0
11793
11794 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * text.C (breakParagraph): fix a setting layout to '0' problem.
11797
11798 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11799
11800         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11801         final location of file, for the included files, and graphics.
11802
11803 2002-03-05  Juergen Vigna  <jug@sad.it>
11804
11805         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11806
11807 2002-03-04  Juergen Vigna  <jug@sad.it>
11808
11809         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11810
11811         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11812         last column of multicolumn cells.
11813         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11814
11815 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11816
11817         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11818         file if it doesn't go to a temporary file.
11819
11820         * buffer.C (sgmlOpenTag):
11821         (sgmlCloseTag):  remove extra newline insertion.
11822
11823 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11824
11825         * text.C (getRowNearY): comment out debug msg
11826
11827 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * text2.C: first -> first_y
11830
11831         * text.C (getRowNearY): add some attemts at a possible
11832         optimization, not working.
11833
11834         * tabular.[Ch]: add BufferParams to several function so that newly
11835         created paragraph can be initialized to he default layotu for the
11836         buffers textclass.
11837
11838         * tabular-old.C (ReadOld): add buf->params to call of Init
11839
11840         * screen.C: rename text->first to text->first_y
11841
11842         * paragraph.C (breakParagraph): always set layout in the broken
11843         paragraph
11844
11845         * lyxtextclass.C (Read): remove lowercase
11846         (hasLayout): ditto
11847         (operator): ditto
11848         (delete_layout): ditto
11849
11850         * lyxtext.h: rename first -> first_y
11851
11852         * lyxlayout.C (Read): remove lowercase
11853         (name): ditto
11854         (setName): ditto
11855         (obsoleted_by): ditto
11856
11857         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11858
11859         * buffer.C (insertErtContents): add params are to InsetERT
11860         (parseSingleLyXformat2Token): add code to check if a paragraphs
11861         layout really exist.
11862         (parseSingleLyXformat2Token): add params to several inset
11863         constructors
11864         (asciiParagraph): remove lowercase, do the layout comparisons with
11865         no_case
11866
11867         * BufferView_pimpl.C (cursorNext): first -> first_y
11868         (resizeCurrentBuffer): first -> first_y
11869         (updateScrollbar): first -> first_y
11870         (scrollCB): first -> first_y
11871         (workAreaMotionNotify): first -> first_y
11872         (workAreaButtonPress): first -> first_y
11873         (checkInsetHit): first -> first_y
11874         (cursorPrevious): first -> first_y
11875         (cursorNext): first -> first_y
11876         (Dispatch): add buffer_->params to severl inset contructors
11877
11878 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * lyxlayout.C (Read): remove some debug info that I forgot.
11881
11882         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11883         clean up the code slightly.
11884         (makeLinuxDocFile): ditto
11885         (makeDocBookFile): ditto
11886
11887         * text2.C: layout as string
11888
11889         * text.C: layout as string
11890
11891         * paragraph_pimpl.C: layout as string
11892
11893         * paragraph.[Ch]: layout as string
11894
11895         * lyxtextclasslist.[Ch]: layout as string
11896
11897         * lyxtextclass.[Ch]: layout as string
11898
11899         * lyxtext.h: layout as string
11900
11901         * lyxlayout.[Ch]: layout as string
11902
11903         * lyx_cb.C: layout as string
11904
11905         * bufferview_funcs.C: layout as string
11906
11907         * bufferparams.C: layout as string
11908
11909         * buffer.C: layout as string
11910
11911         * LyXView.[Ch]: layout as string
11912
11913         * LaTeXFeatures.[Ch]: layout as string
11914
11915         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11916
11917         * BufferView_pimpl.C: change current_layout to string, remove
11918         lyx::layout_type.
11919         (Dispatch):
11920         (smartQuote):
11921         (insertInset):
11922         (workAreaButtonRelease): layout as string
11923
11924         * BufferView2.C (unlockInset): adjust
11925
11926         * vspace.C (asLatexCommand): use an explict temp variable.
11927
11928 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11929
11930         * Makefile.am: use FRONTEND_*
11931
11932 2002-03-01  Juergen Vigna  <jug@sad.it>
11933
11934         * tabular.C (SetWidthOfMulticolCell): changed to something better
11935         I hope but still work in progress.
11936         (recalculateMulticolumnsOfColumn): renamed function from
11937         recalculateMulticolCells as it is more appropriate now.
11938         (SetWidthOfCell): calculate multicols better.
11939
11940 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11943
11944         * lyxfunc.C (processKeySym): print sequence also if it is
11945         `deleted' (complete)
11946
11947         * kbsequence.C (print): print sequence even if it is deleted
11948         (complete would be a better word, actually).
11949
11950         * lyxfunc.C (dispatch): print complete options after a prefix key
11951
11952         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11953
11954 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11955
11956         * text2.C (setCharFont): eliminate setCharFont code duplication.
11957
11958 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11959
11960         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11961         LFUN_TABULAR_FEATURE (bug #177)
11962
11963 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11964
11965         * Makefile.am: remove figure.h
11966
11967 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11968
11969         * Bufferview_pimpl.C:
11970         * CutAndPasteC:
11971         * LaTeX.C:
11972         * LyXSendto.C:
11973         * buffer.C:
11974         * bufferlist.C:
11975         * converter.C:
11976         * language.C:
11977         * lyxfunc.C:
11978         * lyxvc.C:
11979         * paragraph.C:
11980         * text.C:
11981         * text2.C: remove #include "lyx_gui_misc.h".
11982
11983         * LaTeX.C: added #include <cstdio>
11984
11985 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11986
11987         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11988         that the paragraph following this one can have.
11989
11990         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11991
11992         * vspace.C (asLatexCommand): fix bogus gcc warning
11993
11994         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11995
11996 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11997
11998         * text2.C (setLayout): get rid of redundant code
11999
12000 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12001
12002         * text2.C (incDepth): make sure depth cannot be increased beyond
12003         reasonable values.
12004
12005 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12006
12007         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12008         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12009
12010         * PainterBase.h (image):
12011         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12012         a LyXImage const *.
12013
12014 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * BufferView.C:
12017         * BufferView.h:
12018         * BufferView_pimpl.C:
12019         * BufferView_pimpl.h:
12020         * LaTeXFeatures.C:
12021         * LyXAction.C:
12022         * LyXView.C:
12023         * Makefile.am:
12024         * UpdateList.h:
12025         * UpdateList.C:
12026         * buffer.C:
12027         * figure.h:
12028         * figureForm.C:
12029         * figureForm.h:
12030         * figure_form.C:
12031         * figure_form.h:
12032         * lyx_cb.C:
12033         * lyx_gui.C:
12034         * lyx_gui_misc.C:
12035         * lyxfunc.C:
12036         * sp_base.h:
12037         * sp_ispell.h:
12038         * sp_pspell.h:
12039         * sp_spell.C: remove fig inset, and the crap house of
12040           cards that follows it
12041
12042 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * Makefile.am:
12045         * lyxserver.C:
12046         * os2_defines.h:
12047         * os2_errortable.h:
12048         * nt_defines.h: move .h into support/
12049
12050         * vms_defines.h: remove
12051
12052         * WorkArea.C: add space in debug output
12053
12054         * text2.C:
12055         * paragraph.C:
12056         * buffer.C: add WITH_WARNINGS
12057
12058         * vc-backend.h:
12059         * vc-backend.C:
12060         * bufferlist.C: s/retrive/retrieve/, add docs
12061
12062         * vspace.h:
12063         * vspace.C:
12064         * kbmap.h:
12065         * lyxlength.h:
12066         * lyxgluelength.h:
12067         * length_common.h:
12068         * chset.h:
12069         * chset.C: add docs
12070
12071         * lyxgui.C: add ID to X error handler
12072
12073         * lyxtestclass.c: fix typo
12074
12075 2002-02-26  Juergen Vigna  <jug@sad.it>
12076
12077         * tabular_funcs.C (write_attribute): changed so that some default
12078         attributes are not written at all.
12079         (getTokenValue): set default values before trying to read the
12080         value so we have the return value always set as default if we don't
12081         find the token we search for.
12082
12083         * tabular.C (Write): write bools as bools not as strings!
12084
12085 2002-02-22  Juergen Vigna  <jug@sad.it>
12086
12087         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12088         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12089
12090         * text.C (leftMargin): don't add an indent for paragraphs inside
12091         tabular cells (fix #208).
12092
12093 2002-02-21  José Matos  <jamatos@fep.up.pt>
12094
12095         * tabular.C (docBook): fixed support for long tables.
12096
12097 2002-02-20  Juergen Vigna  <jug@sad.it>
12098
12099         * text2.C (getFont): get the drawing font of the Inset if this
12100         paragraph is inside an inset (only important for InsetERT for now).
12101
12102         * buffer.C (insertErtContents): use new lanugage params in ERT
12103         constructor.
12104
12105         * CutAndPaste.C: commenting out seemingly uneeded code.
12106
12107 2002-02-19  Allan Rae  <rae@lyx.org>
12108
12109         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12110         Iterators might be simple to use but they also get invalidated.
12111         (removeAutoInsets): renamed saved cursor tracking variables and added
12112         some comments to clarify what everything does.
12113
12114 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12115
12116         * Chktex.C:
12117         * LaTeX.C:
12118         * LyXSendto.C:
12119         * converter.C:
12120         * lyx_cb.C:
12121         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12122         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12123
12124         * lyxfunc.C:
12125         * vc-backend.h: remove #include "support/syscall.h"
12126
12127         * LaTeX.C:
12128         * LyXSendto.C:
12129         * converter.C: rearrange #includes in Lars' approved fashion.
12130
12131         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12132         forward declare class Timeout in the header file.
12133
12134         * XFormsView.C: changes due to the above.
12135
12136         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12137         similar to LyXView.
12138
12139         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12140         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12141
12142 2002-02-18  José Matos  <jamatos@fep.up.pt>
12143
12144         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12145         insets contents.
12146
12147 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12148
12149         * a lot of small ws changes
12150         * add a lot of using std::XXX
12151         * use std construcs some places where approp.
12152         * use some exisint stuff from lyxfunctional where approp.
12153         * Make file changes to use partial linking (lets test this now...)
12154
12155 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12156
12157         * Chktex.C:
12158         * buffer.C:
12159         remove #include "support/syscontr.h" as it's redundant. Always has been.
12160
12161         * Chktex.C:
12162         * LaTeX.C:
12163         * LyXSendto.C:
12164         * converter.C:
12165         * lyx_cb.C:
12166         * vc-backend.C:
12167         change Systemcalls::System to Systemcalls::Wait and
12168         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12169         No change of functionality, just reflects the stripped down Systemcalls
12170         class.
12171
12172 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12173
12174         * debug.[Ch]: add a GRAPHICS type to the enum.
12175
12176 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12177
12178         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12179
12180         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12181         there is an inset.
12182
12183 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12184
12185         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12186         match the changes below.
12187
12188         * text2.C (toggleInset): if there is not editable inset at cursor
12189         position, try to see if cursor is _inside_ a collapsable inset
12190         and close it.
12191
12192 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12195         document menu has a nice checkbox
12196
12197 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12198
12199         * lyxlength.C (asLatexString): change PW to output as percent of
12200         \textwidth.
12201
12202         * lengthcommon.C: change '%' to 't%'
12203
12204         * lyxfunc.C (dispatch): a few comments from Martin
12205
12206 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * WorkArea.h:
12209         * WorkArea.C:
12210         * BufferView_pimpl.h:
12211         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12212           the X selection.
12213
12214 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12215
12216         * vspace.C (inPixels): fix compiler warning
12217
12218 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12219
12220         * lyxfunc.C (getStatus): fix status message for disabled commands.
12221
12222 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12223
12224         * BufferView_pimpl.C: fix crash on close buffer
12225         during selection (#227)
12226
12227 2002-01-27  Herbert Voss  <voss@lyx.org>
12228
12229         * buffer.C: link old Figure to new graphic inset
12230
12231 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12232
12233         * FontLoader.C (getFontinfo): Change the latex font names in order
12234         to match the names of type1inst.
12235
12236 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12237
12238         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12239
12240         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12241         (extchanged): ditto
12242         (ext_exist): ditto
12243         (remove_files_with_extension): ditto
12244         (remove_file): ditto
12245         (write): ditto
12246
12247         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12248         document is smaller than the work area height. Do not initialize
12249         static variables to 0.
12250
12251 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12252
12253         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12254
12255         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12256         LFUN_LAYOUT_PARAGRAPHS.
12257
12258         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12259         tabular. It is possible to provide a possible cell, which will
12260         typically be the actcell from the corresponding insettabular
12261
12262         * lyxfunc.C (getStatus): small cleanup; disable
12263         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12264         true
12265
12266 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12267
12268         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12269
12270         * paragraph.C (startTeXParParams):
12271         (endTeXParParams): new methods. The LaTeX code to
12272         start/end paragraph formatting
12273         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12274         empty (fixes bug #200)
12275
12276         * vspace.C (inPixels): adapt to the change below
12277         (inPixels): [later] more cleanups (remove unused variables)
12278
12279         * lyxlength.C (inPixels): change to use a width and a height as
12280         parameter.
12281
12282 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12283
12284         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12285         Replaced with \paperwidth
12286
12287         * DepTable.C (insert): add std:: qualifier
12288
12289 2002-01-18  Allan Rae  <rae@lyx.org>
12290
12291         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12292         updated also?
12293
12294         * text.C (drawInset): Turned out I didn't know enough about how
12295         rebreaking worked.  This fixes most of the redraw problems.  I see
12296         an occasional cursor trail when a line is broken now and the cursor
12297         placement can seem out by a few pixels also after a rebreak.
12298
12299 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12300
12301         * buffer.C (parseSingleLyXformat2Token): update because minipage
12302         width is now a LyXLength
12303
12304         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12305
12306         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12307         math insets
12308
12309 2002-01-17  Juergen Vigna  <jug@sad.it>
12310
12311         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12312
12313         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12314         is set correctly and the inset is updated correctly.
12315
12316 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12317
12318         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12319         the beginning of the loop.
12320
12321 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * lyxrc.C: improve help for use_scalable_fonts
12324
12325 2002-01-17  Allan Rae  <rae@lyx.org>
12326
12327         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12328
12329 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12330
12331         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12332         make sure to set their inset_owner to the right value (bug #171)
12333
12334 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12335
12336         * DepTable.h
12337         * DepTable.C: Implement mtime checking to reduce time spent doing
12338         CRCs.
12339
12340 2002-01-16  Juergen Vigna  <jug@sad.it>
12341
12342         * tabular.C (GetAdditionalHeight): one of error fixed.
12343
12344         * lyxrc.C (output): small fix in writing use_pspell.
12345
12346 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12347
12348         * sp_base.h: #include LString.h
12349
12350 2002-01-16  Allan Rae  <rae@lyx.org>
12351
12352         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12353         Can someone check this please?
12354
12355         * text.C (drawInset): It was possible that p.row would be removed by
12356         breakAgainOneRow upsetting a few other settings.  There may be another
12357         small tweak possible by setting need_break_row = 0 when p.row has been
12358         removed but I don't know enough about the logic here.
12359
12360 2002-01-15  Allan Rae  <rae@lyx.org>
12361
12362         * text.C (insertChar): removed conditional truism.
12363
12364         * BufferView2.C (removeAutoInsets): More tweaks.
12365         cur_par_prev could be a stray pointer.  Check for trailing empty line
12366         in case last line was cur_par and only had an error inset on it.
12367
12368 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12369
12370         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12371         absolute
12372
12373         * vc-backend.C (most methods):
12374         * exporter.C (Export):
12375         * converter.C (convert):
12376         (runLaTeX):
12377         * LyXSendto.C (SendtoApplyCB):
12378         * lyxfunc.C (dispatch):
12379         (menuNew):
12380         (open):
12381         (doImport):
12382         * lyx_cb.C (AutoSave):
12383         (InsertAsciiFile):
12384         * BufferView_pimpl.C (MenuInsertLyXFile):
12385         * buffer.C (runChktex): use Buffer::filePath().
12386
12387         * buffer.h: rename filename to filename_; rename filepath to
12388         filepath_ and make it private
12389         (filePath): new method
12390
12391         * buffer.C (writeFile): use fileName()
12392         (getLatexName):
12393
12394         * lyx_main.C (init): fix starting  of LyX when the binary is a
12395         link from so,ewhere else.
12396
12397         * minibuffer.C: include <cctype> for isprint
12398
12399 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12400
12401         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12402         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12403         name clash with InsetCollapsable's width function.
12404
12405 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12406
12407         * lastfiles.C: include <iterator>
12408
12409 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12410
12411         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12412         std::count.
12413
12414         * buffer.C (makeLaTeXFile): ditto.
12415         Also make loop operation more transparent.
12416
12417 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12418
12419         * ToolbarDefaults.C: remove trailing comma closing namespace.
12420
12421         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12422
12423         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12424         as in WorkArea.
12425
12426         * trans.C (Load): comment out unused variable, allowed.
12427
12428 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12429
12430         * minibuffer.[Ch] (append_char): new method to recieve input from the
12431         drop-down completion browser. If a key was pressed, then recieve this
12432         char and append it to the existing string.
12433         (peek_event): modify the positioning data passed to the completion
12434         browser so that it can be placed above the minibuffer rather than below.
12435 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * LyXAction.C (init): alloe error-next for readonly documents.
12438
12439         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12440         count.
12441
12442 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12443
12444         * bufferlist.C (readFile): create the buffer _after_ checking that
12445         the file exists.
12446
12447         * lyxfunc.C (verboseDispatch): fix handling of arguments
12448
12449         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12450
12451         * lyxrc.C: use string::erase() instead of initializing to "".
12452
12453
12454 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * BufferView_pimpl.h:
12457         * BufferView_pimpl.C:
12458         * WorkArea.h:
12459         * WorkArea.C:
12460         * text2.C: tell X when we have made a selection for copying
12461
12462 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12463
12464         * BufferView_pimpl.C (MenuInsertLyXFile):
12465         * lyxfunc.C (menuNew):
12466         (open):
12467         (doImport): add shortcuts to directory buttons
12468
12469         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12470         open a float)
12471
12472         * lyxfunc.C (setStatusMessage):
12473         (getStatusMessage): new methods
12474         (getStatus):use setStatusMessage instead of setErrorMessage
12475         (dispatch): when function is disabled, set error message here
12476         [instead of in getStatus previously]
12477
12478         * BufferView_pimpl.C (workAreaButtonRelease): update
12479         toolbar/menubar here too.
12480
12481 2002-01-13  Allan Rae  <rae@lyx.org>
12482
12483         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12484         Now seems indestructible.  Remaining task is to audit all other
12485         code affected by deleteEmptyParagraphMechanism.  One small quirk
12486         left is that an empty document with an error in the preamble can
12487         be made to report an error but no error box appears.  I don't know
12488         where it goes.
12489         (removeAutoInsets): Improved comments.
12490
12491 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * Thesaurus.h:
12494         * Thesaurus.C: update for Aiksaurus 0.14
12495
12496 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * text2.C (firstParagraph): removed member function, all uses
12499         replaces with ownerParagraph
12500         (redoParagraphs): here
12501         (updateInset): here
12502         (toggleAppendix): here
12503         * BufferView2.C (insertErrors): here
12504         (setCursorFromRow): here
12505
12506 2002-01-13  Allan Rae  <rae@lyx.org>
12507
12508         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12509         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12510         There is still a way to segfault this although you may have to do this
12511         multiple times: Have an InsetERT with an unknown command in it.
12512         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12513         <down-arrow>, <Enter> again, View->DVI, BANG!
12514
12515         * text2.C (setCursor):
12516         (deleteEmptyParagraphMechanism):
12517         * lyxtext.h (setCursor):
12518         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12519         Making use of the return value may help fix other bugs.
12520
12521 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12522
12523         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12524
12525         * LyXView.C (updateMenubar): call MenuBar::update here
12526         (updateToolbar): but not here
12527         (showState): do not update toolbar/menubar
12528
12529         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12530         should need to care about that.
12531
12532         * lyxfunc.C (verboseDispatch): simplify a bit
12533         (getStatus): have a version which takes a pseudoaction, and
12534         another which requires a (kb_action,string).
12535
12536         * LyXAction.C (retrieveActionArg): make it work also when action
12537         is not a pseudo-action.
12538         (getActionName): simplify a bit
12539         (helpText):
12540
12541 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12542
12543         * lyxfunc.C (verboseDispatch): new families of methods with
12544         several ways to specify a command and a bool to indicate whether
12545         the command name and shortcut should be displayed in minibuffer
12546         (eventually, we could extend that to a finer bitmask like
12547         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12548         (dispatch): the pristine dispatch command which just, well,
12549         dispatchs! Note it still sets its result to minibuffer; I'm not
12550         sure we want that.
12551
12552         * lyxfunc.h: remove setHintMessage
12553
12554         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12555
12556 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12557
12558         * BufferView_pimpl.C (specialChar): delete new inset if we have
12559         not been able to insert it.
12560
12561         * kbmap.C: revert to using int instead of kb_action, since all we
12562         are dealing with is pseudo-actions.
12563
12564         * LyXAction.C (searchActionArg): change to return int instead of
12565         kb_action, since the result is a pseudoaction.
12566
12567 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12568
12569         * buffer.C (insertErtContents): Fix (partially) the font bug.
12570
12571 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12572
12573         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12574         as the other one is broken on my machine!
12575
12576 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12577
12578         * commandtags.h:
12579         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12580
12581 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12582
12583         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12584         reflect their actual use. Provide compatibility code for older lyxrc
12585         files.
12586
12587         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12588         FL_NORMAL_STYLE.
12589         change names of popup font variables in line with the changes to lyxrc.C
12590
12591 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12592
12593         * buffer.C (asciiParagraph): avoid outputing a word twice after
12594         an inset.
12595
12596         * lyxrc.C (getDescription): document that document_path and
12597         template_path can be empty.
12598
12599 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12600
12601         * LaTeXFeatures.C (getMacros):
12602         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12603
12604         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12605
12606         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12607         getPackages.
12608         (getPackages): rename feature "floats" to "float". Use an array to
12609         iterate over 'simple' features (i.e. just a \usepackage). Add
12610         handling of "amsmath" (renamed from "amsstyle").
12611
12612 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12613
12614         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12615         features list.
12616
12617 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12618
12619         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12620         FuncStaus::FuncStatus & FuncStaus::some_method().
12621
12622 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12623
12624         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12625         of the func_satus stuff. Edited and massaged in various ways by
12626         JMarc.
12627
12628         * lyxfunc.C (getStatus): use FuncStatus
12629
12630 2002-01-08  Juergen Vigna  <jug@sad.it>
12631
12632         * text.C (nextBreakPoint): use function Inset::isChar().
12633
12634         * paragraph.C (TeXOnePar): use function
12635         Inset::forceDefaultParagraphs.
12636
12637         * buffer.C (latexParagraphs): use function
12638         Inset::forceDefaultParagraphs.
12639
12640 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12641
12642         * lyx_gui.C (init): set the style of the menu popups to
12643         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12644
12645 2002-01-07  Juergen Vigna  <jug@sad.it>
12646
12647         * text.C (setHeightOfRow): small fix
12648         (prepareToPrint): don't look at alignment if we don't have the place
12649         for doing it.
12650
12651 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12652
12653         * box.C: New file. Move the Box methods and functions out of box.h,
12654         following Lars' suggestion.
12655
12656 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12657
12658         * box.h: #include "support/LOstream.h", needed for inlined function.
12659
12660         * lyxtextclass.C:
12661         * lyxtextclasslist.C: added some using std declarations.
12662
12663 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * box.h: make signed dimensions to allow insets wider than
12666           the screen (bug #162)
12667
12668         * BufferView_pimpl.C: add some insetHit debug
12669
12670 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12671
12672         * vc-backend.C: add FIXME
12673
12674 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12675
12676         * lyxfunc.C (getStatus): enable code for showing math font status
12677         in toolbar/menu.
12678
12679 2002-01-07  Juergen Vigna  <jug@sad.it>
12680
12681         * text.C (nextBreakPoint): removed debug output not needed anymore.
12682
12683 2002-01-06  Juergen Vigna  <jug@sad.it>
12684
12685         * text.C (nextBreakPoint): fixed up this function we had this bug
12686         since ever but now hopefully we break row better.
12687         (insertChar): we have to check if an inset is the next char as it
12688         could now happen that a large inset is causing a break.
12689
12690 2002-01-05  Juergen Vigna  <jug@sad.it>
12691
12692         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12693         if it doesn't like to be drawed.
12694
12695 2002-01-04  Juergen Vigna  <jug@sad.it>
12696
12697         * BufferView2.C (lockInset): forgot to set a cursor.
12698
12699         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12700
12701 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12702
12703         * FormMathsPanel.C:
12704         * FormMathsPanel.h
12705         * MathsSymbols.C:
12706         * form_maths_panel.C:
12707         * form_maths_panel.h:
12708         * form_maths_panel.fd: implemented sub- and super- buttons in math
12709         panel.
12710
12711         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12712         (or ^ space) to be used as in TeX (req'd by André).
12713
12714         * lyxfunc.C: Allow ^ and _ again to be used both as
12715         super/subscript (mathed) and as themselves (in text).
12716
12717 2002-01-03  Allan Rae  <rae@lyx.org>
12718
12719         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12720         "LyX" or the filename of the current buffer if it has one.  This is a
12721         modified form of John Levon's patch.
12722
12723         * XFormsView.C (setWindowTitle): also set icon title.
12724
12725         * LyXView.h (setWindowTitle): signature changed.
12726         * XFormsView.h (setWindowTitle): ditto.
12727
12728 2002-01-02  Juergen Vigna  <jug@sad.it>
12729
12730         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12731
12732 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * screen.C (topCursorVisible): introduce a temp var for
12735         text->cursor.row(), handle the case where this row is null. (kindo
12736         hachish)
12737
12738         * text2.C (setCursor): add a couple of asserts.
12739
12740         * paragraph.h (inset_iterator): add -> operator
12741
12742         * paragraph.[Ch] (autoDeleteInsets): remove member function
12743
12744         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12745         cursor pos correctly and handle inset deletion by itself.
12746         (insertErrors): move iterator declaration out of for expression
12747
12748         * lyxtextclass.C: add <algorithm>
12749
12750         * Makefile.am: added the new files to sources, removed layout.C
12751
12752         * layout.C: removed file
12753
12754         * layout.h: remove LYX_DUMMY_LAYOUT
12755
12756         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12757         layout.
12758
12759         * lyxlayout.[Ch]:
12760         * lyxtextclass.[Ch]:
12761         * lyxtextclasslist.[Ch]: new files
12762
12763         * include order changes to a lot of files, also changes because of
12764         the six new files.
12765
12766 2001-12-27  Juergen Vigna  <jug@sad.it>
12767
12768         * buffer.C (asciiParagraph): more fixes.
12769
12770         * tabular.C (ascii): make ascii export support export of only the
12771         data separated by a column-delimiter.
12772         (ascii): better support for ascii export.
12773
12774         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12775
12776 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12777
12778         * tabular_funcs.C: use a "using std::getline" instead of the
12779         previous fix from Angus (necessary for cxx + lyxstring)
12780
12781 2001-12-24  Juergen Vigna  <jug@sad.it>
12782
12783         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12784
12785         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12786         problems. First check a minipage also if we have some ert-contents
12787         (not only on par->size(), second set the right depth of the paragraph
12788         on the relink to the root-paragraph-list!
12789
12790         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12791         which then did not anymore update the main paragraphs on undo/redo!
12792
12793 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12794
12795         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12796         code. Support all font-changing funcs (even those which are not in
12797         menu currently). Support for reporting font settings in
12798         mathed (disabled until Andre provides a function on mathed's side).
12799
12800         * func_status.h (toggle): small helper function to set toggle
12801         state on a flag.
12802
12803 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12804
12805         * tabular_funcs.C: getline -> std::getline
12806
12807 2001-12-21  Juergen Vigna  <jug@sad.it>
12808
12809         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12810         accessed and could be 0 (I couldn't generate this but it seems
12811         Michael could!).
12812
12813 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12814
12815         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12816         * tabular_funcs.h: here and include iosfwd
12817
12818 2001-12-20  Juergen Vigna  <jug@sad.it>
12819
12820         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12821         inside inset but undo_par was.
12822
12823 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12824
12825         * Thesaurus.C: always include <config.h> in sources.
12826
12827         * Painter.h:
12828         * lyxlookup.h:
12829         * box.h: do not include <config.h> in header files
12830
12831         * text.C (paintLastRow): remove unused variable
12832
12833         * text.C (transformChar):
12834         (insertChar):
12835         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12836
12837         * Painter.C (text):
12838         * font.C (width): rewrite to use uppercase() instead of
12839         islower/toupper.
12840
12841         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12842
12843 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12844
12845         * lyxfind.C: clean up of find failure position change
12846
12847 2001-12-20  Juergen Vigna  <jug@sad.it>
12848
12849         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12850
12851         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12852         (TeXRow): added to LaTeX a single tabular row.
12853         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12854         (Latex): simplified and finally good LT-h/f support.
12855         (various_functions): just small adaptions for LT-h/f support.
12856
12857         * tabular_funcs.[hC]: added and moved here all not classfunctions
12858         of LyXTabular.
12859
12860 2001-12-19  Juergen Vigna  <jug@sad.it>
12861
12862         * tabular.[Ch]: better support for longtabular options (not finished
12863         yet!)
12864
12865 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12866
12867         * text.C (paintLastRow): use the label font instead of the font of
12868         the last character to compute the size of *_BOX. This makes more
12869         sense and avoids a crash with empty paragraphs.
12870         Use Painter::rectangle to draw EMPTY_BOX.
12871
12872 2001-12-19  Juergen Vigna  <jug@sad.it>
12873
12874         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12875         the paragraphs if the replaced paragraph is not the first one!
12876         Tried to delete not used paragraphs but does not work yet so for
12877         now it's inside #ifdef's and by default off!
12878
12879 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12880
12881         * MenuBackend.C: include "lyx_main.h" instead of declaring
12882         lastfiles (actually was declared as LastFiles* instead of a
12883         scoped_ptr).
12884
12885 2001-12-17  Juergen Vigna  <jug@sad.it>
12886
12887         * tabular.C (AppendColumn): applied John's fix
12888
12889 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12890
12891         * BufferView.h:
12892         * BufferView.C:
12893         * BufferView_pimpl.h:
12894         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12895
12896         * Makefile.am:
12897         * box.h: new start of class for above
12898
12899         * lyxfunc.C: ignore space-only minibuffer dispatches.
12900           Show the command name when it doesn't exist
12901
12902         * minibuffer.C: don't add empty lines to the history
12903
12904         * minibuffer.C: add a space on dropdown completion
12905
12906 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * text.C: fix line above/below drawing in insets
12909
12910 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12911
12912         * lyxlength.C (LyXLength): Initialize private variables.
12913
12914 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12917         when inserting error insets.
12918
12919 2001-12-13  Juergen Vigna  <jug@sad.it>
12920
12921         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12922         actually sometimes the before-paragraph.
12923         (setUndo): don't clear the redostack if we're not actually undoing!
12924
12925 2001-12-06  Juergen Vigna  <jug@sad.it>
12926
12927         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12928         and fixed redoing of main paragraph, so we can use it now ;)
12929
12930         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12931
12932 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12933
12934         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12935         Juergen's request
12936
12937 2001-12-13  André Pönitz <poenitz@gmx.net>
12938
12939         * undostack.[Ch]:
12940         * undo_func.C: minor cleanup
12941
12942 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12943
12944         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12945         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12946         font in urw-fonts package which is marked as -urw-fontspecific and
12947         does not work (incidentally, changing the encoding in the
12948         fonts.dir of this package to -adobe-fontspecific fixes the
12949         problem).
12950
12951         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12952         is a crash when undoing first paragraph (Juergen, please take a
12953         look). THis does not mean the undo fix is wrong, just that it
12954         uncovers problems.
12955
12956         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12957         the (Paragraph*) version when needed instead of duplicating the
12958         code.
12959
12960         * text.C (workWidth): use Inset::parOwner to find out where the
12961         inset has been inserted. This is a huge performance gain for large
12962         documents with lots of insets. If Inset::parOwner is not set, fall
12963         back on the brute force method
12964
12965         * paragraph_pimpl.C (insertInset):
12966         * paragraph.C (Paragraph):
12967         (cutIntoMinibuffer): set parOwner of insets when
12968         inserting/removing them
12969
12970         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12971
12972 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12973
12974         * commandtags.h:
12975         * LyXAction.C:
12976         * lyx_main.C:
12977         * lyxfunc.C:
12978         * mathed/formulabase.C:
12979         * mathed/math_cursor.[Ch]:
12980         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12981
12982
12983 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * lyxlength.[Ch] (operator!=): new function
12986
12987 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12988
12989         * text.C (workWidth): use Inset::parOwner to find out where the
12990         inset has been inserted. This is a huge performance gain for large
12991         documents with lots of insets. If Inset::parOwner is not set, fall
12992         back on the brute force method
12993
12994         * paragraph_pimpl.C (insertInset):
12995         * paragraph.C (Paragraph):
12996         (cutIntoMinibuffer): set parOwner of insets when
12997         inserting/removing them
12998
12999         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13000
13001 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13002
13003         * tabular-old.C (getTokenValue):
13004         * tabular.C (getTokenValue):
13005         (write_attribute): new versions for LyXLength
13006         (everywhere): adjust the use of widths
13007
13008         * tabular.h: change the type of widths from string to LyXLength
13009
13010 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13011
13012         * paragraph.C: fixed missing line number count when exporting
13013         Environments to LaTeX file
13014
13015         * buffer.C: added informational message for checking line numbers.
13016
13017 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13018
13019         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13020         paragraph, do the 'double space' part, but not the 'empty
13021         paragraph' one.
13022
13023         * text.C (workWidth): small optimization
13024         (getLengthMarkerHeight): use minimal size for negative lengths.
13025
13026 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13027
13028         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13029
13030         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13031
13032 2001-12-11  André Pönitz <poenitz@gmx.net>
13033
13034         * FontLoader.C:
13035         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13036
13037 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13038
13039         * text2.C: keep selection on a setFont()
13040
13041 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13042
13043         * lyx_cb.C: another bv->text misuse, from insert label
13044
13045 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13046
13047         * kbsequence.h:
13048         * kbsequence.C: re-instate nmodifier mask
13049
13050 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13051
13052         * lyx_main.h: make lyxGUI private.
13053
13054 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13055
13056         * lyxfind.C: place the cursor correctly on failed search
13057
13058 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13059
13060         * text.C (getLengthMarkerHeight): for small heights, the arrows
13061         are not always on top/bottom of the text
13062         (drawLengthMarker): smaller arrows; take the left margin in
13063         account; draw also vfills.
13064         (paintFirstRow):
13065         (paintLastRow): remove special code for vfill and standard spaces,
13066         since everything is handled in drawLengthMarker now.
13067
13068 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * buffer.C (insertErtContents): try to handle font and language
13071         interaction a bit better.g
13072
13073         * ColorHandler.C (updateColor): change the hash to cover the whole
13074         LColor enum, ws cleanup
13075         (getGCLinepars): ditto
13076         (getGCLinepars): only lookup in the linecache once.
13077
13078 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13079
13080         * iterators.C (operator++): Make the iterator more robust
13081
13082         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13083         (John's patch)
13084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13085
13086 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13087
13088         * lyxtext.h:
13089         * text.C: better added space drawing
13090
13091 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13092
13093         * LyXView.C:
13094         * BufferView2.C: fix layout combo update on inset unlock
13095
13096 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13097
13098         * Makefile.am: don't compile unused files
13099
13100 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13101
13102         * lyxfunc.C:
13103         * commandtags.h:
13104         * LyXAction.C: remove old LFUN_LAYOUTNO
13105
13106 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13107
13108         * paragraph_pimpl.h:
13109         * paragraph_pimpl.C: isTextAt() doesn't need font param
13110
13111 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13112
13113         * lyxlex.h:
13114         * lyxlex.C: little cleanup
13115
13116 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13117
13118         * BufferView_pimpl.C: fix insertAscii for insets
13119
13120 2001-12-05  Juergen Vigna  <jug@sad.it>
13121
13122         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13123         set the right font on the "multi" paragraph paste!
13124
13125 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * trans_decl.h:
13128         * trans_mgr.[Ch]:
13129         * trans.[Ch]:
13130         * lyxgluelength.C:
13131         * lyxlength.C: remove out-commented code.
13132
13133         * BufferView_pimpl:
13134         * CutAndPaste.C:
13135         * DepTable.C:
13136         * buffer.C:
13137         * chset.C:
13138         * lastfiles.C:
13139         * lyxlex.C:
13140         * lyxlex_pimpl.C:
13141         * lyxserver.C:
13142         * screen.C:
13143         * tabular-old.C:
13144         * tabular.C:
13145         * text.C:
13146         * trans_mgr.C:
13147         * vc-backend.C: change "while(" to "while ("
13148
13149         * lyxlength.[Ch]: add zero function to check if length is zero or
13150         not
13151         * lyxgluelength.C: use it
13152
13153 2001-12-05  Allan Rae  <rae@lyx.org>
13154
13155         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13156         Works for 2.95.3, from what I understand of Garst's reports this should
13157         work for other g++ versions.  We're screwed if the abs(int) definition
13158         changed between bugfix releases of gcc.
13159
13160 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13161
13162         * text.C: fix chapter label offset !
13163
13164 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * lyxtext.h:
13167         * text.C: fix hfill at end of line, clean up
13168
13169 2001-12-04  Juergen Vigna  <jug@sad.it>
13170
13171         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13172         that we force an update of the inset and it's owners if neccessary.
13173
13174 2001-12-03  Juergen Vigna  <jug@sad.it>
13175
13176         * text.C (rowLast): simplified code
13177
13178 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13179
13180         * lyxfunc.C: fix show options on timeout
13181
13182 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13183
13184         * screen.C (topCursorVisible): scroll half a page when the cursor
13185         reached top of bottom of screen
13186
13187 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13188
13189         * minibuffer.C: deactivate on loss of focus
13190
13191 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * vspace.[Ch] (operator!=): add operator.
13194
13195 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * BufferView_pimpl.C: refuse to open an inset when
13198         there's a selection.
13199
13200 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13201
13202         * BufferView_pimpl.C: allow to click on RHS of full row insets
13203
13204 2001-11-30  Juergen Vigna  <jug@sad.it>
13205
13206         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13207         insets for undo reasons.
13208
13209 2001-11-28  André Pönitz <poenitz@gmx.net>
13210
13211         * vspace.[Ch]: cosmetical changes
13212
13213 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13214
13215         * LyXAction.h:
13216         * LyXAction.C:
13217         * lyxfunc.h:
13218         * lyxfunc.C:
13219         * kbmap.h:
13220         * kbmap.C:
13221         * lyxrc.C:
13222         * kbsequence.h:
13223         * kbsequence.C: part re-write of old kb code
13224
13225         * Painter.C:
13226         * WorkArea.C: remove Lgb_bug_find_hack
13227
13228 2001-11-30  José Matos <jamatos@fep.up.pt>
13229
13230         * buffer.C (makeDocBookFile): add a comment to point a hack.
13231         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13232         Fixed a double write of labels.
13233
13234 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13235
13236         * LaTeX.C:
13237         * LaTeX.h Fixed bug in LaTeX class where it would not
13238         re-run latex if no depfiles were changed, but the .dvi was removed.
13239
13240 2001-11-28  André Pönitz <poenitz@gmx.net>
13241
13242         * all the files from the change on 2001/11/26:
13243         use lyx::layout_type instead of LyXTextClass::size_type
13244         use lyx::textclass_type instead of LyXTextClassList::size_type
13245
13246 2001-11-29  Juergen Vigna  <jug@sad.it>
13247
13248         * text.C: added support for paragraph::isFreeSpacing()
13249
13250         * buffer.C: same as above
13251
13252         * paragraph.h: inserted isFreeSpacing() function to enable
13253         FreeSpacing inside InsetERT.
13254
13255         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13256         of the paragraph's in the cut/copy buffer to 0!
13257
13258         * text2.C (removeRow): remove the assert as it can!
13259
13260         * lyxtext.h: added helper function firstRow returning firstrow and
13261         made firstrow private again.
13262
13263         * BufferView2.C (lockInset): don't relock if we're already locked!
13264
13265         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13266         the only paragraph.
13267         (removeRow): added Assert::(firstrow)
13268
13269         * debug.C: forgot to add INSETTEXT here.
13270
13271 2001-11-28  Juergen Vigna  <jug@sad.it>
13272
13273         * sp_spell.C (initialize): changed error text to more general
13274         spellchecker command use (not only ispell!)
13275
13276         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13277
13278         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13279
13280 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * vspace.C: initialise lyxgluelength on failure
13283
13284 2001-11-28  Allan Rae  <rae@lyx.org>
13285
13286         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13287         declaration & definition that looks like a function declaration.
13288
13289 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13290
13291         * BufferView2.C (copy):
13292         (copyEnvironment): do not clear the selection when doing a copy.
13293
13294         * text.C (paintFirstRow): compilation fix
13295
13296 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13297
13298         * tabular.C (Latex): correct line count when writing latex.
13299
13300 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * paragraph_pimpl.h:
13303         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13304           bug a bit
13305
13306 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13307
13308         * text.C:
13309         * LColor.h:
13310         * LColor.C: change vfillline->added_space
13311
13312         * text.C: add markers and text for added space
13313
13314         * vspace.C: fix comment
13315
13316 2001-11-28  André Pönitz <poenitz@gmx.net>
13317
13318         * paragraph.C: whitespace changes
13319         * all the other files from the change on 2001/11/26:
13320         change *::pos_type into lyx::pos_type
13321
13322 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13323
13324         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13325         language of the document when inserting error insets.
13326
13327 2001-11-26  André Pönitz <poenitz@gmx.net>
13328
13329         * BufferView_pimpl.[Ch]:
13330         *       CutAndPaste.C:
13331         * buffer.[Ch]:
13332         * lyxcursor.[Ch]:
13333         * lyxfind.C:
13334         * lyxfunc.C:
13335         * lyxrow.[Ch]:
13336         * paragraph.[Ch]:
13337         * paragraph_pimpl.[Ch]:
13338         * sp_spell.C:
13339         * text.C:
13340         * text2.C: reduce header dependencies, introduce type for positions
13341
13342 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13343
13344         * <various>: change to use Alert.h
13345
13346 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13347
13348         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13349         when encountering an unknown token.
13350         (readLyXformat2): Show an error message if there were unknown tokens.
13351
13352 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13353
13354         * BufferView2.C:
13355         * BufferView_pimpl.C:
13356         * buffer.C:
13357         * paragraph.h:
13358         * text.C:
13359         * text2.C: use par->isInset()
13360
13361 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13362
13363         * paragraph_pimpl.h:
13364         * paragraph_pimpl.C: cleanup
13365
13366 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13367
13368         * text2.C (removeRow):
13369         * text.C (setHeightOfRow): remove useless (and costly) call to
13370         getRow.
13371
13372 2001-11-20  Allan Rae  <rae@lyx.org>
13373
13374         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13375         Now need Inset*::checkInsertChar() to return true for appropriate
13376         cases so that the characters in the minibuffer will actually be
13377         inserted.
13378
13379 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13380
13381         * text.C: change the order of the includes.
13382         (workWidth): initialize it at once.
13383         (workWidth): make maxw unsigned
13384         (setHeightOfRow): remove unused variable (inset)
13385         (selectSelectedWord): remove unused variable (inset)
13386         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13387
13388 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13389
13390         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13391         server is not running.
13392         (openConnection):
13393         (closeConnection): add debug info when server is disabled.
13394
13395         * ColorHandler.C (getGCForeground): send debug message to GUI
13396         channel.
13397
13398         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13399
13400         * kbmap.C (bind): modify because return conventions of
13401         kb_sequence::parse have changed.
13402
13403         * kbsequence.C (parse): only ignore spaces and not any stupid
13404         control character. This avoids tests like s[i] <= ' ', which are
13405         guaranteed to fail with 8bit characters and signed chars.
13406         Change return code to string::npos when there have been no error
13407         (0 was a bad idea when error is at first character)
13408
13409 2001-11-14  José Matos  <jamatos@fep.up.pt>
13410
13411         * buffer.h:
13412         * buffer.C (simpleDocBookOnePar): removed unused argument.
13413
13414 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13415
13416         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13417         insets which are part of a word. Paragraph::isLetter takes care of
13418         that now. Use Paragraph::isInset to identify insets.
13419         (selectSelectedWord): do not test for hyphenation break.
13420
13421         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13422         that protected spaces are considered as spaces.
13423
13424         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13425         Inset::isLetter.
13426
13427 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13428
13429         * lyxserver.h:
13430         * lyxserver.C: fix it. and small cleanup.
13431
13432 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13433
13434         * BufferView_pimpl.C: use inline helpers
13435
13436         * LaTeXFeatures.h:
13437         * LaTeXFeatures.C: fix typos
13438
13439         * Spacing.h:
13440         * Spacing.C: move spacing_string into class
13441
13442         * ToolbarDefaults.C: move stuff into namespace anon
13443
13444         * layout.h: update enum
13445
13446         * lyxfunc.C: use better debug
13447
13448         * minibuffer.h: fix typo
13449
13450         * debug.h:
13451         * debug.C:
13452         * WorkArea.C: add and use Debug::WORKAREA
13453
13454         * lyxtext.h:
13455         * text.C:
13456         * text2.C: code re-organisation, inline helpers
13457
13458 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13459
13460         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13461         std::vector.empty().
13462
13463 2001-11-09  Allan Rae  <rae@lyx.org>
13464
13465         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13466         '\n's after tables.  Tabular and ERT inset work now makes this no
13467         longer necessary.
13468
13469 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13470
13471         * minibuffer.h:
13472         * minibuffer.C: fix crash, improve drop-down completion
13473
13474 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * lyxserver.h:
13477         * lyxserver.C: invalidate fd's when doing endPipe()
13478
13479 2001-11-08  José Matos  <jamatos@fep.up.pt>
13480
13481         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13482         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13483
13484         * paragraph.h:
13485         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13486
13487 2001-11-07  José Matos  <jamatos@fep.up.pt>
13488
13489         * buffer.h:
13490         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13491         const qualifier.
13492
13493         * buffer.C (sgmlOpenTag):
13494         * buffer.C (sgmlCloseTag): removed debug info.
13495
13496         * buffer.h (sgmlOpenTag):
13497         * buffer.h (sgmlCloseTag): made public.
13498
13499 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13500
13501         * buffer.C (saveParamsAsDefaults):
13502         * lyx_cb.C (MenuLayoutSave): remove
13503
13504         * LyXAction.C (init):
13505         * commandtags.h:
13506         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13507
13508 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13509
13510         * buffer.C (setPaperStuff): removed from here...
13511
13512         * bufferparams.C (setPaperStuff): ... and moved there.
13513
13514 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * minibuffer.h:
13517         * minibuffer.C:
13518         * XFormsView.C: add support for drop-down completion
13519
13520 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13521
13522         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13523         commands.
13524
13525 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13526
13527         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13528         disabled.
13529
13530 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * lyx_main.C: change ref to known bugs
13533
13534 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13535
13536         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13537         to work around older babel problems.
13538
13539 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13540
13541         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13542
13543 2001-10-24  Juergen Vigna  <jug@sad.it>
13544
13545         * tabular-old.C (ReadOld): below variable changes reflected.
13546
13547         * tabular.[Ch]: added ltType struct for longtable header/footer
13548         defines and changed all instances where they are used. Added
13549         future support for double top/bottom rows.
13550
13551 2001-10-24  José Matos  <jamatos@fep.up.pt>
13552
13553         * buffer.h (docbookHandleCaption):
13554         * buffer.C (docbookHandleCaption): removed unused function.
13555         (makeDocBookFile): moved docbook supported version to v4.1.
13556
13557 2001-10-24  José Matos  <jamatos@fep.up.pt>
13558
13559         * tabular.h:
13560         * tabular.C (docbookRow): new function to export docbook code of a row.
13561         (DocBook): now honors the longtable flags.
13562
13563 2001-10-23  José Matos  <jamatos@fep.up.pt>
13564
13565         * LaTeXFeatures.h:
13566         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13567         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13568
13569         * buffer.C (makeLinuxDocFile):
13570         (makeDocBookFile): reworked the preamble, more clean, and with
13571         support for lyx defined entities. Changed the document declaration
13572         to be more XML friendly.
13573
13574         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13575         if we need to output XML that should be done with a filter.
13576
13577 2001-10-22  Juergen Vigna  <jug@sad.it>
13578
13579         * sp_pspell.h (class PSpell): add alive function needed in the
13580         controller to see if the spellchecker could be started.
13581
13582 2001-10-22  Juergen Vigna  <jug@sad.it>
13583
13584         * buffer.C (insertStringAsLines): modify the font for inserting
13585         chars in certain conditions by calling checkInsertChar(font).
13586
13587 2001-10-19  Juergen Vigna  <jug@sad.it>
13588
13589         * text.C (workWidth): use getRow instead of wrong algorithm.
13590         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13591
13592 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * lyxserver.h:
13595         * lyxserver.C:
13596         * lyx_main.h:
13597         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13598
13599 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13600
13601         * text.C (workWidth): do not search for the exact row when
13602         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13603         optimization for big documents.
13604
13605 2001-10-18  Juergen Vigna  <jug@sad.it>
13606
13607         * text.C (workWidth): new function with added Inset * parameter.
13608
13609 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13612
13613         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13614         change return type of getColumnNearX.
13615
13616
13617         * text.C (changeRegionCase): use uppercase/lowercase instead of
13618         toupper/tolower.
13619         (leftMargin):
13620         (rightMargin): simplify code by factoring out the uses of
13621         textclasslist.
13622         (labelFill):
13623         (numberOfHfills):
13624         (setHeightOfRow):
13625         (appendParagraph): use Paragraph::size_type
13626
13627 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * vspace.C (asLatexString): add a missing break
13630
13631 2001-10-15  Herbert Voss  <voss@perce.de>
13632
13633         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13634
13635 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13638         is not available.
13639
13640 2001-10-10  André Pönitz <poenitz@gmx.net>
13641
13642         * lyxfunc.C: removed greek_kb_flag.
13643
13644 2001-10-10  Herbert Voss  <voss@perce.de>
13645
13646         * lyx_main.C: delete global string help_lyxdir.
13647
13648 2001-10-09  Herbert Voss  <voss@perce.de>
13649
13650         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13651
13652         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13653
13654         * lyx_main.C: added global string help_lyxdir.
13655
13656         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13657
13658 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13659
13660         * lyxrc.C (set_font_norm_type): support iso8859-4
13661
13662 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13663
13664         * LaTeX.C (deplog): add another regex for MikTeX
13665
13666 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13667
13668         * lyxrc.C (set_font_norm_type): support iso8859-3
13669
13670 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13671
13672         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13673
13674         * LaTeXFeatures.C: remove special case of french and index
13675
13676         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13677         before \begin{document}). This solves several incompatibilities.
13678
13679 2001-10-03  Garst Reese  <reese@isn.net>
13680
13681         * lyx_cb.C: change CheckTex error msg.
13682
13683 2001-10-03  José Matos  <jamatos@fep.up.pt>
13684
13685         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13686
13687 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13688
13689         * .cvsignore: update
13690
13691         * lyx_main.C (commandLineVersionInfo): use new style version info.
13692
13693         * buffer.C (writeFile):
13694         (makeLaTeXFile):
13695         (makeLinuxDocFile):
13696         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13697
13698         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13699
13700         * version.h: update to use stuff in version.C
13701
13702         * version.C.in: new file. Contains version information determined
13703         at compile time. This is a merging of version.h and
13704         version_info.h.in.
13705
13706 2001-10-03  Juergen Vigna  <jug@sad.it>
13707
13708         * BufferView_pimpl.C (update): don't change "dirty" status in
13709         updateInset call.
13710
13711 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13712
13713         * WorkArea.C (c-tor): re-position version string slightly.
13714
13715 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13716
13717         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13718         revert to previous code.
13719
13720         WorkArea.[Ch]: (show, destroySplash): methods removed.
13721
13722         WorkArea.C: rework code so that it's an amalgam of the codes before and
13723         after the splash screen was moved to WorkArea.
13724
13725 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * lyxrc.C (read):
13728         * vspace.C (inPixels):
13729         (lyx_advance):
13730         * kbmap.C (bind):
13731         * buffer.C (insertStringAsLines):
13732         (asciiParagraph): fix types to be large enough
13733
13734         * lyxlex_pimpl.h: change member status from short to int
13735
13736         * layout.h: fix type of endlabeltype
13737
13738         * kbmap.C (bind):
13739         * kbsequence.C (parse): change return type to string::size_type
13740
13741         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13742         variable
13743
13744         * Bullet.C (bulletSize):
13745         (bulletEntry): do not use short ints as parameters
13746
13747         * BufferView2.C (insertLyXFile): change a char to an int.
13748
13749         * WorkArea.C (WorkArea): remove unneeded floats in computation
13750
13751 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13752
13753         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13754
13755         * paragraph.C (asString): Do not ignore newline/hfill chars when
13756         copying to the clipboard.
13757
13758 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13759
13760         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13761         after a multi-line inset.
13762
13763 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13764
13765         * paragraph.C (validate): Set NeedLyXFootnoteCode
13766
13767 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13770         and decrease-error to decrease.
13771
13772 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13773
13774         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13775         it more readable (should be equivalent)
13776
13777 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13778
13779         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13780
13781 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13782
13783         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13784         of a cursor (row, etc.) after a character has been deleted
13785         (deleteEmptyParagraphMechanism): call the method above on _all_
13786         cursors held by the LyXText when a double space has been
13787         detected/deleted.
13788
13789 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13790
13791         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13792         pixmap.
13793         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13794
13795         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13796         background. Use greyOut() and the new show() methods to toggle between
13797         the foreground and background. Add code to remove the splash after
13798         its initial showing.
13799
13800         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13801         (create_forms): no longer call Dialogs::showSplash.
13802
13803 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13804
13805         * .cvsignore: add version_info.h
13806
13807 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * version_info.h.in: new file
13810
13811         * Makefile.am: add version_info.h.in
13812
13813         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13814         version_info.h instead of VERSION_INFO
13815
13816 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13819         The ERT inset now returns string().
13820
13821 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13822
13823         * lyxtext.h, text.C (selectNextWord): renamed as
13824         selectNextWordToSpellcheck.
13825
13826         * text.C (selectNextWordToSpellcheck): Modified to not select
13827         words inside an ERT inset.
13828
13829 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13830
13831         * lyx_cb.C (MenuLayoutSave): change a bit the question
13832
13833         * sp_base.h: include <sys/types.h>
13834
13835 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13836
13837         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13838
13839 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13840
13841         * several files: fix typos in user-visible strings
13842
13843 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13844
13845         * text2.C (pasteSelection): do not set the selection, since it
13846         will be cleared later. Actually, the intent was to fix the way the
13847         selection was set, but I figured rmoving the code was just as good.
13848
13849 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13850
13851         * FontLoader.C (available): Check if font is available without
13852         loading the font.
13853
13854 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13855
13856         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13857
13858 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13859
13860         * lyxrc.[Ch]: added display_graphics variable and associated code.
13861
13862 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13863
13864         * bufferparams.C (hasClassDefaults): new method. Returns true if
13865         the buffer parameters correspond to known class defaults
13866
13867 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13868
13869         * XFormsView.C (show): set minimum size to the main window.
13870
13871 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13872
13873         * text2.C (copySelection):
13874         (cutSelection):
13875         * lyxfind.C (LyXReplace):
13876         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13877         LyXText::selectionAsString.
13878
13879         * paragraph.C (asString): add "label" argument to the second form
13880
13881         * text2.C (selectionAsString): add "label" argument and pass it to
13882         Paragraph::asString.
13883
13884 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * lyx_main.C (commandLineHelp): remove version information
13887
13888 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13889
13890         * lyx_main.C: add -version commandline option
13891
13892 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13893
13894         * paragraph.h: make the optional constructor arg required instead.
13895         some modifications to other files because of this.
13896
13897         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13898
13899         * lyxserver.C (C_LyXComm_callback): make it static
13900
13901         * lyx_main.C (error_handler): make it static
13902
13903         * lyx_gui.C (LyX_XErrHandler): make it static
13904
13905         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13906
13907         * WorkArea.C: make the extern "C" methods static.
13908
13909         * Makefile.am (lyx_LDADD): simplify
13910
13911 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13912
13913         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13914         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13915
13916         * LyXAction.C (init):
13917         * lyxfunc.C (dispatch): associated code removal.
13918
13919 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13920
13921         * lyxfont.h (isSymbolFont): shut off warning
13922
13923         * text.C (setHeightOfRow):
13924         (getVisibleRow): fix crash with empty paragraphs which have a
13925         bottom line
13926
13927 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13928
13929         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13930         code.
13931
13932 2001-09-04  José Matos  <jamatos@fep.up.pt>
13933         * buffer.C
13934         * buffer.h
13935         * tabular.C (docbook): rename docBook method to docbook.
13936
13937 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13938
13939         * Makefile.am: add dependencies to main.o.
13940
13941 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13942
13943         * FontLoader.C (available): Return false if !lyxrc.use_gui
13944
13945 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13946
13947         * FontInfo.C (query):
13948         * converter.C (view):
13949         * importer.C (Import):
13950         * exporter.C (Export): Can not -> cannot.
13951
13952 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * BufferView_pimpl.C: allow to create index inset even if
13955           string is empty
13956
13957 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13958
13959         * buffer.C (getLists): replace boost::tie code with an explicit pair
13960         as boost::tie can break some compilers.
13961
13962         * iterators.h: Added a std:: declaration to the return type of
13963         ParIterator::size.
13964
13965 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13966
13967         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13968           case.
13969
13970 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13971
13972         * iterators.[Ch]: New files. Provide paragraph iterators.
13973
13974         * buffer.C (changeLanguage): Use paragraph iterators.
13975         (isMultiLingual): ditto
13976
13977         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13978
13979 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13980
13981         * FontLoader.C: Support for cmr font.
13982
13983 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13984
13985         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13986         (available): New method.
13987
13988         * FontInfo.C (getFontname): Use scalable fonts even when
13989         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13990         found.
13991
13992 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13993
13994         * converter.C (Formats::view): reverted! Incorrect fix.
13995
13996 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13997
13998         * converter.C (Formats::view): only output the -paper option
13999         if the dvi viewer is xdvi, thereby fixing bug #233429.
14000
14001 2001-08-23  Herbert Voss  <voss@perce>
14002
14003         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14004
14005 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14006
14007         * Spacing.h (Spacing): Set space to Default on in the default
14008         constructor.
14009
14010 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * vc-backend.h (RCS::versionString): add RCS to version
14013         (CVS::versionString): add CVS to version
14014
14015         * vc-backend.C (scanMaster): do not add CVS to version.
14016         (scanMaster): do not add RCS to version
14017
14018         * lyxvc.C (versionString): new method
14019
14020         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14021
14022 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14023
14024         * Spacing.C (set): initialize fval
14025
14026 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14027
14028         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14029         " or \.
14030
14031 2001-08-16  Juergen Vigna  <jug@sad.it>
14032
14033         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14034
14035 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14036
14037         * BufferView_pimpl.C:
14038         * figureForm.C:
14039         * lyxtext.h:
14040         * text2.C: setParagraph takes linespacing now
14041
14042 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14043
14044         * LyxAction.C: add internal LFUN_CITATION_INSERT
14045
14046         * LyXView.C: actually apply fix
14047
14048         * bufferlist.C: fix open non-existent file
14049
14050         * lyxfind.C: fix indentation
14051
14052         * lyxfunc.C: remove unneeded assert, fix typo
14053
14054 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14055
14056         * MenuBackend.C: use "Floatname List"
14057
14058 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14059
14060         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14061         when converting LaTeX layout to insetERT.
14062         Generate a non-collapsed float when reading old float
14063
14064 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14065
14066         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14067         ERT insets.
14068
14069 2001-08-13  Juergen Vigna  <jug@sad.it>
14070
14071         * text.C (fill): return 0 instead of 20 as this seems to be the more
14072         correct value.
14073
14074 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14075
14076         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14077         lyxrc.font_norm.
14078
14079 2001-08-13  Juergen Vigna  <jug@sad.it>
14080
14081         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14082         casesensitive off.
14083         (SearchBackward): comment out the unlocking of the inset_owner this
14084         should not be needed!
14085
14086 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14087
14088         * Many files: Remove inherit_language, and add latex_language
14089
14090         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14091         collapsible insets.
14092
14093 2001-08-10  Juergen Vigna  <jug@sad.it>
14094
14095         * text.C (prepareToPrint): fixed hfill-width in draw!
14096
14097         * BufferView2.C (selectLastWord): save the selection cursor as this
14098         now is cleared in the function LyXText::clearSelection!
14099
14100 2001-08-08  Juergen Vigna  <jug@sad.it>
14101
14102         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14103         BACKSPACE type functions.
14104
14105         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14106         is only cutted from the document but not put in the cut-buffer, where
14107         still the old stuff should be.
14108
14109         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14110
14111         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14112
14113         * tabular.C (SetWidthOfCell): fixed special case where the width
14114         was not updated!
14115         (LeftLine): handle '|' in align_special.
14116         (RightLine): ditto
14117         (LeftAlreadyDrawed): ditto
14118         (SetWidthOfCell): ditto
14119
14120 2001-08-07  Juergen Vigna  <jug@sad.it>
14121
14122         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14123
14124 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14125
14126         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14127         * lyxlex.[hC]: ditto
14128
14129 2001-08-06  Juergen Vigna  <jug@sad.it>
14130
14131         * text.C (getVisibleRow): fix up row clearing a bit.
14132
14133 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14134
14135         * minibuffer.C: make sure the X server sees the changes in the input.
14136
14137 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14138
14139         * paragraph.C (getFont): split into...
14140         (getLabelFont): this
14141         (getLayoutFont): and this
14142         * paragraph_pimpl.C (realizeFont): calling this
14143
14144         * text2.C (getFont): split into...
14145         (getLayoutFont): this
14146         (getLabelFont): and this
14147         (realizeFont): all three calling this
14148
14149         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14150         files where used.
14151
14152 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14155
14156 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14157
14158         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14159         layouts from the Quote inset insertion.
14160
14161 2001-08-03  Juergen Vigna  <jug@sad.it>
14162
14163         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14164
14165         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14166         only if status not is already CHANGED_IN_DRAW (second level).
14167
14168         * text.C (draw): don't set the need_break_row when inside an
14169         InsetText LyXText.
14170
14171 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14172
14173         * buffer.C (parseSingleLyXformat2Token): handle more latex
14174         conversion cases.
14175
14176         * bufferview_funcs.[hC]: change function names to
14177         begin with small char, adjust other files.
14178
14179 2001-08-02  André Pönitz <poenitz@gmx.net>
14180
14181         * lyxfunc.C:
14182         BufferView_pimpl.C: remove broken special code for math-greek
14183
14184 2001-08-02  Juergen Vigna  <jug@sad.it>
14185
14186         * BufferView_pimpl.C (update): redone this function so that we
14187         update the text again if there was a CHANGE_IN_DRAW.
14188
14189         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14190         (drawFromTo): added a new internal bool which is used by draw() and
14191         redraw() function.
14192         (general): some cursor drawing problems fixed.
14193
14194 2001-08-01  Juergen Vigna  <jug@sad.it>
14195
14196         * lyxfind.C (LyXFind): fixed
14197         (SearchForward): ditto
14198         (SearchBackward): ditto
14199
14200         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14201         spurius drawing of the cursor in the main area.
14202
14203         * text2.C (status): small fix which could lead to a segfault!
14204         (clearSelection): remove unneeded BufferView param.
14205
14206 2001-08-01  André Pönitz <poenitz@gmx.net>
14207
14208         * lyxfunc.C: small change due to changed mathed interface
14209
14210 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14211
14212         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14213
14214 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14215
14216         * lyxfunc.c: fail gracefully if file doesn't exist
14217
14218         * LyXSendto.C:
14219         * buffer.C:
14220         * lyxfunc.C:
14221         * BufferView_pimpl.C: IsDirWriteable() proto changed
14222
14223         * LyXView.C: fix updateWindowTitle() to store the last title
14224
14225 2001-07-31  Juergen Vigna  <jug@sad.it>
14226
14227         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14228         the font (wrong since using of Paragraph::highestFontInRange).
14229
14230         * paragraph.C (highestFontInRange): added a default_size parameter.
14231
14232         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14233         (setHeightOfRow): reformat
14234
14235 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * converter.[hC] + affected files: move to (inital-char)lowercase
14238         function names.
14239
14240         * ParagraphParameters.C (ParagraphParameters): remove commented code
14241
14242         * PainterBase.[Ch]: remove commented code
14243
14244         * LaTeXFeatures.h: add "bool floats" for float.sty
14245
14246         * LaTeXFeatures.C (LaTeXFeatures): init floats
14247         (require): handle float
14248         (getPackages): do it with floats
14249
14250 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * BufferView_pimpl.C (Dispatch): improve handling of
14253         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14254
14255         * commandtags.h: #include lyxfont.h here temporarily to avoid
14256         keybinding bug.
14257
14258         * bufferlist.h: include LString.h here.
14259
14260 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14261
14262         * text2.C (getStringToIndex): new method.
14263
14264 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14265
14266         * *: Reduced header file dependencies all over.
14267
14268 2001-07-30  Baruch Even  <baruch@lyx.org>
14269
14270         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14271
14272 2001-07-29  Baruch Even  <baruch@lyx.org>
14273
14274         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14275
14276 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14277
14278         * ParameterStruct.h (endif): add a default constructor to make
14279         sure that all variables is initialized.
14280
14281         * ParagraphParameters.C (ParagraphParameters): adjust
14282
14283 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14284
14285         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14286         index; also, check that there is something to index, and that it
14287         does not span over several paragraphs.
14288         (doubleClick): use WHOLE_WORD_STRICT for double click.
14289
14290         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14291
14292         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14293         scheme.
14294
14295 2001-07-26  Baruch Even  <baruch@lyx.org>
14296
14297         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14298         an InsetFig figure, backwards compatible reading of old figure code.
14299
14300 2001-07-27  Juergen Vigna  <jug@sad.it>
14301
14302         * text2.C: font.realize function adaption.
14303
14304         * text.C (draw): add a warnings lyxerr text if needed.
14305
14306         * layout.C: font.realize function adaption.
14307
14308         * language.C: add inherit_language and implement it's handlings
14309
14310         * bufferview_funcs.C (StyleReset): remove language parameter from
14311         font creation (should be language_inherit now).
14312
14313         * bufferparams.C (writeFile): handle ignore_language.
14314
14315         * paragraph.C (getFontSettings): the language has to be resolved
14316         otherwise we have problems in LyXFont!
14317
14318         * lyxfont.C (lyxWriteChanges): added document_language parameter
14319         (update): removed unneeded language parameter
14320
14321         * paragraph.C (validate): fixed wrong output of color-package when
14322         using interface colors for certain fonts in certain environments,
14323         which should not seen as that on the final output.
14324
14325 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14326
14327         * BufferView_pimpl.C:
14328         * Thesaurus.h:
14329         * Thesaurus.C:
14330         * Makefile.am:
14331         * commandtags.h:
14332         * LyXAction.C: add thesaurus support
14333
14334         * lyxfind.h:
14335         * lyxfind.C: add "once" parameter, for thesaurus, to not
14336           move to the next match
14337
14338 2001-07-26  Juergen Vigna  <jug@sad.it>
14339
14340         * lyxfont.C (realize): honor ignore_language too!
14341         (resolved): ditto.
14342
14343         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14344
14345         * text.C (draw): one place more for ignore_language to not draw
14346         itself!
14347
14348 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14349
14350         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14351
14352 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14353
14354         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14355         the minipage conversion problem.
14356
14357 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14358
14359         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14360         insert an inset.
14361
14362 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14363
14364         * BufferView.h: don't forward declare WorkArea
14365
14366         * BufferView.C: don't include WorkArea.h
14367
14368 2001-07-25  André Pönitz <poenitz@gmx.net>
14369
14370         * commandtags.h:
14371         * LyXAction.C:
14372         * lyxfunc.C:  new LFUN 'math-space'
14373
14374         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14375
14376 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14377
14378         * text2.C (toggleInset): call open/close
14379
14380 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14381
14382         * lyxfunc.C (dispatch): add debug for the disabled case
14383
14384         * font.C (buttonText): make similar to rectText
14385
14386         * buffer.C (readInset): comment out parsing of insetlist and
14387         insttheorem
14388
14389         * PainterBase.C (rectText): small correction
14390
14391         * BufferView_pimpl.C: comment out insettheorem and insetlist
14392         * LyXAction.C: ditto
14393         * commandtags.h: ditto
14394
14395 2001-07-24  Juergen Vigna  <jug@sad.it>
14396
14397         * text.C (draw): honor the ignore_language.
14398
14399         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14400
14401 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14402
14403         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14404         char inset.
14405
14406 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14407
14408         * lyxtext.h: remove unused (and unimplemented) methods
14409
14410 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14411
14412         * text.C (getVisibleRow): honor background color
14413
14414         * PainterBase.h:
14415         * Painter.h: remove default color argument for fillRectangle
14416
14417         * text.C (backgroundColor): new method
14418
14419 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14420
14421         * text.C (getVisibleRow): adjust
14422
14423         * font.[Ch] (rectText): new method, metrics
14424         (buttonText): new method, metrics
14425
14426         * PainterBase.[hC]: make rectText and buttonText always draw and take
14427         fewer paramteres.
14428
14429 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14430
14431         * ToolbarDefaults.C (read):
14432         * MenuBackend.C (read): allow escaping in all strings
14433
14434         * BufferView_pimpl.C (insertAndEditInset): new method.
14435         (Dispatch): use insertAndEditInset whenever appropriate.
14436
14437         * BufferView_pimpl.C (insertNote): removed
14438
14439         * BufferView_pimpl.C (smartQuote): new method, moved from
14440         BufferView; if an insetquote cannot be inserted, insert a '"'
14441         character instead.
14442
14443         * BufferView2.C: remove insertCorrectQuote();
14444
14445         * lyxfunc.C (getStatus): Add support for all remaingin
14446         inset-insert lfuns.
14447
14448         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14449
14450         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14451         command (necessary to pass " as parameter of self-insert.
14452
14453         * text.C (selectWordWhenUnderCursor):
14454         (selectWord): add word_location parameter
14455         (selectWordWhenUnderCursor): same + remove special code for word
14456         boundary.
14457         (selectNextWord): use kind() to guess type of insetspecialchar,
14458         not latex().
14459
14460         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14461         (insertErtContents): create ert insets as collapsed.
14462         (readInset): better compatibility code for Info inset.
14463
14464 2001-07-20  Juergen Vigna  <jug@sad.it>
14465
14466         * lyxfunc.C (dispatch): use always LyXFind now!
14467
14468         * text2.C (init): add a reinit flag so that the LyXText can be
14469         reinited instead of deleted and reallocated (used in InsetText).
14470
14471         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14472
14473         * text.C: ditto
14474
14475         * text2.C: ditto
14476
14477 2001-07-18  Juergen Vigna  <jug@sad.it>
14478
14479         * text.C (selectNextWord): handle insets inside inset by calling
14480         always the bv->text functions so that we can go up the_locking_inset!
14481
14482         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14483         in strange locations when inside an inset!
14484
14485         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14486         handling to include insets.
14487
14488         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14489
14490 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14491
14492         * LyXAction.C (init):
14493         * commandtags.h:
14494         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14495         LIGATURE_BREAK, since the name is so stupid.
14496
14497 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14498
14499         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14500         InsetInfos.
14501
14502         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14503
14504         * sp_form.[Ch]: remove.
14505
14506         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14507
14508         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14509         InsetInfo.
14510
14511         * src/buffer.C (readInset): ditto.
14512
14513 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14514
14515         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14516         menuSeparator(), endOfSentenceDot(), ldots() and
14517         hyphenationPoint(), which are therefore removed.
14518         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14519
14520         * LyXAction.C (init):
14521         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14522
14523         * paragraph.C (getWord): removed.
14524
14525         * BufferView_pimpl.C (Dispatch): use last word or selection for
14526         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14527
14528         * lyx_main.C (queryUserLyXDir): do not ask before creating
14529         user_dir, except if it has been named explicitely.
14530
14531 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14532
14533         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14534         a document of zero size.
14535
14536 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14537
14538         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14539         approriately in the c-tor and in require().
14540         (getPackages): output the appropriate LaTeX for natbib support.
14541
14542         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14543         variables "use_natbib" and "use_numerical_citations" when reading the
14544         LyX file.
14545         (readInset): read the various natbib cite commands.
14546         (validate): white-space change.
14547
14548         * bufferparams.[Ch]: new variables "bool use_natbib" and
14549         "bool use_numerical_citations".
14550         (writeFile): output them in the LyX file.
14551
14552 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14553
14554         * lyxfunc.C (getStatus): add support for all the inset insertion
14555         commands.
14556
14557         * text2.C (insertInset):
14558         * paragraph.C (insetAllowed):
14559         * BufferView_pimpl.C (insertInset): update to take in account the
14560         renaming of insertInsetAllowed
14561
14562         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14563
14564         * text2.C (getInset): new method. returns inset at cursor position.
14565
14566         * BufferView_pimpl.C (Dispatch): changes because of this.
14567
14568         * LyXAction.C (init): rename open-stuff to inset-toggle.
14569
14570         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14571
14572         * text2.C (toggleInset): renamed from openStuff; use
14573         Inset::open().
14574
14575 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14576
14577         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14578
14579         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14580
14581 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14582
14583         * buffer.C (readLyXformat2): Add filename to the error dialog
14584
14585 2001-07-18  Juergen Vigna  <jug@sad.it>
14586
14587         * tabular.C (GetCellNumber): put an assert here instead of the check!
14588
14589 2001-07-17  Juergen Vigna  <jug@sad.it>
14590
14591         * BufferView_pimpl.C (toggleSelection): adapted too.
14592
14593         * text.C (selectNextWord): adapted for use with insets.
14594         (selectSelectedWord): ditto
14595
14596 2001-07-17  Juergen Vigna  <jug@sad.it>
14597
14598         * sp_spell.C (PSpell): fix initialitation order.
14599
14600 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14601
14602         * paragraph.C: spacing
14603
14604 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14605
14606         * sp_spell.C: repair language selection for pspell
14607
14608 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14609
14610         * lyxfunc.h: change more methods to begin with lower char.
14611
14612 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14615         for unknown layouts.
14616
14617 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14618
14619         * buffer.C (readLyXformat2): Generate an error dialog if there are
14620         unknown layouts.
14621
14622 2001-07-16  Juergen Vigna  <jug@sad.it>
14623
14624         * sp_spell.C: always compile ISpell part.
14625
14626         * lyxrc.C: added use_pspell entry and it's handling.
14627
14628 2001-07-13  Juergen Vigna  <jug@sad.it>
14629
14630         * sp_spell.C: removed double includes.
14631
14632 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14633
14634         Consistent use of Lsstream.h:
14635         * Lsstream.h: added using std::stringstream for consistencies sake.
14636
14637         * buffer.C: removed using std::stringstream
14638
14639         * lyxfont.C (stateText):
14640         * paragraph.C (asString):
14641         * text.C (selectNextWord, selectSelectedWord):
14642         * text2.C (setCounter):
14643         * vspace.C (asString, asLatexString):
14644         std::ostringstream -> ostringstream.
14645
14646 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14647
14648         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14649         * commandtags.h: add LFUN_HELP_ABOUTLYX
14650         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14651
14652 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14653
14654         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14655         cursorToggle()
14656         * lyx_gui_misc.C: remove spellchecker
14657         * lyxfunc.C: showSpellchecker
14658         * sp_base.h: added
14659         * sp_ispell.h: added
14660         * sp_pspell.h: added
14661         * sp_spell.C: added
14662         * sp_form.[Ch]: removed
14663         * spellchecker.[Ch]: removed
14664
14665 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14666
14667         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14668         is set.
14669         (simpleTeXSpecialChars): Simply print the input character without
14670         any special translation if pass_thru is set.
14671
14672         * layout.h: Added bool pass_thru to layout class for being able to
14673         implement pass through of a paragraph for Literate Programming.
14674
14675         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14676         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14677         * layout.C (Read): add "passthru" to list of layout tags and add
14678         code to set the pass_thru boolean when it is read.
14679
14680 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14681
14682         * trans_decl.h: remove allowed from KmodInfo
14683
14684         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14685         remove allowed code
14686         (Load): adjust
14687
14688         * paragraph_pimpl.C (erase): use boost::prior
14689
14690         * Painter.C (text): use data() instead of c_str() when length is
14691         also provided.
14692         * WorkArea.C (putClipboard): ditto
14693         * font.h (width): ditto
14694
14695         * BufferView2.C: use it-> instead of (*it). for iterators
14696         * texrow.C: ditto
14697         * paragraph_pimpl.C: ditto
14698         * paragraph.C: ditto
14699         * minibuffer.C: ditto
14700         * language.C: ditto
14701         * kbmap.C: ditto
14702         * encoding.C: ditto
14703         * counters.C: ditto
14704         * converter.C: ditto
14705         * chset.C: ditto
14706         * Variables.C: ditto
14707         * TextCache.C: ditto
14708         * MenuBackend.C: ditto
14709         * LyXAction.C: ditto
14710         * LColor.C: ditto
14711         * FloatList.C: ditto
14712         * DepTable.C: ditto
14713         * ColorHandler.C (LyXColorHandler): ditto
14714
14715 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14716
14717         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14718
14719         * text2.C (openStuff): reintroduce this method (which had been
14720         nuked in NEW_INSETS frenzy).
14721
14722         * lyxfunc.C (Dispatch): when an action has not been handled, use
14723         its name in the error message, not its number.
14724
14725         * paragraph.C (inInset): change method name to begin with lowercase.
14726
14727         * undo_funcs.C:
14728         * text2.C: updates because of this.
14729
14730 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14731
14732         * ToolbarDefaults.C (add): add spaces in error message
14733
14734 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14735
14736         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14737         (readLyXformat2): rename return_par to first_par, use lyxlex's
14738         pushToken and remove the manual push handling.
14739         (parseSingleLyXformat2Token): add another ert comp. variable:
14740         in_tabular, rename return_par to first_par. handle newlines better
14741
14742 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14743
14744         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14745
14746 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14747
14748         * text2.C (getParFromID): removed
14749
14750         * buffer.C (getParFromID): new method moved form lyxtext.
14751         * BufferView2.C (insertErrors): adjust
14752         (setCursorFromRow): adjust
14753         * BufferView_pimpl.C (restorePosition): adjust
14754         * lyxfunc.C (Dispatch): adjust
14755         * undo_funcs.C (textUndo): adjust
14756         (textRedo): adjust
14757         (textHandleUndo): adjust
14758         (textHandleUndo): adjust
14759
14760 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14761
14762         * buffer.C: up' the LYX_FORMAT
14763
14764         * lyxfont.h: turn NO_LATEX on as default
14765
14766         * buffer.C (insertErtContents): new methods of tex style compability.
14767         (parseSingleLyXformat2Token): use it several places.
14768         * tabular.C (OldFormatRead): and here
14769
14770 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14771
14772         * text2.C: remove some commented code.
14773         reindent file.
14774
14775         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14776         * trans.C: changes because of the above.
14777
14778 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14779
14780         * text2.C (setCounter): Fix counters bug with bibliography layout.
14781
14782 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14783
14784         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14785         own member functions
14786         (simpleTeXSpecialChars): ditto
14787
14788 2001-07-06  Juergen Vigna  <jug@sad.it>
14789
14790         * a lot of files: changed the access to LyXText::status and the
14791         call of undo-functions.
14792
14793         * undo.[Ch]: added a inset_id to the undo informations.
14794
14795         * undo_funcs.[Ch]: added and moved here all undo functions.
14796
14797         * lyxtext.h: give the status enum a weight, made status_ a private
14798         variable and made accessor functions for it, removed the whole bunch
14799         of undo-functions as they are now in their own file, make some
14800         functions publically available. Added function ownerParagraph with
14801         int parameter.
14802
14803         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14804         made InInset() a const function, added getParFromID() function.
14805
14806         * buffer.[Ch]: added const version for inset_iterator functions,
14807         added getInsetFromID() function.
14808
14809         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14810         changed undo functions for new version.
14811
14812 2001-07-05  Juergen Vigna  <jug@sad.it>
14813
14814         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14815         unknow mechanism does not call the proper constructor but only this
14816         one also if I request the other!?
14817
14818 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14819
14820         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14821
14822         * text2.C (LyXText): use initialization lists.
14823
14824         * lyxtext.h (Selection): initialize set_ and mark_
14825         (init): remove method
14826
14827 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14828
14829         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14830
14831 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * screen.[Ch]: change method names to begin with lowercase
14834
14835         * BufferView_pimpl.C (updateScrollbar): simplify further and
14836         hopefully make it a bit faster.
14837
14838 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14841         calling directly xforms functions.
14842
14843         * Painter.C (Painter):
14844         * lyx_cb.C (MenuWrite):
14845         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14846         fl_display.
14847
14848         * lyx_gui.C: remove bogus guiruntime extern declaration.
14849
14850 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14851
14852         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14853         in NEW_INSETS
14854         (redoDrawingOfParagraph): ditto
14855         (redoParagraphs): ditto
14856         (cutSelection): don't create a object for CutAndPaste use the
14857         static method directly
14858         (pasteSelection): ditto
14859
14860         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14861         LyXview (+ rename)
14862
14863 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14864
14865         * modifications to some other files because of this.
14866
14867         * Makefile.am (lyx_SOURCES): add XFormsView
14868
14869         * XFormsView.[Ch]: new files
14870
14871         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14872         the main window. Move the gui dependent stuff to XFormsView
14873
14874 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * tabular.C (GetCellInset): update cur_cell also in the row/col
14877         version of this function.
14878
14879         * lyxfunc.C: no need to include figure_form.h here.
14880
14881         * FontLoader.h:
14882         * lyxfunc.h:
14883         * lyxscreen.h:
14884         * text2.C:
14885         * lyxvc.C: no need to include forms.h here.
14886
14887 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14888
14889         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14890
14891         * lyxfunc.C (Dispatch):
14892         * Spacing.C (set):
14893         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14894         constructor argument.
14895
14896 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14897
14898         * paragraph.C (Paragraph): dont't clear, and just set layout.
14899         (makeSameLayout): use params's copy contructor.
14900
14901         * ParagraphParameters.[Ch] (makeSame): delete method
14902
14903 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * Variables.[Ch]: fix indentation, rename set to isSet
14906
14907 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14908
14909         * lyxfunc.C (Dispatch): fix typo
14910
14911 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14914         upper_bound.
14915
14916         * bufferlist.C: include assert.h for emergencyWrite().
14917
14918 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14919
14920         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14921           give up at last (bug #425202) !
14922
14923 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14924
14925         * lyx_gui_misc.C:
14926         * sp_form.h:
14927         * sp_form.C:
14928         * spellchecker.h:
14929         * spellchecker.C: strip spellchecker options and bring up
14930           preferences tab instead
14931
14932 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14933
14934         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14935         the istringstream constructor
14936
14937 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * paragraph.C (getLayout): fix return value
14940
14941         * paragraph.h: do not declare getLayout as inline.
14942
14943         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14944
14945 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * lyxcursor.h (operator<): new func
14948         (operator>): new func
14949         (operator>=): new func
14950         (operator<=): new func
14951
14952         * text.C (changeCase): use selection.start and selection.end
14953         (changeRegionCase): require from to be <= to. Require par to be a
14954         valid paragraph.
14955
14956         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14957
14958 2001-06-27  Juergen Vigna  <jug@sad.it>
14959
14960         * text.C (cursorLeftOneWord): changed to return the cursor and added
14961         overlay with BufferView * parameter which calls this one.
14962         (getWord): added
14963         (selectWord): use new getWord function.
14964         (changeCase): renamed from changeWordCase as and extended to work
14965         also on selections.
14966
14967         * lyxtext.h: added enum word_location
14968
14969         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14970         changeCase as this operates now also on selections.
14971
14972 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14973
14974         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14975
14976         * many files: send debug output to Debug::INFO instead of
14977         Debug::ANY.
14978
14979         * converter.C (View):
14980         (Convert):
14981         (Move): send debug output to Debug::FILES instead of console.
14982
14983 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14984
14985         * lyxfunc.C (getStatus): use func_status
14986
14987         * func_status.h: new header, describing the results of
14988         LyXFunc::getStatus;
14989
14990         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14991         LFUN_MATH_HALIGN.
14992
14993 2001-06-25  The LyX Project  <jug@sad.it>
14994
14995         * buffer.C (sgmlOpenTag):
14996         (sgmlCloseTag):
14997         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14998
14999 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15000
15001         * text2.C: remove some dead code
15002
15003         * tabular.C (GetCellInset): store the last cell checked (gotten)
15004
15005         * tabular.h: add the helper for the speedup
15006
15007         * lyxtext.h: remove some dead code
15008
15009 2001-06-26  The LyX Project  <Asger>
15010
15011         * paragraph.C: Change export to LaTeX of alignment to
15012         \begin{center} and family for better roundtrip work with reLyX.
15013
15014         * Tune the math drawing a bit.
15015
15016 2001-06-25  The LyX Project  <Asger>
15017
15018         * LColor.C (LColor): New color for math background. New color
15019         for buttons.
15020
15021 2001-06-25  The LyX Project  <jug@sad.it>
15022
15023         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15024
15025         * lyxfunc.C (Open):
15026         * bufferlist.C (newFile): do not restrict to files ending with
15027         .lyx
15028
15029         * BufferView_pimpl.C (MenuInsertLyXFile):
15030
15031 2001-06-24  The LyX Project  <jug@sad.it>
15032
15033         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15034         of compare_no_case
15035
15036 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15037
15038         * lyxtext.h: rename most methods to begin with a small char.
15039         Lots of changes because of this.
15040
15041         * paragraph.C (Paragraph): do not call fitToSize
15042         (erase): call Pimpl::erase
15043         (insertChar): call Pimpl::insertChar
15044         (insertInset): call Pipl::insertInset
15045         (breakParagraph): do not call fitToSize
15046         (breakParagraphConservative): do not call fitToSize
15047         (fitToSize): remove method
15048
15049         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15050
15051 2001-06-24  The LyX Project  <Asger>
15052
15053         * Fix Qt compilation^2
15054
15055 2001-06-24  The LyX Project  <jug@sad.it>
15056
15057         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15058         depthHook(getDepth()-1).
15059
15060         * paragraph.h:
15061         * ParagraphParameters.h:
15062         * ParameterStruct.h: change type of depth to unsigned int ==
15063         depth_type. Many adaptations to other files before of that.
15064
15065 2001-06-24  The LyX Project  <Asger>
15066
15067         * Fix Qt compilation.
15068
15069 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15070
15071         * paragraph.h: renamed several methods to begin with small letter.
15072         several changes to many parts of the code because of this.
15073
15074 2001-06-23  The LyX Project  <jug@sad.it>
15075
15076         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15077         rewritten to discard all double spaces when KeepEmpty is off
15078         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15079         to only handle newlines but not fiddle with spaces and friends.
15080
15081         * lyxfunc.C (MenuNew): when doing 'new from template', use
15082         template_path as default directory
15083
15084 2001-06-23  The LyX Project  <Asger>
15085
15086         * Clean-up of header file includes all over
15087         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15088
15089 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * paragraph.h: renamed from lyxparagraph.h
15092
15093 2001-06-23  Asger  <lyx@violet.home.sad.it>
15094
15095         * Buffer.h: Removed Buffer::resize
15096         * BufferList.h: Removed BufferList::resize
15097         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15098         the document lazily when we change the width, or the font settings.
15099
15100 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15103
15104 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15105
15106         * buffer.h: remove out of date comment
15107
15108 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15109
15110         * lyxscreen.h:
15111         * screen.C: fix "theoretical" GC leak
15112
15113 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * LaTeX.C (scanAuxFile):
15116         (deplog): remove trailing \r when reading stream (useful under
15117         win32)
15118
15119 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15120
15121         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15122         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15123         and BufferView::theLockingInset(Inset*), so should use them and not
15124         access bv_->text->the_locking_inset directly.
15125
15126         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15127
15128 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * Makefile.am:
15131         * tex-defs.h: remove old unused file
15132
15133 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15134
15135         * BufferView_pimpl.C: fix typo, remove minibuffer message
15136           when buffer has loaded
15137
15138 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * lyxfunc.C (Dispatch): use stringstream
15141         (MenuNew): use stringstream
15142         (Open): use stringstream
15143
15144         * importer.C (Import): use stringstream
15145
15146         * bufferview_funcs.C (CurrentState): use stringstream
15147
15148         * LaTeX.C (run): use stringstream
15149
15150         * BufferView_pimpl.C (savePosition): use stringstream
15151         (restorePosition): use stringstream
15152         (MenuInsertLyXFile): use stringstream
15153
15154 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15155
15156         * BufferView.C:
15157         * Bullet.C:
15158         * ColorHandler.C:
15159         * FontInfo.C:
15160         * FontLoader.C:
15161         * LColor.C:
15162         * LaTeXFeatures.C:
15163         * Painter.C:
15164         * gettext.C:
15165         * lyx_gui_misc.C:
15166         * lyxserver.C:
15167         * vspace.C: removed // -*- C++ -*- as first line.
15168
15169         * lyxfind.h:
15170         * version.h: added // -*- C++ -*- as first line.
15171
15172 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15173
15174         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15175
15176         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15177         of string
15178
15179 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15180
15181         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15182         of floats.
15183
15184 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15185
15186         * gettext.C: include LString.h even when --disable-nls is on.
15187
15188 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15189
15190         * converter.h (Get): changed argument type from int to
15191         FormatList::size_type to avoid unnecessary conversion.
15192
15193         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15194         before using it.
15195
15196 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15197
15198         * gettext.h: include LString.h even when --disable-nls is on.
15199
15200 2001-06-07  Juergen Vigna  <jug@sad.it>
15201
15202         * text.C (BreakAgain): subst spaces with tabs.
15203
15204         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15205         (resizeInsetsLyXText): set force on resizeLyXText.
15206
15207 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15208
15209         * gettext.h (gettext_init):
15210         (locale_init): use a real definition instead of a macro
15211
15212 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15213
15214         * Bufferview_pimpl.C:
15215         * LColor.h:
15216         * LColor.C: further lcolor tidies
15217
15218 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15219
15220         * BufferView_pimpl.C (updateScrollbar): simplify.
15221
15222         * BufferView2.C: don't include insets/insetinfo.h, change
15223         prototype for insertInset and call the Pimpl version. let
15224         updateInset call Pimpl version.
15225
15226         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15227         gotoInset to BufferView::Pimpl
15228
15229 2001-06-01  Juergen Vigna  <jug@sad.it>
15230
15231         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15232         inside a LockingInset (is the update needed at all?).
15233
15234 2001-05-31  Juergen Vigna  <jug@sad.it>
15235
15236         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15237         here not the old one otherwise how should we compare it afterwards
15238         if it's the same!
15239
15240 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * lyxfont.C:
15243         * tabular.C:
15244         * tabular-old.C:
15245         * FontInfo.C: bring C functions into global namespace when
15246         necessary
15247
15248 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15249
15250         * LString.h: make sure config.h has been loaded before LString.h.
15251
15252         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15253         (one for each char read by EatLine!).
15254
15255         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15256         variables.
15257
15258 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15259
15260         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15261         to the same as the par we break from
15262
15263 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15264
15265         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15266
15267         * MenuBackend.C (expand): also create menu entries for wide
15268         versions of the floats.
15269
15270         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15271
15272         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15273
15274         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15275         frontends/Makefile.am
15276
15277         * text2.C: adjust
15278         * text.C: adjust
15279
15280
15281         * tabular.C (getTokenValue): add std::
15282
15283         * tabular-old.C (getTokenValue): add std::
15284         (getTokenValue): ditto
15285         (getTokenValue): ditto
15286
15287         * screen.C (ToggleSelection): adjust
15288
15289         * lyxtext.h: put selection cursors inside a Selection struct.
15290
15291         * lyxfunc.C (moveCursorUpdate): adjust
15292
15293         * lyxfont.C (latexWriteStartChanges): add std::
15294
15295         * lyxfind.C: adjust
15296
15297         * font.h: delete with(char const *, LyXFont const &)
15298
15299         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15300
15301         * FontInfo.C (getFontname): add std::
15302
15303         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15304         (workAreaButtonPress): adjust
15305         (tripleClick): adjust
15306         (update): adjust
15307         (moveCursorUpdate): adjust
15308         (Dispatch): adjust
15309
15310         * BufferView2.C (gotoInset): adjust
15311
15312 2001-05-30  Juergen Vigna  <jug@sad.it>
15313
15314         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15315         to check pspell I add this as default as I now have new pspell
15316         libraries and they seem to use this.
15317
15318 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15319
15320         * text2.C (CutSelection): make the cursor valid before the call to
15321         ClearSelection.
15322
15323 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15326         relied on 0 terminated strings and other horrors. Bug found due to
15327         the new assert in lyxstring!
15328
15329         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15330         KP_ keys.
15331
15332 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15333
15334         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15335         to latinkeys.bind.
15336
15337         * lyxfunc.C (processKeySym): change method of getting to the
15338         self-insert char.
15339
15340         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15341         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15342         * BufferView_pimpl.[Ch]: here as private methods.
15343
15344 2001-05-28  Juergen Vigna  <jug@sad.it>
15345
15346         * text.C (SetHeightOfRow): added the update() call again as it is
15347         needed to initialize inset dimensions!
15348
15349 2001-05-16  Juergen Vigna  <jug@sad.it>
15350
15351         * text2.C (SetCharFont): Add new function with BufferView * and
15352         bool toggleall parameters for setting insets internal fonts.
15353         (SetFont): Freeze the undo as we may change fonts in Insets and
15354         all this change should be inside only one Undo!
15355
15356         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15357         setting font's in insets as for them we have the SetFont function!
15358
15359 2001-05-15  Juergen Vigna  <jug@sad.it>
15360
15361         * text2.C (ClearSelection): to be sure we REALLY don't have any
15362         selection anymore!
15363
15364         * tabular.C (TeXCellPreamble): fixed the left border problem for
15365         multicolumn cells.
15366
15367 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15370         dependancy file
15371
15372 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15373
15374         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15375         LFUN_BREAKPARAGRAPH.
15376
15377         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15378         help test to "internal only", similar for LFUN_INSERT_URL
15379
15380         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15381         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15382         auto_region_delete and deadkeys.
15383
15384 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15385
15386         * LColor.h:
15387         * LColor.C: remove some dead entries, tidy a little
15388
15389 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15390
15391         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15392         commented code.
15393         (Dispatch): implement LFUN_ESCAPE
15394
15395         * commandtags.h: add LFUN_ESCAPE
15396
15397         * LyXAction.C (init): add entry for LFUN_ESCAPE
15398
15399         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15400         Remove commented code.
15401         (insertNote): moved here
15402         (open_new_inset): moved here
15403
15404         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15405         BufferView_pimpl
15406
15407 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15408
15409         * kbmap.C (findbinding): clean it up and make it work correctly.
15410
15411         * lyx_main.C (init): do not pass argc and argv as parameters
15412
15413 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15414
15415         * buffer.C: fix path for OS/2 & Win32
15416
15417         * lyx_gui.C:
15418         * lyx_main:
15419         * lyx_main.C: Added os:: class.
15420
15421         * os2_defines.h: update
15422
15423 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15426         better by trying again with reduced state.
15427
15428 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15429
15430         * lyxrc.C (read): print error about invalid key sequence only when
15431         debugging (because not all latinX keysyms are known to some X
15432         servers)
15433
15434         * kbsequence.C (getiso): add a few std:: qualifiers
15435         (getiso): comment out extra return statement.
15436
15437 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15440         handling.
15441         (Dispatch): enhance the accent inset a bit. (not perfect)
15442
15443 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15446
15447 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15448
15449         * bufferlist.C (emergencyWrite): fix assert() call
15450
15451 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15452
15453         * text.C (InsertChar): Added trivial patch to only send the "you
15454         can not do multiple spaces this way" message once during a
15455         session.
15456
15457 2001-05-08  Baruch Even  <baruch@lyx.org>
15458
15459         * Makefile.am: Changed order of libraries to get LyX to link properly
15460         with the gnome frontend.
15461
15462 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * LaTeXFeatures.h: add a std:: qualifier
15465
15466 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15467
15468         * paragraph.C (String): use stringstream
15469
15470 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15471
15472         * paragraph.C (writeFile): remove footflag arg
15473
15474         * buffer.C (makeLaTeXFile): use stringstream
15475         (latexParagraphs): remove footnot gurba
15476
15477         * LaTeXFeatures.C (getPackages): use stringstream
15478         (getMacros): likewise
15479         (getTClassPreamble): likewise
15480         (getFloatDefinitions): new method
15481
15482         * paragraph.C (writeFile): reindent
15483         (Erase): reindent
15484
15485         * WorkArea.h: revert the xpos + etc changes.
15486
15487         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15488
15489         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15490
15491         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15492         (pasteSelection): likewise
15493         * text2.C (CreateUndo): likewise
15494
15495 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15496
15497         * minibuffer.C (peek_event): temporarily reduce the functionality
15498         of the minibuffer (to allow args on lfuns)
15499
15500         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15501         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15502
15503         * buffer.C (readInset): add compability reading of old float
15504         lists, add reading of new style float list.
15505         (readInset): avoid reevaluation of inscmd.getCmdName()
15506         (getLists): reindent
15507
15508         * MenuBackend.C (MenuItem): implement parsing of
15509         md_floatlistinsert and md_floatinsert.
15510         (expand::LastFiles): move initalizaton of iterators out of loop,
15511         avoid reevaluation.
15512         (expand::Documents): introduce typdedef vector<string> Strings,
15513         and use it.
15514         (expand::ExportFormats): introduce typedef vector<Format const *>
15515         Formats, and use it.
15516         (expand): implement FloatListInsert and FloatInsert.
15517
15518         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15519         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15520         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15521
15522         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15523         handling.
15524         (Dispatch::LFUN_FLOAT_LIST): implement
15525
15526 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15527
15528         * LaTeX.C (run): Fix problem with --export code.
15529
15530 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15531
15532         * BufferView.[Ch] (workarea): removed.
15533         (getClipboard) new method; wrapper for workarea()->getClipboard()
15534
15535         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15536         bug.
15537
15538         * WorkArea.h (width, height, xpos, ypos): These methods all
15539         returned the dimensions of the work_area sub-area of WorkArea,
15540         resulting in a position error if the WorkArea were resized. Now
15541         return the dimensions of the entire WorkArea.
15542
15543         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15544
15545 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15546
15547         * LaTeX.C (deplog): correct the syntax of regex reg1
15548
15549 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15550
15551         * undo.C: remove !NEW_INSETS cruft
15552
15553 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15554
15555         * text2.C: remove !NEW_INSETS cruft
15556
15557         * text.C: remove !NEW_INSETS cruft
15558
15559         * tabular.C: remove !NEW_INSETS cruft
15560
15561         * spellchecker.C: remove !NEW_INSETS cruft
15562
15563         * lyxtext.h: remove !NEW_INSETS cruft
15564
15565         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15566
15567         * lyxfunc.C: remove !NEW_INSETS cruft
15568
15569         * lyxfind.C: remove !NEW_INSETS cruft
15570
15571         * lyx_cb.C: remove !NEW_INSETS cruft
15572
15573         * figureForm.C: remove  !NEW_INSETS cruft
15574
15575         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15576
15577         * buffer.[Ch]: remove !NEW_INSETS cruft
15578
15579         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15580
15581         * CutAndPaste.C: remove !NEW_INSETS cruft
15582
15583         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15584
15585         * BufferView2.C: remove !NEW_INSETS cruft
15586
15587         * BufferView.h: remove !NEW_INSETS cruft
15588
15589 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * Lsstream.h: include LString.h before the sstream headers to
15592         fix problem with gcc 2.95.3 and lyxstring
15593
15594 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15595
15596         * lyx_main.C: add using directives when needed for C functions
15597         declared in std:: namespace.
15598
15599 2001-04-27  Juergen Vigna  <jug@sad.it>
15600
15601         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15602         (SetHeightOfRow): comment out the update call should not be needed!
15603
15604 2001-04-13  Juergen Vigna  <jug@sad.it>
15605
15606         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15607         (LyXTabular): tried to minimize operator= operations (and realized
15608         hopfully Lars wish).
15609
15610 2001-04-27  Juergen Vigna  <jug@sad.it>
15611
15612         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15613
15614 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15615
15616         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15617
15618         * buffer.C (readInset): hack to make listof algorithm work
15619
15620         * BufferView_pimpl.C: hack to make listof algorithm work
15621
15622 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15623
15624         * LyXAction.C: removed all !NEW_INSETS cruft
15625         (init): moved lfun_item in method
15626
15627         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15628
15629 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * BufferView2.C (theLockingInset): white space.
15632
15633 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15634
15635         * minibuffer.C: include <iostream>
15636
15637         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15638
15639         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15640
15641         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15642
15643         * text.[Ch] (TransposeChars): new method
15644
15645 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15646
15647         * call message directly through LyXView instead of through LyXFunc
15648         * BufferView2.C: adjust
15649         * BufferView_pimpl.C: adjust
15650         * FontLoader.C: adjust
15651         * buffer.C: adjust
15652         * bufferview_funcs.C: adjust
15653         * converter.C: adjust
15654         * figureForm.C: adjust
15655         * importer.C: adjust
15656         * lyx_cb.C: adjust
15657         * lyx_gui_misc.C: adjust
15658         * lyxfunc.C: adjust
15659         * lyxvc.C: adjust
15660         * text2.C: adjust
15661         + more files in subdirs
15662
15663         * lyxparagraph.h (size): move up int file
15664         (GetLayout): ditto
15665
15666         * adjust all uses of Assert to lyx::Assert.
15667
15668         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15669         lyxfunctional in namespace lyx
15670         * layout.C (hasLayout): ditto
15671         (GetLayout): ditto
15672         (GetLayout): ditto
15673         (delete_layout): ditto
15674         (NumberOfClass): ditto
15675         * converter.C (GetFormat): ditto
15676         (GetNumber): ditto
15677         (Add): ditto
15678         (Delete): ditto
15679         (SetViewer): ditto
15680         * bufferlist.C (getFileNames): ditto
15681         (emergencyWriteAll): ditto
15682         (exists): ditto
15683         (getBuffer): ditto
15684         * MenuBackend.C (hasSubmenu): ditto
15685         (hasMenu): ditto
15686         (getMenu): ditto
15687         * BufferView_pimpl.C (getInsetByCode): ditto
15688
15689 2001-04-18  Juergen Vigna  <jug@sad.it>
15690
15691         * vspace.C (asLatexString): fixed the 100% problem.
15692
15693 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15694
15695         * lyxfunc.C (Dispatch):
15696         * minibuffer.C:
15697         * minibuffer.h: add a few std:: qualifiers
15698
15699 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15700
15701         * minibuffer.[Ch]: reimplement so that commands is initiated and
15702         run from lyxfunc, simplified som handling, and made the completion
15703         and history code for complete. wip.
15704
15705         * lyxfunc.C (processKeySym): call message
15706         (miniDispatch): new temporary method
15707         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15708         (LFUN_MESSAGE): implement
15709         (LFUN_MESSAGE_PUSH): implement
15710         (LFUN_MESSAGE_POP): implement
15711         (initMiniBuffer): the initial/defualt minibuffer message.
15712
15713         * lyxfont.[Ch]: inline some more getters
15714
15715         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15716
15717         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15718
15719         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15720         (AutoSave): use LFUN_MESSAGE
15721         (Reconfigure): ditto
15722
15723         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15724
15725         * figureForm.C: use LFUN_MESSAGE
15726
15727         * converter.C (runLaTeX): use LFUN_MESSAGE
15728
15729         * bufferview_funcs.C: use LFUN_MESSAGE
15730         (Melt): ditto
15731         (changeDepth): ditto
15732
15733         * bufferparams.h: use boost::
15734
15735         * bufferlist.h: inherit privately from noncopyable
15736
15737         * bufferlist.C (loadLyXFile): remove some commented code.
15738
15739         * buffer.C (runChktex): use LFUN_MESSAGE
15740
15741         * ShareContainer.h: inherit privately from noncopyable
15742
15743         * ParagraphParameters.[hC] (depth): inline it.
15744
15745         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15746         methods.
15747         (message): new method
15748         (messagePush): ditto
15749         (messagePop): ditto
15750         (show): init minibuffer
15751         (showState): direct call
15752
15753         * LaTeX.[Ch]: inherit privately from noncopyable
15754         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15755         instead of WriteStatus.
15756
15757         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15758
15759         * BufferView_pimpl.C (buffer): don't init minibuffer
15760         (workAreaButtonPress): use LFUN_MESSAGE
15761         (workAreaButtonRelease): ditto
15762         (savePosition): ditto
15763         (restorePosition): ditto
15764         (MenuInsertLyXFile): ditto
15765         (workAreaExpose): don't init minibuffer
15766         (update): remove commented code, simplify
15767
15768         * BufferView2.C (openStuff): use LFUN_MESSAGE
15769         (toggleFloat): ditto
15770         (menuUndo): ditto
15771         (menuRedo): ditto
15772         (copyEnvironment): ditto
15773         (pasteEnvironment): ditto
15774         (copy): ditto
15775         (cut): ditto
15776         (paste): ditto
15777         (gotoInset): ditto
15778         (updateInset): remove some commented code
15779
15780         * lastfiles.h: inherit privately from noncopyable
15781         * layout.h: ditto
15782         * lyx_gui.h: ditto
15783         * lyx_main.h: ditto
15784         * lyxlex.h: ditto
15785         * lyxlex_pimpl.h: ditto
15786
15787         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15788         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15789         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15790
15791         * LyXAction.h: inherit privately from noncopyable, add methods
15792         func_begin, func_end, returning iterators to the func map.
15793
15794         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15795         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15796         (func_begin): new method
15797         (func_end): new method
15798
15799         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15800         and not)
15801         (copySelection): ditto
15802         (pasteSelection): ditto
15803
15804         * BufferView.C: whitespace change
15805         * BufferView.h: inherit privately from noncopyable
15806
15807 2001-04-16  Allan Rae  <rae@lyx.org>
15808
15809         * tabular-old.C (l_getline):
15810         * spellchecker.C (sc_check_word):
15811         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15812         an unrecognised preprocessor directive.  So ensure they're wrapped.
15813
15814 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15815
15816         * src/exporter.C (Export): Give an error message when path to file
15817         contains spaces.
15818
15819 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15820
15821         * LaTeX.C (deplog): Always check that foundfile exists.
15822
15823 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15824
15825         * lyx_main.h:
15826         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15827
15828 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15829
15830         * tabular.[Ch] (getLabelList): implement new method
15831
15832         * minibuffer.h: comment ouf setTiimer
15833
15834         * minibuffer.C (ExecutingCB): constify res
15835         (peek_event): constify s
15836         (Set): constify ntext
15837         (Init): constify nicename
15838
15839         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15840
15841         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15842         (savePosition): use two params to Minibuffer::Set
15843         (restorePosition): ditto
15844
15845 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15846
15847         * lyx_main.C: include language.h
15848
15849         * Makefile.am (lyx_main.o): add language.h
15850
15851 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15852
15853         * exporter.C:
15854         * paragraph.C:
15855         * screen.C:
15856         * tabular.C:
15857         * CutAndPaste.C: include gettext.h
15858
15859         * lyxfont.h: remove old hack with ON and OFF.
15860
15861         * lyxparagraph.h:
15862         * lyxfont.h: do not include language.h...
15863
15864         * BufferView2.C:
15865         * LaTeXFeatures.C:
15866         * Painter.C:
15867         * bufferview_funcs.C:
15868         * font.C:
15869         * lyxfont.C:
15870         * text.C:
15871         * text2.C:
15872         * trans_mgr.C:
15873         * paragraph.C: ... but do it here instead
15874
15875 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15876
15877         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15878
15879         * tabular.C: small reformat
15880
15881         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15882         NEW_INSETS version
15883         (GetChar): ditto
15884         (BreakParagraph): ditto
15885         (SetOnlyLayout): ditto
15886         (SetLayout): ditto
15887
15888         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15889         with one arg less.
15890
15891         * lastfiles.C: removed most using decl, add std:: where needed
15892
15893         * buffer.C: ws changes
15894
15895         * MenuBackend.C (class compare_format): put into anon namespace
15896         (expand): constify label, names, action, action2
15897         (expand):
15898
15899         * text.C (SingleWidth): constify font
15900         (IsBoundary): constify rtl2
15901         (GetVisibleRow): constify ww
15902
15903         * LaTeX.C (deplog): constify logfile
15904
15905         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15906         start_x, end_x
15907         (workAreaExpose): constify widthChange, heightChange
15908
15909         * lyxrow.C (par): moved
15910         (height): moved
15911         (next): moved
15912         * lyxrow.h: as inlines here
15913
15914         * lyxfont.h (shape): moved from lyxfont.C
15915         (emph): moved from lyxfont.C
15916
15917         * lyxfont.C (LyXFont): use initialization list for all
15918         constructors
15919         (shape): move to lyxfont.h as inline
15920         (emph): move to lyxfont.h as inline
15921
15922
15923 2001-04-04  Juergen Vigna  <jug@sad.it>
15924
15925         * vspace.C: had to include stdio.h for use of sscanf
15926
15927 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15928
15929         * BufferView.h:
15930         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15931         independent of xforms.
15932
15933 2001-04-02  Juergen Vigna  <jug@sad.it>
15934
15935         * spellchecker.C: fixed namespace placing!
15936
15937 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15938
15939         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15940         the LyXParagraph * is 0.
15941
15942 2001-03-29  Juergen Vigna  <jug@sad.it>
15943
15944         * vspace.C: added support for %, c%, p%, l%.
15945         (stringFromUnit): added helper function.
15946         (asLatexString): changed to give right results for the %-values.
15947
15948         * buffer.C: convert the widthp in a width%.
15949
15950 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15951
15952         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15953         figureForm.[Ch].
15954
15955         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15956         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15957
15958         * lyx_cb.[Ch]: see above.
15959
15960         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15961         form1.[Ch].
15962
15963         * form1.[Ch]:
15964         * lyx.[Ch]: replaced by figure_form.[Ch].
15965
15966         * lyx_gui.C:
15967         * lyx_gui_misc.C:
15968         * lyxfunc.C: changed headers associated with above changes.
15969
15970 2001-03-27  Juergen Vigna  <jug@sad.it>
15971
15972         * BufferView_pimpl.C: set the temporary cursor right!
15973
15974 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15975
15976         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15977
15978 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15979
15980         * LString.h: removed "using std::getline"!
15981
15982         * BufferView_pimpl.C (Dispatch): changes due to changes in
15983         InsetInclude::Params.
15984
15985         * buffer.C (tag_name): removed redundant break statements as they were
15986         producing lots of warnings with my compiler.
15987
15988 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15989
15990         * LString.h: add "using std::getline" when using the real <string>.
15991
15992 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15993
15994         * buffer.C: removed bitset usage.
15995         PAR_TAG moved to an anonymous name space.
15996         (tag_name): new funtion, also in the anonymous namespace.
15997         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15998         (makeDocBookFile): clean code. Completed transition from string arrays
15999         to string vectors.
16000         (SimpleDocBookOnePar): code clean.
16001
16002 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16003
16004         * tabular.C: add some comments.
16005
16006 2001-03-22  Juergen Vigna  <jug@sad.it>
16007
16008         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16009         compatibility read a bit and fixed bug with minipage in different
16010         depth.
16011
16012 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16013
16014         * buffer.C (pop_tag): removed.
16015         (push_tag): removed.
16016         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16017         array replaced with vector. Added support for CDATA sections.
16018         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16019         at any nest level.
16020         (makeDocBookFile): XML conformant declaration of CDATA section,
16021         fixed bug related to <emphasis> in the first paragraph char.
16022         (sgmlOpenTag): exclude empty tags.
16023         (sgmlCloseTag): ditto.
16024
16025         * buffer.h (pop_tag): removed.
16026         (push_tag): removed.
16027
16028 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16029
16030         * language.h (Languages): added size_type and size().
16031
16032 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16033
16034         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16035         response on compability reading of minipages. One probliem is that
16036         the old usage of minipages was «flertydig»
16037
16038         * several files here and in subdirs: don't use static at file
16039         scope use anon namespaces instead.
16040
16041 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16042
16043         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16044         LaTeX output. This is necessary for Literate document
16045         processing.
16046
16047 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16048
16049         * buffer.C: insert hfill when needed.
16050
16051         * tabular.C (l_getline): use string::erase, small whitespace change.
16052
16053         * BufferView_pimpl.C: try the anon namespace.
16054         * WorkArea.C: ditto
16055
16056 2001-03-16  Juergen Vigna  <jug@sad.it>
16057
16058         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16059         otherwise it won't open options-dialogs.
16060
16061         * buffer.C: honor pextraWidth(p) on converting minipages.
16062
16063         * tabular.C (l_getline): changed the functions to strip trailing \r.
16064
16065 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16066
16067         * BufferView_pimpl.C:
16068         * minibuffer..C: added "using SigC::slot" declaration.
16069
16070 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16071
16072         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16073
16074         * text2.C: ditto
16075
16076         * text.C: ditto
16077
16078         * paragraph.C: ditto
16079
16080         * lyxtext.h: NO_PEXTRA
16081
16082         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16083
16084         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16085         * ParameterStruct.h: ditto
16086         * ParagraphParameters.h: ditto
16087         * lyxparagraph.h: ditto
16088
16089 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16090
16091         * buffer.C: add compability for minipage alignment.
16092         (latexParagraphs): remove unwanted pextra check.
16093
16094         * several files: remove CXX_WORKING_NAMESPACES
16095
16096         * buffer.C (pop_tag): tie is in namespace boost
16097
16098         * BufferView.h: noncopyable is in namespace boost
16099         * lyxlex.h: ditto
16100         * lyx_main.h: ditto
16101         * lyx_gui.h: ditto
16102         * layout.h: ditto
16103         * lastfiles.h: ditto
16104         * bufferlist.h: ditto
16105         * ShareContainer.h: ditto
16106         * LyXView.h: ditto
16107         * LyXAction.h: ditto
16108         * LaTeX.h: ditto
16109
16110 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16111
16112         * Merging changes from BRANCH_MVC back into HEAD.
16113
16114         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16115
16116 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16117
16118         * BufferView_pimpl.C: change from intl.C
16119
16120         * combox.h:
16121         * combox.C:
16122         * Makefile.am: move combox.*
16123
16124         * form1.h:
16125         * form1.C:
16126         * lyx_gui.C:
16127         * intl.h:
16128         * intl.C: remove dialog (covered by prefs)
16129
16130 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16131
16132         * lyxfunc.C (Dispatch): removed redundant break statement.
16133
16134 2001-03-14  Juergen Vigna  <jug@sad.it>
16135
16136         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16137
16138 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16139
16140         * buffer.C: add hack to fix compability reading of minipages.
16141
16142 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16143
16144         * buffer.C (getLists): Cleanup.
16145
16146 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16147
16148         * lyxfont.C (update): don't honor toggleall on font size.
16149
16150 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16151
16152         * bmtable.c:
16153         * bmtable.h:
16154         * Makefile.am: moved to frontends/xforms/
16155
16156         * lyx_gui_misc.C:
16157         * lyxfunc.C:
16158         * BufferView_pimpl.C: changes for moved mathpanel
16159
16160 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16161
16162         * gettext.h: fix gettext_init() in --disable-nls
16163
16164 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16165
16166         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16167
16168 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16169
16170         * lyx.C:
16171         * lyx.h: strip external form
16172
16173 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16174
16175         * BufferView_pimpl.C: add comment, destroySplash()
16176
16177 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16178
16179         * BufferView_pimpl.C:
16180         * LyXAction.C:
16181         * buffer.C:
16182         * commandtags.h:
16183         * lyxfunc.C: use re-worked insetinclude
16184
16185 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16186
16187         * buffer.C: add using std::stringstream.
16188
16189         * lyx_cb.C: readd using std::ios.
16190
16191         * buffer.C: add using std::map.
16192
16193         * BufferView_pimpl.C: add using std::vector.
16194
16195         * ShareContainer.h: add std:: to swap.
16196
16197         * buffer.h: add some typedefs
16198         * buffer.C (getLists): use them
16199         (getLists): renamed from getTocList.
16200         add a counter for the different float types and use it in the
16201         generated string.
16202         (getLists): use the same counter for the NEW_INSETS and the "non"
16203         NEW_INSETS
16204
16205         * lyx_cb.h: remove unused items, includes, using etc.
16206
16207         * ShareContainer.h: remove some commented code, add more comments
16208         and "documentation".
16209
16210 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16211
16212         * buffer.C (getTocList): make the list also when NEW_INSETS is
16213         defined.
16214
16215         * buffer.h: remove TocType
16216
16217         * buffer.C (getTocList): change to return a map<string,
16218         vector<TocItem> >, implement for dynamic number of list.
16219
16220         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16221         * text2.C (PasteSelection): adjust
16222         * CutAndPaste.C (pasteSelection): adjust
16223
16224         * FloatList.C (FloatList): update from the new_insets branch.
16225         * Floating.[Ch]: ditto
16226         * LaTeXFeatures.C: ditto
16227         * buffer.C: ditto
16228         * lyxlex_pimpl.C: ditto
16229
16230         * paragraph.C (Last): remove when NEW_INSETS is defined.
16231
16232         * other file: changes because of the above.
16233
16234 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16235
16236         * lyxparagraph.h: rename next to next_, previous to previous_,
16237         make them private for NEW_INSETS. Rename Next() to next(),
16238         Previous() to previous().
16239
16240         * other files: changes because of the above.
16241
16242 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16243
16244         * BufferView.h:
16245         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16246         problem.
16247
16248 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16249
16250         * main.C (main): pass lyx_localedir to gettext_init().
16251
16252         * gettext.h: remove locale_init and gettext_init macros
16253
16254         * gettext.C (locale_init): new function
16255         (gettext_init): new function
16256
16257         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16258         setlocale().
16259
16260 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16261
16262         * Moved credits to frontends:
16263         * credits.[Ch]: removed
16264         * credits_form.[Ch]: removed
16265         * lyx_gui_misc.C: remove credits stuff
16266         * Makefile.am:
16267
16268 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16269
16270         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16271
16272         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16273         unneeded destructor.
16274
16275         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16276         a standalone pointer again.
16277
16278         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16279
16280 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16281
16282         * Makefile.am:
16283         * filedlg.h:
16284         * filedlg.C:
16285         * LyXAction.C:
16286         * ToolbarDefaults.C:
16287         * bufferlist.C:
16288         * commandtags.h:
16289         * form1.C:
16290         * form1.h:
16291         * lyx_cb.C:
16292         * lyx_cb.h:
16293         * lyxfunc.h:
16294         * lyxfunc.C:
16295         * BufferView_pimpl.C: use new file dialog in GUII
16296
16297         * lyx_cb.h:
16298         * lyx_cb.C: remove LayoutsCB to Toolbar
16299
16300 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * ShareContainer.h (get): add std:: qualifier
16303
16304 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16305
16306         * ShareContainer.h: define a proper ShareContainer::value_type
16307         type (and use typename to please compaq cxx)
16308
16309 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16310
16311         * lyxparagraph.h: move serveral local vars to
16312         ParameterStruct/ParagraphParameters., use ShareContainer in
16313         FontTable., make vars in FontTable private and add getter and
16314         setter.
16315
16316         * paragraph.C: changes because of the above.
16317
16318         * lyxfont.h: remove copy constructor and copy assignment. (the
16319         default ones is ok), move number inside FontBits. move inlines to
16320         lyxfont.C
16321
16322         * lyxfont.C: add number to initializaton of statics, move several
16323         inlines here. constify several local vars. some whitespace
16324         cleanup. Dont hide outerscope variables.
16325
16326         * Spacing.h: add two new constructors to match the set methods.
16327
16328         * ShareContainer.h: new file, will perhaps be moved to support
16329
16330         * ParameterStruct.h: new file
16331
16332         * ParagraphParameters.h: new file
16333
16334         * ParagraphParameters.C: new file
16335
16336         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16337         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16338
16339         * BufferView_pimpl.C: ParagraphParameter changes.
16340         * buffer.C: Likewise.
16341         * bufferview_funcs.C: Likewise.
16342         * text.C: Likewise.
16343         * text2.C: Likewise.
16344
16345 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16346
16347         * lyxfind.C (LyXReplace): do not redefine default argument in
16348         implementation.
16349         (IsStringInText): ditto
16350         (SearchForward): ditto
16351         (SearchBackward): ditto
16352
16353 2001-03-06  Juergen Vigna  <jug@sad.it>
16354
16355         * lyxfind.C (IsStringInText): put parentes around expressions.
16356
16357 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16358
16359         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16360
16361 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16362
16363         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16364
16365         * stl_string_fwd.h: add comment
16366
16367         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16368
16369         * tabular.h:
16370         * tabular.C: remove unused DocBook methods
16371
16372         * intl.C:
16373         * language.C:
16374         * paragraph.C:
16375         * buffer.C:
16376         killed DO_USE_DEFAULT_LANGUAGE
16377
16378 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16379
16380         * lyx_gui.C: do not include language.h.
16381
16382         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16383         arguments in function implementation.
16384
16385 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16386
16387         * BufferView_pimpl.C: add <ctime>
16388
16389 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16390
16391         * BufferView_pimpl.C: add using std::find_if
16392
16393 2001-02-27  José Matos  <jamatos@fep.up.pt>
16394
16395         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16396         by OnlyPath.
16397
16398 2001-02-11  José Matos  <jamatos@fep.up.pt>
16399
16400         * buffer.C (makeDocBookFile): command styles now have a parameter as
16401         "title" by default.
16402
16403 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16404
16405         * layout_forms.[Ch]: removed
16406         * lyx_cb.[Ch]: out character
16407         * lyx_gui.C: out character
16408         * lyx_gui_misc.C: out character
16409         * bufferview_funcs.C: : out character,
16410         added toggleall as parameter in ToggleAndShow
16411
16412 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16413
16414         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16415
16416         * text2.C (SetCurrentFont): Disable number property at boundary.
16417
16418 2001-02-26  Juergen Vigna  <jug@sad.it>
16419
16420         * lyxfunc.C (getStatus): added a string argument override function so
16421         that this is correctly called from LyXFunc::Dispatch if it contains a
16422         do_not_use_argument which is used!
16423         (Dispatch): added check for "custom" export and call appropriate func.
16424
16425 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16426
16427         * lyxrc.C: Add language_command_local, language_use_babel and
16428         language_global_options.
16429
16430         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16431
16432         * buffer.C (makeLaTeXFile): Use language_use_babel and
16433         language_global_options.
16434
16435 2001-02-23  Juergen Vigna  <jug@sad.it>
16436
16437         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16438         which works with LyXText and putted it inside BufferView. Here now we
16439         only call for that part the BufferView::Dispatch() function.
16440
16441         * BufferView.C (Dispatch): added.
16442
16443         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16444         functions which needs to use a LyXText over from LyXFunc.
16445         (MenuInsertLyXFile): added
16446         (getInsetByCode): added
16447         (moveCursorUpdate): added
16448         (static TEXT): added
16449
16450 2001-02-22  Juergen Vigna  <jug@sad.it>
16451
16452         * BufferView_pimpl.C (update): call a status update to see if LyXText
16453         needs it.
16454
16455 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16456
16457         * vc-backend.C (revert): implement for CVS
16458         (getLog): implement for CVS
16459
16460 2001-02-20  Juergen Vigna  <jug@sad.it>
16461
16462         * text2.C (ClearSelection): added BufferView param for inset_owner call
16463
16464         * lyxfunc.C (TEXT): added this function and use it instead of
16465         directly owner->view()-text of getLyXText().
16466
16467 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16468
16469         * src/layout_forms.C: out preamble
16470         * src/layout_forms.h: out preamble
16471         * src/lyx_cb.C: out preamble
16472         * src/lyx_cb.h: out preamble
16473         * src/lyx_gui.C: out preamble
16474         * src/lyx_gui_misc.C: out preamble
16475         * src/lyxfunc.C: connect with guii preamble
16476
16477 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16478
16479         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16480
16481 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16482
16483         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16484         whether to run bibtex.
16485
16486 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16487
16488         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16489
16490 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16491
16492         * Makefile.am (lyx_SOURCES): removed bibforms.h
16493
16494         * vspace.h: doxygen
16495
16496         * text.C (GetVisibleRow): make several local vars const
16497
16498         * tabular.C: small cleanup.
16499
16500         * lyxserver.C (callback): use compare instead of strncmp
16501
16502         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16503         inlines to after class or to paragraph.C
16504
16505         * lyxfont.h: remove friend operator!=
16506
16507         * converter.h: move friend bool operator< to non friend and after
16508         class def.
16509
16510         * combox.h: small cleanup
16511
16512         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16513         to inlines after class def.
16514
16515         * buffer.C (pop_tag): use string operations instead of strcmp
16516
16517         * bmtable.c: doxygen, small cleanup
16518
16519         * LaTeX.h: remove friend operator==
16520
16521 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16522
16523         * screen.C:
16524         * lyxrc.[Ch]:
16525         * lyxfunc.C:
16526         * lyxfont.[Ch]:
16527         * lyx_cb.C:
16528         * intl.[Ch]:
16529         * commandtags.h:
16530         * buffer.C:
16531         * WorkArea.[Ch]:
16532         * LyXAction.C:
16533         * BufferView_pimpl.C:
16534         * BufferView.[Ch]: remove cruft
16535
16536 2001-02-14  Juergen Vigna  <jug@sad.it>
16537
16538         * lyxfunc.C: removed #if 0 unused code
16539
16540         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16541
16542         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16543
16544         * text2.C (SetSelection): added a BufferView * parameter
16545
16546 2001-02-13  Juergen Vigna  <jug@sad.it>
16547
16548         * lyxfunc.C (Dispatch): fixed protected blank problem.
16549         * BufferView2.C (protectedBlank): added LyxText * parameter.
16550
16551         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16552         (AppendColumn): same as above for column_info.
16553
16554         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16555         (moveCursorUpdate): use a LyXText param for support of InsetText.
16556
16557         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16558         (tripleClick): ditto
16559
16560         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16561
16562         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16563
16564         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16565
16566         * text2.C (SetSelection): set correct update status if inset_owner
16567         (ToggleFree): ditto
16568
16569 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16570
16571         * tabular.C: remove some commented code.
16572
16573 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16574
16575         * BufferView_pimpl.C: call hideSplash()
16576
16577         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16578
16579         * include_form.h:
16580         * bibforms.h: remove
16581
16582         * lyxfunc.C:
16583         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16584           add LFUN_CHILD_CREATE
16585
16586         * counters.h: fix tiny typo
16587
16588         * lyx_cb.C:
16589         * lyx.h:
16590         * lyx_gui.C:
16591         * lyx.C: move splash to frontends/xforms/
16592
16593         * lyx_gui_misc.C: move Include and Bibform to frontends
16594
16595         * lyxvc.h: clarify comment
16596
16597         * vspace.C: tiny housekeeping
16598
16599 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16600
16601         * text.C (PrepareToPrint): RTL Fix.
16602
16603         * paragraph.C (GetUChar): New method.
16604         (String):  Use GetUChar.
16605
16606         * buffer.C (asciiParagraph): Use GetUChar.
16607
16608 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16609
16610         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16611
16612 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16613
16614         * buffer.h:
16615         * buffer.C: rename to getLogName(), handle
16616           build log / latex log nicely
16617
16618 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16619
16620         * MenuBackend.C:
16621         * MenuBackend.h: remove support for reference menuitem type.
16622
16623 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16624
16625         * BufferView_pimpl.C: housekeeping
16626         * BufferView_pimpl.h:
16627         * LyXView.h:
16628         * Makefile.am:
16629         * Timeout.C:
16630         * Timeout.h:
16631         * minibuffer.h: move Timeout GUI-I
16632
16633 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16634
16635         * lyxrc.C (read): Update converters data-structures.
16636
16637 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16638
16639         * LaTeX.h (operator!=): add operator != for Aux_Info
16640
16641 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16642
16643         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16644
16645         * LaTeXLog.C: deleted, useful code moved to Buffer
16646
16647         * buffer.h:
16648         * buffer.C: new function getLatexLogName()
16649
16650         * lyx_gui_misc.C:
16651         * lyx_gui.C:
16652         * lyxvc.C:
16653         * lyxvc.h:
16654         * lyxfunc.C: use frontends for LaTeX and VC logs
16655
16656 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16657
16658         * LaTeX.h: yet another std:: that Allan forgot.
16659
16660         * Variables.C (set): renamed from isset(), because this clashes
16661         with some HP-UX macros (grr).
16662
16663 2001-02-06  Allan Rae  <rae@lyx.org>
16664
16665         * LaTeX.h: Another bug fix.  Missing std:: this time.
16666
16667 2001-02-04  Allan Rae  <rae@lyx.org>
16668
16669         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16670         floats problem. I've left it commented out because it's not quite
16671         correct.  It should also test that the current object is a table or
16672         figure inset.  But I haven't gotten around to figuring out how to do
16673         that.  I *think* it'll be something like: "table" == inset.type()
16674
16675         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16676         bool.
16677
16678 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16679
16680         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16681         all the citation/databases/styles in the auxilary file.
16682         (run): Rerun latex if there was a babel language error.
16683
16684 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16685
16686         * text.C (Backspace): Preserve the font when changing newline char
16687         with a space.
16688         (BreakParagraph): If the cursor is before a space, delete the space.
16689
16690         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16691
16692 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16693
16694         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16695         new argument (code).
16696         (ChangeCitationsIfUnique): New method.
16697
16698         * paragraph.C (GetPositionOfInset): Handle bibkey.
16699
16700 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16701
16702         * BufferView_pimpl.h: change type of Position::par_pos to
16703         LyXParagraph::size_type.
16704
16705 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16706
16707         * BufferView_pimpl.C (savePosition, restorePosition): Write
16708         messages to minibuffer.
16709
16710 2001-01-28  José Matos  <jamatos@fep.up.pt>
16711
16712         * buffer.C (makeDocBookFile): adds support for document language.
16713         A silly restriction on the name of LatexCommand types where removed.
16714         Added support for CDATA sections, allows to chars unescaped, used
16715         among others in code, to avoid escape < and >.
16716
16717 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16718
16719         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16720         saved positions instrad of a stack. Furthermore, a position is
16721         stored using paragraph id/paragraph position.
16722
16723         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16724         Remove LFUN_REF_BACK.
16725
16726 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16727
16728         * converter.C (dvipdfm_options): New method.
16729
16730 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16731
16732         * vspace.C (isValidLength): Fix for empty input string.
16733
16734 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16735
16736         * LyXAction.C (init): change description of LFUN_FIGURE to
16737         "Insert Graphics"
16738
16739 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16740
16741         * LaTeX.C: add using directive
16742
16743 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16744
16745         * MenuBackend.C (expand): Fix the sorting of the formats.
16746
16747 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16748
16749         * lyx_main.C: tiny error message fix
16750
16751 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16752
16753         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16754         calling fl_initialize(). This fixes the problem with ',' as
16755         decimal separator in text files.
16756
16757 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16758
16759         * trans.C (process): Fix the keymap bug.
16760
16761 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16762
16763         * LaTeX.C (scanAuxFiles): New method. Provides support for
16764         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16765         (scanLogFile) Scan for "run BibTeX" messages.
16766
16767         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16768         OT1 font encoding. Also, load the aecompl package if the ae
16769         package is loaded.
16770
16771         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16772
16773 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16774
16775         * texrow.C (increasePos): turn two error messages into debug
16776         messages.
16777
16778 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16779
16780         * LaTeX.C (scanAux): Handle the \@input macro.
16781         (runBibTeX): Use scanAux().
16782
16783         * language.C (latex_options_): New field.
16784
16785         * LaTeXFeatures.C (getMacros): Add language macros.
16786
16787         * buffer.C (makeLaTeXFile): Small fix.
16788
16789 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16790
16791         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16792
16793         * text2.C: add a using directive.
16794
16795 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16796
16797         * BufferView2.C:
16798         * lyx_gui_misc.h:
16799         * lyxfr1.C:
16800         * lyxfunc.C: kill LyXBell.
16801
16802 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16803
16804         * text.C (IsBoundary): Remove the error message
16805
16806         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16807
16808         * lyxrc.C (setDefaults): Correct initialization value for
16809         font_norm_type.
16810
16811 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16812
16813         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16814         gotoError().
16815
16816         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16817         and GotoNextNote().
16818
16819         * src/LyXAction.C: Added reference-next.
16820
16821         * text.C (InsertChar): Use contains instead of strchr.
16822
16823         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16824
16825 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16826
16827         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16828         alignment commands (when needed).
16829
16830         * text.C (InsertChar): Add ':' to number separator chars.